﻿@import url('css2-OpenSansitalwght03000400050006000700080014001500160017001800_swap.css');

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

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

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

.bd-sidebar .nav-item .bd-links-link{
    margin-left: 0px;
}

@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 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 body background overlay */
.bg-overlay {
    background: url('../image/overlay.png') repeat-x center top;
    background-size: cover;
    opacity: 0.75;
    position: fixed;
    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('../image/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;
    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: 1px;
    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;
}

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

.card-hover:hover {
    border-color: var(--bs-success);
    background-color: var(--bs-success-bg-subtle);
}

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

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

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

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

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

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

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

/** Swal Custom Rounded Corner **/
.swal2-modal,
.swal2-actions button {
    border-radius: var(--bs-border-radius-xl) !important;
}

.bd-links-link {
    padding: 10px 12px;
}

/** Gradient Text **/

/* Different gradient color variations */
.gradient-text.gradient-purple {
    background: -webkit-linear-gradient(315deg, #217bfe 0, #078efb 33%, #ac87eb 100%);
    background: linear-gradient(135deg, #217bfe 0, #078efb 33%, #ac87eb 100%);
    /* Default gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text.gradient-aqua {
    background: -webkit-linear-gradient(90deg, #4285F4, #34A853);
    background: linear-gradient(90deg, #4285F4, #34A853);
    /* Default gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.swal2-confirm {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.swal2-styled.swal2-confirm:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5) !important;
}

.quill-editor {
    min-height: 150px;
    border: 1px solid #ccc;
    background: #fff;
    padding: 10px;
}

.form-label::after,
.control-label::after {
    background-color: transparent !important;
}

.swal2-confirm {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.swal2-styled.swal2-confirm:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5) !important;
}

@media (min-width: 768px) {
    .action-btn {
        width: 220px;
    }
}

main#main {
    width: 100% !important;
    /* max-width: 1800px; */
    margin: 0 auto;
}

.table>tbody {
    border-top: calc(var(--bs-border-width) * 3) solid #dee2e6;
}

.img-absolute-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.placeholder {
    border-radius: var(--bs-border-radius-xl) !important;
}

.nav-underline .nav-link.active, .nav-underline .show>.nav-link {
    font-weight: 700;
    color: var(--bs-nav-underline-link-active-color);
}

tr.cursor-pointer {
    cursor: pointer;
}