* {
    -webkit-overflow-scrolling: touch;
}
.filter_bar {
	display: none;
}
html,
body {
    /*background: #fff;*/
    <?php echo $common_css;?>
    margin: 0;
    overflow-x: hidden;
}

.gallery_header {
    background-color: #FEE1A1;
    padding-top: 10px;
    padding-bottom: 90px;
}

.gallery_header h1 {
    color: #333 !important;
}

.filter_bar {
    padding: 40px 0;
}

.filter_bar label {
    margin: 0 10px;
}

.select-text {
    position: relative;
    width: 100%;
    font-family: inherit;
    background-color: transparent;
    padding: 10px 10px 10px 10px;
    font-size: 18px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

/* Remove focus */
.select-text:focus {
    outline: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0);
}

/* Use custom arrow */
.select .select-text {
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none
}

.select:after {
    position: absolute;
    top: 18px;
    right: 10px;
    /* Styling the down arrow */
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.12);
    pointer-events: none;
}


/* LABEL ======================================= */
.select-label {
    color: rgba(0, 0, 0, 0.26);
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 10px;
    top: 10px;
    -webkit-transition: 0.2s ease all;
    -o-transition: 0.2s ease all;
    transition: 0.2s ease all;
}

/* active state */
.select-text:focus~.select-label,
.select-text:valid~.select-label {
    color: #f8bc15;
    background-color: white;
    padding-left: 10px;
    padding-right: 10px;
    top: -9px;
    -webkit-transition: 0.2s ease all;
    -o-transition: 0.2s ease all;
    transition: 0.2s ease all;
    font-size: 14px;
}

/* BOTTOM BARS ================================= */
.select-bar {
    position: relative;
    display: block;
    width: 200px;
}

.select-bar:before,
.select-bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #f8bc15;
    -webkit-transition: 0.2s ease all;
    -o-transition: 0.2s ease all;
    transition: 0.2s ease all;

}

.select-bar:before {
    left: 50%;
}

.select-bar:after {
    right: 50%;
}

/* active state */
.select-text:focus~.select-bar:before,
.select-text:focus~.select-bar:after {
    width: 50%;
}

/* HIGHLIGHTER ================================== */
.select-highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

.minislider {
    width: 100%;
    height: 220px;
    overflow: hidden;
    margin-bottom: 10px !important;
}

.slick-dots {
    bottom: 0 !important
}

.slick-next {
    right: 0 !important;
}

.slick-next,
.slick-prev {
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.23);
}

.slick-prev {
    left: 0 !important;
}

.preset-grid-item {
    min-width: 200px;
    max-width: 360px;
    width: 30%;
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(0, 0, 0, 0.16);
    padding: 0px 0px 30px 0px;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
    margin: 10px;
    max-width: calc(100% - 30px);
    overflow-x: hidden;
}

.preset-grid-item:hover {
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1)
}

.preset_card {
    padding: 0 20px;
    width: 100%;
}

.preset-grid-item span {
    text-transform: capitalize;
    margin: 2px auto;
}

.preset-grid-item .theme-name {
    font-weight: 600;
    color: #333;
    font-size: 18px;
}

.preset-grid-item span.theme-type {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 0.9rem;
    color: rgba(102, 102, 102, 0.7);
}

.preset-grid-item.premium span.theme-type {
    color: #ffaf34;
}

.color-list {
    margin-bottom: 10px;
}

.color-option {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    margin: 3px 5px 3px 0;
}

#colors-available, #styles-available, #plans-available {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.23);
    padding: 20px;
    display: none;
    z-index: 10001;
}

.color-preset {
    width: 25px;
    height: 25px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
}

.filter_bar>div>* {
    width: 200px;
    min-width: 100px;
}

.filter_bar select,
.color-option,
#color-select>.select-text, #style-select, #plan-select {
    cursor: pointer;
}

#color-select>.select-text span, #style-select>.select-text span, #plan-select>.select-text span, .filter_bar select {
	color: #333;
}

.preset_item_cta {
    letter-spacing: 0;
    font-weight: 400;
    color: #444;
    font-size: 14px;
}

.preset_demo_img {
	background-size: cover;width: 100%;
	height: 185px;
	background-repeat: no-repeat;
	background-position: top center;
}

@media (max-width:768px) {
    .gallery_header {
        padding-bottom: 60px;
    }

	.filter_bar label {
		margin: 0;
	}

    .preset-grid-item:hover {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }
    .filter_bar>div>*, .select-bar{
    	width: 100%;
    }

	#colors-available, #styles-available, #plans-available {
		width: 80%;
		width: calc(100% - 60px);
	}

}

.forcehide {
    display: none !important;
}

.slick-next {
    right: 18px !important;
}

.slick-prev {
    left: 18px !important;
}

.slick-next:before,
.slick-prev:before {
    opacity: .9 !important;
}

.select-text.polyfix-bar {
    border-bottom: 2px solid #f8bc15;
}

#colors-available>div, #styles-available>div, #plans-available>div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    max-width: 300px;
}

@media (max-width: 1200px) {
    .slick-demo-theme {
        height: 155px !important;
    }

    .minislider {
        height: 190px;
    }
}

.color-preset.applied {
    border: 1px solid #000;
}

.style-preset.applied, .plan-preset.applied {
	color:#f8bc15;
}

#close-color-filter, #close-style-filter, #close-plan-filter {
    width: 15px;
    height: 15px;
    cursor: pointer;
    position: absolute;
    top: 4px;
    right: 4px;
}

#style-select, #color-select, #plan-select{
	padding: 0 10px;
}

@media (max-width: 991px) {
	.preset_demo_img {
		height: 125px;
	}
	.minislider {
		height: 150px;
	}
}

@media (max-width: 486px) {
	.preset-grid-item {
		width: 100%;
		max-width: 100%;
	}

	.preset_demo_img {
		height: 182px;
	}

	.minislider {
		height: 207px;
	}

	#colors-available, #styles-available, #plans-available {
		width: 80%;
		width: calc(100% - 30px);
	}
}

#reset_filters{
    cursor: pointer;
    display: block;
    text-align: center;
    text-decoration: underline;
    margin-top: 8px;
}