* {
    margin: 0;
    padding: 0;
}
a {
    color: #55322F
}

h1 {
    font-size: 28px;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: #55322f;
    font-size: 14px;
    background: #deefff;
}

.main-header {
    text-align: center;
    overflow: hidden;
}
.main-header .logo {
    float: left;
    margin: 15px 0;
}
.main-header .logo img {
    max-width: 250px;
}
.main-header .header-contact {
    float: right;
    width: 604px;
    margin-top: 21px;
    position: relative;
    font-size: 18px;
    margin-right: 20px;
}
.main-header .header-contact li:nth-child(1) {
    border-right: 1px dashed #cccccc;
}
.main-header .header-contact i {
    float: left;
    height: 42px;
    width: 42px;
    border-radius: 50%;
    background: #f8f8f8;
    border: 1px solid #f2f2f2;
    color: #448aff;
    margin-right: 10px;
    text-align: center;
    line-height: 40px;
    font-size: 18px;
}
.main-header .header-address {
    line-height: 1.5;
    text-transform: uppercase;
}
.main-header .header-contact h6 {
    margin: 0 0 8px;
    color: #448aff;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
}
.header-phone {
    color: #448aff;
}
.main-header .header-contact p {
    text-transform: uppercase;
    font-size: 18px;
    color: #666666;
    font-weight: 500;
    line-height: 22px;
    margin: 0;
}
.main-header > .container-header .r-header {
    margin-right: auto;
}

.main-header .header-navigation {
    display: flex;
    list-style: none;
    font-size: 16px;
    padding-left: 0;
    margin-bottom: 0;
}
.main-header .header-navigation li {
    margin: 0 15px;
}

.main-header .header-navigation li a {
    text-decoration: none;
    color: #55322F;
    font-weight: 500;
}
.main-header .logo-img {
    max-width: 100px;
}
.main-header .header-contacts {
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    margin-left: auto;
    text-align: right;
}

.main-header .header-contacts p {
    margin-bottom: 0;
    line-height: 1.4;
}
.main-header .header-contacts a {
    color: #006286
}
.main-banner-place {
    width: 100%;
    min-height: 600px;
    max-height: 600px;
    margin-bottom: 20px;
}


.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}
.content_menu .main-nav {
    padding: 0 5px;
}
ul.menu:not(.opened) > li > a {
    display: inline-block;
}
.main-header ul.menu > li > a, ul.mini-menu li a {
    font-size: 13px;
    font-weight: 600;
    border-radius:0;
}
.main-header ul.menu:not(.opened) > li > a {
    position: relative;
    margin:0;
    padding:0000;
    padding-left:0;
    border-radius:0;
    height: auto;
    line-height: 20px;
}
@media(min-width:1031px) {
    .wrapper_inner div.content_menu {
        -webkit-flex-basis: calc(66% - 146px);
        -moz-flex-basis: calc(66% - 146px);
        -ms-flex-basis: auto;
        padding-right: 1%;
    }
    .main-header ul.menu {
        justify-content: space-between;
        width: auto;
        position: relative;
        zoom: 1;
        font-size:0;
        display: flex;
        float: none;
        width: 100%;
    }
}
li {
    list-style-type: none;
}
ul.menu li, ul.mini-menu li {
    display: inline-block;
    vertical-align: top;
    padding: 0;
    line-height: 20px;
}
.main-header .menu li {
    position: relative;
    zoom: 1;
    padding: 16px 10px 16px;
}
@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}
#footer {
    background: #333;
    color: #fff;
    padding: 30px 0;
}
.form-group {
    margin-bottom: 1rem;
}

.footer-logo {
    max-width: 100%;
}
.footer-copyright-row {
    display: flex;
    align-items: center;
}
.footer-copyright-row .copyright {
    margin-left: auto;
    text-align: right;
}
.main-header {
    margin-bottom: 0;
}
.main-banner-place .slick-list,
.main-banner-place .slick-track {
    height: 100%;
}
.main-banner-place .main-banner-item {
    background-size: cover;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 600px;
}
.main-nav {
    width: 100%;
    position: relative;
    z-index: 999;
    min-height: 70px;
    background: #00AFEF;
}
.main-nav::before {
    height: 5px;
    width: 100%;
    position: absolute;
    display: inline-block;
    content: "";
    background: #deefff;
    left:0;
    right:0;
    margin: 0 auto;
    z-index: -1;
}
.ownmenu {
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    float: left;
    list-style: none;
}
.main-nav li.active {
    background: url(/img/nav-select.png) center 0px no-repeat;
}
.ownmenu li {
    float: left;
    padding-top: 27px;
}
.main-nav li a {
    line-height: 20px;
    text-transform: uppercase;
    color: #fff;
    float: left;
    font-weight: 600;
    font-size: 15px;
    padding: 0 20px;
    border-right: 1px dashed #ffffff;
}
.ownmenu a {
    -o-transition: all .3s linear;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
    outline: none;
    z-index: 10;
}
@media(max-width:1600px) {
    .main-banner-place {
        min-height: 420px;
    }
}
.main-news-wrapper {
    margin-bottom: 40px;
}
.main-news-wrapper h2{
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
}
.news-item .preview {
    margin-bottom: 10px;
}
.news-item .preview img {
    max-width: 100%;
    max-height: 100%;
}
.news-item .date {
    display: flex;
    align-items: center;
    font-weight: normal;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: 0.02em;
    color: #7D7D7D;
    margin-bottom: 8px;
}
.news-item .title {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.18;
    color: #242424;
    text-decoration: none;
    margin-bottom: 10px;
}
.news-item .description {

}

.main-page-text {
    font-size: 18px;
    line-height: 1.7;
    text-align: justify;
}

.news-page {
    padding-bottom: 40px;
}
.products-short-list {
    margin-bottom: 40px;
}
.products-short-list h2{
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
}
.product-item .preview {
    margin-bottom: 10px;
    background-size: cover;
    width: 100%;
    height: 367px;
    display: inline-block;
    background-position: center;
}
.product-item .preview img {
    max-width: 100%;
    max-height: 100%;
}
.product-item .title {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.18;
    color: #242424;
    text-decoration: none;
    margin-bottom: 10px;
    text-align: center;
}
.products-page-content {
    overflow: hidden;
}
.products-page-content .product-item .preview {
    height: 300px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.ml15 {
    margin-left: 15px;
}
.ml20 {
    margin-left: 20px;
}
.product-description,
.news-description {
    margin-bottom: 30px;
}
.news-description .preview,
.product-description .preview {
    float: left;
    margin: 0 10px 10px 0;
}

@media(max-width:767.99px) {
    .main-header .logo {
        float: none;
    }
    .main-header .header-contact {
        margin-right: 0;
        width: 100%;
    }
    .main-header .header-contact li {
        margin-bottom: 20px;
    }
    .main-header .header-contact li > * {
        display: inline-block;
        float: none;
        vertical-align: middle;
    }
    .ownmenu > li.showhide {
        display: list-item !important;
        width: 100%;
        height: 40px;
        cursor: pointer;
        color: #fff;
        text-align: center;
    }
    .ownmenu > li.showhide.active {
        height: 19px;
    }
    .ownmenu > li {
        display: none;
        width: 100%;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        padding-top: 20px;
    }
    .main-nav {
        overflow: hidden;
        min-height: 50px;
    }
    .main-nav .menu-item:nth-child(2) {
        margin-top: 31px;
    }
    .main-nav .menu-item {
        padding-top: 0;
    }
    .main-nav .menu-item a {
        border-right: none;
        padding: 10px 20px;
        text-decoration: none;
        display: inline-block;
        float: none;
        width: 100%;
    }
    .main-nav .menu-item a:hover {
        background: #448AFF;
    }
    .main-nav .menu-item:last-child {
        margin-bottom: 15px;
    }
    .main-banner-place {
        min-height: 310px;
    }
    .main-banner-place .main-banner-item {
        min-height: 310px;
    }
    .product-item .preview {
        background-size: 250px auto;
        background-repeat: no-repeat;
    }
    .main-news-wrapper .news-item {
        margin-bottom: 20px;
    }
    .news-item .preview img {
        width: 100%;
    }
    .footer-copyright-row {
        display: block;
    }
    .footer-copyright-row .footer-logo {
        max-width: 200px;
        margin-bottom: 20px;
        text-align: center;
    }
    .footer-copyright-row .copyright {
        text-align: center;
    }

    .main-banner-item.first-banner {
        background-image: url("/img/new-banner/common-mobile.jpg") !important;
    }
    .main-banner-item.second-banner {
        background-image: url("/img/new-banner/mosc-mobile.jpg") !important;
    }
    .main-banner-item.third-banner {
        background-image: url("/img/new-banner/bomb-mobile.jpg") !important;
    }
    .main-banner-item.fourth-banner {
        background-image: url("/img/new-banner/gold-mobile.jpg") !important;
    }
    .main-banner-item.fifth-banner {
        background-image: url("/img/new-banner/gigant-mobile.jpg") !important;
    }

    .product-description .preview,
    .news-description .preview {
        width: 100%;
        margin: 0 0 15px 0;
        float: none;
    }
    .product-description .preview img,
    .news-description .preview img {
        max-width: 100%;
    }
}
@media(min-width:768px) and (max-width: 1365.99px){
    .main-banner-item.first-banner {
        background-image: url("/img/new-banner/common-tablet.jpg") !important;
    }
    .main-banner-item.second-banner {
        background-image: url("/img/new-banner/mosc-tablet.jpg") !important;
    }
    .main-banner-item.third-banner {
        background-image: url("/img/new-banner/bomb-tablet.jpg") !important;
    }
    .main-banner-item.fourth-banner {
        background-image: url("/img/new-banner/gold-tablet.jpg") !important;
    }
    .main-banner-item.fifth-banner {
        background-image: url("/img/new-banner/gigant-tablet.jpg") !important;
    }
}
@media(min-width:1366px) and (max-width: 1400px) {
    .main-banner-item.first-banner {
        background-image: url("/img/new-banner/common-medium.jpg") !important;
    }
    .main-banner-item.second-banner {
        background-image: url("/img/new-banner/mosc-medium.jpg") !important;
    }
    .main-banner-item.third-banner {
        background-image: url("/img/new-banner/bomb-medium.jpg") !important;
    }
    .main-banner-item.fourth-banner {
        background-image: url("/img/new-banner/gold-medium.jpg") !important;
    }
    .main-banner-item.fifth-banner {
        background-image: url("/img/new-banner/gigant-medium.jpg") !important;
    }
}
