/* General */
body {
	font-family: "Josefin Sans", sans-serif;
	font-size: 18px;
	font-weight: 300;
	color: #000;
	background-color: #ececec;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-family: "Saira Extra Condensed", sans-serif;
	font-weight: 300;
	text-transform: uppercase;
}

h1 {
	font-size: 3rem;
	margin-bottom: 1.25rem;
}

h2 {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
}

h3 {
	font-size: 1.75rem;
	font-weight: 400;
}

h4 {
	font-size: 1.625rem;
}

h5 {
	font-size: 1.25rem;
	font-weight: 500;
}

p {
	margin-bottom: 1rem;
}

.x-small {
	font-size: 0.75rem;
	font-weight: 400;
}

.mid {
    font-size: 1.125rem;
}

.large, large {
    font-size: 1.625rem;
	font-weight: 300;
}

a, .page-link {
	text-decoration: none;
	color: #000;
}

a:hover, a:focus {
	text-decoration: none;
	color: #a90000;
}

ol, ul {
	margin-bottom: 0;
}

li.list-inline-item {
	margin-bottom: 0;
}

hr {
	margin-top: 3rem;
    margin-bottom: 3rem;
	background-color: #1f7db1;
}

/* Colours */
.black {
	color: #000;
}

.red {
	color: #a90000;
}

.gold {
	color: #ba8900;
}

/* Buttons */
.btn {
	font-family: "Saira Extra Condensed", sans-serif;
	font-size: 1.125rem;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	border: #a90000 2px solid;
	border-radius: 0;
	padding-left: 1rem;
	padding-right: 1rem;
}

.btn-primary {
	color: #fff;
    background-color: #a90000;
	border: #a90000 2px solid;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary.active, .btn-primary:active {
	color: #fff;
    background-color: #a90000;
	border: #a90000 2px solid;
    opacity: 0.7;
}

.btn-secondary,.btn-secondary:focus {
	color: #fff;
    background-color: #006ba6;
}

.btn-secondary:hover {
    background-color: #006ba6;
}

.btn-outline {
	background-color: #fff;
	color: #a90000;
}

.btn-outline:hover, .btn-outline:focus {
	background-color: #a90000;
	color: #fff;
}

/* Button Menu */
.btn-menu {
	margin-bottom: 3rem;
}

.btn-menu .btn {
	margin-bottom: 0.25rem;
	text-align: left;
	font-size: 1.225rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.btn-menu i {
	width: 40px;
}

/* Tables */
.table {
	margin-bottom: 3rem;
}

.table thead th {
	background-color: #ccc;
	white-space: nowrap;
}

/* Print Table */
.print-table {
	border: gray 1px solid;
	font-size: 12px;
	font-weight: 400;
}

.print-table table {
	border-collapse: separate;
}

.print-table .topborder {
    border-top: black 1px solid;
}

.print-table .bottomborder {
    border-bottom: black 1px solid;
}

.print-table .reportheader {
    background-color: #f0f0f0;
}

.print-table p {
	margin-top: 10px;
    margin-bottom: 10px;
}

.print-table p.mid {
	margin-top: 0;
}

.print-table .smallfont {
	font-size: 10px;
}

.print-table tr {
	border-width: 1px;
}

/* Forms */
.form-control {
	background-color: #eee;
	border-radius: 0;
	border: none;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.form-control:focus {
	background-color: #eee;
}

label, .col-form-label {
    font-weight: 400;
}

.form-check-input[type=checkbox] {
	border-radius: 0;
}

.form-check-input[type=checkbox]:checked {
    background-color: #a90000;
}

.form-check-input:checked {
    background-color: #a90000;
    border-color: #a90000;
}

.form-select {
	background-color: #eee;
	border-radius: 0;
	border: none;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	font-size: 1.125rem;
}

/* Telerik Form Style Overrides */

.k-list-item.k-selected,
.k-selected.k-list-optionlabel,
.k-list-item.k-selected:hover,
.k-selected.k-list-optionlabel:hover,
.k-list-item.k-selected.k-hover,
.k-selected.k-hover.k-list-optionlabel {
	background-color: #a90000;
}

.k-radio:checked, .k-radio.k-checked {
	border-color: #a90000;
	background-color: #a90000;
}

.k-list-container {
	font-family: "Josefin Sans", sans-serif;
}

.k-grid, .k-table, .k-data-table {
	color: #000;
	font-weight: 400;
}

/* Airbills Grid */
.airbills-grid th {
	font-size: 13px;
}

.airbills-grid td {
	font-size: 11px;
}

.airbills-grid th:nth-child(1),
.airbills-grid th:nth-child(2),
.airbills-grid th:nth-child(3),
.airbills-grid th:nth-child(6),
.airbills-grid th:nth-child(7) {
	width: 10%;
}

.airbills-grid th:nth-child(4),
.airbills-grid th:nth-child(5) {
	width: 25%;
}

.airbills-grid tr td:nth-child(1),
.airbills-grid tr td:nth-child(2),
.airbills-grid tr td:nth-child(3),
.airbills-grid tr td:nth-child(5),
.airbills-grid tr td:nth-child(6) {
	width: 10%;
}

.airbills-grid tr td:nth-child(4) {
	width: 50%;
	padding: calc(6px + 1px);
}

.airbills-grid.k-grid .k-grid-header-wrap,
.airbills-grid .k-grid-content {
	padding: 0;
}

.airbills-grid.k-grid .k-grid-md .k-table-th,
.airbills-grid .k-grid-md .k-table-th {
	padding: 8px;
}

.airbills-grid.k-grid .k-grid-md td,
.airbills-grid.k-grid .k-grid-md .k-table-td,
.airbills-grid .k-grid-md td,
.airbills-grid .k-grid-md .k-table-td {
	padding: 6px;
}

/* Page Loader */
.page-loader-background {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: #fff;
	z-index: 10000;
}

.page-loader {
	position:relative;
	top:50%;
	left:50%;
	margin:-115px 0 0 -115px;
	height: 230px;
	width: 230px;
}

.spin {
	position:absolute;
	top:50%;
	left:50%;
	margin:-15px 0 0 -15px;
	animation: orbit 4s forwards infinite;
	animation-timing-function: linear;
}

.fa-earth-europe {
	position:absolute;
	top:50%;
	left:50%;
	margin:-35px 0 0 -35px;
	font-size: 70px;
}
					  
@-webkit-keyframes orbit {
	from { -webkit-transform: rotate(0deg) translateX(70px) rotate(360deg); }
	to   { -webkit-transform: rotate(-360deg) translateX(70px) rotate(360deg); }
}

/* Main Banner Media */
.main-banner-logged-in {
	height: 240px;
	background: url(../images/header-tracking.jpg) top left no-repeat;
	background-size: cover;
}

/* Logo */
.logo {
	width: 250px;
}

.logo-small {
	width: 115px;
}

/* Top Bar */
.top-bar {
	background-color: #a90000;
	text-transform: uppercase;
	color: #fff;
	font-size: 85%;
	font-weight: 600;
	min-height: 10px;
}

/* Header */
.header {
	background-color: #fff;
}

/* Main Nav */
.navbar .nav-item {
	font-family: "Saira Extra Condensed", sans-serif;
	text-transform: uppercase;
	margin-right: 1.5rem;
	font-size: 1.5rem;
	font-weight: 600;
}

.navbar .nav-item:last-child {
	margin-right: 0;
}

.navbar .nav-item a {
	padding: 1rem 0.75rem;
	display: block;
	color: #000;
}

.navbar .nav-item a.btn-outline {
	color: #a90000;
}

.navbar .nav-item a:hover {
	color: #fff;
	background-color: #a90000;
}

.navbar .nav-item a.gold {
	color: #ba8900;
}

.navbar .nav-item a.gold:hover {
	background-color: #ba8900;
	color: #fff;
}

.navbar .navbar-brand {
	padding: 0;
}

.navbar .navbar-brand:hover {
	background: none;
}

.dropdown-menu {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-top: none;
}

.dropdown-menu[data-bs-popper] {
    margin-top: 0;
}

.dropdown-menu li {
	border-bottom: #000 1px solid;
}

.dropdown-menu li:last-child {
	border-bottom: none;
}

.navbar a.dropdown-item {
	font-family: "Josefin Sans", sans-serif;
	text-transform: none;
	color: #a90000;
	padding: 0.5rem 0.75rem;
}

.navbar a.dropdown-item:hover {
	color: #fff;
}

.offcanvas-body {
    padding-top: 0;
}

/* Sections */
.section {
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
}

/* Section Main Banner */
.section-main-banner {
	position: relative;
	overflow: hidden;
}

.primary-actions {
	font-family: "Saira Extra Condensed", sans-serif;
	font-size: 1.125rem;
	padding-bottom: 5rem;
}

.login {
	background-color: rgba(169, 0, 0, 0.74);
	padding: 1rem 2rem;
	color: #fff;
}

.track-shipment {
	background-color: rgba(0,0,0,0.61);
	padding: 1rem 2rem;
	color: #fff;
}

/* Primary Actions - Hidden */
.primary-actions-hidden {
	font-family: "Saira Extra Condensed", sans-serif;
	font-size: 1.125rem;
	background: #fff;
	border: #000 1px solid;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.25);
	position: absolute;
	top: 40px;
	right: 15px;
	z-index: 100;
	width: 60%;
}

.primary-actions-hidden::before {
    content: "\f0d8";
    font-family: FontAwesome;
    position: absolute;
    top: -16px;
    right: 30%;
}

.primary-actions-hidden .login,
.primary-actions-hidden .track-shipment {
	background: none;
	color: #000;
	padding: 0.75rem;
}

/* Section Dark */
.section.dark {
	background-color: #3f3f3f;
}

.section.dark h2 {
	color: #fff;
}

/* Section Mid */
.section.mid {
	background-color: #ececec;
}

.section:last-of-type {
	border-bottom: #000 10px solid;
	background-color: #fff;
}

.section:last-of-type .container {
	border-top: #818285 1px solid;
	padding-top: 1.5rem;
	margin-top: 4rem;
	background-color: #fff;
}

.section.mid h2 {
	color: #a90000;
}

/* Section Light */
.section.light {
	background-color: #fff;
}

/* Footer */
footer .container {
	border-top: #afafaf 1px solid;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	color: #818285;
}

footer h5 {
	margin-bottom: 0;
}

footer li {
	margin-bottom: 0.5rem;
}

footer .form-control {
	background-color: #ccc;
	color: #fff;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

/* Footer Nav */
.footer-nav {
	background-color: #000;
	color: #fff;
}

.footer-nav .container {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.footer-nav p {
	margin-bottom: 0;
}

.footer-nav li {
	text-transform: uppercase;
	margin-right: 1rem;
	font-size: 0.825rem;
	font-weight: 500;
}

.footer-nav li:last-child {
	margin-right: 0;
}

.footer-nav li a:hover,
.footer-nav li a:focus {
	color: #fff;
}

/* Post Footer */
.post-footer {
	text-align: center;
}

.post-footer .container {
	border-top: #afafaf 1px solid;
	padding-top: 1.75rem;
	padding-bottom: 1.5rem;
}

.post-footer img {
	max-width: 250px;
}

/* `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
	
	.primary-actions-hidden::before {
		right: auto;
		left: 25%;
	}
	
}

/* `lg` applies to medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
	
	.navbar .nav-item {
		margin-right: 0;
	}
	
	.navbar .nav-item a {
		padding: 0.5rem 0.25rem;
	}
	
	.dropdown-menu {
		border: none;
	}
	
	.primary-actions-hidden {
		width: calc(100% - 30px);
		left: 15px;
	}
	
	.primary-actions-hidden::before {
		right: 30%;
	}

}

/* `xl` applies to large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
	.navbar .nav-item {
		font-size: 1.325rem;
		margin-right: 0.5rem;
	}
}
