@font-face {
	font-family: Aptos;
	src: url("/css/fonts/Aptos-Serif.ttf") format("truetype");
}

@font-face {
	font-family: Aptos;
	src: url("/css/fonts/Aptos-Bold.ttf") format("truetype");
	font-weight: bolder;
}
@font-face {
	font-family: Aptos;
	src: url("/css/fonts/Aptos-SemiBold.ttf") format("truetype");
	font-weight: bold;
}
@font-face {
	font-family: Aptos;
	src: url("/css/fonts/Aptos-Serif-Italic.ttf") format("truetype");
	font-style: italic;
}

@font-face {
	font-family: Aptos;
	src: url("/css/fonts/Aptos-Bold-Italic.ttf") format("truetype");
	font-weight: bolder;
	font-style: italic;
}
@font-face {
	font-family: Aptos;
	src: url("/css/fonts/Aptos-SemiBold-Italic.ttf") format("truetype");
	font-weight: bold;
	font-style: italic;
}


body {
/*	
	background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url("/images/site/backgroundimg.jpg");
	background-size: cover;
*/
	font-family:  "canada-type-gibson", Arial, sans-serif !important;
}

.hidden {
	display: none !important;
}

.alert .material-icons {
	line-height: 1.5;
}
.alert-danger {
    background-color: #f8d7da !important;
}

.pointer {
	cursor: pointer;
}

.background-teal {
	background-color:  #007297!important;
}

.dropdown-item:active {
	background-color: transparent;
}

p {
	color: #1A3C6C;
}

.table {
	color: #1A3C6C !important;
}

h1, h2, h3, h4, h5 {
	font-family: "canada-type-gibson", Arial, Garamond, serif !important;
	color: #3D4543;
}

.color-blue,
.iHead, iHeadMain, 
h4 {
	color: #1A3C6C;
}

.bg-blue {
	background-color: #1A3C6C;
}

.color-blue,
.btn-link {
	color: #1A3C6C !important;
}

.btn.btn-blue {
    color: #fff !important;
    background-color: #1A3C6C;
    border-color: #1A3C6C;
}

.btn.btn-secondary,
a.btn.btn-secondary {
    color: #fff !important;
/*    background-color: #046A38; */
}

.btn.btn-primary,
a.btn.btn-primary {
    color: #fff !important;
    background-color: #D15E14!important;
    border-color: #D15E14!important;
}
/*
.btn.btn-primary:hover {
    color: #fff !important;
    background-color: #193823;
    border-color: #193823;
}
*/
.btn.btn-yellow {
    color: #fff !important;
    background-color: #F4A71C;
    border-color: #F4A71C;
}

.text-red {
	color: #b23a25;
}
/*
.btn.btn-yellow:hover {
    color: #fff !important;
    background-color: #865825;
    border-color: #865825;
}
*/
.btn.btn-red {
    color: #fff !important;
    background-color: #b23a25;
    border-color: #b23a25;
}
/*
.btn.btn-red:hover {
    color: #fff !important;
    background-color: #772618;
    border-color: #772618;
}
*/

.label > a {
	color: #fff; 
}
.label > a:hover {
	color: #fff; 
}

.container-main {
	max-width: 1230px;
}

/*---- NAV ---- */

.vertical-nav {
	height: 100vh;
}

.hidden-area {
	background-color: #e9ecef;
}

/* Hide navbar on small screens by default */
@media (max-width: 767px) {
	.vertical-nav {
		display: none;
	}
}

.navbar {
	-webkit-box-shadow: 0px 0px 5px 0px #000000;
	box-shadow: 0px 0px 5px 0px #000000;
}

/*---- ---- */
@media screen and (max-width: 576px) {
	nav .nav-link {
		display: inline-block;
		text-align: left;
		z-index: 1;
	}
	nav .btn-group {
		display: block;
		justify-content: space-between;
		position: relative;
	}
	nav .nav-link.dropdown-toggle {
		text-align: right;
		position: absolute;
		right: 0px;
		width: 35%;
		z-index: 0;
		/*display: inline-flex;*/
	}
	nav .nav-link.dropdown-toggle:active {
		z-index: 0;
		/*display: inline-flex;*/
	}
	nav .dropdown-submenu .dropdown-toggle::after {
		transform: rotate(0deg);
	}
	nav .dropdown-item {
		white-space: normal;
	}
}

@media screen and (min-width: 576px) {
	.btn-group.show ul.dropdown-menu.show {
		position: absolute;
	}
	
	nav .nav-link {
		padding-right: 0px !important;
	}
	nav .nav-link.dropdown-toggle {
		padding-left: 0px !important;
	}
	.nav-item {
		padding: 0px 10px;
	}
}

.dropdown-menu .dropdown-item {
	position: relative;
}

.dropdown-menu .material-icons {
	position: relative;
	top: 6px;
}


/*--------------------- submenu nav -------------------- */
.dropdown-submenu {
	position: relative;
}

.dropdown-submenu a *:hover {
	text-decoration: underline;
}

.dropdown-submenu .dropdown-toggle {
	cursor: pointer;
}

.dropdown-submenu .dropdown-toggle::after {
	transform: rotate(-90deg);
	position: absolute;
	right: 6px;
	top: .8em;
}

.dropdown-submenu .dropdown-menu {
	top: 0;
	left: 100%;
	margin-left: .1rem;
	margin-right: .1rem;
}

input#searchInput::-webkit-input-placeholder{
    color: #1A3C6C;
}
input#searchInput:-moz-placeholder {
    color: #1A3C6C;
}

/*--------------------- breadcrumb -------------------- */
.breadcrumb {
	margin-bottom: 10px !important;
}

/*--------------------- main content -------------------- */
.row-main-content {
	padding-right: 15px;
	padding-left: 15px;
}

.var-content {
	border-radius: 4px;
	background-color: #fff;
	padding: 10px;
	margin-bottom: 10px;
}

/* -------------------- right column ------------------ */
#content-container-right {
	min-width: 275px;
}

#content-container-right .card
{
	margin-bottom: 20px;
}

.card-header strong {
	font-size: 17px;
	font-weight: 600;
}

#search-container {
	margin-bottom: 10px;
}

.div-search {
	display: inline-block;
	margin-left: 5px;
}

/* --------------------- footer styles ----------------- */
.row-footer {
	margin: 20px 0px 10px 0px;
	color: #fff;
}


/* --------------------- dialog box ----------------- */
.dialog {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 30000;
	background-color: rgba(0, 0, 0, 0.5);
	overflow: hidden;
}

.dialog > .wrapper {
	position: absolute;
	left: 50%;
	top: 200px;
	width: 350px;
	margin-left: -175px;
	background-color: white;
	box-sizing: border-box;
	padding: 15px;
	border: 1px solid black;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.dialog .message {
	margin-bottom: 10px;
	white-space: pre;
}

.dialog .action {
	font-weight: bold;
	margin-bottom: 15px;
}

.dialog .title {
	font-weight: bold;
	margin-bottom: 5px;
}

.dialog a + a {
	margin-left: 5px;
}

.dialog .btn-danger {
	float: right;
}
