/*
 * @package    solo
 * @copyright  Copyright (c)2014-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
 * @license    GNU GPL version 3 or later
 */

:root {
    color-scheme: light dark;
}

html,
body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
}

/* region Footer */
/* Set the fixed height of the footer here */
#akeeba-footer {
    background-color: #EFEFEF;
    color: #514F50;
    padding: 0.6em 1em 3em;
}

.akeeba-renderer-fef--dark #akeeba-footer {
    background-color: #514F50;
    color: #EFEFEF;
}

#akeeba-footer p {
    margin: 6pt 0;
}

#akeeba-footer p:last-child {
    margin-bottom: 0;
}
/* endregion */

/* region Login page */
/** Sign in page **/
form#loginForm {
    position: relative;
    top: 50%;
    transform: translateY(-50%);

    margin-left: auto;
    margin-right: auto;

    max-width: 30em;
}
/* endregion */

/* region Control Panel page */
/** Fix changelog scrolling in modal window **/
#DialogBody{
    overflow: scroll;
}
/* endregion */

/** region Configuration page */
@media (min-width: 480px)
{
    .akeeba-form-control {
        max-width: 400px;
        display: inline !important;
    }

    .akeeba-form-control + .input-group-addon
    {
        width: 50px;
    }
}

.akeeba-form-control-small {
    max-width: 200px;
    display: inline !important;
}

.akeeba-form-control-mini {
    max-width: 100px;
    display: inline;
}

.akeeba-form-control-small + .input-group-addon,
.akeeba-form-control-mini + .input-group-addon
{
    width: 50px;
}

.btn-integrated {
    padding: 0;
    color: black;
}

/* endregion */

/* region Update page */
table.liveupdate-infotable {
    margin-bottom: 1em;
}
/* endregion */

/* region (S)FTP folder browser */
.folderBrowserWrapper {
    height: 300px;
    overflow: scroll;
}
/* endregion */

/* region Backup progress */
#backup-steps div[class*=akeeba-label],
#stepper-steps div[class*=akeeba-label] {
    display: block;
    margin-top: 1px;
}

div.backup-steps-container, div.stepper-steps-container {
    clear: both;
    display: block;
    margin-top: 1em;
    padding: 0.5em 1em;
    background: #EFEFEF;
    border-radius: 0.5em;
    border: thin solid #514F50;
}

.akeeba-renderer-fef--dark div.backup-steps-container,
.akeeba-renderer-fef--dark div.stepper-steps-container {
    background: #6b686a;
    border: thin solid #888888;
}


#backup-step, #stepper-step {
    font-weight: bold;
    border-bottom: thin dotted #514F50;
}

#backup-substep, #stepper-substep {
    font-style: italic;
    color: #40B5B8 !important;
}

#warnings-list {
    height: 180px;
    overflow-y: scroll;
}

#warnings-list div {
    border-bottom: thin dotted #514F50;
    padding: 2px 0;
}

.akeeba-renderer-fef--dark #warnings-list div {
    border-bottom: thin dotted #cccccc;
}

#error-panel-troubleshooting a {
    text-decoration: underline;
    font-weight: bold;
    color: blue;
}

.akeeba-renderer-fef--dark #error-panel-troubleshooting a {
    color: white;
}

/* endregion */

/* region Tooltip support */
#tooltip {
    position: absolute;
    z-index: 3000;
    border: thin solid black;
    background-color: #f2f5f7;
    padding: 5px;
    font-size: small !important;
}

.akeeba-renderer-fef--dark #tooltip {
    background-color: #514F50;
}

#tooltip h3, #tooltip div {
    margin: 0;
}

#tooltip div.ui-icon {
    float: left;
    margin-top: 0.2em;
    margin-right: 0.3em;
}

#tooltip h3 {
    margin: 0px;
    padding: 0px;
    font-size: medium !important;
}

div.viewport-bottom {
    margin-top: 11px;
}

#tooltip .tooltip-arrow-up {
    border-color: transparent transparent black transparent;
    border-style: solid;
    border-width: 10px;
    height: 0;
    width: 0;
    position: absolute;
    left: 20px;
    top: -20px;
}

#tooltip .tooltip-arrow-up-leftaligned {
    border-color: transparent transparent black transparent;
    border-style: solid;
    border-width: 5px;
    height: 0;
    width: 0;
    position: absolute;
    left: 5px;
    top: -10px;
}

div.viewport-bottom .tooltip-arrow-up {
    display: none;
}

div.viewport-bottom .url {
    /** #AED0EA **/
    border-color: black transparent transparent transparent;
    border-style: solid;
    border-width: 10px;
    height: 0;
    width: 0;
    position: absolute;
    left: 20px;
    bottom: -20px;
}

/* endregion */

/* region Popovers */

.akeeba-popover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1060;
    display: block;
    max-width: 276px;
    font-family: Arial,sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: .8rem;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #d6d6d6 !important;
    border-radius: .5rem;
    padding: 0 !important;
}

.akeeba-renderer-fef--dark .akeeba-popover {
    background-color: #514F50;
    border: 1px solid #999999 !important;
}

.akeeba-popover-title {
    margin: 0 !important;
    padding: 0.5em !important;
    background: #EFEFEF;
    font-size: 0.9rem;
    color: #514F50;
    border-bottom: thin solid #d6d6d6;
}

.akeeba-renderer-fef--dark .akeeba-popover-title {
    background: #666666;
    color: #efefef;
    border-bottom: thin solid #666666;
}

.akeeba-popover-content {
    padding: 1em !important;
    color: #514F50;
}

.akeeba-renderer-fef--dark .akeeba-popover-content {
    color: #efefef;
}

    /* endregion */

/* region Filesystem filters */

/**/
/*span.ak-toggle-button:active { border: 1px solid gray; border-bottom: 1px solid silver; border-right: 1px solid silver; }*/
/*span.ak-toggle-button { border: 1px solid silver; border-bottom: 1px solid gray; border-right: 1px solid gray; background-color: #f9f9f6 }*/
/*span.ak-toggle-button-spinning { background-color: #ccc }*/
/*.ak-stacked-button { display: inline-block; margin-right: 4px !important; }*/

span.actionbutton {
    padding: 0.25em 0.5em;
    margin: 0 1em 0 0;
    /*cursor: pointer;*/
}

#ak_top_container, #ak_main_container {
    padding: 4px;
}

#ak_top_container div {
    text-align: center;
}

#ak_roots_container {
    border-bottom: thin dashed #666666;
    padding: 2px 0px 6px 0px;
}

#ak_crumbs_container {
    padding: 6px 0px 2px 0px;
}

#ak_crumbs_label, #ak_crumbs {
    display: inline;
}

#ak_crumbs {
    color: #333;
}

.akeeba-renderer-fef--dark #ak_crumbs {
    color: #EFEFEF;
}

#ak_crumbs span {
    padding: 1px 3px;
    cursor: pointer;
}

#ak_main_container {
    height: 322px;
}

#ak_folder_header, #ak_files_header {
    height: 18px;
}

#ak_folder_container, #ak_files_container {
    display: block;
    position: relative;
    margin: 0;
}

#folders, #files {
    height: 300px;
    overflow-y: auto;
}

#ak_clr {
    clear: both;
}

.folder-container {
    background-color: white;
    height: 2em;
    padding: 1px;
    color: #333333;
    font-weight: normal;
    border-bottom: 1px solid #d0d0ff;
}

.akeeba-renderer-fef--dark .folder-container {
    background-color: #5e5c5d;
    color: #efefef;
    border-bottom: 1px solid #666666;
}


.folder-container span.folder-padding {
    float: left;
    cursor: pointer;
    border: none;
    margin-right: 4px;
    width: 16px;
    height: 16px;
    display: block;
}

.folder-container span.folder-up span.ui-icon {
    float: left;
}

.folder-container span.folder-icon-container {
    float: left;
    /*cursor: pointer; */
    border: none;
    margin-right: 4px;
}

.folder-container span.folder-name {
    padding-left: 4px;
    cursor: pointer;
}

.folder-container span.folder-name:hover {
    font-weight: bold;
    color: #333399;
}

.akeeba-renderer-fef--dark span.folder-name:hover {
    color: #ffffff;
}

.folder-container .btn-danger {
    cursor: not-allowed !important;
}

.file-container {
    background-color: white;
    height: 2em;
    padding: 1px;
    color: #333333;
    font-weight: normal;
    border-bottom: 1px solid #d0d0ff;
}

.akeeba-renderer-fef--dark .file-container {
    background-color: #5e5c5d;
    color: #efefef;
    border-bottom: 1px solid #666666;
}

.file-container span.file-icon-container {
    float: left;
    /*cursor: pointer;*/
    border: none;
    margin-right: 4px;
}

.file-container span.file-name {
    padding-left: 4px;
}

.file-container span.file-clickable {
    cursor: pointer;
}

.file-container span.file-clickable:hover {
    font-weight: bold;
    color: #333399;
}

.file-container span.file-size {
    display: block;
    float: right;
}

.file-container .btn-danger {
    cursor: not-allowed !important;
}

.file-header {
    margin: 10px 0;
}

.file-header.file-container span.file-name {
    font-style: italic;
    padding-left: 20px
}

.folder-header {
    margin: 10px 0;
}

.folder-header.folder-container span.folder-name {
    font-style: italic;
    padding-left: 20px
}

.folder-header.folder-container span.folder-name:hover {
    color: #333;
    font-weight: normal;
    cursor: default;
}

#ak_list_container {
    padding: 4px;
}

.ak_filter_type {
    font-weight: bold;
}

.ak_filter_row .ak_filter_tab_icon_container {
    float: left;
    /*cursor: pointer;*/
    margin-right: 4px;
    padding: .2em .5em !important;
}

#addnewfilter {
    padding: 0.6em 0;
}

/* endregion */

/* region Database tables filters */
#ak_databases_container {
    padding: 2px 0px 6px 0px;
}

#ak_tables_header {
    height: 18px;
}

#ak_tables_container {
    display: block;
    width: 100%;
    position: relative;
}

#tables {
    height: 300px;
    overflow-y: auto;
}

.table-container {
    background-color: white;
    height: 2em;
    padding: 2px;
    color: #333333;
    font-weight: normal;
    border-bottom: 1px solid #d0d0ff;
}

.table-container:hover {
    background: #e8f7f7;
}

.akeeba-renderer-fef--dark .table-container {
    background-color: #5e5c5d;
    color: #efefef;
    border-bottom: 1px solid #666666;
}

.table-container span.table-icon-container {
    float: left;
    /*cursor: pointer;*/
    left: 2px;
    margin-right: 4px;
}

.table-container span.table-name {
    padding-left: 4px;
}

.table-container span.table-rowcount {
    float: right;
    right: 2px;
    color: #93C34E;
}

.table-container span.table-icon-noclick {
    cursor: default;
}

.table-container span.table-icon-small {
    margin-right: 0px;
}

.table-container .btn-danger {
    cursor: not-allowed !important;
}

/* endregion */

/* region Multiple databases definitions */
/**
 * Use in akeeba-table tables when you are going to have <input> inside <td>. Otherwise the TDs with INPUTs will have
 * their content appear like it's pushed down by an invisible padding because of vertical-align: baseline.
 */
table[class*=--dynamic-line-editor] td {
    vertical-align: middle;
}

#ak_editor_notifier img {
    margin: 0 2em;
}

/* endregion */

/* region Restoration */
#extprogress {
    border: thin solid gray;
    background-color: #f0f0f0;
    color: #5e5c5d;
    border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 5px;
    margin: 5px;
}

#extprogress .extlabel {
    display: inline-block;
    min-width: 300px;
    font-weight: bold;
}

#extprogress .extprogrow {
    border-bottom: thin solid #e0e0e0
}

/* endregion */

/* region Manage backups */
.akeeba-buadmin-startdate {
    border-top: 1px solid #eee;
    color: #999;
    padding-top: 2px;
    margin-top: 2px
}

.akeeba-renderer-fef--dark .akeeba-buadmin-startdate {
    border-top: 1px solid #858183;
    color: #cccccc;
}

/* endregion */

/* region System configuration */

div.tab-content > div {
    padding-top: 1em;
}

/* endregion */

/* region Modal dialogs */
#akeeba-modal-overlay {
    background: #000;
    filter: alpha(opacity=60);
    height: 100%;
    left: 0;
    -moz-opacity: 0.6;
    -webkit-opacity: 0.6;
    -ms-filter: alpha(opacity=60);
    opacity: 0.6;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 998;
}

#akeeba-modal-container {
    background: #fff;
    border: 1px solid #ababab;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.2);
    height: auto;
    max-height: 90%;
    overflow: auto;
    padding: 10px;
    font-family: arial,sans-serif;
    font-size: 14px;
    position: absolute;
    z-index: 998;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
}

#akeeba-modal-header {
    height: 20px;
    overflow: hidden;
    clear: both;
}

#akeeba-modal-close {
    background: #fff url('../image/modal-close.png') no-repeat center center;
    cursor: pointer;
    display: block;
    filter: alpha(opacity=60);
    -moz-opacity: 0.6;
    -webkit-opacity: 0.6;
    -ms-filter: alpha(opacity=60);
    opacity: 0.6;
    float: right;
    height: 20px;
    width: 20px;
}
#akeeba-modal-close:hover {
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    -webkit-opacity: 1.0;
    -ms-filter: alpha(opacity=100);
    opacity: 1.0;
}

#akeeba-modal-content {
    display: block;
    padding: 0 20px 10px 20px;
    z-index: 999;
}

#akeeba-modal-container.modal-loading {
    background: #fff url('../image/loading.gif') no-repeat center center;
}

.akeeba-renderer-fef--dark #akeeba-modal-container {
    background: #514F50;
    border: 1px solid #666666;
}

.akeeba-renderer-fef--dark #akeeba-modal-close {
    background: #ccc url('../image/modal-close.png') no-repeat center center;
    border-radius: 16px;
}

.akeeba-renderer-fef--dark #akeeba-modal-container.modal-loading {
    background: #514F50 url('../image/loading_dark.gif') no-repeat center center;
}

/* endregion */

/* region Simple CSS tooltips (akeeba-hasTooltip) */

.akeeba-hasTooltip {
    position: relative;
}

.akeeba-hasTooltip .akeeba-tooltip-text {
    visibility: hidden;
    width: 180px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text! */
    position: absolute;
    z-index: 100;
}

.akeeba-hasTooltip:hover .akeeba-tooltip-text {
    visibility: visible;
}

.akeeba-hasTooltip .akeeba-tooltip-text:after {
    content: " ";
    position: absolute;
    border-width: 5px;
    border-style: solid;
}

.akeeba-hasTooltip .akeeba-tooltip-text-left {
    top: -5px;
    right: 105%;
}

.akeeba-hasTooltip .akeeba-tooltip-text-left:after {
    top: 50%;
    left: 100%; /* To the right of the tooltip */
    margin-top: -5px;
    border-color: transparent transparent transparent black;
}

.akeeba-hasTooltip .akeeba-tooltip-text-right {
    top: -5px;
    left: 105%;
}

.akeeba-hasTooltip .akeeba-tooltip-text-right:after {
    top: 50%;
    right: 100%; /* To the left of the tooltip */
    margin-top: -5px;
    border-color: transparent black transparent transparent;
}

.akeeba-hasTooltip .akeeba-tooltip-text-top {
    width: 180px;
    bottom: 100%;
    left: 50%;
    margin-left: -90px;
}

.akeeba-hasTooltip .akeeba-tooltip-text-top:after {
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-color: black transparent transparent transparent;
}

.akeeba-hasTooltip .akeeba-tooltip-text-bottom {
    width: 180px;
    top: 100%;
    left: 50%;
    margin-left: -90px;
}

.akeeba-hasTooltip .akeeba-tooltip-text-bottom:after {
    bottom: 100%; /* At the top of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-color: transparent transparent black transparent;
}

/* endregion */

/* region Filter bar (above tables) */
.akeeba-renderer-fef form[class*=akeeba-form] [class*=akeeba-filter-bar-container] [class*=akeeba-form-section]
{
    margin-bottom: 0;
}

div.akeeba-filter-bar--right  {
    text-align: right;
}

div.akeeba-filter-bar select.custom-select {
    min-width: 0;
    max-width: 115px;
}

div.akeeba-filter-element {
    display: inline-block;
    margin-right: 0.5em;
}

div.akeeba-filter-element button[class*=--icon-only]+button[class*=--icon-only] {
    margin-left: 0;
}

div.akeeba-filter-element button[class*=--icon-only] [class*=akion-] {
    margin: 0;
    vertical-align: baseline;
}

/* endregion */

/* region Form styling fixes (to backport into FEF) */

div.akeeba-hidden-fields-container {
    height: 0;
}

.akeeba-renderer-fef form[class*=--with-hidden] {
    margin-bottom: 0;
}

.akeeba-renderer-fef form[class*=akeeba-form][class*=--no-margins] [class*=akeeba-form-group]
{
    margin-bottom: 0;
}

/* endregion */

/* region Breadcrumbs (to backport into FEF) */
ul.akeeba-breadcrumb {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    color: #918e90;
}

ul.akeeba-breadcrumb li {
    display: inline-block;
}

ul.akeeba-breadcrumb li a {
    color: #514F50;
    text-decoration: none;
}

.akeeba-renderer-fef--dark ul.akeeba-breadcrumb li a {
    color: #efefef;
}

ul.akeeba-breadcrumb li a:hover {
    color: #40B5B8;
    text-decoration: none;
}

ul.akeeba-breadcrumb li span.divider {
    display: inline-block;
    padding: 0 0.5em;
    color: #918e90;
}

/* endregion */

/* region WordPress specific styles */
div.akeeba-wp
{
    background-color: white;
}

div.akeeba-renderer-fef--dark.akeeba-wp
{
    background-color: #514F50;
}

/* endregion */

/* region Safari automatic Dark Mode */

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
    }

    .akeeba-renderer-fef #akeeba-footer {
        background-color: #514F50;
        color: #EFEFEF;
    }

    .akeeba-renderer-fef div.backup-steps-container,
    .akeeba-renderer-fef div.stepper-steps-container {
        background: #6b686a;
        border: thin solid #888888;
    }

    .akeeba-renderer-fef #warnings-list div {
        border-bottom: thin dotted #cccccc;
    }

    .akeeba-renderer-fef #error-panel-troubleshooting a {
        color: white;
    }

    .akeeba-renderer-fef #tooltip {
        background-color: #514F50;
    }

    .akeeba-renderer-fef .akeeba-popover {
        background-color: #514F50;
        border: 1px solid #999999 !important;
    }

    .akeeba-renderer-fef .akeeba-popover-title {
        background: #666666;
        color: #efefef;
        border-bottom: thin solid #666666;
    }

    .akeeba-renderer-fef .akeeba-popover-content {
        color: #efefef;
    }

    .akeeba-renderer-fef #ak_crumbs {
        color: #EFEFEF;
    }

    .akeeba-renderer-fef .folder-container {
        background-color: #5e5c5d;
        color: #efefef;
        border-bottom: 1px solid #666666;
    }

    .akeeba-renderer-fef span.folder-name:hover {
        color: #ffffff;
    }

    .akeeba-renderer-fef .file-container {
        background-color: #5e5c5d;
        color: #efefef;
        border-bottom: 1px solid #666666;
    }

    .akeeba-renderer-fef .table-container {
        background-color: #5e5c5d;
        color: #efefef;
        border-bottom: 1px solid #666666;
    }

    .akeeba-renderer-fef .akeeba-buadmin-startdate {
        border-top: 1px solid #858183;
        color: #cccccc;
    }

    .akeeba-renderer-fef #akeeba-modal-container {
        background: #514F50;
        border: 1px solid #666666;
    }

    .akeeba-renderer-fef #akeeba-modal-close {
        background: #ccc url('../image/modal-close.png') no-repeat center center;
        border-radius: 16px;
    }

    .akeeba-renderer-fef #akeeba-modal-container.modal-loading {
        background: #514F50 url('../image/loading_dark.gif') no-repeat center center;
    }

    .akeeba-renderer-fef ul.akeeba-breadcrumb li a {
        color: #efefef;
    }

    div.akeeba-wp {
        background-color: #514F50;
    }

    #akeeba-modal-container {
        background-color: #514F50;
    }
}

/* endregion */