@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,600,700);

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

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

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

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

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

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

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

textarea {
    resize: vertical;
}




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


body {background:url(img/header-image.jpg) #FFF no-repeat center 0; font-family: 'Open Sans', sans-serif; font-size:0.8em;}

#container-header {background:url(img/header-banner.png) no-repeat center 0;}

#container {background:url(img/watermark.png) center 0 no-repeat;}

#wrapper {width:95%; max-width:968px; margin:0 auto;}





/* Header
=======*/

header {clear:both; height:395px;}

#logo {background:url(img/logo.png); width:245px; height: 154px; float:left; z-index:999; position:relative;}

#prestolite-logo {background:url(img/prestolite-logo.png); width:200px; height: 72px; float:right;}


/* Navigation
=======*/


#home #nav-home a, #hydraulic #nav-hydraulic a, #electric #nav-electric a, #spring #nav-spring, #hydrotor #nav-hydrotor, #contact #nav-contact a {
	background: #3a3a3a; color:#FFF;
	border-bottom: 4px solid #181818;
	cursor:default;}
	
	
/*

Responsive Mobile Menu v1.0
Plugin URI: responsivemobilemenu.com

Author: Sergio Vitov
Author URI: http://xmacros.com

License: CC BY 3.0 http://creativecommons.org/licenses/by/3.0/

*/

.rmm {
	display:block;
	position:relative;
	width:100%;
	padding:0px;
	margin:0 auto;
	text-align: center;
	float:right;
	margin-top:-247px;
}
.rmm * {
	-webkit-tap-highlight-color:transparent !important;
}
.rmm a {
	color:#FFF;
	text-decoration:none;
}
.rmm .rmm-main-list, .rmm .rmm-main-list li {
	margin:0px;
	padding:0px;
}
.rmm ul {
	display:block;
	width:100% !important;
	margin:0 auto !important;
	overflow:hidden;
	list-style:none;
}


/* sublevel menu - in construction */
.rmm ul li ul, .rmm ul li ul li, .rmm ul li ul li a {
	display:none !important;
	height:0px !important;
	width:0px !important;
}
/* */


.rmm .rmm-main-list li {
	display:inline;
	padding:padding:0px;
	margin:0px !important;
}
.rmm-toggled {
	display:none;
	width:100%;
	position:relative;
	overflow:hidden;
	margin:0 auto !important;
}
.rmm-button:hover {
	cursor:pointer;
}
.rmm .rmm-toggled ul {
	display:none;
	margin:0px !important;
	padding:0px !important;
}
.rmm .rmm-toggled ul li {
	display:block;
	margin:0 auto !important;
}

/* MINIMAL STYLE */

.rmm.minimal a {
	border-right: 1px solid #66a8cf;
	color:#FFF;
	font-weight:bold;
	height:28px;
	padding:9px 15px 15px 15px;
	text-decoration:none;
	text-align:center;
	border-bottom: 4px solid transparent;
}
.rmm.minimal a:hover, .rmm.minimal a:focus {
	background: #3a3a3a; color:#FFF;
	border-bottom: 4px solid #181818;
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
.rmm.minimal .rmm-main-list li a {
	display:inline-block;
	padding:9px 15px 15px 15px;
	margin:0px -1px 0px -1px;
}
.rmm.minimal .rmm-toggled {
	width:95%;
	min-height:36px;
}
.rmm.minimal .rmm-toggled-controls {
	display:block;
	height:36px;
	color:#333333;
	text-align:left;
	position:relative;
}
.rmm.minimal .rmm-toggled-title {
	position:relative;
	font-weight:bold;
	top:17px;
	left:9px;
	color:#FFF;
}
.rmm.minimal .rmm-button {
	display:block;
	position:absolute;
	right:9px;
	top:17px;
}

.rmm.minimal .rmm-button span {
	display:block;
	margin:4px 0px 4px 0px;
	height:2px;
	background:#FFF;
	width:25px;
}
.rmm.minimal .rmm-toggled ul li a {
	display:block;
	width:100%;
	text-align:center;
	padding:10px 0px 10px 0px;
	border-bottom:1px solid #dedede;
	color:#FFFFFF;
	background: #145BA9;
}
.rmm.minimal .rmm-toggled ul li:first-child a {
	border-top:1px solid #dedede;
}



/* Content
=======*/

#content {float:left; width:72%;}

#content b {font-weight:600;}

#content h1, #content h2, #content h3 {color:#145ba9;}

#content h2 {margin-top:1.5em;}

#content h1 {text-align:center;}

#content hr {border:none; color:#d3d4d3; background-color:#d3d4d3; height:2px; width:40%; max-width:80px; margin: 20px auto 40px auto;}

#content ul {list-style-type:none;}

#content ul li {
	background:url(img/list-bullet.png) no-repeat 0 3px;
	padding-left:24px;
}


.offer {float:left; max-width:300px; padding-top:23px; margin:30px 0 30px 0;}

#downloads {background:url(img/downloads.png) no-repeat top left; margin:0 auto;}

#downloads h2 {padding-left:45px; padding-top: 15px;}

.offer hr {color:#99b9d9; background-color:#99b9d9; height:2px; max-width:80px; margin: -10px auto 30px auto;}



.offer h2 {text-align:center;}

.offer {background:url(img/offer.png) no-repeat top center; margin-right:40px;}


.cta {clear:both; font-size:140%; font-weight:bold; text-align:center; width:50%; margin: 40px auto;}


#content a {color: #135ca8; text-decoration:none;}

#content a:hover, #content a:focus {text-decoration:underline;}


.imageleft {float:left; margin:0 14px 10px 0;}

.imageright {float:right; margin:0 0 10px 14px;}

.imageleft img, .imageright img {margin-top:5px; max-width:100%;}

#content .imageright a:hover, #content .imageleft a:hover {text-decoration:none;}


#first-i {margin-left:60px;}



#tooltip
{
    text-align: center;
    color: #fff;
    background: #145BA9;
    position: absolute;
    z-index: 100;
    padding: 15px;
	box-shadow: 1px 1px 1px #333;
	border-radius: 10px;
}
 
    #tooltip:after /* triangle decoration */
    {
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #145BA9;;
        content: '';
        position: absolute;
        left: 50%;
        bottom: -10px;
        margin-left: -10px;
    }
 
        #tooltip.top:after
        {
            border-top-color: transparent;
            border-bottom: 10px solid #111;
            top: -20px;
            bottom: auto;
        }
 
        #tooltip.left:after
        {
            left: 10px;
            margin: 0;
        }
 
        #tooltip.right:after
        {
            right: 10px;
            left: auto;
            margin: 0;
        }


/* Side bar
=======*/

#sidebar {width:244px; background:#145ba9; padding-top:20px; float:right;}

#sidebar a {color:#FFF; text-decoration:none;}
#sidebar a:hover, #sidebar a:hover {color:#FFF; text-decoration:underline;}

#sidebar hr {border:none; color:#5a8dc2; background-color:#5a8dc2; height:2px; width:40%; margin: 20px auto;}

#sidebar b {font-weight:600;}

#pullquote {color:#FFF; font-size:180%; width:195px; margin:40px auto; font-style:italic;}

#addressbox, #telephonebox, #emailbox {
	width:100%;
	float:left;
	text-align:center;
	color:#FFF;
	font-size:120%;
	line-height:170%;
	padding-top:45px;
	padding-bottom:15px;
	margin-top:15px;
	background-repeat:no-repeat;
	background-position:top center;}
	
#addressbox {background:url(img/addressbox.png) no-repeat top center;}
#telephonebox {background:url(img/telephonebox.png) no-repeat top center;}
#emailbox {background:url(img/emailbox.png) no-repeat top center;}


/* Footer
=======*/

footer {
	clear:both;
	background:#9a9b9a;
}
#footer {
	background:#9a9b9a; 
	font-size:90%;
	font-weight:600;
	width:95%; 
	max-width:968px; 
	margin:0 auto;
	color:#dedede;
	padding:10px 0 20px 0;
	}
	
#footer ul {margin:0; padding:0; list-style:none;}
#footer li {padding:2px 1px;}
#footer a {text-decoration:none; color:#dedede;}
#footer a:hover, #footer a:focus {color:#474747;}

#footer h1 span {border-bottom:2px solid #abacab; padding:0 0 5px 0; font-weight:600;}



#copyright {background:#474747; color:#989898; font-size:90%;}

#copyright-wrapper {
	width:95%; 
	max-width:968px; 
	margin:0 auto;
	padding:1px 0;}

#copyright a {color:#989898;}



/* Forms 
===========*/

*:focus{outline:none !important; /* Prevents blue border in Webkit */}
		
#form {		
			width:85%;
			margin: 20px auto;
			
		}
		
#form fieldset {
			width:50%;
			float:left;
		}
		
#form .enquiry {width:100%; float:left;}
		
#form label {
			height:21px; 
			line-height:21px;
			cursor:default;}
 
#form input, #form textarea {
			
			background-color:#fff;
			border:1px solid #ccc;
			font-size:11px;
			font-family:Tahoma, Geneva, sans-serif;
			color:#333;
			width:90%;
			height:19px;
			display:block;
			margin:5px 0 16px 0;
			padding:2px;			
			-webkit-border-radius:5px;
			-moz-border-radius:5px;
			border-radius:5px;

		}
		
		
#form textarea {
			    width:95%;
				min-height:100px;						
		}

		
#form input:valid, textarea:valid   {  }

 
#form input:focus, textarea:focus {
			-webkit-box-shadow:0 0 15px #ccc;
			-moz-box-shadow:0 0 15px #ccc;
			box-shadow:0 0 15px #ccc;			
			
		}
		
		/* The interesting bit */
		
#form input:not(:focus), textarea:not(:focus) {
			opacity:0.9;
			
		}
		
#form input:required, textarea:required {
			background:#FFF url("img/asterisk_orange.png") no-repeat 98% 0.3em;						
		}
 
#form input:valid, textarea:valid {
			background:#FFF url("img/tick.png") no-repeat 98% 0.3em;			
		}		
 
#form input:focus:invalid, textarea:focus:invalid {
			background:#FFF url("img/cancel.png") no-repeat 98% 0.3em;						
		}
 
#form input[type=submit], #form input[type=button], #button {
	width: 120px;
	height:34px;
	font-size: 12px;
	margin: 10px auto;
	padding: 2px;
	color: #FFF;
	font-weight:bold;
	background:url(img/sidebar.png);
	border:1px solid #999;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	clear:both;
	float:none;
		}
		
#form input[type=submit], #form input[type=button] {margin:5px auto; background:#145ba9;}


#form input:hover[type=submit], #form input:hover[type=button], #button:hover {
			color:#FFF;
			   /* fallback/image non-cover color */
   background:#3a3a3a;
		}

label.error { text-align: left !important; margin:-15px 0 10px 0; color: #CC0000; padding: 0; height: auto; width: 200px !important; float:left;}
input.error, textarea.error { border: 1px solid #CC0000 !important }

#form p {clear:both;}



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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.floatleft {float: left;}
.floatright {float: right;}

img.floatleft  {padding:3px 14px 10px 0;}

img.floatright  {padding:3px 0 10px 14px;}

.bold {font-weight:600;}

.center {text-align:center;}

.antispam { display:none;}

/* ==========================================================================
   Media Queries
   ========================================================================== */
 
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (-moz-min-device-pixel-ratio: 1.5),
	only screen and (-o-min-device-pixel-ratio: 3/2),
	only screen and (min-device-pixel-ratio: 1.5) {

}
 
@media screen and (max-width: 950px) {
	  
#wrapper {width:100%; max-width:968px; margin:0 auto;}

#logo {margin-left:10px; margin-top:5px;}

#prestolite-logo {margin-right:10px;}


/* Tablet Content
=======*/

#content {float:none; width:95%; margin:0 auto;}





	  
	  
/* Tablet Side bar
=======*/

#sidebar {width:100%; float:left; background:#145ba9; padding-top:0; border-bottom: 2px solid white;}

#sidebar hr {display:none;}

#pullquote {display:none;}

#addressbox, #telephonebox, #emailbox {
	margin-top:0;
	float:left;
	width:33%;
	min-height:200px;

	}

#emailbox {border-right:1px solid white;}	
#telephonebox {border-left:1px solid white; border-right:1px solid white;}
#addressbox {border-left:1px solid white;}

#addressbox {background:#145ba9 url(img/addressbox.png) no-repeat center 10px;}
#telephonebox {background:#145ba9 url(img/telephonebox.png) no-repeat center 10px;}
#emailbox {background:#145ba9 url(img/emailbox.png) no-repeat center 10px;} 

	  

/* Tablet Footer
=======*/

#copyright {font-size:70%;}	  
	  
  }
  
    
@media screen and (max-width: 690px) {
	  
#wrapper {width:100%; max-width:968px; margin:0 auto;}


/* Mobile Content
=======*/

#content {float:none; width:90%; margin:0 auto;}


.imageleft {float:none; margin:0 auto; width:100%;}

.imageright {float:none; clear:left; margin:0 auto; width:100%;}


.offer {float:none; max-width:100%; clear:both;}


.cta {width:100%;}

	  
	  
/* Mobile Side bar
=======*/

#sidebar {width:100%; float:left; background:#FFF; border:none;}

#sidebar hr {display:none;}

#pullquote {display:none;}

#addressbox, #telephonebox, #emailbox {
	font-size:100%;
	padding-top:15px;
	padding-bottom:15px;
	margin-top:0px;
	border:none;
	border-bottom:2px solid #FFF;
	width:100%;
	min-height:0px;
	}
	
#addressbox {background:#145ba9 url(img/addressbox.png) no-repeat 10px 10px;}
#telephonebox {background:#145ba9 url(img/telephonebox.png) no-repeat 10px 10px;}
#emailbox {background:#145ba9 url(img/emailbox.png) no-repeat 10px 10px;} 
	  

/* Mobile Footer
=======*/

#copyright {font-size:70%;}	  



/*form
=======*/
		
#form form {
	width:80%;
	}
		
#form fieldset {
	width:100%;
	float:none;
	}
		
#form label {
	float:none;
	margin:5px auto;
	line-height:1em;
	}
 
#form input, #form textarea {
	width:80%;
	height:19px;
	margin:5px auto;
	}
		
#form textarea {
	width:80%;
	min-height:100px;
	}
	  
  }
   
   
#prestolite-logo {margin-right:10px;}
   
@media screen and (max-width: 500px) {
	
	#prestolite-logo {display:none;}
	
}

   
   

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

    .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;
    }

    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;
    }
}