/* FONTS ============================================================*/

@font-face {
    font-family: 'HelveticaNeueLTW1G-MdCn';
    src: url("fonts/HelveticaNeueLTW1G-MdCn.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeueLTW1G-ThIt';
    src: url("fonts/HelveticaNeueLTW1G-ThIt.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeueLTW1G-Th';
    src: url("fonts/HelveticaNeueLTW1G-Th.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}


/* ALL =============================================*/

html {
    font-size: 1vw;
}

body {
    font-family: HelveticaNeueLTW1G-MdCn;
}

h1 {
    font-family: HelveticaNeueLTW1G-MdCn;
    text-align: center;
    font-size: 4rem;
    text-transform: uppercase;
    padding-top: 40px;
    margin-bottom: 20px;
    color: #244e64;
}

h3 {
    font-family: HelveticaNeueLTW1G-MdCn;
    font-size: 36px;
}

h4 {
    font-size: 2rem;
}


/* H2 SIDE-LINES =============================================*/

h2 {
    /* чтобы линии не выходили за ширину блока заголовка */
    font-family: HelveticaNeueLTW1G-ThIt;
    font-size: 2rem;
    padding-bottom: 45px;
    overflow: hidden;
    text-align: center;
    color: #244e64;
}

h2:before,
h2:after {
    content: '';
    /* делаем линию строчно-блочной */
    display: inline-block;
    /* выравниваем вертикально по середине */
    vertical-align: middle;
    /* не позволяем ширине превысить 100% (будет добавлен бордюр) */
    box-sizing: border-box;
    /* установка ширины в 100% делает линию равной ширине тега заголовка
  ** благодаря этому линия заполнит все свободное пространство
  ** слева и справа от текста
  */
    width: 100%;
    height: 3px;
    border: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
    /* добавляем к линии левый и правый бордюр цветом основного фона заголовка
  ** благодаря этому создается нужный отступ между линиями и текстом
  */
    border: solid #FFF;
    border-width: 0 15px;
}

h2:before {
    /* смещаем левую линию влево отрицательным отступом, равным 100% ширины
  ** благодаря этому линия встает слева от текста
  */
    margin-left: -100%;
}

h2:after {
    /* смещаем правую линию вправо отрицательным отступом, равным 100% ширины
  ** благодаря этому линия встает справа от текста
  */
    margin-right: -100%;
}


/* HEADER ============================================================*/

header {
    color: #fff;
}


/* NAV1 ===========================================================*/

.bg-blue {
    background-color: #244e64;
}

.social i {
    font-size: 26px;
    padding: 0px 5px;
    color: #fff;
}

.social i:hover {
    color: #6cceeb;
}

.cont {
    max-width: 250px;
    font-size: 12pt;
    padding: 0 0;
}

.cont p {
    text-align: center;
    margin: 0 0;
}

.dashed {
    border-left: 1px dashed;
    border-right: 1px dashed;
}

#nav1 .btn {
    background: #143c52;
    color: #fff;
    font-size: 18px;
    height: 100%;
    position: absolute;
    border: none;
    right: 5%;
    text-transform: uppercase;
}

#nav1 .btn:hover {
    color: #6cceeb;
}

#nav1 {
    padding-right: 0;
    padding-left: 0;
}

#nav1 p:before {
    font-family: FontAwesome;
    content: "\f095";
    margin-right: 5px;
}

#nav1 span:before {
    font-family: FontAwesome;
    content: "\f041";
    margin-right: 5px;
}


/* NAV2 ================================================================*/

#nav2 {
    padding: 0 16px;
    text-transform: uppercase;
    font-size: 20px;
}

#nav2 .navbar-nav {
    margin-left: auto !important;
    margin-right: 0;
}

#nav2 .dropdown-menu {
    min-width: 240px;
}

#nav2 .navbar-nav .nav-link {
    color: #244e64;
}

#nav2 .navbar-nav .nav-link:hover {
    color: #000000;
}

#nav2 .navbar-nav .nav-link:active {
    color: red;
}

#nav2 .navbar-nav .active {
    color: green;
}

#nav2 .navbar-nav .active .nav-link:hower {
    color: green;
}

.nav-item a {
    color: rgb(35, 77, 98);
}

.disabled {
    background: rgba(36, 78, 100, 0.2);
    text-align: right;
    padding-right: 5px;
}


/* SLIDER =================================================================*/

#slider {
    position: relative;
    padding-right: 0;
    padding-left: 0;
}

#slider img {
    width: 100%;
}

#carouselExampleIndicators {
    border-47vwtop: 2px solid #244e64;
}

.sch-slider {
    min-height: 50vw;
    background: url(../img/schedule/slider.jpg) no-repeat;
    background-size: 100%;
}

#top-baner {
    height: 105%;
    top: 0;
    position: absolute;
    right: 10%;
    background: #244e64;
}


/* FORM ======================================================================*/

legend {
    text-align: center;
    font-size: 27px;
}

legend span {
    font-size: 40px;
}

legend p {
    font-size: 33px;
}

legend hr {
    border-top: 2px dashed rgb(255, 255, 255);
}

.form-horizontal {
    height: 100%;
    padding: 1em 1em;
    color: #fff;
}

.form-btn {
    color: #244e64;
    background-color: #6cceeb;
    margin: 0 auto;
    padding: 6px 0;
    width: 100%;
    border: none;
}

.form-btn:hover {
    color: #000000;
}

.row iframe {
    min-height: 550px;
}


/* MAIN PAGE ========================================================== */

.about {
    color: #244e64;
}

.about h2 {
    color: #244e64;
}

.about p {
    padding: 15px 15px;
    font-family: 'HelveticaNeueLTW1G-MdCn';
    font-size: 1.4rem;
    color: #244e64;
    line-height: 1.5;
}

.about iframe {
    min-height: 300px;
}

.blue {
    background: #244e64;
    color: #fff;
}

.blue h2:before {
    border: solid #244e64;
    border-width: 0 15px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.3), rgba(255, 252, 252, 0), rgba(255, 255, 255, 0.3));
}

.blue h2:after {
    border: solid #244e64;
    border-width: 0 15px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.3), rgba(255, 252, 252, 0), rgba(255, 255, 255, 0.3));
}


/*styles on main page */

.style-item {
    position: relative;
    margin-bottom: 45px;
    color: #fff;
}

.style-item:hover {
    border: 1px solid #e9e9e9;
    color: #6cceeb;
}

.style-item:before {
    position: absolute;
    content: "";
    left: 0;
    background: rgb(36, 78, 100);
    opacity: .55;
    width: 100%;
    height: 50%;
    bottom: 0;
}

.style-item img {
    width: 100%;
    -webkit-transition: -webkit-transform .35s;
    transition: -webkit-transform .35s;
    -o-transition: transform .35s;
    transition: transform .35s;
    transition: transform .35s, -webkit-transform .35s;
}

.style-item .style-item-content {
    position: absolute;
    content: "";
    bottom: 0;
    width: 100%;
    height: 50%;
}

.style-item .style-item-content p {
    font-size: 3rem;
    text-align: center;
    margin-top: 55px;
}

.imghover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}


/*news on main page */

#news {
    color: #244e64;
}

#news h2 {
    color: #244e64;
}

#news p {
    font-size: 24px;
}

#news .row {
    position: relative;
}

.discount {
    height: 100%;
    position: absolute;
    right: 3%;
    background: #244e64;
}


/* SCHEDULE PAGE ====================================================*/

.schedule iframe {
    border: none;
}

.schedule h1 {
    color: #244e64;
}

.schedule h2 {
    color: #244e64;
}

.blue h1,
h2 {
    color: #fff;
}


/* TEACHERS PAGE ====================================================*/

.teachers {
    padding: 30px 0px 30px 0;
    color: #244e64;
}

.teachers .row {
    margin: 3rem 0;
}

.teachers h2 {
    color: #244e64;
}

.teachers .left p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 4rem 1rem;
    line-height: 1.5;
    text-align: left;
}

.teachers .right p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 4rem 1rem;
    line-height: 1.5;
    text-align: right;
}

.teachers .img1 {
    position: absolute;
    width: 100%;
    bottom: -5%;
}

.teachers .img2 {
    position: absolute;
    bottom: -4%;
    width: 94%;
}

.teachers .img3 {
    position: absolute;
    width: 95%;
    bottom: -8%;
}

.teachers .img4 {
    position: absolute;
    width: 70%;
    bottom: -6%;
}

.teachers .img5 {
    position: absolute;
    width: 82%;
    bottom: -10%;
}

.teachers .img6 {
    position: absolute;
    left: 25%;
    width: 65%;
    bottom: 0;
}

.teachers .img7 {
    position: absolute;
    width: 50%;
    right: 25%;
    bottom: 0%;
}

.teachers .img8 {
    position: absolute;
    width: 100%;
    bottom: -12%;
}

.teachers .img10 {
    position: absolute;
    width: 97%;
    bottom: 0%;
}

.teachers .img9 {
    position: absolute;
    width: 130%;
    bottom: -20px;
    max-height: 120%;
    object-fit: contain;
}

.teachers .img11 {
    position: absolute;
    width: 130%;
    bottom: 0;
    max-height: 140%;
    object-fit: contain;
}

.teachers .img13 {
    position: absolute;
    left: 5%;
    width: 65%;
    max-height: 180%;
    object-fit: contain;
    bottom: 0;
}

.teachers .nameright {
    width: 50%;
    margin-left: auto;
    padding-left: 2.3rem;
}

.teachers .nameleft {
    width: 50%;
    margin-right: auto;
    padding-right: 2.3rem;
    text-align: right;
}

.teachers .nameright p {
    margin-left: auto;
    padding-left: 15px;
    margin-bottom: 0;
    font-size: 4rem;
}

.teachers .nameleft p {
    margin-right: auto;
    padding-right: 15px;
    margin-bottom: 0;
    font-size: 4rem;
}

.teachers .nameright span {
    margin-left: auto;
    padding-left: 15px;
    font-size: 3rem;
}

.teachers .nameleft span {
    margin-right: auto;
    padding-right: 15px;
    font-size: 3rem;
}


/* STYLES PAGES =======================================================*/

.style-btn {
    color: #244e64 !important;
    background-color: #6cceeb;
    margin: 20px;
    padding: 15px 0;
    font-size: 2.8rem;
    width: 60%;
    border: none;
    text-transform: uppercase;
    display: block;
    text-align: center;
    cursor: pointer;
}

.style-btn-sch {
    color: #244e64;
    background-color: #6cceeb;
    margin: 20px;
    padding: 10px 0;
    width: 60%;
    font-size: 2.6rem;
    border: none;
    text-transform: uppercase;
    display: block;
    text-align: center;
    cursor: pointer;
}


/* KIDS STYLES PAGES =======================================================*/


/* EAST-KIDS STYLE PAGES =======================================================*/

.east-kids {
    padding: 30px 0px 30px 0;
    color: #244e64;
}

.east-kids h2 {
    color: #244e64;
}

.east-kids .row {
    margin: 3rem 0 0 0;
}

.east-kids .blue {
    margin: 0;
}

.east-kids .left p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 4rem 1rem;
    line-height: 1.5;
    text-align: left;
}

.east-kids .right p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 4rem 1rem;
    line-height: 1.5;
    text-align: right;
}

.east-kids .img1 {
    position: absolute;
    width: 80%;
    bottom: -10%;
    right: 5%;
}

.east-kids .img2 {
    position: absolute;
    bottom: -4%;
    width: 100%;
    left: -20%;
}


/* CLASSIC STYLE PAGES =======================================================*/

.classic {
    padding: 30px 0px 30px 0;
    color: #244e64;
}

.classic h2 {
    color: #244e64;
}

.classic .row {
    margin: 3rem 0 0 0;
}

.classic .blue {
    margin: 0;
}

.classic .left p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 4rem 1rem;
    line-height: 1.5;
    text-align: left;
}

.classic .right p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 4rem 1rem;
    line-height: 1.5;
    text-align: right;
}

.classic .img1 {
    position: absolute;
    width: 90%;
    bottom: 0;
    right: 5%;
}

.classic .img2 {
    position: absolute;
    bottom: -5%;
    width: 48%;
    right: 25%;
}


/* STREET PAGE ===============================================================*/

.street h2 {
    color: #244e64;
}

.street .row {
    margin-bottom: 30px;
}

.street img {
    float: left;
    margin-left: 40px;
    margin-right: 35px;
}

.street span {
    color: #245066;
    margin-right: 25px;
    font-size: 30px;
    margin-right: 25px;
    white-space: nowrap;
}

.street p {
    color: #fff;
    background: #244f65;
    font-size: 20px;
    padding: 10px;
    margin-bottom: 1%;
    line-height: 1.5;
}

.street a {
    position: absolute;
    right: 15px;
    width: 140px;
    text-transform: uppercase;
    font-size: 20px;
    color: #c2d6e1;
    background-color: #090322;
    border: none;
    padding: 10px;
    text-align: center;
    transition: all .5s ease-in-out;
}

.street a:hover {
    color: #fff;
    transform: scale(1.03);
    transition: all .5s ease-in-out;
}

.street h1 {
    color: #244f65;
}


/* STREET HIP-HOP STYLE PAGES =======================================================*/

.hip-hop {
    padding: 30px 0px 30px 0;
    color: #244e64;
}

.hip-hop h2 {
    color: #244e64;
}

.hip-hop .row {
    margin: 3rem 0 0 0;
}

.hip-hop .blue {
    margin: 0;
    margin-top: 100px;
}

.hip-hop .left p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 1rem 1rem;
    line-height: 1.5;
    text-align: left;
}

.hip-hop .right p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 4rem 1rem;
    line-height: 1.5;
    text-align: right;
}

.hip-hop .img1 {
    position: absolute;
    width: 70%;
    bottom: -10%;
    left: 15%;
}

.hip-hop .img2 {
    position: absolute;
    bottom: -10%;
    width: 70%;
    right: 18%;
}


/* STREET JAZZ-FUNK STYLE PAGES =======================================================*/

.jazz-funk {
    padding: 30px 0px 30px 0;
    color: #244e64;
}

.jazz-funk h2 {
    color: #244e64;
}

.jazz-funk .row {
    margin: 3rem 0 0 0;
}

.jazz-funk .blue {
    margin: 0;
}

.jazz-funk .left p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 1rem 1rem;
    line-height: 1.5;
    text-align: left;
}

.jazz-funk .right p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 4rem 1rem;
    line-height: 1.5;
    text-align: right;
}

.jazz-funk .img1 {
    position: absolute;
    width: 60%;
    bottom: -108%;
    left: 25%;
}


/* STREET GOGO STYLE PAGES =======================================================*/

.gogo {
    padding: 30px 0px 30px 0;
    color: #244e64;
}

.gogo h2 {
    color: #244e64;
}

.gogo .row {
    margin: 3rem 0 0 0;
}

.gogo .blue {
    margin: 0;
}

.gogo .left p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 1rem 1rem;
    line-height: 1.5;
    text-align: left;
}

.gogo .right p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 4rem 1rem;
    line-height: 1.5;
    text-align: right;
}

.gogo .img1 {
    position: absolute;
    width: 80%;
    bottom: -10%;
    left: 15%;
}

.gogo .img2 {
    position: absolute;
    bottom: -2%;
    width: 50%;
    right: 25%;
}


/* KIDS STYLE PAGES =======================================================*/

.kids {
    padding: 30px 0px 30px 0;
    color: #244e64;
}

.kids h2 {
    color: #244e64;
}

.kids .row {
    margin: 3rem 0 0 0;
}

.kids .blue {
    margin: 0;
}

.kids .left p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 1rem 1rem;
    line-height: 1.5;
    text-align: left;
}

.kids .right p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 4rem 1rem;
    line-height: 1.5;
    text-align: right;
}

.kids .img1 {
    position: absolute;
    width: 32%;
    bottom: -20%;
    left: 40%;
}

.kids .img2 {
    position: absolute;
    bottom: -6%;
    width: 47%;
    right: 12%;
}


/* MODERN STYLE PAGES =======================================================*/


/* MODERN CONTEMPORARY STYLE PAGES =======================================================*/

.contemporary {
    padding: 30px 0px 30px 0;
    color: #244e64;
}

.contemporary h2 {
    color: #244e64;
}

.contemporary .row {
    margin: 3rem 0 0 0;
}

.contemporary .blue {
    margin: 0;
}

.contemporary .left p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 1rem 1rem;
    line-height: 1.5;
    text-align: left;
}

.contemporary .right p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 4rem 1rem;
    line-height: 1.5;
    text-align: right;
}

.contemporary .img1 {
    position: absolute;
    width: 85%;
    bottom: -10%;
    left: 15%;
}

.contemporary .img2 {
    position: absolute;
    bottom: -3%;
    width: 90%;
    right: 5%;
}


/* MODERN JAZZ-MODERN STYLE PAGES =======================================================*/

.jazz-modern {
    padding: 30px 0px 30px 0;
    color: #244e64;
}

.jazz-modern h2 {
    color: #244e64;
}

.jazz-modern .row {
    margin: 3rem 0 0 0;
}

.jazz-modern .blue {
    margin: 0;
}

.jazz-modern .left p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 1rem 1rem;
    line-height: 1.5;
    text-align: left;
}

.jazz-modern .right p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 4rem 1rem;
    line-height: 1.5;
    text-align: right;
}

.jazz-modern .img1 {
    position: absolute;
    width: 47%;
    bottom: -5%;
    left: 25%;
}

.jazz-modern .img2 {
    position: absolute;
    width: 47%;
    bottom: -5%;
    left: 25%;
}


/*ADULT STYLES PAGES =======================================================*/


/* EAST-ADULT STYLE PAGES =======================================================*/

.east-adult {
    padding: 30px 0px 30px 0;
    color: #244e64;
}

.east-adult h2 {
    color: #244e64;
}

.east-adult .row {
    margin: 3rem 0 0 0;
}

.east-adult .blue {
    margin: 0;
}

.east-adult .left p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 1rem 1rem;
    line-height: 1.5;
    text-align: left;
}

.east-adult .right p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 1rem 1rem;
    line-height: 1.5;
    text-align: right;
}

.east-adult .img1 {
    position: absolute;
    width: 98%;
    bottom: -2%;
    left: 5%;
}

.east-adult .img2 {
    position: absolute;
    bottom: -2%;
    width: 100%;
    right: 6%;
}


/* STRIP STYLE PAGES =======================================================*/

.strip {
    padding: 30px 0px 30px 0;
    color: #244e64;
}

.strip h2 {
    color: #244e64;
}

.strip .row {
    margin: 3rem 0 0 0;
}

.strip .blue {
    margin: 0;
}

.strip .left p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 1rem 1rem;
    line-height: 1.5;
    text-align: left;
}

.strip .right p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 1rem 1rem;
    line-height: 1.5;
    text-align: right;
}

.strip .img1 {
    position: absolute;
    width: 98%;
    bottom: -5%;
    left: 5%;
}

.strip .img2 {
    position: absolute;
    bottom: -5%;
    width: 74%;
    right: 0%;
}


/* PILATES STYLE PAGES =======================================================*/

.pilates {
    padding: 30px 0px 30px 0;
    color: #244e64;
}

.pilates h2 {
    color: #244e64;
}

.pilates .row {
    margin: 3rem 0 0 0;
}

.pilates .blue {
    margin: 0;
}

.pilates .left p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 1rem 1rem;
    line-height: 1.5;
    text-align: left;
}

.pilates .right p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 1rem 1rem;
    line-height: 1.5;
    text-align: right;
}

.pilates .img1 {
    position: absolute;
    width: 60%;
    bottom: -10%;
    left: 20%;
}

.pilates .img2 {
    position: absolute;
    bottom: -10%;
    width: 70%;
    right: 16%;
}


/* MARRIGE STYLE PAGES =======================================================*/

.marrige {
    padding: 30px 0px 0 0;
    color: #244e64;
}

.marrige h2 {
    color: #244e64;
}

.marrige .row {
    margin: 0;
}

.marrige .blue {
    margin: 0;
}

.marrige .left p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 1rem 1rem;
    line-height: 1.5;
    text-align: left;
}

.marrige .right p {
    font-family: HelveticaNeueLTW1G-Th;
    font-size: 20px;
    padding: 1rem 1rem;
    line-height: 1.5;
    text-align: right;
}

.marrige .img1 {
    position: absolute;
    width: 110%;
    bottom: 0%;
    left: -5%;
}


/* CONTACTS PAGE =============================================================*/

#contacts {
    color: #244e64;
    text-align: center;
    font-size: 2rem;
}

#contacts .col-md-4 {
    margin-bottom: 5%;
}

#contacts h2 {
    color: #244e64;
}

#contacts p {
    font-size: 26px;
}

#contacts span {
    font-size: 30px;
}


/* FOOTER ===========================================================*/

footer {
    background: rgb(5, 43, 64);
    color: #fff;
}

footer h1 {
    font-size: 36px;
    color: #fff;
}

footer p {
    font-size: 28px;
    padding-top: 40px;
}

footer span {
    font-size: 14px;
}

footer .row {
    position: relative;
}

.footer-social {
    font-size: 26px;
    bottom: 10px;
    position: absolute;
    right: 15px;
}

.footer-social i {
    padding: 0px 5px;
    color: #fff;
}

.footer-social i:hover {
    color: #6cceeb;
}