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

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

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

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

div.toolbar {
    margin-top: 1em;
}

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

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

    max-width: 30em;
}

/** 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;
}

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

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

/** Fix changelog scrolling in modal window **/
#DialogBody{
    overflow: scroll;
}

/**
 * Backup progress
 */
#backup-steps div[class*=akeeba-label],
#stepper-steps div[class*=akeeba-label] {
    display: block;
    /*width: 100%;*/
    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;
}

#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;
}

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

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

#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;
}

.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-popover-title {
    margin: 0 !important;
    padding: 0.5em !important;
    background: #EFEFEF;
    font-size: 0.9rem;
    color: #514F50;
    border-bottom: thin solid #d6d6d6;
}

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

/**
 * 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;
}

#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;
}

.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;
}

.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;
}

.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;
}

/**/

/**
 * 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: 1px;
    color: #333333;
    font-weight: normal;
    border-bottom: 1px solid #d0d0ff;
}

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

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

.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;
}

/**/

/*
 * 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;
}

/**/

/**
 * Restoration
 */
/**/
#extprogress {
    border: thin solid gray;
    background-color: #f0f0f0;
    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
}

/**/

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

/**
 * System configuration
 */

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

/**
 * Modal dialogs using jsModal. Light version (should fit most, if not all, administrator themes)
 */
#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('../icons/loading.gif') no-repeat center center;
}

/**
 * Simple CSS tooltips
 */

.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;
}

/**
 * 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;
}

/**
 * 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;
}

/**
 * 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;
}

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;
}

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