/* This file is for your main application css. */

@import "./bootstrap-reboot.min.css";
@import "./bootstrap-grid.min.css";
@import "./font-awesome.min.css";

/* Fonts */

@font-face {
    font-family: 'Interstate';
    src: local('Interstate'), local('Interstate-Regular'),
        url('../fonts/Interstate-regular-52801e5cfa2fedc505d9ebda560234f3.ttf?vsn=d') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Calibre';
    src: url('Calibre-Regular.eot');
    src: local('Calibre'), local('Calibre-Regular'),
        url('../fonts/Calibre-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Calibre-Regular-b63c62e591d0c8fbe2c8f009883346d5.woff2?vsn=d') format('woff2'),
        url('../fonts/Calibre-Regular-e08232148510aade507c2af9bb66acd0.woff?vsn=d') format('woff'),
        url('../fonts/Calibre-Regular-96e0a7c47fdd7a8f05007837ead73b35.ttf?vsn=d') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Generic */

body {
	position: relative;
	color: #414141;
	font-size: 18px;
	height: 100vh;
	font-family: 'Calibre';
	justify-content: center;
}

.centered-content {
	width: 1200px;
	margin: auto;
	height: auto;
}

h1, h2 {
	font-family: 'Interstate';
}

h1 {
	color: #414141;
	font-size: 30px;
	padding: 30px 0 15px 0;
}

h2 {
	color: #00678f;
	font-size: 25px;
	margin-top: 8px;
	padding: 12px 0 5px 0;
}

a {
	color: #039471;
	text-decoration: underline;
}

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

code {
	color: #ae0000;
	background-color: #f2f2f2;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
}

.pushright {
	text-align: right;
}

.pushright p, .pushright ul {
	margin-right: 0px;
}

header div.container{
	align-items: flex-start;
	justify-content: center;
}
.container {
	padding-left: 40px;
	padding-right: 40px;
	
}
main.container {
	margin-top: 40px;
	margin-bottom: 240px;
}

.align-vertical {
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.align-horizontal {
	text-align: center;
}

hr.separator-lg {
	min-height: 10px;
	background-color: #c2c2c2;
	border: none;
}

.separator-hidden {
	margin-bottom: 30px;
	opacity: 0;
	display: block;
}


.off-by-h1 {
	margin-top: -40px;
}

.off-by-h2 {
	margin-top: 20px;
}

/* File box */

.file-box {
	display: block;
	padding: 10px 10px 10px 10px;
	font-weight: bold;
	text-decoration: none;
	font-size: 20px;
	margin-bottom: 1.0625rem;
}

a.file-box{
	position: relative;
	top: -50px;;

}

a.file-box .pdf-icon .fa-file-pdf-o:hover{
	border-bottom: solid 0.0625rem #039471;
	transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;
}

.fa-file-pdf-o:before {
	color: #ffffff;
    background-color: #038471;
	border:1px solid #039471;
}
.fa-file-pdf-o::after {
	color: #ffffff;
	background-color: #038471;
	border:1px solid #039471;
}
.file-box .pdf-icon {
	color: #039471;
	font-size: 30px;
	padding: 15px;
	margin-left:15px;
	border: solid 0.0625rem #039471;
	border-radius: 50%;
	text-align: center;
	background-color: #fff;
}
.file-box .pdf-icon:hover {
	color: #ffffff;
	background-color: #038471;
	transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;
}

.file-box:hover{
	border-bottom: solid 0.0625rem #039471;
	transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;
	margin-bottom: 1rem;
}

.file-box small {
	color: #9c9c9c;
	font-weight: normal;
	font-size: 14px;
}

/* Alerts */

.alert {
	display: block;
	padding: 20px 20px 16px 20px;
	width: 100%;
	margin: 10px 0;
	font-weight: bold;
}

.alert-info {
	color: #038471;
	background-color: #f2f2f2;
}

.alert-danger {
	color: #E63027;
	background-color: #f2f2f2;
}

.alert-danger-border {
	border: 1px solid #E63027;
}

/* Form / inputs */

.form-box {
	padding: 20px 50px 20px 50px;
	background-color: #f2f2f2;
}

.padded-form-box {
	padding: 30px 60px 30px 60px;
	background-color: #f2f2f2;
}

#period-form label {
	margin-top: 10px;
	display: block;
}

.inline-form {
	display: flex;
}

.inline-form input {
	margin-right: 5px;
}
.inline-form button {
	width: 100px;
	height: 57px;
}

.off-by-label {
	margin-top: 37px;
}

.input-container{
	display: flex;
	align-items: center;
	justify-content: right;
	outline: none;
	background-color: rgb(232, 240, 254);
}

input#login-form_password{
	margin: 0px;
	outline: none;
}
input[type="text"], input[type="password"], input[type="date"], button, select {
	width: 100%;
}

input, textarea, select {
	margin-top: 5px;
	margin-bottom: 10px;
	padding: 15px;
	border-radius: 0;
	border: none;
	background-color: white;
}

input[readonly] {
	opacity: 0.5;
}

button {
	padding: 15px;
	margin: 5px 0;
	border: none;
}

button:hover {
	background-color: #eaeaec;
}

.input-grey {
	background-color: #f2f2f2;
}

.btn {
	display:inline-flex;
	padding: 15px;
	margin: 5px 0;
	border: none;
	text-decoration: none;
	text-align: center;
	align-items: center;
}

.btn-block {
	display: inline-block;
	width: 100%;
	text-align: center;
}

.btn-sm {
	display: inline-block;
	min-width: 100px !important;
	padding-top: 8px;
	padding-bottom: 5px;
	margin-right: 10px;
	align-items: center;
	justify-content: center;
	justify-items: center;
}

.btn-blue, .btn-primary {
	background-color: #0497c2;
	color: #fff;
	
}

.btn-blue:hover, .btn-primary:hover {
	background-color: #00678f;
	color: #fff;
}

.btn-danger {
	background-color: #d30000;
	color: #fff;
}

.btn-danger:hover {
	background-color: #a30000;
	color: #fff;
}

.btn-green-inverted {
	background-color: #fff;
	color: #039471;
	padding: 13px;
	border: 2px solid #038471;
}

.btn-green-inverted:hover {
	background-color: #038471;
	color: #fff;
	border: 2px solid #038471;
}

.btn-darkgreen {
	background-color: #039471;
	color: #fff;
}

.btn-darkgreen:hover {
	color: #fff;
	background-color: #038471;
}

.btn-gray {
	color: #fff;
	background-color: #565e64;
}

.btn-gray:hover {
	color: #fff;
	background-color: #5c636a;
}

.invalid-feedback {
	font-size: 16px;
	color: #E63027;
	font-weight: bold;
	display: block;
}

span.invalid-feedback {
	font-size: 16px;
	color: #E63027;
	font-weight: 500;
	display: block;
	padding: 10px 10px 10px 20px;
}

.interactive-password-wrapper {
	display: inline;
}

#interactive-password-icon {
	vertical-align: middle;
	position: relative;
	height: 20px;
	top: -48px;
	right: 20px;
	float: right;
	margin-bottom: -20px;
}

/* Logo section */

#logo-flex {
	display: flex;
	justify-content: left;
	flex-direction: row;
	margin-bottom: 30px;
}

#logo-img {
	width: 138px;
	margin-right: 20px;
}

#logo-text {
	font-weight: bold;
	color: #00678f;
	font-size: 16px;
	word-wrap: break-word;
}

/* Main navigation menu */

nav ul {
	list-style: none;
	padding: 0;
	margin: 0 0 10px 0;
	
}

nav ul > li {
	display: inline-block;
	padding: 10px;
}

nav a {
	color: #00678f;
	font-size: 19px;
	text-decoration:none;
}

nav a:hover {
	color: #00678f;
	font-size: 19px;
	border-bottom:2px solid #00678f;
	padding-bottom: 43px;
}

nav li.current a {
	text-shadow:0px 0px 1px #00678f;
	border-bottom:2px solid #00678f;
	padding-bottom: 43px;
}

#nav-rightpane ul {
	margin-right: 0 !important;
}

/* Shared by both footer and header */

header, footer {
	background-color: #00678f;
	color: white;
}

header a, footer a {
	color: white;
	text-decoration: underline;
}

header a:hover, footer a:hover {
	color: white;
	text-decoration: none;
}

header p, footer p {
	margin-bottom: 0px;
}

header .col, footer .col {
	padding: 10px;
	margin-top: 5px;
}

#header-rightpane {
	margin-top: 5px;
}

#header-rightpane a {
	text-decoration: none;
}

#header-rightpane a:hover {
	border-bottom:1.5px solid white;
	padding-bottom: 10px;
}

/* Header */

header {
	margin-bottom: 40px;
}

#locale-selector a {
	color: white;
	width: 100px;
	text-decoration: none;
}

#locale-selector li.current a, #locale-selector a:hover {
	color: white;
	font-weight: bold;
	border-bottom:1.5px solid white;
	padding-bottom: 10px;
}

#locale-selector ul {
	list-style: none;
	margin-bottom: 0px;
	padding-right: calc(var(--bs-gutter-x)/ 2);
    padding-left: calc(var(--bs-gutter-x)/ 2);
}

#locale-selector ul > li {
	display: inline-block;
	width: 50px;
	text-align: center;
}

header p, header a {
	font-size: 18px;
}

/* Footer */

footer {
	display: flex;
	margin-top:20px; 
}
#footer {
	position: relative;
	bottom: 0;
	width: 100%;
}
footer p, footer a {
	font-size: 18px;
}

#licensing p {
	margin-left: 0px;
}

/* Main content */

main > .col {
	margin: 0px;
}

/* Tables */

table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

table td {
	overflow-wrap: normal;
	word-break: break-all;
	padding-left: 15px;
}


table tr {
	border-bottom: 1px solid #c2c2c2;
}

table#settings-table tr {
	border-bottom: 1px solid #c2c2c2;
}

table#settings-table tr td {
	padding-top: 20px;
	padding-bottom: 20px;
}

table#settings-table tr:nth-child(even) {
	background-color: #ffffff;
}

table#settings-table tr th {
	font-weight: normal;
	color: #a0a0a0;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 20px;
	text-align: right;
	width: 40%;
}

.table-line-thick {
	height: 60px;
}

table.report-index {
	margin-top: 50px;
}


table.table-thick tr td {
	padding: 15px 15px 15px 0px;
}

table.table-alternated tr:nth-child(even) {
	background-color: #f2f2f2;
}

/* Initial generic devel UI */

h1 {
	margin-top: 0;
	padding-top: 0;
	}

a.current {
	font-weight: bold;
}

#section-nav ul {
	list-style: none;
}

#nav-logo {
	width: 60%;
	display: block;
	margin: 50px auto 0 auto;
}

.nav-notice {
	opacity: 0.8;
	text-align: center;
}

.chained-link {
	margin-left: 15px;
}

/* Media Queries Screen */

@media only screen and (max-width: 1400px){
	.centered-content {
		width: 1200px;
	}
}

@media only screen and (max-width: 1300px){
	.centered-content {
		width: 1000px;
	}
}

@media only screen and (max-width: 1200px){
	.centered-content {
		width: 1000px;
	}

	.btn-sm {
		min-width: 80px !important;
	}
}

@media only screen and (max-width: 1100px){
	.centered-content {
		width: 900px;
	}

	div.col-9 {
		width: 70%;
	}
}

@media only screen and (max-width: 1000px){
	.container, .container-sm {
		max-width: 800px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.centered-content {
		width: 850px;
	}

	h1 {
		font-size: 28px;
	}

	div.col-9 {
		width: 60%;
	}

	.btn-sm {
		min-width: 70px !important;
		padding-top: 5px;
		padding-bottom: 3px;
		margin-right: 10px;
	}
}

@media only screen and (max-width: 991px){
	div.col-9 {
		margin-left: 20px;
	}
}

@media only screen and (max-width: 900px){
	.centered-content {
		width: 790px;
	}
	.container, .container-sm {
		max-width: 800px;
		padding-left: 10px;
		padding-right: 10px;
	}

	table.table-thick tr td {
		padding: 15px 15px 15px 0px;
	}
}

@media only screen and (max-width: 800px){
	br {
		display: none
	}

	body {
		font-size: 16px;
	}

	header p, header a {
		font-size: 16px;
	}

	#logo-text {
		font-size: 16px;
		padding-right: 40px;
	}

	nav a {
		font-size: 16px;
	}

	h1 {
		font-size: 24px;

	}
	h2 {
		font-size: 18px;
		padding: 10px 0 5px 0;
		margin-top: 0px;
	}

	.col-3 {
		flex: 0 0 auto;
		width: 25%;
	}

	.col-5 {
		flex: 0 0 auto;
		width: 40%;
		padding-top: 42px;
	}

	div.col-9 {
		width: 60%;
		margin-left: 20px;
	}

	div.col-10 {
		flex: 0 0 auto;
		width: 83%;
	}

	.off-by-h2 {
		margin-top: 12px;
	}

	.btn-sm {
		min-width: 70px !important;
		padding-top: 5px;
		padding-bottom: 3px;
		margin-right: 10px;
	}

	footer p, footer a {
		font-size: 16px;
	}

	.centered-content {
		width:700px;
	}
}

@media only screen and (max-width: 767px){
	.centered-content {
		width: 650px;
	}

	.container, .container-sm {
		max-width: 610px;
	}

	#logo-img {
		width: 100px;
		height: auto;
		margin-right: 20px;
	}

	h1 {
		font-size: 20px;
	}

	table.table-thick tr td {
		padding: 15px 5px 15px 0px;
	}

	.btn-sm {
		min-width: 50px !important;
		height: auto;
	}

	.col-5 {
		flex: 0 0 auto;
		padding-top: 42px;
	}

	div.col-9 {
		width: 70%;
		margin-left: 10px;
	}

	.file-box {
		font-size: 16px;
	}

	.file-box .pdf-icon {
		margin-left: 0px;
	}

}

@media only screen and (max-width: 650px){
	.centered-content {
		width: auto;
	}

	.container, .container-sm {
		max-width: 580px;
	}

	nav a {
		font-size: 14px;
	}

	input{
		font-size: 16px;
	}

	table.table-thick tr td {
		padding: 15px 15px 15px 0px;
	}

	.btn {
		padding: 5px 5px 0px 5px; 
		align-items: center;
	}

	.inline-form button {
		width: 100px;
		height: 55px;
	}

	div.col-10 {
		flex: 0 0 auto;
		width: 80%;
	}

	.col-2 {
		flex: 0 0 auto;
		width: 20%;
	}
}
