/*
	Theme Name: MasterStudy
	Theme URI: https://stylemixthemes.com/masterstudy/
	Author: StylemixThemes
	Author URI: https://stylemixthemes.com/
	Description: MasterStudy is the best WordPress theme for the Education & Learning Center - for educational organizations, who sell courses and organize classes locally. Using Masterstudy you can easily setup a WordPress site for your education company.
	Version: 4.8.151
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Tags: classes, courses, education, education center, learning center, tutoring, teaching, study, studying, learning, lessons, instructor, teacher, mentor
	Text Domain: masterstudy
*/

@media (max-width: 767px) {
    body .top_bar_info li.hidden-info {
        display: none !important;
    }
}
.stm_lms_courses__filter_actions input[type=submit] {
    outline: none;
}

.stm-lms-course__lesson-content iframe {
    width: 100%;
}

/* Custom CSS overrides for LMS Account Dropdown to match site colors */
body.architecture #header .header-login-button.account .stm_lms_account_dropdown .dropdown button {
    background: #F4A64E !important;
    border-color: #F4A64E !important;
    color: #fff !important;
    transition: all 0.3s ease;
}
body.architecture #header .header-login-button.account .stm_lms_account_dropdown .dropdown button:hover,
body.architecture #header .header-login-button.account .stm_lms_account_dropdown .dropdown.open button {
    background: #88584E !important;
    border-color: #88584E !important;
    color: #fff !important;
}
body.architecture #header .header-login-button.account .stm_lms_account_dropdown .dropdown button .login_name,
body.architecture #header .header-login-button.account .stm_lms_account_dropdown .dropdown button .caret,
body.architecture #header .header-login-button.account .stm_lms_account_dropdown .dropdown button i,
body.architecture #header .header-login-button.account .stm_lms_account_dropdown .dropdown.open button .login_name,
body.architecture #header .header-login-button.account .stm_lms_account_dropdown .dropdown.open button .caret,
body.architecture #header .header-login-button.account .stm_lms_account_dropdown .dropdown.open button i {
    color: #fff !important;
}

/* Instructor Area Column (Right Side of Dropdown) */
.stm_lms_account_dropdown .dropdown .masterstudy-dropdown-menu__main-column {
    background-color: #88584E !important;
}

/* Hover state of active/hover menu items in dropdown */
.stm_lms_account_dropdown .dropdown .masterstudy-dropdown-menu__learning-column a:hover,
.stm_lms_account_dropdown .dropdown .masterstudy-dropdown-menu__learning-column a:hover span,
.stm_lms_account_dropdown .dropdown .masterstudy-dropdown-menu__logout a:hover,
.stm_lms_account_dropdown .dropdown .masterstudy-dropdown-menu__logout a:hover span,
.stm_lms_account_dropdown .dropdown .masterstudy-dropdown-menu__main-column .masterstudy-dropdown-menu__list li a:hover .dropdown_menu_item__title {
    color: #F4A64E !important;
}

.stm_lms_account_dropdown .dropdown .masterstudy-dropdown-menu__learning-column .masterstudy-dropdown-menu__list li a:hover {
    background: rgba(136, 88, 78, 0.1) !important;
}

.stm_lms_account_dropdown .dropdown .masterstudy-dropdown-menu__main-column .masterstudy-dropdown-menu__list li a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.stm_lms_account_dropdown .dropdown .masterstudy-dropdown-menu__list li a abbr {
    background-color: #F4A64E !important;
}

/* MasterStudy LMS Global Accent Color Overrides */
:root {
    --accent-100: #88584E !important;
    --accent-10: rgba(136, 88, 78, 0.1) !important;
    --accent-hover: #F4A64E !important;
    --accent-50: rgba(136, 88, 78, 0.5) !important;
}

/* Specific elements to ensure no blue is displayed */
.masterstudy-enrolled-courses__empty a.masterstudy-enrolled-courses__empty-button {
    background-color: #88584E !important;
}
.masterstudy-enrolled-courses__empty a.masterstudy-enrolled-courses__empty-button:hover {
    background-color: #F4A64E !important;
}
.masterstudy-enrolled-courses-tabs__block.masterstudy-enrolled-courses-tabs__block_active {
    border-bottom-color: #88584E !important;
}
.masterstudy-enrolled-courses-tabs__block.masterstudy-enrolled-courses-tabs__block_active .masterstudy-enrolled-courses-tabs__block-title {
    color: #88584E !important;
}
.masterstudy-enrolled-courses-tabs__block.masterstudy-enrolled-courses-tabs__block_active .masterstudy-enrolled-courses-tabs__block-value {
    background-color: #88584E !important;
}
.masterstudy-enrolled-courses-tabs__block:hover .masterstudy-enrolled-courses-tabs__block-title {
    color: #88584E !important;
}
.masterstudy-enrolled-courses-tabs__block:hover .masterstudy-enrolled-courses-tabs__block-value {
    background-color: #88584E !important;
}

.masterstudy-account-menu__list a.masterstudy-account-menu__list-item.masterstudy-account-menu__list-item_active .masterstudy-account-menu__list-item-label,
.masterstudy-account-menu__list a.masterstudy-account-menu__list-item.masterstudy-account-menu__list-item_active i,
.masterstudy-account-menu__list a.masterstudy-account-menu__list-item:hover .masterstudy-account-menu__list-item-label,
.masterstudy-account-menu__list a.masterstudy-account-menu__list-item:hover i {
    color: #88584E !important;
}
.masterstudy-account-menu__list a.masterstudy-account-menu__list-item.masterstudy-account-menu__list-item_active,
.masterstudy-account-menu__list a.masterstudy-account-menu__list-item:hover {
    background: rgba(136, 88, 78, 0.1) !important;
}

/* Custom Contact Page Styles */
.contact-page-container {
    padding: 60px 0;
    font-family: 'Poppins', sans-serif;
}
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.contact-info-column {
    flex: 1 1 500px;
}
.contact-form-column {
    flex: 1 1 450px;
    display: flex;
    justify-content: center;
}
.contact-title {
    color: #88584E;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}
.contact-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}
.contact-whatsapp-banner {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 35px;
}
.contact-whatsapp-link {
    color: #F4A64E;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed #F4A64E;
    transition: all 0.2s ease;
}
.contact-whatsapp-link:hover {
    color: #88584E;
    border-bottom-color: #88584E;
}
.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 767px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
}
.contact-card-link,
.contact-card-static {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    height: 100%;
}
.contact-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(136, 88, 78, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(136, 88, 78, 0.03);
    transition: all 0.3s ease;
    height: 100%;
    align-items: center;
}
.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(136, 88, 78, 0.08);
    border-color: rgba(136, 88, 78, 0.2);
}
.contact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(136, 88, 78, 0.08);
    color: #88584E;
    border-radius: 50%;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.contact-card:hover .contact-card-icon {
    background: #88584E;
    color: #fff;
}
.contact-card-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #88584E;
}
.contact-card-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}
.contact-card-content a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}
.contact-card-content a:hover {
    color: #F4A64E;
}
.contact-card-content .room-desc {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #888;
}

/* DataCRM Webform Wrapper */
.datacrm-form-wrapper {
    background: #FDF8F7;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(136, 88, 78, 0.1);
    box-shadow: 0 10px 30px rgba(136, 88, 78, 0.05);
    width: 100%;
    max-width: 560px;
}
.datacrm-form-wrapper h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #88584E;
    text-align: center;
}
.datacrm_webforms {
    margin: 0 auto;
    max-width: 100%;
}
.datacrm_webforms iframe {
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    background: #fff !important;
}

@media (max-width: 600px) {
    .datacrm_webforms {
        width: 100% !important;
        height: auto !important;
    }
    .datacrm_webforms iframe {
        width: 100% !important;
    }
}

/* Menu Item Bell Icon Animation */
.menu-item-contacto-icon svg {
    color: #555;
    transition: all 0.3s ease;
}
.menu-item-contacto-icon:hover svg,
.current-menu-item .menu-item-contacto-icon svg {
    color: #88584E !important;
    transform: scale(1.15) rotate(-5deg);
}

/* Logo Sizing override */
.logo-unit img {
    width: 85px !important;
    max-height: none !important;
}

/* Newsletter Popup Styles */
.riscatto-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    font-family: 'Poppins', sans-serif;
}
.riscatto-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}
.riscatto-popup-container {
    background: #fff;
    width: 850px;
    max-width: 90%;
    height: 500px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.riscatto-popup-overlay.active .riscatto-popup-container {
    transform: scale(1);
}
.riscatto-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    color: #333;
    z-index: 10;
    line-height: 1;
    transition: color 0.2s ease;
}
.riscatto-popup-close:hover {
    color: #88584E;
}
.riscatto-popup-content {
    display: flex;
    height: 100%;
}
.riscatto-popup-left {
    flex: 1 1 50%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}
.riscatto-popup-right {
    flex: 1 1 50%;
    background-size: cover;
    background-position: center;
    position: relative;
}
.riscatto-popup-curve {
    position: absolute;
    top: 0;
    left: -1px;
    height: 100%;
    width: 60px;
    background: #fff;
    border-top-right-radius: 50% 100%;
    border-bottom-right-radius: 50% 100%;
}
.riscatto-popup-title {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
    line-height: 1.3;
}
.riscatto-popup-text {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 25px 0;
}
#riscatto-popup-form {
    margin-bottom: 25px;
}
.riscatto-popup-form-row {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}
.riscatto-popup-form-row input[type="email"] {
    flex: 1;
    border: none;
    padding: 0 15px;
    height: 44px;
    font-size: 13px;
    outline: none;
    color: #333;
}
.riscatto-popup-form-row button {
    background: #C6897D;
    color: #fff;
    border: none;
    padding: 0 25px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}
.riscatto-popup-form-row button:hover {
    background: #88584E;
}
.riscatto-popup-success {
    font-size: 14px;
    color: #88584E;
    font-weight: 600;
    margin-bottom: 20px;
}
.riscatto-popup-dontshow {
    margin-top: auto;
}
.riscatto-popup-dontshow label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    color: #888;
    user-select: none;
}
.riscatto-popup-dontshow input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
    accent-color: #88584E;
}

@media (max-width: 768px) {
    .riscatto-popup-container {
        height: auto;
        max-height: 95vh;
        width: 90%;
    }
    .riscatto-popup-content {
        flex-direction: column-reverse;
    }
    .riscatto-popup-right {
        height: 180px;
        flex: 0 0 180px;
    }
    .riscatto-popup-curve {
        top: auto;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 40px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: 100% 50%;
        border-top-right-radius: 100% 50%;
    }
    .riscatto-popup-left {
        padding: 30px 20px;
    }
}

/* Categories Mega Menu (Desktop) */
@media (min-width: 992px) {
    .header_main_menu_wrapper .header-menu > li.menu-item-categories-mega {
        position: relative !important;
    }
    .header_main_menu_wrapper .header-menu > li.menu-item-categories-mega > a .arrow-down {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 6px;
        vertical-align: middle;
        border-top: 4px solid;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
        transition: transform 0.3s ease;
    }
    .header_main_menu_wrapper .header-menu > li.menu-item-categories-mega:hover > a .arrow-down {
        transform: rotate(180deg);
    }
    .header_main_menu_wrapper .header-menu > li.menu-item-categories-mega > ul.sub-menu {
        width: 760px !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(15px) !important;
        padding: 30px !important;
        border-radius: 8px !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
        border: none !important;
        display: block !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
        background: #fff !important;
    }
    .header_main_menu_wrapper .header-menu > li.menu-item-categories-mega:hover > ul.sub-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-50%) translateY(0) !important;
    }
    .riscatto-mega-menu-container {
        width: 100%;
        display: block !important;
    }
    .riscatto-mega-menu-columns {
        display: flex !important;
        gap: 30px !important;
    }
    .riscatto-mega-menu-column {
        flex: 1 !important;
    }
    .riscatto-mega-menu-column h4 {
        font-size: 11px;
        font-weight: 700;
        color: #88584E;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        margin: 0 0 18px 0;
        padding-bottom: 8px;
        border-bottom: 1px solid #f0f0f0;
    }
    .riscatto-mega-menu-column ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .riscatto-mega-menu-column ul li {
        margin-bottom: 10px !important;
        padding: 0 !important;
    }
    .riscatto-mega-menu-column ul li a {
        font-size: 13.5px !important;
        color: #444 !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        transition: color 0.2s ease, padding-left 0.2s ease !important;
        display: block !important;
        border-bottom: none !important;
        padding: 0 !important;
    }
    .riscatto-mega-menu-column ul li a:hover {
        color: #88584E !important;
        padding-left: 4px !important;
    }
    .riscatto-mega-menu-footer {
        margin-top: 25px !important;
        padding-top: 15px !important;
        border-top: 1px solid #f0f0f0 !important;
        display: flex !important;
        justify-content: flex-end !important;
    }
    .riscatto-mega-menu-footer a {
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #88584E !important;
        text-decoration: none !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        transition: gap 0.2s ease !important;
    }
    .riscatto-mega-menu-footer a:hover {
        gap: 10px !important;
    }
}

/* Categories Mega Menu (Mobile) */
@media (max-width: 991px) {
    .menu-item-categories-mega > a .arrow-down {
        float: right;
        margin-top: 8px;
    }
    .header-menu-mobile .menu-item-categories-mega > ul.sub-menu {
        padding-left: 15px !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }
    .riscatto-mega-menu-columns {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .riscatto-mega-menu-column h4 {
        font-size: 11px;
        font-weight: 700;
        color: #88584E;
        text-transform: uppercase;
        margin: 15px 0 10px 0;
    }
    .riscatto-mega-menu-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .riscatto-mega-menu-column ul li {
        margin-bottom: 8px;
    }
    .riscatto-mega-menu-column ul li a {
        font-size: 13px;
        color: #666;
        text-decoration: none;
    }
    .riscatto-mega-menu-footer {
        margin-top: 15px;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }
    .riscatto-mega-menu-footer a {
        font-size: 12px;
        font-weight: 600;
        color: #88584E;
        text-decoration: none;
    }
}






