html { visibility: hidden; }
html.loaded { visibility: visible; }


/* Hide Spanish footer on English pages */
html[lang^="en"] .footer-es {
    display: none !important;
}

/* Hide English footer on Spanish pages */
html[lang^="es"] .footer-en {
    display: none !important;
}


/* =========================
   BUTTONS
========================= */

body #page-container .et_pb_section .et_pb_button:after{
    font-size:1em !important;
    line-height:1.8em !important;
}

.page-id-19 #page-container .et_pb_section .et_pb_button:after{
    color:#FBE132;
}


/* =========================
   STAFF / READMORE TOGGLES
========================= */

.staffToggleText{
    display:none;
    width:100% !important;
}

.readmorebody{
    display:none;
}

.staffToggle:hover{
    cursor:pointer;
}

.staffToggle:hover div:first-child,
.ButtonToggleExperiencia,
.ButtonTogglePublicaciones{
    cursor:pointer !important;
}

.ButtonContentExperiencia,
.ButtonContentPublicaciones,
.et-show-more-container{
    display:block;
    width:100% !important;
}

.et-fb .ButtonContentExperiencia,
.et-fb .ButtonContentPublicaciones{
    display:block;
    width:100% !important;
}


/* =========================
   SHOW MORE CONTENT
========================= */

.et-show-more-content{
    display:none;
}

.et-fb .et-show-more-content{
    display:block;
}

.et-show-more-toggle{
    cursor:pointer;
}

.et-show-more-toggle:hover{
    background-color:light-grey !important;
    color:grey !important;
}


/* =========================
   FOOTER MENU LAYOUT
========================= */

#menu-footer-menu li{
    width:100% !important;
}

#menu-footer-menu .et_pb_menu__wrap{
    background:transparent !important;
}


/* =========================
   SLICK SLIDER
========================= */

.page-id-41 .slick-slide img{
    height:600px !important;
    width:auto !important;
    margin:0 auto !important;
}

.slick-next::before{
    content:url(https://rebaza-alcazar.com/wp-content/uploads/arrow-rad-right.svg) !important;
}

.slick-prev::before{
    content:url(https://rebaza-alcazar.com/wp-content/uploads/arrow-rad-left.svg) !important;
}


/* =========================
   FORM INPUTS
========================= */

input.text,
input.title,
input[type=email],
input[type=password],
input[type=tel],
input[type=text],
select,
textarea{
    background-color:#fff;
    border:0;
    padding:2px;
    color:#4e4e4e;
    border-bottom:1px solid black;
}

#AlumniGallery .et-pb-arrow-next:before, .slick-next::before {
    display: block!important;
    content: url(https://rebaza-alcazar.com/wp-content/uploads/arrow-rad-right.svg)!important; 
}

#AlumniGallery .et-pb-arrow-prev:before, .slick-prev::before {
    display: block!important;
    content: url(https://rebaza-alcazar.com/wp-content/uploads/arrow-rad-left.svg)!important; 
}

#AlumniGallery .mfp-title{
	display:none!important;
}


/* =========================
   COLUMN
========================= */
.custom-two-column-layout {
    display: grid !important;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 0 25px !important;
    align-content: start !important;
    align-items: start !important;
    height: auto !important;
}

/* Left thumbnail */
.custom-two-column-layout > .et_pb_module:first-child {
    grid-column: 1;
    grid-row: 1 / 4;
}

/* Right modules */
.custom-two-column-layout > .et_pb_module:nth-child(n+2) {
    grid-column: 2;
    grid-row: auto;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    align-self: start !important;
}

/* Mobile */
@media (max-width: 767px) {
    .custom-two-column-layout {
        grid-template-columns: 1fr;
    }

    .custom-two-column-layout > .et_pb_module {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}

/* =========================
   SEARCH BOX
========================= */


.desktop-menu .et_pb_menu .et_pb_menu__search-container {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
}

.desktop-menu .et_pb_menu .et_pb_menu__search{
    max-width:600px;
}


/* =========================
   RESPONSIVE FIXES
========================= */

@media only screen and (max-width:1000px){

    .page-id-41 .slick-slide img{
        height:auto !important;
        width:auto !important;
        margin:0 auto !important;
    }

}
.nav li li{line-height:auto!important;}
.et-menu-nav .estudio.mega-menu > ul.sub-menu > li{width:20%!important;}
.et-menu-nav .areas.mega-menu > ul.sub-menu {padding-left:5%;padding-right:5%;}
.et-menu-nav .areas.mega-menu > ul.sub-menu > li{line-height:1.2rem;padding-right:20px!important;}

@media (min-width: 1200px) {.et-menu-nav .areas.mega-menu > ul.sub-menu {padding-left:10%;padding-right:10%;}}
