@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: 'Open Sans', sans-serif;
}

/* Styles fo custom pagination */
.custom-pagination li a {
    font-size: 0.8rem;
}

/* Styles for custom modal fade */
.modal.fade {
    /* From https://css.glass */
    background: rgba(var(--bs-secondary), 0.72);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/** Styles for Dashboard */
.welcome-banner-overlay {
    background: url('../images/login-overlay-green.png') no-repeat left -50px;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.2;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

/* Styles for body background overlay */
.bg-overlay {
    background: url('../images/overlay.png') no-repeat center top;
    background-size: absolute;
    opacity: 0.03;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    will-change: transform;
    transform: translateZ(0);
    background-attachment: fixed;
}

html, body {
    position: relative;
    min-height: 100vh;
}


/* .bg-overlay {
    background: url('../images/overlay.png') no-repeat left top;
    opacity: 0.03;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -1;
} */

/* Styles for bi (bootstrap icon) */
.bi {
    vertical-align: 0 !important;
}

/* Styles for SweetAlert */
.swal2-actions button {
    border-radius: var(--bs-border-radius-pill) !important;
}

/** Styles for Dashboard */
.welcome-banner-overlay {
    background: url('../images/login-overlay.png') no-repeat left -50px;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.2;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

/* Styles for dashboard clock */
/* .card-special {
    padding: 0;
    margin: 0;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
}

.card-special:hover {
    padding: 3px;
    margin: -3px;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
} */

.card-special .card-body {
    position: relative;
    overflow: hidden;
}

.card-special .card-footer {
    border: 0 !important;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
}

.card-special .card-thumb {
    position: absolute;
    top: 1rem;
    left: 1.25rem;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
}

.card-special .card-special-title {
    display: block;
    padding-top: 3rem;
    padding-bottom: 0;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
}

.card-special .card-icon {
    position: absolute;
    bottom: -10.75rem; 
    right: 1.5rem; 
    font-size: 75pt;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
}

.card-special:hover .card-special-title {
    padding-top: 0;
    padding-bottom: 3rem;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
}

.card-special:hover .card-thumb {
    top: -100%;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
}

.card-special:hover .card-icon {
    bottom: 2.2rem;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.9s;
}

/* Styles for cursor */
.cursor-wait {
    cursor: wait;
}

/* Styles for Loading Mask */
.loading-mask {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1200;
    display: block;
    background-color: rgba(0, 0, 0, 0.3);
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.9s;
}

.loader { 
    display: block; 
    margin: 0 auto;
    border-radius: 10px;
    border: 4px solid transparent;
    position: relative;
    padding: 1px;
}
  /* .loader:before {
    content:'';
    border:1px solid #fff; 
    border-radius:10px;
    position:absolute;
    top:-4px; 
    right:-4px; 
    bottom:-4px; 
    left:-4px;
  } */

.loader .loaderBar { 
    position: absolute;
    top: -7px;
    right: 100%;
    bottom: 0;
    left: 0;
    background: #fff; 
    width: 0;
    animation: borealisBar 2s linear 0.9s infinite;
    /* transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.9s; */
}
  
@keyframes borealisBar {
    0% {
        left:0%;
        right:100%;
        width:0%;
    }
    10% {
        left:0%;
        right:75%;
        width:40%;
    }
    30% {
        left: 30%;
        right: 0%;
        width: 25%;
    }
    90% {
        right:0%;
        left:75%;
        width:40%;
    }
    100% {
        left:100%;
        right:0%;
        width:0%;
    }
}

/* Styles for custom breadcrumb */
.custom-breadcrumb {
    text-transform: uppercase;
    font-size: 0.875rem;
    --bs-breadcrumb-divider: '>';
}

.custom-breadcrumb a {
    text-decoration: none;
    color: var(--bs-primary);
    font-weight: bold;
}

/* Styles for Form Control */

.form-control.is-loading {
    background-image: none;
    border-color: var(--bs-warning);
}

.form-control.is-loading + .search-loader {
    position: absolute;
    right: 30px;
    margin-top: -31px;
}

.required label::after {
    content: "*";
    padding-left: 3px;
    color: var(--bs-danger);
}

/* Styles for Navbar search */
.navbar-search {
    background: var(--docsearch-searchbox-focus-background);
    box-shadow: var(--docsearch-searchbox-shadow);
    color: var(--docsearch-text-color);
    outline: none;
}

/* Styles for Footer element */
.footer {
    background-color: var(--bs-dark);
    font-size: .9em;
    height: 60px;
}

.footer * {
    color: var(--bs-white);
}

.footer .gov-links {
    padding: 0;
    margin: 0;
    margin-top: 15px;
    margin-bottom: 15px;
}

.footer .gov-links li {
    list-style: none;
}

.footer .gov-links li a {
    color: var(--bs-secondary);
    text-decoration: none;
}

.footer .govph-seal {
    width: 150px;
    opacity: 0.5;
    margin-bottom: 25px;
}

/* .footer > .container {
    padding-right: 15px;
    padding-left: 15px;
} */

/** Animated dot loading **/
.dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    margin-right: .15rem;
    background-color: #4b9cdb;
}

.dot-container .dot:nth-last-child(1) {
    animation: fallingAnimation 0.6s 0.1s ease-in infinite;
}

.dot-container .dot:nth-last-child(2) {
    animation: fallingAnimation 0.6s 0.2s ease-in infinite;
}

.dot-container .dot:nth-last-child(3) {
    animation: fallingAnimation 0.6s 0.3s ease-in infinite;
}

@keyframes fallingAnimation {
    0% {
        transform: translate(0,-15px);
        opacity:0;
    }
    25%, 50%, 75% {
        transform: translate(0,0);
        opacity:1;
    }
    100% {
        transform: translate(0,15px);
        opacity:0;

    }
}

/** Styles for Disabled Input */
.bg-disabled-input {
    background-color: var(--bs-form-control-disabled-bg);
}

/** Styles for sticky-wrapper */
.sticky-wrapper.sticky * {
    color: #fff !important;
}

.sticky-wrapper.sticky {
    border-bottom-color: #fff !important;
}

.sticky-wrapper.sticky.sticky-center {
    text-align: center !important;
    padding-top: 5px;
}

.sticky-wrapper.sticky.sticky-center * {
    font-size: 100%;
}

/** Animated Icon **/
.animated-icon {
    height: 78px; 
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: var(--animated-icon-image);
}

/** Card Hover */
.card-hover
{
    border-width: 3px;
}

.card-hover:hover {
    border-color: var(--bs-primary);
}

.card-hover:hover .card-title {
    font-weight: bold;
}

.card-hover:not(:hover) .card-animated-icon {
    animation: scale-down .75s ease 0s 1 normal forwards;
}

.card-hover:hover .card-animated-icon {
    animation: scale-up .5s ease 0s 1 normal forwards;
}

.swal2-container.swal2-center.swal2-backdrop-show {
    z-index: 1201;
}

/** Preview Content */
.preview-text {
    max-height: 600px;
    overflow: hidden;
    border-bottom: 1px dashed #4b9cdb;
    position: relative;
}

.preview-text::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.8);
    z-index: 100;
}

/** Custom Scroll Spy Link */
.scroll-link {
    border-left: 3px solid transparent;
}

.scroll-link.active {
    font-weight: bold;
    border-left-color: var(--bs-primary);
}

/** Dropdown Toggle button with no caret */
.dropdown-toggle.no-caret::after {
    display: none;
}

/** Custom bootstrap carousel */
.carousel-indicators [data-bs-target] {
    background-color: var(--bs-success);
}

/** Custom Modal */
.modal-content {
    border: 0;
    border-radius: var(--bs-border-radius-xl) !important;
}