/*  Admin Sc  */
#tlp-team-preview-container.loading:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, .85);
}

#tlp_team_sc_preview_meta #tlp-team-response .spinner {
    position: absolute;
    z-index: 9999;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.tlp-hidden {
    display: none;
}

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

.rt-hidden {
    display: none;
}


.tlp-field-holder {
    display: flex;
    border-bottom: 1px solid #EEEEEE;
}

.tlp-field-holder .tlp-field {
    flex: 1;
    padding: 15px 15px 15px 10px;
}

.tlp-field-holder .tlp-label {
    font-weight: bold;
    flex: 0 0 200px;
    padding: 15px 10px 15px 15px;
}

.tlp-field-holder .tlp-field textarea,
.tlp-field-holder .tlp-field input[type=text],
.tlp-field-holder .tlp-field input[type=url],
.tlp-field-holder .tlp-field input[type=email] {
    width: 75%;
}

.tlp-field span.desc {
    display: block;
    margin-top: 5px;
    color: gray;
    font-style: italic;
}

.social-link label {
    display: block;
}

.tlp-field .social-link {
    margin-bottom: 10px;
}

.tlp_slink {
    border-bottom: 1px solid #eee;
}

#response {
    display: none;
    padding: 10px 10px 10px 20px;
    margin: 10px 0;
}

.pro-feature {
    color: #cd322d;
    margin-bottom: 25px;
}

.rt-custom-image-size-wrap:after {
    clear: both;
    content: "";
    display: block;
}

.scg-field label {
    display: block;
}

.rt-custom-image-size-wrap label {
    font-weight: bold;
}

.rt-custom-image-size-wrap {
    margin: 15px;
}

.rt-custom-image-size-wrap .item {
    width: 33.333333%;
    float: left;
    box-sizing: border-box;
}

/*  ===============  Short code ===============  */

/* sc */
body.post-type-team-sc div#misc-publishing-actions, body.post-type-team-sc div#minor-publishing-actions {
    display: none;
}

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

.tlp-sc-meta-field-holder {
    display: inline-block;
    width: 100%;
}

.tlp-sc-meta-field-holder .sc-meta-field-full {
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 10px;
}


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

.tlp-sc-meta-field-holder .sc-meta-field-full:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

#sc-general-settings .tlp-sc-meta-field-holder .sc-meta-field-full:nth-last-child(2) {
    border-bottom: 0;
}

.tlp-sc-meta-field-holder .sc-meta-field-full.carousel {
    padding-top: 10px;
    border-top: 1px solid #e7e7e7;
}

.sc-meta-field-full .sc-meta-field.half {
    width: 50%;
    float: left;
    min-width: inherit;
}

.sc-meta-field-full.carousel {
    display: none;
}

.sc-meta-field-full .sc-meta-field.half > .row {
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
}

.sc-meta-field > label {
    font-weight: bold;
}

.sc-meta-field-full .sc-meta-field.half > label, .sc-meta-field-full .sc-meta-field.half > .row > label {
    float: left;
    width: 20%;
}

.sc-meta-field.half .field {
    float: right;
    width: 70%;
}

.tlp-team-sc-text-meta-box p {
    text-align: center;
    font-weight: bold;
    margin: 0;
    font-style: italic;
}

.sc-meta-field {
    display: table;
    width: 100%;
    padding: 5px 0;
    margin-bottom: 10px;
}

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

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

.sc-meta-field .field .sc-member-select {
    min-width: 250px;
}

.sc-meta-field-full .sc-meta-field.half label {
    min-width: 100px;
}

.tlp-sc-meta-field-holder .sc-meta-field .field select.tlp-select {
    min-width: 120px;
}

.sc-meta-field > label {
    float: left;
    width: 20%;

}

.sc-meta-field .field {
    float: right;
    width: 80%;
}

.sc-meta-field.hidden {
    display: none;
}

.sc-meta-field .field > div > span {

    margin-right: 5px;
}

.sc-meta-field .field input[type=number] {
    width: 50px;
}

/* Nav  style  */
ul.rt-tab-nav {
    padding: 0;
    display: flex;
    border-bottom: 1px solid #dee2e6;
    margin: 0;
}

ul.rt-tab-nav li {
    cursor: pointer;
    display: inline-block;
    margin-bottom: -1px;
}

ul.rt-tab-nav li + li {
    margin-left: 2px;
}

ul.rt-tab-nav li a {
    position: relative;
    font-size: 15px;
    color: #ffffff;
    background-color: #ffffff;
    padding: 10px 25px;
    border-radius: 4px 4px 0 0;
    display: inline-block;
    text-decoration: none;
    z-index: 2;
    transition: all 0.3s ease-in-out;
}

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

ul.rt-tab-nav li a:after {
    content: "";
    height: 100%;
    width: 100%;
    background-color: #5d3dfd;
    border-radius: 4px 4px 0 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    transition: all 0.3s ease-in-out;
}

ul.rt-tab-nav li.active a {
    color: #5d3dfd;
}

ul.rt-tab-nav li.active a:after {
    height: 10%;
}

ul.rt-tab-nav li a i {
    margin-right: 10px;
}

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-container .rt-tab-content {
    display: none;
    padding: 15px;
    background: #fff;
}

.tlp-field-holder.full .tlp-field {
    width: 100%;
}

.rt-tab-content .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;
}

input.large-text.code.tlp-code-sc {
    color: #fff;
    background: #5d3dfd;
    font-weight: bold;
}

.rt-tab-content .tlp-field-holder {
    border-bottom: 1px solid #e7e7e7;
    padding: 10px 0;
    display: flex;
}

.rt-tab-content .tlp-field-holder:last-child {
    border-bottom: 0;
}

.rt-tab-content .tlp-label {
    font-weight: bold;
    margin-bottom: 5px;
    flex: 0 0 200px;
}

.rt-tab-content .tlp-field {
    flex: 1;
}

.tlp-field .dashicons.dashicons-admin-settings {
    cursor: move;
}

.tlp-field .dashicons-trash {
    margin-left: 20px;
}

.tlp-field-holder {
    margin-bottom: 10px;
}

.tlp-field textarea,
.tlp-field input[type=text],
.tlp-field input[type=url],
.tlp-field input[type=email] {
    min-width: 75%;
}

.social-link label {
    display: block;
}

.tlp-field .social-link {
    margin-bottom: 10px;
}

.tlp_slink {
    border-bottom: 1px solid #eee;
}

/* image field */
.rt-image-preview {
    display: inline-block;
    background: #f7f7f7;
    position: relative;
    padding: 5px;
}

.rt-image-preview img {
    max-width: 150px;
}

.rt-image-preview span.dashicons.dashicons-plus-alt.rtAddImage,
.rt-image-preview span.dashicons.dashicons-trash.rtRemoveImage {
    position: absolute;
    cursor: pointer;
}

.rt-image-preview span.dashicons.dashicons-trash.rtRemoveImage {
    color: red;
    left: -25px;
    top: -10px;
}

.rt-image-preview span.dashicons.dashicons-plus-alt.rtAddImage {
    right: -10px;
    top: -10px;
    color: green;
}

/* style field */
.multiple-field-rt-container {
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}

.multiple-field-rt-container .field-inner.col-4 {
    width: 25%;
}

.multiple-field-rt-container .field-inner.col-3 {
    width: 33.33333333%;
}

.multiple-field-rt-container .field-inner.col-2 {
    width: 50%;
}

.multiple-field-rt-container .field-inner.col-1 {
    width: 100%;
}

.multiple-field-rt-container .field-inner-rt-container {
    padding: 0 5px;
    margin-bottom: 15px;
}

.multiple-field-rt-container .field-inner-rt-container span.label {
    display: block;
    margin-bottom: 5px;
}

#rt-response {
    display: none;
    padding: 10px 10px 10px 20px;
    margin: 10px 0;
}

.sRemove, .skRemove {
    color: red;
    cursor: pointer;
}

.social-h2 {
    margin-bottom: 10px;
}

td.fSelection label {
    display: block;
    margin-bottom: 3px;
}

/* hide */

div#tagsdiv-team_skill {
    display: none;
}

.wp-picker-container {
    float: left;
}

.tlp-font-size, .tlp-font-align, .tlp-font-weight {
    float: left;
    margin-right: 5px;
    margin-left: 5px;
}


/* team profile image gallery */

ul#tlp-team-gallery li {
    position: relative;
    display: inline-block;
    margin: 5px;
    cursor: move;
}

ul#tlp-team-gallery li img {
    width: 150px;
    height: 150px;
    border: 1px solid #eee;
    padding: 5px;
}

#tlp-team-gallery-holder .add-new-holder {
    text-align: right;
}

span#add-new-team-img {
    cursor: pointer;
}

span#add-new-team-img span.dashicons-plus-alt {
    color: green;
}

span#add-new-team-img span {
    display: inline-block;
    line-height: 27px;
}

ul#tlp-team-gallery li span.dashicons-dismiss {
    color: red;
    position: absolute;
    top: -5px;
    right: -5px;
    cursor: pointer;
}

ul#tlp-team-gallery li span.tlp_loading {
    position: absolute;
    top: 65px;
    left: 65px;
}


/* settings */
.rt-settings-container {
    display: flex;
    flex-wrap: wrap;
}

.rt-setting-content {
    flex: 1;
}

.rt-pro-feature-content {
    flex: 0 0 350px;

}

.rt-settings-container #response {
    display: none;
    padding: 10px 10px 10px 20px;
    margin: 10px 0;
}

.rt-pro-feature-content .rt-update-pro-btn {
    display: block;
    width: 100%;
}

.rt-features-wrap {
    background-color: #5d3dfd;
    padding: 35px 40px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.rt-features-wrap .item-title {
    font-size: 24px;
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 20px;
    margin: 0;
}

.rt-features-wrap .item-title span {
    margin: 0 4px;
    padding: 5px 10px 3px;
    border-radius: 4px;
    background-color: #ff0000;
    display: inline-block;
}

.rt-features-wrap .list-item {
    padding-left: 0;
}

.rt-features-wrap .list-item li {
    position: relative;
    z-index: 1;
    list-style: none;
    padding-left: 30px;
    color: #ffffff;
    margin-bottom: 10px;
}

.rt-features-wrap .list-item li:before {
    content: "\f147";
    font-family: dashicons, serif;
    font-weight: 600;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    color: #ffffff;
}

.rt-features-wrap .list-item li:last-child {
    margin-bottom: 0;
}

body .rt-admin-btn,
body .rt-admin-btn.button-primary {
    text-align: center;
    background-color: #5d3dfd;
    display: inline-block;
    font-size: 15px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 4px;
    position: relative;
    z-index: 2;
    line-height: 1.4;
    transition: all 0.3s ease-in-out;
    height: auto;
}

body .rt-admin-btn.button-primary,
body .rt-admin-btn:hover {
    background-color: #4e35cc;
    color: #ffffff;
    text-decoration: none;
}

/* End feature settings */

/* metabox style */
#tlp_team_sc_settings_meta .postbox-header {
    font-size: 18px;
    color: #000000;
    background-color: #ffffff;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

#tlp_team_sc_settings_meta,
#rt_plugin_team_sc_pro_information {
    background: transparent;
    border: 0;
}

#rt_plugin_team_sc_pro_information .postbox-header {
    display: none;
}

#tlp_team_sc_settings_meta .inside,
#rt_plugin_team_sc_pro_information .inside {
    padding: 0;
    margin: 0;
}

/* update pro information */

.rt-document-box.rt-update-pro-btn-wrap {
    padding: 0;
}

.rt-update-pro-btn-wrap {
    margin-bottom: 30px;
}

.rt-update-pro-btn-wrap .rt-update-pro-btn {
    text-align: center;
    background-color: #5d3dfd;
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    padding: 20px 30px;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

.rt-document-box {
    background-color: #ffffff;
    -webkit-box-shadow: 0 1px 18px 0 rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 18px 0px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    padding: 30px 20px;
    display: flex;
}

.rt-document-box + .rt-document-box {
    margin-top: 30px;
}

.rt-document-box .rt-box-icon {
    height: 30px;
    width: 30px;
    background-color: #ecf1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    margin-right: 10px;
}

.rt-document-box .rt-box-icon i {
    font-size: 20px;
    color: #5d3dfd;
}

.rt-document-box .rt-box-content {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.rt-document-box .rt-box-content .rt-box-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    color: #000000;
    font-weight: 600;
}

.rt-document-box .rt-box-content p {
    font-size: 14px;
    color: #646464;
    margin: 0 0 25px 0;
}

.rt-update-pro-btn-wrap .rt-update-pro-btn:hover {
    background-color: #4e35cc;
    text-decoration: none;
    color: #ffffff;
}

/* End update pto button */
.tlp-help-link {
    background: #fff;
    padding: 35px 25px;
    display: flex;
    justify-content: center;
}

.tlp-help-link a + a {
    margin-left: 5px !important;
}

div#settings-tabs {
    background: #fff;
    padding: 10px;
}

.tlp-checkbox-list.vertical label {
    display: block;
    margin-bottom: 5px;
}

.tlp-checkbox-list label input[type=checkbox] {
    margin-right: 5px;
}

/* sorting */
.tlp-taxonomy-wrapper {
    margin-top: 15px;
    margin-bottom: 25px;
    max-width: 500px;
}

.tlp-taxonomy-wrapper label {
    font-size: 15px;
    margin-bottom: 10px;
    display: block;
}

ul#order-target {
    max-width: 500px;
}

ul#order-target li {
    padding: 2px 0;
    margin: 4px 0;
    border: 1px solid #dddddd;
    cursor: move;
    -moz-border-radius: 6px;
    background-color: #f9f9f9;
}

ul#order-target li span {
    display: block;
    padding: 5px 10px;
    color: #555;
    font-size: 13px;
}

#order-terms #tto_sortable li:nth-child(2n+1) > .item {
    background-color: #fff !important;
}

ul#order-target li.placeholder {
    border: dashed 2px #ccc;
    height: 30px;
    background-color: #fff;
}


@media only screen and (max-width: 1199px) {
    .rt-update-pro-btn-wrap .rt-update-pro-btn {
        font-size: 20px;
    }
}

@media only screen and (max-width: 950px) {
    #tlp-team-setting-wrapper {
        flex-direction: column;
    }

    .tlp-team-setting-doc-wrap {
        margin-left: 0;
        flex: 1;
    }
}

@media only screen and (max-width: 767px) {
    .rt-update-pro-btn-wrap .rt-update-pro-btn {
        font-size: 18px;
    }

    .rt-settings-container {
        flex-direction: column;
    }

    .rt-settings-container .rt-setting-content,
    .rt-settings-container .rt-pro-feature-content {
        flex: 1;
    }
}

@media only screen and (max-width: 479px) {
    .rt-update-pro-btn-wrap .rt-update-pro-btn {
        font-size: 16px;
    }

    .rt-tab-content .tlp-field-holder {
        flex-direction: column;
    }

    .rt-tab-content .tlp-label {
        flex: 1;
        padding: 0;
        margin-bottom: 10px;
    }

    .tlp-field-holder .tlp-field {
        padding: 0;
    }
}
