/*
Theme Name: PAAI Theme
Theme URI: http://yourwebsite.com
Description: A child theme for Divi.
Author: Your Name
Author URI: http://yourwebsite.com
Template: Divi
Version: 1.0.0
*/

html {
    font-size: clamp(16px, -70.535px + 11.268vw, 40px) !important;
}

/*
  Easy Accordion Pro: Hide accordions during initial load
  Only affects visibility, doesn't interfere with plugin functionality
*/

/* Hide entire accordion during initial load to prevent flash */
html.ha-ea-prehide .sp-easy-accordion {
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Smooth reveal after accordions are ready */
.sp-easy-accordion {
    transition: opacity 0.3s ease-in, visibility 0s linear;
}

.et_pb_column_1_tb_footer, .et_pb_column_2_tb_footer, .et_pb_column_3_tb_footer {
    display: none;
}

#main-content {
    margin: 0 auto;
}

.container {
    position: unset;
    width: unset;
    max-width: unset;
    margin: auto;
}

.container.et_pb_menu_hidden {
    z-index: 99 !important;
}

#logo {
    max-height: 75%;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1em !important;
    font-weight: 200 !important;
    font-family: 'Crimson Text', Georgia, "Times New Roman", serif !important;
}

p {
    margin: 0 0 10px;
}

.crimson {
    font-family: "Crimson Text", serif !important;
}

.upper {
    text-transform: uppercase !important;
}

.nomarg-btm {
    margin-bottom: 0 !important;
}

.nopad-btm {
    padding-bottom: 0 !important;
}

.thin {
    font-weight: 100 !important;
}

.x-light {
    font-weight: 200 !important;
}

.light {
    font-weight: 300 !important;
}

.regular {
    font-weight: 400 !important;
}

.medium {
    font-weight: 500 !important;
}

.semi-bold {
    font-weight: 500 !important;
}

.bold {
    font-weight: 700 !important;
}

.center {
    text-align: center !important;
}

.row-divider {
    height: 2em;
}

.row-divider.half {
    height: 1em;
}

.row-divider.quarter {
    height: .5em;
}

.white {
    color: #FFF !important;
}

.blue {
    color: #0099cc;
}

.green, .current_page_item a {
    color: #0B6250 !important;
}

.x-large {
    font-size: 1.6rem !important;
    line-height: 1.7rem !important;
}

.large {
    font-size: 1.3rem !important;
    line-height: 1.4rem !important;
}

.medium {
    font-size: 1.2rem !important;
    line-height: 1.3rem !important;
}

.et_header_style_left .logo_container {
    position: unset;
    text-align: center;
    height: 130px;
}

#top-menu, .et-menu, nav#top-menu-nav, nav.et-menu-nav, #et-top-navigation, #et_mobile_nav_menu {
    float: none!important;
    text-align: center;
}

#top-menu-nav {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#et-top-navigation {
    width: 100%;
    margin-top: unset !important;
    padding-top: unset !important;
    border-top: 1px solid #e0e0e0;
}

#et-top-navigation {
    padding-left: 0!important;
    margin-top: 130px;
    background-position: 0 -5px;
    background-color: #f5f5f5;
}

#et-top-navigation a {
    padding-bottom: 0 !important;
}

#et_top_search {
    position: absolute;
    right: 2em;
    top: calc(50% - 20px);
}

.awsm-social-icons > span, .awsm-social-icons > span a {
    color: #0b6250 !important;
}

/* Home Page */

.et_pb_section.hero {
    padding: 0;
    max-width: 1920px;
    margin: 0 auto;
}

.et_pb_section.hero .et_pb_row {
    min-height: 280px;
    background-size: cover;
    display: flex;
    align-items: center;
    max-width: unset;
    width: 100%;
    padding: unset;
    background-position: 50% 30%;
}

@media only screen and ( min-width: 768px ) {
    .et_pb_section.hero .et_pb_row {
        min-height: 550px;
    }
}

.et_pb_section.intro {
    padding: 0;
}

body.page-id-82 div.et_pb_section.et_pb_section_0 {
    background-position: 50% 38%;
}

/* Educational Material Page */

#sp-eap-accordion-section-127 img {
    margin: 2em auto;
}
