

/* index  */
main.cmg_main {
    margin: 0;
}

header.cmg_header {
    background: linear-gradient(black, transparent);
}

section.cmg_intro_message > h1,
.cmg_cta > h3 {
    font-size: 25px;
}

.cmg_intro_message > h2 {
    color: #fff;
}

section.cmg_intro_message > p {
    padding: 1rem 3rem 0; 
    font-size: 15px;
}

.cmg_cta {
    margin: 3rem auto;
    padding: 0 2rem;
}

.cmg_main__number {
    display: none;
}
/* fin index */


/* circuit */

.circuit_header .navbar-brand {
    width: 150px;
}

.circuit_intro_caption > h1{
    color: var(--blue);
}

.circuit_who_is > h3 {
    color: var(--blue);
}


.circuit_agencia_valores__container {
    background: var(--dark);
    padding: 3rem;
}

.circuit_agencia_valores__container ul {
    list-style: none;
}

.circuit_agencia_valores__item {
    align-items: top;
    width: 100%;
    flex-wrap: wrap;
}

.circuit_agencia_valores__item label {
    font-size: 23px;
    width: 100%;
    margin-bottom: 1rem;
}

.circuit_agencia_valores__item label img {
    width: 20px;
    margin-right: 0.5rem;
}

.circuit_main section.circuit_casos_exito {
    padding-bottom: 3rem;
}

.circuit_card {
    /* height: 225px; */
}

.circuit_card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.circuit_caption_meta > h2 {
    font-weight: 600;
}

.circuit_card_caption.float-button {
  padding: 0;
  bottom: 36%;
  left: 5.45%;
  /* background: red; */
  display: inline-flex;
  width: 13.5%;
  height: 8%;
  justify-content: center;
  align-items: center;
}

.circuit_card_caption.float-button li {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
    /* padding: 0.2rem 0.7rem; */
}

.circuit_card_caption.float-button .circuit_caption_categories, .circuit_card_caption.float-button ul {
  width: 100%;
  height: 100%;
  display: block;
}

.circuit_card_caption.float-button a {
    font-weight: 700;
    font-size: 9px;
    text-transform: uppercase;
    color: transparent;
    display: block;
    width: 100%;
    height: 100%;
}
/* fin circuit */

/* esb  */
.circuit_banner_main {
    background-image: url('../images/esb/banner_main.png');
    background-size: cover;
    background-repeat: no-repeat;
}
.circuit_banner_main__shade {
    padding: 5rem 2rem;
}

main.esb_base_content {
    padding: 0;
}

section.esb_casos_exito > header.esb_header_section {
    padding: 0;
}


.esb_card > .esb_card_caption {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: linear-gradient(transparent, black);
}

header.esb_header_auspiciadores {
    padding: 2rem 0 1rem;
}


header.esb_header_auspiciadores > h2 {
    font-weight: 600;
    font-size: 22px;
}

.esb_base_content .flex-container {
    flex-wrap: wrap;
    justify-content: center;
}

.card-auspiciador-thumbnail {
    margin-bottom: 1rem;
}

.card-auspiciador > h1 {
    padding: 0 5rem;
}

.form-group-circuit label span {
    color: red;
    padding-left: 0.3rem;
}


.circuit_right_header > h4 {
    background: linear-gradient(90deg, #A534FF 0%, #3D35FF 50%, #00A5FF 100%) 
    left
    bottom
    transparent
    no-repeat;
    -webkit-background-clip: text;
    color: transparent;
}

.rooftop_auspiciadores .esb_auspiciadores {
    margin-bottom: 5rem;
}

.esb_cta {
    padding: 0;
}

.card-auspiciador-thumbnail img.long {
  max-width: 160px;
}

.card-auspiciador-thumbnail img.tall {
  max-width: 114px;
}
/* fin esb  */



/* rooftop  */
section.rooftop_casos_exito > header.rooftop_header_section {
    padding: 0 10px;
}
.grid-layout {
    padding:0 1rem 3rem;
}

.c-mazonri__item {
    /* background: red; */
    height: 275px;
    margin-bottom: 1rem;
}

.c-mazonri__item figure {
    width: 100%;
    height: 100%;
}

.c-mazonri__item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

header.rooftop_header_people_says {
    padding: 2rem 15px;
}

header.rooftop_header_people_says > h2 {
    font-size: 20px;
    color: var(--rooftop);
}

header.rooftop_header_people_says > h2::after {
    background: var(--rooftop);
}

.rooftop_people_says .grid-layout {
    padding-bottom: 0;
}


.c-mazonri__card-shade {
    top: 0;
    left: 0;
    background: linear-gradient( transparent, black);
    padding: 2rem;
    justify-content: flex-end;
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
    opacity: 0;
    transition: all 0.5s;
}

.c-mazonri__card-shade:hover {
    opacity: 1;
}

.c-mazonri__card-shade h2 {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.c-mazonri__card-shade p {
    font-size: 14px;
}

.rooftop-posts {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 4rem;
}

.rooftop-post_item {
    text-align: center;
    width: 80%;
}

.rooftop-post_item figure {
    margin: 0;
}

.rooftop_auspiciadores header.esb_header_auspiciadores {
    padding: 2rem 1rem 1rem;
}

.card-auspiciador {
    line-height: 125px;
}

.l-claro {
    width: 105px !important;
}

.l-fc {
    width: 160px !important;
}

.l-heineken {
    width: 170px !important;
}

.c-mazonri__card-shade {
  opacity: 0!important;
}
/* fin rooftop  */


/* modal  */
.cmg-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 55;
    display: none;
}

.cmg-modal.open {
    display: flex;
}

.cmg-modal__content {
    width: 100%;
}

.cmg-modal__iframe-container {
    height: 0;
    padding-bottom: 56.25%;
}

.cmg-modal__content iframe {
    left: 0;
    top: 0;
    overflow:hidden;
}

.cmg-modal__cross {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    line-height: 26px;
    text-align: center;
    display: inline-block;
    color: #000;
    font-size: 20px;
    top: -50px;
    right: 10px;
    cursor: pointer;
}
/* fin modal  */

.circuit_right_header.contact h4 {
  font-size: 31px;
}
@media (min-width: 1024px) {

    .circuit_header .navbar-brand {
        width: 185px;
    }

    .navbar-nav .nav-link {
        color: #fff;
    }

    .navbar-nav > li.nav-item {
        padding: 0 35px 0 0 !important;
        margin-left: 30px;
    }

    /* index  */

    header.cmg_header > nav > a > img {
        width: 175px;
    }

    main.cmg_main {
        margin: 3rem 0;
        position: relative;
    }

    .cmg_main__number {
        display: block;
        position: absolute;
        bottom: -5rem;
        right: 0;
        width: 35%;
        max-width: 530px;
        opacity: 0.2;
    }

    section.cmg_intro_message > h1 {
        font-size: 50px;
    } 

    section.cmg_intro_message > p{
        padding: 1rem 3rem 2rem;
    }

    .cmg_cta > h3 {
        font-size: 30px;
    }

    /* fin index */

    /* circuit */
    .circuit_intro_caption > h2,
    .esb_intro_caption > h2,
    .rooftop_intro_caption > h2 {
        font-size: 45px;
    }

    .circuit_who_is,
    .esb_who_is,
    .rooftop_who_is {
        margin-top: 2rem;
    }

    .circuit_intro_caption_footer .btn-cmg,
    .esb_intro_caption .btn-cmg,
    .rooftop_intro_caption .btn-cmg {
        padding: 2rem 4rem;
        font-size: 20px;
    }

    .main__btn-play {
        top: 0%;
        left: 69vw;
        width: 120px;
        cursor: pointer;
    }

    .circuit_who_is h3,
    .circuit_who_is h2 {
        font-size: 20px;
    }

    .circuit_agencia_valores__container {
        background-image: url('../images/number.png');
        background-repeat: no-repeat;
        background-position: right bottom;
        background-size: auto 100%;
    }

    .circuit_agencia_valores__container {
        padding: 5rem 8rem 2rem;
    }

    .circuit_agencia_valores__item label {
        /* width: 30%; */
        font-size: 25px;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        cursor: pointer;
        opacity: 0.5;
    }

    .circuit_agencia_valores__item label img {
        width: 30px;
    }

    .circuit_agencia_valores__item p {
        width: 70%;
        font-size: 20px;
        font-weight: 300;
        font-family: 'Sequel Sans Light';
        opacity: 0;
        transition: all 0.5s;
    }

    .circuit_agencia_valores__item input[type=radio]:checked ~ label {
        opacity: 1;
    }

    .circuit_card {
        height: auto;
        padding: 1rem 0;
    }

    .circuit_card.tall {
        height: 550px;
    }

    .list-values {
        width: 30%;
    }

    .values-content {
        width: 70%;
        padding: 3rem 3rem 4rem;
    }

    .values-content .c-text {
        display: none;
    }

    .values-content .c-text.show {
        display: block;
        font-size: 21px;
        text-align: left;
    }

    .circuit_card_caption.float-button {
        padding: 0;
        bottom: 36%;
        left: 4.45%;
        /* background: red; */
        display: inline-flex;
        width: 12.5%;
        height: 7%;
        justify-content: center;
        align-items: center;
    }
    .circuit_card_caption.float-button a {
        font-size: 19px;
        text-transform: uppercase;
    }
    /* fin circuit */

    /* esb  */
    .circuit_banner_main__shade {
        padding: 10rem 3rem
    }
    .circuit_banner_main__shade p {
        width: 65%;
        font-size: 18px;
    }

    section.esb_casos_exito > header.esb_header_section {
        padding: 2rem 6rem;
    }

    .esb_casos_exito .esb_card {
        padding: 0;
        height: 100%;
    }

    .circuit_caption_meta > h2 {
        font-size: 20px;
    }

    .esb_base_content .esb_card img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .esb_base_content .col-lg-4:nth-child(2) .esb_card {
        padding: 0 1rem;
        margin-bottom: 1rem;
    }

    .circuit_caption_meta > h2.big {
        font-size: 30px;
        line-height: 38px;
    }


    .esb_auspiciadores {
        padding: 0 6rem 8rem 6rem;
    }

    header.esb_header_auspiciadores > h2 {
        margin-bottom: 3rem;
        font-size: 30px;
    }

    .card-auspiciador  {
        width: 25%;
    }
    
    .card-auspiciador > h1 {
       padding: 0 2rem; 
    }

    .card-auspiciador-thumbnail {
        height: 125px;
    }

    .esb_cta_caption {
        max-width: 500px;
    }

    .esb_cta_caption > p {
        font-size: 14px;
    }

    .esb_cta {
        padding: 3rem;
    }

    .esb_card_caption .circuit_caption_meta > h1 a {
        color: #fff;
        text-decoration: none;
    }
    
    .circuit_caption_meta > h2 {
        line-height: 25px;
        padding-right: 15%;
        margin-bottom: 1rem;
    }
    /* fin esb  */

    .circuit_left > img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .circuit_contacto {
        max-height: 100vh;
        overflow: hidden;
        min-height: 1000px;
    }

    section.rooftop_casos_exito > header.rooftop_header_section {
        padding: 0 0 2rem;
    }

    .grid-layout {
        padding: 0;
    }

    .c-mazonri__item {
        height: auto;
        margin-bottom: 0;
        /* background: red; */
    }

    .c-mazonri .grid-layout {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(13%, 1fr));
        grid-gap: 1.7rem;
        grid-auto-rows: minmax(60px, auto);
        grid-auto-flow: dense;
        height: 1300px;
    }

    .c-mazonri .grid-layout.small {
        grid-template-columns: repeat(auto-fill, minmax(12%, 1fr));
        height: 700px;
    }

    .span-2 {
        grid-column-end: span 3;
        grid-row-end: span 4;
    }   

    .c-mazonri  .span-3 {
        grid-column-end: span 3;
        grid-row-end: span 8;
    }

    .c-mazonri  .span-4 {
        grid-column-end: span 2;
        grid-row-end: span 2;
    }

    .c-mazonri  .span-5 {
        grid-column-end: span 3;
        grid-row-end: span 2;
    }

    header.rooftop_header_people_says {
        padding: 2rem 0;
    }

    header.rooftop_header_people_says > h2 { 
        font-size: 2rem;
    }

    .rooftop_people_says .grid-layout {
        padding-bottom: 3rem;
    }

    .rooftop-post_item {
        width: 20%;
        padding: 0 2rem;
    }

    .rooftop-post_item img {
        width: 100%;
    }

    .corner-number {
        right: 0;
        bottom: 0;
        width: 40%;
    }

    .rooftop_auspiciadores {
        background-image: none;
    }

    .rooftop_auspiciadores .card-auspiciador-thumbnail {
        line-height: 125px;
        margin-bottom: 0;
    }

    .rooftop_auspiciadores .card-auspiciador-thumbnail img {
        width: 100%;
    }

    .rooftop_auspiciadores .card-auspiciador-thumbnail img.small {
        width: 50%;
    }

    .rooftop_auspiciadores .esb_base_content {
        width: 80%;
        margin: 0 auto;

    }

    .rooftop_who_is > h3,
    .rooftop_who_is > h2 {
      font-size: 20px;
    }

    ul.rooftop_social_icons > li > a {
      font-size: 21px;
      opacity: 0.7;
      transition: all 0.5s;
    }

    ul.rooftop_social_icons > li > a:hover {
      opacity: 1;
    }

    .cmg-modal__content {
        width: 60%;
    }

    .circuit_right_header.contact h4 {
      font-size: 2.3rem;
    }
    
}
