/* loading */
.rt-clear:after{
    clear: both;
    display: block;
    content: "";
}
input.large-text.code.rt-code-sc {
    color: #fff;
    background: #8cc63e;
    font-weight: bold;
    padding-top: 3px;
}
#rt-response {
    display: none;
    padding: 10px 10px 10px 20px;
    margin: 10px 0;
}
div#rt-loading {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999999999;
    background: rgba(0, 0, 0, .7);
    top: 0;
}

#rt-loading span.rt-loading {
    display: block;
    top: 50%;
    position: fixed;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    width: 100%;
    text-align: center;
}
/* nav tab style */
.rt-hidden{
    display: none;
}
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;
}
#settings-tabs .rt-tab-content {
    background: #fff;
    padding: 15px;
}
#settings-tabs .field-holder {
    margin-bottom: 15px;
    padding-bottom: 15px;
}

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

.rt-tab-container .field-holder {
    border-bottom: 1px solid #e7e7e7;
}
.field-holder {
    margin-bottom: 15px;
}
.field-holder:after {
    clear: both;
    content: "";
    display: block;
}
.rt-tab-container .field-holder label {
    float: left;
    max-width: 150px;
    width: 25%;
}
.field-holder label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}
.rt-tab-container .field-holder .field {
    float: right;
    width: 75%;
}
.custom_css_container .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;
}
/* image field */

.field .rt-image-preview {
    width: 100px;
    height: 100px;
    display: inline-block;
    background: #eee;
    position: relative;
    padding: 10px;
}
.field .rt-image-preview img {
    max-width: 100%;
}
.rt-image-preview span.dashicons.dashicons-plus-alt.rtAddImage {
    right: -10px;
    top: -10px;
    color: green;
}
.rt-image-preview span.dashicons.dashicons-trash.rtRemoveImage {
    color: red;
    left: -10px;
    top: -10px;
}
.rt-image-preview span.dashicons.dashicons-plus-alt.rtAddImage,
.rt-image-preview span.dashicons.dashicons-trash.rtRemoveImage {
    position: absolute;
    cursor: pointer;
}

/* popup */
div#rt-popup-wrapper {
    width: 80%;
    max-width: 700px;
    min-width: 400px;
    min-height: 200px;
    max-height: 300px;
    position: fixed;
    background: #fff;
    z-index: 999;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 15px;
    box-sizing: border-box;
    border: 2px solid blue;
    margin: auto;
    overflow-y: scroll;
}
.rt-popup-content {
    margin: 0 auto;
}
.rt-popup-close {
    position: absolute;
    right: 10px;
    top: 10px;
    color: red;
    cursor: pointer;
}
#rt-popup-wrapper h3.popup-title {
    background: #f1f1f1;
    margin: -15px -15px 15px -15px;
    padding: 15px;
}
#rt-popup-wrapper h3.popup-title span.dashicons {
    margin-right: 15px;
}
.popup-field-wrap .field-holder:after {
    clear: both;
    display: block;
    content: "";
}
.popup-field-wrap .field-holder {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.popup-field-wrap .field-holder .field-label {
    float: left;
    width: 150px;
}
.popup-field-wrap .field-holder .field {
    margin-left: 150px;
}
.popup-field-wrap .field-holder input[type=text]{
    width: 100%;
    padding: 5px;
}
/* admin table */
.tpt-wrapper .top-toolbar {
    margin: 10px;
}
.tpt-field-wrap .field-holder .field {
    margin-left: 200px;
}
.tpt-field-wrap .field-holder .field-label {
    float: left;
    width: 200px;
}
.tpt-field-wrap .field-holder .field > img {
    max-width: 300px;
}
.tpt-table-col .col-toolbar {
    display: inline-block;
    float: right;
}
.tpt-table-col .tpt-move-row,
.tpt-table-col .tpt-move-col{
    cursor: move;
}
.tpt-table-col .tpt-delete-col,
.tpt-table-col .tpt-delete-row,
.tpt-table-col .tpt-edit-row{
    cursor: pointer;
}
.tpt-table-col .tpt-delete-col:hover,
.tpt-table-col .tpt-delete-row:hover{
    color: red;
}

.tpt-table-col ,
.rt-pricing-col-placeholder{
    width: 260px;
    float: left;
    margin: 5px;
    border: solid 1px transparent;
    position: relative;
    -moz-transition: opacity 0.05s linear;
    -webkit-transition: opacity 0.05s linear;
    transition: opacity 0.05s linear;
    box-sizing: border-box;
}
.rt-pricing-col-placeholder {
    border:dashed 1px #dcdcdc;
    margin-top:47px;
}
.tpt-item-general.tpt-item-section .tpt-style-wrapper {
    display: block;
    float: none;
    margin-top: 8px;
}
.tpt-item-general.tpt-item-section .tpt-style-wrapper .rt-style{
    padding: 2px 5px;
}
.tpt-table-col .tpt-item-section {
    border: solid 1px #dcdcdc;
    margin-bottom: 5px;
    padding: 10px;
}
.tpt-item-section .section-title{
    margin-left: -10px;
    background: #8cc63e;
    border-bottom: 1px solid #dcdcdc;
    margin-right: -10px;
    margin-top: -10px;
    padding: 10px;
    color: #fff;
}
.tpt-item-section .section-title-wrap{
    max-width: 185px;
    display: inline-block;
}
.tpt-item-section .tpt-style-wrapper {
    display: inline-block;
    float: right;
}
.tpt-item-section .section-title h3 {
    color: #fff;
    margin: 0;
    display: inline-block;
}
.tpt-item-general.tpt-item-section .section-title {
    background: #0071bd;
}
.tpt-item-section .section-title > span {
    float: left;
    width: 30px;
    display: block;
    font-size: 20px;
}

.tpt-table-col *{
    box-sizing: border-box;
}
.tpt-table-col input {
    width: 100%;
}

.tpt-table-col .row-add-toolbar {
    margin: 10px 0;
}
.tpt-table-col span.rt-style {
    display: inline-block;
    cursor: pointer;
    background: #0071bd;
    color: #fff;
}
.tpt-table-col span.rt-style:hover {
    background: #8cc63e;
}
.rt-img-selector-wrap label {
    margin: 10px 0;
    display: inline-block;
}
.img-selector-media img {
    max-width: 100%;
}
.rt-icon{
    font-family: FontAwesome;
}
.tpt-table-col .body-row {
    background: #e7e7e7;
    padding: 5px;
    box-sizing: border-box;
    margin: 5px 0;
}
.tpt-table-col .body-row:after {
    clear: both;
    display: block;
    content: "";
}
.tpt-table-col .body-row .row-toolbar {
    display: inline-block;
    float: right;
    width: 70px;
}
#rt-popup-wrapper img.slt-preview-img {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
}

.icon-list-wrap span.icon {
    padding: 2px 5px;
    cursor: pointer;
    box-sizing: border-box;
    display: inline-block;
    border: 2px solid transparent;
}
.icon-list-wrap span.icon.selected, .icon-list-wrap span.icon:hover {
    border: 2px solid gray;
}
.hide .show-icons,.show .hide-icons{
    display: inline-block;
}
.hide .hide-icons,
.show .show-icons{
    display: none;
}
.toolbar span {
    cursor: pointer;
    color: green;
    padding: 5px 0;
}