/*
 * HTML5 Boilerplate
 *test
 * 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;
}

html{background:#fff;}
    html.login{background:#4d6267;}

*{box-sizing: border-box;
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 auto;
    padding: 0;
}

hr.pickup{margin:20px 0 20px 0; width:100%; clear:both; float:left;}

.clear{width:100%; clear:both;}
/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

a{text-decoration:none;}
a:hover{text-decoration:underline;}

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





html{background: #fff;}
body {font-size: 1em; line-height: 1.4; font-family: 'Arial', Helvetica, sans-serif; font-weight:300; margin:0;padding:0;  color:#434343; }
a{color:#4d6267; text-decoration:none;}
a:hover{text-decoration:underline;}

h1 {
    font-size: 2em;
    margin: 0 0 10px 0;

}

h2 {
    font-size: 1.3em;
}

h3 {
    font-size: 1.15em;
    margin: 0.7em 0;
}

h4 {
   font-size: 0.875em;
margin: 0.5em 0;
font-weight: 600;
}

h5 {
    font-size: 0.83em;
    margin: 1.67em 0;
}

h6 {
    font-size: 0.67em;
    margin: 2.33em 0;
}
.wrapper{min-height: 100%;height: auto!important;height: 100%;margin: 0 auto -45px;}
.push {height: 45px;clear: both;}

/*TopBar styling**************************/
header{background:#f2f2f2; padding: 0 0 10px 0;}
	header h1{text-indent:-999em;  margin: 30px 0 35px 0;}
	header h1 a{background-image:url(../images/bgw-logo2.png);background-repeat:no-repeat;display:block;width:438px;height:48px;margin:auto;}
#search {position:relative;float: right;width:242px;z-index:900;padding-right: 0px;border-top: 1px solid #C5C5C5;border-left: 1px solid #C5C5C5;border-bottom: 1px solid #C5C5C5;border-right: 1px solid #C5C5C5;margin-top:-6px;border-radius:3px;}


#search fieldset{border: none;margin: 0px;padding: 0px;}
#search input[type=text] {padding:7px 5px;border:none;background:#f2f2f2;width:95%;font-size:12px;}
#search input[type=submit]{background:url(../images/search.png);width:20px;height:22px;border:none;text-indent:-999em;);position:absolute; right:5px; top:2px;}
#search .AS_ajax_resultsIntroFailure{display:none;}
.ajaxSearch_intro{display:none;}
.container{width:978px;position:relative;margin-left:auto;margin-right:auto;}
.internal{padding-top:20px;}
	.internal h1{margin-top:0;}
nav{float:left;font-family: 'Roboto', sans-serif;font-weight: 300;font-size: 14px;}
	nav ul{margin:0;padding:0;}
		nav ul li {background-image: url(../images/nav-bg.png);background-repeat: no-repeat;background-position:center left;margin: 0px;float:left;padding-left:12px;margin-right:10px;position:relative;}
		nav ul li ul{display:none;width:200px;}
			nav ul li ul li{padding: 10px 7px;background-image: none;background: #434343;float: none;}
			nav ul li ul li a{color:#fff;}
		nav ul li:hover ul{display:block;position:absolute;z-index:11;left: 5px;}
		nav a{color:#231f20; text-decoration:none;}
		nav a:hover{color:#ee2e24;text-decoration:none;}
#scroller{margin:20px 0;}
#scrollerTabs{margin:0;padding:0;height:435px!important; position:relative;}
	#scrollerTabs li{position:absolute;list-style:none;width: 100%; border-radius:3px; overflow:hidden;}
		#scrollerTabs li a{color:#231f20;}
	.whiteText{color:#fff!important;}
		.whiteText a{color:#fff!important;}
		#scrollerTabs li p{  position: absolute;left: 20px;bottom: -24px; font-family: 'Roboto', sans-serif;font-weight: 700;font-size: 39px;width: 73%;line-height: 53px;}
		.bgwt p{width: 90%!important;}
		#scrollerTabs li img{float:right;}
		#scroller .tabs {float: right;z-index: 10;position: relative;}
			#scroller .tabs a {display: block;width: 30px;height: 5px;background: #818182;float: left;margin: 7px 2px;}
				#scroller .tabs a.current{background:#f68c87;}
		.buttons a{position: absolute;top: 148px;width: 50px;height: 50px;border-radius: 3px;background-color: #ee2e24;z-index: 100;opacity: 0.8;background-image:url(../images/buttons-bg.png);overflow:hidden;}
			.prev{left: -25px;right:auto;background-position:0 0;}
			.next{right: -25px;left:auto;background-position:50px 0;}
#homeSections{margin:10px 0;}
.hSection{width:24%;margin:0 0.5%;height:189px;float:left;position:relative;background:#f2f2f2; border-radius:3px;padding:10px;}
	.hSection h2{margin:0 0 5px 0;}
	.hSection ul{margin:0;padding:0;}
		.hSection ul li{list-style:none;}

#newsSlides {overflow: hidden;position: relative;width: 100%;height: 130px;}
	#newsSlides ul {list-style: none;width: 100%;height: 250px;margin: 0;padding: 0;position: relative;}
	#newsSlides li {width: 100%;float: left;position: relative;overflow:hidden;}
	#newsSlides li p{font-size:11px;}
	#newsSlides li span{font-size:12px;}
	#newsSlides li a{color:#ee2e24;font-weight:bold;font-size:12px;}
  #newsSlides li a:hover{text-decoration: none;}
	#newsSlides img{max-height:40px;}
.newsItems{margin: 10px 0;padding: 10px 0;position: relative;}
.newsImg {float: left; margin-right: 2%;width: 22%;}
	.newsImg img {max-width: 100%;}
.newsTxt {float: left;width: 76%; position: relative;}
	.newsTxt h3, .featProduct h3 {padding-bottom: 3px;border-bottom: 1px solid #BEBEBE;}
	.newsTxt p.subtitle {font-style: italic;}
.membersButtons, .newsItems a.readMore, input[type=submit]{background: #ee2e24;color: #fff!important; padding: 10px;font-size: 0.8em; border-radius: 3px;display:block;float:right;border:none;}
.pdf, .excel{font-size:12px!important;float:left!important;padding-right:25px;background-position: 96% 47%; background-repeat: no-repeat;     padding-right: 42px;}
.pdf{background-image:url(../images/pdf.png);}
.excel{background-image:url(../images/excel.png);}
.nofloat{float:none!important;}

.featProduct{float:left;width:33.33%; padding:10px;position:relative;height:278px;margin-bottom: 50px;}
	.featProduct h4{border-bottom: 1px solid #BEBEBE;padding: 10px 0;}
	.featProduct img{max-width:200px;margin:10px 0;max-height:175px;}
	.featProduct a{font-size:12px; font-weight: bold;display: block;}
#featuredProducts img, #suppliers-random img{max-height:100px;max-width:100%;}
#featuredProducts a{text-align:center;display:block;}
#featuredProducts li, #suppliers-random li{width:100%;background:#fff;padding:10px;height:139px; list-style:none;}
#featuredProducts{margin:0; padding:0;}
	aside #featuredProducts{height:140px!important;}
	.featProductMain{  display: block;margin: auto;}
	#suppliers-random li{line-height:139px; padding:0 10px !important;text-align:center;}
#featuredProducts h4{font-size:12px; margin-top:3px !important;}
aside{width:240px; float:right;}
	.asideCon{background: #f2f2f2;border-radius: 3px;padding: 10px;margin-bottom:10px;position:relative;}
	.asideCon ul{padding:0;}
	.asideCon h2{margin-top:0;}
.intContent{float:left;width:670px;}
	.intContent h1{border-bottom:1px solid #BEBEBE;padding-bottom:5px;}
#buttons{  position: absolute;right: 10px;bottom: 2px;font-weight: bold;}
footer{background:#f2f2f2;}
footer p {margin-top: 7px;font-size:11px;}
.footerB{clear: both;float: left; padding: 15px 0; font-size: 11px; width: 100%;text-align: center;}
footer h2{  border-bottom: 1px solid #BEBEBE;padding-bottom: 5px;}
#footer-about{width:670px;float:left;}
#footer-contact{width:240px;float:right;text-align:left;}

header .ajaxSearch_resultsInfos, header #grpResult_site_wide{display:none!important;}
table.products{font-size: 12px;line-height: 20px;}
section{padding-bottom:30px;}

#resume ul li.margin, ul li.margin {margin:5px 20px 5px 0}
section.map .inputLrg, #resume .inputLrg, .inputLrg {
	background:url(../images/ico-search.jpg) 2% 49% no-repeat #fff;
	border:1px solid #e1e1e1;
	padding:10px 1.42% 10px 5.714%;
	color:#aaa;

	width:35.14%;
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	border-radius:2px;
	margin-right:1.42%
}
textarea.inputLrg {
	height:100px
}
#resume .inputLrg, .inputLrg {
	background:0 0;
	padding:10px 1.42%;
	width:100%;
	box-sizing:border-box
}
section.map .inputmed, #resume .inputmed, .inputmed {
	background:#fff;
	border:1px solid #e1e1e1;
	padding:10px 1.42%;
	color:#aaa;

	width:21%;
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	border-radius:2px;
	margin-right:1.42%
}
#resume .inputmed, #resume .inputmed, .inputmed {
	width:100%
}
section.internal form ul {
	margin:0;
	padding:0;
	list-style:none
}
section.internal form ul li {
	float:left;
	width:45%;
	margin:5px;
	height:55px
}
#resume ul li.margin, ul li.margin {
	margin:5px 20px 5px 0
}
section.internal form ul li.large {
	width:91.5%;
	height:auto
}
section.internal form label {
	display:block;

}
.Calsubmit {
	background:#b62428;
	color:#fff;
	font-family:Oswald, Arial, Helvetica, sans-serif;
	padding:10px 1.42%;
	border:0;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	border:5px solid #b62428;
	cursor:pointer;
	-webkit-appearance:none
}
.Calreset {
	background:#302d2e;
	color:#fff;
	font-family:Oswald, Arial, Helvetica, sans-serif;
	padding:10px 1.42%;
	border:0;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	border:5px solid #302d2e;
	cursor:pointer;
	-webkit-appearance:none
}
#confirmEmail{display:none;}
#maintain {
    padding: 0;
    background: #e5ecff;
    border: 1px solid #5e89ff;
    text-align: center;
}
#maintain p {
    color: #5e89ff;
    font-size: .7em;
}

.careers{padding:0;margin:0;font-size:12px;}
	.careers li{list-style:none;margin:10px 0;}
.contactDet{width: 40%;float: left;}
.contactMap{float: left;width: 59%;margin-left: 1%;}


#fb-link{position: absolute; right: 170px; bottom: 35px;}
#lin-link{position: absolute; right: 124px; bottom: 35px;}

#products {font-size:12px;}
#products h2 {color:#fff; font-weight:bold;font-size: 20px; padding: 0 10px;}

.creditApp{background:#f1574f;color:#fff!important;font-size:14px;font-weight:bold;text-align:center;padding:5px 0;display:block;
    opacity:0;margin-top:-29px;
    animation: fadein 800ms;
    -moz-animation: fadein 800ms; /* Firefox */
    -webkit-animation: fadein 800ms; /* Safari and Chrome */
    -o-animation: fadein 800ms; /* Opera */
    animation-delay: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

.form {
    width: 400px;
    margin: 20px auto!important;
}
.welcome{float: right;font-weight: bold; margin-top: -43px;}
.signup{    border: 1px solid #BEBEBE;width: 525px!important;padding: 20px;border-radius: 3px;}
.applicationForm{ display: none;}
.form label {
    display: block;
    font-size: 12px;
    padding: 15px 0 5px;
}
.form input[type=text], form input[type=email], form input[type=password] {
    padding: 10px 5px;
    border-radius: 2px;
    border: 1px solid #ccc;
    width: 100%;
}
.form select{
    padding: 10px 5px;
    border-radius: 2px;
    border: 1px solid #ccc;
}
.form textarea {
    display: block;
    height: 100px;
    border-radius: 2px;
    border: 1px solid #ccc;
    width: 100%;
    padding: 10px 5px;
}

label.checkbox{display: inline-block!important;padding-left: 10px!important;}
    #forgotpsswd{display: block!important;font-size: 12px!important;}
	.cancel{background: #7B7878;color: #fff!important;padding: 10px;font-size: 0.8em; border-radius: 3px;display: block;float: left;border: none;}
.form .largeBut {
    padding: 10px 15px;
    height: auto;
	margin: 15px 0;
}
.iframeApplication {
    border: 0;
}
#applicationL{cursor:pointer;}
#conEmail{display:none!important;}
.membersLink{
  position: absolute;
  right: 0px;
  bottom: 38px;
  color: #231f20;
  font-size: 12px;
  background: #ee2e24;
  color: #fff!important;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  padding: 10px;
  display: block;
  padding-bottom: 11px;
  border: none;
  text-shadow: 2px 2px 3px rgba(0,0,0,0.4);
  font-weight: 600;
}
@keyframes fadein {
    from {
        opacity:0;margin-top:-29px;
    }
    to {
        opacity:1;margin-top:0;
    }
}
@-moz-keyframes fadein { /* Firefox */
    from {
        opacity:0;margin-top:-29px;
    }
    to {
        opacity:1;margin-top:0;
    }
}
@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity:0;margin-top:-29px;
    }
    to {
        opacity:1;margin-top:0;
    }
}
@-o-keyframes fadein { /* Opera */
    from {
        opacity:0;margin-top:-29px;
    }
    to {
        opacity:1;margin-top:0;
    }
}

/*Desktop Style**********/
@media only screen and (min-width: 681px) {
}

/*Ipad changes**********************************************************************************************************************************/

@media screen and (min-width: 681px) and (max-width: 800px)
{

}

@media screen and (min-width: 885px) and (max-width: 1024px)
{


}

@media screen and (min-width: 681px) and (max-width: 1024px)
{



}

@media screen and (min-width: 1024px)
{

}

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

}


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

}





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

/*
 * 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.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */



@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

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

@media print
{
    body {font-size: 1em; line-height: 1.4;   margin:0;padding:0;  color:#000; }

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

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

    h1, h2, h3{float:none!important;}

    /*TopBar styling**************************/
    #bannerTop{width:90%; margin:auto; display:block;}
    #topBar{ margin:0 auto auto auto; width:100%; padding-top:20px;}
    #topBar header a{ content:url(../img/Sherriff-Letterhead-2012.png); width:100%;}

    aside, #searchCon, .supportLogos, .welcomeSignout, nav.mainNav, .navLinksBread, .showBrands, footer, .menuBox2, .printBut {display:none;}
    .mainNav{display:none;}
    .container{margin:20px auto auto auto; width:90%; display:block; padding-top:20px;}
}

/* saf3+, chrome1+ */
@media screen and (-webkit-min-device-pixel-ratio:0) {

}

.featProduct h4 + a {
  height: 200px;
  text-align: center;
  display: table-cell;
  width: 200px;
  vertical-align: middle;
}

.container.internal li {
  font-size: 0.75rem;
}