@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

:root {
    scroll-behavior: smooth;
    /* CONSTANTS */
    --green-1: #14592d;
    --green-2: 	#198754;
    --red-1: #DC3545;
    --gray-1: #444444;
    --gray-2: #70747C;
    --gray-3: ##e9ecef;
    --white-1: #FFF;
    --white-2: rgba(255, 255, 255, 0.8);
    --orange-1: #FF8300;
    --blue-1: 	#0275D8;
    --blue-2: #00739D;
    --purple-1: #7630EA;
    --brown-1: #C5850E;
    --black-1:	#000000;
}

body {
    /* font-family: "Open Sans", sans-serif; */
    font-family: "Poppins", sans-serif;
    color: #444444;
}

a {
    color: #14592d;
    text-decoration: none;
}

a:hover {
    color: #14592d;
    /* text-decoration: none; */
}

.text-green {
    color: var(--green-1) !important;
}
.border-green {
    border-color: var(--green-1) !important;
}
.background-green, .btn-green {
    background-color: var(--green-1) !important;
}
.btn-green:hover {
    filter: brightness(120%);
}

.flex-1 {
    flex: 1;
}

.fs-14px {
    font-size: .875rem !important;
}

.link-text {
    text-decoration: none;
}
.link-text:hover {
    text-decoration: underline;
}

/* Disable pointer and arrow for non-collapsible item */
.accordion-button.not-collapsible {
    background-color: #fff;
    box-shadow: none;
    cursor: default;
}
.accordion-button.not-collapsible::after {
    display: none !important;
}

strong,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: "Poppins", sans-serif;
}

h1 {
  font-size: 2.5rem;     /* ~40px */
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;       /* ~32px */
  font-weight: 600;
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.75rem;    /* ~28px */
  font-weight: 600;
  margin-bottom: 0.8rem;
}

h4 {
  font-size: 1.5rem;     /* ~24px */
  font-weight: 500;
  margin-bottom: 0.7rem;
}

h5 {
  font-size: 1.25rem;    /* ~20px */
  font-weight: 500;
  margin-bottom: 0.6rem;
}

h6 {
  font-size: 1rem;       /* ~16px */
  font-weight: 500;
  margin-bottom: 0.5rem;
}


select {
    cursor: pointer;
}

/* h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Nunito", sans-serif;
} */
/*--------------------------------------------------------------
# Table
--------------------------------------------------------------*/
table {
    overflow-x: auto;
    max-width: 100%;
}

table thead th {
    font-size: 15px;
}

table tbody td {
    font-size: 12px;
}

th,
td {
    vertical-align: middle;
}

.dataTables_scroll {
    overflow: auto;
}

.dataTables_scrollHead,
.dataTables_scrollHeadInner {
    width: 100% !important;
}

.btn-icon {
    width: 40px;
}


/*--------------------------------------------------------------
# FONTS
--------------------------------------------------------------*/
.font-times-new-roman {
    font-family: "Times New Roman", serif !important;
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
    transition: all 0.5s;
    z-index: 997;
    padding: 20px 0;
}

.header.header-scrolled {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
}

.header .logo {
    line-height: 0;
}

.header .logo img {
    width: 300px;
    height: 55px;
    margin-right: 6px;
}

.header .logo span {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #14592d;
    margin-top: 3px;
    text-decoration: none !important;
}

/*--------------------------------------------------------------
# Overriding Library Components
--------------------------------------------------------------*/
.select2-container .select2-selection--single {
    height: 38px !important;
    padding-top: 5.5px;
    border-radius: 7px !important;
}

.custom_select2 {
    border: 1px solid #ced4da !important;
}

.select2-selection__arrow {
    height: 38px !important;
    top: 0px !important;
}

/*--------------------------------------------------------------
# Badge
--------------------------------------------------------------*/
.badge-success, .badge-active, .badge-approved, .badge-received {
    background-color: white;
    color: #14592d;
    border: 2px solid #14592d;
}

.badge-secondary, .badge-suspended, .badge-cancelled, .badge-disposed {
    background-color: white;
    color: #70747c;
    border: 2px solid #70747c;
}

.badge-primary, .badge-distributed {
    background-color: white;
    color: #0275d8;
    border: 2px solid #0275d8;
}

.badge-pending, .badge-exported, .badge-printed {
    background-color: white;
    color: #ff8300;
    border: 2px solid #ff8300;
}

.badge-danger, .badge-expired, .badge-denied, .badge-rejected  {
    background-color: white;
    color: #dc3545;
    border: 2px solid #dc3545;
}
.custom-width {
    width: 100%;
}

#showEye-auth {
    position: absolute;
    right: 15px;
    transform: translate(0, -50%);
    top: 59.1%;
    margin-top: 2px;
    cursor: pointer;
}

.hero {
    width: 100%;
    height: 100vh;
    background: url(../../img/banner.jpg) top center no-repeat;
    background-size: cover;
  }

.hero {
    width: 100%;
    height: 100vh;
}

@media (max-width: 991.98px) {
    body {
      background-position: center center; /* Re-center the background on smaller screens */
    }
}

.hero h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: #14592d;
}

@media (max-width: 576px) {
    #login-form {
        margin-top: 100px;
    }
}

@media (min-width: 992px) {
    .custom-width {
        width: 75%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .custom-width {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .custom-width {
        width: 100%;
    }
}

@media (min-width: 576px) {
    .mt-sm-5 {
        margin-top: 5rem !important;
    }
}

.hero {
    width: 100%;
    height: 100vh;
    background: url(../../img/banner.jpg) top center no-repeat;
    background-size: cover;
}

@media (max-width: 991.98px) {
    body {
        background-position: center center; /* Re-center the background on smaller screens */
    }
}


/* FOR LOADING SCREENS */
.overlay {
    position: fixed;
    z-index: 9999;
    /* Set a high z-index value to ensure it's on top */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    /* Semi-transparent background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.no-scroll {
    height: 100%;
    overflow: hidden;
}

.overlay p {
    margin-top: 10px;
    text-align: center;
}

#header-menu-box {
    display: none;
}

.resize-none {
    resize: none !important;
}

#page-number {
    background: var(--green-1);
    height: 30px;
    width: 30px;
    font-size: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
}

.more-info {
    display: inline-grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 100%;
    transition: all 0.1s linear;
    background: rgba(1, 42, 112, 0);
    border: var(--blue-1) 0.13rem solid;
}

.more-info:hover {
    background: rgba(1, 42, 112, 0.2);
    color: var(--blue-1);
}

.more-info i {
    font-size: 10px;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
