﻿@import url("global.css");

@font-face {
    font-family: 'Line Awesome Free';
    font-style: normal;
    font-weight: 900;
    font-display: auto;
    src: url("la-solid-900.eot");
    src: url("la-solid-900.eot?#iefix") format("embedded-opentype"), url("la-solid-900.woff2") format("woff2"), url("la-solid-900.woff") format("woff"), url("la-solid-900.ttf") format("truetype"), url("la-solid-900.svg#lineawesome") format("svg");
}

@media print {
    .navbar, #sidebar-left, footer {
        display: none !important;
    }
}

.popper-content {
    position: absolute;
    z-index: 1050;
}

.form-actions {
    margin-bottom: -10px !important;
}

.table-condensed th, .table-condensed td {
    padding: 2px !important;
}

a:not([href]):not([class]) {
    color: #007bff !important;
    text-decoration: none;
    cursor: pointer;
}

.back-to-top {
    position: fixed;
    display: none;
    background: #000000;
    color: #fff;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 16px;
    border-radius: 50%;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 11;
}

.back-to-top i {
    padding-top: 12px;
    color: #fff
}
.dock {
    width: 300px;
    background: #f3f3f3;
    position: fixed;
    overflow-y: auto;
    right: 10px;
    height: 85%;
    z-index: 0;
}

.req {
    color: #e0193a;
    padding-right: 5px;
}
.modal {
    overflow: hidden;
    transition: height 0.3s ease;
}

/* SAS iframe modal (#mpe) - override Bootstrap/AdminLTE .modal-dialog { max-width: 500px } */
#mpe.modal .modal-dialog,
#mpe .modal-dialog,
#mpe #divModal,
.modal.sas-mpe-modal .modal-dialog {
    max-width: calc(100vw - 2rem) !important;
    width: auto;
    margin: 1rem auto;
}

#mpe .modal-content {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 44px rgba(0, 0, 0, .18);
}

#mpe .modal-header {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 6px 10px 6px 14px;
    min-height: 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

#mpe .modal-title,
#mpe #divModalHeader {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.25;
    color: #212529;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#mpe .modal-header .close {
    flex: 0 0 auto;
    float: none;
    padding: 2px 6px;
    margin: 0 !important;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1;
    color: #6c757d;
    opacity: .65;
    text-shadow: none;
}

#mpe .modal-header .close:hover {
    opacity: 1;
    color: #212529;
}

#mpe .modal-body {
    padding: 0;
    overflow: hidden;
}

#mpe #modalContainer {
    display: none;
    overflow: auto;
    max-height: calc(100vh - 120px);
    padding: 10px 12px;
}

#mpe #modalContainer:not(:empty) {
    display: block;
}

#mpe #iframeModal {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    border: 0;
    vertical-align: top;
}

#mpe .modal-header.bg-warning {
    background: #fff3cd;
    border-bottom-color: rgba(0, 0, 0, .08);
}

/* Pages loaded inside #mpe iframe */
body.sas-mpe-frame {
    margin: 0 !important;
    padding: 10px 12px !important;
    font-size: .875rem;
    line-height: 1.4;
    background: #fff;
    overflow-x: hidden;
}

body.sas-mpe-frame .container-fluid,
body.sas-mpe-frame .container-fluid-full {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

body.sas-mpe-frame .box,
body.sas-mpe-frame .card {
    margin-bottom: 0;
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, .06);
}

body.sas-mpe-frame .box-header,
body.sas-mpe-frame .card-header {
    padding: 8px 12px;
}

body.sas-mpe-frame .box-header h2,
body.sas-mpe-frame .card-title {
    margin: 0;
    font-size: .95rem !important;
    font-weight: 700;
    line-height: 1.3;
}

body.sas-mpe-frame .box-content,
body.sas-mpe-frame .card-body {
    padding: 10px 12px !important;
}

body.sas-mpe-frame .form-group,
body.sas-mpe-frame .control-group {
    margin-bottom: 10px;
}

body.sas-mpe-frame .form-actions {
    margin-top: 10px;
    margin-bottom: 0 !important;
    padding-top: 0;
}

body.sas-mpe-frame h1,
body.sas-mpe-frame h2,
body.sas-mpe-frame h3,
body.sas-mpe-frame h4 {
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.3;
}

body.sas-mpe-frame p {
    margin: 0 0 6px 0;
}

body.sas-mpe-frame br + br {
    display: none;
}

body.sas-mpe-frame dl {
    margin: 0 0 8px 0;
}

body.sas-mpe-frame dl dt,
body.sas-mpe-frame dl dd,
body.sas-mpe-frame .dl-horizontal dt,
body.sas-mpe-frame .dl-horizontal dd {
    margin-bottom: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    line-height: 1.35;
}

body.sas-mpe-frame table.table td,
body.sas-mpe-frame table.table th {
    padding: 6px 8px;
    font-size: .84rem;
}

body.sas-mpe-frame strong {
    font-weight: 600;
}
.ico {
    font-family: 'Line Awesome Free';
    font-size: 22px;
    padding-right: 4px;
    position: relative;
    top: 4px;
}
.submenu {
    padding-left: 10px;
}
.icon .ico {
    font-size: 15px !important;
}
h2 .ico{
    font-size: 20px !important;
    top: -1px;
}
.nav input {
    top: 16px;
    position: relative;
    width: 160px;
}
.nav select {
    top: 16px;
    position: relative;
    width: 120px;
}
.navbar {
    position: sticky !important;
    top: 0;
    z-index: 1000;
}

.Overlay {
    position: fixed;
    top: 0;
    left: 0;
    background-color: darkgray;
    filter: alpha(opacity=70);
    opacity: 0.7;
    height: 100%;
    width: 100%;
    min-height: 100%;
    min-width: 100%;
    z-index: 100;
}

.pagination ul {
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

    .pagination ul > li:first-child > a,
    .pagination ul > li:first-child > span {
        -webkit-border-bottom-left-radius: 0px;
        border-bottom-left-radius: 0px;
        -webkit-border-top-left-radius: 0px;
        border-top-left-radius: 0px;
        -moz-border-radius-bottomleft: 0px;
        -moz-border-radius-topleft: 0px;
    }

    .pagination ul > li:last-child > a,
    .pagination ul > li:last-child > span {
        -webkit-border-top-right-radius: 0px;
        border-top-right-radius: 0px;
        -webkit-border-bottom-right-radius: 0px;
        border-bottom-right-radius: 0px;
        -moz-border-radius-topright: 0px;
        -moz-border-radius-bottomright: 0px;
    }

#sticky-header.floating {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    width: auto;
    min-width: 400px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.85rem;
}

#sticky-header {
    transition: all 0.4s ease;
}

#sticky-header.floating .badge {
    font-size: 0.75rem;
}
#sticky-header.floating .break {
    display: block;
    height: 0;
}
#sticky-header.floating .card-tools {
    all: unset;
    display: inline-block;
}
#sticky-header.floating .card-tools {
    margin: auto;
    display: block;
}

