﻿/* STYLE GUIDE */
/* 
    Dark Blue - #2A3673
    Light Blue - #DAEAF4
    Ocean-y Blue - #6685C7
    Purple-y Blue - #4F4CB4
    Dark Grey - #464646
    Light Grey - #B7B7B7

*/

@font-face {
    font-family: 'IcoMoon';
    src: url('fonts/icomoon.ttf') format('truetype');
}
body {
    font-family: Candara;
    font-size: 16px;
}
a {
    text-decoration: none;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}
a:hover {
    text-decoration: none;
    color: #6685C7;
}
h1, h2, h3 {
    color: #2A3673;
    font-weight: bold;
}
h1 {
    font-size: 2.5em;
}
h2 {
    font-size: 2em;
}
h3 {
    font-size: 1.5em;
}
h4 {
    font-size: 1.25em;
}
h5 {
    font-size: 1.1em;
}
h4, h5 {
    color: #2A3673;
}

a.document-link, a.web-link {
    padding: 10px 20px;
    margin: 5px;
    background-color: #6685C7;
    color: #fff;
    display: block;
    font-size: 1.2em;
    position: relative;
    -webkit-transition: all 0.3s cubic-bezier(0.39, 0.58, 0.57, 1);
    -moz-transition: all 0.3s cubic-bezier(0.39, 0.58, 0.57, 1);
    -ms-transition: all 0.3s cubic-bezier(0.39, 0.58, 0.57, 1);
    -o-transition: all 0.3s cubic-bezier(0.39, 0.58, 0.57, 1);
    transition: all 0.3s cubic-bezier(0.39, 0.58, 0.57, 1);
}

a.document-link:after, a.web-link:after {
    font-family: 'IcoMoon';
    font-size: 19px;
    color: #fff;
    display: block;
    height: calc(100%);
    right: -1px;
    background-position: center;
    position: absolute;
    top: 0;
    width: 47px;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: all 0.3s cubic-bezier(0.39, 0.58, 0.57, 1);
    -moz-transition: all 0.3s cubic-bezier(0.39, 0.58, 0.57, 1);
    -ms-transition: all 0.3s cubic-bezier(0.39, 0.58, 0.57, 1);
    -o-transition: all 0.3s cubic-bezier(0.39, 0.58, 0.57, 1);
    transition: all 0.3s cubic-bezier(0.39, 0.58, 0.57, 1);
}

a.document-link:after {
    content: "\ea36";
}

a.web-link:after {
    content: "\e9cb";
}


a.document-link:hover, a.web-link:hover {
    background-color: #AAC8DF;
}

a.document-link:hover:after {

}

.float-left, .float_left {
    display: inline-block;
    float: left;
    margin: 5px;
}
.float-right, .float_right {
    display: inline-block;
    float: right;
    margin: 5px;
}

/* HEADER */

.header {
    padding: 5px 25px 0px;
    width: 100%;
    position: relative;
    display: block;
    background-image: url('../ckfinder/userfiles/images/core/bg-gradient.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.header .upper-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.header .logo {
    display: inline-flex;
    align-items: center;
}

.header .logo img {
    margin-right: 25px;
    max-width: 60%;
}

.header .school-name {
    font-family: Garamond;
    font-weight: bold;
    color: #2A3673;
    text-decoration: none;
    font-size: 2.5em;
    text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

.header .contacts {
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: right;
}

.header .contacts-icons {
    display: flex;
    justify-content: flex-end;
}
.header .contacts-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
}
    .header .contacts img {
        filter: unset;
        margin: 10px;
        max-height: 25px;
        transition: 0.5s all ease-in-out;
        -webkit-transition: 0.5s all ease-in-out;
        -o-transition: 0.5s all ease-in-out;
        -moz-transition: 0.5s all ease-in-out;
    }

.header .contacts a:hover img {
    filter: brightness(0) invert(1);
}

.header .search {
    cursor: pointer;
}

.header nav {
    display: block;
}

.header nav ul.rmRootGroup {
    list-style: none;
    display: flex;
    justify-content: end;
    margin-bottom: 0;
}

    .header nav ul.rmRootGroup > li {
        display: inline-block;
        position: relative;
        /*margin: 0 5px;*/
        border: 1px solid #4f4cb4;
        border-top: none;
        border-bottom: none;
/*        border-top-left-radius: 15px;
        border-top-right-radius: 15px;*/
        background-color: #6685c7;
        -webkit-transition: all .5s ease;
        -moz-transition: all .5s ease;
        -o-transition: all .5s ease;
        transition: all .5s ease;
    }

.header nav ul.rmRootGroup > li > a {
    color: #fff;
    font-size: 1.1em;
    padding: 10px;
    display: block;
}
/*.header nav ul.rmRootGroup > li:nth-child(11) {
    background-color: #2D2D2D;
}
.header nav ul.rmRootGroup > li:nth-child(10) {
    background-color: #474747;
}

.header nav ul.rmRootGroup > li:nth-child(9) {
    background-color: #535353;
}
.header nav ul.rmRootGroup > li:nth-child(8) {
    background-color: #606060;
}
.header nav ul.rmRootGroup > li:nth-child(7) {
    background-color: #6C6C6C;
}
.header nav ul.rmRootGroup > li:nth-child(6) {
    background-color: #797979;
}
.header nav ul.rmRootGroup > li:nth-child(5) {
    background-color: #868686;
}
.header nav ul.rmRootGroup > li:nth-child(4) {
    background-color: #939393;
}
.header nav ul.rmRootGroup > li:nth-child(3) {
    background-color: #9F9F9F;
}
.header nav ul.rmRootGroup > li:nth-child(2) {
    background-color: #ACACAC;
}
.header nav ul.rmRootGroup > li:nth-child(1) {
    background-color: #B9B9B9;
}*/

.header nav ul.rmRootGroup li:hover,
.header nav ul.rmRootGroup li.selectedPagePath,
.header nav ul.rmRootGroup li.selectedPage {
    background-color: #4f4cb4;
}


.header nav li > .rmSlide {
    min-width: 100%;
    position: absolute;
    top: 100%;
    right: 0;
    padding: 0;
    background-color: #6685C7;
    z-index: 9;
    pointer-events: none;
    opacity: 0;

/*    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;*/

    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}


.header nav li:hover > .rmSlide {
    opacity: 1;
    pointer-events: all;
}

.header nav li > .rmSlide ul{
    list-style: none;
    padding: 0;
}

.header nav li > .rmSlide a {
    color: #fff;
    font-size: 1.1em;
    white-space: nowrap;
    padding: 10px;
    display: inline-block;
    width: 100%;
}

.header nav li > .rmSlide li.level2 {
    /*border-radius: 10px;*/
    position: relative;

    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}
.header nav li > .rmSlide li.level2:hover {
    background-color: #4F4CB4;
}

.header nav li > .rmSlide li.level2 > .rmSlide {
    /*border-radius: 10px;*/
    left: 100%;
    top: 0;
}

.header nav li:last-child > .rmSlide li.level2 > .rmSlide {
    /*border-radius: 10px;*/
    left: unset;
    right: 100%;
    top: 0;
}


.header nav li > .rmSlide .rmSlide a {
    /*border-radius: 10px;*/
    position: relative;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.header nav li > .rmSlide .rmSlide a:hover {
    background-color: #4F4CB4;
}

.header .search {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.header #search-icon {
    background: url(/ckfinder/userfiles/images/core/search.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;

    height: 25px;
    width: 25px;
}

.header #search-icon.active {
    background-image: url('/ckfinder/userfiles/images/core/close.png');
}

.header .search-bar {
    position: absolute;
    right: 101%;
    top: 0;
    height: 100%;
    display: flex;
    align-content: center;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    max-width: 0px;


    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.header .search-bar.active {
    max-width: 999px;
}

.header .search-bar input {
    display: inline-block;
}

.header .search-area {
    display: flex;
    align-items: center;
}


.home-banner-tabs {
    position: absolute;
    right: 25px;
    bottom: 0;
    z-index: 4;
    display: flex;
    align-items: stretch;
}

.home-banner-tabs .tab {
    display: inline-block;
    margin: 0 15px;
    background-color: #4F4CB4;
/*    border-top-right-radius: 15px;
    border-top-left-radius: 15px;*/
    position: relative;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.home-banner-tabs .tab:hover {
    background-color: #6685C7;
}

.home-banner-tabs .tab a {
    color: #fff;
    padding: 10px 20px;
    font-size: 1.2em;
    display: block;
}

footer {
    background-color: #AAC8DF;
    color: #fff;
}

footer a {
    color: #fff;
}

footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 25px 10px;

}

footer .footer-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

footer .footer-content img {
    padding: 5px 15px;
}

footer .footer-image {
    display: flex;
    align-items: center;
    padding: 0 25px;
}

footer .footer-socials {
    display: flex;
    align-content: end;
    flex-wrap: wrap;
    justify-content: center;
}

footer .footer-socials img {
    filter: brightness(0) invert(1);
    margin: 0 5px;

    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    max-width: 25px;
}

footer .footer-socials img:hover {
    filter: unset;
}

footer .footer-logos {
    display: flex;
    /*flex-wrap: wrap;*/
    justify-content: space-between;
    align-items: center;
}

footer .footer-logos div {
    flex: 1 1 0px;
    padding: 2px;
}
footer .footer-logos img {
    max-width: 100%;
}

footer .footer-strip {
    background-color:#6685C7;
    padding: 5px 5px;
    width: 100%;
    font-size: 0.8em;
    color: #fff;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .footer-strip a {
    color: #fff;
}
footer .footer-strip a:hover {
    color: #2A3673;
}

footer .footer-strip ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer .footer-strip ul li {
    display: inline-block;
}

.footer-strip > :nth-child(2) {
    text-align: center;
}

.footer-strip > :nth-child(3) {
    text-align: right;
}


table th,
table td {
    padding: 10px;
}

/*MOBILE BURGER BUTTON STYLE*/

#nav-icon3 {
    height: 40px;
    width: 40px;
    position: absolute;
    right: 23px;
    top: 35px;
    z-index: 150;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    display: none;
    border-radius: 15px;
    border: 2px solid #2A3673;
}

#nav-icon3.open {
    background: #fff;
}

#nav-icon3 span {
    display: block;
    position: absolute;
    height: 2px;
    width: 56%;
    background: #2A3673;
    border-radius: 10px;
    opacity: 1;
    left: 50%;
    -webkit-transform: rotate(0deg) translateX(-50%);
    transform: rotate(0deg) translateX(-50%);
    transition: .25s ease-in-out;
}

#nav-icon3 span:nth-child(1) {
    top: 12px;
}

#nav-icon3 span:nth-child(2),
#nav-icon3 span:nth-child(3) {
    top: 18px;
}

#nav-icon3 span:nth-child(4) {
    top: 24px;
}

#nav-icon3.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}

#nav-icon3.open {
    position: fixed;
}

#nav-icon3.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    left: 8px;
    background: #7A2136;
}

#nav-icon3.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    left: 8px;
    background: #7A2136;
}

#nav-icon3.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.banner {
    max-height: 40vh;
    overflow: hidden;
    position: relative;
    display: block;
    margin-bottom: 25px;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section-menu {
    background-color: #6685C7;
    margin-top: 25px;
    padding: 10px;
    border-radius: 15px;
}

.section-menu .section-menu-title {
    color: #fff;
    padding-left: 25px;
}

.section-menu ul {
    list-style: none;
    margin: 0px;
}

.section-menu a {
    color: #fff;
    font-size: 1.4em;
}

.section-menu li.selectedPage a {
    color: #2A3673;
}

.section-menu li:hover a {
    color: #2A3673;
}

.content {
    padding: 0 50px 50px 50px;
}

.sws-float-left {
    float: left;
    margin: 5px;
}
.sws-float-right {
    float: right;
    margin: 5px;
}

.sitemap ul {
    list-style: none;
}
.sitemap ul li.level1 > a {
    font-size: 1.5em;
    padding: 10px;
}
.sitemap ul li.level2 > a {
    font-size: 1.3em;
}


#home p {
    margin-bottom: 0;
}

@media only screen and (max-width: 991px) {
    #nav-icon3 {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        left: -150%;
        height: 100vh;
        width: 100vw;
        z-index: 99;
        background-color: #6685C7;

        -webkit-transition: all .5s ease;
        -moz-transition: all .5s ease;
        -o-transition: all .5s ease;
        transition: all .5s ease;
        overflow-y:scroll;
    }

    nav.active {
        left: 0;
    }

    .header nav ul.rmRootGroup {
        flex-direction: column;
        justify-content: start;
        padding-top: 100px;
        padding-left: 0;
    }
    .header nav ul.rmRootGroup > li {
        margin: 10px 15px 10px 15px;
        border-radius: 15px;
    }

        .header nav ul.rmRootGroup > li.hasChildren > a:after {
            content: ">";
            position:absolute;
            right:10px;
                
        }

    /*.header nav li.haschildren > .rmSlide:before
    {
        content: "+";
    }*/
    .header nav li > .rmSlide {
        position: relative;
        top: unset;
        right: unset;
        pointer-events: all;
        padding: 0px;
        max-height: 0px;
        width: 100%;
        background: none !important;
        z-index: auto;
    }

    .header nav li > .rmSlide ul {
        padding: 10px;
    }
    .header nav li:hover > .rmSlide,
    .header nav li:focus > .rmSlide,
    .header nav li:active > .rmSlide
    {
        max-height: 9999px;
    }

    .header nav li > .rmSlide li.level2 > .rmSlide {
        left: unset;
        right: unset;
        top: unset;
        pointer-events: none;
    }

    .header nav li > .rmSlide li.level2:hover > .rmSlide,
    .header nav li > .rmSlide li.level2:active > .rmSlide,
    .header nav li > .rmSlide li.level2:focus > .rmSlide {
        pointer-events: all;
    }

    .header #search-icon {
        display: none;
    }

    .header .contacts h5 {
        text-align: left;
    }

    div.home-banner-tabs {
        display: none;
    }
    div.home-banner-captions .caption {
        text-align: center;
    }

    div.home-banner-dots {
        justify-content: end;
        bottom: unset;
        top: 15px;
    }

    div.logo img {
        margin: auto !important;
        display: block;
    }
    div.logo {
        display: block !important;
        text-align: center;
    }

    div.header .contacts {
        justify-content: space-between;
        flex-direction: row;
    }

    footer .footer-content {
        display: flex;
        flex-direction: column-reverse;

    }

    footer .footer-content > div {
        margin: 15px 0;
    }

    footer .footer-contact {
        justify-content: space-between;
    }

    footer .footer-address {
        text-align: center;
        width: 100%;
    }

    footer .footer-image {
        justify-content: center;
        width: 100%;
        padding: 10px 25px;
    }

    footer .footer-strip {
        display: flex;
        flex-direction: column-reverse;
        align-content: center;
        justify-content: center;
    }

    footer .footer-strip > * {
        text-align: center !important;
        margin: 10px 0;
    }

    footer .footer-logos {
        flex-grow: 6;
        flex-basis: 50%;
    }
}