.exhibition-heading {
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    margin: 0 0 50px;
    text-align: left;
    color: #aaaaaa;
    position: relative;
}

.exhibition-heading span {
    position: relative;
    z-index: 2;
    background-color: #fff;
    padding: 0 12px 0 20px;
    text-transform: uppercase;
    font-weight: 200;
    text-align: left;
    font-size: 15px;
}


.exhibition-heading {
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11.5px;
    margin: 0 0 50px;
    text-align: left;
    color: #000;
    position: relative;
}


.exhibition-heading:after {
    content: '.';
    text-indent: -9999px;
    border-bottom: 1px solid #ebebeb;
    width: 100%;
    position: absolute;
    height: 0;
    top: 49%;
    left: 0;
    right: 0;
    z-index: 1;
}

.exhibition-heading span{
    position: relative;
    z-index: 2;
    background-color: #fff;
    padding: 0 8px 0 0;
    text-transform: uppercase;
    font-weight: 200;
    text-align: center;
    font-size: 11.5px;
}

.exhibition-container {
  min-height: 450px;
}

.exhibition-date{
    margin: 20px 0 20px 0;
}

.exhibition-location, .exhibition-date{
        color: #999;
}
.exhibition-image{
    overflow: hidden;
    margin-bottom: 50px;
}
.exhibition-image img {
    display: block;
    margin: 0 auto;
}

.exhibition_details {
	margin: 0 0 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid #ebebeb;
    float: none;
    display: block;	
    color: #000;
}

.uppercase {
    text-transform: uppercase;
}

.m-b-50 {
	margin-bottom: 50px;
}

.border {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.ag-img-thumb {
    margin-right: 5px;
    margin-top: 5px;
    max-width: 88px !important;
}

.past-exhibition {
  min-height: 340px !important;
}

.main_title {
  font-weight: 400;
  font-size: 20px;
  line-height: 21px;
  letter-spacing: 7px;
  text-transform: uppercase;
}

.exhibition-main-img {
  max-height: 350px; 
}

.m-t-20 {
  margin-top: 20px;
}

.current-exhibition-title {
   font-size: 18px;
   letter-spacing: 3px;
   margin: 0 0 22px;   
}

.exhibition_tagline {
    border-bottom: 1px solid #ebebeb;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 3px;
    padding: 0 0 12px;
    margin: 0 0 12px;
    display: block;
    color: #000;
}


.exhibition-date {
    font-size: 10px;
    letter-spacing: 3px;
    margin: 0 0 14px;
    color: #000;
    text-transform: uppercase;
}

.exhibition-description {
    display: block;
    font-weight: 200;
    margin: 0 0 16.5px;
    color: #000;
}

.exhibition-readmore {
    color: #565656;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #757575;
    font-size: 11.5px;
}

.exhibition-details {
    margin-top: 30px;
}

.past-title {
    font-size: 13.5px;
    color: #333;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding-bottom: 0;
    line-height: 23.8px;
}
.past-tagline {
  font-size: 10px;
  letter-spacing: 3px;
  display: block;
  color: #000;
  text-transform: uppercase;   
}

.past-thumb {
    display: inline-block;
    width: 100%;
    background-position: center center;
    background-size: cover;
    height: 280px;
}

.exhibition-details-title {
    font-size: 18px;
    line-height: 22.5px;
    letter-spacing: 7px;   
}

.exhibition-details-des {
  font-weight: 200;
  color: #303030;
  font-size: 13px;
  line-height: 1.8em;
}
.exhibition-container a, a:hover, a:active, a:visited, a:focus {
    text-decoration: none !important;
}
.related_artist_heading {
    margin-bottom:15px; 
    border-bottom: 1px solid #eee; 
    padding-bottom: 5px; 
    font-size: 12px; 
    color: #000
}
.exh-artists-ul{
    padding: 0 0 23px 0 !important;
    line-height: 26px;
    list-style-type: disc;
}
.exh-artists-ul li {
  list-style: none;
  padding-left: 0;
  padding-bottom: 2px;
  min-height: 50px;
}

.exh-artists-ul li .icon {
    width: 30px;
    height: 30px;
    float: left;
    display: table-cell;
    margin: 0 15px 0 0;
    background: none;
}

.exh-artists-ul li .icon {
    width: 30px;
    height: 30px;
    float: left;
    display: table-cell;
    margin: 0 15px 0 0;
    background: none;
}
.exh-artists-ul span img {
    max-height: 40px;
    margin: 0 auto;
    display: block;
}

.exh-artists-ul li .content {
    display: table-cell;
    vertical-align: middle;
    float: none;
    text-align: left;
    line-height: 1.5em;
}

.exh-artists-ul li .content h2 {
    display: inline;
    font-size: 10px;
    text-transform: uppercase;
    padding-top: 10px;
}

.main-img {
  max-height: 450px;
}
.exh-artist-name {
  text-transform: uppercase;
}

.display-block {
  display: block;
}

.upcase {
  text-transform: uppercase !important;
}

.ag-btn-exh-edit {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 0px;
    letter-spacing: 1px;
    color: #141414;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.ag-btn-exh-edit:hover {
    background: #000;
    color: #fff;
}

.hidden {
  display: none;
}

.a-artworks {
  cursor: pointer;
}

.gallery-cell {
  cursor: pointer;   
}

/*----------------------- Carousel Slider -------------------------------- */

.gallery-cell img {
    max-height: 43px;
    margin-bottom: 10px;
}
/*----------------------- Carousel Slider -------------------------------- */


/**---------------------- MFP Gallery ------------------------------------ */
.mfp-bg {
  background: #ffffff !important;
  opacity: 0.9;
}

.mfp-arrow-right {
    right: 37px !important;
}

.mfp-wrap { 
  z-index: 9999999 !important;
}

.mfp-counter {
  color: #000000 !important;
}

.exh-mfp-title {
    color: #000000;
}
/**---------------------- MFP Gallery ------------------------------------ */

/* Exhibition Details - Gallery layout*/

@media only screen and (min-width: 992px) {
  .ag-fixed-block {
      position: fixed;
      width: calc(80%/3);
      padding-right: 15px;
  }
}

.ag-exibition-details-container .exhibition-details-title {
  line-height: 32px !important;
  margin-top: 10px;

}

.ag-exibition-details-container .exhibition-details-artist-name {
  color: #333;
  font-size: 18px !important;
  font-weight: bold;
  line-height: 32px !important;
  letter-spacing: 7px;
}

.ag-exh-gallery-main-img {
  margin-bottom: 50px;
}

.ag-exh-gallery-main-img .main-img {
  margin: auto;
}

.ag-exh-gallery-main-img .exh-regular-image {
  margin: auto;
  max-height: 450px;
}

.gallery-cell.ag-exh-gallery{
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.gallery-cell.ag-exh-gallery img {
  width: 100%;
  height: 100%;
  max-height: unset;
  max-width: 100%;
  margin-bottom: 0px;
  object-fit: cover;
}

.gallery .gallery-cell.ag-exh-gallery {
  margin-bottom:10px;
}

.gallery .exh-artwork-annotations {
  margin-bottom: 50px;
}

.gallery .exh-artwork-title {
  font-style: italic;
}

.gallery .exh-artwork-availability {
  font-size: 16px;
}

.gallery .exh-artwork-availability.red {
  color: red;
}

#ag-exhibition-enquiry {
  top: 20%;
}

.ag-exhibition-enquiry-button {
  margin: 30px 0;
}

/* new properties */

.gallery-cell img {
  max-height: 100%!important;
  object-fit: cover;
}

.display-block {
  display: block;
  width: 200px;
border-top-width: 0px;
}

.ag-exibition-details-container {
width: 100%;
}

.exh-artwork-annotations hr{
display: none;
}

@media screen and (min-width: 1400px) {
.ag-exibition-details-container {
width: 70%;
}
}
@media screen and (min-width: 2000px) {
.ag-exibition-details-container {
width: 50%;
}
}

@media screen and (min-width: 2800px) {
.ag-exibition-details-container {
width: 40%;
}
}

@media screen and (min-width: 2800px) {
.ag-exibition-details-container {
width: 30%;
}
}

.ag-exh-gallery-thumb {
	max-width: 100% !important;
}

/* exhibition details gallery */
/* exhibition details */
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
  margin-bottom: 0px !important;
  background: rgba(0,0,0,0.5) !important;
}

#ag-exhibition-enquiry {
  top: 12% !important;
  background: rgba(0,0,0,0.5) !important;
}

@media screen and (max-width: 575px){
.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
  width: 80%;
}
.wpcf7-form-control.wpcf7-text {
  width: 80%;
}

.wpcf7-form-control.wpcf7-textarea {
  width: 80%;
}

textarea {
  height: 190px !important;
}
}


/* end of Exhibition Details - Gallery layout*/


/*exhibition details vertical scroll for desktop*/
@media only screen and (min-width: 992px)
{
	.ag-exibition-details-container{
		overflow-y: scroll;
    max-height: 80vh;
    padding-bottom: 100px;
	}
}
/* */


