:root {
    --gray-dark: #373737;
    --gray-dim: #666;
    --wpml-blue: #33879e;
    --wpml-blue-lightest: #ebf3f5;
    --wpml-red: #db552b;
    --orange: #e88357;
}

.otgsi_site_key_form{
    display:none;
}

.installer-status-installing, .installer-status-installed, .installer-status-updating, .installer-status-updated, .installer-status-activating, .installer-status-activated, .installer-status-success{
    display: none;
}
.installer-status-installing{color: var(--orange); }
.installer-status-installed{color: var(--wpml-blue); font-weight: 500; }
.installer-status-updating{color: var(--orange); }
.installer-status-updated{color: var(--wpml-blue); font-weight: 500; }

.installer-status-installed .error-details:before,
.installer-status-updated .error-details:before{
    content: "\f534";
    font: 200 16px/1 dashicons;
    vertical-align: text-bottom;
    margin-left: 5px;
    color: red;
    cursor: help;
}

.installer-status-activating{color: var(--gray-dim); }
.installer-status-activated{color: var(--gray-dark); font-weight: 500; }

.js-status-success p{
    color: var(--orange);
    padding: 4px;
}

.installer-green-text{
    color:#006600;
    font-weight:bold;
}

.installer-red-text{
    color:#b22121;
    font-weight:bold;
}

.installer-footnote{
    color:#3d5e69;
    display:block;
    float: left;
    font-style: italic;
    font-size: 90%;
}

.installer-products-list li{
    display: inline;
    margin-right: 20px;
}

.otgs_wp_installer_table a.disabled{
    color:#888;
}

.otgs_wp_installer_subtable{
    clear: both;
    margin-left:-20px;
}
.otgs_wp_installer_subtable td p{
    font-size: 92%;
}

.installer-status-error{
    color: var(--wpml-red);
}

.installer-status-note{
    color: #6F6E6D;
    font-style: italic;
}

.installer-warn-text{
    color: #FF6400;
}

.installer-warn-box{
    -webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;border:1px solid #FF6400;background-color:#df8a48;
    color: var(--gray-dark);
    padding: 5px;
}
.installer-warn-box span.details{
    font-style: italic;
    color: var(--gray-dim);
}

.installer-error-box{
    color:#962722;
    margin-top: 10px;
}
.installer-error-box p{
    margin: 10px 0 10px 0;
    -webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;border:1px solid #962722;background-color:#F5C8C6;
    color: #333;
    padding: 5px;
    text-align: center;
}

.spinner-inline{
    float: none;
    display: inline-block;
    visibility: visible;
}

.installer-q-icon:before{
    content: '\f223' !important;
    font-family: dashicons !important;
    font-size: 20px;
    line-height: 1;
    color: #f56e28;
}

.installer-plugin-update-tr td{
    padding-left:3px !important;
}

.otgsi_yellow_bg{
    background-color: #f2f46b;
}

.otgs_wp_installer_table_compact{
    width:480px;
    border: solid 1px #999;
    padding:10px;
    border-radius: 5px;
}

.installer-plugins-list-compact{
    background-color: #fff;
    border-collapse: collapse;
    border:solid 1px #C1DAD7;
    width:100%;
}

.installer-plugins-list-compact tr th{
    padding-top:3px;
    background-color: #ccc;
}

.installer-plugins-list-compact tr{
    background-color: #ddd;
}

.installer-plugins-list-compact tr.even{
    background-color: #eee;
}

.installer-plugins-list-compact td{
    padding:2px 5px 2px 5px;
    border-right: 1px solid #C1DAD7;
    border-bottom: 1px solid #C1DAD7;
}

.installer-plugins-list-compact td.twelve{
    width:16px;
}

.otgs_wp_installer_table_compact .installer-status-downloading,
.otgs_wp_installer_table_compact .installer-status-downloaded,
.otgs_wp_installer_table_compact .installer-status-activating,
.otgs_wp_installer_table_compact .installer-status-activated{
    display: none;
    color:transparent; width: 12px; padding:2px;
}

.otgs_wp_installer_table_compact .installer-status-success,
.otgs_wp_installer_table_compact .installer-status-fail{
    display: none;
}

.installer-status-success{
    float: right;
    color: #006600;
}

.otgs_wp_installer_table_compact .installer-status-downloading{background: url(../img/dn.gif) no-repeat center; }
.otgs_wp_installer_table_compact .installer-status-downloaded{background: url(../img/complete.png) no-repeat center;}
.otgs_wp_installer_table_compact .installer-status-activating{background: url(../img/dn.gif) no-repeat center; }
.otgs_wp_installer_table_compact .installer-status-activated{background: url(../img/complete.png) no-repeat center; }
.otgs_wp_installer_table_compact .installer-status-error{background: url(../img/icon_error.gif) no-repeat center; }

.installer_highlight{
    color:#c5510b;
}

.installer_highlight_package{
    background-color: #fff9c0;
}

.plugin_progress{
    font-style: italic;
    color: #777
}

.installer-download-progress-status{
    display: none;
    float:right;
    color: var(--wpml-blue);
    font-style: italic;
    padding-left:24px;
}

.installer-release-notes{
    display: none;
}

.handle.extended:after{
    content: "▾";
    font-size: 24px;
    vertical-align:bottom;
}
.installer-table-wrap table.installer-plugins{
    margin-bottom: 20px;
    border: none;
    box-shadow: unset;
}

.installer-table-wrap table.installer-plugins tr th {
    padding: 13px 16px;
    border-bottom: 2px solid var(--gray-dark);
    color: var(--gray-dim);
}

.installer-table-wrap {
    padding-right: 22px;
}

.installer-table-wrap table.installer-plugins tbody tr td {
    padding: 16px;
    border-bottom: 1px solid rgba(51, 135, 158, 0.2);
}
.installer-table-wrap table.installer-plugins tbody tr td:first-of-type {
    border-left: 1px solid rgba(51, 135, 158, 0.2);
}
.rtl .installer-table-wrap table.installer-plugins tbody tr td:first-of-type {
    border-left: none;
    border-right: 1px solid rgba(51, 135, 158, 0.2);
}
.installer-table-wrap table.installer-plugins tbody tr td:last-of-type {
    border-right: 1px solid rgba(51, 135, 158, 0.2);
}
.rtl .installer-table-wrap table.installer-plugins tbody tr td:last-of-type {
    border-right: none;
    border-left: 1px solid rgba(51, 135, 158, 0.2);
}
.rtl #sitepress-multilingual-cms_release-notes td {
    border-right: 1px solid rgba(51, 135, 158, 0.2);
}
.rtl #sitepress-multilingual-cms_release-notes .arrow_box::before,
.rtl #sitepress-multilingual-cms_release-notes .arrow_box::after {
    left: 3%;
}
.installer-table-wrap table.installer-plugins tbody tr td:last-of-type {
    text-align: right;
}

.installer-table-wrap table.installer-plugins tbody tr td:last-of-type .js-release-notes {
    color: var(--wpml-blue);
    text-decoration: underline;
    white-space: nowrap;
}

.installer-table-wrap table.installer-plugins tbody tr td:last-of-type .js-release-notes:hover,
.installer-table-wrap table.installer-plugins tbody tr td:last-of-type .js-release-notes:focus {
    text-decoration: none;
}

.installer-table-wrap table.installer-plugins tbody tr td.installer_plugin_name span {
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--gray-dark);
}
.installer-table-wrap table.installer-plugins tbody tr td.installer_plugin_name p {
    font-size: 12px;
    line-height: 1.625;
    color: var(--gray-dim);
}
.installer-plugins .installer_checkbox input[type=checkbox] {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(51, 135, 158, 0.5);
    border-radius: 2px;
    position: relative;
}
.installer-plugins .installer_checkbox input[type=checkbox]:hover,
.installer-plugins .installer_checkbox input[type=checkbox]:focus {
    border-color: var(--wpml-blue);
}
.installer-plugins .installer-plugins .installer_checkbox input[type=checkbox]:checked::before {
    content: '';
    width: 4px;
    height: 8px;
    border: solid var(--wpml-blue);
    border-width: 0 2px 2px 0;
    position: absolute;
    top: 4px;
    left: 8px;
    transform: rotate(45deg);
}
@media (max-width: 782px) {
    .installer-plugins .installer-plugins .installer_checkbox input[type=checkbox]:checked::before {
        left: 9px;
    }
}
.installer-plugins .installer-plugins .installer_checkbox input[type=checkbox]:disabled {
    border: 1px solid rgba(51, 135, 158, 0.15);
    background-color: var(--wpml-blue-lightest);
    cursor: not-allowed;
}

.installer-table-wrap table.installer-plugins tbody tr td.installer_version_installed .installer-green-text,
.installer-table-wrap table.installer-plugins tbody tr td.installer_version_installed  .installer-red-text {
    padding: 3px 12px;
    display: inline-block;
    border-radius: 100px;
    background-color: var(--wpml-blue-lightest);
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
    color: var(--wpml-blue);
    white-space: nowrap;
}

.installer-table-wrap table.installer-plugins tbody tr td.installer_version_installed  .installer-red-text {
    width: fit-content;
    display: flex;
    gap: 8px;
    background-color: rgba(219, 85, 43, 0.1);
    color: var(--wpml-red);
}

.installer-table-wrap table.installer-plugins tbody tr td.installer_version_installed  .installer-red-text::after {
    content: '\f64c';
    font-family: 'otgs-icons';
    font-size: 12px;
    color: var(--wpml-red);
}

.installer-table-wrap table.installer-plugins tbody tr td .installer_version_installed_wrapper {
    display: flex;
    flex-direction: column;
}

.wp-core-ui .button-secondary[type="submit"] {
    margin: 0 0 32px;
    padding: 8px 20px;
    border-radius: 3px;
    border-color: var(--wpml-blue);
    background-color: var(--wpml-blue);
    font-size: 13px;
    color: #fff;
    line-height: 20px;
    font-weight: 500;
    transition: background-color 0.3s ease-out;
}

.wp-core-ui .button-secondary[type="submit"]:hover,
.wp-core-ui .button-secondary[type="submit"]:focus {
    background-color: var(--gray-dark);
}

label.activate-label {
    margin-left: 16px;
    display: inline-block;
    transform: translateY(12px);
    color: var(--gray-dark);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.installer-table-wrap .for_spinner_js .spinner {
    background: unset;
}

.installer-download-progress-status::before,
.installer-table-wrap .for_spinner_js .spinner::before {
    content: '';
    width: 16px;
    height: 16px;
    display: inline-block;
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNyIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzMzODc5RSIgZD0iTTguMDc1LjUzM2EuNTMzLjUzMyAwIDEgMSAxLjA2NyAwdjMuMmEuNTMzLjUzMyAwIDAgMS0xLjA2NyAwdi0zLjJaTTguMDc1IDEyLjI2N2EuNTMzLjUzMyAwIDEgMSAxLjA2NyAwdjMuMmEuNTMzLjUzMyAwIDAgMS0xLjA2NyAwdi0zLjJaTTEyLjM0MiA4YzAgLjI5NS4yMzkuNTMzLjUzMy41MzNoMy4yYS41MzMuNTMzIDAgMSAwIDAtMS4wNjZoLTMuMmEuNTMzLjUzMyAwIDAgMC0uNTMzLjUzM1pNMS4xNDIgOC41MzNhLjUzMy41MzMgMCAxIDEgMC0xLjA2NmgzLjJhLjUzMy41MzMgMCAwIDEgMCAxLjA2NmgtMy4yWk0xMS4yNDYgMTAuNjM3YS41MzMuNTMzIDAgMCAwIDAgLjc1NGwyLjI2NCAyLjI2NGEuNTMzLjUzMyAwIDAgMCAuNzU0LS43NTRMMTIgMTAuNjM3YS41MzMuNTMzIDAgMCAwLS43NTQgMFpNNS44NjcgMTEuMzc5YS41MzMuNTMzIDAgMCAwLS43NTQtLjc1NEwyLjg1IDEyLjg4N2EuNTMzLjUzMyAwIDEgMCAuNzU1Ljc1NWwyLjI2Mi0yLjI2M1pNMTQuMjM1IDIuMjU2YS41MzMuNTMzIDAgMCAxIDAgLjc1NGwtMi4yNjEgMi4yNjFhLjUzMy41MzMgMCAxIDEtLjc1NS0uNzU0bDIuMjYyLTIuMjYxYS41MzMuNTMzIDAgMCAxIC43NTQgMFoiLz48L3N2Zz4=") no-repeat center;
    animation: spin 0.8s infinite linear;
    transform-origin: center;
}

.installer-download-progress-status::before {
    margin: 0 8px;
}

td.installer_plugin_name {
    width: 500px;
}

td.installer_version {
    width: 100px;
}

td.installer_checkbox {
    width: 30px;
}

.installer-table-wrap a.handle:active,
.installer-table-wrap a.handle:focus{
    outline:0;
    border:none;
    box-shadow: none;
}

.installer-release-notes .arrow_box {
    position: relative;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 3px;
    text-align: left;
}
.rtl .installer-release-notes .arrow_box {
    text-align: right;
}
.installer-release-notes .arrow_box h3 {
    margin: 0;
}
.installer-release-notes .arrow_box:after, .installer-release-notes .arrow_box:before {
    bottom: 100%;
    left: 97%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.installer-release-notes .arrow_box:after {
    border-color: rgba(238, 238, 238, 0);
    border-bottom-color: #eee;
    border-width: 16px;
    margin-left: -16px;
}
.installer-release-notes .arrow_box:before {
    border-color: rgba(204, 204, 204, 0);
    border-bottom-color: #ccc;
    border-width: 17px;
    margin-left: -17px;
}

.installer-release-notes .arrow_box div{
    margin-top:5px;
    padding: 10px;
    overflow-y: auto;
    max-height: 400px;
}

.otgs-is-dismissible {
    position: relative;
    padding-right: 38px;
}
.otgs-is-dismissible .notice-dismiss {
    text-decoration: none;
}
.otgs-is-dismissible p [class*="button-"] {
    margin: -5px 5px;
}

.otgsi_downloads_form {
    margin-top: 40px;
}

.spinner-with-text{
    padding-left: 25px;
    float:none;
    width: auto;
}
.installer-channel-update-ok{
    padding-left: 10px;
    display: none;
    color: #006600;
}
.installer-channel-update-fail{
    padding-left: 10px;
    display: none;
    color: #962722;
}

.otgs_wp_installer_table .installer-repository-image {
    padding: 8px 20px;
}

.remove_site_key_js:disabled,
.enter_site_key_js:disabled {
    cursor: help;
}

.otgs-installer-registered span {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: .5em;
}

@media (min-width: 1400px) {
    .otgs-installer-registered-buttons {
        float: right;
    }
}

.otgs-installer-keepuptodate small {
    display: block;
    margin-top: 3px;
    line-height: 1.3;
}

@media (min-width: 783px) {
    .otgs-installer-keepuptodate small {
        -webkit-margin-start: 25px;
        -moz-margin-start: 25px;
        margin-inline-start: 25px;
    }
}

.otgs-installer-component-setting .spinner.otgs-components-report-setting-spinner {
    float: right;
}
.rtl .otgs-installer-component-setting .spinner.otgs-components-report-setting-spinner {
    float: left;
}
.otgs-installer-component-privacy-policy {
    margin-top: 30px;
}

.otgs-external-link:after {
    font-family: dashicons!important;
    content: "\A0\F504";
    vertical-align: baseline;
    line-height: 1;
    display: inline-block;
}

.installer-channel-selector-wrap select.installer-channel-selector {
    min-width: 122px;
    width: fit-content;
    border-radius: 2px;
    border-color: rgba(0,0,0, 0.15);
    font-size: 13px;
    line-height: 1.5;
}
.installer-channel-selector-wrap select.installer-channel-selector:hover,
.installer-channel-selector-wrap select.installer-channel-selector:focus {
    border-color: var(--wpml-blue);
    box-shadow: none;
    color: var(--gray-dark);
}

.installer-channel-selector-wrap label {
    font-size: 13px;
    color: var(--gray-dim);
}

tr#repository-wpml_wpml td:nth-of-type(2) p {
    color: var(--gray-dim);
}

tr#repository-wpml_wpml td:nth-of-type(2) p strong {
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray-dark);
}


/** Notification */

.widefat .otgs-reset * {
    all: unset;
}

.otgs-reset .notification {
    display: flex;
    align-items: center;
    padding: 12px 40px 12px 20px;
    gap: 12px;
    border-radius: 5px;
    background: #33879E1A;
    border-left: 4px solid #33879E;
    max-width:  552px;
    width:50%;
}

.otgs-reset .otgs-blue{
    color:#33879E;
}
.otgs-reset .otgs-text-xs{
    font-size: 12px;
}
.otgs-reset .otgs-text-sm{
    font-size: 16px;
    line-height: 16px;
}
.otgs-reset .otgs-ml-auto{
    margin-left: auto;
}

.otgs-cursor-pointer{
    cursor:pointer !important;
}
