/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  background: F7F7F9;
  color: #444444;
}

a {
  color: #4154f1;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

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

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 60px;
  padding: 10px 20px;
  transition: all 0.3s;
}

@media (max-width: 1199px) {
  #main {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 10px;
}

.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 600;
  color: #012970;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f6f9ff;
  cursor: pointer;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}

/* Card */
.card {
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: #798eb3;
  padding: 15px;
}

.card-title {
  padding: 10px 15px 10px;
  font-size: 18px;
  font-weight: 500;
  color: #464d6e;
  font-family: "Poppins", sans-serif;
  border-bottom: 1px solid #E5E5E5;
}

h5.card-title {
    width: 100%;
    float: left;
	line-height: 30px;
}

.card-title span {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}

.card-body {
  padding: 0 15px 15px 15px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

table.table {
    border: 1px solid #E5E5E5;
	font-size: 14px;
	margin: 0;
}
.table .thead-dark th {
    color: #2A4A7E;
    background-color: #d8e0ef;
    border-color: #d8e0ef;
}
.comman-grids {
    height: 550px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
	border: 1px solid #E5E5E5;
    border-radius: 5px;
}
.comman-grids thead.thead-dark tr th {
    position: sticky;
    z-index: 100;
    top: -1px;
}

.comman-grids::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

.comman-grids::-webkit-scrollbar {
	width: 6px;
	background-color: #F5F5F5;
}

.comman-grids::-webkit-scrollbar-thumb {
	background-color: #2A4A7E;
	border-radius: 50px;
}
.comman-grids thead.thead-dark tr th:last-child {
    width: 100px;
}
span.action ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}
span.action ul li {
    padding: 0 5px;
    float: left;
}
span.action ul li a {
	display: block;
}
span.action ul li a i.bi.bi-eye {
    color: #2895d4;
    font-size: 16px;
}
span.action ul li a i.bi.bi-pencil-square {
    color: #2a4a7e;
    font-size: 15px;
}
span.action ul li a i.bi.bi-trash {
    color: #ef5479;
    font-size: 15px;
}

ul.pagination {
    margin: 15px 0 0;
}
ul.pagination li.page-item a.page-link {
    margin-right: 5px;
    border-color: #a3a3a3;
    color: #000;
    border-radius: 0.375rem;
	font-size: 14px;
}
ul.pagination li.page-item.action a.page-link, ul.pagination li.page-item a.page-link:hover {
	background: #2895d4;
    border-color: #2895d4;
    color: #fff;
}
.pull-left.pagination-detail {
    padding: 15px 0 0;
	display: flex;
	font-size: 14px;
}
.pull-left {
    float: left !important;
}
.pull-right {
    float: right !important;
}
.pagination-detail span.pagination-info {
    padding: 5px 6px 0 0px;
}
.pagination-detail span.pagination-records {
    padding: 5px 0 0 6px;
}
.pagination-detail span.page-list option {
    font-size: 14px;
}
.pagination-detail span.page-list select.form-select {
    font-size: 14px;
    padding: .275rem 2rem .275rem .55rem;
}

.btn-add { background-color: #0ab39c; border-color: #0ab39c; font-size: 15px; color: #fff; padding: 4px 7px; }
.btn-add:hover, .btn-add:focus, .btn-add:active { background-color: #079582 !important; border-color: #079582 !important; color: #fff !important; }
.btn-export { background-color: #2895d4; border-color: #2895d4; padding: 0.23rem 0.5rem;margin-right: 10px; }
.btn-export:hover, .btn-export:focus, .btn-export:active { background-color: #1f87c3 !important; border-color: #1f87c3 !important; }
.btn-export img { width: 22px; }

.btn-back { background-color: #a3a3a3; border-color: #a3a3a3; font-size: 15px; color: #fff; padding: 4px 7px; }
.btn-back:hover, .btn-back:focus, .btn-back:active { background-color: #868585 !important; border-color: #868585 !important; color: #fff !important; }

.btn-primary { background-color: #2895d4; border-color: #2895d4; padding: 0.43rem 0.6rem; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background-color: #1f87c3 !important; border-color: #1f87c3 !important; }

hr { border-top: 1px solid #aaaaaa; }

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* Accordion */
.accordion-item {
  border: 1px solid #ebeef4;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #012970;
  background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #4154f1;
}

.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  color: #899bbd;
  font-weight: 600;
}

.breadcrumb a {
  color: #899bbd;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
  color: #899bbd;
}

.breadcrumb .active {
  color: #51678f;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #4154f1;
  border-bottom: 2px solid #4154f1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

@media (min-width: 1200px) {
  .logo {
    width: 100%;
  }
}

.login {
    background-color: #d9e9f8;
	background-image: url(../img/login-bg.svg);
	background-repeat: no-repeat;
	background-size: cover;
}
.login .form-label {
    margin-bottom: .3rem;
    font-size: 15px;
    font-weight: 600;
}
.login .input-group-text {
	background: none;
}
.login .input-group-text a {
	color: #000;
}
.login button.btn.btn-primary {
    background-color: #2894d3 !important;
}
.login button.btn.btn-primary:hover {
	background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}
.login p.small.text-end a {
    color: #2895D4 !important;
}
.login p.small.text-end a:hover {
    color: #4154f1 !important;
}


.header {
  transition: all 0.5s;
  z-index: 997;
  height: 50px;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
  background-color: #2A4A7E;
  padding-left: 20px;
  /* Toggle Sidebar Button */
  /* Search Bar */
}

.header img {
    width: 100%;
    height: 40px;
}

.header .navbar-nav li.nav-item a img {
    width: auto;
    height: auto;
}

nav.navbar.navbar-expand-sm button.navbar-toggler {
    border-color: #fff;
	padding: 2px 5px;
}
nav.navbar.navbar-expand-sm button.navbar-toggler i.bi.bi-list {
    color: #fff;
    font-size: 34px;
    padding: 0;
}
nav.navbar.navbar-expand-sm button.navbar-toggler:focus { outline: none; box-shadow: none; }

.header .navbar-nav li.nav-item {
    padding: 0 5px;
}

.header .navbar-nav li.nav-item ul.dropdown-menu.show {
    padding: 2px 0;
}
.header .navbar-nav li.nav-item ul.dropdown-menu.show li {
	border-bottom: 1px solid #e5e5e5;
}
.header .navbar-nav li.nav-item ul.dropdown-menu.show li:last-child {
	border-bottom: none;
}
.header .navbar-nav li.nav-item ul.dropdown-menu.show li a {
    color: #2A4A7E;
    padding: 5px 15px;
}
.header .navbar-nav li.nav-item ul.dropdown-menu.show li a:hover {
    color: #2A4A7E;
	background: #d8e0ef;
    padding: 5px 15px;
}

.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: #012970;
}

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
    background: white;
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
}

.header .search-form input {
  border: 0;
  font-size: 14px;
  color: #012970;
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
  border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

.header .search-form button i {
  color: #012970;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: #012970;
  margin-right: 25px;
  position: relative;
}

.header .navbar-nav li.nav-item a {
	font-size: 14px;
    color: #fff;
}
.header .navbar-nav li.nav-item a.active {
	font-size: 14px;
    color: #fff;
}

.header-nav .nav-profile {
  color: #012970;
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 14px;
  color: #fff;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .notifications .notification-item:hover {
  background-color: #f6f9ff;
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .messages .message-item:hover {
  background-color: #f6f9ff;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: #f6f9ff;
}
 
/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}

.iconslist .icon {
  background-color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  color: #012970;
  padding: 15px 0;
}

.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}

.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
  color: #012970;
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: #012970;
}

.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
  max-width: 120px;
}


@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid #cddfff;
}

.footer .copyright {
  text-align: center;
  color: #012970;
}

.footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #012970;
}

.five-cols .col-sm-2  { width: 20%; }
.five-cols label.form-label {
    font-size: 14px;
    font-weight: 600;
}
.five-cols input.form-control {
    font-size: 14px;
	color: #4e4141;
}
.five-cols select.form-select, .five-cols select.form-select option {
    font-size: 14px !important;
}
.required {
    color: red;
}
.subsidiary ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.subsidiary ul li {
    font-size: 14px;
    float: left;
    padding-right: 5px;
}
.subsidiary ul li label.form-check-label {
    font-size: 13px;
}
.subsidiary ul li .form-check .form-check-input {
    float: left;
    margin-left: -1em;
    margin-right: 2px;
	margin-top: 2px;
}
.subsidiary ul li .form-check {
    display: flex;
    min-height: 0.5rem;
    padding-left: 1em;
    margin-bottom: 0;
}
label {
    font-size: 14px;
}
.comman-grids thead.thead-dark tr th:last-child select.form-select {
    padding: 2px 10px;
    font-size: 14px;
}
.approved {
    background: #BAF0E8;
    color: #008E7B;
    padding: 3px 9px;
    border-radius: 5px;
	border: none;
}
.rejected {
    background: #FED6CE;
    color: #F84800;
    padding: 3px 13px;
    border-radius: 5px;
	border: none;
}
.approval {
    background: #CCD4FF;
    color: #878CA6;
    padding: 3px 13px;
    border-radius: 5px;
	border: none;
}

.hand-icon{
cursor: pointer;
}
.error-message{
  font-size: 13px;
  color: red;
  font-family: "Open Sans", sans-serif;
  margin-left: 5px;
}
@media (max-width: 840px) {
	.comman-grids {
		height: 400px;
		overflow-y: auto !important;
		overflow-x: auto !important;
		border: 1px solid #E5E5E5;
		border-radius: 5px;
	}
	
	.five-cols .col-sm-2 {
		width: 100%;
	}
	
	#main {
        padding: 10px 20px 0;
    }
	
	header.header div.navbar-collapse {
		position: absolute;
		top: 48px;
		background: #2a4a7e;
		width: 360px;
	}
	header.header div.navbar-collapse li.nav-item {
		padding: 0 10px;
		border-bottom: 1px solid #ccc;
	}
	header.header div.navbar-collapse li.nav-item:last-child {
		border-bottom: none;
	}
	header.header div.navbar-collapse ul.navbar-nav { margin: 0 !important; }
	.header .navbar-nav li.nav-item ul.dropdown-menu.show { margin-bottom: 10px; }
}