@import "lib.css" screen;

.none{
    display: none;
}
html, body, main{
    min-height: 100%;
}
.content{
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.container, .hide-content{
    flex: 1;
}

/*aside*/

aside{
    z-index: 1;
    background-image: url(../images/qn2.png);
    background-position: 0px 0px;
    background-size: 125px;
    box-shadow: -1px 0 3px 0 #000;
}
.logo_link{
    display: block;
    margin-top: 10vh;
    margin-bottom: 7vh;
}
.brand-text {
    display: block;
    margin-top: 0vh;
    margin-bottom: 1vh;
    color: #fff;
    font-size: 26px;
    line-height: 1.4em;
    font-weight: 400;
    letter-spacing: 1px;
    transition: .3s;
    padding: 1vh 10px 1vh 10px;
    text-align: center;
    cursor: pointer;
}
.brand-text:hover{
    text-decoration: underline;
}
.menu_btn{
    width: 100%;
    display: block;
    padding: 2vh 10px 2vh 10px;
    font-size: 18px;
    text-transform: uppercase;
    transition: .2s;
    color: #fff;
    letter-spacing: 1px;
    text-align: center;
}
.menu_btn:hover{
    background-color: #fb9a00;
    color: #000;
}
.text-block-200 {
    margin-bottom: 1%;
    font-size: 18px;
    line-height: 1.4em;
    text-align: left;
}
.aside_template{
    padding-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
[src="images/asidelogo.png"], .temp-a{
    width: 45px;
}
.menu_btn:active {
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.84);
}
@media(max-width: 1300px){
    .menu_btn{font-size: 16px;}
    aside{padding: 0 10px;}
}
@media(max-width: 1025px){
    .menu_btn{font-size: 16px;}
    .brand-text {font-size: 24px;}
}
@media(max-width: 801px){
    .brand-text {
        margin-top: -6px;
        margin-bottom: 0vh;
        padding: 1vh 0px 0vh 0vw;
    }
    .side_win_img{display: block;}
}
@media(max-width: 450px){
    .brand-text {font-size: 20px;}
}

/*header*/

header{
    z-index: 1;
    display: none;
    height: 50px;
    background-image: url(../images/qn2.png);
    background-position: 0px 0px;
    background-size: 125px;
    position: relative;
    perspective: 1100px;
    box-shadow: 1px -1px 2px #fff;
}
.header_nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    background: #49647b;
    top: 12px;
    transition: .4s;
    backface-visibility: hidden;
    transform-origin: center top;
    transform: rotateX(-90deg);
}
.switch{
    position: absolute;
    height: 50px;
    width: 50px;
    right: 0;
    top: 0px;
    cursor: pointer;
    background: url(../images/2menu.png) center center/75% no-repeat;
}
.top{
    transform: rotateX(0deg);
}
.bgr{
    background: url(../images/3menu.png) center center/75% no-repeat;
}
@media(max-width: 1025px){
    aside {width: 25%;}
    main {width: 75%;}
    .new-footer-logo {width: 65px;height: 65px;top: -31px;}
}
@media(max-width: 801px){
    .brand-text {margin-top: -5px;}
    aside{display: none;}
    header{display: block;}
    main{width: 100%;}
    .header_nav {top: 12px;}
}
@media(max-width: 416px){
    .brand-text {margin-top: 0px;position: relative; left: -10px;}
    .header_nav {top: 15px;}
}

/*-----------footer----------*/

.new-footer{
    width: 100%;
}
.first-footer-block{
    height: 100px;
    position: relative;
}
.second-footer-block{
    border-top: 3px solid white;
    background-image: url(../images/qn2.png);
    background-position: 0px 0px;
    background-size: 125px;
    padding: 1%;
}
.inner-first-footer-block{
    height: 50px;
}
.inner-first-footer-block-2{
    height: 50px;
    background-image: url(../images/qn2.png);
    background-position: 0px 0px;
    background-size: 125px;
}
.new-footer-logo{
    position: absolute;
    width: 80px;
    height: 80px;
    right: 20px;
    top: -40px;
}
.inner-second-footer-block{
    flex: 1;
    min-width: 300px;
    padding-left: 10px;
    padding-right: 10px;
}
.inner-second-footer-block-2{
    flex: 1;
    min-width: 300px;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
.new-footer-text, .new-footer-text a{
    font-family: akrobat-regular;
    font-size: 16px;
    color: white;
    line-height: 1.4em;
}
.new-footer-text a{
    text-decoration: underline;
}
.footer-max1200{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.footermax1200_{
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.footer-a-link{
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
    max-width: 80px;
}
.footer-a-link a img{
    width: 100%;
    max-width: 100%;
    transition: .3s;
}
.footermax1200_ a img{transition: .3s;}
.footer-a-link a img:hover, .footermax1200_ a img:hover{
    transform: scale(.95);
}
@media(max-width: 801px){
    .new-footer-logo {width: 56px;height: 56px;top: -24px;}
}
@media(max-width: 612px){
    .inner-second-footer-block{min-width: 100%;margin-bottom: 15px;}
    .new-footer-text, .new-footer-text a {font-size: 16px; text-align: center;}
    .footer-a-link {max-width: 65px;}
}
@media(max-width: 416px){
    .inner-second-footer-block-2 {margin-top: 15px;margin-bottom: 15px;}
    #_1, #_2, #_3, #_4{min-width: 50%;}
    #_1, #_3{border-right: 2px solid white;}
    #_2, #_4{border-left: 2px solid white;}
}
/*-----------end footer----------*/

/*last_form*/

.last_form{
    padding: 3% 3% 5%;
    background-image: url(../images/463.jpg);
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
}
.last_form_img{
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
    min-width: 100px;
    max-width: 160px;
}

.last_form_img img{
    width: 100%;
    max-width: 100px;
    display: flex;
}
.last_form_img.l img{
    justify-content: flex-start;
}
.last_form_img.r img{
    justify-content: flex-end;
}
.last_form_content{
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
    min-width: 300px;
}
.text-block-599 {
    color: #fff;
    font-size: 20px;
    line-height: 1.5em;
    text-align: center;
}
.form_wrapper{
    max-width: 800px;
    min-height: 500px;
    margin-right: auto;
    margin-left: auto;
    align-items: center;
    background-image: url(../images/348.png);
    background-position: 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 2% 4% 0%
}
.inner_form_block{
    min-height: 500px;
    width: 100%;
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom:15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#form{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
textarea {
    min-height: 60px;
    box-shadow: inset 1px 1px 3px 0 rgba(3, 43, 172, 0.63);
    height: auto;
    display: block;
    width: 100%;
    padding: 20px 12px 0px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333333;
    vertical-align: middle;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    overflow: auto;
}
.input_email{
    min-height: 60px;
    box-shadow: inset 1px 1px 3px 0 rgba(3, 43, 172, 0.55);
    display: block;
    width: 100%;
    height: 38px;
    padding: 8px 12px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333333;
    vertical-align: middle;
    background-color: #ffffff;
    border: 1px solid #cccccc;
}
.button{
    width: 100%;
    border-radius: 5px;
    background-color: #c5042d;
    font-size: 24px;
    line-height: 2em;
    letter-spacing: 2px;
    cursor: pointer;
    border: none;
    outline: none;
    display: block;
    padding: 9px 15px;
    color: white;
}
.button:hover{
    background-color: #003e83;
}
.postmess{
    text-align: center;
}
@media(max-width: 1025px){
    .last_form_img {max-width: 100px;}
}
@media(max-width: 700px){
    .text-block-599 {font-size: 17px;}
    .inner_form_block {min-height: 363px;}
    .form_wrapper{margin-top: 20px;background: #fff;border: 1px solid blue;min-height: 390px;}
    .last_form_img img {max-width: 54px;}
}
@media(max-width: 500px){
    .last_form_img{display: none;}
}

#app{
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;}
.text-block-639 {
    margin-bottom: 3%;
    font-size: 34px;
    line-height: 1.4em;
    text-align: center;
}
@media(max-width: 500px){
    .text-block-639 {font-size: 18px;}
}

.more_block{
    padding-top: 5%;
    padding-bottom: 4%;
    background-color: #032bac;
    background-image: url(../images/467.png);
    background-position: 50% 0%;
    background-size: contain;
    min-height: 400px;
    background-repeat: no-repeat;
}
.more_block_img{
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
    min-width: 200px;
    max-width: 400px;
}
.more_block_img img{
    max-width: 100%;
    width: 100%;
}
.more_block_content{
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
    min-width: 300px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.text-block-642 {
    margin-bottom: 4%;
    color: #d3be96;
    font-size: 47px;
    line-height: 1em;
    font-weight: 700;
    text-align: center;
}
.text-block-643 {
    margin-bottom: 4%;
    color: #fff;
    font-size: 25px;
    line-height: 1.4em;
    text-align: center;
}
.bold-text-271 {
    color: #ffae00;
}
.more_block_btn{
    display: block;
    width: 100%;
    max-width: 400px;
    margin-right: auto;
    margin-left: auto;
    border-radius: 50px;
    background-image: linear-gradient(198deg, #790510, #c5042d 55%, #790510);
    color: #fff;
    font-size: 22px;
    line-height: 2em;
    text-align: center;
    text-transform: uppercase;
    padding: 9px 15px;
}
.more_block_btn:hover{
    background-image: linear-gradient(22deg, #790510, #c5042d 55%, #790510);
}
.bold-text-271{font-size: 32px;}
@media(max-width: 1281px){
    .text-block-642 {font-size: 32px;}
    .text-block-643 {font-size: 21px;}
}
@media(max-width: 1025px){
    .more_block_img {max-width: 300px;}
    .text-block-642 {font-size: 28px;}
    .more_block{padding: 3%;}
    .bab_content{padding-bottom: 10px;}
}
@media(max-width: 500px){
    .more_block_img{margin-top: 20px;}
    .bold-text-271{font-size: 24px;}
}

/*horse_header*/

.horse_header{
    padding: 2% 3%;
}
.text-block-388 {
    margin-bottom: 1%;
    font-size: 48px;
    line-height: 1em;
    text-align: center;
    text-transform: uppercase;
}
.div-block-106 {
    width: 100%;
    height: 3px;
    max-width: 450px;
    margin-right: auto;
    margin-bottom: 1%;
    margin-left: auto;
    background-color: #fb9a00;
}
.h36 {
    font-size: 32px;
}
@media(max-width: 700px){
    .text-block-388 {font-size: 30px;}
    .h36 {font-size: 22px;}
}
@media(max-width: 500px){
    .text-block-388 {font-size: 25px;}
    .h36 {font-size: 16px;}
}


/*horse*/

.horse{
    padding: 3%;
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(252, 125, 100, 0.83)), to(rgba(252, 125, 100, 0.83))), url(../images/huj.png), -webkit-gradient(linear, left top, left bottom, from(#fc7d64), to(#fc7d64));
    background-image: -o-linear-gradient(top, rgba(252, 125, 100, 0.83), rgba(252, 125, 100, 0.83)), url(../images/huj.png), -o-linear-gradient(top, #fc7d64, #fc7d64);
    background-image: linear-gradient(180deg, rgba(252, 125, 100, 0.83), rgba(252, 125, 100, 0.83)), url(../images/huj.png), linear-gradient(180deg, #fc7d64, #fc7d64);
    background-position: 0px 0px, 50% 50%, 0px 0px;
    background-size: auto, 150px, auto;
    background-repeat: repeat, repeat, repeat;
    background-attachment: scroll, fixed, scroll;
}
.max480{
    width: 100%;
    max-width: 480px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    border: 5px solid #fff;
    border-radius: 25px;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f0c877), to(#fff));background-image: -o-linear-gradient(top, #f0c877, #fff);background-image: linear-gradient(180deg, #f0c877, #fff);
    box-shadow: 1px 1px 18px 0 #000;
}
.listwhite {
    color: #9d0f1c;
    font-size: 25px;
}
.text-spisok {
    padding-bottom: .5%;
    color: rgba(9, 8, 8, 0.88);
    font-size: 20px;
    line-height: 1.5em;
    font-style: normal;
    font-weight: 400;
    text-decoration: none;
}
@media(max-width: 500px){
    .text-spisok {font-size: 17px;}
    .text-spisok br{display: none;}
}

/*block*/

.block{
    padding: 2%;
}
.text-block-388.zagolovok {
    margin-bottom: 2%;
    padding-top: 2%;
    color: rgba(166, 5, 5, 0.88);
    font-size: 40px;
    text-align: center;
}
.block_img{
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
    min-width: 200px;
    max-width: 320px;
}
.block_img img{
    max-width: 70%;
}
.block_content{
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
    min-width: 300px;
}
.text-block-604 {
    padding-bottom: 0%;
    font-size: 20px;
    line-height: 1.5em;
    font-weight: 400;
}
.underline {
    text-decoration: underline;
}
.spisok {
    padding-top: 2%;
    color: #0a3b5c;
    font-size: 20px;
    font-weight: 700;
}
.sp{padding-bottom: 2%;}
.spisok.redspisok {
    color: #e80c0c;
}
.strell5{
    display: block;
    margin-right: auto;
    margin-left: auto;
    width: 100px;
}


@media(max-width: 1025px){
    .text-block-604 br:not(.br){display: none;}
    .block_img img{display: block;
                   margin-right: auto;
                   margin-left: auto;}
}
@media(max-width: 700px){
    .text-block-388.zagolovok {font-size: 32px;}
    .text-block-604 {font-size: 17px;}
    .text-spisok {font-size: 17px;}
    .strell5 {width: 70px;}
}
@media(max-width: 500px){
    .block_img{margin-top: 10px;
               margin-bottom: 10px;}
    #b2{display: none;}
}


/*-------------video_block-------------*/

.video_block{
    position: relative;
    z-index: 0;
    padding: 2% 2% 1%;
}
.video_wrapper{
    width: 100%;
    max-width: 720px;
    margin-right: auto;
    margin-bottom: 2%;
    margin-left: auto;
}
.thumb-wrap {
    border-style: solid;
    border-width: 20px;
    border-color: #8e8e9c #676770 #676770;
    border-radius: 20px;
    box-shadow: 1px 1px 3px 0 #000;
    position: relative;
    padding-bottom: 53.25%;
    height: 0;
    overflow: hidden;
}
.thumb-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.btn-block{
    margin-top: 20px;
}


/*bab*/

.bab{
    padding: 2% 5% 0%;
}
.bab_content{
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
    min-width: 300px;
    margin-bottom: 10px;
    border-radius: 25px;
    background-color: rgba(236, 240, 241, 0.76);
    box-shadow: 1px 0 10px -1px #504747;
}
.bab_img{
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
    min-width: 200px;
    max-width: 500px;
}
.bab_img img{
    max-width: 100%;
    width: 100%;
}
.text-block-605 {
    padding: 5%;
    line-height: 1.5em;
    font-size: 17px;
}
.babo{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 300px;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 10px;
}
.babo img{
    max-width: 95px;
}
.list45 {
    color: #af4173;
    font-size: 25px;
}
.text-list {
    /*padding-bottom: 1%;*/
    color: #050505;
    font-size: 18px;
    text-align: left;
}
.bab_img {
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
    min-width: 200px;
    max-width: 350px;
    margin-bottom: 30px;
}
@media(max-width: 1380px){
    .bab_img {max-width: 47%;}
}
@media(max-width: 1281px){
    .bab_img {max-width: 44%;}
}
@media(max-width: 1025px){
    .bab_img {max-width: 300px;}
    .text-block-605 br:not(.br){display: none;}
}
@media(max-width: 500px){
    .thumb-wrap {
        border-width: 10px;
        border-radius: 10px;}
}





















