body{
    background: #ade9f4;
    position: relative;
    min-width: 1024px;
}

body.internal{
    padding-top: 60px;
    background: url("../img/nature_background.jpg") repeat-x #ade9f4;
    min-width: 1024px;
}

.background-top{
    background: url("../img/nature_background.jpg") repeat-x;
    background-size: cover;
    background-position: top center;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0px !important;
}


#nav{
    position: absolute;
    top: 200px;
    width: 100%;
    z-index: 99;
    opacity: .8;
    padding-left: 10%;
    padding-right: 10%;
}

#nav.affix{
    top:0px;
    position: fixed;
    z-index: 10000;
    opacity: 1;
    padding:0px;
}
.background-bottom{
    height: 500px;
    padding-top: 190px;
    margin-top: 50px;
    background: url("../img/Nature_Background_with_Sky_Grass_and_Earth.jpg") repeat-x;
    background-position: 0px -164px;
    color: #FFF;
    font-size: 16px;
    font-family: 'PT Sans Narrow', sans-serif;
}
.background-bottom h2{
    font-family: 'PT Sans Narrow', sans-serif;
    opacity: .7;
    padding-bottom: 20px;
}
.background-bottom ul{
    list-style: none;
    margin: 0px 0px 0px 10px;
    padding: 0px;
}
.background-bottom a{
    color: #66afe9;
    border-bottom: 1px dotted ;
    text-decoration: none;
}
.background-bottom a:hover{
    text-decoration: none;
    border: none;
}
.background-bottom .text-center{
    padding-top: 30px;
}
.content{
    min-width: 1024px;
    background: url("../img/repeating-left.png");
    overflow: hidden;
    font-size: 20px;
    font-family: 'PT Sans Narrow', sans-serif;
}

.content.first{
    background: url("../img/sky_texture1973.png");
    background-size: cover;
    background-position: bottom center;
}

.content.nobg{
    background: none;
}

.content.first h1{
    color:#1249A1;
}
.content.first .col-sm-12{
    padding-bottom: 0px;
}
.content.first .col-sm-5 {
    min-height: 372px;
    z-index: 1;
}
.boy{
    opacity: 0;
}
.content.first .boy{
    position: absolute;
    width: 100%;
    bottom: -20px;
}
.content-advice h2,
.content.second h2{
    color: #F26524;
}
.content-map{
    background: none;
    position: relative;
}

.content-map .plane{
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1000;
    height: 170px;
}

.content-map h2{
    padding-left: 480px;
    font-size: 80px !important;
    color: #0088CB;
    z-index: 999;
}

.content-map .clouds{
    position: absolute;
    top:0px;
}


.content .col-sm-12{

    padding: 10px 20px;
}


.content h1,
.content h2,
.content h3{
    font-family: 'Neucha', sans-serif;
    text-shadow: 2px 2px 4px rgba(150, 150, 150, 1);
}
.content h1{
    font-size: 72px;
    color:#1249A1;
}

.content h2{
    font-size: 60px;
}

.content h3{
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 40px;
}

.content-advice{
    padding-bottom: 40px;
}

.advice-num{
    background: url("../img/page1.png") no-repeat;
    position: absolute;
    width: 140px;
    height: 214px;
    margin-left: -70px;
    left: 50%;
    z-index: -1;
    opacity: .4;
}

.advice-num.num1{
    background-position: 0px 0px;
}

.advice-num.num2{
    background-position: -152px 0px;
}

.advice-num.num3{
    background-position: 0px -210px;
}

#header{
    margin-top: 0px;
}
#header .main-logo{
    width: 200px;
    height: 176px;
    background: url("../img/0a1890_d341e551e8e446a0b1e5cd9aca72df53.png") 50% 50%;
    opacity: .8;
    background-position: center;
    background-size: cover;
}

#header address{
    color: #777;
}

.map-marker{
    opacity:.5;
    margin-right: 5px;
}

#header .info-cloud{
    float: right;
    height: 200px;
    background: url("../img/w512h5121371727566CloudIconPlainBlue.png") no-repeat;
    background-size: cover;
    background-position: 0px -44px;
    width: 320px;
    padding-top: 75px;
    text-align: center;
    color: #FFF;
    font-size: 16px;
    opacity: .9;

}
#header .info-cloud h2{
    font-size: 34px;
    color: #FC5;
    text-shadow: 1px 1px 5px #444;
    margin: 10px;
    font-family: 'Neucha', sans-serif;
}
#header .company-name{
    font-family: 'Rubik Mono One', sans-serif;
    font-size: 55px;
    text-shadow: 1px 1px 0px #FFF, 2px 2px 2px #5c5f72;
}

#header .company-descr{
    font-family: 'Neucha', cursive;
    font-size: 28px;
    padding-left: 10px;
    padding-top: 40px;
    line-height: 12px;
    color: #999;
}

#header .company-name i{
    font-style: normal;
}

/* BEGIN: Общие стили */
.menu,
.sub-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu li {
    background-color: #3E454D;
    cursor: pointer;
    position: relative;
    transition: background-color .5s;
    -moz-transition: background-color .5s;
    -o-transition: background-color .5s;
    -webkit-transition: background-color .5s;
    /* IE lt 10, Chrome lt 1, Opera lt 11.6, Safari lt 3, FF lt 4, Android lt 2.1 и iOS lt 2.0 не поддерэивают transition. */
}

.menu li:hover {
    background-color: #353B41 !important; /* .menu > li.home может иметь больше приоритета. Поэтому. */
}

.menu a {
    color: #FFF;
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    height: 100%;
    margin: 0 5px;
    overflow: hidden;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    word-wrap: break-word;

}

.menu a:hover {
    /* Защита от простого a:hover. */
    color: #FFF;
}
/* END: Общие стили */

/* BEGIN: Главное меню */
.menu {
    /* Рекомендуется задать высоту главного меню именно отсюда. */
    height: 60px;
}

.menu > li {
    float: left;
    height: 100%;
    width: 25%; /* Мудакам которые не поддерживают calc. */
    width: calc((100% - 90px) / 4);
    width: -moz-calc((100% - 90px) / 4);
    width: -webkit-calc((100% - 90px) / 4);
    /* IE lt 9, Chrome lt 19, Opera lt 15, Safari lt 6, FF lt 4, Android и iOS не поддерэивают calc. */
}

.menu > li.home {
    background: #3E454D url(http://s26.postimg.org/qbf4q4j9h/home.png) center no-repeat;
    width: 90px;
}

.menu > li.current {
    background-color: #F2762E !important; /* !important VS .menu li:hover */
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    /* IE lt 9, Chrome lt 1, Opera lt 10.5, Safari lt 3, FF lt 3.5, Android lt 2.1 и iOS lt 2.0 не поддерэивают box-shadow. */
}

.menu > li:not(:first-child) {
    box-shadow: inset 1px 0 0 0 #272B31, inset 2px 0 0 0 #434A52;
    -moz-box-shadow: inset 1px 0 0 0 #272B31, inset 2px 0 0 0 #434A52;
    -webkit-box-shadow: inset 1px 0 0 0 #272B31, inset 2px 0 0 0 #434A52;
}

.menu > li.home > a {
    color: transparent !important;
}

.menu > li > a > span {
    left: 0; /* Селектор .menu a выравнивает содержимое по центру, из-за чего span начинается от центра. Исправляем. */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    /* IE lt 9, Chrome lt 5, Opera lt 10.5, Safari lt 3.1, FF lt 3.5, Android lt 2.1 и iOS lt 2.0 не поддерэивают transform. */
}
/* END: Главное меню */

/* BEGIN: Подменю */
.sub-menu {
    max-height: 0;
    min-width: 100%;
    overflow: hidden;
    position: absolute;
    top: 100%;
    transition: max-height .5s .2s;
    -moz-transition: max-height .5s .2s;
    -o-transition: max-height .5s .2s;
    -webkit-transition: max-height .5s .2s;
}

li:hover > .sub-menu {
    max-height: 600px;
}

.sub-menu li {
    height: 60px;
}

.sub-menu a {
    line-height: 60px;
    transition: color .5s;
    -moz-transition: color .5s;
    -o-transition: color .5s;
    -webkit-transition: color .5s;
    white-space: nowrap;
}

.sub-menu li.current a,
.sub-menu a:hover {
    color: #F2762E !important; /* !important VS .menu a:hover */
}
/* END: Подменю */


.carousel, .carousel .item{
    height: 500px;
}

.carousel .item{
    background-size: cover;
    background-position: center center;
}

.carousel{
    box-shadow: 0px 2px 19px;
}

#clouds{
    position:absolute; top:0px;
    left:0px;
    padding: 100px 0;
}

/*Time to finalise the cloud shape*/
.cloud {
    width: 200px; height: 60px;
    background: #fff;

    border-radius: 200px;
    -moz-border-radius: 200px;
    -webkit-border-radius: 200px;

    position: relative;
    box-shadow: 1px 1px 100px #ccc;
}

.cloud:before, .cloud:after {
    content: '';
    position: absolute;
    background: #fff;
    width: 100px; height: 80px;
    position: absolute; top: -15px; left: 10px;

    border-radius: 100px;
    -moz-border-radius: 100px;
    -webkit-border-radius: 100px;

    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
    -moz-transform: rotate(30deg);

}

.cloud:after {
    width: 120px; height: 120px;
    top: -55px; left: auto; right: 15px;
}

/*Time to animate*/
.x1 {
    -webkit-animation: moveclouds 15s linear infinite;
    -moz-animation: moveclouds 15s linear infinite;
    -o-animation: moveclouds 15s linear infinite;
}

/*variable speed, opacity, and position of clouds for realistic effect*/
.x2 {
    left: 200px;

    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    transform: scale(0.6);
    opacity: 0.6; /*opacity proportional to the size*/

    /*Speed will also be proportional to the size and opacity*/
    /*More the speed. Less the time in 's' = seconds*/
    -webkit-animation: moveclouds 25s linear infinite;
    -moz-animation: moveclouds 25s linear infinite;
    -o-animation: moveclouds 25s linear infinite;
}

.x3 {
    left: -250px; top: -200px;

    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0.8; /*opacity proportional to the size*/

    -webkit-animation: moveclouds 20s linear infinite;
    -moz-animation: moveclouds 20s linear infinite;
    -o-animation: moveclouds 20s linear infinite;
}

.x4 {
    left: 470px; top: -250px;

    -webkit-transform: scale(0.75);
    -moz-transform: scale(0.75);
    transform: scale(0.75);
    opacity: 0.75; /*opacity proportional to the size*/

    -webkit-animation: moveclouds 18s linear infinite;
    -moz-animation: moveclouds 18s linear infinite;
    -o-animation: moveclouds 18s linear infinite;
}

.x5 {
    left: -150px; top: -150px;

    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0.8; /*opacity proportional to the size*/

    -webkit-animation: moveclouds 20s linear infinite;
    -moz-animation: moveclouds 20s linear infinite;
    -o-animation: moveclouds 20s linear infinite;
}

@-webkit-keyframes moveclouds {
    0% {margin-left: 1000px;}
    100% {margin-left: -1000px;}
}
@-moz-keyframes moveclouds {
    0% {margin-left: 1000px;}
    100% {margin-left: -1000px;}
}
@-o-keyframes moveclouds {
    0% {margin-left: 1000px;}
    100% {margin-left: -1000px;}
}

#back-top {
   visibility: hidden;
     position: fixed;
    z-index: 100;
    width: 100%;
    background: #000;
    height: 60px;
    bottom: 0px;
    overflow: hidden;
    margin: 0px;
    opacity: .9;
    font-family: 'PT Sans Narrow', sans-serif;
}
#back-top.affix,
#back-top.affix-bottom
{
    visibility: visible;
}

#back-top li{
    list-style: none;
}
#back-top .phone{
    color: #FFF;
    font-size: 40px;
    text-align: center;   
    line-height: 35px;
}

#back-top .label-phone{
    font-size: 18px;
    line-height: 20px;
    color: #FFF;
    text-align: center;
    opacity: .6;
}

#back-top .glyphicon{
    font-size: 30px;
    margin-right: 10px;
    opacity: .5;
}

#back-top i {
    font-size: 50%;
    line-height: 40px;
}


.govorun-button {
    -moz-box-shadow:inset 0px 50px 0px -24px #e67a73;
    -webkit-box-shadow:inset 0px 50px 0px -24px #e67a73;
    box-shadow:inset 0px 50px 0px -24px #e67a73;
    background-color:#E46855;
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
    border:1px solid #ffffff;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size:28px;
    padding:10px 67px;
    text-decoration:none;
    text-shadow:0px 1px 0px #b23e35;
}
.govorun-button:hover {
    background-color:#EB6A68;
    color: #FFF;
    text-decoration: none;
}
.govorun-button:active {
    position:relative;
    top:1px;
}


.govorun-button.advice{
    font-size: 26px;
    margin-top: 33px;
    margin-bottom: 22px;
    position: absolute;
    bottom: 500px;
    left: 50%;
    margin-left: -180px;
}

