body { 
    font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, ::after, ::before {
    box-sizing: border-box;
}
header {
    background-color: #1d3164;    
    color: rgb(132, 151, 221);
    padding-top: 20px;    
}
.circle .ico-circle {     
    display: flex;
    float: left;
    width: 60px;
    height: 60px;
    border: 1px solid rgb(132, 151, 221);
    border-radius: 50%;
    margin-right: 7px; 
}
.circle .ico-circle i {    
    margin: auto;
    font-size: 320%;
    color: rgb(132, 151, 221);
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
}
.circle .ico-circle i::before{
  display:inline-block;  
}
.circle h4, .circle h5 {
    margin-top: 5px;
}
.circle h4 {
    font-size: 17px;
    color: #abbcf7;
}
.circle h5 {
    font-size: 14px;
}
/* ======= NAVBAR ========= */
.navbar .navbar-nav {
    display: inline-block;
    float: none;
    vertical-align: top;  
}
  
.navbar .navbar-collapse {
text-align: center; 
/* padding:8%; */
} 
.navbar-default {
    background-color:#374fa6;   
    border: 1px solid #233c97;
    border-bottom: 2px solid #233c97;
}
.navbar-default .navbar-nav>li>a {
    color: #fff; text-transform: uppercase; font-weight: 600; font-size: 15px; 
    letter-spacing: 1px;
    padding-left: 20px;
    padding-right: 20px;    
}
nav .hvr-shutter-out-horizontal {     
    background: transparent;    
}    
nav .hvr-shutter-out-horizontal:before {
    background: #e94258;     
}
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
color: #fff;
}
    
.navbar .spec-left { float: left;
}.navbar .spec-right { float: right; }

nav .showQuery {
    background-color: #e94258;     
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}
nav .divider-vertical{
    width: 1px;
    height: 40px;     
    margin: 5px 0;
    background-image: url('../img/nav_div.png');    
} 
/* SECTION */
section#about h1, section#news h1, section#contact h1{
    font-weight: bold; 
    font-size: 38px; 
    text-align: center;
    text-transform: uppercase;
}
#title {
    background-color: #1d3164;
    color: #fff;
    min-height: 500px;
}
#title h1 { font-weight: 600; font-size: 50px; }
#title h2 { font-weight: 600; font-size: 28px; text-transform: uppercase;}
#title h2 span { color: #afc7ff; font-weight: 600; font-size: 40px;}
#title h3 {color: #afc7ff; }
#title .bg_counter {
    min-height: 500px;
    border: 1px dashed #afc7ff;
    border-radius: 5px;
    background-image: url("../img/bg_counter.jpg");
}
#title .block {
  margin: 10% 3%;
}

#promo .col-md-6:first-child {
    background: url("../img/5.png") no-repeat scroll right center;
}
#promo{
    background-image: -moz-linear-gradient(90deg, #e1e0e4 0%, white 100%);
    background-image: -webkit-linear-gradient(90deg, #e1e0e4 0%, white 100%);
    background-image: -ms-linear-gradient(90deg, #e1e0e4 0%, white 100%);
}
#promo .col-md-6 { padding: 26px 0; min-height: 150px; }

#about p{ font-size: 18px; }
#about ul.fa-ul{ font-size: 18px; }
#about ul.fa-ul li{ padding-bottom: 10px; }
#about ul i { padding: 3px 0; }
#about ul i { color:  #5E94C3; }
#demo {margin: 0 10%;}
#service {
    background: url(../img/bg_service.png) repeat;
    background-attachment: scroll;
    background-position: center center;
}
#service p {font-size:18px;}
#service .panel-default { border-color: #ddd; border: 3px solid #e94258; }
#service .panel-default .panel-body { padding: 0;}
#service .ic_container { display: table; margin: 0 auto; vertical-align: baseline; position: relative; }
#service .ic_caption { position: absolute; overflow: hidden; margin: 1px 0; padding: 5px 0px; left: 0px; right: 0px; 
                       filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
                       font-size: 14px; background-color: rgba(233, 66, 88, 0.8); bottom: 0px;
}
#service .ic_caption h3 { color: #fff; text-transform: none; padding: 0px 4px 4px 4px; margin: 4px; font-size: 26px; font-weight: bold; }
#service h1, #quest h1 { background-color: #1D3164; text-align: center; text-transform: uppercase; font-weight: 600; color: #fff; border-bottom: 1px solid #203875;}
#service .btn-danger {text-transform: uppercase;}
#service .price tbody {font-size: 15px;}
#service .price tbody tr td:nth-child(2) { color: #e94258; font-weight: 600; text-align: center;}

#offer {
    background-color: rgba(233, 66, 88, 0.2);  
    color: #000    
}
#offer h1 { background-color: rgba(233, 66, 88, 1); text-align: center; text-transform: uppercase; font-weight: 600; color: #fff; }
#offer .panel-default { border-color: #ddd; border: 1px solid #e94258; border-radius: 2px;}
#offer .info { position: relative; border-top: 3px solid #374FA6;}
#offer .info > span { position: absolute; background-color: #374FA6; color: #fff; top: -2rem; padding: .20rem 1.825rem; font-size: 1.5rem; text-transform: uppercase;}
#offer .info > span b{ font-size: 2.5rem;}
#offer .panel-default .panel-body { padding: 0px;}

#quest {
    background: url(../img/bg_quest.png) repeat;
    background-attachment: scroll;
    background-position: center center;
  }
  
#quest .faqHeader {
    font-size: 27px;
    margin: 20px;
}
#quest .panel {margin-bottom: 10px;}
#quest .panel h4.panel-title {font-size: 18px;}
#quest .panel .panel-body {font-size: 16px;}

#quest .panel-heading [data-toggle="collapse"]:after {
    font-family: 'FontAwesome';
    content: "\f078"; /* "play" icon */
    float: right;
    color: #E94258;
    font-size: 18px;
    line-height: 22px;
}

#quest .panel-heading [data-toggle="collapse"].collapsed:after {    
    color: #4a68b5;
}

#opinion h1 { background-color: #fff; text-align: center; text-transform: uppercase; font-weight: 600; color: #000; border-bottom: 1px solid #eee;}
#opinion {
  background-color: #ececec;
  background-attachment: scroll;
  background-position: center center;
}

#contact ul h3 {margin-top: 10px;}
#contact ul h3 i { color: #1D3164; padding-right: 10px;}
#contact ul p { padding-left: 35px; font-size: 16px; }

#news .bg {
    background: #e1e1e1;
    border-radius: 5px;    
    padding: 20px;
    text-align: center;
}
#news .bg a {color:#337ab7; font-size: 16px; text-decoration: underline;}
#news .spec { color: #337ab7; }
   
#copyright {
    background: #191919;
}
#copyright .copyright-text {
color: #cac6c6;
margin-top: 15px; 
}
#copyright .copyright-text a {
transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-webkit-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
}
#copyright h4 { color: #cac6c6; }

/* SOCIAL */
ul.social-buttons {
    margin-bottom: 0;
}ul.social-buttons li a {
    font-size: 20px;
    line-height: 30px;

    display: block;

    width: 25px;
    height: 30px;

    -webkit-transition: all 0.3s;
       -moz-transition: all 0.3s;
            transition: all 0.3s;

    color: #888;
    outline: none;
}::-moz-selection {
    background: #50a2e5;
    text-shadow: none;
}::selection {
    background: #50a2e5;
    text-shadow: none;
}img::selection {
    background: transparent;
}img::-moz-selection {
    background: transparent;
}
/* MEDIA */
.media h3 { font-weight: 600; }
.media h3 span{ color: #ba0e0c; }
.media .media-left { padding: 18px 0; padding-right: 25px; }
.media .media-body p{ font-size:16px; line-height:24px;}
.media .media-body a{ font-weight:bold;}
.media-left, .media-right, .media-body { display: table-cell; vertical-align: top; }

#mobile-nav-toggle {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
    margin: 20px 20px 0 0;
    border: 0;
    background: none;
    font-size: 24px;
    display: none;
    transition: all 0.4s;
    outline: none;
    cursor: pointer;
  }
  
  #mobile-nav-toggle i {
    color: #fff;
  }
  
  /* Mobile Nav Styling */
  
  #mobile-nav {
    position: fixed;
    top: 0;
    padding-top: 18px;
    bottom: 0;
    z-index: 998;
    background: rgba(11, 14, 99, 0.8);
    left: -260px;
    width: 260px;
    overflow-y: auto;
    transition: 0.4s;
  }
  
  #mobile-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  #mobile-nav ul li {
    position: relative;
  }
  
  #mobile-nav ul li a {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    overflow: hidden;
    padding: 10px 22px 10px 15px;
    position: relative;
    text-decoration: none;
    width: 100%;
    display: block;
    outline: none;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
  }
  
  #mobile-nav ul li a:hover {
    color: #e94258;
  }
  
  #mobile-nav ul li li {
    padding-left: 30px;
  }
  
  #mobile-nav ul li.menu-active a {
    color: #e94258;
  }
  
  #mobile-nav ul .menu-has-children i {
    position: absolute;
    right: 0;
    z-index: 99;
    padding: 15px;
    cursor: pointer;
    color: #fff;
  }
  
  #mobile-nav ul .menu-has-children i.fa-chevron-up {
    color: #18d26e;
  }
  
  #mobile-nav ul .menu-has-children li a {
    text-transform: none;
  }
  
  #mobile-nav ul .menu-item-active {
    color: #18d26e;
  }
  
  #mobile-body-overly {
    width: 100%;
    height: 100%;
    z-index: 997;
    top: 0;
    left: 0;
    position: fixed;
    background: rgba(0, 0, 0, 0.7);
    display: none;
  }
  
  /* Mobile Nav body classes */
  
  body.mobile-nav-active {
    overflow: hidden;
  }
  
  body.mobile-nav-active #mobile-nav {
    left: 0;
  }
  
  body.mobile-nav-active #mobile-nav-toggle {
    color: #fff;
  }
 
.ui-splashscreen { position: fixed; left: 0; top: 0; bottom: 0; right: 0; overflow: hidden; background-color: #E0E0E0; z-index: 1000; transition: all 0.3s; color: #A0A0A0; }
.ui-splashscreen > div { display: table; width: 80%; height: 100%; margin: 0 auto; }
.ui-splashscreen-body { display: table-cell; vertical-align: middle; text-align: center; transition: all 0.5s; opacity: 0.5; transform: scale(1.4); }
.ui-splashscreen-body p { margin: 10px 0 0; font-size: 14px; padding: 0; }
.ui-splashscreen-animate .ui-splashscreen-body { opacity: 1; transform: scale(1); }
.ui-splashscreen-animate .fa-spin { animation-duration: 1.3s; }
.ui-splashscreen-animate { background-color: #FFF; }
.ui-splashscreen-removing { opacity: 0; transform: scale(0.5); }

@media (max-width: 768px) {    
    .logo img { width: 200px; }
}
@media (max-width: 600px) {
    #title {     
        /*min-height: 300px;*/
        height: 75vh;
        position: relative;
    }
    #title .bg_counter {
        min-height: 300px;
    }        
    #title h1 {     
        font-size: 40px;
    }
    #title h2 {        
        font-size: 20px;
        line-height: 30px;        
    }
    .block .pb20 {
        padding-bottom: 15px!important;
    }
    .block .pb30 {
        padding-bottom: 20px!important;
    }
    #promo .col-md-6:first-child {
        background: none;
    }
    .h3, h3 {
        font-size: 20px;
    }
    #about .mv70 {
        margin-top: 40px!important;
        margin-bottom: 40px!important;
    }
    #demo {
        width: 350px!important;
        height: 60px!important;
    }
    #mobile-nav-toggle {
        display: inline;
    }
    
    #title{ padding-top: 100px;}
    #header{              
        padding: 30px 0;  
        height: 92px;                
        top: 0;     
        right: 0;
        left: 0;                
        z-index: 900;                 
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
        backface-visibility: hidden;             
        -webkit-backface-visibility: hidden;             
        position: fixed;      
    }     
           
    #header.header-scrolled {               
        padding: 20px 0;
        height: 72px;
        transition: all 0.5s;       
    } 
    #mobile-nav .circle h5 {color: rgb(132, 151, 221)}    
    #mobile-nav .circle .ico-circle { width: 40px; height: 40px;  margin-left : 7px;}
    #mobile-nav .circle .ico-circle i { font-size: 180%; }
    /*#header.header-scrolled #logo img { margin: 10px; }
    #header #logo img { width: 60%; padding: 0; margin: 0; }
    #header.header-scrolled #logo img { margin: 8px 0; }*/
    #header #logo img { width: 70%; padding: 0; margin: 0; }
    #header #logo h1 { font-size: 28px; margin: 0; padding: 0;}    
    #header #logo { float: left; }
    #vk_groups {width: auto !important; margin-bottom:10px}    
}