/*
 *
 * Copyright This software and its content is copyright of
 * Muse Corporation Limited -(c) 2022. All right reserved.
 * Any redistribution or reproduction of part or all of the contents
 * in any form is prohibited.You may not, except with our express
 * written permission, distribute or commercially exploit the content.
 * Nor may you transmit it or store it in any form of electronic retrieval system.
 *
 */

html,
body {
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.modal-header {
    background-color: #0ECCCA;
    color: white;
}

.iti {
    width: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

a {
    color: grey !important;
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.fr-box.fr-basic .fr-element.fr-view {
    text-align: left;
}

.fas[data-count] {
    position: relative;
}

.fas[data-count]:after {
    position: absolute;
    right: -0.75em;
    top: -.45em;
    content: attr(data-count);
    padding: .4em;
    border-radius: 10em;
    line-height: .9em;
    color: white;
    background: rgba(252, 200, 50, 1);
    text-align: center;
    min-width: 2em;
    font: bold .3em sans-serif;
}

.export-button:hover,
.export-button:focus,
.export-button:active {
    color: white !important;
}

.export-button.text-info:hover {
    color: white !important;
}

.action-button:hover,
.action-button:focus,
.action-button:active {
    color: white !important;
}

.action-button.text-info:hover {
    color: white !important;
}

.tabx-button:hover,
.tabx-button:focus,
.tabx-button:active {
    color: white !important;
}

.tabx-button.text-info:hover {
    color: white !important;
}


body.edit-mode .dragging-section {
    border: 2px dashed #007bff;
    background: rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease-in-out;
}


body.edit-mode .dragging-item {
    background: rgba(255, 193, 7, 0.2);
    border: 2px solid #ffc107;
    box-shadow: 0px 0px 10px rgba(255, 193, 7, 0.6);
    transition: all 0.3s ease-in-out;
}


body.edit-mode .sortable-ghost {
    opacity: 0.5;
    background: #ddd;
}


body.edit-mode .dropped-section {
    background: rgba(40, 167, 69, 0.2);
    transition: background 0.8s ease-in-out;
}


body.edit-mode .sortable-list:hover {
    background: rgba(0, 123, 255, 0.1);
    transition: background 0.2s ease-in-out;
}


body.edit-mode #sortable-favourites .sortable-item {
    transition: transform 0.3s ease-in-out;
}

body.edit-mode #sortable-favourites .sortable-item.moving {
    transform: scale(1.05);
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #ffc107;
}


body.edit-mode .serv-section-desc a.disabled {
    pointer-events: none;
    opacity: 0.5;
}