/* Global settings */

body {
    font-family: 'Roboto';
    overflow-y: scroll;
    font-size: 16px;
    background: #fff;
    color: #333;
}

h1, h2, h3, h4, h5 {
    display: block;
    width: 100%;
}

img { display: block; }
img.img-flex { max-width: 100%; }

a,
a:visited {
    color: #f9c006;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    color: #f9c006;
    text-decoration: none;
}

div {
    display: block;
}

/* =============== */



/* ===== Panel ===== */

.panel {
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.14);
    border-radius: 10px;
    background-color: #fff;
    padding: 40px;
    margin: 0 0 30px 0;
}

/* =============== */



/* ===== Main Menu ===== */

#menu.nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 50;
}
#menu.nav:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #444;
    z-index: 2;
}

.nav-body {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    align-items: center;
}

a.nav-logo {
    flex: 0 0 230px;
    display: flex;
    padding: 0 0 0 15px;
    color: #fff;
    position: relative;
    z-index: 3;
}

.nav-logo img {
    max-width: 100%;
    max-height: 60px;
    display: block;
}

.nav-logo span {
    width: 185px;
    height: 60px;
    padding: 0 15px;
    font-size: 24px;
    font-weight: bold;
    vertical-align: middle;
    display: flex;
    align-items: center;
}

.nav-text {
    z-index: 2;
    display: block;
    padding: 0 15px;
}
@media (max-width: 425px) {
    .nav-text { display: none; }
}

.nav-burger {
    display: none;
}

.nav-burger:before,
.nav-burger:after {
    transition: 0.3s all;
}

.nav-burger span {
    transition: 0.3s all;
}

.nav-burger.active:before {
    transform: rotate(45deg);
    top: 9px;
    transition: 0.3s all;
}

.nav-burger.active:after {
    transform: rotate(-45deg);
    bottom: 9px;
    transition: 0.3s all;
}

.nav-burger.active span {
    transform: scale(0);
    transition: 0.3s all;
}

.nav-menu {
    height: 100%;
    display: flex;
    flex: auto;
}

.nav-list {
    display: flex;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.nav-list li {
    list-style: none;
    margin: 0;
    height: 100%;
}

.nav-list li span.toggle,
.nav-list li a,
.nav-list li a:visited {
    color: #fff;
    background: transparent;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0px 30px;
    height: 100%;
    transition: 0.3s all;
    cursor: pointer;
}

.nav-list li span.toggle:hover,
.nav-list li a:hover,
.nav-list li a:active,
.nav-list li a:focus {
    color: #f9c006;
    transition: 0.3s all;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
}

.nav-list li.dropdown span.toggle:after {
    display: inline-block;
    margin-left: .5em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.nav-list li.dropdown ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: 0;
    color: #fff;
    text-align: left;
    list-style: none;
    background: #1c2a39;
    background-clip: padding-box;
    border-radius: 0 0 .25rem .25rem;
}

.nav-list li.dropdown ul li a,
.nav-list li.dropdown ul li a:visited {
    display: block;
    width: 100%;
    padding: .25rem 3rem;
    clear: both;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
    background: transparent;
    border: 0;
    text-align: left;
    text-transform: none;
    transition: all 0.3s;
}
@media (min-width: 1200px) {
    .nav-list li.dropdown ul li a { padding: .25rem 1.5rem; }
}

.nav-list li.dropdown ul li a:hover,
.nav-list li.dropdown ul li a:active,
.nav-list li.dropdown ul li a:focus {
    color: #f9c006;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

@media (max-width: 1200px) {
    body.lock {
        overflow: hidden;
    }
    .nav-burger {
        display: block;
        position: relative;
        width: 30px;
        height: 20px;
        z-index: 4;
        margin: 10px 15px;
    }
    .nav-burger:before,
    .nav-burger:after {
        content: '';
        background: #fff;
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
    }
    .nav-burger:before {
        top: 0;
    }
    .nav-burger:after {
        bottom: 0;
    }
    .nav-burger span {
        position: absolute;
        background: #fff;
        width: 100%;
        height: 2px;
        left: 0;
        top: 9px;
    }
    .nav-menu {
        position: fixed;
        display: block;
        width: 100%;
        height: 100%;
        overflow: auto;
        top: -100%;
        left: 0;
        background: rgba(28, 42, 57, 0.9);
        padding: 60px 0px 10px 0px;
        transition: 0.3s all;
    }
    .nav-menu.active {
        top: 0;
        transition: 0.3s all;
    }
    .nav-list {
        display: block;
        width: 100%;
    }
    .nav-list li {
        margin: 0;
        height: auto;
    }
    .nav-list li a,
    .nav-list li span.toggle {
        display: block;
        padding: 10px 20px;
        font-size: 18px;
        text-align: left;
    }
    .nav-list li.dropdown ul {
        position: relative;
        display: none;
        float: none;
        width: 100%;
        background: rgba(28, 42, 57, 0.5);
        border: 1px solid rgba(28, 42, 57, 0.8);
        border-left: none;
        border-right: none;
        border-radius: 0;
    }
}

#menu .social {
    display: flex;
    height: 60px;
}

#menu .social a {
    text-align: center;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 100%;
    transition: 0.3s all;
}

#menu .social a i {
    font-size: 30px;
    color: #fff; /*#f9c006;*/
    transition: 0.3s all;
    display: block;
    margin: 0auto;
}

#menu .social a:hover {
    background: rgba(255,255,255,0.1);
    transition: 0.3s all;
}

#menu .social a.odnoklassniki:hover i { color: #f7971c; }
#menu .social a.vkontakte:hover i { color: #4A76A8; }
#menu .social a.instagram:hover i { color: #BB337A; }

#menu .header-phone.mob-only-block {
    vertical-align: middle;
}

#menu .header-phone.mob-only-block a {
    margin: 0 7px;
}

#menu .header-phone.mob-only-block .social a i {
    font-size: 20px;
}

#menu .social form {
    padding: 11px 0;
}

/* ===== Main Menu (The End) ===== */



/* ===== Header ===== */



/* ===== Header (The End) ===== */



/* ===== SLIDER ===== */

#slider {
    background: #fff;
    background-image: linear-gradient(to bottom, #fff, #eee);        
    overflow: hidden;
    /*display: none;*/
    margin: 0;
    padding: 60px 0 50px 0;
    min-height: 580px;
    text-align: center;
    box-sizing: border-box;
    color: #000;
}
@media (min-width: 768px) { #slider { display: block; } }

#slider img {
    max-width: 100%;
    margin: 0 auto;
}



#slider button {
    min-width: 280px;
    padding: 20px 44px;
    font-size: 22px;
    border: 0;
    border-radius: 35px;
    color: #fff;
    box-shadow: 0 5px 23px 0 rgba(255,140,0,0.5);
    background-image: linear-gradient(to bottom, #ff9e16, #ff7f00);
    transition: 0.3s all;
    outline: none;
}
#slider button:hover {
    box-shadow: 0 16px 35px 0 rgba(255,140,0,0.25);
    transition: 0.3s all;
}

/* ===== Slider (The End) ===== */



/* ===== Content ===== */

#content {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #f5f5f5;
}

/* ===== Content (The End) ===== */



/* ===== FOOTER ===== */

footer {
    background: #f5f5f5;
    padding-top: 50px;
    padding-bottom: 50px;
    color: #999;
}

/* ===== Footer (The End) ===== */


