/*
 * HTML5 Boilerplate
 *
 * 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,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

::-moz-selection { background: #6a5446; color: #e0cdac; text-shadow: none; }
::selection { background: #6a5446; color: #e0cdac; text-shadow: none; }
html,body{
 	margin: 0; 	
 	padding: 0;
	height:100%;
	width: 100%;
	-webkit-text-size-adjust: 100%;
	/* -webkit-transform:translateZ(0); */
	
}

html{
	background-color: #1760ac; 
}

body {
 	position: relative;
 	top:0px;
 	color: #333;

 	-ms-overflow-x: hidden;
 	-ms-overflow-y: auto;
 	
 }

#wrapper-ground{
	position: fixed; 
	margin: 0 auto;
	top: 0;
	bottom: 0;	
	left: 0;
	right: 0;
	width: 80%;
	max-width: 1080px;
	content: "";
	/* height: 100%; */
	background: #fff;/**/
	-webkit-box-shadow: 0px 0px 15px 0px #000;
 	-moz-box-shadow: 0px 0px 15px 0px #000;
 	box-shadow: 0px 0px 15px 0px #000;
 	z-index: 2;
}

#container{
 	position: relative;
	margin: 0 auto;
	top: 0;
	bottom: 0;
	width: 80%;
	min-width: 600px;
	max-width: 1080px;
 	margin: 0 auto;
 	min-height:100%; /* make sure the groud goes to bottom of page*/
 	background: #fff;/**/
 	font-family: helvetica,sans-serif;
 	font-size: 14px;
 	color: #64554b;
 	z-index: 5;
 	overflow: visible;

 }
 
  header.logo{
 	position: relative;
 	top: 0;
 	background: transparent url(../img/PowerTechllc_logo.jpg) no-repeat top center;
 	background-size: contain;
 	margin: 0 auto;
 	width: 90%;
 	max-width: 610px;
 	height: 147px;	
 }
 
 header.logo h1{
  	display: none;
  }
  

 
/*
MENU
*/

.menu{
 	 position: relative;
	 margin: 20px auto;
	 width: 90%;
	 border-top: 1.5px solid #87a8c5;
	 border-bottom: 1.5px solid #87a8c5;
 }
.menu > nav:before,
.menu > nav:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.menu > nav:after {
    clear: both;
}
 
 .menu > nav{
 	position: relative;
 	margin:10px 0;
 	/*height: 25px;*/
 	text-align: center;	
 	/* text-transform: uppercase; */
 }
 
 .menu > nav ul{ 
 	position: relative;
 	margin: 0 auto;
 	padding: 0;
 	list-style-image: none;
 	list-style: none;
 	list-style-type: none;
 }
  .menu > nav li{
  	position: relative;
  	top:0;
/*
  	left:0;
  	right:0;
*/
  	margin: 0;
 	padding: 0;
 	width: auto;
 	float: left;
	/* border: 1px solid cyan; */
	text-align: center;
  }
   .menu > nav li.left{
	   /* right: auto; */
	   width: 15%;
	   float: left;
   }
   .menu > nav li.center{
   		margin: 0 auto 0 10%;
   		width: 45%;
   		float: left;
   		
    }
   .menu > nav li.right{
	   left: auto;
	   width: 25%;
	   float: right;
   }
  .menu > nav li a,
  .menu > nav p a,
  .menu > nav li.inactive{
  	text-decoration: none;
  	color: #000;
  	font-family:"Gill sans", sans-serif;
  	text-align: center;
 	font-size: 1.15em;
 	font-weight:600;
  	font-style: normal;
  	letter-spacing:.18em;
  }
   
  .menu > nav li a:hover{
  	text-decoration: none;
  	color: #87a8c5;
  	background: none;
  	background-color: none;
  }
  
  
  .menu > nav li.inactive{
	  color: #797979;
  }
     

 div.page{	
 	position: relative;
 	margin: 0 auto 0 auto; /* account for heihgt of the abs position footer*/
 	padding:0 0 60px 0;
 	width: 90%;
 	overflow: visible;
 	/* border: 1px dotted black; */
 }
  div.content{	
 	position: relative;
 	margin: 10px auto;
 	padding:0;
 }


 #container > footer{
 	position: absolute;
 	margin: 0 auto;
 	left:0;
 	right:0;
 	width: 90%;
 	height: 50px;
 	bottom:0;
 	font-family: helvetica,sans-serif;
	font-size: .75em;
	text-align: center;
	border-top: 1.5px solid #87a8c5;
 }
  #container > footer section{
	  margin: 15px auto 0 auto;
  }


/*
HOME PAGE
*/
 .home .lede-image{
 	margin: 0 auto;
	 width: 100%;
	 max-width: 1000px;
	 height:285px;
 }
 .home .lede-image img{
	 width: 100%;
 }
 
 .home .sponsor-bar{
 	position: relative;
 	margin: 34px auto;
	 width: 100%;
	 height:89px;
	 text-align: center;
	 background-color: #e4e9ed;
	 color: #1760ac;
 }
 .home .sponsor-bar_m{
 	position: relative;
 	margin: 34px auto;
	 width: 100%;
	 height:90px;
	 text-align: center;
	 background-color: #e4e9ed;
	 color: #1760ac;
 }
 .home div.sponsor-logo{
	 position: absolute;
	 top:0;
	 bottom:0;	
	 left:0;
	 right:0;
	 width: 100%; 
	 height: 100%; 
 }
 .home div.eera{
	 right:auto;

	 margin: 0 0 0 10px;
/*	 width:96px;
*/	
	 background-image: url('../img/logo-eera.png');
	 background-repeat: no-repeat;
	 background-position: center left;
 }
 .home div.pes{

	 left:auto;
	 margin: 0 10px 0 0;
/*	 width:112px;
*/
	 background-image: url('../img/logo-pes.png');
	 background-repeat: no-repeat;
	 background-position: center right;
 }
 
 .home .sponsor-bar p{
	position: absolute;
	top:30px;
	bottom: auto;
	left:0;
	right:0;
	margin: auto auto;
	font-size: 1.30em;
	line-height: 1.30em;
	word-spacing:18px;
 }
 .home .sponsor-bar_m p{
	position: absolute;
	top:26px;
	bottom: auto;
	left:0;
	right:0;
	margin: auto auto;
	font-size: 1.19em;
	line-height: 1.40em;
	word-spacing:14px;
 }
 
 .home aside{
 	position: relative;
 	margin: 0 auto;
 	padding: 0 0 0 .75%;
	height: 350px;
	width: 100%;
 }
 
 .home aside .column{
 	position: relative;
 	margin: 0 0;
	width: 32%;
 	float:left;
	/* border: 1px dashed green; */
	height: 100%;
	background-color: #c1ced9;
 }
 .home aside .columnwide{
 	position: relative;
 	margin: 0 0;
	width: 64%;
 	float:left;
	/* border: 1px dashed green; */
	height: 100%;
	background-color: #c1ced9;
 }
 .home aside .columnm{
     position: relative;
 	margin: 0 0;
	width: 100%;
 	float:left;
	/* border: 1px dashed green; */
	height: 100%;
	background-color: #c1ced9;
 }
 
 .home aside .column .img-holder,
 .home aside .column form{
 	position: absolute;
 	top:0;
 	bottom: 0;
 	left: 0;
 	right: 0;
	border:4px solid #cdd6de;
	overflow: hidden;
 }

 .home aside .column .img-holder img{
	width: 100%;	 
 }
 
 .home aside .column.center{
	margin: 0 1.5%;
 }
 .home aside .column .centerm{
    margin: auto;
 }

/*
CONTACT FORM
*/
#contact fieldset{
	position: relative;
	width: 100%;
}

#contact .form-inputs{
	/* border: 1px dashed red; */
}

#contact ol{
	position: relative;
	/* width: 100%; */
	margin: 0 0;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
 	list-style: none;
 	text-align: left;
 	/* border: 1px dashed green; */
}
#contact li{
	margin: 5px 0;
	padding: 0;
	text-align: center;
	clear: both;
}

#contact li lable{
	display: block;
	text-align: left;
}

#contact legend{
	margin: 0 0;
	font-size: 2em;
	font-weight: bold;
	text-align: center;
}

#contact input,
#contact textarea{
	width: 90%;
}

#contact .result{
	width: 95%;
	margin: 5px auto;
	text-align: center;
}

#contact input[type="submit"]{
	margin: 15px auto;
	text-align: center;
	width: 75px;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
