/******************************************************************************\
|                                                                              |
|                                   style.css                                  |
|                                                                              |
|******************************************************************************|
|                                                                              |
|        This defines the main styles used by this application.                |
|                                                                              |
|        Author(s): Abe Megahed                                                |
|                                                                              |
|        This file is subject to the terms and conditions defined in           |
|        'LICENSE.txt', which is part of this source code distribution.        |
|                                                                              |
|******************************************************************************|
|         Copyright (C) 2020-2021, ClimaDrive, Pilot Training Systems          |
\******************************************************************************/

/*
 * layout styles
 */

body {  
	margin: 0px;
	font-family: Verdana;
	font-size: 14px;
	text-align: center;
}

.full-screen {
	position: absolute;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

#background-video {
	position: fixed;
	right: 0;
	bottom: 0;
	min-width: 100%; 
	min-height: 100%;
}

.top.logo img {
	width: 75px;
}

body:not(.splash) .top.logo {
	/* margin-top: -50px; */
}

.centered {
	text-align: center;
}

hr {
	border-top: 2px solid #021c42;
}

/*
 * splash / login styles
 */

.splash .top.logo {
	text-align: center;
	padding: 20px;
	margin-bottom: 20px;
}

.splash .top.logo img {
	width: 150px;
}

.panel {
	display: block;
	position:  relative;
	padding: 10px;
	background: rgba(255, 255, 255, 0.75);
	text-align: left;
	overflow: auto;
}

.panel-default {
	background: #f0f0f0;
}

.well, .section {
	background: white;
	padding: 10px 20px;
	margin-bottom: 10px !important;
	border-width: 0;
	overflow: auto;
}

.section table {
	margin: auto;
}

.fineprint {
	font-size: 11px;
}

.options + .hint {
	margin-top: 10px;
	text-align: left;
}

.panel h1 {
	text-align: center;
}

.card-overlay {
	padding: 10px;
}

#login {
	text-align: center;
}

/*
 * form styles
 */

.warning {
	color: red;
}

.error-field {
	width: 100%;
	color: red;
	text-align: center;
	margin: 20px;
}

.ui-menu {
	font-size: 11px;
}

/*
 * button styles
 */

.btn {
	padding: 3px 10px !important;
	outline: none;
}

.btn + .btn {
	margin-left: 5px;
}

.btn:focus {
	outline: none !important;
}

.bottom.buttons {
	text-align: center;
	margin: 10px;
}

.buttons button {
	margin-top: 10px;
}

.buttons.well {
	font-size: 13px;
	text-align: center;
}

.buttons button {
	border-radius: 3px;
	border-width: 1px;
}

.buttons {
	padding-top: 0;
}

.btn.btn-default {
	background-color: #f0f0f0;
}

.btn-primary {
	background-color: #0282ab;
	border-color: #0282ab;
	color: white;
}

.btn-primary:hover {
	background-color: #106080;
	border-color: #106080;
	color: white;
}

.btn-primary:focus, 
.btn-primary:active,
.btn-primary:active:focus {
	background-color: #004060;
	border-color: #004060;
	color: white;
}

/*
 * heading styles
 */

h1 {
	font-size: 22px;
	color: #021c42;
	font-weight: bold;
}

h2 {
	font-size: 16px;
	color: #021c42;
	font-weight: bold;
}

h3 {
	font-size: 14px;
	color: #021c42;
	font-weight: bold;
}

/*
 * navigation styles
 */

a img {
	border: 0;
}

.ui-autocomplete { 
	max-height:230px; 
	width: 230px;

	overflow-x:hidden;
	overflow-y:scroll;
}

.spanRight {
	float:left;
	display:inline;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.newsText {
	margin: 1em;
	text-align:left;
	font-size:115%;
}

.my_border {
	width:100%;
	height:100%;
	border:6px outset  #000080;
}

/*.my_background {  
	background-position: 50% 10%; 
	background-image: url(Images/pts_logo.jpg);
	background-size: 45% 70%;
}*/

#mysubmit { 
	background-color: #FFFFBC; 
	padding: 15px; font-weight: bold;
}

td.padded {
	padding-left:12px;
}

.right-aligned {
	text-align: right;
}

.left-aligned {
	text-align: left;
}

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

.navbar-brand {
	padding-top: 0px;
}

.navbar-brand img {
	height: 50px;
}

/* For carat symbols */
.navbar span {
	color: #0A447A;
}

/* For drop down menu options */
.navbar li a {
	color: #0A447A;
}

/* Navigation items */
.nav.navbar-nav li a {
	color: #0A447A;
	font-weight: 700;
	font-size: 12pt;
}

/* For when you hover over an element (get lighter) */
.nav.navbar-nav li a:hover {
	color: #0C65B7;
}

/* For when you click on the element (stay same color) */
.nav.navbar-nav li a:focus {
	color: #0A447A;
}

/* Move navbar text down */
.navbar-nav {
	margin-top: 4px;
}

.navbar-nav button {
	color: #0A447A;
	font-weight: 700;
}

.dtext {
	-webkit-transform: rotate(-27deg);
	-moz-transform: rotate(-27deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0);
	position: absolute; left:55%; top:55%;
	font-familiy: Verdana;  font-weight:bold; color:#FFFFBC; font-size: 16px;
}

/*
 * toolbar styles
 */

.toolbar {
	/*font-weight:bold;*/
	width:100%; 
	margin: 0px; 
	font-size: 12pt; 
	overflow:hidden;
}

.toolbar a {
	padding-left: 3px;
	padding-right: 3px;
	padding-top: 1px;
	padding-bottom: 1px;
	color:white;
}

.toolbar a:hover {
	text-decoration: none; 
}

.toolbar .selected a {
	margin-left: 25px;
	margin-top: 80px;
	display:block;
	width:7%;
	float:right;
}

.toolbar .selected img {
	width:100%;
}

/*shu: might need this*/
/*.toolbar .selectedhome a {

	margin-left: 100px;
	display:block;
	width:30%;
	float:left;
	
}*/

.toolbar .selected a:hover {
	text-decoration: none;
}

.main.panel {
	margin-bottom: 50px;
}

/*
 * mobile styles
 */

@media (max-width:480px) {
	.main.panel {
		width: 100%;
		border-radius: 0;
	}

	.card-overlay {
		width: 100%;
		height: 100%;
		padding-top: 30px;
		border-radius: 0;
	}

	.close-overlay {
		top: 0px;
		left: 0px;
	}
}

/*
 * desktop styles
 */

@media (min-width:640px) {

	.panel {
		width: 90%;
		max-height: 90%;
	}

	.main.panel {
		max-width: 960px;
		padding: 50px;
		margin: 25px auto;
		margin-bottom: 50px;
	}

	.full-screen .panel {
		margin: auto;
	}
}

/* 
 * table styles
 */

.func {
	text-align: center;
}

.func a {
	padding:4px;
	color:rgb(136,196,255);
}

.func a:hover {
	color:rgb(0,94,187);
	background-color: #ffffff;
}

.input_table {
	line-height: 1.5;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	border: 1px dotted #c8c8ff;
	background-color: #f7f7f7;
	-moz-border-radius: 15px;
}

.col_head_title {
	text-align: center;
	padding-top: 1px;
	padding-bottom: 1px;
	font-size: 16px;
	color: #ffffff;
	font-weight: bold;
	background-color: #120087;
	-moz-border-radius: 15px;
}
.col_head_title2 {
	text-align: left;
	padding-top: 1px;
	padding-bottom: 1px;
	font-size: 13px;
	font-weight: bold;
	color: #FF0000;
	background-color: #f7f7f7;
	-moz-border-radius: 1px;
}

.col_title {
	text-align: left;
	font-size: 11px;
	background-color: #fffffc;
}

.col_title2 {
	text-align: left;
	padding-left: 15px;
	background-color: #fffffa;
}

.col {
	width: 180px;
	padding-left: 25px;
}

.input_btn {
	width: 60px;
	padding: 2px;
	font-size: 11px;
	font-family:Verdana;Arial
	border: 1px outset #c8c8ff;
	background-color: #ffff95;
}

.list {
	width: 200px;
	border-collapse: collapse;
	font-size: 14px;
}

.list td {
	color: rgb(80,80,80);
	padding: 2px;
	border: 1px solid rgb(240,240,240);
}

.list td:hover {
	background-color: rgb(255,255,153);
	color: #000000;
}

.list th {
	padding: 2px;
	border: 1px solid rgb(240,240,240);
	color: #ffffff;
	background-color: #120087;
}

.list2 {
	width: 90%;
	border-collapse: collapse;
	font-size: 12px;
}

.list2 td {
	color: rgb(80,80,80);
	padding: 2px;
	border: 1px solid rgb(240,240,240);
}

.list2 td:hover {
	background-color: rgb(255,255,153);
	color: #000000;
}

.list2 th {
	padding: 2px;
	border: 1px solid rgb(240,240,240);
	color: #ffffff;
	background-color: #0099cc;
}

.eng {
	font-family: Verdana, Arial;
	font-size: 11px;
}

tr.view {
	border-bottom: 1px solid #0070a6;
	background-color: #FFFFFF;
}

.I  {
	font-size:10pt;
	font-style:italic;
	font-family:Verdana,Arial;
	COLOR:gray;
}

/*shu 11/06/2015: styling for center_block*/
.center_block{
	margin-bottom:40px;
	padding-top:25px;
	background:url(Images/navibackground.jpg) no-repeat scroll center top / cover hsla(0, 0%, 0%, 0);
}

/*
.selectedhome .logo img {
	width: 10em;
	height: 10em;
}

.selectedhome {
	width : 20%;
}
*/
.center_block_news {
	margin-bottom: 40px;
	margin-top: 25px;
	background:url(Images/newsHeader.jpg) no-repeat scroll center top / cover hsla(0, 0%, 0%, 0);
}

.stationary.copyright {
	color: lightgrey;
	font-size: 12px;
	padding: 5px;
	opacity: 0.85;
	background: #021c42; 
	position: fixed; 
	bottom: 0;
	overflow: hidden;
	z-index: 1500;
}

.copyright .divider {
	margin: 0 10px;
}

.stationary a {
	color: white;
}

.stationary a:hover {
	text-decoration: underline;
}

.footer {
	bottom:0;
	left:0;
	width:100%;
}

/*end stationary toolbar styling*/

#flightform {
	width:80%;
	margin:0 auto;
	overflow:hidden;
}

.header-bar {
	width: 100%;
	font-family: Verdana,Arial;
	font-size: 14px;
	line-height: 20px;
	color: white;
	background: #0282ab;
}

//
// copyright styling
//

.copyright a {
	color:#FFFFFF;
	font-size: 12px;
	line-height: 30px;
}

.copyright a:visited{
	text-decoration:none;
}

input.button {
	padding: 0 .25em;
	width: 0;  /* IE table-cell margin fix */
	overflow: visible;
}

input.button[class] {  /* IE ignores [class] */
	width: auto;  /* cancel margin fix for other browsers */
}

.forumsIframe {
	padding:10px;
	background-color:white;
	border: 2px solid black
}

/* Styles for Library/Quiz */
.quiz {
	width: 600px;
	font-family:  serif;
	text-align:   left;
	margin-left:  auto;
	margin-right: auto
}

.question {
	font-size:    14px;
}

.answer_choice {
	font-size:    12px;
}

#shoppingCartTable {
	margin-left: auto;
	margin-right: auto;
	width: 80%;
}

.shoppingCartRow {
	height: 50px;
}

#topRow {
	background-color: #233A5B;
	font-weight: bold;
	height: 30px;
}

#topRow .shoppingCartName {
	color: white;
	border: 1px solid none;
}

#topRow .shoppingCartPrice {
	color: white;
	border: 1px solid none;
}

.shoppingCartTrash {
	width:5%;
	border: 1px solid black;
}

.shoppingCartTrash:hover {
	cursor: pointer;
}

.noX {
	border: 1px solid none;
	border-left:1px solid black;
	border-top:1px solid black;
	border-bottom:1px solid black;
}

.shoppingCartName {
	border-top: 1px solid black;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
	border-left: 1px solid none;
	width: 75%;
	padding: 0 10px;
}

.shoppingCartPrice {
	border: 1px solid black;
	width: 25%;
	padding: 0 10px;
}

#stripeHolder {
	display: inline-block;
}

#stripeHolder button {
	display: inline-block;
	height: 30px;
}

#stripeHolder + button,
#stripeHolder + button + button {
	margin-top: 0;
}

.carousel {
	margin-top: -20px;
	height: 500px;
	width: 100%;
}

.carousel-inner {
	height: 100%;
	width: 100%;
}

.carousel-inner .item {
	height: 100%;
	width: 100%;
}

#myCarousel {
	overflow: hidden;
	height: 500px;	
}

.item {
	overflow: hidden;
}

.carousel-inner .item img {
	height: 100%;
	width: 100%;
	min-width: 1500px;	
	overflow: hidden;
}

.carousel-control.left, .carousel-control.right {
	background-image: none; /* Black background on buttons */
}

.carousel-caption {
	height: 100%;
	vertical-align: middle;
}

.carouselCaptionsTable {
	margin-left: auto;
	margin-right: auto;
	height: 100%;
	margin-top: 30px;
}

.carousel-indicators {
	margin-bottom: 15px;
}

.carouselCaptionsHolder {
	height: 100%;
}

.captionRow {
	margin-top: auto;
	margin-bottom: auto;
}

.captionRow.top {
	vertical-align: bottom;
}

.captionRow.bottom {
	vertical-align: top;
}

.captionCell {
	width: 100%;
}

.captionHeader {
	margin: auto;
	width: 100%;
	display: block;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 5vw;
	overflow: auto;
}

.captionSubtitle {
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	margin-top:20px;
	font-size: 2vw;
}

.captionSubtitle a {
	color: white;
	text-decoration: underline;
}

.captionSubtitle a:hover {
	cursor: pointer;
}

#premiumFlightSubtitle {
	font-size: 1.9vw;
}

#descriptorsHolder {
	margin-top: 40px;
	width:100%;
}

.descriptors {
	margin: 0 auto;
	border-spacing:100px;
}

.descriptors td {
	width: 300px;
	text-align: center;
	font-family: 'Josefin Sans', sans-serif;
}

.descriptorsImage td img {
	height: 80px;
	width: 80px;
}

.descriptorsTitle td {
	padding-top: 20px;
	font-size: 26px;
}

.descriptorsDescription td {
	padding-left: 10px;
	padding-right: 10px;
	font-size:18px;
	font-weight: 300;
}

#quoteText {
	text-align: center;
	font-family: 'Josefin Sans', sans-serif;
	font-size:30px;
	font-weight: 300;
}

.sectionHeader {
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 100px;
	text-align: center;
	color: white;
	text-decoration: none;
}

.sectionSubtext {
	margin-left: 10%;
	margin-right: 10%;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 30px;
	text-align: center;
	color: white;
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

.sectionBannerSmall {
	display: table;
	margin-top: 0px;
	height: 350px;
	width: 100%;
}

#flightPlanningSection {
	background: url(Images/flightPlanningBackground.png) no-repeat center center;
	background-size: 100% auto; 
}

#simulationSection {
	background: url(Images/simulationBackground.png) no-repeat center center;
	background-size: 100% auto; 
}

.sectionInfoHolder {
	display: table-cell;
	vertical-align: middle;
}

#viewProgress {
	background: white url('/Images/progress.png') no-repeat center center;
	background-size: 100px auto;
}

#customExam {
	background: white url('/Images/custom_exam.png') no-repeat center center;
	background-size: 100px auto;
}

#practiceExam {
	background: white url('/Images/practice_exam.png') no-repeat center center;
	background-size: 100px auto;
}

#regsSheet {
	background: white url('/Images/faa_regs.png') no-repeat center center;
	background-size: 100px auto;
}

.premiumLock {
	display: none;
	width:125px;
	height: 125px;
	background: rgb(70,70,70) url('/Images/lock.png') no-repeat center center;
	background-size: 100px auto;
	/*opacity: .9;*/
	border-radius: 5px;
	position: relative;
}

.lockedHeader {
	margin: 0px;
	color: #E3B737;
	font-family: 'Josefin Sans', sans-serif;
	font-size: 14px;
	position: relative;
	top: 10px;
}

.lockedSubtitle {
	margin: 0px;
	color: #E3B737;
	font-family: 'Josefin Sans', sans-serif;
	font-size: 12px;
	position: absolute;
	width:100%;
	text-align: center;
	bottom: 5px;
}

.premiumHeader {
	font-family: 'Josefin Sans', sans-serif;
	font-size: 14px;
	text-align: center;
	font-weight:700;
	color: #0A447A;
	position: absolute;
	width:100%;
	margin-top: 5px;
}

@media (max-width: 1000px) {

	#flightTrainingBanner {
		background-size: auto 150%;
	}

	#faaRegulationBanner {
		background-size: auto 150%;
	}

	#discoverClimadriveBanner {
		background-size: auto 150%;
	}

	#newFlightPlanningBanner {
		background-size: auto 150%;
	}

	#droneTrainingBanner {
		background-size: auto 150%;
	}

	#flightPlanningBanner{
		background-size: auto 200%;
	}

	#commercialTrainingBanner {
		background-size: auto 160%;
	}

	 .captionSubtitle {
		font-size: 20px;
	 }	
}

.bannerVerticalAlign {
	display: table-cell;
	vertical-align: middle;
	position:absolute;
	height:100%;
	width:100%;
}

.header {
	text-align: center;
	color: white;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 60px;
}

.priceSubtitle {
	color: white;
	text-align: center;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 30px;
}

.whiteShadowText {
	color: white;
	// text-shadow: 2px 2px #000000;
	text-shadow: 2px 2px 8px #000000;
	text-align: center;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 30px;
}

.blackShadowText {
	color: black;
	// text-shadow: 2px 2px #000000;
	text-align: center;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 30px;
}

.climaDriveCaption {
	color: #ffffff;
	text-align: center;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 40px;
}

.droneTrainingInformation {
	color: white;
	text-align: center;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 26px;
}

.addToShoppingCart {
	border: 2px solid white;
	border-radius: 10px;
	width: 300px;
	background-color: transparent;
	color: white;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 500;
	font-size: 22px;
	margin-top: 5px;
}

.trainingInformation {
	margin-top: 25px;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 22px;
	margin-left:100px;
	margin-right:100px;
}

@media screen and (max-width: 750px) {

	#elearningImages img {
		height: 150px;
		width: 150px;
	}

	#elearningBanner {
		background-size: 100% 600px;
		margin-top: 100px;
	}

	.captionHeader {
		font-size: 40px;
	}

	.captionSubtitle {
		margin-top:5px;
		font-size: 18px;
	}

	.carousel img {
		min-height: 500px;
		min-width: 1000px;
		overflow: hidden;
	}

	#quoteText {
		display: none;
	}

	#quoteAuthor {
		display: none;
	}
}

@media (max-width: 600px) {

	.sectionHeader {
		font-size:30px;
	}

	.sectionSubtext {
		font-size: 20px;
	}

	#elearningImages img {
		height: 100px;
		width: 100px;
	}

	#elearningBanner {
		margin-top: 200px;
		background-size: auto 500px;
	}

	#flightPlanningSection {
		background-size: auto 150%;
	}

	#simulationSection {
		background-size: auto 150%;
	}
}

@media only screen and (max-device-width: 480px) and (orientation:portrait) {

	#myCarousel {
		height: 1000px !important;
	}

	.carousel-inner .item img {
		height: 100%;
		min-width: 2000px;	    
	}

	.captionHeader {
		font-size: 80px;
	}

	.captionSubtitle {
		font-size: 30px;
	}

	.descriptorsImage td img {
		height: 150px;
		width: 150px;
	}

	.descriptorsTitle td {
		font-size: 40px;
	}

	.descriptorsDescription td {
		font-size:30px;
		vertical-align: top;
	}

	#quoteText {
		display: none;
	}

	#quoteAuthor {
		display: none;
	}

	.sectionHeader {
		font-size:50px;
	}

	.sectionSubtext {
		font-size: 30px;
	}

	#elearningImages img {
		height: 200px;
		width: 200px;
	}

	#elearningBanner {
		margin-top: 50px;
		background-size: 100% auto;
	}

	#flightPlanningSection {
		background-size: 100% auto;
	}

	#simulationSection {
		background-size: 100% auto;
	}

	.socialTable tr td a i {
		font-size: 100px;
		margin-left: 20px;
		margin-right: 20px;
	}
}

@media only screen and (max-device-width: 480px) and (orientation:landscape) {

	.carousel {
		height: 400px;
	}

	.carousel-inner .item img {
		height: 100%;
		min-width: 100px;
	}

	.captionHeader {
		font-size: 50px;
	}

	.captionSubtitle {
		width: 100%;
		font-size: 20px;
	}

	.descriptorsImage td img {
		height: 150px;
		width: 150px;
	}

	.descriptorsTitle td {
		font-size: 40px;
	}

	.descriptorsDescription td {
		font-size:30px;
		vertical-align: top;
	}

	#quoteText {
		display: none;
	}

	#quoteAuthor {
		display: none;
	}

	.sectionHeader {
		font-size:50px;
	}

	.sectionSubtext {
		font-size: 30px;
	}

	#elearningImages img {
		height: 200px;
		width: 200px;
	}

	#elearningBanner {
		margin-top: 50px;
		background-size: 100% auto;
	}

	#flightPlanningSection {
		background-size: 100% auto;
	}

	#simulationSection {
		background-size: 100% auto;
	}
}