.tovar-nabor-container{
    width: 100%;
    border: 2px solid rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.tovar-nabor-copy{
    display: none;
}

.zakaz-tovars-list{
    text-align: center;
    width: 100%;
    border-collapse: collapse;
    border-radius: 4px;
    font-size: 16px;
}
.zakaz-tovars-list, .zakaz-tovars-list td, .zakaz-tovars-list th{
    border: 1px solid #000;
}
.zakaz-tovars-list td, .zakaz-tovars-list th{
    padding: 7px 5px;
}
.zakaz-tovars-list .th{
    font-size: 18px;
}

.next-nabor{
    height: auto !important;
    text-align: left;
    background-color: #ffff00;
    line-height: 16px;
}

.complete-selection{
    margin-right: 30px;
}

#select-nabor-wrap{
    min-width: 200px;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 99;
}
#select-nabor-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 15px 0 60px;
    padding: 10px 15px;
    background: #fff;
}
.select-nabor{
    width: 100%;
    margin: 7px 0;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease; 
}
.select-nabor:hover{
    background-color: rgba(0, 0, 0, 0.2);
}

#add-nabor{
    display: block;
    margin: 15px auto 0;
    background-color: #ffff00;
    font-size: 14px;
}

.show-tovars, .show-edit-tovars{
    font-size: 14px;
}

.delete-nabor{
    margin-left: 20px;
    font-size: 14px;
}

#tovars-list{
    display: none;
}

.tovars-list-header{
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    font-size: 20px;
    font-weight: 500;
}

#tovars-list-wrap{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    min-width: 290px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 0;
    padding-top: 60px;
    z-index: 90;
}

.tovars-basket-container{
    height: 100%;
    text-align: center;
}

.tovars-basket{
    cursor: pointer;
    height: 50px;
    width: auto;
    max-width: 100%;
}

.delete-tovar-basket{
    width: 20px;
    height: 20px;
    cursor: pointer;
    vertical-align: middle;
}

.tovars-filters{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
}

.tovars-filters-fixed-top{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-width: 250px !important;
    max-width: 1000px !important;
    border: none !important;
    padding: 5px 0 !important;
    margin: 0 auto;
    max-width: 100%;
}

.tovars-filters > *{
    max-width: 100%;
}

#tovars-list-container{
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background-color: #fff;
    padding: 20px;
    margin: 0 5px;
    margin-bottom: 80px;
	border-radius: 2px;
	background-color: #fff;
    box-shadow: 0 0 6px 3px rgba(0, 0, 0, 0.22);
}

#search-tovar{
    margin-left: 10px;
}

#search-tovar-name{
    flex-grow: 1;
    min-width: 200px;
    max-width: 100%;
}

#search-group{
    background-color: #00ffee;
}

.filter-group-select{
    flex-grow: 1;
    min-height: 45px;
    min-width: 200px;
    max-width: 100%;
    border-radius: 20px;
    background-color: #e0e094;
    color: #000;
}

.tovars-list{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.tovar-group-container, .tovars-list-selected{
    border: 2px solid rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    margin: 25px 0;
}

.tovars-list-box{
    color: #000;
    border: 2px solid #7cfc00;
    border-radius: 5px;
    margin: 25px 0;
}

.box-list{
    border-spacing: 1px 10px;
    width: 100%;
    max-width: 100%;
    padding: 5px;
}
.box-item{
    cursor: pointer;
}
.box-item:hover td{
    background-color: rgb(210, 210, 210);
}
.box-item td{
    padding: 10px 5px;
    background-color: rgba(220, 220, 220, 0.6);
}
.tovars-list-box-title{
    border-bottom: 2px solid #7cfc00 !important;
}
.box-type-wrap{
    text-align: center;
    max-width: 30px;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.tovar-group-title, .tovars-list-selected-title, .tovars-list-box-title{
    width: 100%;
    max-width: 100%;
    padding: 15px 0;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.5);
    background-color: rgb(235, 235, 235);
}

.tovar-item{
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: stretch;

    width: 100%;
    max-width: 100%;
    padding: 20px 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.sub-tovar-item{
    flex-grow: 1;
    min-width: 40%;
    max-width: 100%;
}

.sub-tovar-item > *{
    width: 100%;
    max-width: 100%;
}

.tovar-description{
    display: none;
    text-align: justify;
}

.tovar-title{
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 15px;
}

.tovar-photo{
    cursor: pointer;
    margin: 0 7px 7px 0;
    min-width: 48%;
    min-height: 27%;
    max-width: 48%;
    max-height: 27%;
    transition: all 0.3s;
}
.tovar-photo:hover{
    opacity: 0.7;
}

.tovar-specifik{
    min-width: 50%;
    max-width: 100%;
    margin: auto;
    margin-top: 10px;
    text-align: center;
    border-collapse: collapse;
}

.tovar-specifik-little{
    display: none;
    width: 100%;
}

.tovar-specifik, .tovar-specifik td, .tovar-specifik th, .tovar-specifik tr{
    border: 1px solid rgba(0, 0, 0, 0.8);
    padding: 5px;
}

.tovar-cena{
    padding: 3px;
    border-radius: 1px;
    max-width: 50px;
}

.add-tovar{
    cursor: pointer;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    border: none;
}

.tovar-item-output td{
    background-color: rgb(235, 235, 235);
}

@media screen and (max-width: 690px){
    .tovars-filters{
        flex-direction: column;
    }

    #search-tovar-name, .filter-group-select, #search-tovar{
        margin: 0 0 10px;
    }

    .tovar-item{
        flex-direction: column;
    }
    .sub-tovar-item{
        width: 100%;
    }
    .tovar-photo{
        max-width: 100%;
        height: auto;
        margin: 0;
    }
    .tovar-title{
        margin: 15px 0;
    }
}

@media screen and (max-width: 450px){
    .tovar-specifik-big{
        display: none;
    }

    .tovar-specifik-little{
        display: table;
    }

    #add-nabor{
        font-size: 13px;
    }
}

@media screen and (max-width: 600px){
    .button-media{
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .button-media + .button-media{
        margin-top: 15px;
    }
}