body,
html {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    max-height: 100%;
}
input, button, textarea{
    box-shadow: unset !important;
    outline: unset !important;
}
.icon-menu {
    color: #fff;
}
.btn{
    border-radius: 15px;
}
#cancelquantity, #setquantity {
    border-radius: .25rem;
}
#basket .paper .btn{
    border-radius: 7px;
}

/*Шапка сайта*/

.hat {
    min-height: 125px;
    border-bottom: 1px solid #e0e0e0;
}

.hat-logo {
    margin-top: 8px;
    width: 200px;
}

.hat-top {
    padding-bottom: 8px;
    background-color: transparent;
    border-bottom: 1px solid #d9d9d9;
}

.hat-menu {
    padding-top: 6px;
    padding-bottom: 6px;
    min-height: 52px;
    background: #404040;
    /* background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,255,255,1)), color-stop(47%, rgba(246,246,246,1)), color-stop(100%, rgba(237,237,237,1)));
    background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
    background: -o-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
    background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%); */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed', GradientType=1 );
}

.show-category-btn {
    width: 40px;
    height: 40px;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    padding: 2px 0 0 2px;;
}

.search {
    width: 75%;
    padding: 8px;
}

.basket-btn {
    /* padding: 8px;
    cursor: pointer; */
    /* width: 100%; */
    height: 40px;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}
.copyright {
    margin-top: 1rem;
    margin-bottom: unset;
}
.store-name {
    font-size: 1.5em;
    padding: 12px;
    padding-left: 0px;
}
.a_store_name {
	text-decoration: none;
	color: #212529;
}
.custom-control-label {
    margin-bottom: 1rem;
}
.a_store_name:hover {
	color: #212529;
	text-decoration: none;
}
.store_description {}

.navigation {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    padding-top: 8px;
}

.navigation-links {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    margin-left: 8px;
}

.navigation-link {
    margin-left: 8px;
    margin-right: 8px;
    color: #007bff;
    cursor: pointer;
}


/*страница - категории + содержимое*/

.page {
    max-width: 1140px;
    min-height: calc(100% - 310px);
    margin: 0 auto;
    margin-top: 15px;
}


/*категории*/

.category {
    min-width: 220px;
    height: auto;
    padding-bottom: 8px;
}

.category-item {
    padding-top: 12px;
    padding-left: 10px;
    padding-bottom: 12px;
    cursor: pointer;
    font-size: 1.1em;
    transition-timing-function: ease-in-out;
    transition-duration: .1s;
    border-radius: 10px;
}

.category-item:hover {
    background-color: #eeeeee;
    transition-timing-function: ease-in-out;
    transition-duration: .1s;
}

.category-item:active {
    background-color: #BBDEFB;
    transition-timing-function: ease-in-out;
    transition-duration: .1s;
}

.category-sub-item {
    padding-top: 12px;
    padding-left: 36px;
    padding-bottom: 12px;
    cursor: pointer;
    font-size: 1.0em;
    transition-timing-function: ease-in-out;
    transition-duration: .1s;
    border-radius:10px;
}

.category-sub-item:hover {
    background-color: #eeeeee;
    transition-timing-function: ease-in-out;
    transition-duration: .1s;
}

.category-sub-item:active {
    background-color: #BBDEFB;
    transition-timing-function: ease-in-out;
    transition-duration: .1s;
}


/* .category-sub-sub-item {
    font-size: 0.9;
    padding-top: 12px;
    padding-left: 28px;
    padding-bottom: 12px;
    font-weight: lighter;
    cursor: pointer;
}

.category-sub-sub-item:active {
    font-weight: 600;
} */


/*Содержимое*/

.content {}

.content-category-item-name {
    margin-top: 16px;
    margin-bottom: 16px;
    font-size: 26px;
}


/*Блок товара*/

.content-item {
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition-timing-function: ease-in-out;
    transition-duration: .3s;
    border-radius: 25px;
}

.content-item:hover {
    background-color: #eeeeee;
    transition-timing-function: ease-in-out;
    transition-duration: .3s;
}

.content-item:active {
    background-color: #BBDEFB;
    transition-timing-function: ease-in-out;
    transition-duration: .3s;
}

.content-item-image {
    width: 100%;
}

.content-item-name {
    font-size: 1.0em;
    margin-top: 4px;
    color: #007bff;
    overflow: hidden;
    max-height: 50px;
    line-height: 25px;
    position: relative;
    color: #585858;
    margin-left: 10px;
}


/* .content-item-name:after {
    content: '';
    position: absolute; 
    right: 0; bottom: 0;
    width: 40px; 
    height: 25px;
    background: -moz-linear-gradient(left, rgba(255,255,255, 0.2), #fff 100%);
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0.2), #fff 100%);
    background: -o-linear-gradient(left, rgba(255,255,255, 0.2), #fff 100%);
    background: -ms-linear-gradient(left, rgba(255,255,250, 0.2), #fff 100%);
    background: linear-gradient(to right, rgba(255,255,255, 0.2), #fff 100%);
}

.content-item:hover .content-item-name:after {
    background: -moz-linear-gradient(left, rgba(238,238,238, 0.2), #eeeeee 100%);
    background: -webkit-linear-gradient(left, rgba(238, 238, 238, 0.2), #eeeeee 100%);
    background: -o-linear-gradient(left, rgba(238,238,238, 0.2), #eeeeee 100%);
    background: -ms-linear-gradient(left, rgba(238,238,238, 0.2), #eeeeee 100%);
    background: linear-gradient(to right, rgba(238,238,238, 0.2), #eeeeee 100%);
}

.content-item:active .content-item-name:after {
    background: -moz-linear-gradient(left, rgb(187,222,251,0.2), #BBDEFB 100%);
    background: -webkit-linear-gradient(left, rgba(187,222,251,0.2), #BBDEFB 100%);
    background: -o-linear-gradient(left, rgba(187,222,251, 0.2), #BBDEFB 100%);
    background: -ms-linear-gradient(left, rgba(187,222,251, 0.2), #BBDEFB 100%);
    background: linear-gradient(to right, rgba(187,222,251, 0.2), #BBDEFB 100%);
} */

.content-item-description {
    font-size: 0.9em;
    margin-top: 2px;
    overflow: hidden;
    max-height: 50px;
    line-height: 20px;
    position: relative;
}


/* .content-item-description:after {
    content: '';
    position: absolute; 
    right: 0; bottom: 0;
    width: 40px; 
    height: 20px;
    background: -moz-linear-gradient(left, rgba(255,255,255, 0.2), #fff 100%);
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0.2), #fff 100%);
    background: -o-linear-gradient(left, rgba(255,255,255, 0.2), #fff 100%);
    background: -ms-linear-gradient(left, rgba(255,255,250, 0.2), #fff 100%);
    background: linear-gradient(to right, rgba(255,255,255, 0.2), #fff 100%);
}

.content-item:hover .content-item-description:after {
    background: -moz-linear-gradient(left, rgba(238,238,238, 0.2), #eeeeee 100%);
    background: -webkit-linear-gradient(left, rgba(238, 238, 238, 0.2), #eeeeee 100%);
    background: -o-linear-gradient(left, rgba(238,238,238, 0.2), #eeeeee 100%);
    background: -ms-linear-gradient(left, rgba(238,238,238, 0.2), #eeeeee 100%);
    background: linear-gradient(to right, rgba(238,238,238, 0.2), #eeeeee 100%);
}

.content-item:active .content-item-description:after {
    background: -moz-linear-gradient(left, rgb(187,222,251,0.2), #BBDEFB 100%);
    background: -webkit-linear-gradient(left, rgba(187,222,251,0.2), #BBDEFB 100%);
    background: -o-linear-gradient(left, rgba(187,222,251, 0.2), #BBDEFB 100%);
    background: -ms-linear-gradient(left, rgba(187,222,251, 0.2), #BBDEFB 100%);
    background: linear-gradient(to right, rgba(187,222,251, 0.2), #BBDEFB 100%);
} */

.content-item-price {
    font-size: 1.1em;
    margin-top: 4px;
    font-weight: bold;
}

.content-item-buy-btn {
    margin-top: 4px;
    opacity:0;
}

.itemblock:hover .content-item-buy-btn {
    opacity:1;
}

/*Страница товара*/

.content-product {
    width: 100%;
}

.content-product-img {
    width: 350px;
}

.content-product-buy {
    margin: 32px;
}

.content-product-buy-price {
    font-size: 1.5em;
    margin-bottom: 8px;
}

.content-product-name {
    font-size: 1.5em;
    margin-bottom: 8px;
    margin-left: 8px;
    margin-right: 8px;
}

.content-product-description {
    margin-left: 8px;
    margin-right: 8px;
}


/*Футер*/

.footer {
    min-height: 100px;
    padding: 8px;
    font-size: 0.8em;
    border-top: 1px solid #d9d9d9;
    margin-top: 15px;

    background: rgba(255,255,255,1);
    background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,255,255,1)), color-stop(47%, rgba(246,246,246,1)), color-stop(100%, rgba(237,237,237,1)));
    background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
    background: -o-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
    background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed', GradientType=1 );
}

.footer-logo {
    margin: 8px;
    width: 150px;
}

#basket {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    right: 0px;
    z-index: 9;
    background: rgba(0, 0, 0, 0.5);
}

#basketbox {
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    max-width: 600px;
    margin: 15px;
    background: #efefef;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
    position: absolute;
    right: 0px;
    border-radius: 25px;
}

#cmodbox {
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    margin: 15px;
    background: #efefef;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
}

#quantytymodalbox {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    top: 0px;
    left: 0px;
    z-index: 10;
}

#quantytymodal {
    position: fixed;
    width: 300px;
    min-height: 100px;
    background: rgba(255, 255, 255, 0.2);
    top: calc(50% - 100px);
    left: calc(50% - 150px);
    background: white;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
    padding: 5px;
}

#id_Dialog_title {
    max-width: calc(100% - 80px);
    font-size: 16pt;
    padding: 24px;
    padding-right: 0;
    float: left;
    white-space: nowrap;
    /* Отменяем перенос текста */
    overflow: hidden;
    /* Обрезаем содержимое */
    text-overflow: ellipsis;
}

#id_Dialog_title_cmod {
    max-width: calc(100% - 80px);
    font-size: 16pt;
    padding: 24px;
    padding-right: 0;
    float: left;
    white-space: nowrap;
    /* Отменяем перенос текста */
    overflow: hidden;
    /* Обрезаем содержимое */
    text-overflow: ellipsis;
}

#basketclose {
    cursor: pointer;
    background: rgb(130, 130, 130);
    cursor: pointer;
    font-size: 16pt;
    margin: 15px;
    padding: 13px 16px;
    float: right;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.paper {
    height: calc(100% - 120px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: white;
    margin: 10px;
    border: 1px solid #e8e8e8;
    border-radius: 15px;
    margin-bottom: 3px;
}
.margin_left_1 {
	margin-left: 1rem;
}

#basketCounter {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: red;
    color: white;
    font-size: 10pt;
    padding: 2px;
    font-weight:600;
    position: absolute;
    top: -5px;
    left: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

table tr td {
    padding: 8px;
}

.quantytybox {
    width: 140px;
}

@media screen and (max-width:600px) {
    .itemblock:hover .content-item-buy-btn {
        display: none;
    }
    .content-item:hover {
        background: unset;
    }
    .m600 {
        margin: 0px !important;
        width: 100% !important;
        height: 100% !important;
    }
    .mob_display_none {
    	display: none;
    }
    .mob_mr_left_none {
    	margin-left: 0 !important;
    }
    .mob_display_flex {
    	display: flex;
    	flex-direction: column;
    }
    .contacts, .st_name_f {
    	order: 0;
    
    }
    .contacts {
    	margin: 1rem 0;
    }
    .order_1, .d-flex {
    	order: 1;	
    }
    #basketbox {
    	border-radius: 0;
    }
    .page {
        min-height: calc(100% - 400px)
    }
}

@media screen and (max-width:540px) {
    .m540 {
        display: none !important;
    }
}

@media screen and (max-width:500px) {
    .m500 {
        display: none !important;
    }
    .quantytybox {
        width: 80px;
    }
}

@media screen and (max-width:450px) {
    .m450 {
        display: none !important;
    }
}

.unselectable {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Chrome/Safari/Opera */
    -khtml-user-select: none;
    /* Konqueror */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently not supported by any browser */
}


.intl-tel-input{
    width:100%;
}