@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&family=Open+Sans:wght@400;500&display=swap');

:root {
    --bg_color: #6f4231;
    --text_color: #f4dad0;
    
    --bg_color2: #FABC2A;
    /*#f7c70f*/
    --text_color2: #000000;
}

body {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 600;
}

#logo_img {
    width: 480px;
}

#header_school_name {
    display: inline-block;
    vertical-align: top;
}

a {
    text-decoration: none;
    color: var(--bg_color);
}

a:hover {
    text-decoration: underline;
    color: var(--bg_color2);
}

#nav_section #respMenu > li.active_page > a {
    background: var(--bg_color2);
    color: var(--text_color2);
}

#nav_section #respMenu > li ul.sub-menu li.active_page a {
    color: white;
}

#current_page_content ol li,
#current_page_content ul li {
    margin-bottom: 7px;
}

#header_contact_container {
    display: flex;
    flex-direction: column;
    text-align: right;
}

#top_header_section div.social_media_icons {
    margin-top: 11px;
}

#top_header_section div.social_media_icons,
#copyright_section div.social_media_icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

#top_header_section div.social_media_icons > a i,
#copyright_section div.social_media_icons > a i {
    transition: transform 0.3s linear;
}

#top_header_section div.social_media_icons > a {
    width: 40px;
    height: 40px;
    font-size: 18px;
    line-height: 40px;
}

#copyright_section div.social_media_icons > a {
    width: 30px;
    height: 30px;
    font-size: 14px;
    line-height: 30px;
}

#top_header_section div.social_media_icons > a,
#copyright_section div.social_media_icons > a {
    margin-left: 9px;
    text-align: center;
    background: var(--bg_color);
    color: white;
    border-radius: 50%;
}

#top_header_section div.social_media_icons > a:hover i,
#copyright_section div.social_media_icons > a:hover i {
    transform: rotate(360deg);
}

#top_header_section div.social_media_icons > a:hover,
#copyright_section div.social_media_icons > a:hover {
    background: var(--bg_color2);
    color: var(--text_color2);
}

#non_home_page_section {
    min-height: 400px;
}

#non_home_page_section img {
    vertical-align: top;
}

#non_home_page_section table[border="1"] tr td {
    border-width: 1px;
}

#non_home_page_section table[border="2"] tr td {
    border-width: 2px;
}

#non_home_page_section table[border="3"] tr td {
    border-width: 3px;
}

#non_home_page_section table[cellSpacing] {
    border-collapse: unset;
    /*border-color: transparent;*/
}

#nav_section {
    background-color: var(--bg_color);
    color: var(--text_color);
}

#nav_section #respMenu > li ul.sub-menu > li {
    max-width: 250px;
    width: 100%;
}

#nav_section #respMenu li ul.sub-menu {
    z-index: 2; /* overriding the z-index 1 of slidershow_main_container*/
    max-height: 350px;
    overflow-y: overlay;
}

#nav_section #respMenu > li > a {
    padding: 15px;
    /*text-transform: uppercase;*/
    color: var(--text_color);
    font-weight: 500;
    font-size: 13px;
}

#nav_section #respMenu > li.has_child > a::after {
    position: absolute;
    content: '\f0dd';
    top: 44%;
    right: 10px;
    font-size: 12px;
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    transform: translateY(-50%);
}

#nav_section #respMenu > li.has_child a {
    position: relative;
    padding-right: 24px;
}

#nav_section #respMenu > li > a:hover,
#nav_section #respMenu > li.menu-active > a {
    background: var(--bg_color2);
    color: var(--text_color2);
}

#nav_section #respMenu > li ul.sub-menu {
    background: var(--bg_color);
    color: var(--text_color);
}
    
#nav_section #respMenu > li ul.sub-menu li a:hover{
    color: white;
}

#nav_section #respMenu {
    background: var(--bg_color);
}

#slidershow_main_container {
    margin-top: 35px;
}

#slidershow_main_container .swiper-pagination-bullet-active {
    background: var(--bg_color);
}

#student_achievement_section {
    margin-top: 35px;
}

#student_achievement_section div.container_wrapper {
    padding: 30px;
    background: var(--bg_color);
    color: white;
}

#student_achievement_section #student_achievement_slider #pre_student_slider {
    width: calc(100% - 60px);
}

#student_achievement_section #student_achievement_slider div.flex_container:hover {
    background: var(--bg_color2);
    color: var(--text_color2);
}

#student_achievement_section #student_achievement_slider div.flex_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    /*cursor: pointer;*/
    transition: all 0.2s ease-out;
}

#student_achievement_section #student_achievement_slider div.flex_container > div {
    padding: 10px;
}

#student_achievement_section #student_achievement_slider div.flex_container div.img_wrapper img {
    max-width: 450px;
    height: auto;
    width: 100%;
}

#student_achievement_swiper_prev_btn::after, #student_achievement_swiper_next_btn::after {
    top: 0;
    position: absolute;
    z-index: 10;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 25px;
    background: var(--bg_color);
    color: white;
}

#student_achievement_swiper_prev_btn::after {
    content: '\f191';
    right: 30px;
}

#student_achievement_swiper_next_btn::after {
    content: '\f152';
    right: 0;
}

#student_achievement_section #student_achievement_slider div.student_info_div h1,
#student_achievement_section #student_achievement_slider div.student_info_div h2,
#student_achievement_section #student_achievement_slider div.student_info_div h3,
#student_achievement_section #student_achievement_slider div.student_info_div h4,
#student_achievement_section #student_achievement_slider div.student_info_div h5,
#student_achievement_section #student_achievement_slider div.student_info_div h6,
#student_achievement_section #student_achievement_slider div.student_info_div p {
    margin-bottom: 3px;
}

#about_us_section {
    margin-top: 35px;
}

#about_us_section div.container_wrapper {
    background: #fffcf1;
    padding: 30px;
    color: black;
    border: 1px solid #e6e6e6;
    box-shadow: 1px 0px 9px -4px var(--bg_color);
    /*border-radius: 10px;*/
}



#testimonial_section {
    margin: 35px 0;
}

#testimonial_section div.container_wrapper {
    background: #fffcf1;
    padding: 30px;
    color: black;
    border: 1px solid #e6e6e6;
    box-shadow: 1px 0px 9px -4px var(--bg_color);
}

#testimonial_section #testimonial_slider div.heading {
    width: calc(100% - 60px);
    margin-bottom: 25px;
}

#testimonial_section #testimonial_slider div.testimonial_slide {
    padding-left: 34px;
    position: relative;
}

#testimonial_section #testimonial_slider div.testimonial_slide::before {
    position: absolute;
    content: '\f10d';
    top: -10px;
    left: 0px;
    font-size: 26px;
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
}

#testimonial_swiper_prev_btn::after, #testimonial_swiper_next_btn::after {
    top: 0;
    position: absolute;
    z-index: 10;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 25px;
    background: #fffcf1;
    color: var(--bg_color);
}

#testimonial_swiper_prev_btn::after {
    content: '\f191';
    right: 30px;
}

#testimonial_swiper_next_btn::after {
    content: '\f152';
    right: 0;
}

#testimonial_section #testimonial_slider div.content {
    text-align: justify;
}

#testimonial_section #testimonial_slider div.content > div {
    text-align: right;
}


#footer_section {
    padding: 35px 0 20px 0;
    background: var(--bg_color);
    color: #cd886e;
}

#footer_section,
#footer_section input.form-control,
#footer_section button.btn,
#copyright_section {
    font-size: 13px;
}

#footer_section a {
    color: #cd886e;
}

#footer_section a:hover {
    text-decoration: none;
    color: #fff;
}

#footer_section div.heading {
    margin-bottom: 16px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text_color);
}

#footer_section div.content div.flex_container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-wrap: nowrap;
}

#footer_section div.content div.flex_container i {
    color: var(--text_color);
}

#footer_section div.content div.flex_container > div {
    padding: 6px;
}

#footer_section div.content ul {
    padding: 0;
    list-style-type: none;
}

#footer_section div.content ul li {
    margin-bottom: 7px;
}

#copyright_section {
    padding: 12px 0;
    background: #42281e;
    color: var(--text_color);
}


#about_us_section div.img_wrapper {
    position: relative;
}

#nav_menu_toggle {
    background: var(--bg_color);
    color: var(--text_color);
}

#menu-btn {
    margin: 3px !important;
    background: var(--bg_color2) !important;
    color: var(--text_color2);
    border-color: var(--bg_color2) !important;
}

#menu-btn span.icon-bar {
    background: var(--bg_color);
}

#nav_menu_heading {
    padding-top: 10px;
}

@media (max-width: 575px) {
    #header_school_name {
        margin-top: 0px !important;
        margin-bottom: 10px;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    #copyright_section div.copyright_content {
        text-align: center;
    }
    
    #copyright_section div.social_media_icons,
    #top_header_section div.social_media_icons {
        justify-content: center;
        margin-top: 12px;
    }
    
    #footer_section div.container_wrapper {
        margin-bottom: 20px;
    }
    
    #top_header_section div.img_wrapper {
        text-align: center;
    }
    
    #top_header_section #header_contact_container {
        text-align: center;
        margin-top: 0 !important;
    }
    
    #nav_section #respMenu {
        max-height: 400px;
        overflow-y: scroll;
    }
}

@media (max-width: 991px) {
    #about_us_section div.img_wrapper {
        margin-bottom: 25px !important;
        text-align: center;
    }
}

@media (min-width: 992px) {
    #about_us_section div.img_wrapper {
        width: fit-content;
    }
    
    #about_us_section div.img_wrapper::before {
        width: 50%;
        height: 3px;
        content: '';
        position: absolute;
        top: -4px;
        left: 0;
        display: block;
        z-index: 2;
        background: var(--bg_color);
    }
    
    #about_us_section div.img_wrapper::after {
        width: 50%;
        height: 3px;
        content: '';
        position: absolute;
        bottom: -4px;
        right: 0;
        display: block;
        z-index: 2;
        background: var(--bg_color);
    }
}

@media (min-width: 1200px) {
    .container-md {
        max-width: 1200px !important;
    }
}