@font-face {
    font-family: 'ProximaNovaLight';
    src: url('../fonts/Proxima Nova Light.otf');
  }

body {
    font-family: 'ProximaNovaLight';

}

#main {
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.frm-zakaz-zvonok {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.frm-zakaz-zvonok-input {
    max-width: 420px;
}

.scrollup {
    z-index: 100;
}
.nav-item a {
    font: normal 24px/36px 'Open sans', sans-serif !important;
}

.phones {    
    max-height: 74px;
}

.logotip {
    margin: 15px !important;
    width: 80px !important;
    height: 60px !important;
}

.vschool-logo {
    color: white;    
    font-size: 40px;
    line-height: normal;
}

.phone {
    font-size: 23px;
    padding: 0 15px;
    color: yellow;
    font-family: 'ProximaNovaLight';
    display: inline-block;
}

.item-a > li a {
        font-size: 30px;
        font-family: 'ProximaNovaLight';
    }


.pic .pic1 .pic2 .pic3 {   
    margin-top: 30px;
}

.pic img {
    width: 220px;
}

.pic1 img {
    width: 200px;
    height: 193px;
}

.pic2 img {
    width: 200px;
    height: 190px;
} 

.pic3 img {
    width: 240px;
    height: 190px;
}

.clear {
    clear: both;
    width: 100%;
}

aside {
    background-color: #f6f6f6;
    max-width: 185px;
    flex-shrink:0;
    /*min-height: 100% !important;*/
    /*float: left;*/
    padding: 15px 5px 15px 5px;
    /*position: relative;*/
    /*z-index: 1;*/
}

.age-item {
    margin-top: 20px; 
    font-family: 'ProximaNovaLight' !important;
}

.imgvzr {
    height: 45px !important;
}

.imgangl {
    height: 67px !important;
}

.imgmatem {
    width: 60px !important;
}

.imgrobot {
    width: 65px !important;
}

.imgmikrof {
    width: 40px !important;
}

div.scrollup {
    position: fixed; /* фиксированная позиция */
    color: #fff; /* цвет текста */
    background-color: black; /* цвет заднего фона */
    right: 20px; /* расстояние от правого края */
    bottom: 0px; /* расстояние от нижнего края */
    padding: 4px 10px; /* отступы до содержимого блока */
    font-size: 20px; /* размер шрифта (иконки) */
    border-top-left-radius: 8px; /* скругление верхнего левого угла */
    border-top-right-radius: 8px; /* скругление верхнего правого угла */
    cursor: pointer; /* форма курсора */
    display: none; /* не отображать элемент */
    text-align: center; /*выравнивание содержимого элемента по центру */
  }
  div.scrollup:hover {
    background-color: #000; /* цвет заднего фона при наведении */
  }

 
a.category_link {
    display: inline-block;
    vertical-align: top;
    color: #222;
    font-size: 15px;
    font-weight: 300;
    line-height: 20px;
    text-decoration: none;
    width: 100%;
    text-transform: uppercase;
}

.carousel-inner {
    width: auto;
}


.aside_image {
    height: 60px;
    width: 60px;
    margin-bottom: 5px;
}

.carousel-indicators {
    margin: 0 auto !important;
}

.navbar-brand {
    margin-right: 0;
}

.container-fluid {
    padding: 0;
}

.team {
    margin-bottom: 100px;
    font-family: 'ProximaNovaLight';
  }

  .img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .team {
    font-weight: bold;
    letter-spacing: 2px;
    color: #999;
    border-bottom: 1px solid rgba(0, 0, 0,0.1);
    padding-bottom: 5px;
  }

  .team .profile{
    margin-top: 25px;
  }

  .team .profile h1{
    font-weight: normal;
    font-size: 20px;
    margin:10px 0 0 0;
  }
  .team .profile h2{
    font-size: 14px;
    font-weight: lighter;
    margin-top: 5px;
  }
  .team .profile .img-box{
    opacity: 1;
    display: block;
    position: relative;
  }
  .profile .img-box:after{
    content:"";
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.75);
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
  }
  .team .img-box p{
    position: absolute;
    z-index: 2;
    top: 0;
    color: #FFFFFF;
    text-align: center;
    width: 100%;
    height: 0;
    margin:0;
    opacity: 0;
    padding: 10px 10px 0 10px;
    line-height: 1.5em;
  }
  .team .img-box ul{
    position: absolute;
    z-index: 2;
    bottom: 50px;
    text-align: center;
    width: 100%;
    height: 0;
    margin:0;
    opacity: 0;
  }
  .team .profile .img-box:after, .img-box ul, .img-box ul li{
    -webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;
  }
  .team .img-box ul i{
    font-size: 20px;
    letter-spacing: 10px;
  }
  .team .img-box ul li{
    width: 300px;
    height: 300px;
    text-align: center;
    border: 1px solid #88C425;
    margin: 2px;
    padding: 5px;
    display: inline-block;
  }
  .team .img-box a{
    color:#fff;
  }
  .team .img-box:hover:after{
    opacity: 1;
  }
  .team .img-box:hover ul{
    opacity: 1;
  }
  .team .img-box:hover p{
    opacity: 1;
  }
  .team .img-box ul a{
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
  }
  .team .img-box a:hover li{
    border-color: #fff;
    color: #88C425;
  }
  .team a{
    color:#525252;
  }
  .team a:hover{
    text-decoration:none;
    color:#000000;
  }
  .team i.red{
    color:#BC0213;
  }
  p {
    font-family: 'ProximaNovaLight';   
  }

  .card1 {
      max-width: 300px;
      display: inline-block;      
  }
  
   .card2 {
       max-width: 80vw;
       background-color: #FBC02D;
   }
   .slider-angl1{
    display: inline-block;   
}

.img-fancybox2 {
    width: 400px;
}

   
 

 /*развивающие занятия для детей*/
  .txt-glavn-str {
    text-align: center;
}

.font-weight-bold{
    font-size: 30px;
}

.txt-opisanie-main {
    padding-left: 20px;
    padding-right: 30px;
}

.img-logo-rebenok {
    width: 35px;
    height: 35px;
}
 
  .txt-opisanie {
    text-align: justify;
}

.slider-underpage{
    display: inline-block;
    border: none;
    margin: 5px;
}

.img-fancybox1 {
    width: 370px;
}

.txt-opisanie {
    text-align: justify;
}

.video1 {
    display: inline-block;
}

/*английский мещерякова*/


.img-steps-min {
    width: 100px;
    height: 100px;
}

.txt-0st {
    color: #00796B;
}

.txt-1st {
    color: #AFB42B;
}

.txt-2st {
    color: #7CB342;
}

.txt-3st {
    color: #FBC02D;
}

.txt-4st {
    color: #FF8F00;
}

#gallerymaininfo {
    float: left;
}

.slider-angl{
    display: inline-block;
    width: 150px;
}
/*английский vzroslye*/
.slider-angl1 {
    display: inline-block;
    width: 200px; 
}

.img-vzr {
    width: 150px;
}


/*английский main*/

.img-angl-min {
    width: 150px;
    height: 150px;
}

/*цены*/
.table-price {
    padding-left: 150px !important;
}

/*галерея*/
.center_class {
    text-align: center;
  }
  .album1 {
    display: inline-block;
    border: none;
    margin: 5px;
    text-align: center;
    font-size: 0.9em;
    -webkit-perspective: 1600px;
    -moz-perspective: 1600px;
    -ms-perspective: 1600px;
    -o-perspective: 1600px;
    perspective: 1600px;
    -webkit-perspective-origin: 50% 50%;
    -moz-perspective-origin: 50% 50%;
    -ms-perspective-origin: 50% 50%;
    -o-perspective-origin: 50% 50%;
    perspective-origin: 50% 50%;
  }
  .photo-in-album {
    overflow:hidden;
    
  }
  
  .photo-in-album img {
    -moz-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    -webkit-transition: all 1s ease-out;
    width: 200px;
  }
  
  .photo-in-album img:hover{
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
  }

  .oblozhka {
      width: 250px;
  }

  /*контакты*/

  .card3 {
      background-color:  #f6f6f6;
      /*max-width: 800px;*/
  }
  
  .img-contacts {
      width: 80px;
  }

  /*контакты*/
   .card4 {
       display: inline-block;
       width: 300px;
   }

 

@media (max-width: 280px) {
    .img-steps {
        display: none;
    }
    
}

@media (max-width: 310px) {
    h1 {
        font-size: 18px !important;
    }
    .img-steps {
        display: none;
    }
}

@media (min-width: 300px) and (max-width: 430px) {
    h1 {
        font-size: 26px !important;
    }  
    .img-steps {
        display: none;
    }  

    
}

@media (max-width: 354px){
    .phone {
        font-size: 13px !important;
    }
}

@media (min-width: 355px) and (max-width: 430px){
    .phone {
        font-size: 17px !important;
    }
}

   
@media (min-width: 421px) and (max-width: 520px) {
    
    h1 {
        font-size: 28px !important;
    }
    .img-steps {
        display: none;
    }

    
}

@media (max-width: 575px) {
    .hide_social {
        display: none !important;
    }

}
@media (max-width: 579px) {
    
   
}

@media (min-width: 431px) and (max-width: 620px) {
    .phone {
        font-size: 24px;
    }
}

@media (min-width: 575px) and (max-width: 639px) {
    .item-a > li a {
        font-size: 16px !important;
    }  
}

@media (min-width: 640px) and (max-width: 660px) {
    .item-a > li a {
        font-size: 18px !important;
    }

}

@media (min-width: 661px) and (max-width: 749px) {
    .item-a > li a {
        font-size: 19px !important;
    }
}
  
@media (min-width: 750px) and (max-width: 799px) {
    .item-a > li a {
        font-size: 22px !important;
    }
} 

@media (min-width: 800px) and (max-width: 855px) {
    .item-a > li a {
        font-size: 24px !important;
    }
}


@media (min-width: 620px) and (max-width: 925px) {
    .phone {
        font-size: 27px !important;
    }
}

@media (max-width: 925px){
    .direktor {
        display: none !important;
    }
    .navbar-brand {
        white-space: unset;
    }
}

@media (min-width: 921px) and (max-width: 960px) {
    .item-a a {
        font-size: 22px !important;
    }
}

@media (max-width: 990px) {
    *,::after, ::before {
        box-sizing: border-box;
    }
    .hide {
        display: none;
    }
}

@media (min-width: 856px) and (max-width: 1100px) {
    .item-a > li a {
        font-size: 26px !important;
    }
}

@media (min-width: 1200px) {
    .features {    
        max-width: 100% !important;
        margin: 0 auto;
    }
}

@media (max-width: 1330px) {
    aside {
        width: 125px !important;
    }

    .aside_image {
        height: 40px !important;
        width: 40px !important;
    }

    .imgvzr {
        height: 30px !important;
    }

    .imgangl, .imgrobot {
        height: 45px !important;
    }

    .imgmatem {
        width: 50px !important;
    }

    .imgmikrof {
        width: 30px !important;
    }

    .list-unstyled{
        font-size: 10px;
    }
} 

@media (max-width: 1740px) {
    .vschool-logo {
        font-size: 30px !important;
    }

    .phones {
        flex-wrap: nowrap;
    }

    .img-steps {
        /*width: 200%;*/
        /*height: 30%;     */
    }
}

.carousel-inner img{
    height: auto;
}


/*-----------main-menu-- ------------------*/
.social-media {
  /*display: inline-block;*/
  /*float: left;*/
  width: 140px;
  margin-bottom: 0px;
  padding: 0; }
  .social-media li {
    display: inline-block;
    margin: 0; }
    .social-media li a {
      color: #fff;
      display: inline-block;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: #000;
      position: relative; }
      .social-media li a span {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%); }
      .social-media li a:hover {
        color: #f16821; }

/*-----------main-menu--end-----------------*/


/*---------------foooter-start----------------------------*/

footer H6{
    font-size: 23px;
}

footer {
    background-color: #1f1e1e;
}

.bg-footer{
    background-color: yellow;
}

/*.footer {
    flex: 0 0 auto;
    color: black;
    font-size: 12px;
    padding-right: 0;
    /*background-color: rgba(67,75,77, 0.9);
    min-height: 30px;
}
.footer-soc a,.footer-soc a:link,.footer-soc a:hover,.footer-soc a:active,.footer-soc a:visited{color: #000;}
.soc-f {
    text-align: center;
}
.soc-f span{
    display: inline-block;
}
.soc-f span a{
    text-decoration: none;
    display: block;
    padding: 0 15px;
}
.soc-f span a:hover{
    color: #d5210d;
}
.footer2 {
    padding-bottom: 37px;
}
.footer-col {
    min-width: 300px;
    float:left;
    /*margin:5px;
    padding:10px;
}
.footer-col ul li {
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 5px 0;
    font-size: 10pt;
    line-height: 0.8;
}
.footer-col-last {
    float:right;
    /*margin:5px;
    padding:10px;
    margin-right: 80px;
    min-width: 300px;
}
.ul.menu-footer {
    border: none;
    list-style: none;
    text-align: left;
}
.leaf a{
    color: #000;
}
.leaf a:hover{
    color: #d5210d;
    font-weight: bold;
}
.copyright2 {
    color: #000;
    font-size: 12px;
    margin-bottom: 0;
    text-align: left;
    padding: 10px 10px;
}
.copyright2 a {
    color: #000;
}
.copyright2 a:hover {
    color: #FF0;
}*/
/*---------------foooter-end------------------------------*/