#MainContent input, textarea, select{
    box-sizing: border-box;
}

.price{
    float: none;
    font-weight: 800;
}

.price .price-hint{
    font-weight: normal;
}

#detailOverlay input, textarea, select{
    box-sizing: border-box;
}

.filterSearchForm {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #cccccc;
}

.filterSearchForm:last-child {
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
}

#detailOverlay {
    position: fixed;
    z-index: 99999;
    display: none;
    background-color: white;
    height: 80%;
    width: 80%;
    top: 100px;
    border: 1px solid #ccc;
    border-radius: 5px;
    left: 10%;
    overflow: auto;
}

.font-red {
    color: #990000;
}

.font-prominent {
    color: #990000;
    font-style: italic;
    font-weight: bold;
    text-decoration: underline;
}

.Details {
    margin-top: 10px;
    margin-left: 50px;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 10px 10px 10px;
    display: flex;
    flex-wrap: wrap;
}


#adSearchTable {
    margin-top: 5px;
}

.topSpace {
    margin-top: 10px;
    margin-right: 1px;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.add-to-basket-quantity {
    height: 34px;
    width: 40px;
}

#showDetails {
    text-decoration: none;
    color: #039;
    cursor: pointer;
}

#showDetails:hover{
    text-decoration: underline;
}

.overlayTable {
    border: 1px solid #ccc;
    align-self: center;
    margin-bottom: 15px;
    border-collapse: collapse;
}
.overlayTable>tbody>tr>td, .overlayTable>tbody>tr>th {
    border: 1px solid #ccc;
    min-width: 150px;
}
.overlayTable>tbody>tr:nth-child(2n) {
    background-color: #eee;
}
.overlayTableToggle {
    display: flex;
    align-content: center;
    width: 100%;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    cursor: pointer;
    background-color: #eee;
}
.overlayTableToggle:hover {
    text-decoration: underline;
    background-color: #ddd;
}

.center {
    margin: auto;
}

.overflowScrollContainer {
    overflow: auto;
}

.filterGridContainer {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
}

.filterItemPart1 {
    grid-area: 1 / 1 / span 1 / span 1;
}
.filterItemPart2 {
    grid-area: 1 / 2 / span 1 / span 1;
}
.filterItemPart3 {
    grid-area: 1 / 3 / span 10 / span 1;
}
.filterItemPart4 {
    grid-area: 2 / 1 / span 1 / span 2;
}
.filterItemPart5 {
    grid-area: 3 / 1 / span 1 / span 2;
}

.add-to-basket-button{
    margin-left: 0px;
}

.firstCustomDataToggle, .secondCustomDataToggle {
    display: none;
}

.add-to-basket-container {
    float: left;
    margin-top: 8px;
}

.category {
    width: 33.33%;
}

.height-unset{
    height: unset;
}

.category-image img {
    max-width: 100%;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 260px;
}

.select2-container {
    margin-right: 0;
}

h4 {
    margin-bottom: 10px;
}

.descr-div{
    width: 100%;
}

#detailOverlay .descr-div{
    width: initial;
}

.item-list h2{
    margin-bottom: 10px;
    margin-top: 0px;
}

.modelHeadline{
    text-align: center;
    border-radius: 5px;
    background-color: #eeeeee;
    border: 1px dotted white;
}

.modelHeadline:hover{
    background-color: #f4f4f4;
    border: 1px solid #0099ff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(82, 168, 236, 0.6);
    cursor: pointer;
    outline: 0 none;
}

.min-width-210 {
    min-width: 210px;
    margin-right: 15px;
}

@media screen and (max-width:1200px){
    .PageFrame{
        border: none;
    }

    .detailsButton{
        font-size: 17px;
        width: 245px;
        margin-right: 3px;
    }
}

@media screen and (min-width:1005px){
    .mobileDetailsButton {
        display: none;
    }
}

@media screen and (max-width:1000px){
    .Details {
        display: none;
    }
    .filterItemPart2 {
        grid-area: 1 / 2 / span 1 / span 2;
    }
    .filterItemPart4 {
        grid-area: 2 / 1 / span 1 / span 3;
    }
    .filterItemPart5 {
        grid-area: 3 / 1 / span 1 / span 3;
    }
} 

@media screen and (max-width:540px){
    .filterGridContainer {
        grid-template-columns: auto;
    }
    .filterItemPart2 {
        grid-area: 2 / 1 / span 1 / span 1;
    }
    .filterItemPart4 {
        grid-area: 3 / 1 / span 1 / span 1;
    }
    .filterItemPart5 {
        grid-area: 4 / 1 / span 1 / span 1;
    }			
}		

.category-layer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 0.625rem;
}

.category-layer>div {
    width: 100%;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: initial;
}

.select2-container--disabled {
    background-color: #eee !important;
}