﻿/* These styles have been standardized across Infrastructure web apps.		*/
/* Use class names instead of IDs for CSS definitions.						*/


/*
	#region HTML ELEMENTS
*/
a, a:visited {
	color: rgb(0, 68, 119);
	text-decoration: none;
}

a:hover, a:active {
	color: rgb(0, 153, 221);
	text-decoration: none;
}

a.disabled {
	cursor: default;
	pointer-events: none;
}

.btn.aspNetDisabled {
	pointer-events: none;
	cursor: default;
	background-color: rgb(204, 204, 204) !important;
	color: black;
	border: 0;
}

body, html body, html {
	background-color: rgb(249, 249, 249);
	font-family: 'Arial', 'Helvetica', sans-serif;
	font-size: 14px;
	height: 100%;
}

body {
	overflow-y: scroll;
}

button:disabled, input:disabled {
	background-color: rgb(204, 204, 204);
	border: 0;
	color: black;
}

h1 {
	font-size: 1.4rem;
	font-weight: bold;
	padding-bottom: 10px;
}

h2 {
	font-size: 1.1rem;
}

h3 {
	font-size: 1.2rem;
	margin-bottom: 1px;
}

h4 {
	font-size: 14px;
	margin-bottom: 1px;
	font-weight: bold;
	line-height: 1.35;
}

h6 {
	color: #646464;
	font-weight: bold;
	margin-bottom: 1px;
}

hr {
	opacity: 1;
}
/*
	#endregion HTML ELEMENTS
*/

/*
	#region GENERAL CUSTOMIZATIONS
*/
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Apply 3D effect on controls */
.btn:focus, .btn:active, .btn:hover, .form-control:focus {
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px;
}

.btn, .btn-sm {
	border: 1px solid rgb(0, 153, 221);
}

.btn:hover {
	background-color: rgb(0, 153, 221);
}

.btn.disabled, .btn:disabled, 
.btn-sm.disabled, .btn-sm:disabled {
	pointer-events: none;
	cursor: default;
	background-color: rgb(204, 204, 204) !important;
	border-color: rgb(204, 204, 204);
	color: black;
}

.btn-drake {
	background-color: rgb(0, 68, 119);
	color: white !important;
}

.dropdownlist {
	height: 36px;
}

.dropdown-toggle {
    border: 1px solid rgb(0, 0, 0);
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 4px;
	padding: 10px;
}

.hidden {
	display: none;
}

.loader {
	animation: spin 2s linear infinite;
	border: 3px solid rgb(0, 153, 221);
	border-bottom: 3px solid rgb(0, 68, 119);
	border-radius: 50%;
	border-top: 3px solid rgb(0, 68, 119);
	display: inline-block;
	height: 15px;
	margin-left: 10px;
	width: 15px;
}

.main-content {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.modal-header {
	background-color: rgba(0, 68, 119, 0.25);
}

.modal-footer {
	background-color: #fcfcfc;
}

.page-item.active .page-link {
	background-color: rgba(0, 68, 119, 0.5);
	border-color: rgba(0, 68, 119, 0.01) !important;
}

td.card-text {
	padding-left: 13px;
}

td.card-text-bottom {
	padding-bottom: 20px;
}

.green {
	color: green;
}

.red {
	color: red;
}

.logo {
	border-right: 1px solid white;
	height: 60px;
	padding-right: 15px;
}

@media screen and (max-width:991.9px) {
	.logo {
		border: 0;
		height: 50px;
		padding-left: 0;
	}
}
/*
	#endregion GENERAL CUSTOMIZATIONS
*/


/*
	#region HEADER
*/
.navbar-brand {
	margin: 0;
	padding: 0;
}

.header-container {
	display: inline-block;
	font-family: 'Calibri', 'Helvetica', sans-serif;
	vertical-align: middle;
}

.header-title {
	font-size: 30px;
	font-weight: normal;
	margin-bottom: 0;
	padding-bottom: 0;
	padding-left: 15px;
}

.header-subtitle {
	font-size: 18px;
	font-weight: normal;
	margin-bottom: 0;
	padding-top: 0.5rem;
	padding-bottom: 0px;
	padding-left: 15px;
}

@media screen and (max-width:991.9px) {
	.header-container {
		display: block;
		padding-bottom: 10px;
	}

	.header-title {
		font-size: 24px;
		padding-left: 0;
	}

	.header-subtitle {
		padding-left: 0;
	}
}
/*
	#endregion HEADER
*/

/*
	#region NAVIGATION
*/
.navbar {
	background-color:rgb(0, 68, 119);
}

.navbar-nav .nav-item .nav-link.disabled {
	color: rgba(255, 255, 255, 0.35) !important;
}

/* #region Mobile Nav */
.navbar-nav.mobile-nav > li {
	display: none;
}
/* #endregion Mobile Nav */

/* #region Toolbar */
.navbar-toolbar {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	flex-direction: row;
	flex-wrap: nowrap;
	padding-bottom: 0px;
}

.navbar-toolbar .container {
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: nowrap;
}

.navbar-toolbar .navbar-nav {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
}

.navbar-toolbar .navbar-nav .nav-item .nav-link {
	border-top-left-radius: 1px;
	border-top-right-radius: 1px;
	color: white;
	padding-left: 1rem;
	padding-right: 1rem;
}

.navbar-toolbar .navbar-nav .nav-item .nav-link.active-highlight {
	background-color: rgb(0, 153, 221);
}

.navbar-toolbar .navbar-nav .nav-item .nav-link:focus, 
.navbar-toolbar .navbar-nav .nav-item .nav-link:hover {
	background-color: rgb(0, 153, 221);
}
/* #endregion Toolbar */

/* #region Search */
.navbar-search-desktop {
	padding-bottom: 0.5rem;
	width: 400px;
}

.navbar-search-mobile {
	padding: 1rem 0 1rem 0;
}
/* #endregion Search */

/* #region Sign Out*/
.navbar-sign-out {
	justify-content: right;
}

.navbar-sign-out a {
	color: white;
}

.navbar-sign-out a:hover {
	color: rgb(0, 153, 221);
}
/* #endregion Sign Out */


@media (max-width: 991.9px) {
	.navbar {
		display: block;
		float: none;
		margin: 0 0;
		padding-top: 5px;
		padding-bottom: 0;
		table-layout: auto;
	}

	.navbar-nav.mobile-nav > li {
		display: block;
	}

	.navbar-nav.mobile-nav .nav-item .nav-link {
		color: white;
	}

	.navbar-nav.mobile-nav .nav-item a.nav-link:hover {
		color: rgb(0, 153, 221);
	}

	.navbar-toolbar {
		display: none;
	}

	.navbar-sign-out {
		margin-top: 10px;
		border-top: solid 1px white;
		padding: 1rem 0 1rem 0;
	}
}
/*
	#endregion NAVIGATION
*/

/*
	#region FOOTER
*/
footer {
	background-color: white;
	padding-bottom: 1rem;
}

.abs-footer {
	bottom: 0px;
	position: absolute;
	width: 100%;
}

.rel-footer {
	position: relative;
	width: 100%;
}

.footer-hide {
	visibility: hidden;
}
/*
	#endregion FOOTER
*/


/*
	#region CARD LAYOUT
*/
:root {
	--bs-card-cap-padding-y: 0.75rem;
	--bs-card-cap-padding-x: 1.25rem;
}

/* Style content blocks within a Card */
.card .card-block {
	padding: 1.25rem;
}

/* Style the header of Cards */
.card .card-header {
	background-color: rgb(238, 238, 238);
    padding-bottom:0;
}

/* Set the color of Card icons */
.card .card-icons {
    color:#004477;
}

/* Add padding to Form Groups */
.form-group {
	margin-bottom: 1rem;
}
/*
	#endregion CARD LAYOUT
*/

/*
	#region CHECKBOXES
*/
/* Hide the actual checkbox control */
.checkbox input[type="checkbox"] {
	display: none;
}

/* Styling when not checked or moused-over */
.checkbox input[type="checkbox"] + i:before {
	content: "\f111";
	color: white;
	font-weight: 900;
	border-width: 2px;
	border-style: solid;
	border-color: #e1e1e1;
	border-radius: 50%;
	cursor: pointer;
}

/* Styling when not checked */
.checkbox input[type="checkbox"] + i:hover:before {
	content: "\f058";
	background-color: #e1e1e1;
	color: white;
	font-weight: 900;
	border-width: 2px;
	border-style: solid;
	border-color: #e1e1e1;
	border-radius: 50%;
	cursor: pointer;
}

/* Styling when checked */
.checkbox input[type="checkbox"]:checked + i:before {
	content: "\f058";
	background-color: white;
	color: #0078d4;
	font-weight: 900;
	border-width: 2px;
	border-style: solid;
	border-color: white;
	border-radius: 50%;
	cursor: pointer;
}

/* Styling when disabled */
.checkbox input[type="checkbox"]:disabled + i:before,
.checkbox input[type="checkbox"]:disabled:checked + i:before {
	color: #ddd;
}

/* Setup border for Bootstrap Toggles */
.toggle {
	border-color: rgb(180, 180, 180) !important;
}
/*
	#endregion CHECKBOXES
*/

/*
	#region INPUTS
*/
/* Set color and border of input-group button */
.input-group-btn {
	background-color: rgb(249, 249, 249);
	border: 1px solid rgb(204, 204, 204);
}

/* Set styling for disabled input-group button */
.input-group-btn.disabled {
	background-color: #eceeef !important;
	cursor: default;
	pointer-events: none;
}

/* Change color on focus and hover of input-group button */
.input-group-btn:focus,
.input-group-btn:hover {
	background-color: rgb(0, 153, 221) !important;
}

/* Style prepended and appended input-group items */
.input-group-prepend,
.input-group-append {
	display: -ms-flexbox;
	display: flex;
}

/* Style prepended and appended input-group buttons */
.input-group-prepend .btn,
.input-group-append .btn {
	position: relative;
	z-index: 2;
}

/* Style prepended and appended input-group buttons on hover and focus */
.input-group-prepend .btn:focus,
.input-group-append .btn:focus {
	z-index: 3;
}

/* Shift prepended and appended items left to avoid double border */
.input-group-prepend .btn + .btn,
.input-group-prepend .btn + .input-group-text,
.input-group-prepend .input-group-text + .input-group-text,
.input-group-prepend .input-group-text + .btn,
.input-group-append, 
.input-group-append .btn + .btn,
.input-group-append .btn + .input-group-text,
.input-group-append .input-group-text + .input-group-text,
.input-group-append .input-group-text + .btn {
	margin-left: -1px;
}

/* Shift prepended items right to avoid double border */
.input-group-prepend {
	margin-right: -1px;
}

/* Remove the right radius from controls that have additional objects to that side */
.input-group > .input-group-prepend > .btn,
.input-group > .input-group-prepend > .input-group-text,
.input-group:not(.has-validation) > .input-group-append:not(:last-child) > .btn,
.input-group:not(.has-validation) > .input-group-append:not(:last-child) > .input-group-text,
.input-group.has-validation > .input-group-append:nth-last-child(n + 3) > .btn,
.input-group.has-validation > .input-group-append:nth-last-child(n + 3) > .input-group-text,
.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle),
.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

/* Remove the left radius from controls that have additional objects to that side */
.input-group > .input-group-append > .btn,
.input-group > .input-group-append > .input-group-text,
.input-group > .input-group-prepend:not(:first-child) > .btn,
.input-group > .input-group-prepend:not(:first-child) > .input-group-text,
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

/* Hide placeholder text for WebKit browsers when the input gets focus */
input:focus::-webkit-input-placeholder {
	color: transparent;
}

/* Hide placeholder text for Mozilla browsers when the input gets focus */
input:focus:-moz-placeholder {
	color: transparent;
}

/* Hide placeholder text for Mozilla browsers when the input gets focus */
input:focus::-moz-placeholder {
	color: transparent;
}

/* Hide placeholder text for Microsoft browsers when the input gets focus */
input:focus:-ms-input-placeholder {
	color: transparent;
}
/*
	#endregion INPUTS
*/

/*
	#region GRIDVIEWS
*/
/* Style GridViews */
.gridview {
	--bs-table-border-color: var(--bs-border-color);
	background-color: #fff;
	border-color: var(--bs-table-border-color);
	margin-bottom: 1rem;
	vertical-align: top;
	width: 100%;
}

/* Style GridView cells */
.gridview > :not(caption) > * > * {
	border-bottom-width: var(--bs-border-width);
	box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
	color: var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));
	padding: 0.5rem 0.5rem;
}

/* Set the background color of striped GridView headers */
.gridview-striped tr th {
	background-color: #eeeeee;
}

/* Add a light grey gradient to odd rows in a striped GridView */
.gridview-striped > tbody > tr:nth-of-type(odd) {
	background-image: linear-gradient(to right, white, rgba(0, 0, 0, 0.07) 25%, rgba(0, 0, 0, 0.07) 75%, white 100%);
}

/* Provide a blue gradient to rows that have been selected */
.gridview-striped-selected {
	background-image: linear-gradient(to right, white, rgb(151, 217, 247) 25%, rgb(151, 217, 247) 75%, white 100%) !important;
}

/* Use a blue gradient when hovering over striped GridView rows, even if they are already selected */
.gridview-striped > tbody > tr:hover, 
.gridview-striped-selected:hover {
	background-image: linear-gradient(to right, white, rgb(179, 229, 252) 25%, rgb(179, 229, 252) 75%, white 100%) !important;
}
/*
	#endregion GRIDVIEWS
*/

/*
	#region POPOVERS
*/
/* Styling for informational popovers */
.info-popover {
	--bs-popover-bg: #cff4fc;				/* Light info blue			*/
	--bs-popover-border-color: #b6effb;		/* Matching border			*/
	--bs-popover-body-color: #055160;		/* Dark info text color		*/
}

/* Customize the arrow color to match */
.info-popover.bs-popover-end .popover-arrow::after {
	border-right-color: #cff4fc !important;
}

.info-popover.bs-popover-top .popover-arrow::after {
	border-top-color: #cff4fc !important;
}

/* Styling for warning popovers */
.warning-popover {
	--bs-popover-bg: #fff3cd;				/* Light warning yellow		*/
	--bs-popover-border-color: #ffecb5;		/* Matching border			*/
	--bs-popover-body-color: #664d03;		/* Dark warning text color	*/
}

/* Customize the arrow color to match */
.warning-popover.bs-popover-end .popover-arrow::after {
	border-right-color: #fff3cd !important;
}

.warning-popover.bs-popover-top .popover-arrow::after {
	border-top-color: #fff3cd !important;
}
/*
	#endregion
*/

/*
	#region RSS FEED
*/
/* Add padding to the top and bottom of the list */
ul.news-list {
	margin: 0;
	padding: 1rem 0;
}

	/* Add padding to the left and right of news items */
	ul.news-list li.rss-content > * {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	/* Add padding to the bottom of all items except the last */
	ul.news-list li.rss-content:not(:last-of-type) {
		padding-bottom: 1rem;
	}

	/* Add a separator between list items */
	ul.news-list li.rss-content + li.rss-content {
		border-top: 1px solid #ccc;
		padding-top: 1rem;
	}

	/* Make sure the last element in list content doesn't have spacing */
	ul.news-list li.rss-content div p:last-of-type {
		margin: 0;
	}

/* Set color for author information */
.rss-author {
	color: gray;
}

@media screen and (max-width:991.9px) {
	.news-feed {
		display: none;
	}
}
/*
	#endregion RSS FEED
*/

/*
	#region TABS
*/
/* Tab menu item padding and link color */
.tab-menu-item, .tab-menu-item:visited {
	padding-left: 2rem;
	padding-right: 2rem;
	color: #646464;
}

/* Tab menu item styling on hover */
.tab-menu-item:hover {
	background-color: rgb(238, 238, 238);
	color: rgb(138, 119, 119);
}

/* Body beneath tab menu */
.tab-body {
	border:1px solid rgb(221, 221, 221);
	border-top-left-radius:0.25rem;
	border-top-right-radius:0.25rem;
	border-bottom-left-radius:0.25rem;
	border-bottom-right-radius:0.25rem;
	margin-top:-1px;
	padding:15px;
}
/*
	#endregion TABS
*/