/** ******************************
 * Image selector
 ** ******************************/
.image-selector {
    display: block;
    margin: 10px 0;
}

.image-selector .image-selector-heading {
    position: relative;
}

.image-selector .image-selector-heading label {
    display: block;
    margin-right: 80px;
}

.image-selector .image-selector-heading .selected-value {
    font-weight: normal;
}

.image-selector .image-selector-heading button {
    background: transparent;
    border: none;
    padding-right: 22px;
    outline: none;
    position: absolute;
    top: 0;
    right: 0;
}

.image-selector .image-selector-heading button .toggle-text {
    margin-right: 2px;
    font-size: 13px;
}

.image-selector .image-selector-heading button .menu-indicator {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 0px;
    right: 0;

    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

.image-selector .image-selector-heading button .menu-indicator i {
    position: relative;
    top: -1px;
}

.image-selector.closed .image-selector-heading button .menu-indicator {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.image-selector .form-control,
.image-selector .form-control:focus {
    box-shadow: none;
}

.image-selector .image-selector-values ul {
    margin: 0;
    padding: 0;
}

.image-selector .image-selector-values ul li {
    width: 50%;
    height: 100px;
    display: inline-block;
}

.image-selector .image-selector-values button {
    width: 24%;
    height: 100px;
    text-align: center;
    padding: 5px;
    background: transparent;
    outline: none;
    border: 2px solid transparent;
    display: inline-block;
}

.image-selector .image-selector-values button.active {
    border: 2px solid #666;
}


@media(max-width: 991px) {
    .image-selector .image-selector-values button {
        width: 32%;
    }
}

@media(max-width: 480px) {
    .image-selector .image-selector-values button {
        width: 49%;
    }
}

.image-selector .image-selector-values button:hover {
    background-color: #f1f1f1;
}

.image-selector .image-selector-values button img {
    max-width: 80px;
    max-height: 80px;
    display: inline-block;
}

.image-selector .image-selector-values button .value-name {
    display: none;
}