/* GENERAL DECLARATIONS START */

/*
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url(../fonts/Montserrat-Thin.ttf);
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/Montserrat-Regular.ttf);
}
*/
/*
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-display: swap;
    src: url(../fonts/Open Sans.ttf);
}
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    /*--color-primary: #05164D; /* Red */
    --color-primary: #003C71;
    --color-primary-border: #178ad1;
    --color-secondary: #3d3d3d; /* Dark Grey */
    --color-secondary-border: #262626; /* Dark Grey */
    --color-tertiary: #fff; /* White */
    --color-background: #f0f5fa; /* Light Grey */
    --color-background-light: #e8f4ff; /* Light Grey */

    --color-success: #A1C862;
    --color-warning: #F08F48;
    --color-danger: #FF726F;

    --color-orange: #FF8200;
    --color-white: #fff;
    --color-grey: #666666;
    --color-grey-3: #A2AAAD;
    --color-grey-4: #8A8D8F;
    --color-grey-background: #E5E5E5;
    --color-grey-light: #F1F1F1;
    --color-grey-light-2: #F4F4F4;
    --color-blue: #003C71;
    --color-black: #000;
    
    /*--font-primary: 'Open Sans, sans-serif'; /* Montserrat Font */
    --font-primary: 'Open Sans';
    --font-fallback: 'sans-serif';
}

html {
    width: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    background: var(--color-grey-background);
    font-size: 1rem;
    font-weight: 400;
    font-family: var(--font-primary), var(--font-fallback);
    color: var(--color-secondary);
    margin: 0px;
    padding: 0px;
    line-height: 1.15;
}

h1, h2, h3, h4, h5 {
    margin: 0px;
    color: #05164D;
}

p {
	margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    color: #05164D;
}

a {
    transition: 0.2s;
    text-decoration: none !important;
    color: var(--color-primary);
}

a:active, a:focus, a:hover, a:visited {
    outline: none;
    -moz-outline-style: none;
    box-shadow: none !important;
}

a[disabled] {
    pointer-events: none;
    opacity: 0.6;
}

ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

a:hover {
    border: none;
    outline: none;
}

button {
    border: none;
    outline: none;
    margin: 0px;
}

button:focus {
    outline: none;
}

th {
	padding: 10px;
}

.centered {
	display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}

.text-left {
    text-align: left !important;
}

.text-centered {
    text-align: center;
}

.flex-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-centered-column {
	display: flex;
	flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex-bottom {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.flex-expand {
	flex: 1;
}

.align-right {
	display: block;
	margin-left: auto !important;
}

.flex-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.flex-right {
	display: flex;
	justify-content: flex-end;
	align-items: center
}

.m-0 {
	margin: 0px !important;
}

.ml-auto {
	margin-left: auto !important;
}

.mr-auto {
	margin-right: auto !important;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.mb-5 {
    margin-bottom: 5px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.ml-0 {
    margin-left: 0px !important;
}

.ml-10 {
    margin-left: 10px !important;
}

.ml-20 {
    margin-left: 20px !important;
}

.mr-0 {
    margin-right: 0px !important;
}

.mr-10 {
    margin-right: 10px !important;
}

.mr-20 {
    margin-right: 20px !important;
}

.mt-0 {
    margin-top: 0px !important;
}

.mt-5 {
    margin-top: 5px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-15 {
    margin-top: 15px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.p-0 {
	padding: 0px !important;
}

.pb-0 {
    padding-bottom: 0px !important;
}

.pb-10 {
    padding-bottom: 10px !important;
}

.pb-20 {
    padding-bottom: 20px !important;
}

.pl-0 {
    padding-left: 0px !important;
}

.pl-10 {
    padding-left: 10px !important;
}

.pl-20 {
    padding-left: 20px !important;
}

.pr-0 {
    padding-right: 0px !important;
}

.pr-10 {
    padding-right: 10px !important;
}

.pr-20 {
    padding-right: 20px !important;
}

.pt-0 {
    padding-top: 0px !important;
}

.pt-10 {
    padding-top: 10px !important;
}

.pt-20 {
    padding-top: 20px !important;
}

.hidden {
	display: none !important;
}

.hidden-width {
	width: 0px !important;
	overflow-x: hidden !important;
}

.hidden-overflow-y {
	overflow-y: hidden !important;
}

.max-height {
	min-height: 100%;
}

.max-width {
	width: 100%;
}

.bold {
	font-weight: 700;
}

.semi-bold {
    font-weight: 600;
}

.size-30 {
	font-size: 1.875em;
}

.size-18 {
	font-size: 1.125rem;
}

.row {
    min-width: 80%;
}

/* GENERAL DECLARATIONS END */


/* BUTTONS START */
.btn {
	transition: 0.2s;
	border: 0px;
	padding-left: 30px;
	padding-right: 30px;
	font-size: 0.875em;
}

.btn:focus {
	box-shadow: none !important;
}

.btn-primary {
	background: var(--color-orange);
}

.btn-primary:hover {
	background: var(--color-primary);
}

.btn-primary:focus {
	background: var(--color-primary);
}

.btn-secondary {
    border-radius: 4px;
    border: 1px solid var(--color-orange);
    background: none;
    color: var(--color-orange);
}

.btn-secondary:hover {
    background: var(--color-orange);
    color: var(--color-white);
    border: 1px solid var(--color-orange);
}

.btn-secondary:focus {
    background: var(--color-orange);
    border: 1px solid var(--color-orange);
}

.btn-cancel {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
  }
  .btn-cancel:hover {
    color: #fff;
    background-color: #565d63;
    border-color: #565d63;
  }

/* BUTTONS END */


/* FORMS START */

.input-text-default {
	border: 1px solid var(--color-primary);
	width: 100%;
	padding: 8.5px;
    font-size: 0.875em;
    color: var(--color-black);
}

.input-text-default[readonly] {
    background: var(--color-grey-light);
    color: var(--color-black);
    border: 1px solid var(--color-grey);
}

.input-text-hide {
    background: var(--color-primary);
    height: 35px;
    min-width: 49px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.input-text-hide > i {
    color: var(--color-orange);
    pointer-events: none;
}

.input-select-default-label {
    position: relative;
    width: 100%;
    margin: 0px;
    padding: 0px;
}

.input-select-default-label::before {
    position: absolute;
    content: '\2304';
    display: block;
    top: 0px;
    right: 0px;
    height: 100%;
    width: 50px;
    background: var(--color-primary);
    color: var(--color-orange);
    font-size: 32px;
    line-height: 10px;
    text-align: center;
    pointer-events: none;
}

.input-select-default {
    padding: 6px;
    padding-right: 50px;
    cursor: pointer;
    border: 1px solid var(--color-primary);
    width: 100%;
    /*
    padding: 8.5px;
    */
    font-size: 0.875em;
    color: var(--color-black);
}

.input-select-default {
    color: var(--color-grey);
}

.input-select-default > option[disabled] {
    color: var(--color-grey-3);
}

.input-select-default[readonly] {
    background: var(--color-grey-light);
    pointer-events: none;
}

/*
.input-radio-default {
    border: 0px;
    height: 30px;
    width: 30px;
}

.input-radio-default:checked {
    background: none;
} 
*/

.input-radio-default {
    position: relative;
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    outline: none;
    border: 0px;
    background: var(--color-white);
    border: 1px solid var(--color-grey-4);
}

.input-radio-default:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.input-radio-default:checked:before {
    background: var(--color-primary);
}

.input-radio-default:after {
    content: '';
    display: block;
    position: absolute;
    top: 9px;
    left: 9px;
    width: 10px;
    height: 10px;
    border-radius: 500px;
}

.input-radio-default:checked:after {
    background: var(--color-white);
}

.input-checkbox-default {
    position: relative;
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    outline: none;
    border: 0px;
    background: var(--color-white);
    border: 1px solid var(--color-grey-4);
}

.input-checkbox-default:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 25px;
    font-weight: 700;
    font-size: 24px;
    color: var(--color-white);
}

.input-checkbox-default:checked:before {
    content: '\2713';
    background: var(--color-grey-4);
}

.form-row {
    display: flex;
    align-items: center;
}

.label-default {
    width: 200px;
    min-width: 200px;
    color: var(--color-grey);
    font-weight: 600;
    font-size: 0.875em;
}

.label-alt {
    width: 200px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.875em;
}

.label-primary {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.875em;
}

/* FORMS END */


/* PAGINATION START */

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-link:first-child {
    border-left: 1px solid var(--color-grey-light);
}

.pagination-link {
    display: block;
    border-top: 1px solid var(--color-grey-light);
    border-bottom: 1px solid var(--color-grey-light);
    border-right: 1px solid var(--color-grey-light);
    padding: 10px;
}

.pagination-link-active {
    background: var(--color-primary);
    color: var(--color-white);
}

.pagination-link:hover {
    border: 0px;
    border-top: 1px solid var(--color-grey-light);
    border-bottom: 1px solid var(--color-grey-light);
    border-right: 1px solid var(--color-grey-light);
    background: var(--color-primary);
    color: var(--color-white);
}

.pagination-link:first-child:hover {
    border-left: 1px solid var(--color-grey-light);
}

/* PAGINATION END */


/* TABLES START */

.table-header-style {
    justify-content: space-between !important;
}

.table-header-row {
    display: flex;
    justify-content: end;
    gap: 30px;
}

.content-table-header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

.content-table-header-right {
    margin-left: auto;
}

.content-table-container {
    overflow-x: auto;
}

.content-table {
    width: 100%;
    border: 1px solid var(--color-grey-light);
}

.content-table-head > .content-table-tr {
    background: var(--color-grey-light);
}

.content-table-tr {
    border-bottom: 1px solid var(--color-grey-light);
}

.content-table-th {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
}

.content-table-td {
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

.content-table-td:not(:last-child) {
    border-right: 1px solid var(--color-grey-light);
}

.content-table-td-actions {
    font-size: 24px;
    min-width: 100px;
}

.content-table-td-actions > a:not(:last-child) {
    margin-right: 10px;
}

/* TABLES END */


/* HEADER START */

.header-section {
    background: var(--color-white);
}

.portal-logo {
    max-height: 40px;
    margin: 10px 0 0 0;
}

.header-logo {
    max-height: 60px;
}

.header-row {
    padding-top: 20px;
    padding-bottom: 20px;
}

.header-row > .header-col {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-col-right > .header-col-right-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.header-text {
    font-size: 0.9375em;
    display: inline-block;
}

.header-link {
    display: inline-block;
    font-size: 0.9375em;
    color: var(--color-grey);
}

.mobile-nav-bars {
    display: none;
    cursor: pointer;
}

.mobile-nav-bar {
    height: 2px;
    width: 25px;
    background: var(--color-grey);
}

.mobile-nav-bar:not(:last-child) {
    margin-bottom: 5px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    margin: 0px;
    padding: 0px;
    height: 0px;
    transition: 0.2s;
    overflow: hidden;
}

.mobile-nav-container {
    height: 100%;
    width: 100vw;
    overflow: hidden;
    background: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0px;
    padding: 0px;
}

.mobile-nav-link {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-grey);
}

.mobile-nav-link:not(:last-child) {
    margin-bottom: 10px;
}

.mobile-nav-link-active {
    color: var(--color-primary);
}

.mobile-nav-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    font-size: 32px;
}

.navigation-row {
    border-top: 1px dotted var(--color-grey);
    border-bottom: 1px dotted var(--color-grey);
    padding-top: 10px;
    padding-bottom: 10px;
}

.navigation-row > .header-col {
    display: flex;
    align-items: center;
}

.navigation-row > .header-col-right {
    justify-content: flex-end;
}

.header-navigation-link {
    font-size: 0.75em;
    color: var(--color-grey-4);
}

.header-navigation-link:not(:last-child) {
    margin-right: 20px;
}

.header-navigation-link-active {
    color: var(--color-primary);
    font-weight: 600;
}

.header-info-row {
    padding-top: 20px;
    padding-bottom: 20px;
}

.header-info-user-col {
    display: flex;
    justify-content: flex-end;
}

.header-info-user-container {
    display: inline-block;
}

.header-info-welcome-heading {
    color: var(--color-blue);
    font-size: 1.6em;
    font-weight: 300;
}

.header-info-sub-heading {
    font-size: 0.875em;
    font-weight: 700;
}

.header-info-text {
    font-size: 0.875em;
    font-weight: 300;
    color: var(--color-grey);
    margin: 0px;
    text-overflow: ellipsis;
    text-wrap: nowrap;
}

.header-info-text > i {
    color: var(--color-primary);
}

/* HEADER END */


/* MAIN CONTENT START */

.inner-wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 265px);
    background: var(--color-grey-background) !important;
}

.content-container {
    background: var(--color-white);
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 40px;
}

.content-container-alt {
    background: var(--color-grey-light);
    padding: 20px;
}

.content-navigation-container {
    padding: 0px;
}

.content-navigation {
    display: flex;
}

.content-navigation {
}


.btn-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0px;
    padding-left: 60px;
    padding-right: 60px;
    background: var(--color-grey-light-2);
    color: var(--color-grey);
    font-weight: 700;
    font-size: 0.875em;
    height: 60px;
    text-wrap: nowrap;
    text-overflow: ellipsis;
}

.btn-navigation:not(:last-child) {
    border-right: 1px solid var(--color-grey-background);
}

.btn-navigation:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-navigation-active {
    color: var(--color-primary);
    background: var(--color-white);
}

.tag {
    display: inline-block;
    margin: 0px;
    padding: 10px;
    min-width: 100px;
    border-radius: 100px;
    font-weight: 600;
}

.tag-green {
    background: var(--color-success);
    color: var(--color-white);
}

.tag-red {
    background: var(--color-danger);
    color: var(--color-white);
}

.content-footer {
    position: relative;
    background: var(--color-white);
    padding: 20px;
    margin-top: auto;
    top: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.content-footer-right {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.footer-container {
    width: 100%;
}

.footer-text-container {
    display: flex;
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-nav-ul {
    display: flex;
    align-items: center;
    list-style: none;
    min-width: 300px;
}

.footer-nav-li {
    display: inline;
}

.footer-nav-li:not(:last-child) {
    border-right: 1px solid var(--color-grey);
    padding-right: 10px;
    margin-right: 10px;
}

.footer-heading {
    text-align: left;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-grey);
    font-size: 20px;
}

.modal-main-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 999;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    /*display: flex;*/
    display: none;
}

.modal-main-container {
    height: 600px;
    width: 1000px;
    max-height: 100%;
    max-width: 100%;
    background: var(--color-white);
    overflow-x: auto;
    overflow-y: auto;
    border-radius: 4px;
}

.modal-main-header {
    /*padding: 20px;*/
    height: 80px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px solid var(--color-grey-background);
}

.modal-main-close-btn {
    position: absolute;
    right: 20px;
    background: none;
    font-size: 32px;
    transition: 0.2s;
}

.modal-main-close-btn:hover {
    opacity: 0.6;
}

.modal-main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100% - 160px);
}

.modal-main-footer {
    height: 80px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid var(--color-grey-background);
}

.no-image {
    color: var(--color-primary);
    max-height: 200px;
    padding: 20px;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-container > div {
    height: 100px;
    width: 100px;
}

.content-table-error {
    display: none;
}

/* MAIN CONTENT END */


/* MEDIA QUERIES START */


@media only screen and (min-width: 1320px) {
    .container {
        width: 1800px;
        max-width: 85%;
    }
}

@media only screen and (min-width: 1600px) {
    /*
    .content-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0px !important;
    }
    */
}

@media only screen and (max-width: 992px) {
    .mobile-nav-bars {
        display: block;
    }

    .navigation-row  > .header-col {
        display: none;
    }

    .content-navigation {
        flex-direction: column;
    }

    .content-table-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .table-header-style {
        flex-direction: row !important;
    }

    .table-header-row {
        gap: 10px;
    }

    .content-table-header-right {
        margin-left: 0px;
    }

    .content-table-header > .row {
        margin-bottom: 10px;
    }

    .content-table-header > .row > div > .form-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .content-table-header > .row > div > .form-row > label {
        margin-bottom: 5px;
    }

    .col-lg-5:not(:first-child) {
        margin-top: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .container {
        max-width: 100% !important;
    }
}

@media only screen and (max-width: 596px) {
    .header-col-left-container > .header-text {
        display: none;
    }
    
    .header-info-user-col {
        display: none;
    }
}

/* MEDIA QUERIES END */