/**
 * Misc Fields
 */

#map {
    width: 100%;
    height: 400px;
}

.controls {
    margin-top: 10px;
    border: 1px solid transparent;
    border-radius: 2px 0 0 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 32px;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#searchInput {
    background-color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 300;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: 50%;
}

.map-not-loaded {
    background-color: rgba(0, 115, 170, 0.36);
}

.map-not-loaded p {
    padding: 150px 0 0;
    text-align: center;
}

#searchInput:focus {
    border-color: #4d90fe;
}

.dlsmb-ajax-loading {
    display: none;
    vertical-align: middle;
}

.dlsmb-field {
    margin: 0.6em 0;
}

.dlsmb-field.dlsmb-field-type-image {
    margin: 0;
}

.dlsmb-field LABEL.dlsmb-main-label {
    display: block;
}

.dlsmb-field LABEL.dlsmb-checkbox {
    display: inline;
}

.dlsmb-field-type-wysiwyg .wp-editor-tools {
    border-spacing: 0;
}

/**
 * Image Fields
 */

.dlsmb-preview-image IMG {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    display: block;
}

.dlsmb-image-wrap {
    display: inline-block;
    margin-top: .2em;
    position: relative;
}

.dlsmb-image-hover {
    position: absolute;
    top: -6px;
    right: -11px;
    visibility: hidden;
    -webkit-transition: opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s;
    -moz-transition: opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s;
    -o-transition: opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s;
    transition: opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s;
}

.dlsmb-preview-image:hover .dlsmb-image-hover {
    visibility: visible;
    opacity: 1;
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
}

.dlsmb-image-hover-icon A {
    text-decoration: none;
    display: block;
    background-color: #fff;
    border-radius: 3em;
    line-height: 1.5em;
    width: 1.5em;
    font-size: 1.2em;
    text-align: center;
    border-width: 1px;
    border-style: solid;
}

.dlsmb-image-hover-icon A:before {
    font-family: Dashicons, serif;
    vertical-align: bottom;
}

.dlsmb-image-hover-edit A:before {
    content: "\f464";
}

.dlsmb-image-hover-remove A {
    color: #e22f2e;
}

.dlsmb-image-hover-remove A:hover {
    color: #ff5348;
}

.dlsmb-image-hover-remove A:before {
    content: "\f182";
}

/**
 * Repeater
 */

.dlsmb-field-type-repeater TABLE {
    border-spacing: 0;
}

.dlsmb-field-type-repeater TABLE TR:nth-child(even) {
    background-color: #f2f2f2;
}

.dlsmb-field-type-repeater TABLE TR:nth-child(odd) {
    background-color: #fff;
}

.dlsmb-field-type-repeater TABLE THEAD TH {
    text-align: left;
}

.dlsmb-field-type-repeater LABEL.dlsmb-main-label {
    display: none;
}

.dlsmb-field-type-repeater TABLE TBODY TR TD {
    border-bottom: 1px solid #DFDFDF;
    padding: 10px 0;
    vertical-align: middle;
}

.dlsmb-field-type-repeater TABLE TBODY TR:first-child TD {
    padding-top: 0;
}

.dlsmb-field-type-repeater TABLE TBODY TR:last-child TD {
    border-bottom: 0;
}

.dlsmb-field-type-repeater TD.dlsmb-sort:before {
    content: "\f333";
    font-family: Dashicons, sans-serif;
    line-height: 3em;
    font-size: 1.2em;
    padding-left: .6em;
    padding-right: .4em;
}

.dlsmb-field-type-repeater TBODY TR:hover {
    cursor: move;
}

.dlsmb-field-type-repeater TBODY TR.ui-sortable-helper {
    cursor: move;
}

.dlsmb-blank-repeater {
    display: none;
}

.dlsmb-field-type-repeater A.dlsmb-icon {
    text-decoration: none;
}

.dlsmb-field .fa:before {
    margin: 0 0 0 0.1em;
    font-size: 1.2em;
    vertical-align: top;
}

.dlsmb-field .dashicons {
    margin: 0 0 0 0.1em;
    font-size: 1.4em;
    vertical-align: middle;
}

.dlsmb-field-type-repeater .dlsmb-js-add-remove .dlsmb-icon i:last-child:before {
    padding-right: 0.4em;
}

.dlsmb-field .dashicons-plus-alt:before {
    color: #6f9f44;
}

.dlsmb-field A:hover .dashicons-plus-alt:before {
    color: #9bdd5e;
}

.dlsmb-field .dashicons-trash:before {
    color: #e22f2e;
}

.dlsmb-field A:hover .dashicons-trash:before {
    color: #ff5348;
}

/*
 * Other
 */

.dlsmb-qe-value {
    display: none;
}
