html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
	font-family: Tahoma, Verdana, Segoe, sans-serif;
}

.site-header {
	background: #cfd1d7; /* Old browsers */
background: -moz-linear-gradient(top, #cfd1d7 0%, #f4f4f4 51%, #cfd1d7 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #cfd1d7 0%,#f4f4f4 51%,#cfd1d7 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #cfd1d7 0%,#f4f4f4 51%,#cfd1d7 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cfd1d7', endColorstr='#cfd1d7',GradientType=0 ); /* IE6-9 */
	width:100%;
	padding: 0vw 3vw;
    border-bottom: solid #000 12px;
}

.site-logo {float:left;padding-right:0;margin-top:4vw;max-width:40%;}
.site-logo img {width:100%;height:auto;max-width:350px; }
.site-title {float:left;top:6vw;position:relative;}
.site-title h1 {font-size:3vw;margin:0; -webkit-margin-after: 0;}
.site-title h4 {font-size:1.25vw;font-weight: normal;font-style: italic;margin:0;    -webkit-margin-before: 0;
}
.site-nav {
 /*   float: right;*/
    list-style-type: none;
    margin: 7px 0 0;
    padding: 0;
	position: absolute;
    right: 2vw;
    top: 2vw;
}
.site-nav {    position: absolute;
    right: 0;
    top: 0vw;
    background: #000000;
    width: 100%;
    margin: 0;
    padding: 1vw 0;}
ul, menu, dir {
    display: block;
    list-style-type: disc;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 40px;
}
.inline-block-list li:first-child {
    margin-left: 0;
	padding-left:2em;
}
.inline-block-list li {
    display: inline-block;
    margin: 0 0 0 1.5em;
    padding: 0;
    vertical-align: top;
}
.site-nav a {
    color: #FFF;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
background-repeat: no-repeat;
background-position: left;
padding-left: 32px;
    background-size: contain;
}
.site-nav a:active, .site-nav a:focus, .site-nav a:hover {
    color:#AF222F;
}
.site-nav #search {margin-right: 2.5em;}
.site-nav a.addtocart {background-image: url('../media/shopping-cart-icon-white.png');}
.site-nav a.addtocart:hover {background-image: url('../media/shopping-cart-icon-red.png');}
.site-nav a.email {background-image: url('../media/email-icon-white.png');}
.site-nav a.email:hover {background-image: url('../media/email-icon-red.png');}
.site-nav a.phone {background-image: url('../media/phone-icon-white.png');}
.site-nav a.phone:hover {background-image: url('../media/phone-icon-red.png');}

.hero {
	width:100%;
	height:400px;
	background-image:url('../media/CP-header-image.png');
	background-size:cover;
	}
.hero-overlay { float: right;
    background-color: #CA212A;
    -webkit-box-shadow: -4px 5px 5px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: -4px 5px 5px 0px rgba(0,0,0,0.3);
    box-shadow: -4px 5px 5px 0px rgba(0,0,0,0.3);
    border-radius: 10px 0 0 10px;
    padding: 1vw 1.5vw;
    position: relative;
    bottom: -65%;
    width: 50%;
}
.hero-overlay h2 {margin:.5em 0 0 0;color:#FFF}
.hero-overlay h4 {margin:.5em 0;color:#FFF;font-weight: normal;}

.sidebar {
	background-color: #CFD1D5;
	width:30%;
	margin:2vw 2vw;
	min-height: 200px;
	border-radius: 10px 10px 0 0;
	padding: .5em 1em;
	float:left;
}
.sidebar h3 {
	margin:.25em;
	color:#CA212A;
	font-weight: normal;
	text-transform: uppercase;
	border-top:solid #CA212A 1pt;
	padding:.5em 0 0 .5em;
	clear:both;
	transition:0.4s;
	cursor:pointer;
}
.sidebar h3 a {color:#CA212A; text-decoration:none}
.sidebar h3 a.addtocart {background-image: url('../media/shopping-cart-icon-red.png');
background-repeat: no-repeat;
background-position: left;
padding-left: 32px;
    background-size: contain;}
.sidebar h3:hover {font-weight:bold}
.sidebar p {margin:0 1em;}
.sidebar img.creditcards {   
	width: 60%;
    height: auto;
    margin: 0 auto;
    margin-left: 3.5em;
	margin-bottom:2em;
}
.panel {
	max-height:0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
}
.panel.active {overflow: visible;}
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
.main {width:60%;float:left;
	padding-top:1em;}
.main p.intro {color:#CA212A; font-style: italic;}
.main p.intro.black {color:#000;}
p.accordion {font-weight: bold;color:#CA212A}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}
footer {
    clear: both;
    text-align: center;
    width: 80%;
    margin: 0 auto;
    font-size: .85em;
}
/*****************************
   Typography   **************/
h1, h2,h3, h6 {font-family: 'Yantramanav', 'Myriad Pro', Helvetica, Arial, 'sans-serif'}

/*
 * A better looking default horizontal rule
 */

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

/*********
 Sidebar Navigation
*/

input#search-field {width: 80%;
    padding-left: .5em;
    padding-right: 0.25em;
}
.navigation {
  padding: 0;
  margin: 0;
  border: 0;
  line-height: 1;
}

.navigation ul,
.navigation ul li,
.navigation ul ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation ul {
  position: relative;
  z-index: 500;
  float: left;
  margin-bottom: 1em;
}

.navigation ul li {
  float: left;
  min-height: 0.05em;
  line-height: 1em;
  vertical-align: middle;
  position: relative;
}

.navigation ul li.hover,
.navigation ul li:hover {
  position: relative;
  z-index: 510;
  cursor: default;
}

.navigation ul ul {
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0px;
  z-index: 520;
  width: 100%;
}

.navigation ul ul li { float: none; }

.navigation ul ul ul {
  top: 0;
  right: 0;
}

.navigation ul li:hover > ul { visibility: visible; }

.navigation ul ul {
  top: 0;
  left: 99%;
}

.navigation ul li { float: none; }

.navigation ul ul { margin-top: 0.05em; }

.navigation {
  width: 100%;
  zoom: 1;
}

.navigation:before {
  content: '';
  display: block;
}

.navigation:after {
  content: '';
  display: table;
  clear: both;
}

.navigation a {
  display: block;
padding: 0.35em 1em;
color: #000000;
  text-decoration: none;
  text-transform: uppercase;
}
.navigation li.indent {padding:.035em 1em;}
.navigation > ul { width: 80%; }

.navigation ul ul { width: 100%; }

.navigation > ul > li > a {
  color: #000000;
}

.navigation > ul > li > a:hover { color: #ffffff; }
.navigation ul li:hover > ul { border-top:solid 3pt #848a94;  }
.navigation > ul > li a:hover,
.navigation > ul > li:hover a { background: #CA212A;color:#FFFFFF;border-top:solid 3pt #848a94; margin-top:-1px; }
.navigation > ul > li:hover > ul > li a {border-top:none;}

.navigation li { position: relative; }

.navigation ul li.has-sub > a:after {
  content: '»';
  position: absolute;
  right: 1em;
}

.navigation ul ul li.first {
  -webkit-border-radius: 0 3px 0 0;
  -moz-border-radius: 0 3px 0 0;
  border-radius: 0 3px 0 0;
}

.navigation ul ul li.last {
  -webkit-border-radius: 0 0 3px 0;
  -moz-border-radius: 0 0 3px 0;
  border-radius: 0 0 3px 0;
  border-bottom: 0;
}

.navigation ul ul {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}

.navigation ul ul { /*border: 1px solid #34A65F;*/ }

.navigation ul ul a { color: #ffffff; }

.navigation ul ul a:hover { color: #ffffff; }

.navigation ul ul li { /*border-bottom: 1px solid #0F8A5F;*/ }

.navigation ul ul li:hover > a {
  background: #848a94;
  color: #ffffff;
}

.navigation.align-right > ul > li > a {
  border-left: 0.3em solid #CA212A;
  border-right: none;
}

.navigation.align-right { float: right; }

.navigation.align-right li { text-align: right; }

.navigation.align-right ul li.has-sub > a:before {
  content: '+';
  position: absolute;
  top: 50%;
  left: 15px;
  margin-top: -6px;
}

.navigation.align-right ul li.has-sub > a:after { content: none; }

.navigation.align-right ul ul {
  visibility: hidden;
  position: absolute;
  top: 0;
  left: -100%;
  z-index: 598;
  width: 100%;
}

.navigation.align-right ul ul li.first {
  -webkit-border-radius: 3px 0 0 0;
  -moz-border-radius: 3px 0 0 0;
  border-radius: 3px 0 0 0;
}

.navigation.align-right ul ul li.last {
  -webkit-border-radius: 0 0 0 3px;
  -moz-border-radius: 0 0 0 3px;
  border-radius: 0 0 0 3px;
}

.navigation.align-right ul ul {
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}

.navigation a.reg-link {color:#CA212A;background: none;display: inline;}
/*
 * 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;
}
/***************************************
	Parts Advice Submit Question form */

/* Full-width input fields */
.seeking-advice input[type=text], .seeking-advice input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.seeking-advice input[type=textarea]{
	    width: 98%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline;
    border: 1px solid #ccc;
    box-sizing: border-box;
	
}
/* Set a style for all buttons */
.seeking-advice button {
    background-color: #CA212A;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

/* Extra styles for the cancel button */
.seeking-advice .cancelbtn {
    padding: 14px 20px;
    background-color: #CFD1D5;
}

/* Float cancel and signup buttons and add an equal width */
.seeking-advice .cancelbtn, .seeking-advice .signupbtn {float:left;width:50%}

/* Add padding to container elements */
.seeking-advice .container, .thank-you .container {
    padding: 16px;
	minimum-height:20vw;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    width: 60%; /* Could be more or less, depending on screen size */
}

/* The Close Button (x) */
.seeking-advice .close {
    position: absolute;
    right: 35px;
    top: 15px;
    color: #000;
    font-size: 40px;
    font-weight: bold;
}

.seeking-advice .close:hover,
.seeking-advice .close:focus {
    color: red;
    cursor: pointer;
}

/* Clear floats */
.seeking-advice .clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Change styles for cancel button and signup button on extra small screens */
@media screen and (max-width: 300px) {
    .seeking-advice .cancelbtn, .seeking-advice .signupbtn {
       width: 100%;
    }
}

/* END Parts Advice form **************/



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

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

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

















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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, 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;
}

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

@media only screen and (min-width: 75em) {
	/*1200px & up */
	.hero {height:500px;}
}

@media all and (min-width: 60em) and (max-width: 74.938em) { 
	/* Between 960px and 1199px */	
	.hero {height:356px;}
	.hero-overlay {width:60%;}
}
@media all and (min-width: 48em) and (max-width: 59.938em) {
  /* Between 768px and 959px */
	.hero {height:356px;}
	.hero-overlay {width:60%;}
	
}
@media all and (max-width:59.938em){
	
	.site-title h1 {font-size:5vw;}
	.site-title h4 {font-size:2.5vw;}
}
@media all and (max-width: 47.938em){
	/*Below 767px */
	.hero {height:356px;}
	.hero-overlay {width:100%;bottom:-80%}
	.hero-overlay h2 {padding:0 1em;}
	.hero-overlay h4 {padding:0 1em;}
	.content {margin-top:2vw;}
	.sidebar img.creditcards {width:100%;margin-left:0;}
}
@media all and (max-width: 37.438em) {
	/*599px and below */
}
@media all and (max-width: 29.938) {
	/*479px and below */	
}



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

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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