html, body {
	min-width: 515px;
	font-family: 'Nunito Sans', sans-serif !important;
}

html, body, .h-100, .navbar-lg, .navbar-nav-lg, .navbar-item-lg, .navbar-link-lg {
	height: 100% !important;
}

body {
	padding-top: 3.5rem;
	background-color: #f9f9f9 !important;
}

a {
	text-decoration: none !important;
}

.btn-option {
	width: 86px;
}

.form-label {
	text-transform: uppercase;
    font-size: 14px;
    color: #808080;
    font-family: 'Karla', sans-serif !important;
    width: 100%;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow-x: hidden;
    white-space: nowrap;
    margin: 0px;
}

.ellipsis {
	text-overflow: ellipsis;
}

.form-control {
	border-radius: 3px !important;
}

.ahd-row:hover {
	background-color: #e4e4e4 !important;
	cursor: default;
    border-radius: 3px !important;
}

.ahd-buttons {
	opacity: 0.2;
	height: 24px;
}

.ahd-row:hover .ahd-buttons {
	opacity: 1;
}

.btn-ahd {
	height: 24px !important;
	font-size: 14px;
    line-height: 1px;
}

.btn-close {
	float: right;
    position: relative;
    cursor: pointer;
    padding-left: 4px;
    padding-right: 4px;
    height: 17px;
    line-height: 17px;
}

.btn-close:hover {
	background-color: #00000069;
}

a {
	text-decoration: none;
}

.preview-container {
	position: fixed;
	margin: 0px -50% 0px 0px;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);
	z-index: 101;
	padding: 10px;
}

.preview-background {
	position: fixed;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.2);
	margin: 0px -50% 0px 0px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 100;
}

/* --- Navigation --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- */
.primary-navbar {
	background-color: #3b9299 !important;
	padding: 0px !important;
	box-shadow: 0px 0.01rem 11px #88888880 !important;
	min-width: 350px;
	color: #FFFFFF !important;
}

.navbar-brand {
	width: 250px;
	padding-left: 10px;
	border-right: 1px solid #dee2e6 !important;
	font-family: 'Jaldi', sans-serif !important;
	font-size: 24px !important;
	color: #FFFFFF !important;
}

.navbar-wrapper {
	width: 100%;
	margin: auto;
	background-color: #4ba2a9;
    border-color: #2a7176 !important;
}

.brand-logo {
	position: relative;
    bottom: 3px;
    margin-right: 5px;
}

.navbar-toggler {
	border-color: rgba(0,0,0,0) !important;
}

.nav-link-lg {
    margin: 8px 7px 7px 8px;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    transition: all 0.3s ease;
    color: #ffffff !important;
    padding-left: 3px;
    padding-right: 3px;
    position: relative;
    bottom: 1px;
    /* background-color: black; */
    border-radius: 3px !important;
}

.ahd-row {
	background-color: #f9f9f9;
    /*border: 1px solid #dee2e6;*/
}

.ahd-row:not(:last-child) {
    margin-bottom: 4px !important;
  }

.ahd-group {
    border-radius: 3px;
}

.nav-link-lg:hover {
	background-color: #328289; /* Primary Colour */
	color: #FFFFFF !important;
}

.nav-dropdown {
	width: 160px !important;
}

.nav-dropdown::after {
	position: relative;
    top: 7px;
    margin-left: 10px;
    margin-right: 10px;
}

.nav-dropdown:focus {   
	border-color: #E8E8E8 !important;
	box-shadow: none !important;
	outline: 0 none !important;
}

.nav-dropdown:hover {
	cursor: pointer;
}

.nav-dropdown-menu, .nav-dropdown-menu div, .nav-dropdown-menu input {
	width: 160px !important;
	overflow-x: hidden;
}

.nav-dropdown-selected {
	background-color: #f3f3f3 !important;
	color: #000000 !important;
	cursor: default !important;
}

.nav-dropdown-item-selected {
	display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #000000;
    text-align: inherit;
    white-space: nowrap;
    background-color: #FFFFFF;
    border: 0;
}

.nav-dropdown-item-disabled {
	display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #000000;
    text-align: inherit;
    white-space: nowrap;
    background-color: #FFFFFF;
    border: 0;
    opacity: 0.4;
}

.nav-dropdown-item {
	display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #000000;
    text-align: inherit;
    white-space: nowrap;
    background-color: #FFFFFF;
    border: 0;
}

.nav-dropdown-item:hover {
	background-color: #5C97CC !important; /* Primary Colour */
	color: #FFFFFF !important;
	cursor: pointer;
}

.nav-dropdown-item:active {
	background-color: #437EB3 !important; /* Primary Colour -1 */
}

/* --- Navigation (Small) --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- */
.navbar-sm {
    background-color: #F9F9F9;
    z-index: 99;
    border-right: 1px solid #C3C8CC;
    border-bottom: 1px solid #C3C8CC;
    overflow-y: auto;
    max-height: 80%;
    margin-top: 2.4rem;
    max-width: 250px;
}

.nav-link-sm {
    text-decoration: none;
    color: #5D5D5D;
}

.nav-link-sm:hover {
    text-decoration: none;
    color: #5D5D5D;
}

.nav-item-sm {
    padding-left: 2rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.nav-item-sm:hover {
    background-color: #E9EDEF;
    cursor: pointer;
}

.nav-d-item-sm {
    padding-left: 1.5rem;
    padding-top: .6rem;
    padding-bottom: .6rem;
}

.nav-d-item-sm:hover {
    background-color: #ECEAEA;
    cursor: pointer;
}

.sidebar-dropdown {
    position: inherit !important;
    transform: inherit !important;
    top: unset !important;
    left: unset !important;
    will-change: unset !important;
    border-radius: 0px !important;
    background-color: #F3F2F2 !important;
    border: none !important;
    border-top: 1px solid #C3C8CC !important;
    border-bottom: 1px solid #C3C8CC !important;
    margin: 0px !important;
}

.cover {
    background: #000;
    opacity: 0.1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    display: none;
}

/* Nav-Bar Scroll */
.navbar-sm::-webkit-scrollbar {
	width: 10px;
}

.navbar-sm::-webkit-scrollbar-track {
	background: #f1f1f1; 
}

.navbar-sm::-webkit-scrollbar-thumb {
	background: #888; 
}
.navbar-sm::-webkit-scrollbar-thumb:hover {
	background: #555; 
}

/* --- Sidebar --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- */

.sidebar {
	border-right: 1px solid #dee2e6!important;
	min-width: 250px !important;
	max-width: 250px !important;
	padding: 10px 0px !important;
	background-color: #F8F9FA !important;
}

.sidebar > .list-group {
	list-style: none;
    overflow-y: auto;
    max-height: 100%;
    height: 100%;
}

.sidebar > .list-group > .list-group-item-header {
	text-transform: uppercase;
    font-size: 14px;
    color: #808080;
    font-family: 'Karla', sans-serif !important;
    padding: 0px 15px;
    padding-bottom: 5px;
}

.sidebar > .list-group > .list-group-item {
	padding: 0px !important;
	background-color: none;
	border: none;
}

.sidebar > .list-group > .active-list-item > a {
	border-right: 2px solid #5C97CC !important;
    color: #5C97CC !important;
    background-color: #EFEFEF !important;
    cursor: default;
}

.sidebar > .list-group > .list-group-item > a {
	padding: 10px 20px;
    width: 100%;
    display: block;
    text-decoration: none;
    background-color: #F8F9FA;
    color: #424242;
    transition: all 0.3s ease;
    border-right: 2px solid #F8F9FA;
}

.sidebar > .list-group > .list-group-item > a:hover {
	background-color: #EFEFEF;
	border-right: 2px solid #EFEFEF;
}

.sidebar > .list-group > .list-group-item > a > i {
	margin-right: 15px;
	min-width: 20px !important;
    width: 20px !important;
    display: inline-block;
}

.inline {
	display: inline !important;
}

.rt-1 {
	position: relative;
	top: 1px;
}

/* --- Main Content --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- */

main {
	padding-top: 15px;
	overflow-y: auto;
	height: 100%;
}

main form {
	height: 100%;
}

.main-container, .main-row, .main {
	height: 100%;
}

.content-wrapper {
	min-height: 100%;
	overflow-y: auto;
	margin: auto;
	padding-bottom: 30px;
	margin-bottom: -30px;
	overflow-x: hidden;
}

.content-footer {
	position: relative;
    margin: auto;
    margin-top: 0px;
    height: 30px;
    clear: both;
    padding-top: 0px;
    text-align: center;
    max-width: 1200px;
    font-size: 14px;
}

.content-header {
	width: 100%;
	padding-top: 10px;
	padding-bottom: 15px;	
}

.content-header-text {
	font-size: 22px;
	color: #3b9299; /* Primary Colour */
}


.red-message {
	width: auto;
	background-color: #c73636;
	margin: 0px;
	text-align: center;
	margin-bottom: 10px;
	color: #FFFFFF;
	line-height: 34px;
}

.grn-message {
	width: auto;
	background-color: #4ba966;
	margin: 0px;
	text-align: center;
	margin-bottom: 10px;
	border-radius: 1px;
	color: #FFFFFF;
	line-height: 34px;
}

.btn-main {
	background-color: #3b9299; /* Primary Colour */
	color: #FFFFFF !important;
	border-radius: 0px !important;
	font-family: 'Nunito Sans', sans-serif !important;
    height: 37px;
	border-radius: 3px !important;
}

.btn-main:hover {
	background-color: #2c7378; /* Primary Colour -1 */
	color: #FFFFFF;
	cursor: pointer;
}

.btn-main:active {
	background-color: #24595c; /* Primary Colour -2 */
	color: #FFFFFF;
}

.btn-main-disabled {
	background-color: #808080 !important;
	opacity: 0.5 !important;
	color: #FFFFFF !important;
	border-radius: 0px !important;
	cursor: default !important;
}

.btn-danger {
	border-radius: 3px !important;
	font-family: 'Nunito Sans', sans-serif !important;
	background-color: #c73636 !important;
	border-color: #c73636 !important;
}

.nav-btn {
	height: 33px !important;
    line-height: 20px !important;
}

.rb-1 {
	position: relative;
	bottom: 1px;
}

h5 a {
	color: #3e3e3e !important;
}

.content-box {
	background-color: #FFFFFF;
    border: 1px solid #E8E8E8 !important;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.1) !important;
    padding: 10px;
    border-radius: 5px !important;
}

.login-label {
	text-align: center;
    padding: 25px 0px;
    font-size: 22px;
    color: #3b9299;
}
.login-container {
	display: flex;
	height: 100%;
}

.login-form {
	width: 100%;
    max-width: 350px;
    padding: 15px;
    margin: auto;
}

.btn-login {
	width: 100%;
	margin: 10px 0px
}

.bg-secondary {
	background-color: #3e3e3e !important;
}

/* --- Small Windows --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- */
@media only screen and (max-width: 991px) {
	.lg-only {
		display: none !important;
	}
}


/* --- Large Windows --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- */
@media only screen and (min-width: 992px) {
	.sm-only {
		display: none !important;
	}
	
	.main-container {
		max-width: 1200px;
	    width: 100%;
	    margin: auto;
    }
    
    .navbar-wrapper {
		max-width: 1200px !important;
    }
}