@font-face {
    font-family: 'Druk Text Web Bold';
    src: url('../druk/DrukText-Bold-Web.eot');
    src: url('../druk/DrukText-Bold-Web.eot?#iefix') format('embedded-opentype'),
    url('../druk/DrukText-Bold-Web.woff2') format('woff2'),
    url('../druk/DrukText-Bold-Web.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'Druk Text Web Medium';
    src: url('../druk/DrukText-Medium-Web.eot');
    src: url('../druk/DrukText-Medium-Web.eot?#iefix') format('embedded-opentype'),
    url('../druk/DrukText-Medium-Web.woff2') format('woff2'),
    url('../druk/DrukText-Medium-Web.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'TheSansC4s';
    src: url('../thesans/TheSans-3_Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'TheSansC4s';
    src: url('../thesans/TheSans-5_Plain.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'TheSansC4s';
    src: url('../thesans/TheSans-7_Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'TheSansC4s';
    src: url('../thesans/TheSans-9_Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'TheSansCdC4s';
    src: url('../thesans/TheSansCd-3_Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'TheSansCdC4s';
    src: url('../thesans/TheSansCd-5_Plain.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'TheSansCdC4s';
    src: url('../thesans/TheSansCd-7_Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
}

/********************* MENÚ - BOTONERA ******************/
.head_exp {
    top: 0px;
    background-color: #000000;
    padding: 0.4em;
    left: 0px;
    position: fixed;
    display: block;
    width: 100%;
    border-bottom-color: #000;
    border-right-width: 2px;
    border-bottom-style: solid;
    z-index: 99;
    -webkit-transition: background-color 0.5s ease-out;
    -moz-transition: background-color 0.5s ease-out;
    -o-transition: background-color 0.5s ease-out;
    transition: background-color 0.5s ease-out;
}

.head_exp:hover {
    background-color: #ed1c24;
}

/*********** menu *************/
.hamburger {
    position: absolute;
    left: 20px;
    top: 70px;
    display: flex;
    height: 25px;
    width: 30px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    z-index: 1999;
}

.hamburger__icon {
    display: inline-block;
    height: 3px;
    width: 30px;
    background: #000000;
    border-radius: 10px;
}

.sidebar {
    height: 60vh;
    width: 260px;
    background: #000000cf;
    position: absolute;
    top: 0;
    left: 0;
    padding: 45px;
    display: flex;
    flex-direction: column;
    transform: translatex(-100%);
    transition: transform 0.4s ease-in-out;
    z-index: 999;
}

.sidebar__close {
    position: absolute;
    top: 50%;
    right: -30px;
    background: #000000;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    box-shadow: 0 0 20px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translatex(-100%);
    cursor: pointer;
    transition: transform 0.4s ease-in-out 0.2s;
}

.sidebar__close::before, .sidebar__close::after {
    content: "";
    height: 3px;
    background: #e6e6e6;
    width: 25px;
    display: block;
    position: absolute;
}

.sidebar__close::after {
    transform: rotate(90deg);
}

.sidebar__menu {
    font-family: 'Open Sans', sans-serif !important;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-around;
    font-size: 17px;
    font-weight: 200;
    margin: 70px 10px 0 10px;
    color: #ffffff;
}

#sec-head {
    color: #e61154;
    font-weight: 700;
}

.sidebar__menu a {
    color: currentcolor;
    text-decoration: none;
    transform: translatex(-80%);
    transition: transform 0.4s ease-in-out;
}

.sidebar__menu a::before {
    content: "";
    height: 2px;
    background: #e6e6e6;
    width: 120px;
    position: absolute;
    bottom: -2px;
    left: 0;
    transform: translatex(-50%);
    opacity: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s linear;
}

.sidebar__menu a:hover::before {
    transform: translatex(0);
    opacity: 1;
}

.sidebar__menu a:nth-child(1) {
    transition-delay: 0.05s;
}

.sidebar__menu a:nth-child(2) {
    transition-delay: 0.1s;
}

.sidebar__menu a:nth-child(3) {
    transition-delay: 0.15s;
}

.sidebar__menu a:nth-child(4) {
    transition-delay: 0.20s;
}

.sidebar__menu a:nth-child(5) {
    transition-delay: 0.25s;
}

.menu-control {
    display: none;
}

.menu-control:checked + .sidebar {
    transform: translatex(0);
}

.menu-control:checked + .sidebar .sidebar__close {
    transform: translatex(0) rotate(45deg);
}

.menu-control:checked + .sidebar .sidebar__menu a {
    transform: translatex(0);
}
/********** menu *************/


.row {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.col-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

b, strong {
    font-weight: bold;
}

html, body {
    font-family: 'Georgia', serif;
    color: #000000;
    background-color: #FBF8F0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Druk Text Web Bold', sans-serif;
    margin: 0;
    text-transform: uppercase;
}

h6 {
    font-size: 10px;
}

p {
    line-height: 1.5;
    font-size: 20px;
    font-weight: 300;
    text-align: left;
    margin-bottom: 0;
    padding-bottom: 0;
}


/************* inicio rich *************/
.apertura img {
    margin-top: 56px;
    width: 100%;
}

.sumario {
    background-color: #91A17E;
    margin-top: -7px;
}

.sumario p {
    font-family: "TheSansC4s", Verdana, sans-serif !important;
    font-weight: 300;
    line-height: 1.3 !important;
    text-align: center !important;
    font-size: 30px;
    color: #000000;
    padding: 6% 0;
}

.credito p {
    padding: 2em 0;
    font-size: 1.1em;
    line-height: 1.3em;
    color: #000000;
    text-align: center;
    text-transform: uppercase;
    font-family: "TheSansC4s", Verdana, sans-serif !important;
    font-weight: 300;
}

.datos img {
    width: 50%;
}

.s-1 {
    padding-top: 2em;
    padding-bottom: 2em;
}

.s-2 {
    padding-top: 0;
    padding-bottom: 2em;
}

.titulo h1 {
    text-align: center;
    color: #000000;
    font-family: 'Druk Text Web Bold', sans-serif;
    line-height: 1;
    text-transform: uppercase;
    font-size: 4.2em;
    font-weight: 700;
}

.titulo h1 span {
    text-align: center;
    color: #000000;
    font-family: 'Druk Text Web Bold', sans-serif;
    line-height: 1;
    text-transform: uppercase;
    font-size: 0.7em;
    font-weight: 700;
    padding-top: .5em;
}

.capitular h2 {
    font-size: 280px;
    line-height: 1;
    text-align: center;
    font-family: 'Druk Text Web Bold', sans-serif !important;
    padding-bottom: 30px;
}

.texto_ciudad p {
    line-height: 1.3;
    font-size: 20px;
    font-weight: 300;
    text-align: left;
}

.texto_sanserif p {
    font-family: "TheSansC4s", Verdana, sans-serif !important;
    font-weight: 300;
    line-height: 1.3;
    font-size: 18px;
    text-align: left;
}

.subtitulo-2 {
    background-color: #E0CDAC;
    color: #000000;
}
.subtitulo-2 h2 {
    font-family: "TheSansCdC4s", Verdana, sans-serif !important;
    font-weight: 300;
    line-height: 1.1em;
    font-size: 3.5em;
    text-align: center;
    color: #000000;
    margin-top: 30px;
}
.subtitulo-2 h3 {
    font-family: 'Druk Text Web Medium', serif;
    font-weight: 500;
    line-height: 1.1em;
    font-size: 3.5em;
    text-align: center;
    color: #007a58;
    margin-bottom: 30px;
    letter-spacing: 3px;
}

.foto-moment img{
    border-radius: 30px;
    box-shadow: 9px 10px 6px #DECCB5;
}


.imgp {
    padding: 1.5em 0;
}
.imgp h3 {
    padding: 1em 0 0;
    font-size: 25px;
    font-family: 'Georgia', sans-serif;
    text-align: left;
}
.imgp h4 {
    font-size: 20px;
    font-family: 'Georgia', sans-serif;
    text-align: left;
    text-transform: none;
    padding-bottom: 0.5em;
}
.imgp p {
    font-size: 17px;
}
.imgp-nogrutter {
    padding: 0;
}

.pie-foto p {
    padding-top: 10px;
    font-size: 14px !important;
    color: #000000;
    line-height: 1.2em;
    text-align: center;
    font-family: "TheSansC4s", Verdana, sans-serif !important;
}

.pie-foto-apertura p {
    padding-top: 10px;
    font-size: 13px;
    font-weight: 400;
    color: #000000;
    line-height: 1.2em;
    text-align: center;
    font-family: "TheSansC4s", Verdana, sans-serif !important;
}

.pie-foto-blanco p {
    padding-top: 10px;
    font-size: 13px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2em;
    text-align: left;
    font-family: "TheSansC4s", Verdana, sans-serif !important;
}

.fotos img {
    padding: 0 2%;
}


/********************* 10 Momentos ******************/
/** {*/
/*    padding: 0;*/
/*    margin: 0;*/
/*    outline: none;*/
/*}*/

.momento{
    margin: 2em 0;
}

.reveal {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    background-color: #ffffff;
    height: 700px;
    width: 650px;
    padding: 30px;
    border: 4px solid #1e1e1e;
    border-radius: 40px;
    box-shadow: 1px 1px 20px #222;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.745, 0.11, 0.35, 0.845); /* custom */
    transition-timing-function: cubic-bezier(
            0.745,
            0.11,
            0.35,
            0.845
    ); /* custom */
}

.reveal:hover {
    background-color: #000;
    border: 4px solid #3d3d3d;
}
.pic {
    position: absolute;
    height: 700px;
    width: 650px;
    object-fit: cover;
    z-index: 4;
    border-radius: 40px;
}

.momento h2  {
    color: #000;
    font-size: 55px;
    font-weight: 600;
    line-height: 55px;
}

.momento h3 {
    margin-top: auto;
    color: #000;
    z-index: 5;
    font-size: 30px;
    font-weight: 500;
    background-color: #ffffff;
    border-radius: 100%;
    padding: 2px 14px;
}

.momento h4 {
    color: #fff;
    z-index: 5;
    font-size: 45px;
}

.momento p{
    margin-top: 20px;
    text-align: center;
}

.momento .footer {
    font-size: 20px;
    margin-top: auto;
    padding-bottom: 15px;
}
/********************* Final 10 Momentos ******************/



/********************* GABINETE ******************/
.btn-primary:hover,
.btn-primary:focus {
    background-color: #108d6f;
    border-color: #108d6f;
    box-shadow: none;
    outline: none;
}

.btn-primary {
    color: #fff;
    background-color: #007b5e;
    border-color: #007b5e;
}

#team .card {
    border: none;
    background: #ffffff;
    text-align: center;
}

.image-flip:hover .backside,
.image-flip.hover .backside {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    border-radius: .25rem;
}

.image-flip:hover .frontside,
.image-flip.hover .frontside {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.mainflip {
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -ms-transition: 1s;
    -moz-transition: 1s;
    -moz-transform: perspective(1000px);
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transition: 1s;
    transform-style: preserve-3d;
    position: relative;
}

.frontside {
    position: relative;
    -webkit-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    z-index: 2;
    margin-bottom: 30px;
}

.backside {
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    -moz-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
}

.backside p{
    font-size: 18px !important;
    line-height: 1.3;
}

.backside b{
    text-transform: none;
}

.frontside,
.backside {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transition: 1s;
    -moz-transform-style: preserve-3d;
    -o-transition: 1s;
    -o-transform-style: preserve-3d;
    -ms-transition: 1s;
    -ms-transform-style: preserve-3d;
    transition: 1s;
    transform-style: preserve-3d;
}

.frontside .card,
.backside .card {
    min-height: 312px;
}

.frontside .card .card-title,
.backside .card .card-title {
    color: #007b5e !important;
}

.frontside .card .card-body img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    text-align: center;
    margin-left:25%;
    margin-bottom: 20px;
}

.card-text {
    font-family: "TheSansCdC4s", Verdana, sans-serif;
    font-weight: 300;
    font-size: 19px;
}
/********************* FINAL GABINETE ******************/

/*********** Flexbox grid ***********/
.container-flexbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 10%;
}

.grid-item-gris {
    background-color: #D9D9D9;
  width: 550px;
  /* height: fit-content; */
  position: relative;
  margin: 10px;
  padding: 30px; 
}

.grid-item-gris h2{
text-align: center;
font-size: 3em;
margin-bottom: 20px;
}

.grid-item-gris ul{
    font-family: "TheSansC4s", Verdana, sans-serif !important;
    font-weight: 300;
    font-size: 19px;
}

.grid-item-verde {
    background-color: #91A17E;
  width: 550px;
  /* height: fit-content; */
  position: relative;
  margin: 10px;
  padding: 30px; 
}

.grid-item-verde h2{
text-align: center;
font-size: 3em;
margin-bottom: 20px;
}

.grid-item-verde ul{
    font-family: "TheSansC4s", Verdana, sans-serif !important;
    font-weight: 300;
    font-size: 19px;
}

.grid-item-rosa {
    background-color: #F595A0;
  width: 550px;
  /* height: fit-content; */
  position: relative;
  margin: 10px;
  padding: 30px; 
}

.grid-item-rosa h2{
text-align: center;
font-size: 3em;
margin-bottom: 20px;
}

.grid-item-rosa ul{
    font-family: "TheSansC4s", Verdana, sans-serif !important;
    font-weight: 300;
    font-size: 19px;
}

.grid-item-cafe {
    background-color: #DECCB5;
  width: 550px;
  /* height: fit-content; */
  position: relative;
  margin: 10px;
  padding: 30px; 
}

.grid-item-cafe h2{
text-align: center;
font-size: 3em;
margin-bottom: 20px;
}

.grid-item-cafe ul{
    font-family: "TheSansC4s", Verdana, sans-serif !important;
    font-weight: 300;
    font-size: 19px;
}



/*********** Final Flexbox grid ***********/


/* Adaptabilidad */
.desk {
    display: block;
}

.mobile {
    display: none;
}

/* Adaptabilidad */


/************ Redes ************/
.redes {
    opacity: 1;
    max-width: 35px !important;
    margin: 0px 5px;
    transition: transform .3s; /* Animation */
}

.redes:hover {
    opacity: 0.8;
    transform: scale(1.2);
}

.creditos h6 {
    font-size: 0.8em;
    padding-bottom: 7px;
    color: #000000 !important;
}

.creditos p {
    font-family: 'Georgia', serif !important;
    font-size: 1.1em;
    color: #000000 !important;
}

.creditos strong {
    font-family: 'Roboto', sans-serif;
}


@media (min-width: 200px) and (max-width: 675px) {
    .sumario h2 {
        margin-top: -25px;
        line-height: 1em;
        font-size: 2.8em;
    }

    .sumario p {
        line-height: 1.1 !important;
        font-size: 20px !important;
        color: #000000;
    }

    .quote-txt {
        text-align: center;
    }

    .desk {
        display: none;
    }

    .mobile {
        display: block;
    }

    .redes {
        width: 10% !important;
    }

    .redes a {
        padding: 0 7px;
    }


    .s-1 {
        padding-top: 1em;
        padding-bottom: 0.5em;
    }

    .credito p {
        font-size: 0.8em;
    }

    .img-doble img {
        margin-bottom: 0em;
    }

    .pie-foto {
        bottom: 0;
        width: 100%;
        margin-bottom: 1em;
    }

    .pie-foto-en-texto p {
        text-align: center;
        padding-bottom: 40px;
    }

    .pie-foto p {
        font-size: 1rem;
        font-weight: 200;
        padding-top: 15px;
    }

    .cita p {
        color: #ca7b7b;
        font-size: 1.7rem;
        padding-top: 1.5em;
        line-height: 1.3;
    }

    p {
        line-height: 1.4;
        font-size: 20px;
        font-weight: 300;
    }

    .titulo h1 {
        font-size: 2.7em;
        padding-top: 8%;
    }

    .titulo h1 span {
        text-align: center;
        color: #000000;
        font-family: 'Druk Text Web Bold', sans-serif;
        line-height: 1;
        text-transform: uppercase;
        font-size: 1em;
        font-weight: 700;
        padding-top: .5em;
    }


    .titulo {
        padding-top: 0em;
    }

    .capitular h2 {
        font-size: 170px;
        padding-bottom: 25px;
    }

    .subtitulo h2 {
        line-height: 0.9em;
        font-size: 2.5em;
        text-align: center;
    }

    .subtitulo-2 h2 {
        line-height: 1em;
        font-size: 1.8em;
        text-align: center;
    }

    .subtitulo-2 h3 {
        font-size: 2.4em;
    }

    .principal img {
        margin-top: 3em;
    }

    .recuadro-color-blanco p {
        padding: 0;
    }

    .imgp h3, h4 {
        text-align: center !important;
    }

    .frase h2 {
        font-size: 2em;
    }

    .graf-txt h2 {
        font-size: 2.3em;
    }

    .tabla {
        padding: 25px 15px;
        text-align: center;
    }

    .t-small img {
        width: 70%;
    }

    .datos img {
        width: 95%;
    }

}
@media (max-width: 470px) {
    .grid-item {
      height: 300px;
      width: 300px;
    }
  }



