* {
    font-family: 'Ubuntu', sans-serif;
}

#logo {
    margin-bottom: 30px;
    display: block;
    text-decoration: none;
    border-bottom: 0;
}

#header {
    padding: 20px 0 40px;
    background: url("/static/css/images/bg01.png");
}

#header a#name {
    margin-top: 0;
    font-size: 2.5em;
    letter-spacing: -0.025em;
    border: 0;
    line-height: 100%;
    display: block;
    transition: color 0.3s ease;
}

#header a#name:hover {
    color: #37c0fb;
    text-decoration: none;
}

#header a#name h1 {
    margin-top: 10px;
    font-weight: bold;
    font-size: 30pt;
}

#header small {
    font-size: 12pt;
}

#header a#name {
    color: #444;
}

.why {
    background: url("/static/css/images/bg01.png");
    margin-bottom: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

.big-icon {
    text-align: center;
    cursor: default;
    background-color: #37c0fb;
    background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)), url("images/bg01.png");
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)), url("images/bg01.png");
    background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)), url("images/bg01.png");
    background-image: linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)), url("images/bg01.png");
    color: #fff;
    border-radius: 100%;
    display: block;
    width: 3em;
    height: 3em;
    line-height: 3.2em;
    box-shadow: 0 0 0 7px white, 0 0 0 8px #e0e0e0;
    font-size: 30pt;
}

#center {
    padding: 0;
    /* margin-top: 40px; */
    margin-bottom: 50px;
}

#center.jumbotron {
    /*height: 396px;*/
    overflow: hidden;
}

.contacts {
    font-size: 18pt;
    margin-top: 20px;
}

@media screen and (max-width: 760px) {
    .contacts {
        margin-top: 0;
    }
}

#nav {
    cursor: default;
    background-color: #333;
    background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)), url("/static/css/images/bg01.png");
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)), url("/static/css/images/bg01.png");
    background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)), url("/static/css/images/bg01.png");
    background-image: linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)), url("/static/css/images/bg01.png");
    padding: 0;
    min-width: 1260px;
}

#nav li {
    /* width: 20%; */
    float: left;
    display: inline-block;
    position: relative;
}

#nav a {
    width: 100%;
    display: inline-block;
    text-align: center;
    padding: 15px;
    float: left;
    font-size: 16pt;
    color: #f6f6f6;
    font-weight: normal;
    transition: color ease 0.5s;
}

#nav a:hover {
    text-decoration: none;
    color: #2DA0D0;
    transition: color ease 0.3s;
}

#nav li.active::before {
    -moz-transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
    width: 0.75em;
    height: 0.75em;
    content: '';
    display: block;
    position: absolute;
    bottom: -0.5em;
    left: 50%;
    margin-left: -0.375em;
    background-color: #2FA4D6;
    background-image: url("images/bg01.png");
}

#nav:after {
    content: '';
    display: block;
    width: 100%;
    height: 0.75em;
    background-color: #2FA4D6;
    background-image: url("images/bg01.png");
}

#navigation {
    margin: 0 0 0 0;
    padding: 0;
}

@media screen and (min-device-width: 1024px) {
    .collapsed {
        height: 460px;
        pointer-events: none;
        overflow: hidden;
        position: relative;
        padding-top: 10px;
        transition: all 0.3s;
    }

    .collapsed.show {
        transition: all 0.3s;
        padding-bottom: 20px;
    }

    .collapsed:not(.show) {
        height: 300px !important;
    }

    .collapsed::after {
        content: "\e234";
        display: block;
        text-align: center;
        background: -moz-linear-gradient(top, rgba(254, 255, 255, 0) 0%, rgba(255, 255, 255, 0.52) 13%, rgba(255, 255, 255, 0.76) 19%, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 1) 26%);
        background: -webkit-linear-gradient(top, rgba(254, 255, 255, 0) 0%, rgba(255, 255, 255, 0.52) 13%, rgba(255, 255, 255, 0.76) 19%, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 1) 26%);
        background: linear-gradient(to bottom, rgba(254, 255, 255, 0) 0%, rgba(255, 255, 255, 0.52) 13%, rgba(255, 255, 255, 0.76) 19%, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 1) 26%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00feffff', endColorstr='#ffffff', GradientType=0);
        width: 100%;
        height: 60px;
        position: absolute;
        bottom: 0;
        font-size: 22pt;
        font-family: 'Glyphicons Halflings';
        cursor: pointer;
        transition: color, 0.8s;
        pointer-events: all;
    }

    .collapsed:hover::after {
        color: #2DA0D0;
        transition: color, 0.8s;
    }

}

#submain {
    overflow: hidden;
}

#submain ul {
    /* text-align: center; */
    list-style: none;
    padding: 0;
}

#submain ul li {
    /* text-align: center; */
    list-style: none;
    margin: 7px 0;
}

#submain ul li::before {
    content: '- ';
}

#submain ul li::after {
    content: ' -';
}

.btn-default {
    -webkit-transition: background 0.4s ease;
    -moz-transition: background 0.4s ease;
    -ms-transition: background 0.4s ease;
    -o-transition: background 0.4s ease;
    transition: background 0.4s ease;
}

.btn-default:hover {
    background: #2DA0D0;
    color: #fff;
    border-color: #2DA0D0;
    -webkit-transition: background 0.4s ease;
    -moz-transition: background 0.4s ease;
    -ms-transition: background 0.4s ease;
    -o-transition: background 0.4s ease;
    transition: background 0.4s ease;
}

a#zayavka {
    color: #333;
    transition: color, 0.8s;
}

a#zayavka:hover {
    text-decoration: none;
    color: #2DA0D0;
    transition: color, 0.8s;
}

a[href^='mailto:'], a[href^='tel:'], a[href^='https:'] {
    color: #333;
    transition: color, 0.8s;
}

a[href^='mailto:']:hover, a[href^='tel:']:hover, a[href^='https:']:hover {
    text-decoration: none;
    color: #2DA0D0;
    transition: color, 0.8s;
}

.carousel-indicators {
    bottom: 0;
}

.carousel-indicators li {
    margin: 0 4px;
}

.carousel-indicators li:not(.active) {
    -webkit-box-shadow: 0 0 5px black;
    -moz-box-shadow: 0 0 5px black;
    box-shadow: 0 0 5px black;
    width: 12px;
    height: 12px;
    border-radius: 12px;
    background: #FFFFFF;
}

.carousel-indicators li.active {
    background: #2DA0D0;
    border-color: #2DA0D0;
    width: 12px;
    height: 12px;
    border-radius: 12px;
    margin-top: 1px;
}

.carousel-caption {
    text-shadow: 1px 1px 3px #222,
    1px 0px 3px #222,
    -1px 0px 3px #222,
    -1px -1px 3px #222;
}

.carousel-control {
    width: 5%;
    opacity: 1.0;
}

#carousel-generic .carousel-control {
    -webkit-transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    -ms-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    opacity: 0;
}

#carousel-generic:hover .carousel-control {
    opacity: 1;
    -webkit-transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    -ms-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
}

.carousel-control span {
    -webkit-transition: color 0.7s ease;
    -moz-transition: color 0.7s ease;
    -ms-transition: color 0.7s ease;
    -o-transition: color 0.7s ease;
    transition: color 0.7s ease;
}

.carousel-control:hover span {
    color: #2DA0D0;
    -webkit-transition: color 0.7s ease;
    -moz-transition: color 0.7s ease;
    -ms-transition: color 0.7s ease;
    -o-transition: color 0.7s ease;
    transition: color 0.7s ease;
}

@media screen and (max-width: 1280px) {
    #nav a {
        font-size: 14pt;
    }
}

@media screen and (min-width: 1280px) {
    #logo {
        /* margin-left: -5%; */
        margin-top: 25px;
        margin-bottom: 0;
    }
    #logo img {
        width: 150px;
    }

    #contacts {
        /* margin-left: 8%; */
        padding-left: 8%;
    }

    #title {
        margin-top: 30px;
    }
}

@media screen and (max-width: 1024px) {
    #header {
        /* padding-top: 60pt; */
    }
}

#top-switch {
    height: 46pt;
    width: 100%;
    background: #000;
    z-index: 1001;
    padding: 6pt;
    -webkit-box-shadow: 0 0 3px black;
    -moz-box-shadow: 0 0 0 3px black;
    box-shadow: 0 0 0 3px black;
}

#top-switch a {
    color: #FFFFFF;
    font-size: 18pt;
}

.major {
    background: url("/static/css/images/bg01.png");
}

.major h2 {
    font-size: 2.25em;
    font-weight: bold;
    padding: 0 0 15px;
    border-bottom: solid 1px #e0e0e0;
}

.major p {
    position: relative;
    padding: 1em 0 0 0;
    margin: 0;
    top: -1em;
    font-size: 1.5em;
    letter-spacing: -0.025em;
}