/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}











/* ==========================================================================
   Custom styles
   ========================================================================== */

#mueller-indicators {
  display: none;
  visibility: hidden;
}

.box {
	display:block;
	background: rgba(250,97,33, 0.8);
	/* color:#ddd; */
	color: #EFEFEF;
	padding:0.5em 1em;
	margin-bottom: 0.5em;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	-ms-border-radius:4px;
	-o-border-radius:4px;
	border-radius:4px;
	overflow:hidden;
	*zoom:1
}

.borderb {
	border-bottom: 1px dotted #999;
}

.box ul {
	margin: 0 0.6em;
	padding: 0 0.6em;
}

.box b {
	color: rgba(10,60,150, 1);
}

.invert .box {
	color: #fff;
	background-color: #333;
}

.invert .box b {
	color: yellow;
}

.student {
	margin-bottom: 1em;
}

.student .box {
	background-color: rgba(10,60,150, 1);
}

.student .box b {
	color: rgba(250,97,33, 1);
}

a.noul {
	text-decoration: none;
}

footer {
	text-align: center;
	font-size: 10px;
	padding: 20px; 
}

h1 {
	color: rgba(250,97,33, 0.8);
    text-shadow: 1px 4px 6px #def, 0 0 0 #000, 1px 4px 6px #def;
	font-family: 'Slabo 27px', serif;
	text-align: center;
	text-transform: uppercase;
	line-height: 1em;
}

h1 span.sub {
	text-transform: capitalize;
	font-size: .75em;
	color: rgba(10,60,150, 1);
}

/* HEADER */

img.logo {
	height: 55px;
	float: left;
	margin: 8px 12px 0 0;
	padding-right: 14px;
	border-right: 1px dotted #999; 
}

div.search {
	float: right;
	background-color: #999;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	-ms-border-radius:4px;
	-o-border-radius:4px;
	border-radius:4px;	
	padding: 5px;
	margin-top: 25px;
	
}

div.search-button {
	display: inline-block;
	color: #666;
	background-color: #fff;
}

div.nav-search-container {
  overflow: hidden;
  width: 250px;
  vertical-align: middle;
  white-space: nowrap;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
}

div.nav-search-container input#client {
  width: 235px;
  height: 43px;
  background: #fff;
  border: none;
  font-size: 10pt;
  float: left;
  color: #333;
  padding-left: 15px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
}

div.nav-search-container input:focus {
  outline: none;
}

div.nav-search-container button.icon{
  border: none;
  background: #fff;
  height: 45px;
  width: 45px;
  color: #1D3469;
  font-size: 10pt;
 
  -webkit-transition: all .55s ease;
  -moz-transition: all .55s ease;
  -ms-transition: all .55s ease;
  -o-transition: all .55s ease;
  transition: all .55s ease;
  margin-left: -45px;
  outline: none;
}

div.nav-search-container button.icon:hover{
  background: #1D3469;
  color: #fff;
}

/* HOMEPAGE */

div.poster {
	height: 300px;
	background-color: #333;
	margin-bottom: 20px;
	background-size: cover;
	background-position: calc(50% - 80px) center;
	background-image: url('../img/homepage.jpg');
	position: relative; 
}

#patch {
	position: absolute;
	top: 0;
	right: 0;
	height: 300px;
	border-left: 18px solid #fff;
}

#patchTxt {
	position: absolute;
	top: 15px;
	right: 0;
	background-color: rgba(34,41,61, 1);
	color: #fff;
	padding: 10px; 
	width: 20%;
	font-size: .8em;
	border-left: 2px solid #1A1D28;
	border-bottom: 2px solid #1A1D28;
	border-top: 2px solid #1A1D28;
}

#patchTxt a {
	color: rgba(250,97,33, 1);
}

/* ADMIN */

.allFullInputs input, .allFullInputs select {
	width: 97%;
	color: #000 !important;
}

#certpanel {
	margin-top: 15px;
	background-color: #cecece;
	padding: 10px;
	text-align: center;
}

.login_form_bg {
	width: 100%;
	padding: 20px 0;
	background-color: #999;
}

table.adm {
	width: 100%;
	margin-top: 1em;
}

table.adm th {
	background-color: #222;
	color: #fff;
	font-weight: bold;
	text-align: left;
	border: 1px solid #fff;
	padding-left: 3px;
	padding-right: 3px;
}

table.adm td {
	padding: .1em .3em;
	border: 1px solid #fff;
}

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

td.shrink {
	font-size: .8em;
}

/* OTHER */

img.lp {
	width: 100%;
	max-width: 700px;
}

img.lps {
	width: 50%;
	max-width: 350px;
}

/* VIDEO */

#cboxOverlay {
  display: table;
  height: 100%;
  position: fixed;
  top: 0;
  width: 100%;
  background: #000;
  z-index: 9999;
}

.iframe-loaded {
  width:100%;
  height:98%;
}

/* UPLOAD */

div.upload_bg {
  position: absolute;
  top: -300px;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, .8);
  z-index: 21;
  display: none;
  visibility: hidden;
}

div.upload_form, div.exit_form {
  z-index: 22;
  width: 90%;
  max-width: 300px;
  background-color: rgba(255, 255, 255, .2);
  padding: 10px;
  display: none;
  visibility: hidden;
}

div.upload_form_bg {
  background-color: rgba(255, 255, 255, .9);
  padding: 10px;
}

form.upload div.form {
  width: 90%;
  max-width: 280px;
  float: none;
  clear: both;
  padding: 0;
}

form.upload input {
  border-bottom: 1px solid #333 !important;
  margin: 0 0 2px 0 !important;
  width: 100% !important;
}

form.upload div.form  button {
  /* width: 48%; */
  width: 32%;
  font-size: .8em;
  margin-top: 5px;
}

a.cancel {
  position: absolute;
  top: -15px;
  right: -15px;
  color: red;
  font-size: 2em;
}

/* Training styles */
ol.side{margin-left:9px;padding-left:9px; margin-top: 2px; padding-top: 2px;}
ol.side li{margin-bottom:10px;}
/* ol.sideS li{line-height:1em;} */
.tname{font-weight:bold;color:yellow;}
.tloc{font-size:.8em;}
.tdate{font-size:.8em;}

/* CONTACT */

#sendit { display: none; visibility: hidden; }

input.contactsub {
	width: 100%;
	height: 100px;
}

#contactmessage {
	width: 98%;
	height: 90px;
}

center.contact {
	font-family: 'Slabo 27px', serif;
	font-size: 2em;
	color: rgba(10,60,150, 1);
	font-weight: bold;
	margin-bottom: 10px;
}

/* STAMP */

#stamp { position: absolute; transform: rotate(10deg); }











/* ==========================================================================
   Display specific tweaks
   DEFAULT: 981px - 1249px
   ========================================================================== */

/* HIRES DESKTOP */
@media screen and (min-width: 1801px) and (max-width: 6000px){
	div.search {
		padding: 11px;
		margin-top: 33px;		
	}
	
	div.nav-search-container {
		width: 300px;
	}

	div.nav-search-container input#client {
		width: 285px;
	}
	
	img.logo {
		height: 70px;
	}

	div.poster {
		height: 400px;
	}
	
	#patch {
		height: 400px;
		border-left-width: 22px;
	}
	
	#patchTxt {
		top: 20px;
		width: 14%;
		border-width: 3px;
	}

	input.contactsub { height: auto; width: 99%; }
	
	#stamp { right: 10px; top: -35px; }
	#stampbox { padding-bottom: 20px; }
}

/* LARGE DESKTOP */
@media screen and (min-width: 1250px) and (max-width: 1800px){
	div.search {
		padding: 11px;
		margin-top: 33px;		
	}

	div.nav-search-container {
		width: 300px;
	}

	div.nav-search-container input#client {
		width: 285px;
	}
	
	img.logo {
		height: 70px;
	}

	div.poster {
		height: 350px;
	}
		
	#patch {
		height: 350px;
		border-left-width: 22px;
	}

	#patchTxt {
		top: 20px;
	}
	
	b.side { font-size: 1.5em; }
	
	#stamp { right: 5px; top: -35px;  width: 145px; }
}

@media screen and (min-width: 981px) and (max-width: 1249px){
	b.side { font-size: 1.5em; }
	#stamp { right: 5px; top: -35px;  width: 145px; }
	#stampbox { padding-bottom: 20px; }
}

/* TABLET PORTRAIT */
@media screen and (min-width: 768px) and (max-width: 980px){
	div.search {
		-webkit-border-radius:0 0 4px 4px;
		-moz-border-radius:0 0 4px 4px;
		-ms-border-radius:0 0 4px 4px;
		-o-border-radius:0 0 4px 4px;
		border-radius:0 0 4px 4px;
		margin: 0 0 -10px 0;
		float: none;
	}
	
	div.nav-search-container {
		width: 690px;
	}

	div.nav-search-container input#client {
		width: 675px;
	}	

	div.poster {
		height: 250px;
	}

	#patch {
		height: 250px;
		width: 340px;
		border-left-width: 21px; 
	}

	#patchTxt { width: 25%; }

	input.contactsub { height: auto; width: 99%; }

	#stamp { right: 10px; top: -85px; }
}

/* HANDHELD LANDSCAPE */
@media screen and (min-width: 480px) and (max-width: 767px){
	div.search {
		-webkit-border-radius:0 0 4px 4px;
		-moz-border-radius:0 0 4px 4px;
		-ms-border-radius:0 0 4px 4px;
		-o-border-radius:0 0 4px 4px;
		border-radius:0 0 4px 4px;
		margin: 0 0 -10px 0;
		float: none;
	}
	
	div.nav-search-container {
		width: 420px;
	}

	div.nav-search-container input#client {
		width: 405px;
	}	

	img.logo {
		height: 25px;
		margin: 5px 8px 0 0;
		padding: 0 5px 15px 0;
		/* border-bottom: 13px solid rgba(10,60,150, 1); */
	}

	div.poster {
		height: 200px;
		background-position: center center;
	}

	#patch {
		height: 154px;
		top: 20px;
		right: 20px;
		border: 3px solid #1A1D28;
	}
	
	#patchTxt {
		border-width: 3px;
		width: 31%;
		top: 0;
		border-top: none; 
	}

	b.side { font-size: 1.5em; }

	#stamp { right: 5px; top: -55px; width: 115px; }
}

/* HANDHELD PORTRAIT */
@media screen and (min-width: 0px) and (max-width: 479px){
	div.search {
		-webkit-border-radius:0 0 4px 4px;
		-moz-border-radius:0 0 4px 4px;
		-ms-border-radius:0 0 4px 4px;
		-o-border-radius:0 0 4px 4px;
		border-radius:0 0 4px 4px;
		margin: 0 0 -10px 0;
		float: none;
	}
	
	div.nav-search-container {
		width: 100%;
	}

	div.nav-search-container input#client {
		width: 98%;
	}	

	img.logo {
		display: none;
		visibility: collapse;
	}
	
	h1.header {
		border-left: 15px solid #999;
		padding: 0 0 0 5px;
	}

	div.poster {
		height: 150px;
		margin-bottom: 5px;
		background-position: center center;
	}

	#patch {
		visibility: collapse;
		display: none;
		
		height: auto;
		top: 120px;
		right: 20px;
		width: calc(100% - 46px);
		max-height: 200px;
		border: 3px solid #fff;
	}
	
	#patchTxt {
		visibility: collapse;
		display: none;
		
		top: 123px;
		right: 23px;
		width: 100px;
		border-top: none;
		border-color: #fff;
		border-width: 3px;
	}
	
	#patchTxtBot {
		text-align: center;
		margin: 5px;
	}

	b.side { font-size: 1.5em; }

	input.contactsub { height: auto; }

	#stamp { right: 5px; top: -160px; }
}

@media print {
	#stamp { right: 0; top: 55px; }
	#stampbox { padding-bottom: 130px; }
}