.shadepicker-shades {
    background: #FFFFFF;
    padding: 25px;
    padding-top: 0;
    max-height: 577px;
    overflow: auto;
    margin: 0;
}

.shadepicker-shades-inner {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 1px;
}
.shadepicker-shades-inner.row:before, .shadepicker-shades-inner.row:after {
    display: none;
}

.shadepick-shade {
    color: #222;
    font-size: 0.85rem;
    flex: 0 0 12.5%;
    margin: 0;
    display: block;
}

.shadepick-shade-swatch {
    width: 100px;
    height: 100px;
    display: inline-block;
    margin-bottom: 10px;
}

.shadepick-shade-name {
    display: block;
    text-align: center;
}

.shadepicker-popup {
    max-width: 960px;
    margin: 0 auto;
    position: relative !important;
}

.shadepicker-popup .mfp-close {
    opacity: 1 !important;
    color: #2b2b2b !important;
    display: block;
    right: 5px !important;
    font-size: 3rem;
    font-weight: 200;
    top: 10px;
}

.shadepicker-popup .shades-intro {
    padding: 25px 55px 25px 25px;
    background: #fff;
    border-bottom: 2px solid #E2E2E2;
    color: #222;
}

.shadepicker-popup .shades-intro p {
    margin: 0;
}
.shadepicker-popup .shadepicker-filters {
    background: white;
    margin: 0 -25px;
    padding-top: 20px;
    position: sticky;
    top: 0;
}

.shadepicker-popup .shadepicker-shades .shadepicker-shades-inner .shadepick-shade .shade-wrap,
.shadepick-shade .shade-wrap {
    width: 85px;
    margin: 0 auto;
}

.shadepicker-popup .shadepicker-shades .shadepicker-shades-inner .shadepick-shade .shade-wrap:hover,
.shadepick-shade .shade-wrap:hover {
    cursor: pointer;
}

.shadepicker-popup .shadepicker-shades .shadepicker-shades-inner .shadepick-shade .shade-wrap .shadepick-shade-swatch,
.shadepick-shade .shade-wrap .shadepick-shade-swatch {
    width: 85px;
    height: 85px;
    margin-bottom: 3px;
}

.shadepicker-popup .shadepicker-shades .shadepicker-shades-inner .shadepick-shade .shade-wrap .shadepick-shade-name,
.shadepick-shade .shade-wrap .shadepick-shade-name {
    margin-bottom: 10px;
}

.shadepicker-popup .shadepicker-shades .shadepicker-shades-inner .shade-filters {
    width: 100%;
    display: flex;
    margin-bottom: 40px;
}

.shadepicker-popup .shadepicker-shades .shadepicker-filters .col-sm-6, .colourdirectory-index-index .col-sm-6 {
    margin-bottom: 20px;
}

.shadepicker-popup .shadepicker-shades .shadepicker-filters select {
    max-width: 300px;
    border: 1px solid #ededed !important;
    border-radius: 0 !important;
    height: 50px !important;
    font-size: 1rem;
    padding: 10px 15px !important;
    margin-top:5px;
    display: inline-block;

}

.colourdirectory-index-index select {
    flex: 0 0 50%;
    max-width: 300px;
    margin-right: 20px;
    border: 1px solid #ededed !important;
    border-radius: 0 !important;
    height: 50px !important;
    font-size: 1rem;
    padding: 10px 15px !important;
    margin-top:5px;
    display: block;
}

.shadepicker-input-wrapper {
    display: inline-block;
}

.columns .column.main .product-info-main .product-add-form .shadepicker-container input {
    border: 1px solid #eeeeee !important;
    border-radius: 0 !important;
    height: 48px !important;
    font-size: .95rem;
    padding: 10px !important;
    width: 100%;
    margin-top:5px;
    display: inline-block;
}

.columns .column.main .product-info-main .product-add-form .shadepicker-container .shadepicker-open {
    min-width: 180px;
    width: 40%;
    display: inline-block;
    text-align: center;
    color: #2b2b2b;
    font-family: "Muli", sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 8px 10px;
    height: auto;
    border-radius: 50px;
    background: #e7e7e7;
    background: -moz-linear-gradient(top, #e7e7e7 0%, #dddddd 100%);
    background: -webkit-linear-gradient(top, #e7e7e7 0%, #dddddd 100%);
    background: linear-gradient(to bottom, #e7e7e7 0%, #dddddd 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e7e7e7', endColorstr='#dddddd', GradientType=0);
    border: none;
    transition: all 0.3s linear;
    position: relative;

}
.columns .column.main .product-info-main .product-add-form .shadepicker-container .shadepicker-open > span {
    position: relative;
}
.columns .column.main .product-info-main .product-add-form .shadepicker-container .shadepicker-open > span:before {
    content: '';
    background: url('../images/find-colour.png');
    display: inline-block;
    width: 30px;
    height: 30px;
    position: absolute;
    left: 0;
    top: 0;
}

.columns .column.main .product-info-main .product-add-form .shadepicker-container .shadepicker-open.with-text-picker {
    margin-left: 60px;
}
.columns .column.main .product-info-main .product-add-form .shadepicker-container .shadepicker-open.with-text-picker:before {
    content: 'or';
    position: absolute;
    top: 15px;
    left: -35px;
    text-transform: lowercase;
    font-size: 0.9rem;
}

.columns .column.main .product-info-main .product-add-form .shadepicker-container .shadepicker-open img {
    width: 29px;
    height: 30px;
    float: left;
}

.columns .column.main .product-info-main .product-add-form .shadepicker-container .shadepicker-open span {
    display: block;
    padding: 5px 10px 0 0;
}

.columns .column.main .product-info-main .product-add-form .shadepicker-container .shadepicker-open:hover {
    background: #dddddd;
    background: -moz-linear-gradient(top,
    #dddddd 0%,
    #e7e7e7 100%);
    background: -webkit-linear-gradient(top,
    #dddddd 0%,
    #e7e7e7 100%);
    background: linear-gradient(to bottom,
    #dddddd 0%,
    #e7e7e7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dddddd',
    endColorstr='#e7e7e7',
    GradientType=0);
    text-decoration: none;
}

#shadepicker-chosen {
    display: none;
}

#shadepicker-chosen.chosen {
    display: block;
    margin-top: 20px;
}

#shadepicker-chosen h5, #shadepicker-chosen p.name, #shadepicker-chosen div.shadepick-shade.swatch {
    display: inline-block;
}
#shadepicker-chosen p.name {
    padding: 0 6px;
}
#shadepicker-chosen div.shadepick-shade.swatch {
    height: 20px;
    width: 20px;
    background-size: 100% 100%;
}
@media only screen and (max-width: 1039px) {
    .columns .column.main .product-info-main .product-add-form .shadepicker-container .shadepicker-open.with-text-picker {
        margin-left: 30px;
    }
    .columns .column.main .product-info-main .product-add-form .shadepicker-container .shadepicker-open.with-text-picker:before {
        left: -25px;
    }
}

@media only screen and (max-width: 999px) {
    .columns .column.main .product-info-main .product-add-form .shadepicker-container input {
        margin-bottom: 10px;
        width: 100%;
    }

    .columns .column.main .product-info-main .product-add-form .shadepicker-container .shadepicker-open.with-text-picker {
        margin-left: 40px;
        width: calc(100% - 40px);
    }
}


@media only screen and (max-width: 899px) {
    .columns .column.main .product-info-main .product-add-form .shadepicker-container input {
        width: 230px;
    }
    .columns .column.main .product-info-main .product-add-form .shadepicker-container .shadepicker-open.with-text-picker {
        max-width: 190px;
    }
}

@media only screen and (max-width: 767px) {
    .columns .column.main .product-info-main .product-add-form .shadepicker-container input {
        width: 49%;
    }

    .shadepicker-popup .shadepicker-shades .shadepicker-shades-inner .shadepick-shade {
        flex: 0 0 20%;
    }
    .columns .column.main .product-info-main .product-add-form .shadepicker-container .shadepicker-open {
        width: 100%;
    }
    .columns .column.main .product-info-main .product-add-form .shadepicker-container .shadepicker-open.with-text-picker {
        max-width: 280px;
        min-width: 180px;
        width: calc(50% - 40px);
    }

    .columns .column.main .info .review-items {
        margin: 0 auto !important;
        max-width: 600px;
    }

    .shadepicker-popup .shadepicker-shades .shadepicker-filters .col-sm-6 {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }

    .shadepicker-popup .shadepicker-shades .shadepicker-filters .col-sm-6 label {
        text-align: right;
        flex-grow:1;
    }
    .shadepicker-popup .shadepicker-shades .shadepicker-filters .col-sm-6 label:after {
        content: ': ';
        margin-right:10px
    }
}

@media only screen and (max-width: 549px) {
    .columns .column.main .product-info-main .product-add-form .shadepicker-container .shadepicker-open.with-text-picker {
        margin-left: 40px;
    }
}

@media only screen and (max-width: 529px) {
    .shadepicker-popup .shadepicker-shades {
        padding: 0 15px 25px 15px;
    }

    .shadepicker-popup .shadepicker-shades .shadepicker-shades-inner .shadepick-shade {
        flex: 0 0 25%;
    }
}

@media only screen and (max-width: 479px) {
    .columns .column.main .product-info-main .product-add-form .shadepicker-container input {
        width: 100%;
    }

    .columns .column.main .product-info-main .product-add-form .shadepicker-container .shadepicker-open.with-text-picker {
        max-width: unset;
        width: calc(100% - 40px);
    }
}


/* COLOUR DIRECTORY */
.colour-directory-title {
    width: 100%;
    background: #fff;
    text-align: center;
}

.colour-directory-title .inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 30px 20px;
}

.colour-directory-top {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 20px;
}
.colour-directory-top:empty {
    padding: 0;
    display: none;
}

.colour-directory-wrapper {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.colour-directory-wrapper .shadepicker-filters {
    width: 100%;
}

.colour-directory-wrapper:not('.container') div {
    flex: 0 0 8%;
}

.colour-directory-wrapper .shadepick-shade .shade-wrap:hover {
    cursor: unset!important;
}

body.colourdirectory-index-index .colour-directory-description-wrapper {
    text-align:center;
    background:#fff;
}

body.colourdirectory-index-index .colour-directory-description-wrapper .colour-directory-description {
    max-width:900px;
    margin:0 auto;
    padding:0 30px 30px;
}

body.colourdirectory-index-index .page-title-wrapper .page-title {
    margin:0 0 30px!important;


}