@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 300;
    src: url("../font/Quicksand-Light.ttf") format("truetype");
}

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 400;
    src: url("../font/Quicksand-Regular.ttf") format("truetype");
}

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 400;
    src: url("../font/Quicksand-Medium.ttf") format("truetype");
}

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 600;
    src: url("../font/Quicksand-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 700;
    src: url("../font/Quicksand-Bold.ttf") format("truetype");
}

html, body {
    margin: 0;
    font-family: 'Quicksand';
    overflow: hidden !important;
    color: #000851;
    background: #f7fdff;
    background: #000851;
}

* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

h1 {
    height: 50px;
    background: rgba(0, 0, 0, 0.1);
    background: linear-gradient(180deg, #007fa2 -200%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(180deg, #007fa2 -200%, #f7fdff 100%);
    vertical-align: middle;
    align-items: center;
    text-align: center;
    display: grid;
    color: #007fa2;
    text-transform: uppercase;
    font-size: 12px;
    margin: 0;
    font-weight: normal;
    height: 40px;
}

main {
    padding: 20px;
    margin-bottom: 50px;
    height: calc(100vh - 140px);
    height: calc(var(--vh, 1vh) * 100 - 135px);
    overflow: auto;
    width: calc(100% - 40px);
    background: #f7fdff;
    margin: 0;
}

header {
    display: flex;
    flex: 1;
    background: linear-gradient(180deg, #000851 0%, #007fa2 100%);
    height: 44px;
}

header .corner {
    width: 50px;
    text-align: center;
    align-self: center;
    height: 44px;
    align-items: center;
    display: grid;
}

header a {
    display: flex;
}

header .corner img {
    margin: 0 auto;
    height: 20px;
}

header .title {
    width: 100%;
    text-align: center;
    align-self: center;
}

header h1 {
    background: none;
    color: #52c3e2;
}

footer {
    height: 50px;
    width: 100%;
    background: linear-gradient(180deg, #007fa2 0%, #000851 100%);
    color: #FFF;
}

footer nav {
    height: 100%;
    text-align: center;
    box-shadow: 0 3px 14px 2px rgba(0, 0, 0, .12);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

footer nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    height: 100%;
    width: calc(100% - 101px);
    float: left;
    display: flex;
}

footer nav li {
    display: inline-grid;
    height: 100%;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    font-weight: 300;
}

footer nav .corner:hover,
footer nav li:hover,
footer nav li.active {
    background: rgba(0, 0, 0, 0.25);
    font-weight: bold;
}

footer nav a {
    text-decoration: none;
    color: #FFF;
    align-self: center;
    display: inherit;
    height: 100%;
    align-items: center;
    font-size: 30px;
}

footer img {
    margin: 0 auto;
    height: 24px;
}

footer nav .corner {
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    align-self: center;
    height: 100%;
    text-align: center;
    margin: 0 auto;
    width: 50px;
    background: rgba(255, 255, 255, 0.1);
}

footer nav .corner:hover {
    background: rgba(255, 255, 255, 0.05);
}

footer nav .corner:first-child {
    float: left;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

footer nav .corner:first-child a {
    width: 100%;
}

footer nav .corner div {
    width: 100%;
}

footer nav .corner a {
    margin: 0 auto;
    color: #DDD;
}

footer nav .corner a:hover {
    color: #FFF;
}

footer nav .corner:last-child a {
    position: absolute;
    right: 13px;
    height: 50px;
}

footer nav .corner .datepicker {
    width: 100%;
    height: 100%;
    display: table-row-group;
    background: transparent;
    border: 0;
    color: transparent;
    z-index: 2;
    overflow: hidden;
    cursor: pointer;
    outline: none;
    color: transparent;
    font-size: 0;
}

footer nav .corner .datepicker input {
    width: 100%;
    height: 100%;
    display: table-row-group;
    background: transparent;
    border: 0;
    color: transparent;
    z-index: 2;
    overflow: hidden;
}

@-webkit-keyframes expand {
    0% {
        top: -100%
    }
    100% {
        top: calc(0% - 5px)
    }
}

@-webkit-keyframes close {
    0% {
        top: 0%
    }
    100% {
        top: -100%
    }
}

.layer {
    position: fixed;
    width: 100%;
    top: -100%;
    z-index: 999;
    border-bottom: #007fa2 5px solid;
    height: calc(100% - 5px);
    background: rgba(255, 255, 255, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.layer.open {
    -webkit-animation: expand 1s ease-in;
    animation-fill-mode: forwards;
    height: 100%;
}

.layer.close {
    -webkit-animation: close 1s ease-out;
    animation-fill-mode: forwards;
}

.layer .wrapper {
    margin: 0 auto;
    padding: 0 15px;
}

.layer .close {
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 40px;
    font-style: normal;
}

.layer .close img {
    width: 20px;
}

.layer .card hr {
    width: 90%;
    border: 0.5px dashed rgba(0, 0, 0, 0.05);
}

.layer .card {
    border: 1px solid rgba(0, 0, 0, 0.075);
    border-radius: .25rem;
    margin: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: calc(50% - 42px);
    float: left;
    padding: 10px;
}

.layer .card .title {
    color: rgba(0, 0, 0, 0.87);
    padding: 0 5px;
    font-weight: 300;
}

.layer .card img {
    width: 48px;
    padding: 10px;
}

.layer .card .data {
    color: rgba(0, 0, 0, 0.87);
    padding: 0;
    font-size: 1.5rem;
    font-weight: 300;
}

.layer .card .data span {
    font-size: 15px;
}

.layer .card .text {
    padding: 0 0 5px 0;
    font-size: 10px;
    white-space: nowrap;
}


/* sidebar */

.menu-open {
    cursor: pointer;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    max-width: 300px;
    width: calc(100% - 50px);
    background-color: #FFF;
    transition: transform 0.3s ease-out;
    overflow: auto;
    z-index: 1000;
    height: calc(100% - 50px);
}

.sidebar.left {
    left: 0;
    color: #FFF;
    background: linear-gradient(270deg, #007fa2 0%, #007fa2 100%);
}

.sidebar.right {
    right: 0;
}

.sidebar.right.is-hidden {
    transform: translateX(300px);
}

.sidebar.left.is-hidden {
    transform: translateX(-300px);
}

.sidebar::-webkit-scrollbar {
    width: 0;
}

.overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    transition: transform 0.3s ease-out;
    opacity: 1;
    transition-property: opacity;
    z-index: 999;
    cursor: pointer;
}

.overlay.is-hidden {
    opacity: 0;
    z-index: 0;
}

.sidebar .profile {
    float: none;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    background: rgba(0, 0, 0, 0.4);
    display: flex;
}

.sidebar .profile .image {
    float: left;
    padding: 20px 15px;
    height: 48px;
    width: 48px;
}

.sidebar .profile div {
    align-self: center;
    padding-right: 10px;
}

.sidebar .profile .name {
    font-size: 16px;
    display: block;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
}

.sidebar .profile .detail {
    font-size: 12px;
    margin-top: 5px;
    color: #4ba8c2;
    display: block;
}

.sidebar ul {
    margin: 0;
    padding: 0;
}

.sidebar li {
    list-style: none;
}

.sidebar li.active {
    background: rgba(0, 0, 0, 0.25);
}

.sidebar li a {
    height: 50px;
    align-items: center;
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 300;
    color: #FFF;
    letter-spacing: 0.5px;
}

.sidebar li.active a {
    font-weight: bold;
}

.sidebar li i {
    margin-right: 8px;
    width: 10px;
    height: 10px;
    border: 1px solid #FFF;
    border-radius: 10px;
}

.sidebar li.active i {
    background: #FFF;
}

.sidebar .credits {
    width: 100%;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    background: rgba(0, 0, 0, 0.4);
    height: 70px;
    align-items: center;
    display: flex;
    text-align: center;
}

.sidebar .credits a {
    margin: 0 auto;
}

.sidebar .credits img {
    margin: 0 auto;
    max-width: 180px;
    max-height: 50px;
}

/* accordion */

.sidebar .scrollable {
    height: calc(var(--vh, 1vh) * 100 - 210px);
    overflow: auto;
}

.sidebar .scrollable::-webkit-scrollbar {
  display: none;
}

.sidebar .tab {
    width: 100%;
    overflow: hidden;
}

.sidebar .tab-label {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding: 1em;
    font-weight: bold;
    cursor: pointer;
    height: 50px;
    align-items: center;
    padding: 0 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar .tab-label span {
    width: 100%;
    font-size: 14px;
}

.sidebar .tab-label span:last-child {
    width: 100px;
    text-align: right;
    /* margin-right: 10px; */
    color: #6c757d;
    font-weight: 400;
    font-size: 13px;
}

.sidebar .tab-label:hover {
    background: rgba(0, 0, 0, 0.25);
}

.sidebar .tab-content {
    max-height: 0;
    padding: 0;
    color: #2c3e50;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.sidebar input {
    display: none;
}

.sidebar input:checked+.tab-label {
    background: rgba(0, 0, 0, 0.25);
}

.sidebar input:checked+.tab-label::after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sidebar input:checked~.tab-content {
    max-height: 100vh;
    padding: 0;
}

/* Swal */

@media (max-width: 500px) {
    .swal-modal {
        width: 100%;
        border-radius: 0;
        margin: 0;
    }
}

/* Modal */

#modal img {
    box-sizing: border-box;
    max-width: 100%;
    max-height: 100%;
    display: block;
    max-height: 100vh;
}

#modal {
    position: fixed;
    display: table;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform: scale(0);
    z-index: 1000;
}

#modal.in {
    transform: scaleY(0.01) scaleX(0);
    animation: unfoldIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

#modal.in .background .content {
    transform: scale(0);
    animation: zoomIn 0.5s 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

#modal.in.out {
    transform: scale(1);
    animation: unfoldOut 1s 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

#modal.in.out .background .content {
    animation: zoomOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

#modal .background {
    display: table-cell;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    vertical-align: middle;
}

#modal .background .content {
    background: white;
    display: inline-block;
    border-radius: 3px;
    font-weight: 300;
    position: relative;
}

#modal .content {
    max-width: 100%;
    max-height: 100%;
    background: red;
    position: relative;
    z-index: 0;
}

#modal .close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
    width: 40px;
    height: 40px;
    line-height: 34px;
    border: 1px solid #aaa;
    border-radius: 100%;
}

@keyframes unfoldIn {
    0% {
        transform: scaleY(0.005) scaleX(0);
    }

    50% {
        transform: scaleY(0.005) scaleX(1);
    }

    100% {
        transform: scaleY(1) scaleX(1);
    }
}

@keyframes unfoldOut {
    0% {
        transform: scaleY(1) scaleX(1);
    }

    50% {
        transform: scaleY(0.005) scaleX(1);
    }

    100% {
        transform: scaleY(0.005) scaleX(0);
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

/* Tour */

.introjs-tooltiptext {
    text-align: center;
    font-size: 14px;
}

.introjs-button {
    height: 20px !important;
    display: inline-flex !important;
    align-items: center;
}

.introjs-skipbutton {
    float: left;
}

/* .introjs-prevbutton {
    border-right: 1px solid #d4d4d4;
    border-radius: 0.2em;
    float: left;
}

.introjs-nextbutton {
    border-radius: 0.2em;
} */
