/*
* **********************************
* ################################## ESTILOS DE EXIBITION
* **********************************
*/

/*
========================
======================== ALTERA BODY
========================
*/

body {
  background: url("../../img/global/custom/bg-header.png") center top repeat-x;
}

/* @media(max-width:1024px) {
    body {
      background: url("../../img/global/custom/bg-header-mobile.png") center top repeat-x !important;
    }
  } */

@media (max-width: 1024px) {
  .quick-access {
    display: none;
  }
}

/*
========================
======================== ALTERA HEADER
========================
*/

.header {
  position: relative;
  height: 280px;
}

/*
========================
======================== EXIBITION
========================
*/

.exibition {
  margin-top: 100px;
  margin-bottom: 75px;
}

@media (max-width: 1024px) {
  .exibition {
    background-color: #fff;
    margin-top: -180px;
    padding-top: 35px;
  }
}

.exibition-blocks {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 30px;
}

@media (max-width: 1024px) {
  .exibition-blocks {
    grid-template-columns: 1fr;
  }
}

.exibition-header {
  margin-bottom: 50px;
}

@media (max-width: 1024px) {
  .exibition-header {
    text-align: center;
  }
}

.exibition-header h1 {
  max-width: 60%;
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 3rem;
  color: #000;
}

.exibition-header span {
  font-size: 1.6rem;
  line-height: 1.8rem;
  font-weight: 300;
  color: #000;
  margin-top: 15px;
  display: block;
}

.exibition-header p.date {
  font-size: 1.6rem;
  font-weight: 300;
  color: #71bf43;
  margin-top: 15px;
}

.exibition-header p i {
  margin-right: 0.5rem;
}

.exibition-header h1,
.exibition-header span,
.exibition-header p {
  max-width: 60%;
}

@media (max-width: 1024px) {
  .exibition-header h1,
  .exibition-header span,
  .exibition-header p {
    max-width: 100%;
  }
}

.exibition-media {
  flex-basis: 100%;
  margin-bottom: 50px;
}

.exibition-media img {
  min-width: 100%;
  height: auto;
  object-fit: cover;

  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;

  display: block;
  margin: 0 auto;
}

.exibition-media p {
  font-size: 0.875em;
  margin-top: 10px;
  text-align: right;
}

.exibition-left .htmlchars {
  text-align: justify !important;
}

.exibition-left .htmlchars img,
.exibition-left .htmlchars p img {
  width: 100%;
  margin: 0 auto;
}

.exibition-left .htmlchars p,
.exibition-left .htmlchars h6 {
  font-size: 1.125em;
  line-height: 1.444;
  font-weight: 300;
  color: #000;
  margin-bottom: 15px;
  text-align: justify !important;
}

.exibition-left .htmlchars span,
.exibition-left .htmlchars p span {
  font-size: 1.125em;
  line-height: 1.444;
  margin-bottom: 15px;
  text-align: justify !important;
}

@media (max-width: 1024px) {
  .exibition-right {
    margin-top: 50px;
  }
}

.exibition-gallery-header h1 {
  font-size: 1.625em;
  font-weight: 700;
  color: #313338;
  text-transform: uppercase;
}

.highcontrast .exibition-gallery-header h1 {
  color: #fff;
}

.exibition-gallery-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.exibition-gallery-item {
  flex-basis: 31.3333333333%;
  margin: 3% 3% 0 0;

  background: #fbd06b;
  overflow: hidden;

  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}

.exibition-gallery-item:nth-of-type(3n + 0) {
  margin-right: 0;
}

@media (max-width: 680px) {
  .exibition-gallery-item,
  .exibition-gallery-item:nth-of-type(3n + 0) {
    flex-basis: 48.5%;
    margin: 3% 3% 0 0;
  }

  .exibition-gallery-item:nth-of-type(2n + 0) {
    margin-right: 0;
  }
}

.exibition-gallery-item img {
  min-width: 100%;
  height: 100px;
  object-fit: cover;

  opacity: 1;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;

  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}

@media (max-width: 400px) {
  .exibition-gallery-item img {
    height: 130px;
  }
}

.exibition-gallery-item:hover img {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);

  opacity: 0.5;
}
