/* tab css */
:root {
    /*--rttpg-primary-color: #5d3dfd;*/
    --rttpg-primary-color: #5433ff;
    --rttpg-primary-rgb: 76, 111, 255;
    --rttpg-primary-dark: #290bcb;
    --rttpg-primary-light: #7760ff;
    --rttpg-secondary-color: #260bb1;
    --rttpg-bg-light: #f7fafc;
    --rttpg-light-bg: #ece8ff;
    --promo-card-padding: 30px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

input.rt-code-sc::selection {
    background: var(--rttpg-bg-light);
    color: var(--rttpg-primary-color);
}

input.rt-code-sc::-moz-selection {
    background: var(--rttpg-bg-light);
    color: var(--rttpg-primary-color);
}

/*Default Global CSS for */
.post-type-rttpg #rttpg_meta label {
    position: relative;
}

.post-type-rttpg.wp-core-ui .button-group {
    white-space: inherit;
}

.post-type-rttpg #tpg-post-type-wrapper,
.post-type-rttpg #rttpg_meta {
    background-color: #fff;
    padding: 20px;
}

.rttpg_page_rttpg_settings.wp-core-ui #rttpg_meta select {
    min-height: 40px;
    border-color: #dee5e9;
}

.rttpg_page_rttpg_settings.wp-core-ui #rttpg_meta select:focus {
    outline: none;
    /*border: none;*/
    box-shadow: none;
}

.post-type-rttpg .select2-container--classic .select2-selection--single,
.post-type-rttpg :is(.rt-setting-holder,.settings-container) select,
.post-type-rttpg .select2-container--classic .select2-selection--multiple,
.post-type-rttpg input[type=time],
.post-type-rttpg input[type=url],
.post-type-rttpg input[type=number],
.post-type-rttpg input[type=text] {
    min-height: 40px;
    transition: 0.4s;
    border-color: #dee5e9;
    background: #fff;
    width: 100%;
    max-width: inherit;
}

.rt-tab-content hr {
    border-top: 1px solid #d6dee8;
    margin-top: 30px;
    margin-bottom: 30px;
}

.post-type-rttpg input[type=time],
.post-type-rttpg input[type=url],
.post-type-rttpg input[type=number],
.post-type-rttpg input[type=text] {
    width: 100%;
}

.post-type-rttpg .tablenav-pages .current-page {
    width: auto;
    min-height: inherit;
}

.post-type-rttpg .select2-container--classic:not(.select2-container--open) .select2-selection--multiple:hover,
.post-type-rttpg .select2-container--classic:not(.select2-container--open) .select2-selection--single:hover,
.post-type-rttpg.wp-core-ui select:focus,
.post-type-rttpg.wp-core-ui select:hover,
.post-type-rttpg input:focus,
.post-type-rttpg input:hover {
    border-color: #a3b1de !important;
    outline: none;
    box-shadow: none;
}

.post-type-rttpg input[type=checkbox],
.post-type-rttpg input[type=radio] {
    box-shadow: none;
    border: 2px solid #a3b1de;
    padding-top: 1px;
}

.post-type-rttpg input[type=checkbox]:hover,
.post-type-rttpg input[type=radio]:hover {
    border-color: var(--rttpg-primary-color) !important;
}

.post-type-rttpg input[type=radio] {
    width: 20px;
    height: 20px;
}

.post-type-rttpg input[type=radio]:checked::before {
    width: 12px;
    height: 12px;
    background: var(--rttpg-primary-color);
    top: 4px;
    left: 4px;
    position: absolute;
    float: none;
    margin: 0;
}

.post-type-rttpg .postbox-container input[type=checkbox],
.post-type-rttpg .postbox-container input[type=radio] {
    margin: -0.1rem .50em 0 0;
}

.post-type-rttpg input[type=checkbox]:checked {
    background-color: var(--rttpg-primary-color);
    border: none;
    position: relative;
}

.post-type-rttpg input[type=checkbox]:checked:hover {
    background-color: var(--rttpg-primary-dark);
}

.post-type-rttpg input[type=checkbox]:checked::before {
    content: url('data:image/svg+xml;utf8,<svg width="9" height="7" viewBox="0 0 9 7" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M7.66667 1L3.08333 5.58333L1 3.5" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> </svg>');
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.post-type-rttpg .postbox-header {
    background-color: #fff;
}

.post-type-rttpg #rttpg_meta .postbox-header {
    border: none;
}

.post-type-rttpg .field-holder span.rt-loading {
    position: absolute;
    background-color: #f7fafc;
    left: -4px;
    top: 0;
}

.post-type-rttpg .form-wrap p, p.description {
    color: #7c8387;
}

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

/*End Global CSS*/

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

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

/* sorting */
.tpg-form-item-wrap {
    margin-top: 15px;
    margin-bottom: 25px;
    max-width: 100%;
}

.tpg-form-item-wrap:after {
    clear: both;
    display: block;
    content: "";
}

.tpg-form-item-wrap label {
    float: left;
    width: 200px;
    font-weight: bold;
    min-width: 140px;
    margin-bottom: 15px;
    margin-top: 3px;
}

.tpg-form-item {
    width: 300px;
    float: left;
}

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

ul#order-target li {
    padding: 2px 0;
    margin: 4px 0;
    border: 1px solid #ddd;
    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 all and (max-width: 767px) {
    .style-field-tpg-container {
        -webkit-flex-direction: column;
        flex-direction: column;
    }
}

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

body.post-type-rttpg div#misc-publishing-actions,
body.post-type-rttpg div#minor-publishing-actions {
    display: none;
}

/* fix */
body .select2-results__option {
    padding: 6px;
}

.tpg-hidden {
    display: none;
}

ul.rt-tab-nav {
    background: var(--rttpg-light-bg);
    padding: 20px 0;
    border-radius: 7px 0 0 7px;
    margin: 0;
    position: sticky;
    top: 32px;
    height: 100%;
}

.postbox-container ul.rt-tab-nav li a {
    border-radius: 7px;
    padding: 0 15px;
    line-height: 1;
    min-height: 35px;
    margin: 7px 0 3px 0;
    text-align: center;
}
.postbox-container ul.rt-tab-nav li {
    margin: 0;
}
.postbox-container ul.rt-tab-nav {
    display: flex;
    position: static;
    padding: 0;
    border-radius: 8px;
}

ul.rt-tab-nav li {
    padding: 0 0 4px 15px;
    margin-right: -2px;
    overflow: hidden;
    margin-bottom: 0;
}

ul.rt-tab-nav li a {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    gap: 4px;
    align-items: center;
    min-height: 46px;
    padding-left: 18px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    color: #000;
    border-radius: 7px 0 0 7px;
    margin-right: -4px;
}

ul.rt-tab-nav li :is(.dashicons, svg) {
    font-size: 14px;
    display: inline-flex;
    margin-right: 5px;
    transition: 0.2s;
}

ul.rt-tab-nav li.active :is(.dashicons, svg) {
    color: var(--rttpg-primary-color);
    font-size: 16px;
}

ul.rt-tab-nav li:hover a,
ul.rt-tab-nav li.active a {
    background: #FFF;
    color: var(--rttpg-primary-color);
    outline: none;
    border: none;
    box-shadow: rgba(0, 0, 0, 0) 0 0 0 0, rgba(0, 0, 0, 0) 0 0 0 0, rgba(0, 0, 0, 0.05) 0 1px 2px 0
}

.rt-tab-content {
    display: none;
}

.settings-container {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-right: 15px;
}

.settings-row {
    display: flex;
}

@media (max-width: 1000px) {
    .settings-row {
        flex-direction: column;
        row-gap: 40px;
        align-items: center;
    }
}

.rt-settings-header-inner {
    flex-wrap: nowrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rt-settings-header-inner .settings-logo {
    display: flex;
    column-gap: 15px;
    align-items: center;
}

.rt-settings-header-inner .settings-logo .rt-logo {
    max-width: 50px;
}

.rt-settings-header-inner .settings-logo .rt-logo img {
    width: 50px;
}

.rt-settings-header-inner .settings-logo .rt-content span {
    color: #64748b;
    font-size: 13px;
}

.rt-settings-header-inner .settings-logo .rt-content h2 {
    margin: 0 0 7px;
    font-size: 20px;
    font-weight: bold;
}

.rt-settings-header-inner .settings-menu a {
    line-height: 1.25rem;
    color: rgb(71 85 105 / 1);
    text-decoration: none;
    font-size: 15px;
    margin-left: 15px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.rt-settings-header-inner .settings-menu a.doc {
    color: var(--rttpg-primary-color);
    border: 1px solid;
    border-radius: 30px;
    padding: 10px 20px;
}

.rt-settings-header-inner .settings-menu a.doc:hover {
    background: var(--rttpg-primary-color);
    color: #FFFFFF;
}

.rt-settings-header-inner .settings-menu a:hover {
    color: var(--rttpg-primary-color);
}

.settings-container .content-footer .submit-wrap {
    margin: 0;
}

.settings-container .content-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 40px;
    margin-top: auto;
}

.rt-settings-header {
    border-bottom: 1px solid var(--rttpg-light-bg);
    padding-bottom: 12px;
    padding-top: 12px;
    margin-left: -20px;
    background: #FFFFFF;
    padding-left: 20px;
}

.tpg-promo-inner .promo-image img {
    width: 100%;
}

.tpg-promo-inner .promo-image {
    margin-top: calc(var(--promo-card-padding) * -1);
    margin-left: calc(var(--promo-card-padding) * -1);
    margin-right: calc(var(--promo-card-padding) * -1);
    border-radius: 8px;
    overflow: hidden;
}

.tpg-promo-inner .promo-title {
    font-size: 1.5em;
    line-height: 1.3;
}

.tpg-promo-inner .offer {
    margin-bottom: 15px;
    animation: pulse 1.8s linear infinite;
    transition: 0.4s;
}

.tpg-promo-inner .offer:hover {
    animation-duration: 0.5s;
}

.tpg-promo-inner .rt-admin-btn {
    display: block;
    color: white;
    box-shadow: 0 0 5px rgb(84, 51, 255, .2), 0 0 15px rgb(84, 51, 255, .2), 0 0 30px rgb(84, 51, 255, .2), 0 0 40px rgb(84, 51, 255, .2);
}

.tpg-promo-inner ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tpg-promo-inner ul li {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.tpg-promo-inner ul li:before {
    align-items: center;
    color: rgb(39, 174, 96);
    content: "✓";
    display: flex;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    height: 20px;
    justify-content: center;
    margin-right: 10px;
    width: 20px;
    background: rgb(213, 244, 230);
    border-radius: 50%;
}


.tpg-promo-inner {
    background: #FFF;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1);
    padding: var(--promo-card-padding);
    box-sizing: border-box;
    border-radius: 8px;
}

.tpg-promo-container {
    flex: 0 0 300px;
    max-width: 300px;
    padding-left: 30px;
}

#settings-tabs .rt-settings-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    /*border: 1px solid var(--rttpg-light-bg);*/
    padding: 30px;
    background: #FFFFFF;
    border-radius: 0 7px 7px 0;
    min-height: 500px;
}

#settings-tabs .rt-settings-sidebar {
    flex: 0 0 250px;
    max-width: 250px;
}

@media (max-width: 767px) {
    #settings-tabs .rt-settings-sidebar {
        flex: 0 0 220px;
        max-width: 220px;
    }

    ul.rt-tab-nav li a {
        font-size: 13px;
    }
}

#settings-tabs {
    display: flex;
    gap: 0;
}

@media (max-width: 1200px) {
    #settings-tabs {
        flex-wrap: wrap;
        row-gap: 30px;
    }
}


@media (max-width: 570px) {
    #settings-tabs {
        flex-direction: column;
    }

    #settings-tabs .rt-settings-sidebar {
        flex: 1;
        max-width: 100%;
    }

    ul.rt-tab-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    ul.rt-tab-nav li {
        border-radius: 10px;
        overflow: hidden;
    }

    ul.rt-tab-nav li a {
        padding: 0 15px;
        border-radius: 10px;
        margin: 0;
    }
}

body .meta-box-sortables .field-holder select {
    width: 100%;
}

.rt-tab-content .field-holder.pro-field .field-label > * {
    display: inline;
!important;
}

.rt-tab-content .field-holder {
    padding-top: 10px;
}

.rt-tab-content .field-holder:not(:last-child) {
    margin-bottom: -7px;
}

#settings-tabs .rt-tab-content .field-holder:not(:last-child) {
    margin-bottom: 15px;
}

#settings-tabs .rt-tab-content .field-holder#show_acf_details_holder {
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

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

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

.rt-tpg-filter.taxonomy {
    background: var(--rttpg-primary-color) 3 b;
}

.term-filter-item-container > .field-holder.term-filter-item-operator {
    border-top: none;
}

.term-filter-item-container {
    border-top: none;
}

.rt-tpg-filter.taxonomy .rt-tpg-filter-item .field-holder:first-child,
.rt-tpg-filter-container > .field-holder:first-child,
div#sc-post-post-source > .field-holder > .field > .field-holder:first-child {
    padding-top: 10px;
}

.rt-tpg-filter-container .field-holder,
.rt-tpg-filter-holder > h3 {
    position: relative;
}

.rt-tpg-filter-holder > h3 {
    background: var(--rttpg-primary-color);
    color: #fff;
    padding: 10px;
    margin: 0;
}

.rt-tpg-filter.taxonomy .field-holder,
.rt-tpg-filter.order > .rt-tpg-filter-item > .field-holder > .field > .field-holder,
.rt-tpg-filter-holder .rt-tpg-filter:last-child .rt-tpg-filter-item > .field-holder {
    border-bottom: none;
}

.rt-tab-content .field-holder .field-label {
    float: left;
    width: 200px;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    margin-bottom: 10px;
}

@media (max-width: 1199px) {
    .rt-tab-content .field-holder .field-label {
        margin-bottom: 10px;
    }
}

.rt-tab-content .field-holder .field {
    float: right;
    width: calc(100% - 235px);
    position: relative;
}

#sc-style > .field-holder > .field .tpg-multiple-field-group {
    padding: 20px;
}
#sc-style > .field-holder > .field .tpg-multiple-field-group,
#sc-settings > .field-holder > .field {
    border: 1px solid #dee4e8;
    border-radius: 10px;
}

#sc-style.rt-tab-content .field-holder .field {
    z-index: inherit;
}

.rt-tab-content #tpg_taxonomy_holder {
    padding-top: 0;
}

.rt-tab-content #tpg_taxonomy_holder .checkbox-group {
    margin-left: -10px;
}

@media (max-width: 1449px) {
    .rt-tab-content #tpg_taxonomy_holder .checkbox-group {
        margin-left: 0;
    }
}

.rt-tab-content .field-holder .field-holder .field-label {
    width: 150px;
}

.rt-tab-content .field-holder .field-holder .field {
    width: calc(100% - 180px);
}

.rt-tab-content .field-holder .taxonomy-field {
    position: relative;
}

.rt-tab-content .field .checkbox-filter-field .tpg-hidden {
    position: relative;
    margin-left: -24px;
}

@media (max-width: 1449px) {
    .rt-tab-content .field .checkbox-filter-field .tpg-hidden {
        margin-left: 0;
    }
}

.rt-tab-content .field .checkbox-filter-field .tpg-hidden .tpg-hidden {
    margin-left: 0;
}

.rt-tab-content .field .checkbox-filter-field .tpg-hidden::before,
.rt-tab-content .field-holder .taxonomy-field::before {
    content: '';
    position: absolute;
    height: 1px;
    background-color: #d0dde5;
    bottom: -5px;
}

.rt-tab-content .field .checkbox-filter-field .tpg-hidden::before {
    left: -18px;
    width: calc(100% + 34px);
}

.rt-tab-content .field-holder .taxonomy-field::before {
    left: -18px;
    width: calc(100% + 34px);
}

.rt-tab-content .field .checkbox-filter-field:last-child .tpg-hidden::before {
    content: none;
}

@media (min-width: 1450px) {
    #sc-settings .field-holder .field::before,
    #sc-post-post-source .field-holder .field::before {
        content: "";
        z-index: -1;
        position: absolute;
        top: 0;
        left: 0;
        width: 188px;
        height: 100%;
        opacity: 0.2;
        background-image: linear-gradient(to left, #d0dde5, #ecf7fe);
    }

    #sc-settings .field-holder .field .field::before,
    #sc-settings #tpg_post_type_holder .field .field::before,
    #sc-settings #tpg_post_type_holder .field .field::before,
    #sc-post-post-source #ignore_sticky_posts_holder .field::before,
    #sc-post-post-source .field-holder .field .field::before,
    #sc-post-post-source #tpg_post_type_holder .field::before {
        background-image: none;
    }
}

.rt-tab-content .field-holder .field .field {
    background: none !important;
    padding: 0;
    border: none;
}

.rt-tab-content .field-holder .field .field::before,
.rt-tab-content .field-holder .field .field::after {
    content: none;
}

@media (max-width: 1450px) {
    .rt-tab-content .field-holder .field .field {
        width: 100%;
        float: left;
    }
}

.rt-tab-content .checkbox-filter-field .field-holder .field-holder {
    padding: 0;
}

.rt-tab-content .field-holder .field-label label {
    font-weight: 500;
    margin-top: 4px;
}

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

.rt-setting-holder .field-holder {
    padding: 10px;
}

@media (max-width: 1449px) {
    .rt-setting-holder .field-holder {
        padding-left: 0;
    }
}

.rt-setting-holder .field-holder .field-label {
    margin-bottom: 10px;
    color: #212121;
}

.rt-setting-holder .field-holder .field-holder .field-label {
    font-size: 14px;
}

.rt-setting-holder .field-holder .field-holder .field-holder .field-label {
    font-size: 14px;
}

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

.field-holder .description span {
    display: block;
    margin: 5px 0;
}

.field-holder span.rt-loading {
    position: relative;
    width: auto;
    display: inline-block;
}

.rt-licensing-btn.danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.rt-licence-msg {
    color: red;
    margin-top: 15px;
    padding: 10px 0;
    border: 1px solid;
}

.rt-licence-msg.success {
    background: #24a517;
    color: #FFF;
    border: none;
}

.field-holder .description span:last-child {
    margin-bottom: 0;
}

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

input.medium-text {
    width: 100px;
}

input.large-text.code.rt-code-sc {
    color: #fff;
    background: var(--rttpg-primary-color);
    font-weight: bold;
}

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

.rt-tab-container .rt-script-wrapper textarea {
    border: 1px solid #dfdfdf;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    width: 100%;
    height: 150px;
    position: relative;
}

/*----- Column -------*/

.rd-responsive-column .rt-3-column {
    display: inline-block;
    width: calc(100% / 3 - 218px);
    margin-right: 31px;
}

.rd-responsive-column .rt-3-column .field-label {
    display: none;
}

.rt-tab-content .field-holder.rt-3-column .field-label label {
    float: none;
    font-weight: 500;
}

.rt-tab-content .field-holder.rt-3-column .field {
    float: none;
    width: 100%;
}

div#column_holder {
    position: relative;
    padding-left: 247px;
}

div#column_holder:before {
    content: 'Column';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    color: #212121;
}

@media (max-width: 1199px) {
    div#column_holder {
        padding-left: 0;
    }

    div#tpg_mobile_column_holder {
        padding-left: 0;
        border-top: none;
    }
}


@media all and (max-width: 1199px) {

    .rd-responsive-column .rt-3-column {
        width: calc(100% / 3 - 31px);
    }

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

    .rt-setting-holder .field-holder {
        padding-left: 0;
        padding-right: 0;
    }

    .rt-tab-content .field-holder .field {
        width: 100%;
        float: left;
        border: none;
        padding: 0;
        background: none;
    }

    .rt-3-column {
        width: 165px;
    }

}

@media (max-width: 767px) {
    .rd-responsive-column .rt-3-column {
        padding: 0;
        margin: 0;
    }
}

@media all and (max-width: 991px) {

    .rt-3-column {
        width: 160px !important;
    }
}

/* settings page */

.rt-help {
    background: #fff;
    padding: 10px 20px;
}

.rt-response {
    padding: 5px;
}

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

.rt-response.loading {
    padding: 0;
    position: absolute;
    width: 97%;
    height: 95%;
    z-index: 99999999;
    background: rgba(255, 255, 255, 0.9);
}

.rt-response.loading span {
    color: #000;
    top: 45%;
    text-align: center;
    display: none;
    font-size: 20px;
    position: absolute;
    left: 0;
    right: 0;
}

.select2-results__option[aria-selected=true] {
    background: #d5d9db;
    border-bottom: 1px solid #fff;
}

/* date range */

.date-range-container .date-range-content {
    display: inline-block;
    margin-right: 25px;
}

.date-range-container .date-range-content > span {
    display: inline-block;
    font-weight: bold;
}

/* col */
.field-inner.col-2 {
    width: 50%;
    float: left;
}

.field-inner.col-3 {
    width: 33.333333%;
    float: left;
}

.field-inner.col-4 {
    width: 25%;
    float: left;
}

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

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

.field-inner-container .wp-color-result {
    margin: 0;
}

#default_preview_image_holder .field {
    background: none;
    padding: 0;
    border: none;
    margin-left: 4px;
    float: left;
    padding-top: 9px;
}

.rt-image-preview {
    width: 150px;
    height: 150px;
    display: inline-block;
    background: #e7edf1;
    position: relative;
    border: 1px solid #d9e3ed;
}

.rt-image-preview::before {
    content: "\f128";
    font: normal 40px/45px dashicons;
    font-size: 60px;
    color: #ededed;
    position: absolute;
    z-index: -1;
    height: calc(100% - 20px);
    width: calc(100% - 20px);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* image size field */
.rt-image-size-holder:after {
    display: block;
    clear: both;
    content: "";
}

.rt-image-size-holder .rt-image-size {
    width: 33.3333%;
    float: left;
}

.rt-image-size-holder .rt-image-size input {
    max-width: 100px;
    display: block;
}

span.dashicons.dashicons-plus-alt.rtAddImage,
span.dashicons.dashicons-trash.rtRemoveImage {
    position: absolute;
    cursor: pointer;
    top: 0;
    z-index: 99;
    font-size: 15px;
    padding: 4px 10px 2px;
    color: #fff;
}

span.dashicons.dashicons-trash.rtRemoveImage {
    background-color: #de0000;
    right: 0;
}

span.dashicons.dashicons-plus-alt.rtAddImage {
    background: green;
    left: 0;
}

.pro-field .field-label {
    position: relative;
}

.pro-field .rttpg-tooltip {
    display: inline-block;
    color: #FFF;
    background-color: #de0000;
    padding: 2px 3px;
    border-radius: 3px;
    line-height: 1.3;
    font-weight: 600;
    font-size: 14px;
    margin-left: 3px;
}

.rt-tab-content .field-holder.pro-field .field-label .rttpg-tooltip {
    text-transform: uppercase;
    font-size: 10px;
}

.pro-field .rttpg-tooltip .rttpg-tooltip-text {
    visibility: hidden;
    min-width: 80px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: 300px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 0;
    line-height: 1.3;
    font-size: 14px;
}

.pro-field .field-label:hover .rttpg-tooltip .rttpg-tooltip-text {
    visibility: visible;
}

.rt-document-box .video-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 10px;
}

.rt-document-box .video-wrapper .video-wrap {
    padding-top: 60%;
    position: relative;
    overflow: hidden;
    border-radius: 7px;
}

.rt-document-box .video-wrapper .video-wrap iframe {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
}

.settings-col,
.rt-document-box {
    background-color: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 30px 20px;
    display: flex;
}

.rt-document-box ol {
    margin-left: 1em;
}

.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: var(--rttpg-primary-color);
}

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

.rt-document-box .rt-box-content .rt-box-title {
    margin: 4px 0 12px 0;
    font-size: 24px;
    color: #000;
    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: #fff;
}

.rt-alert {
    width: 300px;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999;
    display: none;
    text-align: center;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: auto;
}

.rt-alert .rt-box-icon {
    margin: auto;
    margin-bottom: 15px;
    height: 40px;
    width: 40px;
}

.rt-alert .rt-alert-close {
    position: absolute;
    top: 0;
    right: 0;
    background: #b30202;
    color: white;
    line-height: 1;
    padding: 2px 9px 8px;
    font-size: 18px;
    text-decoration: none;
}

body .rt-admin-btn {
    text-align: center;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
    background-color: var(--rttpg-primary-color);
    border: 1px solid var(--rttpg-primary-color);
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 6px;
    position: relative;
    z-index: 2;
    line-height: 1.4;
    transition: all 0.3s ease-in-out;
    height: auto;
}

.rttpg-plugins-row footer a.documentation {
    color: var(--rttpg-primary-color);
    background: #FFFF;
    font-size: 15px;
}


body .rt-admin-btn:hover {
    background-color: var(--rttpg-primary-dark) !important;
    border-color: var(--rttpg-primary-dark) !important;
    color: #fff !important;
    text-decoration: none;
}

#custom_css_holder .description {
    color: red;
}


.wp-core-ui #rt-tpg-settings-form .button-primary {
    background-color: var(--rttpg-primary-color);
    border-color: var(--rttpg-primary-color);
}

#rt-tpg-settings-form {
    padding-top: 15px;
    overflow: hidden;
}

#rt-tpg-settings-form .rtSaveButton {
    background-color: var(--rttpg-primary-color);
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    border: none !important;
    transition: 0.4s;
}

#rt-tpg-settings-form .rtSaveButton:hover {
    background-color: var(--rttpg-primary-dark);
}

/* ============== MetaBox START ============== */
.post-type-rttpg #misc-publishing-actions,
.post-type-rttpg #submitdiv > .handlediv,
.post-type-rttpg #submitdiv h2 {
    display: none;
}

.post-type-rttpg #minor-publishing-actions {
    padding: 0;
}

#rt_plugin_sc_pro_information button.handlediv,
#rt_plugin_sc_pro_information h2.hndle {
    display: none;
}

#rttpg_meta h2.hndle {
    font-size: 18px;
    color: #000;
    background-color: #fff;
    border-radius: 4px;
    padding: 0 0 13px;
    margin-bottom: 0;
}

#rttpg_meta,
#rt_plugin_sc_pro_information {
    background: transparent;
    border: 0;
}

#rttpg_meta .inside,
#rt_plugin_sc_pro_information .inside {
    padding: 0;
    margin: 0;
}

/* ============== MetaBox END ================ */

/*--------- Layout -----------*/

.rt-tpg-radio-layout {
    margin-right: 10px;
    display: inline-block;
    margin-bottom: 10px;
    width: auto;
    max-width: initial;
    min-width: initial;
}

.rttpg-radio-image [type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rttpg-radio-image [type=radio] + div.rttpg-radio-image-wrap {
    cursor: pointer;
}

.rttpg-radio-image-wrap {
    position: relative;
    display: inline-flex;
    border: 1px solid #dfdfdf;
}

.rttpg-radio-image-wrap img {
    max-width: 130px;
}

.rttpg-radio-image [type=radio]:checked + div.rttpg-radio-image-wrap .rttpg-checked {
    display: block;
}

.rttpg-checked {
    display: none;
    z-index: 99;
    background: #5d3dfd;
    height: auto;
    color: white;
    width: auto;
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 50%;
    padding: 3px;
}

#layout_holder {
    animation: fade-in 3s;
}

#layout_holder .radio-image {
    animation: fade-in 0.4s;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.rttpg-radio-image .rttpg-demo-name {
    text-align: center;
}

.rttpg-radio-image .rttpg-demo-name,
.rttpg-radio-image .rttpg-demo-name a {
    color: #7c8387;
    text-decoration: none;
}

.rttpg-radio-image .rttpg-demo-name a:hover {
    text-decoration: underline;
}

.rt-tpg-layout-tag {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    overflow: hidden;
    width: 50px;
    height: 50px;
}

.rt-tpg-layout-tag span {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 67px;
    display: block;
    background: linear-gradient(#f70505, #8f0808);
    box-shadow: 0 3px 10px -5px #000;
    position: absolute;
    top: 7px;
    right: -17px;
}

/* media */

@media (max-width: 1200px) {
    .field-inner.col-4 {
        width: 50%;
    }
}

@media (max-width: 600px) {
    .field-inner.col-4 {
        float: none;
        width: auto;
    }
}

@media (max-width: 424px) {
    .rt-image-size-holder .rt-image-size {
        display: block;
        float: none;
        width: inherit;
    }
}

@media (min-width: 1450px) {
    .checkbox-filter-field {
        display: flex;
    }
}

@media (min-width: 1449px) {
    .checkbox-filter-field {
        padding-left: 15px;
    }
}

#post_filter .checkbox-filter-field {
    margin-top: 10px;
}

.checkbox-filter-field > label {
    width: 200px;
    font-size: 15px;
    color: #212121;
}

.checkbox-filter-field .rt-tpg-filter {
    flex: 1;
}

.checkbox-filter-field .rt-tpg-filter.taxonomy {
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
}

.checkbox-filter-field .rt-tpg-filter.taxonomy .field-holder .field-holder {
    padding: 0;
}

.checkbox-filter-field .rt-tpg-filter.taxonomy .field-holder .field-holder .field-label {
    color: #484848;
    float: none;
    font-weight: normal;
}

.checkbox-filter-field .rt-tpg-filter.taxonomy .field-holder .field-holder .field {
    width: 100%;
}

@media (max-width: 1449px) {
    .checkbox-filter-field .rt-tpg-filter.taxonomy .field-holder .field-holder {
        margin-bottom: 10px;
    }
}

.checkbox-filter-field .rt-tpg-filter.taxonomy .field-holder.term-filter-item-relation {
    margin-bottom: 0;
}

.checkbox-filter-field .rt-tpg-filter.order .rt-tpg-filter-item > .field-holder > .field,
.checkbox-filter-field .rt-tpg-filter.date_range .field-holder .field,
.checkbox-filter-field .rt-tpg-filter.author .field-holder .field,
.checkbox-filter-field .rt-tpg-filter.tpg_post_status .field-holder .field {
    float: none;
    width: 100%;
}

.checkbox-filter-field .rt-tpg-filter.date_range .field-holder {
    margin-bottom: 0;
}

/*The rttm-switch - the box around the rttm-switch-slider*/
.rttm-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

/* Hide default HTML checkbox */
.rttm-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The rttm-switch-slider */
.rttm-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e2e8f0;
    -webkit-transition: .4s;
    transition: .4s;
}

.rttm-switch-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .rttm-switch-slider {
    background-color: var(--rttpg-primary-color);
}

input:focus + .rttm-switch-slider {
    box-shadow: 0 0 1px var(--rttpg-primary-color);
}

input:checked + .rttm-switch-slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded rttm-switch-sliders */
.rttm-switch-slider.round {
    border-radius: 34px;
}

.rttm-switch-slider.round:before {
    border-radius: 50%;
}

.rt-setting-holder .rt-tab-content .tpg-multiple-field-group {
    display: flex;
    flex-wrap: wrap;
}

.rt-setting-holder #sc-style .field-holder .field .field-label label,
.rt-setting-holder #sc-style .field-holder .field .field-inner-container span.label {
    font-weight: 500 !important;
    color: #5e5e5e;
}

.rt-setting-holder .rt-tab-content .tpg-multiple-field-group > div {
    flex: 0 0 calc(33.3333% - 15px);
    padding: 5px 15px 5px 0;
    margin-bottom: 0;
    border: none;
    position: relative;
}

@media (min-width: 1200px) {
    .rt-setting-holder .rt-tab-content .category-style-wrapper .tpg-multiple-field-group > div,
    .rt-setting-holder .rt-tab-content .content-style-wrapper .tpg-multiple-field-group > div {
        flex: 0 0 calc(25% - 15px);
    }

    .rt-setting-holder .rt-tab-content .content-style-wrapper .tpg-multiple-field-group #tpg_content_wrap_border_color_holder {
        flex-basis: 45%;
    }

    .rt-setting-holder .rt-tab-content .category-style-wrapper .tpg-multiple-field-group #tpg_category_color_holder {
        flex-basis: 70%;
    }
}

@media (max-width: 1724px) {
    .rt-setting-holder .rt-tab-content .tpg-multiple-field-group > div {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 1199px) {
    .rt-setting-holder .rt-tab-content .tpg-multiple-field-group > div {
        flex: 0 0 100%;
    }
}

.rt-setting-holder .rt-tab-content .tpg-multiple-field-group > div .field-label {
    float: none;
    width: auto;
}

.rt-setting-holder .rt-tab-content .tpg-multiple-field-group > div .field-label label {
    font-weight: normal;
}

.rt-setting-holder .rt-tab-content .tpg-multiple-field-group > div .field {
    float: none;
    width: auto;
}


/*==========================
## Select 2 style overwrite
============================*/

.post-type-rttpg .select2-container--classic .select2-selection--multiple .select2-selection__choice {
    background-color: #f7fafc;
    border: 1px solid #a2b1de;
    border-radius: 3px;
    padding: 3px 6px;
    transition: 0.4s;
}

.post-type-rttpg .select2-container--classic .select2-selection--multiple .select2-selection__choice:hover {
    background-color: #ecf0f3;
}

.post-type-rttpg .select2-container--classic.select2-container--open .select2-dropdown {
    border-color: #dde5e9;
}

.post-type-rttpg .select2-container--classic .select2-selection--single .select2-selection__arrow {
    background-color: #e4eaff;
    border: none !important;
    border-radius: 4px !important;
    height: 26px;
    width: 23px;
    background-image: none !important;
    top: 6px;
    right: 8px;
    transition: 0.4s;
}

.post-type-rttpg .select2-container--classic .select2-selection--single .select2-selection__arrow:hover {
    background-color: var(--rttpg-primary-color);
}

.post-type-rttpg .select2-container--classic .select2-selection--single .select2-selection__arrow:hover b {
    border-top-color: #fff;
}

.post-type-rttpg .select2-container--classic .select2-selection--single .select2-selection__arrow b {
    border-top-color: var(--rttpg-primary-color);
}

.post-type-rttpg .select2-container--classic .select2-selection--single,
.post-type-rttpg .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
    background-image: none !important;
}

.post-type-rttpg .select2-container--classic .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
}

.post-type-rttpg .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #d11111;
}

/*WP Color Picker*/

.post-type-rttpg .wp-picker-container .wp-color-result.button {
    border: 1px solid #e2e8f0 !important;
    height: 40px;
    padding: 0;
    text-align: left;
    position: relative;
    width: 140px;
    overflow: hidden;
    transition: 0.3s;
}

.post-type-rttpg .wp-picker-container .wp-color-result.button .wp-color-result-text {
    background: transparent;
    border-radius: 0;
    border: none;
    color: #50575e;
    position: absolute;
    background-image: url('data:image/svg+xml;utf8,<svg width="141" height="40" viewBox="0 0 141 40" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M141 0H0V40H141V0ZM98.7091 8C97.0522 8 95.7091 9.34315 95.7091 11V29C95.7091 30.6569 97.0522 32 98.7091 32H131.164C132.82 32 134.164 30.6569 134.164 29V11C134.164 9.34315 132.82 8 131.164 8H98.7091Z" fill="white"/></svg>  ');
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    text-align: left;
    line-height: 36px;
    padding-left: 9px;
    font-size: 13px;
    font-weight: 500;
    z-index: 1;
}

.post-type-rttpg .wp-picker-container .wp-color-result.button .wp-color-result-text::before {
    content: "";
    width: 87px;
    background-color: #fff;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    display: block;
    position: absolute;
}

.post-type-rttpg .wp-picker-container .wp-color-result.button .wp-color-result-text::after {
    content: "";
    left: 90px;
    top: 7px;
    display: block;
    position: absolute;
    width: 36px;
    height: 22px;
    border: .5px solid #95a1a9;
    border-radius: 5px;
    opacity: 0.2;
    mix-blend-mode: inherit;
}

.post-type-rttpg .wp-picker-input-wrap .button.wp-picker-clear,
.post-type-rttpg .wp-picker-container input[type=text].wp-color-picker {
    min-height: 40px;
    border: 1px solid #b8cad6;
    background: white;
}

#tpg_common_settings_heading_holder {
    display: flex;
    flex-direction: column;
    background-color: #ffe9e7;
    border: 2px solid #fec9c9;
    padding: 19px 23px 15px;
    margin-bottom: 20px !important;
    color: #212121;
    border-radius: 5px;
}

#tpg_common_settings_heading_holder .field-label label {
    display: flex;
    align-items: center;
    gap: 11px;
}

#tpg_common_settings_heading_holder .field {
    background: none;
    border: none;
    padding: 0 0 0 27px;
    width: 90%;
}

#tpg_common_settings_heading_holder.field-holder .field-label {
    width: 100%;
    font-size: 18px;
    color: #b91c1b;
    font-weight: 600;
}

#tpg_common_settings_heading_holder.field-holder .description {
    font-size: 14px;
    color: #334156;
}

.tpg-shortcode-main-wrapper .swiper-navigation {
    top: -11px;
    right: 19px;
}

.tpg-shortcode-main-wrapper .rt-swiper-holder {
    padding-bottom: 50px;
}

body .rt-tpg-container .swiper-navigation .slider-btn {
    position: static;
}

.tpg-block-type-el-or-divi .notice-for-warning {
    background-color: #ffe9e7;
    border: 2px solid #fec9c9;
    color: #212121;
    border-radius: 5px;
    text-align: center;
}

.tpg-block-type-el-or-divi .notice-for-warning p {
    font-size: 16px;
}

.tpg-block-type-el-or-divi .notice-for-warning a {
    color: var(--rttpg-primary-color)
}

label[for="popup-fields-tpg_default_value"],
label[for="item-fields-tpg_default_value"] {
    display: none !important;
    pointer-events: none;
    text-indent: -99999px;
}

/*****************
Date Picker CSS
*****************/

.ui-datepicker {
    font-family: Open Sans, Arial, sans-serif;
    margin-top: 2px;
    padding: 0 !important;
    text-align: center;
    background: #fff;
    width: 220px !important;
    border: 1px solid #c9f0f5 !important;
}

.ui-datepicker .ui-datepicker-title select {
    width: 35% !important;
}

.ui-datepicker-trigger {
    margin: 0 0 0 5px;
    vertical-align: text-top;
}

.openemr-calendar .ui-datepicker {
    width: 191px;
}

.ui-datepicker table {
    width: 256px;
    table-layout: fixed;
}

.openemr-calendar .ui-datepicker table {
    width: 191px;
    table-layout: fixed;
}

.ui-datepicker-header {
    background-color: #3e9aba !important;
    background-image: none !important;
    border-radius: 0;
}

.openemr-calendar .ui-datepicker-header {
    background-color: #e6f7f9 !important;
    border-width: 1px;
    border-color: #c9f0f5;
    border-style: solid;
}

.ui-datepicker-title {
    line-height: 35px !important;
    margin: 0 10px !important;
}

.openemr-calendar .ui-datepicker-title {
    line-height: 20px !important;
}

.ui-datepicker-prev span {
    display: none !important;
}

.ui-datepicker-next {
    text-align: center;
}

.ui-datepicker-next span {
    display: none !important;
}

.ui-datepicker-prev {
    background-color: transparent !important;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAMCAYAAACulacQAAAAUklEQVQYlXWPwQnAMAwDj9IBOlpH8CjdJLNksuujFIJjC/w6WUioFBcqJ7sGEAD5Y/hpqLRghRv4YQlUjqXI3Kql2MixraGbEhVcDXcFUR/1egEHNuTBpFW0NgAAAABJRU5ErkJggg==') !important;
    height: 12px !important;
    width: 7px !important;
    margin: 14px 12px;
    display: inline-block;
    left: 0 !important;
    top: 0 !important;
}

.openemr-calendar .ui-datepicker-prev {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAOCAYAAAD9lDaoAAAAuUlEQVQokXXRsUtCYRAA8J8pDQ1CVIgIgtBU2NDiZIuDS4uLf6WDS1O0tLREEE8icBNKS3lTs8/B78XHw3dwcHA/juOuqjzucYJVrQQMcYctvo4OgEFIeMK6iPphCjzjEWLUC3vACx7yRo5uMUIFr5gii1EL41AvMIkBVPGH04DrSLEsIvjEOZq4wi9+iijDR0ANXOMbmxjlcIY2LtANO6YxymGCDs5wg/ciYv+KBJeY4+2A+Y9j4Y47RtUkrNXeDxUAAAAASUVORK5CYII=') !important;
    height: 14px !important;
    width: 9px !important;
    margin: 5px !important;
}

.ui-datepicker-next {
    cursor: pointer;
}

.ui-datepicker-prev {
    cursor: pointer;
}

.ui-datepicker-next {
    background-color: transparent !important;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAMCAYAAABfnvydAAAAVUlEQVQYlXWQ0Q3AIAhEL07gKI7kKN2kI3Wk1w9to3KQEELucQEECOizhhTQGHFnwOdgobWx0GkZILfYBhXl0STVbPoBarbkL7ozN/F8VBBXh8uJgF5r2hrI4GHUkAAAAABJRU5ErkJggg==') !important;
    height: 12px !important;
    width: 8px !important;
    margin: 14px 12px;
    display: inline-block;
    right: 0 !important;
    top: 0 !important;
}

.openemr-calendar .ui-datepicker-next {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAOCAYAAAASVl2WAAAAtElEQVQYlXXQsUpCcRQH4I97EQyHa1pgIEE0hBGYL+BjNLRFjxXh4rM4F21BS4S4FAgqQioOngt/RM/6+zi/w4EanlA4MDkecYsO3vG/D8a4Rx03eMMqBQt8oodTXAdalwBm+IpNDVxG3aYEMMU3ujjDBT5SAH9R2cE58mwPFOgneJSCGp7RjLoXTEtQjbCFOV7xCxkqdp9sYxnhpFyb4QFXdh8c4Cc9Ko++OwzjFwfn5FiwBVeuI/K2UCkSAAAAAElFTkSuQmCC') !important;
    height: 14px !important;
    width: 8px !important;
    margin: 5px;
}

.ui-datepicker-month {
    border-radius: 2px;
    background-color: #3985a0;
    /*width: 110px !important;*/
    height: 22px;
    font-family: Open Sans !important;
    color: #fff;
    font-size: 14px !important;
    font-weight: 600;
    text-align: left;
    border: none !important;
    margin-right: 17px !important;
    vertical-align: text-top;
}

.openemr-calendar .ui-datepicker-month {
    font-family: Open Sans, Arial, sans-serif;
    color: rgba(34, 34, 34, 0.87);
    font-size: 12px !important;
    font-weight: 700;
    text-align: center;
    transform: scaleX(1.0029)
}

.ui-datepicker-year {
    border-radius: 2px;
    background-color: #3985a0;
    width: 61px !important;
    height: 22px;
    border: none !important;
    font-family: Open Sans !important;
    color: #fff;
    font-size: 14px !important;
    font-weight: 600;
    text-align: left;
    vertical-align: text-top;
}

.openemr-calendar .ui-datepicker-year {
    font-family: Open Sans, Arial, sans-serif;
    color: rgba(34, 34, 34, 0.87);
    font-size: 12px !important;
    font-weight: 700;
    text-align: center;
    transform: scaleX(1.0029)
}

.ui-datepicker-month option,
.ui-datepicker-year option {
    color: #3985a0 !important;
    background-color: #fff !important;
    font-family: Open Sans !important;
    font-size: 14px !important;
    font-weight: 600;
}

.ui-datepicker-month option[selected],
.ui-datepicker-year option[selected] {
    background-color: #e5edf0 !important;
}

.ui-datepicker .ui-state-hover {
    /*background: none !important;*/
    border: 0 !important;
}

.ui-datepicker td {
    vertical-align: top;
}

.ui-datepicker .ui-state-default {
    border-radius: 2px;
    border: 1px solid #edebeb !important;
    background: white !important;
    width: 24px;
    height: 24px;
    padding: 0 !important;
    line-height: 24px;
    text-align: center !important;
    font-family: Open Sans, Arial, sans-serif;
    color: #707070;
    font-size: 13px;
    font-weight: 400 !important;
    margin: 6px 0 0 2px;
}

.ui-datepicker .ui-state-default.ui-state-highlight {
    border-color: #dcdcdc;
    background-color: #cff3f8 !important;
    color: #3e9aba !important;
}

.openemr-calendar .ui-state-default {
    font-size: 10px;
    margin: 0;
}

.ui-datepicker td {
    width: 33px;
}

.openemr-calendar .ui-datepicker td {
    width: 26px;
}

.openemr-calendar .ui-state-default {
    width: 26px;
    height: 20px;
    line-height: 20px;
}

.ui-state-default.ui-state-hover {
    border-color: #dcdcdc;
    background-color: #cff3f8 !important;
}

.ui-datepicker .ui-state-active {
    border-color: #dcdcdc;
    background-color: #cff3f8 !important;
    color: #3e9aba !important;
}

.ui-datepicker-calendar thead tr th {
    font-family: Open Sans, Arial, sans-serif;
    color: #549fa8;
    font-size: 12px;
    font-weight: 400;
    padding: 0.45em 0.3em !important;
    /*   width: 15px !important; */
}

.openemr-calendar .ui-datepicker-calendar thead tr th {
    font-size: 10px;
}

.ui-datepicker-close {
    display: none;
}

.ui-datepicker thead {
    background-color: #f5f5f5;
}

.openemr-calendar .ui-datepicker thead {
    background: none;
}

.ui-state-default.ui-datepicker-current {
    float: none !important;
    font-family: Open Sans, Arial, sans-serif;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    border-width: 0 !important;
    border: none;
    vertical-align: top;
    margin: 0 !important;
    background-color: transparent !important;
}

.ui-datepicker-buttonpane.ui-widget-content {
    text-align: center;
    background-color: #3e9aba;
    margin: 0 !important;
    height: 28px;
    padding: 0 !important;
}

.openemr-calendar .ui-datepicker-year {
    background-color: transparent;
}

.openemr-calendar .ui-datepicker-month {
    background-color: transparent;
}

.openemr-calendar .ui-state-default {
    border: 0 !important;
}

.openemr-calendar .ui-datepicker-month {
    margin-right: 10px !important;
}

.rt-pagination .pagination-list > li > a,
.rt-pagination .pagination-list > li > span {
    pointer-events: none;
}

.post-type-rttpg .field-holder span.rt-loading {
    transition: 0.4s 1s;
    opacity: 0;
}

#adminmenu .wp-submenu li a[href="edit.php?post_type=rttpg&page=rttpg_our_plugins"] {
    color: #32d716 !important;
    font-weight: bold !important;
}

#adminmenu .wp-submenu li:last-child:has(a[href="edit.php?post_type=rttpg&page=tgp_taxonomy_order"]) {
    display: none;
}

/* Our Plugins Page Css */
.rttpg-plugins-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding-bottom: 40px;
}

/* Tablet: 2 columns */
@media (max-width: 1600px) {
    .rttpg-plugins-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile: 1 column */
@media (max-width: 1200px) {
    .rttpg-plugins-row {
        grid-template-columns: 2fr;
    }
}

@media (max-width: 600px) {
    .rttpg-plugins-row {
        grid-template-columns: 1fr;
    }
}

.rttpg-our-plugins-wrapper {
    padding-right: 40px;
    padding-top: 30px;
    padding-left: 20px;
}

.rttpg-our-plugins-wrapper .title-section h1 {
    font-size: 36px;
    line-height: 40px;
    color: rgb(2, 19, 67);
    font-weight: bold;
    margin-bottom: 0;
}

.rttpg-our-plugins-wrapper .title-section p {
    font-size: 17px;
    line-height: 26px;
    color: rgb(2, 19, 67);
}

.rttpg-plugins-row .rt-plugin-item {
    width: 100%;
    max-width: inherit;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    border: none;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.rttpg-plugins-row .rt-plugin-item header {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.rttpg-plugins-row .rt-plugin-item img {
    width: 50px;
    object-fit: contain;
    height: auto;
    border-radius: 8px;
    margin: 0;
}

.rttpg-plugins-row .rt-plugin-excerpt {
    font-size: 14px;
    line-height: 25px;
    color: #444;
}

.rttpg-plugins-row .rt-admin-btn {
    padding: 7px 15px;
    outline: none !important;
}

.rttpg-plugins-row .rt-admin-btn.activating {
    pointer-events: none;
    cursor: not-allowed;
}

.rttpg-plugins-row .rt-admin-btn.success-class {
    cursor: default;
    border-color: #2aae1433;
    background: rgba(42, 174, 20, 0.1);
    color: #2aae14;
}

.rttpg-plugins-row footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.rttpg-plugins-row h3.rt-plugin-title {
    font-size: 20px;
    line-height: 30px;
    color: #212121;
    font-weight: 500;
    margin-top: -5px;
    margin-bottom: 0;
}

body .ui-datepicker {
    background: #e7e8f0;
    border: 1px solid #ddd;
}

.rttpg_page_rttpg_settings .rt-response {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 250px;
    z-index: 99999;
}

.rttpg_page_rttpg_settings .notice,
.rttpg_page_rttpg_settings div.updated,
.rttpg_page_rttpg_settings div.error {
    border: 1px solid #d1dbe8;
    padding: 15px 30px !important;
    border-radius: 5px;
}

.rttpg_page_rttpg_settings div.updated {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.rttpg_page_rttpg_settings div.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.rttpg_page_rttpg_settings #wpbody-content > div:not(.rttpg-wrapper){
    display: none;
}
.rttpg_page_rttpg_settings .rttpg-wrapper {
    padding: 0 !important;
    margin: 0;
    display: block !important;
}

.rttpg_page_rttpg_settings input[type="checkbox"],
.rttpg_page_rttpg_settings input[type="radio"] {
    width: 20px;
    height: 20px;
}

#plugin-license .field-holder input[type=text] {
    border: 2px solid #a3b1de;
    height: 60px;
    border-radius: 30px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: var(--rttpg-primary-color);
    background: #f0f4ff;
    margin-bottom: 15px;
    margin-top: 15px;
}

#plugin-license .field-holder input:is(:focus, :hover) {
    border-color: var(--rttpg-primary-color) !important;
}

#plugin-license .field-holder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    height: 380px;
}

#plugin-license .field-holder .license-status {
    text-align: center;
}

#plugin-license .field-holder .field-label label {
    font-size: 20px;
    color: var(--rttpg-primary-color);
}

.rttpg_page_rttpg_get_help .notice,
.post-type-tpg_builder .notice,
.rttpg_page_rttpg_settings .notice {
    display: none !important;
}

body .notice.tpg-black-friday-notice {
    display: block !important;
}

.rttpg_page_rttpg_get_help,
.post-type-tpg_builder,
.rttpg_page_rttpg_settings {
    background: #f4f4f8 !important;
}

.rttpg_page_rttpg_settings.wp-core-ui select.disabled,
.rttpg_page_rttpg_settings.wp-core-ui select:disabled {
    background-image: none;
}

.rttpg_page_rttpg_settings .select2-container .select2-selection--single {
    height: inherit;
}