/*--
Author: W3layouts
Author URL: http://w3layouts.com
Distributor: http://bootstraptema.ru/
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
--*/
body {
    font-family: 'Open Sans', sans-serif;
}

body a {
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -o-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

ul {
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-family: 'Voltaire', sans-serif;
}

p {
    margin: 0;
    padding: 0;
    color: #777;
}

/*--banner--*/
/*-- navigation --*/
.navbar {
    position: relative;
    min-height: 0;
    margin-bottom: 0;
    border: none;
}

.navbar-default {
    border: none;
    background-color: rgba(248, 248, 248, 0);
}

.navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.navbar-default .navbar-nav > li > a {
    color: #ffffff;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #fff;
    background-color: transparent;
}

.navbar-default .navbar-nav > li > a:focus {
    color: #fff;
}

.navbar-nav > li {
    float: left;
    margin: 0 10px;
}

.navbar-nav {
    margin: 0px;
}

.nav > li > a {
    text-align: center;
    font-size: 1.2em;
    position: relative;
    padding: 30px 0 !important;
    letter-spacing: 1px;
}

.logo {
    margin-bottom: 1em;
}

.logo a {
    border: 6px double #fff;
    padding: 0.2em 0.5em;
    border-radius: 50%;
    font-size: 3em;
    color: #fff;
    display: inline-block;
    text-decoration: none;
    background: #013040;
}

/*.navbar-right {*/
/*float: left !important;*/
/*}*/

/*-- Link Effect: bottom border enlarge --*/
.link-effect a {
    padding: 0 0 10px;
}

.link-effect a::after {
    position: absolute;
    top: 94%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    content: '';
    opacity: 0;
    -webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
    -moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
    transition: height 0.3s, opacity 0.3s, transform 0.3s;
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    transform: translateY(-10px);
}

.link-effect a:hover::after,
.link-effect a:focus::after {
    height: 5px;
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
}

/*-- /Link Effect: bottom border enlarge --*/
/*--navigation--*/
/*--banner--*/
.banner {
    background: url(../images/background_menu7.jpg) no-repeat 0px 0px;
    background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    -moz-background-size: cover;
    min-height: 887px;
    padding-bottom: 15px;
}

.banner-info {
    margin: 2em 0 0;
    float: none;
    text-align: center;
}

.banner-info h1 {
    font-size: 4em;
    color: #fff;
    margin: 0;
}

.banner-info h1 a {
    color: #fff;
}

.banner-info p {
    font-size: 16px;
    color: #fff;
    margin: 0.5em 0;
    line-height: 1.2em;
}

.about-w3, .team-w3l, .gallery, .testimonials-w3ls, .journal-w3l {
    padding: 5em 0;
}

/* Заголовок страниц */
.title-page {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 3.5em;
    color: #00a0af;
}

.about-grid h4 {
    font-size: 2em;
    text-transform: capitalize;
    color: #2F455D;
    padding: .3em 0;
}

.about-grid p {
    font-size: 1em;
    line-height: 1.8em;
    margin-top: 1em;
}

p.about-header {
    background-color: RGBA(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 30px;
    color: #333;
    margin-top: 110px;
    border: 1px solid RGBA(0, 0, 0, 0.5);
}

p.about-text {
    font-size: 1.1em;
    text-align: center;
    line-height: 1.8em;
}

.about-grids, .service-grids, .caption, .count-grids, .gallery-grids, .journal-grids {
    margin-top: 4em;
}

.about-top i {
    font-size: 1.2em;
    margin-right: 0.5em;
    color: #013040;
    vertical-align: sub;
}

.about-top span {
    background: #00a0af;
    width: 51%;
    height: 3px;
    display: block;
}

.services {
    background: #013040;
    padding: 5em 0;
}

.ser-left {
    float: left;
    width: 21%;
    margin-right: 2%;
}

.ser-right {
    float: left;
    width: 77%;
}

.ser-left-12 {
    width: 5%;
}

.ser-right-12 {
    width: 93%;
}

.ser-grid h4 {
    font-size: 2em;
    text-transform: capitalize;
    color: #fff;
}

p.about-services {
    font-size: 1.1em;
    text-align: center;
    width: 100%;
    margin: 2em auto 0;
    color: #fff;
    line-height: 1.8em;
}

.ser-grid p {
    font-size: 1em;
    line-height: 1.8em;
    margin-top: 1em;
    color: #eee;
}

.ser-left i {
    font-size: 24px;
    height: 64px;
    line-height: 64px;
    text-align: center;
    width: 64px;
    border-radius: 100%;
    color: #fff;
    box-shadow: inset 0 0 0 1px #d7d7d7;
    -webkit-box-shadow: inset 0 0 0 1px #d7d7d7;
    transition: background-color 400ms, background-color 400ms;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -o-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

/*--gallery--*/
.img-box, .info-box {
    display: block;
    width: 100%;
    height: 100%;
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}

.img-box img, .info-box img {
    display: block;
    position: relative;
    max-width: 100%;
    max-height: 100%;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.img-box {
    position: relative;
}

.info-box {
    top: 0;
    left: 0;
    position: absolute;
}

.info-box .info-content {
    display: block;
    position: relative;
    padding: 0%;
    float: left;
    left: 50%;
    top: 50%;
    position: relative;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.separator {
    display: block;
    position: relative;
    height: 1px;
    width: 100%;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.5);
    clear: both;
}

.content-grid-effect {
    display: block;
    position: relative;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -ms-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
    overflow: hidden;
}

.content-grid-effect .info-content {
    z-index: 2 !important;
    filter: alpha(opacity=0);
    -wekbit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.content-grid-effect .img-box:after, .content-grid-effect .img-box:before, .content-grid-effect .info-box:after, .content-grid-effect .info-box:before {
    content: "";
    display: block;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -ms-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    filter: alpha(opacity=0);
    -wekbit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
}

.content-grid-effect.horizontal .img-box:before {
    top: 0;
    left: 0;
    width: 100%;
    height: 25%;
    -webkit-transform: rotateX(90deg);
    -moz-transform: rotateX(90deg);
    -ms-transform: rotateX(90deg);
    -o-transform: rotateX(90deg);
    transform: rotateX(90deg);
}

.content-grid-effect.horizontal .img-box:after {
    top: 25%;
    left: 0;
    width: 100%;
    height: 25%;
    -webkit-transform: rotateX(90deg);
    -moz-transform: rotateX(90deg);
    -ms-transform: rotateX(90deg);
    -o-transform: rotateX(90deg);
    transform: rotateX(90deg);
}

.content-grid-effect.horizontal .info-box:after {
    top: 50%;
    left: 0;
    width: 100%;
    height: 25%;
    -webkit-transform: rotateX(90deg);
    -moz-transform: rotateX(90deg);
    -ms-transform: rotateX(90deg);
    -o-transform: rotateX(90deg);
    transform: rotateX(90deg);
}

.content-grid-effect.horizontal .info-box:before {
    top: 75%;
    left: 0;
    width: 100%;
    height: calc(25% + 1px);
    -webkit-transform: rotateX(90deg);
    -moz-transform: rotateX(90deg);
    -ms-transform: rotateX(90deg);
    -o-transform: rotateX(90deg);
    transform: rotateX(90deg);
}

.content-grid-effect.vertical .img-box:before {
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    -webkit-transform: rotateY(90deg);
    -moz-transform: rotateY(90deg);
    -ms-transform: rotateY(90deg);
    -o-transform: rotateY(90deg);
    transform: rotateY(90deg);
}

.content-grid-effect.vertical .img-box:after {
    top: 0;
    left: 25%;
    width: 25%;
    height: 100%;
    -webkit-transform: rotateY(90deg);
    -moz-transform: rotateY(90deg);
    -ms-transform: rotateY(90deg);
    -o-transform: rotateY(90deg);
    transform: rotateY(90deg);
}

.content-grid-effect.vertical .info-box:after {
    top: 0;
    left: 50%;
    width: 25%;
    height: 100%;
    -webkit-transform: rotateY(90deg);
    -moz-transform: rotateY(90deg);
    -ms-transform: rotateY(90deg);
    -o-transform: rotateY(90deg);
    transform: rotateY(90deg);
}

.content-grid-effect.vertical .info-box:before {
    top: 0;
    left: 75%;
    width: calc(25% + 1px);
    height: 100%;
    -webkit-transform: rotateY(90deg);
    -moz-transform: rotateY(90deg);
    -ms-transform: rotateY(90deg);
    -o-transform: rotateY(90deg);
    transform: rotateY(90deg);
}

.content-grid-effect:hover .img-box:after, .content-grid-effect:hover .img-box:before, .content-grid-effect:hover .info-box:after, .content-grid-effect:hover .info-box:before {
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    transform: rotateX(0deg);
    filter: alpha(opacity=100);
    -wekbit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
}

.content-grid-effect:hover .info-content {
    filter: alpha(opacity=100);
    -wekbit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
}

.slow-zoom .img-box {
    z-index: 0;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 2.2s ease-in-out;
    -moz-transition: all 2.2s ease-in-out;
    -ms-transition: all 2.2s ease-in-out;
    -o-transition: all 2.2s ease-in-out;
    transition: all 2.2s ease-in-out;
}

.slow-zoom:hover .img-box {
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
    transform: scale(1.5);
}

.slow-zoom {
    display: block;
    overflow: hidden;
    position: relative;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.content-grid-effect {
    box-shadow: 0px 0px 14px 0px #DCDCDC;
    padding: 7px 7px;
}

.info-content h4 {
    color: #fff;
    text-decoration: none;
    font-size: 2em;
}

.info-content p {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    line-height: 2em;
    width: 90%;
    margin: 0 auto;
}

.gal_mar {
    margin-top: 2em;
}

/*--gallery--*/
.testimonials-grids {
    margin-top: 3em;
    background: #013040;
    padding: 2em;
}

.testimonials-grid p {
    font-size: 1em;
    line-height: 2em;
    color: #eee;
}

.testimonials-grids img {
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -o-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
}

.testimonials-grid h5 {
    font-size: 1.8em;
    color: #fff;
    text-transform: capitalize;
    margin: .5em 0 0 2em;
}

h3.tittle1 {
    text-align: center;
    font-size: 3.5em;
    color: #fff;
}

.count-agileits {
    background: url(../images/ba1.jpg) no-repeat 0px 0px;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    min-height: 355px;
    text-align: center;
    padding: 5em 0;
}

.count-grid span {
    background: #eee;
    display: block;
    width: 65px;
    height: 2px;
    margin: 0 auto;
}

.count-grid h4 {
    font-size: 4em;
    color: #fff;
}

.count-grid h5 {
    font-size: 1.2em;
    color: #eee;
    margin-top: 1em;
}

.count-grid i {
    font-size: 2em;
    color: #fff;
    width: 70px;
    height: 70px;
    border: 3px double #fff;
    border-radius: 50px;
    padding-top: 0.7em;
}

.numscroller {
    font-size: 2.5em;
    color: #fff;
    font-family: 'PT Sans Narrow', sans-serif;
    padding: 0.3em 0;
}

.slider {
    position: relative;
    text-align: center;
    width: 100%;
}

.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}

.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.callbacks_tabs a:after {
    content: "\f111";
    font-size: 0;
    font-family: FontAwesome;
    visibility: visible;
    display: block;
    height: 8px;
    width: 8px;
    display: inline-block;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
}

.callbacks_here a:after {
    border: 2px solid #FFF;
    background: transparent;
}

.callbacks_tabs a {
    visibility: hidden;
}

.callbacks_tabs li {
    display: inline-block;
}

ul.callbacks_tabs.callbacks1_tabs {
    position: absolute;
    bottom: 29px;
    z-index: 999;
    left: 46%;
    display: none;
}

.callbacks_nav {
    position: absolute;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    top: 73%;
    left: 15%;
    opacity: 0.7;
    z-index: 3;
    text-indent: -9999px;
    overflow: hidden;
    text-decoration: none;
    height: 61px;
    width: 38px;
    margin-top: -45px;
}

.callbacks_nav.next {
    left: auto;
    background-position: right top;
    right: 15%;
}

.caption {
    margin-top: 3em;
}

.caption h4 {
    padding: 0.6em 0;
    font-size: 2em;
    color: #00a0af;
}

.cap p {
    font-size: 1em;
    line-height: 1.8em;
}

.caption h5 {
    font-size: 1.5em;
}

.cap-left img {
    border: 2px solid #343237;
    padding: .5em;
    box-shadow: 0 0 5px #c3c3c3;
}

.social-icons {
    margin-top: 1.5em;
}

.social-icons a i {
    width: 32px;
    height: 32px;
    background: #013040 url(../images/img-sprite.png) no-repeat 0px 0px;
    display: inline-block;
    margin: 0 0.2em;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
    border-radius: 50px;
}

.social-icons i.icon:hover {
    background: #00a0af url(../images/img-sprite.png) no-repeat 0px 0px;
    transform: rotateY(360deg);
}

.social-icons i.icon {
    background-position: 0px 0px;
}

.social-icons i.icon1 {
    background-position: -32px 0px;
}

.social-icons i.icon1:hover {
    background: #00a0af url(../images/img-sprite.png) no-repeat -32px 0px;
    transform: rotateY(360deg);
}

.social-icons i.icon2 {
    background-position: -64px 0px;
}

.social-icons i.icon2:hover {
    background: #00a0af url(../images/img-sprite.png) no-repeat -64px 0px;
    transform: rotateY(360deg);
}

.social-icons i.icon3 {
    background-position: -96px 0px;
}

.social-icons i.icon3:hover {
    background: #00a0af url(../images/img-sprite.png) no-repeat -96px 0px;
    transform: rotateY(360deg);
}

/*--news--*/
.jou-left {
    float: left;
    width: 18%;
    background: #013040;
    text-align: center;
    margin-right: 5%;
    padding: 1em;
    border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
    -o-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
}

/*.jou-right {*/
/*float: left;*/
/*}*/

.jou-text {
    margin-top: 1em;
}

.jou-left span {
    display: block;
}

.journal-grid h5 {
    font-size: 1.5em;
    color: #fff;
}

.journal-grid h4 a {
    font-size: 1.5em;
    color: #00a0af;
    /*padding-top: .8em;*/
    display: block;
    text-decoration: none;
}

p.jour-link a {
    font-size: 1em;
    color: #777;
    text-decoration: none;
}

.journal-grid p {
    font-size: 1em;
    color: #777;
    padding: 1em 0;
    line-height: 1.8em;
}

.news-gr p {
    font-size: 1em;
    line-height: 1.8em;
    color: #777;
    padding-top: 1em;
    width: 90%;
    margin: 0 auto;
}

.news-gr img {
    margin: 0 auto 1em;
}

p.jour-link a:hover {
    color: #00a0af;
}

/*--news--*/
/*--footer--*/
.footer {
    background: #002E3F;
    padding: 5em 0 1em;
    margin-top: 40px;
}

.footer h4 {
    color: #fff;
    font-size: 1.9em;
    text-transform: uppercase;
    line-height: 1.2em;
    margin: 0 0 1em;
    text-align: center;
}

.footer-middle {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    text-align: center;
    float: left;
    width: 56%;
}

.footer-top {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 2em 0;
}

.show {
    padding: 5em 0;
}

.footer input[type="text"], .footer textarea {
    font-size: 0.9em;
    width: 96%;
    padding: 0.8em 0.5em;
    margin: 0.5em 0;
    outline: none;
    background: none;
    color: #fff;
    border: 1px solid #eee;
    display: block;
    border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
    -o-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    font-family: 'Open Sans', sans-serif;
}

.footer input[type="submit"] {
    padding: 9px 20px;
    font-size: 1em;
    outline: none;
    border: none;
    color: #fff;
    background: #00a0af;
    /*float: left;*/
    text-transform: uppercase;
    border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
    -o-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    font-family: 'Open Sans', sans-serif;
}

.footer input[type="submit"]:hover {
    background: #fff;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
    -moz-transition: 0.5s all;
    color: #222;
}

.footer textarea {
    resize: none;
    width: 100%;
    min-height: 104px;
}

.ft-lt {
    float: left;
    width: 50%;
}

.ft-rgt {
    float: right;
    width: 50%;
}

.footer-left address {
    margin-bottom: 20px;
    font-style: normal;
    line-height: 1.8em;
    color: #eee;
    text-align: center;
    font-size: 0.95em;
}

.footer p {
    font-size: 0.9em;
    line-height: 1.8em;
    margin: 0.3em 0;
    color: #eee;
}

.footer p a {
    color: #fff;
}

.footer p a:hover {
    color: #fff;
}

.footer-text {
    margin: 2em 0 0;
    text-align: center;
}

.footer-left {
    text-align: center;
    width: 22%;
    float: left;
}

.copyright {
    background-color: #9E8FD7;
    padding: 1em 1em;
    text-align: center;
}

.copyright p {
    font-weight: 400;
    color: #fff;
    font-size: 0.9em;
}

.copyright p a {
    color: #fff;
}

.copyright p a:hover {
    text-decoration: underline;
}

#toTop {
    display: none;
    text-decoration: none;
    position: fixed;
    bottom: 10px;
    right: 10px;
    overflow: hidden;
    width: 48px;
    height: 48px;
    border: none;
    text-indent: -100%;
    background: url("../images/top.png") no-repeat 0px 0px;
}

/*responsive*/
@media (max-width: 1440px) {
    .banner {
        min-height: 792px;
    }
}

@media (max-width: 1366px) {
    .banner {
        min-height: 756px;
    }

    .banner-info {
        margin: 2em 0 0;
    }
}

@media (max-width: 1280px) {
    .banner {
        min-height: 702px;
    }

    .banner-info {
        margin: 2em 0 0;
    }
}

@media (max-width: 1080px) {
    .banner-info {
        margin: 2em 0 0;
    }

    .logo a {
        font-size: 2.2em;
    }

    .banner {
        min-height: 590px;
    }
    
    .title-page {
        font-size: 3em;
    }

    .about-grid h4, .ser-grid h4, .caption h4, .footer h4, .info-content h4 {
        font-size: 1.8em;
    }

    p.about-text, p.about-services {
        font-size: 1em;
    }

    p.about-header {
        margin-top: 20px;
    }

    .about-grid p, .ser-grid p, .testimonials-grid p, .cap p, .journal-grid p, .info-content p {
        font-size: 0.965em;
    }

    .ser-left {
        float: left;
        width: 25%;
    }

    .ser-right {
        float: left;
        width: 73%;
    }

    .ser-left-12 {
        float: left;
        width: 6%;
    }

    .ser-right-12 {
        float: left;
        width: 92%;
    }

    .jou-left {
        float: left;
        width: 21%;
    }
}

@media (max-width: 991px) {
    .banner-info h1 {
        font-size: 3.5em;
    }

    .banner {
        min-height: 546px;
    }

    .banner-info {
        margin: 2em 0 0;
    }

    .banner-info p {
        font-size: 1.3em;
    }

    .about-grid {
        float: left;
        width: 33.3%;
    }

    .about-w3, .team-w3l, .gallery, .testimonials-w3ls, .journal-w3l, .count-agileits, .services {
        padding: 4em 0;
    }

    .ser-grid {
        float: left;
        width: 33.3%;
    }

    .ser-left {
        float: left;
        width: 33%;
    }

    .ser-right {
        float: left;
        width: 65%;
    }

    .ser-left-12 {
        float: left;
        width: 9%;
    }

    .ser-right-12 {
        float: left;
        width: 89%;
    }

    .gal-left {
        float: left;
        width: 33.3%;
        padding: 0 6px;
    }

    .testimonials-grid1 {
        float: left;
        width: 20%;
    }

    .testimonials-grid {
        float: left;
        width: 80%;
    }

    .count-grid {
        float: left;
        width: 25%;
    }

    .cap-left {
        float: left;
        width: 25%;
        padding: 0 6px;
    }

    .journal-grid {
        float: left;
        width: 33.3%;
    }

    .journal-grid h5 {
        font-size: 1.2em;
    }

    .journal-grid h4 a {
        font-size: 1.2em;
    }

    .jou-left {
        float: left;
        width: 25%;
    }

    p.jour-link a {
        font-size: 0.96em;
    }
}

@media (max-width: 991px) {
    .navbar-nav > li {
        float: none;
        margin: 0;
        display: block;
    }

    .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        float: right;
        margin-top: 18px;
    }

    .navbar-default .navbar-toggle {
        border: none ! important;
        background: #00a0af;
    }

    .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
        background-color: #00a0af ! important;
    }

    .nav > li > a {
        padding: 15px 12px !important;
    }

    .navbar-default .navbar-collapse, .navbar-default .navbar-form {
        border-color: #B3A020 !important;
        background: #013040 !important;
    }

    .navbar-default .navbar-toggle .icon-bar {
        background: #fff !important;
    }

    .navbar-nav {
        margin: 0px;
    }

    .about-grid h4, .ser-grid h4, .caption h4, .footer h4 {
        font-size: 1.6em;
    }

    .about-w3, .team-w3l, .gallery, .testimonials-w3ls, .journal-w3l, .count-agileits, .services {
        padding: 3em 0;
    }

    p.about-services {
        width: 70%
    }

    .about-grids, .service-grids, .caption, .count-grids, .gallery-grids, .journal-grids {
        margin-top: 3em;
    }

    .about-grid p, .ser-grid p, .testimonials-grid p, .cap p, .journal-grid p.news-gr p {
        font-size: 0.95em;
    }

    .info-content p {
        line-height: 1.5em;
        font-size: 0.95em;
    }

    .separator {
        margin: 8px auto;
    }

    .testimonials-grid h5 {
        font-size: 1.5em;
    }

    .cap-left {
        float: left;
        width: 50%;
        padding: 0 10px;
    }

    .cap-left img {
        width: 100%;
    }

    .cap-left:nth-child(3), .cap-left:nth-child(4) {
        margin-top: 2em;
    }
}

@media (max-width: 667px) {
    .ser-left {
        float: left;
        width: 14%;
    }

    .ser-grid {
        width: 100%;
    }

    .ser-right {
        float: left;
        width: 84%;
    }

    .about-grid {
        float: left;
        width: 33.3%;
        padding: 0 2px;
    }

    .ser-grid:nth-child(2) {
        margin: 2em 0;
    }

    .about-grid p, .ser-grid p, .testimonials-grid p, .cap p, .journal-grid p, .news-gr p {
        font-size: 0.92em;
    }

    p.about-services {
        width: 73%;
        font-size: 0.95em;
    }

    .jou-left {
        float: left;
        width: 30%;
    }

    .social-icons a i {
        margin: 0 0em;
    }
}

@media (max-width: 640px) {
    .banner-info h1 {
        font-size: 3em;
    }

    .nav > li > a {
        padding: 12px 12px !important;
        font-size: 1em;
    }

    .banner {
        min-height: 450px;
    }

    .banner-info {
        margin: 2em 0 0;
    }

    .banner-info p {
        font-size: 1.2em;
    }

    .about-grid h4, .ser-grid h4, .caption h4, .footer h4 {
        font-size: 1.5em;
    }

    .gal-left {
        float: left;
        width: 50%;
        padding: 0 6px;
        margin-bottom: 18px;
    }

    .about-grid {
        float: left;
        width: 33.3%;
        padding: 0 1px;
    }

    p.about-services {
        width: 77%;
    }
    
    .title-page {
        font-size: 2.8em;
    }

    /*.gal_mar {*/
    /*margin-top: 0;*/
    /*}*/
    .jou-left {
        float: left;
        width: 40%;
    }

    .journal-grid h4 a {
        font-size: 1.1em;
    }

    .footer {
        padding: 3em 0 1em;
    }

    .footer-left {
        width: 100%;
    }

    .footer-middle {
        text-align: center;
        width: 100%;
        margin: 1em 1em 2em 0em;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
        border-left: none;
        border-right: none;
        padding: 1em 0;
    }
}

@media (max-width: 568px) {
    .about-grid {
        width: 100%;
        text-align: center;
    }

    .about-top span {
        width: 25%;
        margin: 0 auto;
    }

    .about-grid:nth-child(2) {
        margin: 2em 0;
    }

    p.about-services {
        width: 87%;
    }

    .numscroller {
        font-size: 2em;
    }

    .count-grid h5 {
        font-size: 1.1em;
    }

    .journal-grid h4 a {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .banner {
        background: url(../images/background_menu7.jpg) no-repeat -150px 0px;
        background-size: cover;
    }
    
    .title-page {
        font-size: 2.5em;
    }

    .about-w3, .team-w3l, .gallery, .testimonials-w3ls, .journal-w3l, .count-agileits, .services {
        padding: 2em 0;
    }

    .about-grids, .service-grids, .caption, .count-grids, .gallery-grids, .journal-grids {
        margin-top: 2em;
    }

    .ser-left {
        float: left;
        width: 20%;
    }

    .ser-right {
        float: left;
        width: 77%;
    }

    .banner-info p {
        font-size: 1em;
    }

    .testimonials-grid1 {
        width: 100%;
    }

    .testimonials-grid1 img {
        margin: 0 auto;
        width: 40%;
    }

    .testimonials-grid {
        width: 100%;
    }

    .test {
        margin-top: 2em;
    }

    .test1 {
        margin-bottom: 2em;
    }

    .count-grid {
        float: left;
        width: 50%;
    }

    .count-grid:nth-child(3), .count-grid:nth-child(4) {
        margin-top: 2em;
    }

    .journal-grid {
        width: 100%;
    }

    .jou-left {
        float: left;
        width: 18%;
    }

    .journal-grid h4 a {
        font-size: 1.2em;
    }

    .journal-grid:nth-child(2) {
        margin: 2em 0;
    }

    .footer textarea {
        min-height: 90px;
    }
}

@media (max-width: 414px) {
    .banner {
        background: url(../images/background_menu7.jpg) no-repeat -150px 0px;
        background-size: cover;
        min-height: 400px;
    }

    .logo a {
        font-size: 1.8em;
    }

    .banner-info {
        margin: 2em 0 0;
    }

    .gal-left {
        width: 100%;
    }

    .testimonials-grid1 img {
        margin: 0 auto;
        width: 50%;
    }

    .footer input[type="submit"] {
        font-size: 0.95em;
    }

    @media (max-width: 384px) {
        .banner-info h1 {
            font-size: 2.8em;
        }
        
        .title-page {
            font-size: 2.3em;
        }

        .ser-left {
            float: left;
            width: 25%;
        }

        .ser-right {
            float: left;
            width: 73%;
        }

        .banner {
            background: url(../images/background_menu7.jpg) no-repeat -150px 0px;
            background-size: cover;
            min-height: 380px;
        }

        .ft-lt {
            width: 100%;
        }

        .footer input[type="text"], .footer textarea {
            width: 100%;
        }

        .ft-rgt {
            width: 100%;
        }
    }
    @media (max-width: 375px) {
        p.about-text, p.about-services {
            width: 100%;
            margin: 1em auto 0;
        }

        p.about-text {
            padding: 10px;
        }

        .testimonials-grids {
            margin-top: 2em;
            padding: 1em;
        }

        .footer-middle {
            margin: 1em 1em 1em 0em;
        }

        .footer-top {
            padding: 1em 0;
        }
    }
    @media (max-width: 320px) {
        .about-grid, .test1, .testimonials-grid, .journal-grid {
            padding: 0;
        }

        .ser-left {
            width: 100%;
            margin-bottom: 1em;
        }

        .ser-right {
            width: 100%;
        }

        .ser-grid {
            text-align: center;
            padding: 0;
        }

        .testimonials-grid1 img {
            margin: 0 auto;
            width: 65%;
        }

        .cap-left {
            width: 100%;
            padding: 0;
        }

        .cap-left:nth-child(2) {
            margin-top: 2em;
        }

        .jou-left {
            float: left;
            width: 25%;
        }
    }
}

.logo-style img {
    width: 200px;
}

.news-block {
    overflow: hidden;
}

.img-news {
    height: 200px;
    max-width: none;
    margin: 0 auto;
}

.service-icons {
    width: 64px;
}

.ser-left i {
    line-height: 50px;
}

.service-icons {
    width: 38px;
}

.documents img {
    width: 25px;
    margin-right: 10px;
}

.documents {
    font-size: 1.3em;
}

.documents > p {
    padding-bottom: 10px;
}

.ser-grid-12 {
    width: 100%;
}

/*лого в меню*/
.logo-menu {
    width: 110px;
    float: left;
    margin-right: 20px;
    margin-top: 5px;
}

.menu-title {
    font-size: 14px;
    color: #333;
    letter-spacing: 2px;
}

.menu-name {
    font-size: 46px;
    color: #fff;
    line-height: 46px;
    float: left;
    padding-top: 16px;
}

.banner-info span {
    font-size: 26px;
    position: relative;
    top: 2px;
}

/*СХЛОПЫВАНИЕ МЕНЮ BOOTSTRAP*/
@media (min-width: 992px) {
    .navbar-collapse.collapse {
        display: block !important;
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
    }
}

@media (min-width: 992px) {
    .navbar-toggle {
        display: none;
    }
}

@media (max-width: 991px) {
    .navbar-toggle {
        display: block;
    }
}

@media (min-width: 992px) {
    .navbar-header {
        float: left;
    }
}

@media (max-width: 991px) {
    .navbar-header {
        float: none;
    }
}

/*logo*/

@media (max-width: 768px) {
    .logo-menu {
        width: 70px;
    }
}

@media (max-width: 425px) {
    .logo-menu {
        width: 60px;
    }
}

@media (max-width: 1199px) and (min-width: 990px) {
    ul.navbar-nav.navbar-right {
        display: flex;
        width: 100%;
        justify-content: center;
    }
}

.jou-left {
    padding: 1em 0;
}

.team-img-style {
    border: 2px solid #343237;
    padding: .5em;
    box-shadow: 0 0 5px #c3c3c3;
}

.img-box {
    overflow: hidden;
    display: flex;
    justify-content: center;
    height: 200px;
}

.img-box > img {
    width: 100%;
    align-self: center;
    max-height: none;
}

.footer textarea {
    min-height: 147px;
}

.sacrifice {
    position: fixed;
    bottom: 10px;
    left: 10px;
}

@media (max-width: 320px) {
    .gal_mar {
        margin-top: 1em;
    }

    .img-box {
        height: 160px;
    }
}

/*крестик на модельном окне*/
.close {
    font-size: 36px;
}

.btn-sacrifice {
    background-color: #00a0af;
    border-color: #008190;
}

.btn-sacrifice:hover,
.btn-sacrifice:focus {
    background-color: #008190;
    border-color: #006f7e;
}

/* лояут на внутренних стараницах */

.banner-inside {
    background: linear-gradient(#4264c3, #717ea8);
    background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    -moz-background-size: cover;
    padding-bottom: 15px;
}

@media (min-width: 768px) {
    .navbar-nav {
        width: 100%;
        text-align: center;
    }

    .navbar-nav > li {
        float: none;
        display: inline-block;
    }
}

/* страница списка новостей */

.image-news {
    width: 50%;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

a.list-news:hover p {
    color: #333;
}

a.list-news {
    text-decoration: none;
}

.head-news {
    margin-bottom: 20px;
}

.block-news {
    background-color: #f9f9f9;
    padding: 15px;
}

.news-img {
    width: 30%;
    float: left;
    padding-right: 15px;
    padding-bottom: 15px;
}

@media (max-width: 992px) {
    .news-img {
        width: 50%;
    }
}

@media (max-width: 650px) {
    .news-img {
        width: 100%;
        padding-right: 0;
    }

    .image-news {
        width: 100%;
    }
}

.time {
    margin-bottom: 10px;
}

/* на главной ссылка на все новости */
.journal-grids {
    margin-bottom: 20px;
}

/* траница с благодарностью после отправки обратной связи */

.site-thanks {
    background: url("../images/candle50.png") no-repeat center;
    height: 355px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px
}

.modal-header {
    min-height: 55px;
}

@media (max-width: 450px) {
    .site-thanks {
        background-size: 300px;
        height: 300px;
    }

    .title-thanks {
        font-size: 25px;
    }
}