/*
 * 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
   ========================================================================== */




   
body {
	background: #E6E6E6 url('/images/pagebg.png') repeat-y center;
	font-family: 'Open Sans', 'Arial', Sans-serif;
	margin: 0;
	padding: 0;
	}

/* Begin Text CSS */

.white {
	color: #FFFFFF;
	}

.italic {
	font-style: italic;
	}

.semibold {
	font-weight: 600;
	}

.bold {
	font-weight: 700;
	}
	
.light {
	font-weight: 300;
	}

.font25px {
	font-size: 25px;
	}
	
.font15px {
	font-size: 15px;
}

h1 {
	font-size: 23px;
	}

/* End Text CSS */

/* Begin Link Styling CSS */

.header a:link {
	color: #777777;
	text-decoration: none;
	}

.header a:visited {
	color:#777777;
	text-decoration: none;
	}

.header a:hover {
	color:#333333;
	text-decoration: none;
	}
	
.header a:active {
	color:#333333;
	text-decoration: none;
	}

.content a:link, .rightCol a:link  {
	color: #0000EE;
	text-decoration: none;
	}

.content a:visited, .rightCol a:visited {
	color:#0000EE;
	text-decoration: none;
	}

.content a:hover, .rightCol a:hover {
	color:#777777;
	text-decoration: none;
	}
	
.content a:active, .rightCol a:active {
	color:#777777;
	text-decoration: none;
	}	
	
.navbar a:link, .navbar a:visited{
	color: #FFFFFF;
	text-decoration: none;
	padding: 13px 13px;
	float: left;
	width: auto;
	border-right: 1px solid #777777;
	height: 19px;
	}


.navbar a:hover {
	color:#FFFFFF;
	text-decoration: none;
	background: url('/images/navSelbg.png') repeat-x top;
	}
	
.navbar a:active {
	color:#FFFFFF;
	text-decoration: none;
	}

.footer a:link {
	color: #CCCCCC;
	text-decoration: none;
	}

.footer a:visited {
	color:#CCCCCC;
	text-decoration: none;
	}

.footer a:hover {
	color:#FFFFFF;
	text-decoration: none;
	}
	
.footer a:active {
	color:#FFFFFF;
	text-decoration: none;
	}

/* End Link Styling CSS */

.pageWrapper {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	background: #FFFFFF;
	}

.header {
	width: 958px;
	height: 94px;
	margin: 0px auto 1px auto;
	background: url('/images/headerbg.png') repeat-x center;
	padding-top: 6px;
	}

.header .headerLogo {
	width: 316px;
	height: 84px;
	margin-left: 15px;
	background: url('/images/herveyBayComputersLogo.png') no-repeat center;
	float: left;
	}

.header .contactNow {
	float: right;
	margin: 5px 25px 0 0;
	text-align: center;
	}

.navbar {
	width: 958px;
	height: 45px;
	margin: -14px auto 1px auto;
	padding: 0;
	background: url('/images/navbg.png') repeat-x top;
	list-style: none;
	}
	
.navbar li {
	display: inline;
	padding: 0;
	margin: 0;
	}

.navbar li:first-child a {
	margin-left: -26px;
	border-left: 1px solid #777777;
	}
	
.banner {
	position: relative;
	width: 958px;
	height: 350px;
	margin: 0 auto 0 auto;
	border: none;
	}

.rotating-item {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	border: none;
}

.main {
	width: 958px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	background: #FFFFFF;
	}
	
.content {
	width: 570px;
	height: auto;
	margin: 1px 10px 1px 20px;
	float: left;
	}

.contentBorder {
	width: 1px;
	height: 40%;
	margin: 10% 0 10% 0;
	float: right;
	background: #CCCCCC;
	}

.rightCol {
	width: 326px;
	margin: 1px 10px 1px 20px;
	float: left;
	}
	
.footer {
	width: 960px;
	height: 175px;
	background: url('/images/footerbg.png') no-repeat top;
	clear: both;
	}

.footerLogo {
	width: 316px;
	height: 71px;
	background: url('/images/herveyBayComputersLogoWhite.png') no-repeat center;
	margin: 87px 47px 0px 15px;
	float: left;
	}	

.social {
	float: left;
	margin-top: 90px;
	}

.social .facebook {
 	padding: 5px 5px 5px 48px;
	background: url('/images/facebook.png') no-repeat;
	margin-bottom: 5px;
	}
	
.social .twitter {
 	padding: 5px 5px 5px 48px;
	background: url('/images/twitter.png') no-repeat;
	}	
	
.footerLinks ul {
	list-style: none;
	margin: 0 0 0 -20px;
}
	
.quickLinks1 {
	float: left;
	width: 200px;
	margin-top: 80px;
	margin-left: 35px;
	}

.quickLinks1 .footerLinks {
	float: left;
	width: 200px;
	}
	
.quickLinks2 {
	float: left;
	width: 130px;
	margin-top: 80px;
	}

.quickLinks2 .footerLinks {
	float: left;
	width: 120px;
	}
	
.content li {
list-style-type: none;
background: url('/images/success.gif') no-repeat 0 4px;
height: auto;
padding: 0px 0 5px 35px;
margin-left:-20px;
}
   
.fb-like-box {
margin: 10px 10px 10px 15px;
width: 300px;
}
   
   
   
   
   
   
 /* begin contact form css */  

#contact p, label, legend { font: 1.2em "Open Sans", Arial, sans-serif; }

#contact h1 { margin: 10px 0 10px; font-size: 24px; color: #333333; }
#contact hr { color: inherit; height: 0; margin: 6px 0 6px 0; padding: 0; border: 1px solid #d9d9d9; border-style: none none solid; }

#contact {
	display: block;
	width: 500px;
	margin: 50px auto;
	padding: 35px;
	border: 1px solid #cbcbcb;
	background-color: #FFF;

	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;

	box-shadow: 0 2px 5px rgba(50, 50, 50, 0.1);
	-webkit-box-shadow: 0 2px 5px rgba(50, 50, 50, 0.1);
	-moz-box-shadow: 0 2px 5px rgba(50, 50, 50, 0.1);
}

/* Form style */

mark.validate {
	display: inline-block;
	margin: 12px 0 0 10px;
	width: 16px;
	height: 16px;
	background: transparent none;
}
mark.valid {
	background: url(../img/success.gif) no-repeat top left;
}
mark.error {
	background: url(../img/error.gif) no-repeat top left;
}

#contact label {
	display: inline-block;
	float: left;
	height: 0.8em;
	line-height: 1em;
	padding: 6px 0 0;
	width: 155px;
	font-size: 1.2em;
	margin: 5px 0;
	clear: both;
}

#contact label small {
	font-size: 0.55em;
	margin-left: 5px;
	color: #ccc;
}

#contact label.verify {
	padding: 0;
	margin: 2px 10px 2px 0;
	width: 145px;
	text-align: right;
}
#contact label.verify img {
	padding:1px;
	border:1px solid #cccccc;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
}

#contact input, #contact textarea, #contact select {
	width: 220px;
	padding: 5px;
	color: #666;
	background: #f5f5f5;
	border: 1px solid #ccc;
	margin: 5px 0;
	font: 1em "Open Sans", Arial, sans-serif;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	vertical-align: top;

	transition: all 0.25s ease-in-out;
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;

	box-shadow: 0 0 5px rgba(81, 203, 238, 0);
	-webkit-box-shadow: 0 0 5px rgba(81, 203, 238, 0);
	-moz-box-shadow: 0 0 5px rgba(81, 203, 238, 0);
}
#contact select {
	width: 232px;
	margin: 8px 0;
}
#contact input#verify {
	width: 55px;
}
#contact textarea {
	width: 262px;
}
#contact input:focus, #contact textarea:focus, #contact select:focus {
	border: 1px solid #ddd;
	background-color: #fff;
	color:#333;
	outline: none;
	position: relative;
	z-index: 5;

	box-shadow: 0 0 5px rgba(81, 203, 238, 1);
	-webkit-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
	-moz-box-shadow: 0 0 5px rgba(81, 203, 238, 1);

	-webkit-transform: scale(1.05);
	-moz-transform: scale(1.05);

	transition: all 0.25s ease-in-out;
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
}
#contact input.error, #contact textarea.error, #contact select.error {
	box-shadow: 0 0 5px rgba(204, 0, 0, 0.5);
	-webkit-box-shadow: 0 0 5px rgba(204, 0, 0, 0.5);
	-moz-box-shadow: 0 0 5px rgba(204, 0, 0, 0.5);
	border: 1px solid #faabab;
	background: #fef3f3
}
#contact input.submit {
	width: auto;
	cursor: pointer;
	position: relative;
	border: 1px solid #282828;
	color:#fff;
	padding: 6px 16px;
	text-decoration: none;
	font-size: 1.5em;

	background:#555;

	background:-webkit-gradient(
	    linear,
	    left bottom,
    	left top,
	    color-stop(0.12, rgb(60,60,60)),
	    color-stop(1, rgb(85,85,85))
	);
	background:-moz-linear-gradient(
	    center bottom,
	    rgb(60,60,60) 12%,
    	rgb(85,85,85) 100%
	);

	box-shadow: 0 2px 3px rgba(0,0,0,0.25);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.25);

	text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
}
#contact input.submit:hover {
	background: #282828 !important;
	transition: none;
	-webkit-transition: none;
	-moz-transition: none;
}
#contact input.submit:active, #contact input.submit:focus {
	top: 1px;
}

#contact input[type="submit"][disabled] { background:#888; }
#contact fieldset { padding:20px; border:1px solid #eee; -webkit-border-radius:5px; -moz-border-radius:5px; margin:0 0 20px; }
#contact legend { padding:7px 10px; font-weight:bold; color:#000; border:1px solid #eee; -webkit-border-radius:5px; -moz-border-radius:5px; margin-bottom:0 !important; margin-bottom:20px; }
#contact input[type="checkbox"] { width:20px; margin-top:11px; }
#contact span.required{ font-size: 13px; color: #ff0000; } /* Select the colour of the * if the field is required. */

#message { margin: 1em 0; padding: 0; display: block; background: transparent none; }

.error_message { display: block; height: 22px; line-height: 22px; background: #FBE3E4 url('../img/error.gif') no-repeat 10px center; padding: 3px 10px 3px 35px; color:#8a1f11;border: 1px solid #FBC2C4; -webkit-border-radius:5px; }

.loader { padding: 0 10px; }

#contact #success_page h1 { background: url('../img/success.gif') left no-repeat; padding-left:22px; }

#contact input[type="radio"] { width: 20px; margin-top:0px;}
#contact .radio {width:100%;}

acronym { border-bottom:1px dotted #ccc; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* end contact form css */ 
   
   
   
   
   
   
   
   
   
   
   













/* ==========================================================================
   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;
    }

			/* commented these lines out coz it was messing with my a tags on normal stuff
    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;
    }
}
