/*
Theme Name: Estudiar Child
Author: VamTam
Author URI: https://vamtam.com
Template: estudiar
*/

.testimonial-home-wrap {
    border-width: 4px 0px 4px 0px;
    border-style: solid;
    border-image-source: linear-gradient(90deg, #FFFFFF 0%, #602E88 52.73%, #FFFFFF 100%);
    border-image-slice: 1;
}

.contact-page-border {
    border-top: 4px solid;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-image-source: linear-gradient(90deg, #FFFFFF 0%, #602E88 52.73%, #FFFFFF 100%);
    border-image-slice: 1;
}

.search-results .elementor-page-title {
    display: none !important;
}

.main-footer .search-icon-menu-item {
    display: none;
}

.search-modal-icon {
    cursor: pointer;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.search-modal-container {
    position: absolute;
    width: 80%;
    max-width: 599px;
    background: #fff;
    padding: 40px;
    border-radius: 5px;
    text-align: center;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.search-modal-form {
    display: flex;
    gap: 10px;
}

.search-modal-input {
    flex-grow: 1;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-modal-submit {
    padding: 15px 25px;
    background: #2184F9;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #555;
}



.calendly-inline-widget h2 { display: none !important; }

.calendar-buttons-wrapper {   
    
    display: grid;    
    grid-template-columns: 1fr 2fr;    
    width: 100%;
    justify-content: space-between;
    align-items: center;
    row-gap: 1rem;
    margin-bottom: 3rem;    
}
.calendly-iframe-container-wrap {
    position: relative;
    min-height: 950px;
    height: 100%;
    margin-top: 60px;
}
#calendly-iframe-container {
    height: 100%;
    flex-direction: column-reverse;
    position: relative;
    display: flex;   
    width: 100%;
    position: relative;
}

.calendar-buttons-wrapper small {
    display: block;
    font-size: 11px;;
    line-height: 1.7;    
    margin-block: .3rem;
    align-self: start;
}

.calendar-buttons-wrapper #calendar-buttons {
    margin-top: 66px;
    display: flex;
    justify-content: center;
    align-items: center;
    row-gap: 1rem;
    margin-bottom: 3rem;
    flex-direction: column;        
}

.calendar-buttons-wrapper #calendar-buttons button {
    background-color: #292929;
    width: 100%;
    color: #fff;
    border: 0;
    border-radius: 5px;
    outline: none;
    padding: 2rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all .3s ease;
    text-decoration: none;
}

.calendar-buttons-wrapper #calendar-buttons button:last-of-type {
    margin-bottom: 1rem;
}

.calendar-buttons-wrapper #calendar-buttons button.active-button {
    background-color: #602E89; /* Green background */
    color: white; /* White text */
    border: none; /* Remove border */
}

.calendar-buttons-wrapper #calendar-buttons button:hover {
    background-color: #602E89;
    color: #fff;
    border-radius: 5px;
}

.calendar-buttons button a {
    color: #000;
    text-decoration: none;

}
.elementor-widget-text-editor a,
.elementor-tab-content a,
.single-post .limit-wrapper a,
.elementor-post-info__terms-list a {
    color: #292929;
    text-decoration: underline;
}

.hero-tabs  {
    /* max-width: 1260px;
    margin: 0 auto; */
    min-height: 90vh;
}

@media (max-width: 768px) {
    .hero-tabs  {      
        min-height: 70vh;
    }
}

.hero-tabs:after {
    content: "";
    position: absolute;   
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;       
    bottom: 0;
    right: 0;   
    background: #000;
    opacity: .4;
    z-index: -1;
}
.hero-image {
    /* position: relative; */
    height: 100%;
    overflow: hidden;
    position: absolute;   
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;   
    bottom: 0;
    right: 0;
    min-height: 70vh;
}

.hero-image img { 
    position: absolute;   
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;   
    bottom: 0;
    right: 0;
    min-height: 70vh;
}

.hero-inner-image {
    position: relative;
    height: 100%;
    overflow: hidden;
    min-height: 30rem;
}

.hero-inner-image.contact {
    position: relative;
    height: 100%;
    overflow: hidden;
    height: 400px;
    min-height: 400px !important;
}

.hero-inner-image.contact img {
   
    height: 400px;
    min-height: 400px !important;
}

.hero-inner-image img { 
    position: absolute;   
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;   
    bottom: 0;
    right: 0;
    min-height: 30rem;
    /* filter: grayscale(1); */
}

.contact-hero-section .hero-inner-image,
.contact-hero-section .hero-inner-image img {
    min-height: 70vh;
}

.opus-faq-list li hr {
    margin-block: 1rem;
}

.opus-faq-list li {
    margin-bottom: 1rem;
}

.basic-accordion .elementor-tab-title {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
}
.basic-accordion .elementor-tab-title .elementor-toggle-title {
    margin-right: 1rem;
}

.popular-majors .elementor-price-list .elementor-price-list-item {
   
    padding: .5rem 2rem;
}
.popular-majors .elementor-price-list .elementor-price-list-header {
   
    margin-bottom: 0 !important;
}

.popular-majors:not(.price) .elementor-price-list-item:nth-child(even)  {
    background: #292929;
    /* padding: 1rem; */
}

.popular-majors:not(.price) .elementor-price-list-item:nth-child(even) .elementor-price-list-title,
.popular-majors:not(.price) .elementor-price-list-item:nth-child(even) .elementor-price-list-price {
    color: #ffffff;
}

img[data-lazyloaded]{
    opacity: 0;
}

img.litespeed-loaded{
    -webkit-transition: opacity .5s linear 0.2s;
    -moz-transition: opacity .5s linear 0.2s;
    transition: opacity .5s linear 0.2s;
    opacity: 1;
}

.sticky-header.elementor-sticky--effects { 
    background-color: #602E89 !important; 
}
.sticky-header { 
    transition: background-color .5s ease !important; 
}
.sticky-header.elementor-sticky--effects { 
    height: 90px !important; 
}
.sticky-header > .elementor-container { 
    transition: height 1s ease !important; 
}

footer .elementor-widget-container a {
    color: #fff;
}

.single-post .limit-wrapper {
    max-width: 1060px;
    margin: 0 auto;
}

.single-post h2 {    
    font-size: 36px;
}

.single-post h3 {    
    font-size: 28px;
}

.single-post .main-container ul li,
.single-post .main-container ol li {    
   margin-bottom: .7rem;
}

@media only screen and (max-width: 1024px) {
    .calendar-buttons-wrapper {   
        grid-template-columns: 1fr;
    }

    .calendar-buttons-wrapper #calendar-buttons button {
        font-size: 18px;
        /* max-width: 300px; */

    }

    #calendly-iframe-container {
        height: 600px;       
    }  
    
    .calendly-iframe-container-wrap {        
        min-height: 600px;        
    }

    .search-icon-menu-item {
        display: none !important;
    }
}

@media only screen and (max-width: 450px) {
    .popular-majors .elementor-price-list .elementor-price-list-item {   
        padding: .5rem;
    }

    .calendly-iframe-container-wrap {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 600px;
    }

    .calendar-buttons-wrapper {
        margin-bottom: 0;
        /* max-width: 300px; */

    }
    .calendar-buttons-wrapper #calendar-buttons button {
        font-size: 16px;        

    }

    #calendly-iframe-container {
        height: 600px;
        max-width: 350px;        
    }
}