.nav>li.has-dd {
    position: static;
    padding: 0 10px;
}

.has-dd.active {
    background: #ededed;
}

.submenu {
    /*height: 0;*/
    display: none;
    background: #ededed;
    width: 1170px;
    position: absolute;
    left: calc((100% - 1170px)/2);
    padding: 20px 10px;
    font-size: 0;
    /*overflow: hidden;*/
}

.submenu.active {
    height: auto;
}

.submenu .categories a {
    display: inline-block;
    vertical-align: top;
    width: calc(20% - 4px);
    box-sizing: border-box;
    padding: 4px;
    height: 150px;
    margin: 2px;
    background: #fff;
    border: solid 2px #fff;
}

@media(max-width: 1024px) {
    .submenu {
        width: 1000px;
        left: calc((100% - 1000px)/2);
    }
    .submenu .categories a {
        width: calc(25% - 4px);
    }
}

.submenu .categories a:hover {
    border-color: #e6d600;
}

.submenu .categories a div {
    width: 100%;
    height: 72px;
    margin-bottom: 10px;
}

.submenu .categories a p {
    height: 60px;
    line-height: 60px;
    display: block;
    font-size: 13px;
    text-align: center;
}

.submenu .categories a p span {
    line-height: normal;
    width: 100%;
    display: inline-block;
    vertical-align: middle;
    color: #404040;
    font-weight: 700;
}

#navbar-spy {
    position: relative;
}

.submenu .big-links {
    margin-bottom: 10px;
    font-size: 0;
}

.submenu .big-links a {
    display: inline-block;
    vertical-align: top;
    width: 30%;
    box-sizing: border-box;
    padding: 10px;
    height: 260px;
    margin: 2px;
    background: #fff;
}

.submenu .links {
    display: inline-block;
    vertical-align: top;
    width: 30%;
    box-sizing: border-box;
    padding: 10px;
    margin: 2px;
    background: #fff;
}

.submenu .links h2 {
    text-transform: uppercase;
}

.submenu .links div {
    width: 100%;
    height: 160px;
    margin-bottom: 10px;
}

.submenu .links li {
    margin: 10px 0;
    padding-left: 10px;
}

.submenu .links li:before {
    content: " ";
    width: 6px;
    height: 14px;
    background: transparent url(../images/icon-sprite.png) no-repeat -21px -1px;
    float: left;
    vertical-align: middle;
    margin: -10px 8px 0 0;
    float: none;
    display: inline-block;
}

.submenu .links li a:hover {
    text-decoration: underline;
}

.submenu .big-links a:nth-child(2),
.submenu .links:nth-child(2) {
    margin: 2px calc(5% - 4px);
}

.submenu .big-links a div {
    width: 100%;
    height: 160px;
    margin-bottom: 10px;
}

.submenu .big-links a span {
    height: 20px;
    display: block;
    font-size: 13px;
}

.submenu .big-links a p {
    height: 50px;
    font-size: 12px;
    line-height: 15px;
    text-transform: none;
    color: #333;
}

.cats {
    font-size: 0;
}

.cats a {
    height: 190px;
    position: relative;
    width: 47%;
    display: inline-block;
}

.cats a img {
    position: absolute;
    height: 183px;
    width: auto;
    right: 20px;
    top: 40px;
}

.cats a span {
    position: absolute;
    top: 130px;
    font-size: 19px;
    font-weight: bold;
    text-transform: uppercase;
    left: 20px;
    color: #000;
}

.cats a p {
    top: 155px !important;
    max-width: 70%;
    left: 20px;
    position: absolute;
    font-weight: 500;
    outline: none;
    color: #2b2b2b;
    text-decoration: none;
    font-style: normal;
}

.homec {
    margin-right: 3%;
}

.profc {
    margin-left: 3%;
}

@media(max-width: 1024px) {
    .cats .homec,
    .cats .profc {
        height: 190px;
        position: relative;
        width: 90%;
        margin-right: 5%;
        margin-left: 5%;
        display: block;
        margin-bottom: 40px;
    }
}

@media(max-width: 550px) {
    .cats .homec,
    .cats .profc {
        width: 100%;
        margin-right: 0%;
        margin-left: 0;
    }
}

@media(max-width: 450px) {
    .cats a img {
        right: 0;
    }
    .cats a span {
        top: 100px;
    }
    .cats a p {
        top: 135px !important;
        text-align: left;
    }
}

.profc span,
.profc p {
    color: #fff !important;
}

.catdesc p {
    color: #333 !important;
}

.addnews .image {
    width: 100%;
    height: 180px;
    position: relative;
}

.addnews .text {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffed00;
    padding: 65px 15px 0 15px;
    text-align: center;
    color: #333;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    transform: .4s ease all;
}

.addnews:hover .text {
    opacity: 1;
}

.addnews .img {
    width: 100%;
    height: 100%;
}

.addnews a {
    color: #333;
    text-transform: uppercase;
    font-weight: 900;
    margin: 10px 0;
    display: block;
}

.addnews>a:hover {
    color: #f0e003;
}

.categ {
    text-align: center;
}

.categ p {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    margin-top: 10px;
    min-height: 66px;
}

.categ:hover p {
    color: #f0e003;
}

.categ .image {
    width: 100%;
    height: 120px;
}

#description p,
#details p,
.breadcrumb a,
.breadcrumb li,
.addnews p,
.desc,
.top-contact li {
    color: #333 !important;
}

.title {
    color: #333 !important;
    font-weight: 600;
    font-size: 15px;
}

.row .top-contact .mobileonly {
    display: none;
}

.navbar-nav>li:after {
    display: none;
}

.navbar-nav li a,
.navbar-nav li a>span {
    position: relative;
    color: inherit;
    text-decoration: none;
    line-height: 24px;
}

.navbar-nav li a:before,
.navbar-nav li a:after,
.navbar-nav li a>span:before,
.navbar-nav li a>span:after {
    content: '';
    position: absolute;
    transition: transform .5s ease;
}

.navbar-nav li .effect-4 {
    padding-top: 15px;
    padding-bottom: 15px;
    display: inline-block;
    overflow: hidden;
}

.navbar-nav li .effect-4:before,
.navbar-nav li .effect-4:after {
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffed00;
}

.navbar-nav li .effect-4:before {
    bottom: 0;
    transform: translateX(-100%);
}

.navbar-nav li .effect-4:after {
    top: 0;
    transform: translateX(100%);
}

.navbar-nav li .effect-4:hover:before,
.navbar-nav li .effect-4:hover:after {
    transform: translateX(0);
}

.navbar-nav li a {
    color: #404040;
}

.navbar-nav li .effect-4 {
    line-height: 0;
    margin-bottom: 30px;
    margin-top: 35px;
}

.navbar-nav .has-dd.active .effect-4:before,
.navbar-nav .has-dd.active .effect-4:after {
    transform: translateX(0);
}

.payments label:before,
.payments label:after {
    box-sizing: border-box;
    transition: 0.5s ease-in-out;
}

.payments label:before,
.payments label:after {
    z-index: 2;
    opacity: 0.8;
}

.payments label {
    text-decoration: none;
    color: black;
    width: 100px;
}

.payments label {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.payments label {
    color: #6f70a9;
}

.payments label:before,
.payments label:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.payments label:before {
    right: -51px;
    border-right: 50px solid transparent;
    border-bottom: 80px solid #34345c;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

.payments label:after {
    left: -45px;
    border-left: 50px solid transparent;
    border-top: 80px solid #34345c;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}

.payments input[type="radio"]:checked+label:after {
    transform: translateX(49%)
}

.payments input[type="radio"]:checked+label:before {
    transform: translateX(-49%)
}

.blog-single .comment-form-body textarea,
.blog-single .comment-form-body .form-control {
    color: #1b1a1a;
}

.blog-single .entry .entry-snippet p {
    color: #1b1a1a;
}

.entry.mb-30 {
    height: 450px;
}

.shop .product-details .list-unstyled li {
    line-height: 28px;
    color: #373636;
    font-size: 18px;
}

.shop .product-details .list-unstyled li span {
    font-size: 18px;
}

.submenu {
    overflow: auto;
    height: 550px;
}

.container .row .page-titlee {
    font-family: "Ubuntu";
}

section#special .product-img img {
    width: 190px !important;
}

/* MOBILE VERSION ! */

@media only screen and (max-width:991px) {
    .has-dd.active {
        background: #1b1a1a;
    }
    .submenu {
        position: relative;
        width: 400px;
        left: auto;
        background-color: #1b1a1a;
        padding: 10px;
    }
    .container .navbar-collapse {
        background-color: #1b1a1a;
    }
    .submenu .big-links {
        display: none;
    }
    .submenu .categories {
        display: flex;
        flex-direction: column;
    }
    .submenu .categories .image {
        display: none;
    }
    .submenu .categories a {
        border: none;
        background: none;
        width: auto;
        height: 30px;
    }
    .submenu .categories a p span {
        color: #ffffff;
    }
    .submenu .categories a p {
        text-align: start;
        line-height: 0;
        margin-left: 3px;
        font-size: 12px;
    }
    .submenu {}
    .submenu .links {
        width: 100%;
        background: none;
        margin: 0;
    }
    .submenu .links .image {
        display: none;
    }
    .submenu .links ul {
        display: none;
    }
    .submenu .links h2 {
        font-size: 12px;
        color: #ffffff;
        margin-bottom: 0;
    }
    .submenu .big-links a:nth-child(2),
    .submenu .links:nth-child(2) {
        margin: 0;
    }
    .module .search-icon .fa-search {
        color: #ffffff;
    }
    .module-search .search-icon:hover i {
        color: #ffffff;
    }
    .module-search .search-box .search-form .btn {
        height: 35px;
    }
    .module .search-icon .title {
        color: #ffffff !important;
    }
    .module .cart-icon .fa-shopping-cart {
        color: #ffffff;
    }
    .module .cart-icon .title {
        color: #ffffff !important;
    }
    .cart-overview {
        display: none;
    }
    .cart-total {
        margin-top: 0;
    }
    .row .top-contact .mobileonly {
        display: block;
        border-right: none;
        padding-left: 9px;
    }
    .top-links {
        display: none;
    }
    .row .top-contact {
        display: flex;
        border-left: none;
    }
    .row .col-xs-12.col-sm-6.col-md-5 {
        padding: 0;
    }
    .product .product-img img {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
    }
    .page-title h1 {
        font-size: 28px;
    }
    .shop .product-num {
        margin-bottom: 20px;
    }
    .navbar-nav li .effect-4:before,
    .navbar-nav li .effect-4:after {
        display: none;
    }
    .navbar-nav li .effect-4 {
        margin-top: 0;
        margin-bottom: 0;
    }
    .imenno {
        margin-top: 20px;
    }
    .review-comment {
        display: flex;
    }
    .submenu {
        height: auto;
        overflow: hidden;
    }
}

.cats a {
    height: 255px;
}
.cats a img {
    top: 100px;
}
.cats a span {
    top: 195px;
}
.cats a p {
    top: 220px !important;
}

#top-contact-telegram {
    width: 12px;
    height: 12px;
    margin-left: 4px;
    margin-bottom: 2px;
}

@media (max-width:1024px) {
    .list-inline .top-contact {
        width: 427px;
    }
}
@media (max-width: 576px) {
    .cats a img {
        top: 36px;
    }
    .cats a span {
        top: 105px;
    }
    .cats a p {
        top: 140px !important;
        line-height: 1.5;
    }
    .top-contact span {
        display: none;
    }
    #top-contact-email {
        display: none;
    }
}
