/* meta panel css */

div#wls-loading {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999999999;
    background: rgba(0, 0, 0, .7);
    top: 0;
}

span.wls-loading {
    display: block;
    top: 50%;
    position: fixed;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.rt-loading {
    background: url('../images/loading.gif') no-repeat center center;
    padding: 11px;
}

.rt-wls-meta-holder .field-holder:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

.rt-wls-meta-holder .field-holder {
    margin-bottom: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.rt-tab-content .field-holder.full > .field {
    width: 100%;
}

.rt-wls-meta-holder .field-holder:last-child {
    border-bottom: 0;
}

.rt-wls-meta-holder .field-holder > label {
    float: left;
    width: 25%;
}

.rt-wls-meta-holder .field-holder > .field {
    float: right;
    width: 75%;
}

.rt-wls-meta-holder .field-holder > .field input[type='text'],
.rt-wls-meta-holder .field-holder > .field input[type='url'] {
    width: 85%;
}

.rt-wls-meta-holder .rt-textarea {
    width: 100%;
    height: 150px;
}

.rt-setting-holder .custom-css {
    border: 1px solid #dfdfdf;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    width: 100%;
    max-width: 800px;
    height: 200px;
    position: relative;
}

/* drag and drop sorting */

body.post-type-wlshowcase .ui-sortable tr:hover {
    cursor: move;
}

body.post-type-wlshowcase .ui-sortable tr.alternate {
    background-color: #f9f9f9;
}

body.post-type-wlshowcase .ui-sortable tr.ui-sortable-helper {
    background-color: #f9f9f9;
    border-top: 1px solid #dfdfdf;
}

td.wls_logo_thumb.column-wls_logo_thumb img {
    width: 90px;
}

/* ShortCode Generator */

body.post-type-wlshowcasesc div#misc-publishing-actions,
body.post-type-wlshowcasesc div#minor-publishing-actions,
body.post-type-wlshowcase #edit-slug-box {
    display: none;
}

.post-type-wlshowcasesc div#submitdiv.sticky {
    position: fixed;
    top: 32px;
}

input.large-text.code.rt-code-sc {
    color: #fff;
    background: #8cc63e;
    font-weight: bold;
    padding-top: 3px;
}

ul.rt-tab-nav {
    clear: both;
    margin-top: 0;
    padding: 0;
    display: inline-block;
    width: 100%;
    margin-bottom: -4px;
}

ul.rt-tab-nav li {
    background: none repeat scroll 0 0 rgb(230, 230, 230);
    cursor: pointer;
    display: inline-block;
    float: left;
    margin: 0;
}

ul.rt-tab-nav li:focus {
    outline: none;
}

ul.rt-tab-nav li.active a,
ul.rt-tab-nav li a:hover {
    background: #8cc63e;
}

ul.rt-tab-nav li.active a:after,
ul.rt-tab-nav li a:hover:after {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 5px solid #8cc63e;
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
    content: "";
}

ul.rt-tab-nav li a {
    text-decoration: none;
    display: block;
    padding: 8px 15px;
    border-right: 1px solid;
    background: #0071bd;
    color: #fff;
    position: relative;
    font-weight: bold;
}

ul.rt-tab-nav li:last-child a {
    border-right: 0;
}

ul.rt-tab-nav li a:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.rt-tab-content {
    display: none;
    border: 1px solid #e7e7e7;
    padding: 15px;
}

.field-holder:after {
    clear: both;
    content: ".";
    height: 0;
    visibility: hidden;
    display: block;
}

.field-holder {
    margin-bottom: 15px;
}

.field-holder select {
    width: 100%;
}

.field-holder > label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.rt-tab-container .field-holder {
    border-bottom: 1px solid #e7e7e7;
}

.rt-tab-container .field-holder:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.rt-tab-container .field-holder:first-child {
    border-top: none;
    padding-top: 15px;
}

.rt-sc-meta-field-holder .field-holder {
    padding: 10px;
    margin-bottom: 10px;
}

.rt-tab-container .field-holder > label {
    float: left;
    max-width: 150px;
    width: 25%;
}

.rt-tab-container .field-holder > .field {
    float: right;
    width: 75%;
}

.checkbox-group.vertical > label,
.radio-group.vertical > label {
    display: block;
    margin-bottom: 5px;
}

.field-holder .checkbox-group > label {
    margin-right: 15px;
}

.rt-select {
    min-width: 300px;
}

.field-holder > .field:after {
    visibility: hidden;
    content: ".";
    display: block;
    clear: both;
    height: 0;
}

.select2-container {
    width: 100% !important;
}

#sc-wls-filter .field-holder,
#sc-wls-style .field-holder {
    padding: 5px;
    margin-bottom: 5px;
}

.field-holder > .field > .field-item {
    display: inline-block;
    min-width: 33.3333%;
}

.rt-tab-container .field-holder .wp-picker-container .iris-picker {
    position: absolute;
    z-index: 999;
}

.rt-tab-container .field-holder .wp-picker-container.wp-picker-active {
    width: 265px;
}

.field-holder > .field > .field-item > label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.field-holder > .field > .field-item > .wp-picker-container > a {
    margin: 0;
}

/* sortable field */

.rt-sortable:after {
    content: ".";
    display: block;
    visibility: hidden;
    height: 0;
    clear: both;
}

.rt-sortable .sortable-list-holder {
    width: 50%;
    float: left;
}

.rt-sortable .sortable-list-content {
    border: 1px solid #b2b2b2;
}

.rt-sortable .sortable-list-content:first-child {
    margin-right: 10px;
}

.rt-sortable .sortable-list-content:last-child {
    margin-left: 10px;
}

.rt-sortable .sortable-list-content > h2 {
    text-align: center;
    margin: 5px 0 !important;
}

.rt-sortable .sortable-list-holder ul.sortable-list {
    padding: 10px;
    margin: 0;
    background: #f0f0f0;
}

li.sortable-item {
    text-align: center;
    padding: 10px;
    border: 1px solid #b2b2b2;
    cursor: move;
    background: #fff;
}

/* settings page */

form#rt-wls-settings-form {
    background: #fefefe;
    padding: 15px;
}

form#rt-wls-settings-form .field-holder {
    padding-bottom: 15px;
}

.rt-response {
    padding: 5px;
}

.rt-response.updated,
.rt-response.error {
    padding-top: 5px;
    padding-bottom: 5px;
}

@media (max-width: 767px) {
    .rt-setting-holder .field-holder {
        float: none;
        width: 100%;
    }

    .rt-wls-meta-holder .field-holder > label,
    .rt-wls-meta-holder .field-holder > .field {
        float: none;
        width: 100%;
    }

    .rt-wls-meta-holder .field-holder {
        margin-bottom: 0px;
    }

    .rt-wls-meta-holder .field-holder > label {
        margin-bottom: 15px;
    }
}