.tns-outer {
    padding: 0 !important
}

.tns-outer [hidden] {
    display: none !important
}

.tns-outer [aria-controls], .tns-outer [data-action] {
    cursor: pointer
}

.ms-touch {
    overflow-x: scroll;
    overflow-y: hidden;
    -ms-overflow-style: none;
    -ms-scroll-chaining: none;
    -ms-scroll-snap-type: mandatory;
    -ms-scroll-snap-points-x: snapInterval(0%, 100%)
}

.mdc-dialog__body--scrollable {
    overflow-y: auto !important;
}

.tns-slider {
    -webkit-transition: all 0s;
    -moz-transition: all 0s;
    transition: all 0s
}

.tns-slider > .tns-item {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.slide-content {
    margin: auto;
    display: table;
}

.tns-horizontal.tns-subpixel {
    white-space: nowrap
}

.tns-horizontal.tns-subpixel > .tns-item {
    display: inline-block;
    vertical-align: top;
    white-space: normal
}

.tns-horizontal.tns-no-subpixel:after {
    content: '';
    display: table;
    clear: both
}

.tns-horizontal.tns-no-subpixel > .tns-item {
    float: left;
    margin-right: -100%
}

.tns-no-calc {
    position: relative;
    left: 0
}

.tns-gallery {
    position: relative;
    left: 0;
    min-height: 1px
}

.tns-gallery > .tns-item {
    position: absolute;
    left: -100%;
    -webkit-transition: transform 0s, opacity 0s;
    -moz-transition: transform 0s, opacity 0s;
    transition: transform 0s, opacity 0s
}

.tns-gallery > .tns-moving {
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    transition: all 0.25s
}

.tns-lazy-img {
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
    transition: opacity 0.6s;
    opacity: 0.6
}

.tns-lazy-img.loaded {
    opacity: 1
}

.tns-ah {
    -webkit-transition: height 0s;
    -moz-transition: height 0s;
    transition: height 0s
}

.tns-ovh {
    overflow: hidden
}

.tns-hdx {
    overflow-x: hidden
}

.tns-hdy {
    overflow-y: hidden
}

.tns-visually-hidden {
    position: absolute;
    left: -10000em
}

.tns-transparent {
    opacity: 0;
    visibility: hidden
}

.tns-fadeIn {
    opacity: 1;
    filter: alpha(opacity=100);
    z-index: 0
}

.tns-normal, .tns-fadeOut {
    opacity: 0;
    filter: alpha(opacity=0);
    z-index: -1
}

/*----------- Share -------------------*/
.clear {
    clear: both;
}

.left-menu {
    height: 100%;
}

.main-link {
    color: #fff;
}

/*----------- Share -------------------*/

/* Share slider settings */
.tns-controls {
    position: relative;
}

/* Main slider */
#main-slider-wrap .item__main-slider {
    width: 100%;
    height: 479px;
    overflow: hidden;
}

#main-slider-wrap .tns-outer button {
    border: none;
    position: absolute;
    top: 240px;
    z-index: 4;
    font-size: 80px;
    outline: none;
    width: auto;
    height: auto;
}

#main-slider-wrap .tns-outer button[data-controls="prev"] {
    left: 10px;
}

#main-slider-wrap .tns-outer button[data-controls="next"] {
    right: 10px;
}

#main-wrap {
    display: grid;
    display: -ms-grid;
    grid-template-rows: 60px 100%;
    -ms-grid-rows: 60px 100%;
    min-height: 100vh;
}

#content-footer {
    display: flex;
    display: -ms-flex;
    flex: 1 100%;
    -ms-flex-direction: column;
    flex-direction: column;
}

.item__main-slider {
    position: relative;
}

.title_slider {
    position: absolute;
    top: 30px;
    left: 30px;
}

#content-wrap {
    height: 100%;
    display: grid;
    display: -ms-grid;
    grid-template-columns: 240px calc(100vw - 260px);
    -ms-grid-columns: 240px calc(100vw - 260px);
}

.content {
    padding: 20px 40px 0 40px;
    /*min-height: calc(100vh - 176px);*/
}

footer {
    height: 70px;
}

.mdc-snackbar {
    z-index: 1000;
}

/*---------Catalog----------------*/
.catalog-menu-cards {
    display: flex;
    display: -ms-flex;
    flex-direction: row;
    -ms-flex-direction: row;
    justify-content: center;
}

.catalog-menu-cards .mdc-card {
    min-width: 200px;
    margin: 0 20px;
}

.main-catalog-title {
    margin-top: 20px;
}

.demo-card__media-title {
    padding: 8px 16px;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    color: white;
}

.demo-card__media-content--with-title {
    display: flex;
    flex-direction: column;
    display: -ms-flex;
    -ms-flex-direction: column;
    justify-content: flex-end;
}

.image-card {
    display: flex;
    display: -ms-flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

/*---------Breadcrumbs---------*/
.breadcrumbs {
    display: flex;
    display: -ms-flex;
    align-items: center;
}

.breadcrumb-arrow {
    margin-right: 0;
}

/*----------Products------------------*/
.products {
    display: flex;
    display: -ms-flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.product-card {
    width: 300px;
    margin: 0 0 50px 50px;
}

.product-actions {
    justify-content: flex-end;
}

.title-card {
    padding: 15px 10px;
}

.price-card .material-icons {
    margin-right: 0;
    position: relative;
    top: 4px;
}

.price-card-value {
    color: #9e9ea1;
    font-size: 23px;
    margin-left: 10px;
}

.products-content {
    display: flex;
    display: -ms-flex;
    justify-content: flex-start;
    padding-top: 20px;
    height: 100%;
}

/*----------------Filter---------------------------*/
.filter {
    padding: 20px;
    background: #f3ebfe;
    min-width: 200px;
}

.title-form-field {
    margin: 20px 0 0 0;
}

.range-group {
    display: flex;
    display: -ms-flex;
    justify-content: space-between;
    align-items: center;
}

.small-field {
    width: 66px;
}

.defis {
    margin: auto;
}

.filter-select {
    width: 100%;
}

.actions {
    margin: 40px 0 0 0;
    display: flex;
    display: -ms-flex;
    justify-content: space-between;
}

/*---------------Pagination-----------------*/
.pagination {
    display: flex;
    display: -ms-flex;
    margin: 0px 0 25px 50px;
}

.pagination .mdc-button {
    min-width: 35px !important;
}

.pagination .active a {
    font-weight: bold;
    color: #07010f;
}

.arrow-pag {
    margin: 6px 0 0 0;
}

/*-----------------Authorization-------------------------*/
.auth-dialog__body {
    min-height: 250px;
}

/*-----------------Recovery password--------------------------------------*/
.recovery-password-form {
    width: 450px;
}

#confirm-password-recovery {
    margin-left: 30px;
}

/*-----------------Errors------------------------*/
.errors {
    color: red;
    font-size: 14px;
    padding: 10px 0;
}

.error-input {
    display: none;
}

.error-input[role="alert"] {
    display: block;
}

/*------------------Basket-----------------------------*/
.top-basket__active a {
    color: #ffa500 !important;
}

#basket {
    width: 100%;
}

#basket td {
    border: 1px solid #e4e4e4;
    padding: 10px;
    vertical-align: middle;
}

#basket thead td {
    font-size: 18px;
    font-weight: 700;
}

.wrap-count-basket {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.basket-footer {
    display: flex;
    flex-direction: row;
    margin-top: 15px;
    justify-content: space-between;
}

#total-price {
    margin-top: 7px;
}

.total-price__title {
    font-size: 19px;
    font-weight: 700;
    margin-right: 20px;
}

.count-product-input {
    width: 55px;
    margin-bottom: 0;
}

/*------------------------Ordering---------------------------*/
#ordering-form {
    max-width: 460px;
}

.order-input {
    margin-right: 15px;
}

/*-------------------------Send message----------------------------------*/
#send-message-main {
    width: 210px;
    margin: 40px auto;
}

#send-message-main h3 {
    margin-bottom: 10px;
}

/*--------------------------Product---------------------------------------------*/
.product {
    display: flex;
    padding: 20px 0;
}

.product-image {
    border: 1px solid #ececec;
    margin-right: 10px;
}

.price-product-value {
    color: #9e9ea1;
    font-size: 26px;
    margin-left: 19px;
}

.product-currency {
    position: relative;
    top: 3px;
}

.product-footer-block {
    display: flex;
}

/*--------------------------Search---------------------------------------------*/
#search-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 500;
}

.overlay {
    width: 100%;
    height: 100%;
    opacity: 0.8;
    position: absolute;
    top: 0;
    left: 0;
    background: #cecece;
}

.search-block {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#search-page-button {
    height: 55px;
    margin-left: 5px;
    position: relative;
    top: -4px;
}