/**
 *
 *  Title: custom.css
 *  Author: Edijs Leveika <edijs@datateks.lv>
 *  Date: 18.12.2019
 *  Project: EVeikals
 *
 */
/* Fill me with your fixes */
.banner-list .banner{
    margin-bottom: 15px;
}

 input[type=email],
 input[type=number],
 input[type=password],
 input[type=search],
 input[type=tel],
 input[type=text],
 textarea {
     border: 1px solid #cdcdcd;
 }
#PasswordRecovery .row{
    margin-bottom: 15px;
}

#FilterLoading{
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    background: rgba(90, 90, 90, .1);
    z-index: 999999999999;
}

#FilterSpinner{
    margin-top: 60px;
}

#order-form select.my-styled{
    border: 1px solid #cdcdcd;
    color: #999;
    height: 38px;
    max-width: unset;
    min-height: 38px;
    padding: 0 15px;
    width: 100%;
}

#order-form select.my-styled option:not([value="0"]), #order-form select.my-styled.with-value{
    color: #444;
}

.action-menu.cart-menu .loading{
    height: 75px;
}

#cart-loader{
    margin-top: 50px;
}

#discount-form .message,
#cart .code-wrap .message {
    font-size: 12px;
}

#code-loader{
    width: 25px;
    height: 25px;
}

#add-discount-form .input-wrap {
    margin-top: 0px;
    margin-bottom: 5px;
}

#discount-form span.remove,
.code-wrap span.remove {
    color: red;
    cursor: pointer;
}

#discount-form .message{
    margin-bottom: 10px;
}

.asterix-tooltip{
    font-size: 14px;
}

span.remove {
    cursor: pointer;
}

.cart .code-wrap {
    width: 360px;
}

section {
    padding: 30px 0 20px
}

.product .wrap {
    position: inherit;
}

.product .delivery-time,
.product .bottom {
    z-index: 1;
}

a:hover+.discount-ladder-menu {
    margin-top: -15px;
    padding-top: 15px;
    height: auto;
    transition: all 0.4s ease-in-out;
}

.discount-ladder-menu:hover {
    margin-top: -15px;
    opacity: 1;
}

.product:hover {
    z-index: 2;
}

.discount-ladder-menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    border: 1px solid #eaeaea;
    border-top: 0;
    background: #ffffff;
    padding: 15px;
    height: auto;
    margin-top: -15px;
}

.product-ladder {
    margin-top: 7px;
}

.product-ladder .discount-ladder-display img {
    position: relative;
    top: -2px;
}

.product-ladder .discount-ladder-menu {
    opacity: 1;
    position: relative;
    left: 0;
    top: 0;
    margin-top: 7px;
    padding: 0;
    border: 0;
}

.product .image .img {
    height: 160px;
}

.product .image img {
    height: auto;
}

#category-menu {
    max-height: calc(100vh - 185px);
}

.scrolled.scroll-down #category-menu {
    max-height: calc(100vh - 155px);
}

#category-menu .col.right {
    padding: 15px;
}


#category-menu .col.right h5 {
    column-span: all;
    margin-bottom: 15px;
}

#category-menu .dt.dt-down-arrow {
    transform: rotate(-90deg);
    display: inline-block;
    font-size: 15px;
    vertical-align: middle;
    color: #E31E24;
    font-weight: 600;
}

#product .main .select-wrap {
    max-width: unset;
    border: 1px solid #cdcdcd;
}

.select-wrap .select-value {
    padding: 5px 15px;
}

.pager-wrap .select-wrap {
    max-width: unset;
}

#product .main .select-wrap .select-value {
    background-color: transparent;
    padding: 5px 10px;
    padding-right: 25px;
}

#product .main .select-wrap .select-value::after{
    content: "";
    position: absolute;
    width: 6px;
    height: 4px;
    background-image: url(/images/html/assets_dd24/ic_dropdown_arrow_up.svg);
    transform: rotate(180deg);
    top: 50%;
    right: 10px;
}

.action-toggle.profile {
    width: auto;
    height: auto;
    background-color: transparent !important;
}

.payment-options.block-wrapper li {
    max-width: 33%;
}

.cb-block input:disabled + .wrapper {
    filter: grayscale(1);
}

.topest .select-wrap img {
    border: 1px solid #cdcdcd;
    margin-right: 5px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

#header .topest .select-wrap {
    max-width: 80px;
}

.topest .select-wrap .select-options .option {
    background-color: #f2f2f2;
}

#header .topest .select-wrap .select-value-lng {
    padding: 5px 14px;
}

#header .topest .select-wrap .select-value-lng:before {
    display: none;
}

.input-wrap .select2 {
    width: 100%;
}

.select2-container {
    height: 38px;
}

.select2-container .select2-selection--single{
    border: 1px solid #cdcdcd;
    color: #999;
    height: 100%;
    border-radius: 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
    padding: 0 15px;
    color: #999999;
}

.with-value + .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444444;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
    width: 16px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-width: 6px 3px 0 3px;
    color: #999999;
}

.with-value + .select2-container--default .select2-selection--single .select2-selection__arrow b {
    color: #444444;
}

#ProductList .sticky-aside .subcategory-wrap {
    margin-top: 15px;
}

#ProductList .sticky-aside .category-block a {
    font-size: 14px;
}

#ProductList .sticky-aside .category-block a.active {
    font-weight: 600;
}

.permanent_menu {
    padding-bottom: 10px;
    height: 100%;
}

.permanent_menu .dropdown {
    padding: 15px;
    display: block;
    visibility: hidden;
    transition: visibility 0s linear 0.2s, opacity 0s linear 0.05s;
    width: 500px;
}

.permanent_menu .dropdown li {
    margin: 0;
}

.permanent_menu .dropdown a {
    font-size: 14px;
}

.permanent_menu ul li:hover>ul,
.permanent_menu ul li ul:hover {
    transition: all 0s linear 0s;
    visibility: visible;
}

.product .description {
    height: auto;
    padding-top: 10px;
}

.product .description .subtitle {
    margin-top: 10px;
    line-height: 16px;
}

.product .image img {
    max-width: 100%;
    max-height: 100%;
}

.product .delivery-time {
    color: #00A653;
    font-size: 12px;
    font-weight: 600;
}

.product .delivery-time::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 12px;
    background-image: url('/images/html/ic_delivery.svg');
    margin-right: 5px;
    background-repeat: no-repeat;
    background-position: center center;
}

.product .featured-until {
    position: relative;
    font-size: 12px;
}

.product-container .action-wrap {
    margin-left: 0;
}

.product-container .action-wrap .btn-filled {
    margin-top: 10px;
    margin-bottom: 10px;
}

#product .main {
    -ms-flex: 0 1 450px;
    flex: 0 1 450px;
}


@media all and (max-width:480px) {
    .tabbed-content .nav-tabs {
        flex-wrap: wrap;
    }

    .tabbed-content .nav-tabs .nav-item {
        flex: 1 0 100%;
    }

    #cart .col.name {
        flex: 1 1 150px;
    }

    #cart .col.params {
        flex: 1 1 0px;
    }

    #cart .prod .col {
        order: 3;
    }

    #cart .prod .col.delete {
        order: 1;
        flex: 1 0 100%;
        justify-content: flex-end;
    }

    #steps .step {
        flex: 1 1 100%;
    }

    section {
        padding: 30px 0 20px;
    }

    .permanent_menu {
        max-width: 100%;
    }

    #category-menu .col.left {
        border: 0;
    }
}

@media all and (max-width:991px) {
    #cart .header .image,
    #cart .header .params,
    #cart .header .price,
    #cart .header .delete {
        display: none;
    }

    #cart .prod .col {
        margin-bottom: 15px;
    }

    #header .top {
        z-index: 170;
    }

    #header .bottom #autocomplete-suggestions img {
        display: block;
    }

    #header .bottom #autocomplete-suggestions .name {
        line-height: 1;
    }
}

.add-to-cart-message .right {
    flex-wrap: wrap;
}

.add-to-cart-message .right .image{
    flex: 0 0 66px;
}

.add-to-cart-message .right .name {
    flex: 1 1 180px;
}

.cart .col.params {
    flex: 1 1 200px;
}

@media screen and (max-width: 691px) {
    #SearchForm{
        position: absolute!important;
        top: 57px!important;
    }

    #header .bottom .navbar {
        position: initial;
    }

    #main-navigation {
        position: absolute;
        transform: translateY(0)!important;
    }
}

form section {
    padding: 0;
    padding-bottom: 15px;
}

#history .history-item {
    padding: 15px 0;
    border-bottom: 1px solid #cecece;
}

#history .history-item-content .row{
    padding: 15px 0;
}

#history .row.header {
    font-weight: 600;
}

#history .row.prod {
    border-bottom: 1px solid #cecece;
}

#history .row.prod:last-child {
    border-bottom: none
}

.action-toggle.cart.basket_price {
    white-space: nowrap;

}

.number-wrap {
    min-width: 100px;
}

.number-wrap .number-control {
    line-height: 40px;
    height: 40px;
}

.cart .col.count {
    flex: 0 0 120px;
}

.small-text {
    font-size: 12px;
}

.delivery-info .cb-block {
    max-width: unset;
}

.under_slider .safety_signs {
    margin-bottom: 0;
    margin-top: 30px;
}

#header .topest .action-wrap .profile .login_text img {
    border: 0;
    height: 12px;
    max-width: 14px;
    border-radius: 0;
    vertical-align: baseline;
    margin-right: 6px;
    position: relative;
    top: 1px;
}

button.slick-arrow {
    margin: 0;
    bottom: 50px;
    right: 50px;
    left: auto;
}

button.slick-arrow.btn_one {
    right: 105px;
}

.under_slider .safety_signs {
    max-width: 270px;
}

.slick_slider .btn {
    margin-top: auto;
    bottom: 50px;
}

footer :not(.formatedtext)>ul a {
    margin-bottom: 0;
    font-weight: 400;
}

footer .footer_payment {
    font-weight: 600;
    margin-bottom: 5px;
}

footer .delivery-icons img{
    margin-bottom: 7px;
}

#Registration label {
    margin-bottom: 5px;
}

#breadcrumbs {
    padding: 15px 0;
}

#breadcrumbs li,
#breadcrumbs li a{
    color: #7c7c7d;
    font-size: 14px;
}

#breadcrumbs li:last-child a {
    font-weight: 500;
    color: #E31E25;
}

.gallery .main-image img {
    max-width: 100%;
}

.gallery .main-image {
    min-height: 370px;
}

.gallery .thumbnails .thumbnail {
    height: 80px;
}

.gallery .thumbnails .thumbnail:after {
    border: 2px solid #e31e25;
}

.gallery .thumbnails .thumbnail {
    border: 1px solid #e6e6e6;
}

#product h2 {
    color: #4c4d4c;
    font-weight: 500;
}

#product .product-code {
    font-size: 14px;
}

#product .product-code .value {
    font-weight: 500;
}

#product .product-dimensions {
    background-color: #F2F2F2;
    font-size: 14px;
}

#product .product-dimensions .value {
    font-weight: 600;
}

#product .prices .discount-text {
    color: #e3701e;
}

#product .count-wrap {
    flex: 0 0 200px;
}

#product .number-wrap input {
    height: 46px;
}

#product .btn {
    height: 46px;
}

#product .number-wrap .number-control {
    height: 46px;
    width: 46px;
    border: 1px solid #cdcdcd;
    line-height: 46px;
    text-align: center;
}

#product .product-ladder {
    background-color: #f2f2f2;
    border-top: 2px solid #E31E25;
    position: relative;
    margin-top: 15px;
    font-size: 12px;
}

#product .product-ladder::before{
    content: '';
    border: 12px solid transparent;
    border-bottom: 12px solid #E31E25;
    position: absolute;
    z-index: 100;
    bottom: 100%;
    left: 15px;
}

#product .product-ladder b {
    color: #333333;
}

#product .product-ladder .title {
    font-size: 13px;
    color: #333333;
    margin-bottom: 5px;
}

#product .product-ladder .discount-count-wrapper {
    margin-top: 5px;
}

#product .discount-ladder-menu {
    background-color: transparent;
}

.tabbed-content .nav-tabs .nav-link use{
    fill: #ffffff;
    transition: fill .2s linear;
}

.tabbed-content .nav-tabs .nav-link.active use {
    fill: #e31e25;
}

.tabbed-content .nav-tabs .nav-link svg {
    vertical-align: middle;
    position: relative;
    top: -2px;
    margin-right: 5px;
}

.info-wrap {
    margin-top: 30px;
    font-size: 13px;
}

.info-wrap use {
    fill: #e31e25;
}

.info-wrap svg {
    margin-right: 20px;
}

.info-wrap .label {
    font-weight: 600;
    color: #333333;
}

.info-wrap .green {
    color: #00a653;
    font-weight: 600;
}

.info-wrap .left-text + .right-text::before {
    content: "|";
    color: #737373;
}

.properties label {
    font-size: 13px;
    font-weight: 600;
    color: #333333;
}

.properties .block-wrapper li {
    flex: unset;
    margin: 0;
    margin-right: 6px;
    margin-bottom: 6px;
}

.properties .block-wrapper li .cb-block input + .wrapper {
    border-radius: 3px;
    padding: 12px 12px;
}

.properties .block-wrapper li a.cb-block {
    color: inherit;
}

.properties .block-wrapper li a.cb-block .wrapper {
    font-size: 12px;
}

.properties .block-wrapper li .cb-block input:checked + .wrapper:after {
    display: none;
}

.properties .block-wrapper li .cb-block input + .wrapper {
    border: 1px solid #DBDBDB;
    margin: 1px;
}

.properties .block-wrapper li .cb-block input:checked + .wrapper {
    border: 2px solid #E31E25;
    margin: 0;
}

.properties .property-row {
    margin-bottom: 15px;
}

.properties .property .wrapper .label {
    font-weight: 400;
}

.properties .property :checked + .wrapper .label {
    font-weight: 600;
    color: #333333;
}

.properties .colors label.cb input[type=checkbox]+span,
.properties .colors label.cb input[type=radio]+span {
    width: 32px;
    height: 32px;
}

.properties label.cb input[type=checkbox],
.properties label.cb input[type=radio] {
    width: 30px;
    height: 30px;
}

.xml-logos img {
    max-height: 35px;
    margin-left: 15px;
}

.navbar-brand img {
    max-width: 100%;
}

.header-contacts .phone a {
    font-size: 15px;
    font-weight: 500;
    color: #2e3033;
}

@media (max-width: 1200px) {
    .header-contacts {
        margin-left: 15px;
        width: auto;
    }
}

.product h5 {
    max-height: unset;
}

.slick-slide img {
    max-width: 100%;
}

.gallery .main-image {
    touch-action: auto;
}

@media all and (max-width:691px) {
    #header .topest .action-wrap .action-menu.profile-menu {
        left: -15px!important;
    }
    #header .topest .action-wrap .action-menu.profile-menu .row {
        padding-left: 0;
    }

    #header .topest .action-wrap .action-menu:before {
        right: unset;
        left: 22px;
    }
}

@media all and (max-width:468px) {
    #header .topest .action-wrap .action-menu.profile-menu {
        max-width: calc(100vw - 10px);
        width: 100vw!important;
        left: -30px!important;
    }
}

.small-cart .prod .rest {
    grid-template-areas:
        "c c c c d"
        "e e e f f"
        "g g g g g";
}

.small-cart .prod .properties {
    display: block;
    grid-area: g;
    padding: 0 5px;
}

.small-cart .prod .properties .label {
    color: #9a9a9a;
    display: inline-block;
    font-size: .875rem;
}

.small-cart .prod .properties .value {
    font-size: .875rem;
    vertical-align: middle;
}

.small-cart .prod .properties .property-value {
    line-height: 1.2em;
}

.small-cart .prod .properties .property-values .label{
    margin-right: 7px;
}

.small-cart .prod .properties .property-values .label,
.small-cart .prod .properties .property-values .value {
    display: inline-block;
}

#cart .variant .value {
    font-size: 0.8rem;
}

#cart .property-values {
    font-size: 0.8rem;
}
