/* BOOTSTRAP CLASSES */
.container,.container-fluid{margin-right:auto;margin-left:auto;width:100%;padding-right:15px;padding-left:15px}*,::after,::before{box-sizing:border-box}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}.row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{position:relative;width:100%;min-height:1px;padding-right:15px;padding-left:15px}.col{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.p-0{padding:0!important}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media (min-width:576px){.col-sm{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-sm-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-sm-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-sm-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-sm-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-sm-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-sm-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-sm-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-sm-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-sm-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-sm-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-sm-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-sm-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.col-md{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-md-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-md-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-md-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-md-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-md-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-md-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-md-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-md-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-md-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-md-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-md-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-md-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-md-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.col-lg{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-lg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-lg-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-lg-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-lg-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-lg-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-lg-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-lg-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-lg-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-lg-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-lg-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-lg-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-lg-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-lg-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.col-xl{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-xl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-xl-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-xl-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-xl-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xl-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-xl-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-xl-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xl-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-xl-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-xl-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-xl-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-xl-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-xl-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}

/* OVERRIDE */
/* --- bootstrap ---*/
.container {
    max-width: 960px;
}

/* --- parent theme ---*/
#page {
	max-width: 960px;
}
#page.homepage {
    padding-top: 0;
    max-width: 100%;
}

#move-to-top {
    display: flex;
    align-items: center;
    bottom: 0;
    font-size: 2rem;
    border-radius: 0.3rem;
    background-color: rgba(0,0,0,0.3);
    height: 50px;
    width: 50px;
    margin: 15px 0;
    justify-content: center;
    padding: 0;
}

/*--- header ---*/
#header {
    float: inherit;
    margin-bottom: 20px;
    background: #cdad7e;
}
.main-header {
    position: relative;
    float: inherit;
    /* background: rgba(0, 0, 1, 0.7); */
}
.main-header .container {
    background: none;
}
.regular_header #secondary-navigation {
    float: inherit;
    transition: all .3s ease-in-out;
}
#secondary-navigation {
    display: flex;
    width: 42px!important;
    border-radius: 5px;
    padding: 10px;
    background-color: #003366
}
#secondary-navigation a.header-logo__link {
    padding: 0;
}

/*--- other pages ---*/
.article {
    width: 100%;
    max-width: 960px;
    margin:0px auto;
    box-shadow: 0px 0px 0px;
    padding:15px;
    box-sizing: border-box;
}

@media (min-width: 865px) {


    /*--- header ---*/
    .header-top {
        background: #cdad7e;
    }
    #header {
        margin-bottom: 0;
    }
    /* .main-header {
        box-shadow: 0 0 7px rgba(0,0,0,.1);
    } */

    /*--- navigation ---*/
    .navigation #menu-main-menu {
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    #secondary-navigation {
        width: 100%!important;
        border-radius: 0;
        padding: 0;
    }

    #secondary-navigation .navigation ul .current-menu-item a {
        color: #fff!important;
        background-color: #845941!important;
    }
    #secondary-navigation .navigation ul li:hover>a {
        background-color: transparent;
        color: #fff!important;
    }
    #secondary-navigation .navigation>ul>li:hover>a {
        background-color: #845941;
    }
    #secondary-navigation .navigation ul li a {
        height: auto;
        display: flex;
        align-items: center;
        margin: 7px 0;
        line-height: 14px;
        padding: 7px 18px;
        background-color: transparent;
        border-radius: 4px;
        transition: all .3s ease;
    }
    #secondary-navigation .navigation ul ul {
        width: auto;
        min-width: 12rem;
        background: #eee;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(0, 0, 0, 0.2);
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#ccc));
        background-image: -webkit-linear-gradient(top, #fff, #ccc);
        background-image: -o-linear-gradient(top, #fff, #ccc);
        background-image: linear-gradient(to bottom, #fff, #ccc);
        background-repeat: repeat-x;
        border-radius: 5px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    #secondary-navigation .navigation ul ul::before,
    #secondary-navigation .navigation ul ul::after {
        content: '';
        position: absolute;
        display: inline-block;
    }
    #secondary-navigation .navigation ul ul::before {
        top: -7px;
        left: 9px;
        border-right: 7px solid transparent;
        border-bottom: 7px solid #ccc;
        border-left: 7px solid transparent;
        border-bottom-color: rgba(0, 0, 0, 0.2);
    }
    #secondary-navigation .navigation ul ul::after {
        top: -6px;
        left: 10px;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #fff;
        border-left: 6px solid transparent;
    }
    #secondary-navigation .navigation ul ul li {
        background: transparent;
        width: 100%!important;
        padding: 5px 10px;
    }
    #secondary-navigation .navigation ul ul a {
        height: auto;
        width: 100%!important;
        padding: 10px 20px 10px 14px!important;
        color: #003366!important;
        border: none;
        font-size: 14px;
    }
    #secondary-navigation .navigation ul ul li:hover a {
        color: #003366!important;
    }
    #secondary-navigation .navigation > ul > .menu-item-has-children > a {
        padding-right: 12px;
    }
    #secondary-navigation .menu-item-has-children > a:after {
        display: none;
    }

}

@media screen and (max-width: 865px) {

    a#pull {
        position: relative;
        margin: 0;
        padding: 0!important;
        height: 22px;
        width: 20px;
        background: transparent;
        border: 0;
        line-height: 1;
    }

    a#pull::after {
        color: #fff;
        top: auto;
        left: 0;
        display: flex;
        font-size: 22px;
        font-weight: 400;
    }
    div#secondary-navigation {
        width: 100% !important;
        border-radius: 0px;
    }

    a#pull {
        width: 100% !important;
        display: block;
        padding: 0px !important;
        border-radius: 0px !important;
    }

    a#pull::after {
        top: 50% !important;
        transform: translateY(-50%);
    }

    div#header .col-12 {
        padding: 0px !important;
    }
    .ca-info {
        position: relative;
        padding: 10px 0px 30px;
    }
}

@media screen and (max-width: 480px) {
    #secondary-navigation {
        height: auto;
    }
}

/*--- footer ---*/
footer {
    margin-top: 0;
}

footer .container {
    width: initial;
    padding-right: 15px;
    padding-left: 15px;
}

/* MAIN-STYLES */
.ca-btn {
    color: #fff;
    text-align: center;
    font-size: 20px;
    padding: 15px 10px;
    display: inline-block;
    text-transform: uppercase;
    border-radius: 5px;
    min-width: 150px;
    width: 100%;
}
.ca-btn_primary {
    background-color: #003366;
}
.ca-btn_second {
    background-color: #003366;
    color: #fff;
}
/* hover */
.ca-btn_primary:hover {
    color: #fff;
    background-color: #b1e1fa;
}
.ca-btn_second:hover {
    background-color: #b1e1fa;
    color: #fff;
}







/* HEADER */
.top-head {
    margin-bottom: 20px;
}
.top-head__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.top-head__logo {
    max-width: 175px;
}
/*.top-head__container_info {
    display: none;
}*/
.top-head__container_btns {
    display: flex;
    align-items: center;
    justify-content: center;
}
.top-head__container_btns .ca-btn:first-child {
    margin-right: 10px;
}

@media (min-width: 865px) {
    .top-head__inner {
        justify-content: center;
    }
    .top-head__title {
        margin-bottom: 0;
        font-size: 50px;
		font-weight: bold;
		font-family: Tahoma, arial, sans-serif !important;
    }
    .top-head__subtitle {
        margin-bottom: 0;
        font-style: italic;
        color: #845941;
    }
    .top-head__subtitle span {
        font-style: normal;
        font-size: 28px;
        font-weight: 700;
        color: #003366;
    }
    .top-head__inner {
        flex-direction: row;
    }
    .top-head__container_info {
        display: flex;
        flex-direction: column;
        margin-left: 30px;
    }
}


/* MAIN SLIDER */
.main-slider {
    display: none;
    position: relative;
    width: 100%;
    height: auto;
    max-width: 930px;
    margin-left: auto;
    margin-right: auto;
}
.main-slider__item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.main-slider__background {
    position: relative;
    padding: 150px;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.main-slider__content {
    padding: 20px 0;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: flex-end;
    text-align: center;
    background-color: #82efee;
    color: #fff;
}
.main-slider__title {
    margin-bottom: 0;
    margin-left: 15px;
    font-size: 34px;
    color: #fff;
    width: 100%;
    margin: 0px;
    text-align: center;
}
.main-slider__link {
    position: absolute;
    width: 100%;
    height: 100%;
}

@media (min-width: 865px) {
	
    .main-slider {
        display: block;
        height: 350px;
    }
    .main-slider__background {
        position: absolute;
        padding: 0;
    }
    .main-slider__container {
        margin-top: auto;
        position: relative;
    }
    .main-slider__content {
        text-align: left;
        background-color: transparent;
    }
    .main-slider__content .col-lg-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}



/* CA-INFO */
.ca-info {
    position: relative;
    padding: 60px 0 40px;
}
.ca-info__group {
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 350px;
}
.ca-info__group > * {
    margin-bottom: 0;
}
.ca-info__text_phone .fa {
    font-size: 24px;
    margin-right: 5px;
    color: #ddcbc6;
}
.ca-info__group h2 { font-size: 44px; }
.ca-info__group p, .ca-info__group li { font-size: 22px; line-height: 32px; }

/* ca-info-2 */
.ca-info-2 {
    padding: 0 0 60px;
}
.ca-info__group_btn {
    text-align: center;
}
.ca-info__group_btn a {
    display: flex;
    flex-direction: column;
    height: 83px;
    position: relative;
    top: 2px;
    align-items: center;
    justify-content: center;
}
.ca-info__img {
    max-width: 300px;
}

@media (min-width: 865px) {
    .ca-info__group_btn {
        margin-bottom: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

footer * {
    color: #fff !important;
}
/* MAIN-FOOTER */
.main-footer {
    padding: 30px 0;
}
.main-footer a:hover {
    text-decoration: underline;
}
.main-footer__menu {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.main-footer__menu-link {
    margin: 0 7px;
    padding: 5px;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
}
.main-footer__menu-link:hover {
    color: #fff;
}
.main-footer__copyr {
    text-align: center;
}

@media screen and (max-width: 865px) {
	.top-head__inner {
		display: block; 
		margin-bottom: 20px;
	}
	.top-head__container_logo { float: left; }
	.top-head__logo {
    	max-width: 90px;
	}
	h1.top-head__title { font-size: 20px; }
	h4.top-head__subtitle { font-size: 14px; }
	h4.top-head__subtitle span { display: none;}
	.ca-info { padding: 0; }
	.ca-info .col-12 { 
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	.ca-info__group h2 {
    	font-size: 24px;
	}
	.ca-info__group p, .ca-info__group li {
    	font-size: 12px;
    	line-height: 20px;
	}
	.ca-info__group_btn a { height: auto; font-size: 12px; display: block; }
	.ca-info__img {
	    max-width: 100%;
	}
	.main-slider { display: block; max-width: 100%; margin-bottom: 30px; }
	.main-slider__item { display: block; }
	.main-slider__background { height: 200px; padding: 0px; }
	.main-slider__content { background: none; display: block; }
	.main-slider__link { top: 120px; }
	.main-slider__title { font-size: 24px; }
}