
@font-face {
    font-family: 'Roboto'; /* Имя шрифта */
    src: url('../font/Roboto-Regular.ttf'); /* Путь к файлу со шрифтом */
}
@font-face {
    font-family: 'Roboto-Thin'; /* Имя шрифта */
    src: url('../font/Roboto-Thin.ttf'); /* Путь к файлу со шрифтом */
}
@font-face {
    font-family: 'Roboto-Light'; /* Имя шрифта */
    src: url('../font/Roboto-Light.ttf'); /* Путь к файлу со шрифтом */
}
@font-face {
    font-family: 'Roboto-Bold'; /* Имя шрифта */
    src: url('../font/Roboto-Bold.ttf'); /* Путь к файлу со шрифтом */
}
@font-face {
    font-family: 'palatino'; /* Имя шрифта */
    src: url('../font/palatino.ttf'); /* Путь к файлу со шрифтом */
}
@font-face {
    font-family: 'Raleway-Bold'; /* Имя шрифта */
    src: url('../font/Raleway-Bold.ttf'); /* Путь к файлу со шрифтом */
}
@font-face {
    font-family: 'Raleway-Black'; /* Имя шрифта */
    src: url('../font/Raleway-Black.ttf'); /* Путь к файлу со шрифтом */
}
@font-face {
    font-family: 'Raleway-Light'; /* Имя шрифта */
    src: url('../font/Raleway-Light.ttf'); /* Путь к файлу со шрифтом */
}
@font-face {
    font-family: 'RalewayLightItalic'; /* Имя шрифта */
    src: url('../font/Raleway-Light-Italic.ttf'); /* Путь к файлу со шрифтом */
}
@font-face {
    font-family: 'Raleway'; /* Имя шрифта */
    src: url('../font/Raleway-Regular.ttf'); /* Путь к файлу со шрифтом */
}



.sidebar-menu hr{
    margin-bottom: 0;
    margin-top: 0;
}

/*
body{
    font-family: Roboto-Thin;
    font-size: 16px;
    background: #f9f4f4;
}
h1, h2, h3{
    text-align: center;
    font-weight: 600;
    font-family: LUGANSK;
}
h3{
    font-size: 2em;
}
*/
section[class ^= box-] {
    width:100%;
    padding-top:15px;
    padding-bottom:15px;
}
/*
form input{
    border-radius: 3px;
    margin-right: 20px;
    height: 40px;
    min-height: 32px;
    max-width: 480px;
    width: 340px;
    display: table-cell;
    vertical-align: baseline;
    padding: 13px 30px;
    font-size: 16px;
    color: #555555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
form .btn-warning{
    color: #fff;
    background-color: #f59b29;
    border-color: #f49011;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-box-shadow: 0 -5px 0px 0 rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0 -5px 0px 0 rgba(0, 0, 0, 0.1) inset;
    padding: 10px 30px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 900;
    text-align: center;
    width: 170px;
}
*/



/* основная страница */
.box-1{
    background: url("/images/head_bg1.png") no-repeat;
    background-position: center;
    background-size: cover;
    color: #ffffff;
    text-align: center;
    font-weight: 700;
    font-size: 1.1em;
    height: 700px;
}
.box-1 p{
    text-align: right;
}
.box-1 .reg_button_block{
    position: relative;
}
.box-1 .reg_button_block p{
    display: inline-block;
    width: 60%;
}
.box-1 .reg_button_block button{
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 0;
}
.box-1 .head_right{
    background: rgba(250,250,250,0.5);
    padding: 30px;
}
.box-1 .head_right button{
    width: 270px;
    font-size: 1.2em;
}

.box-2{
    background: url("/images/bg01.jpg") no-repeat;
    background-position: left;
    color: #000000;
}
.box-2 .text_block{
    padding: 25px;
}
.box-2 .container{
    background: #ffffff;
    margin-top: -50px;
    box-shadow: 0 0 9px rgba(0,0,0,0.5);
}
.box-2 i{
    font-size: 2.1em;
    margin: 15px -5px;
}
.box-2 p{
    margin: 15px 0;
    font-size: 14px;
    font-weight: 600;
}



.box-3{
    height: 790px;
    color: #bcbcbc;
}
.box-3 .text_block{
    background: url("/images/displ.png") no-repeat;
    background-position: center;
    height: 790px;
}
.box-3 .text_block iframe{
    display: block;
    margin-right: auto;
    margin-left: auto;
    padding-top: 103px;
}
.box-3 h2{
    color: #000000;
    margin: 15px 0 -15px 0;
    text-transform: uppercase;
}



.box-4{
    background: url("/images/bg06.png") no-repeat;
    background-position: right bottom;
    background-size: cover;
    color: #bcbcbc;
    height: 420px;
}
.box-4 .container{
    padding-bottom: 40px;
    width: 80%;
}
.box-4 h3{
    border-bottom: 1px solid #bcbcbc;
    width: 500px;
    margin: 0 auto;
    line-height: 3em;
}
.box-4 .carousel-inner img{
    display: inline-block;
    width: 100px;
    margin-right: 15px;
}
.box-4 .carousel-inner p{
    text-align: left;
    margin-right: 15px;
}
.box-4 .item .item_table{
    display: table;
}
.box-4 .item .item_table img, .box-4 .item .item_table p{
    display: table-cell;
}
.box-4 .item p{
    vertical-align: middle;
}
.box-4 .fire{
    font-weight: 700;
    font-size: 1.3em;
    text-align: center;
    width: 60%;
    margin-top: 2em;
}
.box-4 .fire_move{
    margin-left: 0;
    margin-right: 0;
    animation: ani_first 1s;
    -webkit-animation: ani_first 1s;
}
.box-4 .carousel-control{
    width: 5%;
    background-image: none;
    font-size: 2em;
}
.box-4 .right{
    right: -1em;
}
.box-4 .left{
    left: -1em;
}

@keyframes ani_first {
    from {
        margin-left: -3000px;
        margin-right: 3000px;
    }
    100%{
        margin-left: 0;
        margin-right: 0;
    }
}



.box-5{
    font-weight: 600;
    margin-bottom: 30px;
}
.box-5 .spots{
    margin-bottom: 15px;
}
.box-5 .teachers{
    height: 400px;
}
.box-5 .teacher_blocks{
    background: url("/images/teacher_bg.png") no-repeat;
    background-position: center top;
    height: 585px;
    width: 368px;
    box-shadow: 0 0 9px rgba(0,0,0,0.5);
}
.box-5 .row img{
    width: 160px;
    padding-top: 5px;
}
.box-5 h2{
    text-transform: uppercase;
}
.box-5 h3{
    padding-top: 10px;
    color: #ffffff;
}

.t01, .t02, .t03{
    text-align: center;
    margin: 30px;
}

.box-5-6{
    background: url("/images/bg03.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    height: 20em;
    color: white;
}
.box-5-6 form{
    width: 50%;
}
.box-5-6 img{
    margin-top: 40px;
    margin-bottom: 40px;
}

.box-6{
    background: url("/images/bg014.jpg") no-repeat;
    background-position: right;
    background-size: cover;
    color: #bcbcbc;
    font-size: 1.2em;
    box-shadow: 0 0 9px rgba(0,0,0,0.5);
}
.spots{
    margin-top: 40px;
    margin-bottom: 40px;
}
.box-6 .price_row{
    width: 45em;
    margin: 0 auto;
    margin-bottom: 30px;
}
.box-6 .price1{
    border-bottom: 6px solid #e9af25;
}
.box-6 .price2{
    border-bottom: 6px solid #077cbf;
}
.box-6 .price3{
    border-bottom: 6px solid #573a94;
}
.box-6 .price4{
    border-bottom: 6px solid #a8157d;
}
.box-6 .price{
    width: 200px;
    height: 140px;
    float: left;
    margin: 8px;
    display: inline-block;
    font-size: 0.8em;
    font-family: Roboto;
    font-weight: bold;
    text-align: center;
    color: #565656;
    background: #ffffff;
    padding: 1em;
    position: relative;
}
.box-6 .price h2{
    color: #000000;
    position: absolute;
    left: 50%;
    margin-left: -58px;
    bottom: 0;
}
.box-6 .price_tip{
    color: #ffffff;
    font-size: 0.8em;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 25px;
}



.box-7{
    margin-bottom: 30px;
}
.box-7 .carousel{

    height: 383px;
}
.box-7 .iframe_bg{
    background: url("/images/tablet1.png") no-repeat;
    background-size: cover;
    background-position: center;
    height: 383px;
    width: 568px;
    display: inline-block;
}
.box-7 .carousel-control {

    background-image: none;
}


.box-8{
    background: url("/images/bg012.jpg") no-repeat;
    background-position: bottom;
    color: #bcbcbc;
    box-shadow: 0 0 9px rgba(0,0,0,0.5);
    padding-bottom: 30px !important;
}
.box-8 input{
    margin: 0 auto;
}
.box-8 form{
    margin-bottom: 40px;
}
.box-8 h3, .box-8 h2{
    text-transform: uppercase;
    color: #ffffff;
}
.box-8 h3{
    background: #a8157d;
    padding: 5px 0 10px 0;
    font-size: 1em;
    width: 600px;
    margin: 0 auto;
}



.yii-page{
    margin-top: 50px;
    margin-bottom: 80px;
}


.register .reg_img{
    background: url("/images/banner-02.png") no-repeat;
    background-position: bottom;
    height: 410px;
    width: 100%;
}
/* выравнивание блоков по вертикали */
.vcenter {
    display: inline-block;
    float: none;
    vertical-align: middle;
}




/* футтер */
.footer {
    margin-top: 50px;
    height: auto;
}
.footer h3{
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 0.3em;
    margin: 0;
}
.footer .fb_info{
    margin-top: 10px;
    color: black;
}





/* Pop effect*/
@-webkit-keyframes hvr-pop {
    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
}
@keyframes hvr-pop {
    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
}
.hvr-pop {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
}
.hvr-pop:hover, .hvr-pop:focus, .hvr-pop:active {
    -webkit-animation-name: hvr-pop;
    animation-name: hvr-pop;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}
/* Shutter Out Horizontal */
.hvr-shutter-out-horizontal {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    position: relative;
    background: #253544;
    color: #ffffff;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.hvr-shutter-out-horizontal:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000000;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 50%;
    transform-origin: 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.hvr-shutter-out-horizontal:hover, .hvr-shutter-out-horizontal:focus, .hvr-shutter-out-horizontal:active {
    color: white;
}
.hvr-shutter-out-horizontal:hover:before, .hvr-shutter-out-horizontal:focus:before, .hvr-shutter-out-horizontal:active:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}








/* Large desktop */
@media (min-width: 1200px) {
    .box-3 iframe{
        width: 674px;
        height: 526px;

    }
    .box-7 iframe{
        width: 477px;
        height: 302px;
        margin: 40px 0px 0 44px;
    }
    #feedback iframe {
        width: 511px;
        height: 288px;
    }
    .box-2 .zav_img{
        background: url("/images/banner-01.jpg") no-repeat;
        background-position: bottom;
        height: 450px;
        width: 100%;
        margin-left: -15px;
    }

}

/* Portrait tablet to landscape and desktop */
@media (min-width: 990px) and (max-width: 1199px) {
    iframe{
        width: 468px;
        height: 315px;

    }
}

@media (min-width: 768px) and (max-width: 989px) {
    iframe{
        width: 357px;
        height: 200px;
    }
}

/* Landscape phone to portrait tablet */
@media (min-width: 630px) and (max-width: 767px) {
    iframe{
        width: 357px;
        height: 200px;
    }
}



@media (max-width: 630px) {
    iframe{
        height: 175px;
        width: 287px;
    }
}
