@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900&subset=cyrillic-ext');


#first-time{
    display: none !important;
}
body{
    margin: 0;
  }
#overlay {
    background-color: rgba(0,0,0,0.88);
    cursor: pointer;
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
}
.front #modal_form {
  z-index: 100000;
}
.not-front .navbar-exc {
  display: none;
}
.not-front .navbar-exc-mob {
  display: none;
}

.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths{
    position: relative;
    box-sizing: border-box;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-5ths{
    float: left;
    width: 20%;
}
.f-left {
  float: left;
}
.f-right {
  float: right;
}
.w-auto {
  width: auto;
  display: inline-block;
}
* {
    font-family: 'Roboto', sans-serif;
}

body{
    background: #fff;
    min-width: 320px;
}

a,
a:hover,
a:focus{
    color: #7e64bd;
}

h1,
.h1{
    font-weight: 500;
}

h4,
.h4{
    font-size: 24px;
    font-weight: 500;
}

.p{
    display: block;
    margin-bottom: 10px;
}
.wrapper{
    overflow: hidden;
}
.wrapper *{
    -webkit-font-smoothing: antialiased;
}
.container-fluid{
    margin-left: auto;
    margin-right: auto;
    /* padding: 0; */
}

.bold{
    font-weight: 500;
}

.gray{
    color: #757575;
}

.text-title{
    font-weight: 100;
}

.link-more{
    font-weight: 500;
    z-index: 2;
    position: absolute;
}

.link-more-arrow{
    font-size: 6px;
    top: 0px;
    transform: scaleX(0.7);
    display: inline-block;
    font-weight: 700;
}

.btn-link{
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    text-transform: uppercase;
    color: #7e64bd;
}

.btn-link:hover{
    text-decoration: none;
    color: #9575cc;
}

.btn-purple{
    font-size: 14px;
    color: #fff;
    background-color: #673ab7;
}
.mobiled{
    z-index: 1031 !important;
}
.visible{
    display: block !important;
}
.mobile-btn,
.login-btn{
    cursor: pointer;
    display: inline-block;
}
.navbar svg{
    max-height: 100%;
    max-width: 100%;
}
.navbar-transparent{
    background: rgba(255, 255, 255, 0);
}
.navbar-white{
    background: rgba(255, 255, 255, 1);
}
.navbar-purple{
    background: #7e64bd;
}
.navbar-white svg{
    fill: #7e64bd;
}
.navbar-white .navbar-right svg,
.navbar-white .mobile-btn svg{
    fill: rgba(0,0,0,0.54);
}
.navbar-purple svg{
    fill: rgba(255, 255, 255, 1);
    max-height: 100%;
    max-width: 100%;
}
.navbar-purple .navbar-right svg,
.navbar-purple .mobile-btn svg{
    fill: rgba(255, 255, 255, 1);
}



.navbar-main{
    padding: 0;
}
.navbar-main .navbar-header .navbar-right{
    margin-right: 0;
}
.navbar-header{
    width: 100%;
}

.navbar-left{
    float: left;
}

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

.separator{
    margin-right: 10px;
    margin-left: 10px;
}

.main{
    right: 0;
    left: 0;
    margin: auto;
    /*padding-top: calc(20vmin - 60px);*/
}

.img-social-icon{
    display: inline-block;
}
.img-social-icon svg{
    max-width: 100%;
    max-height: 100%;
}

footer{
    background: #f5f5f5;
}

.footer-collapse{
    padding: 10px 0 10px 0;
    background: #f5f5f5;
}

.footer-collapse.panel-group .panel{
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.footer-collapse.panel-group .panel + .panel{
    margin-top: 0;
}

.footer-collapse .panel-default > .panel-heading + .panel-collapse > .panel-body{
    padding-top: 1px;
    padding-bottom: 0;
    border-top: solid 1px #f5f5f5;
    background: #f5f5f5;
}

.footer-collapse .panel > .panel-heading,
.footer-collapse .panel.panel-default > .panel-heading{
    color: #000;
    border: none;
    border-bottom: solid 1px #e0e0e0;
    border-radius: 0;
    background-color: #f5f5f5;
}

.footer-collapse .panel > .panel-heading .panel-title > a{
    font-weight: 400;
    display: block;
    text-decoration: none;
}

.footer-collapse .panel-body,
.footer-collapse .panel-heading{
    padding-right: 0;
    padding-left: 0;
}

.footer-collapse .panel-heading .panel-title a:hover,
.footer-collapse .panel-heading .panel-title a:active,
.footer-collapse .panel-body a:hover,
.footer-collapse .panel-body a:active{
    text-decoration: none;
}

.footer-collapse .in .panel-body{
    margin-top: -1px;
    padding-top: 0;
    border-top: solid 1px #f5f5f5;
    border-bottom: solid 1px #e0e0e0;
}

.footer-collapse ul.block-footer-links-col{
    margin-bottom: 0;
    list-style-type: none;
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
    width: 90vw;
}

.footer-collapse ul.block-footer-links-col a{
    font-weight: 400;
}

.footer-collapse .in ul.block-footer-links-col .block-footer-links-link{
    margin-top: 1px;
}

.footer-subfooter{
    font-weight: 400;
    width: 90vw;
    padding: 5px 0 0 0;
}

.footer-subfooter .footer-subfooter-credits{
    padding-left: 0;
}

.footer-subfooter .footer-subfooter-links{
    white-space: nowrap;
}

.footer-subfooter .block-footer-links-social {
  line-height: 0;
  /* Opera Presto */
  font-size: 1px;
  /* IE6-7 */
  max-width: 245px;
  text-justify: newspaper;
  zoom: 1;
  text-align-last: justify;
}
.footer-subfooter .block-footer-links-social:after {
  width: 100%;
  height: 0px;
  visibility: hidden;
  overflow: hidden;
  content: "";
  display: inline-block;
}
.footer-subfooter .block-footer-links-social a  {
  display: inline-block;
  text-align: left;
  /* Восстанавливаем обнулённые свойства */
  line-height: normal;
  font-size: 14px;
  /* Opera Presto */
  vertical-align: top;
  /* IE6-7 */
    /* display : inline;
    zoom : 1; */
}
.footer-subfooter ul.block-footer-links-col{
    padding-left: 0;
    list-style-type: none;
}

.footer-subfooter .row-links{
    padding-top: 15px;
    padding-bottom: 20px;
    border-top: solid 1px #e0e0e0;
}

@media screen and (max-width: 320px){
    h4,
    .h4{
        font-size: 22px;
        font-weight: 500;
    }
    .col-sm-12{
        display: block;
        float: none;
        width: 100%;
        /*padding: 0;*/
    }
}


/* Custom, iPhone Retina */

@media only screen and (min-width: 320px){
    .front #accordion{
        display: none;
    }
    h1,
    .h1{
        font-size: 24px;
    }
    h4,
    .h4{
        font-size: 22px;
    }
    .link-more{
        font-size: 13px;
    }
    .text-date{
        font-size: 11px;
    }
    .text-title{
        font-size: 17px;
    }
    .container-fluid > .navbar-header{
        margin: 0;
    }
    .mobile-btn,
    .login-btn{
        height: 20px;
        width: 20px;
    }
    .navbar{
        /*height: 65px;
        margin-top: 0;
        padding-top: 23px;
        border-bottom: solid 1px #e0e0e0;*/
        /*-webkit-box-shadow: 0px 0px 21px -1px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 21px -1px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 21px -1px rgba(0,0,0,0.75);*/
    }
    .navbar.navbar-white{
        border-bottom: solid 1px #ffffff;
    }
    .navbar-main{
        width: 90vw
    }
    .navbar-header{
        text-align: center;
    }
    .navbar-brand{
        display: inline-block;
        float: none;
    }
    .navbar-brand svg{
        height: 27px;
        width: 123px;
    }
    .navbar .navbar-brand{
        padding: 0;
        height: 21px;
    }
    .panel-title{
        margin-left: auto;
        margin-right: auto;
        width: 90vw;
    }
    .panel-title a span:after{
        position: absolute;
        width: 7px;
        height: 7px;
        margin: 6px;
        content: '';
        transform: rotate(225deg);
        border-top: none;
        border-right: 2px solid #888;
        border-bottom: 2px solid #888;
        border-left: none;
    }
    .panel-title a.collapsed span:after{
        transform: translateY(-3px) rotate(45deg);
    }
    .panel a:hover,
    .panel a:focus{
        color: #000;
    }
    .img-social-icon{
        background-size: contain;
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }
    .footer-collapse ul.block-footer-links-col a{
        font-size: 15px;
    }
    .footer-collapse .panel > .panel-heading .panel-title > a{
        font-size: 15px;
    }
    .footer-collapse .panel > .panel-heading,
    .footer-collapse .panel.panel-default > .panel-heading{
        padding: 12px 5px 12px 5px;
    }
    .footer-subfooter{
        font-size: 11px;
    }
    .footer-subfooter .copyright{
        white-space: nowrap;
    }
    .footer-subfooter .block-footer-links-social {
        text-align: left;
    }
    .footer-collapse ul.block-footer-links-col .block-footer-links-link{
        margin-bottom: 12px;
    }
    .block-footer-links-social a:hover{
        text-decoration: none;
    }
}


/* Extra Small Devices, Phones */

@media only screen and (min-width: 480px){
    h1,
    .h1{
        font-size: 40px;
        margin-top: 0;
    }
    h4,
    .h4{
        font-size: 24px;
    }
    .text-date{
        font-size: 17px;
    }
    .text-title{
        font-size: 32px;
    }
    .mobile-btn,
    .login-btn{
        height: 36px;
        width: 36px;
    }
    .link-more{
        font-size: 17px;
    }
    .main{
        width: 90vw
    }
    .navbar-main {
        margin-left: auto;
        margin-right: auto;
    }
    .navbar .navbar-brand{
        height: 35px;
    }
    .navbar-brand svg{
        width: 123px;
        height: auto;
        margin-top: 0px;
    }
    .img-social-icon{
        width: 48px;
        height: 48px;
        margin-right: auto;
    }
    .navbar-transparent{
        margin-right: auto;
        margin-left: auto;
    }
    .panel-title a span:after{
        margin: 12px;
    }
    .footer-collapse .panel > .panel-heading .panel-title > a{
        font-size: 24px;
    }
    .footer-collapse ul.block-footer-links-col a{
        font-size: 24px;
    }
    .footer-collapse .panel > .panel-heading,
    .footer-collapse .panel.panel-default > .panel-heading{
        padding: 17px 5px 17px 5px;
    }
    .footer-collapse ul.block-footer-links-col .block-footer-links-link{
        margin-bottom: 20px;
    }
    .footer-subfooter{
        font-size: 17px;
    }
    .footer-subfooter .block-footer-links-social {
        text-align: justify;
    }
}

@media only screen and (min-width: 768px){
    .col-sm-5ths{
        float: left;
        width: 20%;
    }
    .col-md-80{
        width: 80%;
    }
    .text-date{
        font-size: 13px;
    }
    .text-title{
        font-size: 20px;
    }
    .link-more{
        font-size: 13px;
    }
    .navbar>.container .navbar-brand,
    .navbar>.container-fluid .navbar-brand{
        margin-left: 0;
    }
    .main,
    .navbar-main{
        width: 90vw;
    }
    .navbar{
        border-bottom: none;
    }
    .navbar .navbar-brand{
        /*line-height: 38px;*/
        line-height: 1;
    }
    .navbar-header{
        margin-right: -15px;
        margin-left: -15px;
        text-align: left;
    }
    .navbar-brand{
        display: inline-block;
        float: left;
    }
    .navbar-brand svg{
        height: 24px;
        fill: #7e64bd;
        margin-top: 10px;
        display: inline-block;
        vertical-align: bottom;
    }
    .lang a.reg-form{
        display: none;
    }
    .img-social-icon{
        margin-right: 10px;
        width: 32px;
        height: 32px;
    }
    footer{
        font-size: 11px;
        font-weight: 400;
        padding: 40px 0 0;
    }
    .footer-list{
        width: 90vw;
        margin: auto;
    }
    .footer-list ul{
        padding-left: 0;
    }
    .footer-list ul li{
        margin-bottom: 10px;
        list-style-type: none;
    }
    .footer-subfooter{
        font-size: 11px;
        width: 100%;
        margin-top: 30px;
        padding-top: 15px;
        padding-bottom: 20px;
        border-top: solid 1px #e0e0e0;
    }
    .footer-subfooter > .row{
        width: 90vw;
        padding: 0;
    }

    .block-footer-links-social .text-nowrap{
        text-align: left;
    display: inline-block;
    margin-bottom: 9px;
    }
}

@media only screen and (min-width: 992px){
    .width-170{
        min-width: 170px;
    }
    .col-md-5ths{
        float: left;
        width: 20%;
    }
    .footer-list .block-footer-links-social{
        white-space: nowrap;
    }
}
@media only screen and (min-width: 1085px) {
  .last-block > div{
      float: right;
      width: 200px;
  }
  .domain-www-smartcat-ai .last-block > div{
      float: right;
      width: 195px;
  }
  .domain-www-smartcat-ai .footer-subfooter .footer-subfooter-links{
      padding: 0;
  }
}

/* Large Devices, Wide Screens */

@media only screen and (min-width: 1200px){
    .col-lg-5ths{
        float: left;
        width: 20%;
    }
    .main,
    .navbar-main{
        width: 75vw;
    }
    .footer-list{
        width: 75vw;
    }
    .footer-subfooter > .row{
        width: 75vw;
        padding: 0;
    }
    .footer-subfooter .footer-subfooter-links{
        padding: 0;
    }
    .last-block > div,
    .domain-www-smartcat-ai .last-block > div{
        float: right;
        width: 20%;
    }
}
@media only screen and (min-width: 1300px) {
  .last-block > div{
      float: right;
      width: 200px;
  }
  .domain-www-smartcat-ai .last-block > div {
    width: 195px;
  }
}
@media only screen and (min-width: 1900px){
    .footer-subfooter-links{
        padding-right: 0;
    }
}
@media only screen and (min-width: 2400px){
    .col-xlg-6{
        float: left;
        width: 50%;
    }
}
@media screen and (orientation: portrait){
    .col-md-6-portrait{
        float: left;
        width: 50%;
    }
    .col-md-4-portrait{
        float: left;
        width: 33.3%;
    }
    .main,
    .navbar-main{
        width: 90vw;
    }
    .navbar-transparent{
        width: 90vw;
        margin-right: auto;
        margin-left: auto;
    }
    .text-portrait-center{
        text-align: center;
    }
}

/*костылище, чтобы убрать пагинацию, TODO убрать через друпал*/
.wrapper > .element-invisible, .wrapper > .item-list  {
  display: none;
}

/* костыль для станицы фрилансеров */
#sendRequestBtn.btn-link {
    white-space: normal;    
}

/*Костыли для русской версии*/

#rus-kostul-svg-vk {
  background-color: #3179cf;
  border-radius: 3px;
  padding: 10%;
}
img.skolkovo-logo {
  width: 100%;
  max-width: 50px;
  display: inline-block;
  vertical-align: top;
}
span.skolkovo-logo {
  width: calc(100% - 55px);
  display: inline-block;
  vertical-align: top;
  white-space: normal;
}
@media only screen and (min-width: 480px) {
  #rus-kostul-svg-vk {
    padding-top: 30%;
    border-radius: 5px;
  }
  img.skolkovo-logo {
    width: 100%;
    max-width: 70px;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 10px;
  }
  span.skolkovo-logo {
    width: calc(100% - 75px);
    display: inline-block;
    vertical-align: top;
  }
}
@media only screen and (min-width: 768px){
  img.skolkovo-logo {
    width: 100%;
    max-width: 50px;
    display: block;
    vertical-align: top;
    margin-top: 30px;
  }
  span.skolkovo-logo {
    width: 100%;;
    display: inline-block;
    vertical-align: top;
  }
}

/* враппер */
/* .wrapper-smartcat18, html body .wrapper-smartcat18, html.js body div.wrapper-smartcat18, html body.html div.wrapper-smartcat18 {
    display: block;
    max-width: 1440px;
    width: 75vw;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
}
@media (max-width: 1280px) {
    .wrapper-smartcat18, html body .wrapper-smartcat18, html.js body div.wrapper-smartcat18, html body.html div.wrapper-smartcat18 {
        width: 90vw;
    }
}
@media (max-width: 991px) {
    nav .wrapper-smartcat18, html body nav .wrapper-smartcat18, html.js body nav div.wrapper-smartcat18, html body.html nav div.wrapper-smartcat18 {
        width: 100%;
        padding: 0 50px;
    }
}
@media (max-width: 959px) {
    .wrapper-smartcat18, html body .wrapper-smartcat18, html.js body div.wrapper-smartcat18, html body.html div.wrapper-smartcat18 {
        width: 100%;
        padding: 0 30px;
    }
}
@media (max-width: 749px) {
    .wrapper-smartcat18, html body .wrapper-smartcat18, html.js body div.wrapper-smartcat18, html body.html div.wrapper-smartcat18 {
        padding: 0 20px;
    }
}
@media (max-width: 480px) {
    .wrapper-smartcat18, html body .wrapper-smartcat18, html.js body div.wrapper-smartcat18, html body.html div.wrapper-smartcat18 {
        padding: 0 15px;
    }
} */

.wrapper-smartcat18, html body .wrapper-smartcat18, html.js body div.wrapper-smartcat18, html body.html div.wrapper-smartcat18 {
    display: block;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    padding: 0;
}
@media (min-width: 1601px) {
    .wrapper-smartcat18, html body .wrapper-smartcat18, html.js body div.wrapper-smartcat18, html body.html div.wrapper-smartcat18 {
        width: 1440px;
    }
}
@media (max-width: 1600px) {
    .wrapper-smartcat18, html body .wrapper-smartcat18, html.js body div.wrapper-smartcat18, html body.html div.wrapper-smartcat18 {
        width: 1170px;
    }
}
@media (max-width: 1199px) {
    .wrapper-smartcat18, html body .wrapper-smartcat18, html.js body div.wrapper-smartcat18, html body.html div.wrapper-smartcat18 {
        width: 970px;
    }
}
@media (max-width: 991px) {
    .wrapper-smartcat18, html body .wrapper-smartcat18, html.js body div.wrapper-smartcat18, html body.html div.wrapper-smartcat18 {
        width: 750px;
    }
}
@media (max-width: 767px) {
    .wrapper-smartcat18, html body .wrapper-smartcat18, html.js body div.wrapper-smartcat18, html body.html div.wrapper-smartcat18 {
        width: 550px;
    }
}
@media (max-width: 559px) {
    .wrapper-smartcat18, html body .wrapper-smartcat18, html.js body div.wrapper-smartcat18, html body.html div.wrapper-smartcat18 {
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
    }
}






/*странная мазафака, которая ломала админ меню*/
#admin-menu-wrapper {
  overflow: visible !important;
}
/*странная мазафака, пикесель фейсбука зачем-то ломает подвал*/
.pub_300x250{
    display: none;
} 
.pub_300x250m {
    display: none;
} 
.pub_728x90{
    display: none;
} 
.text-ad{
    display: none;
} 
.textAd{
    display: none;
} 
.text_ad{
    display: none;
} 
.text_ads{
    display: none;
} 
.text-ads{
    display: none;
} 
.text-ad-links{
    display: none;
}
/* фигня для валидации формы (подсветка ошибок) */
.webform-client-form input.error {
    border-color: red;
    background-color: #ff00001f;
}
.webform-client-form input {
    box-shadow: none;
}
/* костыли для формы демо и чекбоксов */
.webform-component--check-demo {
    display: none;
}
