/* custom theme css - Airgas theme 2018 */

/* reset site max-width */
@media all and (min-width: 1455px) {
.master-wrapper-content, .header, .header-menu, 
.footer-upper, .footer-lower {
	width: 100%;
	max-width:1405px;
}
}

/* global */
body {
    max-width: 100%;
    overflow-x: hidden;
    background-color: #fff;
	color: #222;
	/* font: 400 16px 'Roboto', sans-serif; */
	font-size:16px; 
	font-weight:400;
	font-family:'Roboto', sans-serif;
}
.input-validation-error {
    border: 2px dashed red;
}

.primary-button[disabled] {
    background-color: #7e9699;
    cursor: not-allowed;
}

/* list content */
.category-description ul, .manufacturer-description ul, .full-description ul, .topic-block ul, .topic-page ul, .post-body ul { text-align:left; }

/* forms */
input, textarea, select {
    font-size: 16px;
    font-family:'Roboto', sans-serif;
}
select { height:auto; }

/* buttons */
button, input[type="button"], input[type="submit"], input[type="reset"] {
    -webkit-appearance: none;
}
input[type="button"], input[type="submit"], button, .button-1, .button-2 {
text-transform:uppercase; font-weight:600; font-family:'Roboto', sans-serif;
}
.primary-button {   
	background-color: #f58220;
    width: auto;
    padding: 0 20px;
    height: 36px;
    line-height: 36px;
    border: none;
    color: #FFF;
    font-size: 17px;
	text-align:center;
}
.danger-button {
    background-color: #b60000;
    width: auto;
    padding: 0 20px;
    height: 36px;
    line-height: 36px;
    border: none;
    color: #FFF;
    font-size: 17px;
    text-align: center;
}
.overview .add-to-cart-button, .variant-overview .add-to-cart-button,
body.csp .item-box input[type="button"] {
    display: inline-block;
    height: 42px;
    border: none;
    vertical-align: middle;
	background:#ff7f03;
	font-size:18px;
    background: -webkit-gradient(linear, left 0%, left 100%, from(#ff7f03), to(#e86301));
    background: -webkit-linear-gradient(top, #ff7f03 0%, #e86301 100%);
    background: -moz-linear-gradient(top, #ff7f03 0%, #e86301 100%);
    background: linear-gradient(to bottom, #ff7f03 0%, #e86301 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFF7F03', endColorstr='#FFE86301', GradientType=0);
}
.overview .add-to-cart-button:hover, .variant-overview .add-to-cart-button:hover,
body.csp .item-box input[type="button"]:hover {
    background:#ff7f03;
	background: -webkit-gradient(linear, left 0%, left 100%, from(#ff7f03), to(#e86301));
    background: -webkit-linear-gradient(top, #ff7f03 0%, #e86301 100%);
    background: -moz-linear-gradient(top, #ff7f03 0%, #e86301 100%);
    background: linear-gradient(to bottom, #ff7f03 0%, #e86301 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFF7F03', endColorstr='#FFE86301', GradientType=0);
}

/* header */
.opc .allow .step-title,
.opc .allow .step-title .number {
    background-color: #f58220;
}
#topcartlink { margin-top:0; }
.header-links-wrapper { padding:10px 0; padding-top:0; }
.header-selectors-wrapper { display:none; }
.header-logo a img {
	width:100%;
	max-width:352px;
}
.header-upper { background-color:#EEE; z-index:11; }
.header-menu > ul > li > a {
	text-transform:uppercase;
	
}
.header-lower {
    padding: 25px 0;
}
.search-box .search-box-button { 
	width: 50px;
    padding: 0;
    min-width: 0;
    margin-left: -50px;
    background: transparent;
    color: #ff7f03;
    font-size: 20px;
	height:48px;
}
.search-box .search-box-button:hover { background: transparent; }
.search-box input.search-box-text  {
    height: 40px;
    padding: 5px 50px 5px 10px;
	border:2px solid #EEE;
	border-radius:2px;
	font-size:18px;
}

@media (min-width: 1001px) {
.header-links-wrapper { padding:0; }
.mini-shopping-cart {
    font-size: 14px;
}
.header-links a, .header-links span {
    font-size: 14px;
	text-transform:uppercase;
}
.header-full { background-color:#f58220; }

.header-menu { 
	border:none; 
    padding:0;
    text-align: left;
}
.header-menu > ul > li {
    border-left: 0;
	padding:0 20px;
}
.header-menu > ul > li:first-child {
    padding-left: 0;
}
.header-menu > ul > li > a {
    padding: 20px 0;
	color:#FFF;
}
.header-menu > ul > li > a:hover {
    color: #3a3a3c;
    font-weight: 600;
}
.header-menu .sublist {
    width: 250px;
    box-shadow: 0 0 15px rgba(0,0,0,.35);
}
.header-menu .sublist li a {
    padding: 10px 20px 10px 20px;
    font-size: 16px;
}
.header-menu .sublist li a::before { display:none; }
.search-box .search-box-button { 
    height: 60px;
}
.search-box input.search-box-text  {
    height: 60px;
    padding: 10px 50px 10px 15px;
	border:2px solid #EEE;
	border-radius:2px;
	font-size:18px;
}
.header-menu > ul > li > a::before {
    font-family: "Font Awesome 5 Free";
    content: "\f107";
    border: none;
    vertical-align: baseline;
    margin-right: 8px;
    width: auto;
    height: auto;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-weight: 600;
    font-size: 1rem;
}
}


@media (min-width: 1367px) {
.header-menu > ul > li > a, .header-menu > ul > li > span {
    font-size: 20px;
}
}

@media (max-width: 1000px) {
.menu-toggle {
    background-color: #f58220;
}

.header { width:90%; max-width:600px; margin:auto; }
.search-box.store-search-box { width:100%; }

.search-box.store-search-box #small-search-box-form { width:100%; }

.search-box.store-search-box #small-search-box-form input.search-box-text { width:100%; height:48px; }

.header-lower { padding-bottom:15px; }
}

@media (min-width: 481px) {
.search-box input.search-box-text {
    width: 600px;
}
}
@media (min-width: 481px) and (max-width: 1000px) {
.header  {
    width: 92.5%;
}
}

/* footer */
@media (min-width: 1001px) {
.footer-info {
	float:none;
	line-height: 32px;
}
.footer-powered-by {
	float: none;
	margin: 0;
	line-height: 32px;
}
}
.footer { }
.footer .footer-upper { border:none; }
.footer .footer-logo { }
.footer .footer-logo img { width:100%; max-width:176px; }
.footer .footer-upper .footer-category-menu { display:flex; flex-flow:row nowrap; justify-content: center; align-items:baseline; text-align:center; font-size:17px; padding-top:30px; }
.footer .footer-upper .footer-category-menu > a { display:inline-block; text-transform:uppercase; font-weight:600; padding:10px 15px 10px 15px; color:#f58220; } 
.footer .footer-upper .footer-category-menu > a:hover { text-decoration:underline; }
.footer .footer-lower { font-size:14px; }
.footer .footer-lower-bg { background-color:#f58220; color:#FFF; font-size:14px; }
.footer .footer-lower-bg a,
.footer .footer-lower-bg a:hover { color:#FFF; }
@media (max-width: 1000px) {
.footer .footer-upper .footer-category-menu { flex-flow:column wrap;align-items:center;  }
}

/* product grid */
.item-box .prices, .item-box .actual-price {
	color: #f58220;
	font-size:22px;
}
.item-box .product-title {
    color: #222;
}
.item-box .product-title a:hover { color: #00636e; text-decoration:underline; }

.block-category-navigation.block .sublist {
    margin: 15px 0 10px;
    margin-top: 0;
}
.block-category-navigation.block .list li {
    padding: 0px 0 0px 15px;
}
.item-box .picture a {
    background-color: #f5f5f5;
}
.item-box:hover .picture a img {
    opacity: 1;
}
.item-box .picture a img { opacity:1; mix-blend-mode: multiply; }

@media (min-width: 769px) {
.item-box {
    width: 31.33333%;
    margin: 0 1% 50px;
}
}

@media (min-width: 1367px) {
.item-box {
	width: 23%;
	margin: 0 1% 50px;
}
.item-box:nth-child(3n+1) {
	clear: none;
}
.item-box:nth-child(4n+1) {
	clear: both;
}

.center-2 { width:78%; }
.side-2 { width:20%; }
}
.side-2 .block .title, 
.center-2 .page-title { min-height:52px; }
.center-2 .product-selectors { border-bottom:0; }

/* homepage */
@media (min-width: 1001px) {
body.csp .theme-custom {
    margin-top:0; 
}
}
.home-page-category-grid .title a, .sub-category-grid .title a {
    padding: 10px 5px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    background-color: #AAA;
    color: #FFF;
}

.home-page-category-grid .title a, .sub-category-grid .title a:hover { background-color:#999; }

.home-page .topic-block { margin-bottom:30px; }
.home-page .topic-block-title { padding:0; margin:0; border:none; }
    .home-page .topic-block-title h2 {
        color: #3a3a3c;
        font-size: 36px;
    }

body.csp .theme-custom .nivo-controlNav a.active {
    background-color: #f58220;
}

/* product page */
.overview .product-price, .variant-overview .product-price { color:#f58220; font-size:28px; } 

.gallery .picture, .thumb-popup-link { background:#f5f5f5; }
.gallery .picture img, .gallery .picture-thumbs img, .variant-picture img { mix-blend-mode: multiply; }

.overview .qty-input, .variant-overview .qty-input {
    width: 60px;
    height: 42px;
    padding: 0 12px;
    text-align: center;
    font-size: 22px;
    color: #444;
    font-weight: 600;
    border-color: #ff7f03;
    border-width: 2px;
}
.overview .flex-container { 
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: flex-start;
}
#cspLogoitButton {
	height: 42px;
    line-height: 42px;
    border: 0;
    padding: 0 20px;
    width: 100%;
    max-width: 221px;
    position: relative;
    text-align: left;
    color: #FFF;
    font-size: 18px;
}
#cspLogoitButton::after { 
    content: "";
    display: inline-block;
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url(../images/csp-icon.png);
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    margin-top: -15px;
    right: 15px;
}
.overview .add-to-cart-panel, .variant-overview .add-to-cart-panel {
	margin-bottom: 20px;
    margin-right: 20px;
}

@media (max-width: 1000px) {
.overview .flex-container {
    flex-flow: column wrap;
    align-items: center;
}
.overview .add-to-cart-panel, .variant-overview .add-to-cart-panel { margin-right:0; }
}

/* modal */
.modal { display:none; position:fixed; background-color:rgba(0,0,0,.5); width:100%; height:100%; left:0; right:0; top:0; bottom:0; z-index:100; }
.modal-inner { position:relative; top:200px; margin:auto; width:100%; max-width:600px; background-color:#FFF; padding:30px; }
@media (max-width: 630px) {
.modal-inner { width:92%; }

}
@media (max-width: 1000px) {
	.modal-inner { top:50px; }
}
.modal.active { display:block; }
.modal-header { margin-bottom:20px; }
.modal-header .modal-title { font-size:26px; font-weight:400; }
.modal-body { }
.modal-close {
    position: absolute;
    right: 5px;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    width: 32px;
    height: 32px;
    top: 5px;
    text-align: center;
}
.modal-close:hover { color:#f58220; }
.input-flex { display:flex; flex-flow:row nowrap; }
.input-flex input { width:100%; }
.input-flex button { margin-left:20px; }