.form-inline {
    display: block !important;
}

.RadSearchBox_Bootstrap {
    width: 80% !important;
}



@media (min-width: 768px) {
    .RadSearchBox_Bootstrap {
        width: 60% !important;
    }
}

@media (min-width: 992px) {
    .RadSearchBox_Bootstrap {
        width: 70% !important;
    }
}

@media (min-width: 1200px) {
    .RadSearchBox_Bootstrap {
        width: 75% !important;
    }
}

/*CSS for related products*/
.related-product-module-subcontainer {
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: row;
}

.related-product-module {
    cursor: pointer;
    margin: 22px;
    margin-top: 0px;
    width: 20%;
    position: relative;
}

    .related-product-module img {
        width: 100%;
    }

.related-product-button {
    background-color: #005EB8;
    border-radius: 25px;
    padding: 2px 12px;
    color: white;
    font-size: 12px;
    position: absolute;
    top: 30px;
    left: -25px;
}

.related-product-module-text {
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 125% !important;
    padding-top: 10px;
}

.related-product-module-title {
    font-size: 25px;
    margin: 30px;
    margin-bottom: 0px;
    color: #444;
}

.related-product-modal {
    width: 100%;
    margin-top: 50px;
    border: none;
	border-radius: 15px !important;
    padding: 25px;
}

.related-product-modal-dialog {
    width: 35%;
}

.related-product-modal-title {
    padding-bottom: 15px;
    text-transform: inherit !important;
    line-height: 115% !important;
    letter-spacing: 2px !important;
    color: #005EB8 !important;
    font-family: 'Montserrat', sans-serif, Helvetica, Arial !important;
    font-weight: 600 !important;
    font-size: 25px !important;
}

.related-product-order-info::-webkit-scrollbar {
    width: 5px !important;
}
/* Track */
.related-product-order-info::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3) !important;
    -webkit-border-radius: 10px !important;
    border-radius: 10px !important;
}
/* Handle */
.related-product-order-info::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px !important;
    border-radius: 10px !important;
    background: rgba(0, 100, 168, 1) !important;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0) !important;
}

.related-product-order-info::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(0, 100, 168, 1) !important;
}

.related-product-order-info .row {
	padding: 10px 0px;
}

@media (max-width: 768px) {
    .related-product-module-subcontainer {
        flex-wrap: wrap;
    }

    .related-product-module {
        width: 32%;
    }

    .related-product-button {
        top: 35px;
    }

    .related-product-modal-dialog {
        width: 90%;
    }
}
/*End CSS for related products*/

.RadMenu .rgHCMCols {
    display: none !important;
}

.RadSearchBox_Bootstrap .rsbInner .rsbInput {
    height: 30px !important;
}

.filterPanel {
    max-height: 200px;
    overflow-y: auto;
}

.liaccordian {
    list-style-type: none;
    margin-left: 0;
}

/* width */
.filterscrollbar::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.filterscrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.filterscrollbar::-webkit-scrollbar-thumb {
    background: #0065a9;
}

    /* Handle on hover */
    .filterscrollbar::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

#slider-thumbs .hide-bullets {
    padding-right: 2%;
    max-height: 450px;
    overflow: auto;
}

#slider-thumbs .hide-bullets::-webkit-scrollbar {
    width: 5px;
}

/* Track */
#slider-thumbs .hide-bullets::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

/* Handle */
#slider-thumbs .hide-bullets::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(0,100,168,1);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0);
}

    #slider-thumbs .hide-bullets::-webkit-scrollbar-thumb:window-inactive {
        background: rgba(0,100,168,1);
    }

#slider-thumbs .hide-bullets {
    list-style: none;
    margin-left: -40px;
    margin-top: 20px;
}

#slider-thumbs .thumbnail img {
    cursor: pointer;
    width: 100%;
    height: auto;
}

.item img {
    width: 100%;
    height: auto;
}

#slider-thumbs {
    width: 12%;
    float: left;
    margin-top: -20px;
}

#main_area {
    cursor: pointer;
    float: left;
    width: 87%;
    margin: 0px 0px 0px .75%;
}

#slider-thumbs .thumbnail {
    border: none !important;
    margin: 0px 0px 10% 0px !important;
    padding: 0px;
}

.product-page-image-modal .modal-content {
    width: 100% !important;
}

.product-page-image-modal .modal-body {
    padding: 0px !important;
}

.product-page-image-modal .modal {
    border: none !important;
}

.product-page-image-modal .modal-dialog {
    margin-top: 75px !important;
    max-width: 70% !important;
}
/*Fixes button spacing in search div well*/
.form-inline {
    display: block;
}
/*max-height for images not conforming to new AV provided resolution*/
.carousel-img-links img {
    max-height: 478.5px
}

@media only screen and (max-width: 768px) {
    .product-page-image-modal .modal-dialog {
        margin: 50px auto 0px auto !important;
        width: 90% !important;
    }
    /*For mobile, move thumbnails below slider*/
    #main_area {
        width: 100%;
        margin: 0;
    }

    #slider-thumbs {
        width: 100%;
    }

        #slider-thumbs .hide-bullets {
            display: flex;
            flex-wrap: wrap;
            padding: 0;
            margin-top: 26px;
            margin-left: 0;
        }

            #slider-thumbs .hide-bullets li {
                width: 20%;
            }

    .slider-wrapper {
        display: flex;
        flex-direction: column-reverse;
    }
}

