.wrapper, .main .blog{
	max-width: 1100px;
}
.t-black{
	color:#000;
}
.btn-green{
	background-color: #00b528;
	color:white;
}
.small-select{
	background-color: #ececec;
    padding: 4px 10px;
    border: 1px solid #aaa;
    border-radius: 4px;
    margin-left: 10px;
}
.btn-green:hover{
	background-color: #000;
	color:white;
}
.details-list .material-icons{
	cursor:pointer;
}
.details-list .material-icons:hover{
	color: #e2001a;
}
.btn-small{
	font-size: 14px;
    width: 100px;
	padding: 7px;
	margin:0px;
}
.edit-button{
	width: auto;
    border: 1px solid black;
    text-align: center;
    font-size: 19px;
    border-radius: 10px;
    background-color: #f4f3f2;
    padding: 8px;
}
.edit-button:hover{
	background-color: #ececec;
}
.edit-button:hover a{
	text-decoration:none;
}
.edit-button p{
	margin:0;
}
.edit-button i{
	vertical-align: bottom;
	padding-left:5px;
}
.admin .select-container, .account .select-container, .sales-admin .select-container {
	background-color: #f2f2f2;
}
.admin .select-container .select-hide, .account .select-container .select-hide {
	padding: 13px 20px;
	height:auto!important;
}
.outstanding-account-notification{
	background-color: #e2001a;
    color: white;
}
.admin input[type=number] {
 /*    border-bottom: 2px solid #737070; */
}
/* .admin .form .col-4{
	margin:0;
	width:calc(100%/3);
}
.account .form .col-6{
	margin:0;
	width:calc(100%/2);
} */
.admin form h3{
	color:black;
}
#errors{
	color: #e2001a;
}
.modal .content {
    height: auto;
}
label{
	font-size: 18px;
	line-height: 25px;
    font-weight: 500;
	color: #58595b;
}
#csv-file-specials, #csv-file-pricing, #csv-file-dealer-pricing, #upload-stock input, #upload-special-restrictions input {
   opacity: 0;
   position: absolute;
   z-index: -1;
}
#new-file-form input, #new-file-form .select2-selection, #new-special-form input, #new-special-form .select-container{
	background-color:#fff!important;
}
#new-file-form input[type="radio"]{
	margin-right: 5px;
	margin-left: 10px;
}
#file-list .delete-modal{
	cursor:pointer;
}
.login-as-user i{
	cursor:pointer;
}
.specials-sash{
	position: absolute;
    top: 25px;
    right: -70px;
    width: 254px;
    text-align: center;
    text-transform: uppercase;
    padding: 10px 60px;
    font-weight: 700;
    color: white;
    transform: rotate(-325deg);
    background-color: rgb(193, 39, 45);
}
.specials-sash p{
	margin:0;
}
.select2-container--default .select2-selection--single{
	padding: 5px 0px;
    height: 40px!important;
	font-size: 1rem;
}
.select2-container--default .select2-selection--single {
   /*  border-bottom: 2px solid rgba(95,92,92,0.86)!important; */
    border-radius: 4px;
    background-color:#f2f2f2!important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #58595b;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px!important;
}
.tyre-filter, .wheel-filter{
	background-color: #f3f3f2;
    border-bottom: 2px solid #ababaa;
}
.tyre-filter .form-control, .wheel-filter .form-control{
	background-color: #fff;
}
.tyre-filter h3, .wheel-filter h3{
	margin: 0px 0;
    margin-top: 19px;
}
.tyre-filter .filter, .wheel-filter .filter{
	margin: 5px 0px;
}
#clear-search i{
	vertical-align: middle;
}
#clear-search{
	float: right;
	padding: 7px 10px;
    margin-top: 8px;
    background-color: #ababaa;
}
/*Function buttons eg. on admin page */
.func-button{
	text-align:center;
	font-size: 20px;
	line-height:20px;
	border: 2px solid #ababaa;
    border-radius: 10px;
    background-color: #f2f2f2;
	padding:20px;
	transition: all 0.2s ease;
	margin-bottom:20px;
	cursor:pointer;
	color: #58595b;
}
.func-button i{
	font-size: 120px;
    color: #aaa;
	display: block;
	transition: all 0.2s ease;
}
.func-button p{
	margin:10px;
	color: #58595b;
	line-height: 1.2em;
    font-size: 19px;
}
.func-button:hover{
	border: 2px solid #121317;
}
.func-button:hover i{
	color: #e2001a;
}
.func-button a:hover{
	text-decoration:none;
}
.func-container{
	background-color:white;
	cursor: auto;
}
.func-container:hover{
	border: 2px solid #ababaa;
}
.small-button{
	padding:10px;
}
.small-button i{
	font-size: 60px;
}
.extra-small-button{
	padding: 10px;
    font-size: 18px;
    min-width: 220px;
}
.extra-small-button p{
	width: 75%;
    margin: 2.5%;
    display: inline-block;
    line-height: 30px;
    vertical-align: bottom;
}
.extra-small-button i{
	width: 20%;
    font-size: 38px;
    display: inline-block;
}
/*Users list */
.details-list li {
	list-style-type:none;
	background: #f3f3f2;
	/* border-radius:10px; */
	padding:5px;
}
.details-list li:nth-child(odd){
	list-style-type:none;
	background: #ececec;
	/* border-radius:10px; */
}
.details-list .table-heading{
	background: #121317!important;
    color: white;
}
.details-list li div{
/* 	border-right: 1px solid #ababaa; */
    height: 20px;
}
.details-list li div.d-col-last{
	border-right: none;
}
.details-list ul{
	padding:0;
	margin: 0;
}
#userInput{
	margin-bottom:10px;
	padding: 6px 15px 6px 35px;
}
.details-list .edit-user, .details-list .edit-discount{
	color: #121317;
    font-weight: bold;
	cursor:pointer;
}
.details-list .edit-user:hover, .details-list .edit-discount:hover{
	color: #ee2a29;
}
.search { 
	padding:6px 15px 6px 35px;
	margin:3px; 
	background: url('/images/search-light.png') no-repeat 8px 6px; 
	border-radius:15px; 
	border-bottom: none!important;
    border: 1px solid #d0d0d0!important;
	border:1px solid #d0d0d0;
	background-color:#fcfcfc;
	-moz-border-radius:15px; 
	-webkit-border-radius:15px; 
	background-size: 20px;
}
.user-discount-list #user-list li div.d-col-last, .user-discount-list #user-list li div.d-col-last .select-container{
	margin: 0;
    height: 40px
}
.user-discount-list tbody tr:nth-child(even) .bl-discount{
	background-color: #C7C5C5;
}
.user-discount-list tbody tr:nth-child(odd) .bl-discount{
	background-color: #BAB8B8;
}
.user-discount-list tbody tr:nth-child(even) .frz-discount{
	background-color: #dec7c9;
}
.user-discount-list tbody tr:nth-child(odd) .frz-discount{
	background-color: #DBB9BC;
}
.user-discount-list tbody tr:nth-child(even) .rvl-discount{
	background-color: #DADCE7;
}
.user-discount-list tbody tr:nth-child(odd) .rvl-discount{	
	background-color: #CED0DA;
}
.user-discount-list tbody tr:nth-child(even) .ssw-discount{
	background-color: #F0F0F0;
}
.user-discount-list tbody tr:nth-child(odd) .ssw-discount{		
	background-color: #E8E8E8;
}
.user-discount-list tbody tr:nth-child(even) .rpc-discount{
	background-color: #F0F0F0;
}
.user-discount-list tbody tr:nth-child(odd) .rpc-discount{	
	background-color: #E8E8E8;
}
.user-discount-list tbody tr:nth-child(even) .dsl-discount{
	background-color: #F0F0F0;
}
.user-discount-list tbody tr:nth-child(odd) .dsl-discount{	
	background-color:#E8E8E8;
}

/*Product Pages */
.tyre-results-holder .tyre-row .tyre-size{
	padding: 7px;
    background-color: #808080;
    color: #fff;
}
.tyre-results-holder .tyre-row h3 {
	margin: 0;
}
.tyre-results-holder{
	width:100%;
}
.tyre-size-table{
	max-height:100000px;
}
.product-heading{
	border-bottom: 2px solid #ececec;
    background-color: whitesmoke;
}
.tyre-image img{
	margin:0 auto;
	max-height:220px;
}
.tyre-content .btn{
	margin-top: 40px;
}
.wheel-image{
	display: inline-block;
	padding:10px;
}
.wheel-image img{
	max-height:220px;
}
#addProductToCart{
	width: 100px;
}
.wholesale table{
	border:none;
	width:100%;
	overflow:auto;
/* 	display: block; */
}

.wholesale .table-heading{
	background: #121317!important;
    color: white;
}
.wholesale .tyre-pattern, .wholesale .wheel-style{
    -webkit-box-shadow: 0 0 10px #666;
    box-shadow: 0 0 10px #666;
    background-color: #f2f2f2!important;	
	cursor:pointer;
}
.wholesale .tyre-pattern span, .wholesale .wheel-style span{
	font-size:20px;
	font-style: italic;
}
.wholesale .tyre-pattern p, .wholesale .wheel-style p{
	font-size: 32px;
    line-height: 30px;
	margin-top:45px;
	margin-bottom:0px;
}
.wholesale .tyre-pattern .btn, .wholesale .wheel-style .btn{
	margin-top:70px;
}
.wholesale .tyre-pattern img, .wholesale .wheel-style img{
	min-width: 100px;
    max-width: 150px;
    padding: 3px;
}
.wholesale .tyre-pattern td{
/* 	width:33%!important; */
}

/* .wholesale .tyre-pattern-sizes{
	display:block;
	width:100%;
}.wholesale .tyre-pattern-sizes td{
	 width: 20%;
}
.wholesale .tyre-pattern-sizes tr{
	 width: 100%;
} */
.wholesale .form-control .select-hide{
	height:42px!important;
}
.wholesale table td, .wholesale table th{
	border:none;
	vertical-align: middle;
}
.wholesale table thead tr{
	background: #121317!important;
    color: white;
	/* text-transform:uppercase;	 */
}
.wholesale table tr {
	list-style-type:none;
	background: #f3f3f2;
	/* border-radius:10px; */
	height: 35px;
    padding: 8px 0;
	
}
.wholesale .product-list input, .wholesale .user-discount-list input{
	padding: 5px 2px;
    border: 1px solid #ababaa;
}
.wholesale .product-list input{
	font-weight: bold;
}
.wholesale .user-list input{
	color: grey;
	padding: 5px 8px;
}
.wholesale .user-discount-list input[value="N/A"] {
	background: #ececec;
}
.wholesale .product-list .btn{
	padding: 7px;
}
.wholesale table tr:nth-child(odd){
	list-style-type:none;
	background: #ececec;
	/* border-radius:10px; */
}
.wholesale table tr.hlight {
	background-color: #47E639!important;
}
.wholesale table tr.disabled-product {
	background-color: #7b7b7b!important;
}
.wholesale table tr.disabled-product #addProductToCart{
	 display:none;
 }
.wholesale .wheel-desc table tr.on-sale td:nth-child(11), .wholesale.tyres .tyre-content table tr.on-sale td:nth-child(6), .wholesale.wheels .select-wheel table tr.on-sale td:nth-child(10), .select-tyre table tr.on-sale td:nth-child(7), #cart-form .on-sale td:nth-child(4){
	/* background-color: #ee1d26a6!important; */
	color: #ff152b;
}
.wholesale table img{
	min-width: 50px;
	max-width: 80px;
	padding:3px;
}
.wholesale.account table img{
    max-width: 200px;
    max-height: 100px;
}
.stock-display{
	/* text-transform:uppercase; */
	font-size:14px;
    color: white;
    padding: 4px;
    width: 90px;
    margin: 0 auto;
}
.stock-display.back-order{
	background-color: #e2001a;
}
.stock-display.in-stock{
	background-color: #41ca35;
}
h4.tyre-size span{
	color: #e2001a;
}
#t-results.brand{
	text-align:center;
}
.stock.tooltip-wrapper{
	margin-top: 5px;
}
.wholesale.wheels .select-wheel table tr td:nth-child(11), .wholesale .wheel-desc table tr td:nth-child(12){
	text-align:center;
	position:relative;
}
.wholesale td[data-label="Stock"]:hover .stock-info, .wholesale .wheel-desc table tr td:nth-child(12):hover .stock-info{
	display:block;
	position:absolute;
}
.stock-info{
	background-color: rgba(255, 255, 255, 0.95);
    width: 100px;
	padding:5px;
	border-radius:5px;
	transition: all 0.2s ease;
	z-index:100;
}
/*Cart Page */
#cart-form li div{
	margin-top: 0;
	margin-bottom: 0;
    height: 76px;
	padding: 30px 5px;
	vertical-align:middle;
}
#cart-form li div:first-child{
	padding: 5px 2px;		
}
/*account page */
.account-details li{

}
.account-details li div:first-child{
	
}
/*quick search */
.quick-search-container{
	background-image: url(/images/page-banners/quick-search.jpg);
	background-position:center;
    border-bottom: 3px solid #e2001a;
}
.quick-search input[type=number]::-webkit-inner-spin-button, 
.quick-search input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
.quick-search .btn{    
	margin-top: 10px;
    width: 100%;
}
.quick-search:not(.footer-search){
	padding: 10px;
	-webkit-box-shadow: 0 0 5px #fff;
    box-shadow: 0 0 5px #fff;
    border-radius: 10px;
    background-color: #f2f2f2;
	margin-bottom:20px;
}
.footer-search{
	 background-color: #f2f2f2;
}
.quick-search .form-control{
	background-color: #ffffff;
}
.quick-search ul{
	margin: 0;
}
.quick-search p{
	margin: 0;
}
.quick-search.footer-search{
    min-height: 200px;
	margin: 0;
    margin-bottom: -40px;
    z-index: 0;
    border: none;
    border-radius: 0;
    border-top: 2px solid #ababaa;
	padding-bottom:30px;
}
body:not(.home):not(.login) .footer-links{
	padding-top: 30px;
}
body:not(.home):not(.login) .footer-image{
	background:none;
	padding-top:0px
}
/*documents on home page */
.file-slider .wrapper{
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	background-color: #f3f3f2;
}
.file-slider .wrapper a > div{
	flex: 0 0 auto;
	width:200px;
	margin:10px;
	text-align: center;
    font-size: 16px;
    line-height: 20px;
    border: 1px solid #ababaa;
	background-color:white;
    border-radius: 10px;
	padding: 7px;
    transition: all 0.2s ease;
    margin-bottom: 20px;
    cursor: pointer;
}
.file-slider .wrapper a > div:hover{
	border: 1px solid #ee2a29;
}
.file-slider .wrapper a:hover {
	text-decoration:none;
}
.file-slider .wrapper div .thumbnail{
	height: 120px;
}
.file-slider .wrapper div .thumbnail i{
	font-size:60px;
	padding-top: 30px;
}
.file-slider .wrapper div .thumbnail img{
	margin: 0 auto;
}
.file-slider h3{
	font-size: 18px;
}
/*order comments */
.order-comments-container{
    background-color: #f3f3f2;
    padding: 20px;
	margin-top:30px;
}
.order-comments-container h4{
	margin:20px 0px;
}
#add-comment{
	text-align: right;
}
#add-order-comment{
	margin-top:0px;
}
.order-comments-container .comment {
	margin:20px 0px;
}
.order-comments-container .comment .comment-name {
    background-color: #262626;
    color: white;
    padding: 10px;
    border-radius: 5px 5px 0 0;
	font-weight:800;
}
.order-comments-container .comment .content {
    color: whitesmoke;
    background-color: #404040;
    padding: 10px;
    border-radius: 0 0 5px 5px;
}
.order-comments-container .comment .content small {
    text-align: right;
    width: 100%;
    display: block;
    color: #fff;
	font-weight: bold;
    margin-top: 5px;
}
/*toggle pricing -------------------*/
.toggle-price-display{
	border: 1px solid #a4a8a8;
    padding: 6px;
    color: #a4a8a8;
    text-align: center;
    max-width: 160px;
	margin:20px 0px;
	cursor:pointer;
	border-radius: 3px;
}
.toggle-price-display i{
	vertical-align: middle;
	padding-left:5px;
}
.hide-pricing .wheel-results table td:nth-child(10){
	display:none;
}
.hide-pricing .wheel-desc table td:nth-child(11){
	display:none;
}
.hide-pricing .select-tyre table td:nth-child(7){
	display:none;
}
.hide-pricing #cart-list table td:nth-child(4), .hide-pricing #cart-list table th:nth-child(4), .hide-pricing #cart-list table td:nth-child(6), .hide-pricing #cart-list table th:nth-child(6), .cart-summary h4{
	display:none;
}
/*Specials Slider -------------------*/
.specials-slider-container{
	position:relative;
	background-color: #f3f3f2;
}
.specials-slider-container .special-container{
	background-color: white;
    padding: 10px 7px;
    border-radius: 4px;
	margin-top:10px;
}
.specials-slider-nav{
    font-size: 16px;
    display: inline-block;
    padding: 3px 10px;
    background-color: #ffffff;
    color: #ababaa;
    -webkit-box-shadow: 0 0 10px #fff;
    box-shadow: 0 0 4px #ababaa;
    border-radius: 3px;
	cursor:pointer;
}
.specials-slider-nav.disabled{
    cursor: context-menu;
    background-color: gray;
}
.specials-slider-nav.disabled i{
    color: #ababaa;
}
.specials-slider-nav i{
	vertical-align: middle;
	color: #e6011f;
	padding-bottom: 1px;
}
.specials-slider-results{
	margin-bottom:10px;
}
@media (min-width: 900px) {
.specials-slider-container .special-container .specials-slider-image{
	min-height: 130px;
}	
	
.quick-search.footer-search{
    margin-bottom: -57px;
}
.wholesale .filter .col-3{
	width:18%!important;
}
.quick-search{
	padding: 20px;
}
.quick-search:not(.footer-search){
	padding: 20px;
}
body:not(.home):not(.login) .quick-search.footer-search{
	padding-bottom:0px;
	background-image: url(/images/footer-line.png);
    background-repeat: no-repeat;
    background-position: bottom left;
}
/*top header */
.nav-menu .cols{
	margin-top:0px;
	margin-bottom:0px;
}
.primary-nav{
	border-top: 1px solid #121317;
}
.primary-nav a {
	padding: 15px 20px 10px;
}
.nav-menu .wrapper {
    padding-top: 5px;
    padding-bottom: 0px;
}
.nav-menu .welcome-user span{
	display: block;
    line-height: 16px;
    font-size: 17px;
}
.nav-menu .welcome-user p{
	margin-top:5px;
}
.nav-menu .form-control .select-hide{
	padding: 5px 10px!important;
	height: 28px!important;
	width: 87px;
}
.nav-menu .form-control .select-hide.dealer-change-store{
	width: 135px;
}
body {
    padding: 105px 0 0 0;
}
}
@media (min-width: 1200px){
	.primary-nav a {
		padding: 15px 20px 10px;
	}
}
@media (max-width: 900px){
	.btn{
		margin-top: 10px;
	}
	.wholesale form{
		overflow-x:auto;
	}
	.content{
		overflow-x:auto;
	}
	.large-img{
		width:49%;
	}
	.edit-button{
		margin-bottom: 10px;
	}
	.wholesale.account table img {
		max-width: 150px;
		max-height: 75px;
	}
}


@media screen and (max-width: 1000px) {
	
	table thead, table .table-heading {
		border: none;
		clip: rect(0 0 0 0);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
	}
	table .tyre-pattern td, table .wheel-style td{
		width: 100%;
		text-align: center;
	}
	table .tyre-pattern .btn{
		margin-top:0px!important;
	}
	table .wheel-style .btn{
		margin-top:20px!important;
	}
	table .tyre-pattern tr, table .wheel-style .tr{
		margin: 0;
		padding: 0;
	}
	table .tyre-pattern p, table .wheel-style p{
		margin-top:0px!important;
	}
	table tr {
		margin-bottom: 6px;
		display: block;
		height: 100%!important;
		border: 1px solid gainsboro;
	}

	table td {
		border-bottom: 1px solid #ddd!important;
		display: inline-block;
		text-align: right;
		clear: both;
		width: 49%;
		
	}
	table td i{
		vertical-align: middle;
		margin: -5px;
	}
	.table td:nth-child(odd) {
		border-right: 1px solid #ddd!important;
	}
	#order-list .table td {
		border-right: none!important;
	}
	.tyre-results .table td[data-label="Price"], .tyre-results .table td[data-label="Stock"], .wheel-results .table td[data-label="Price"], .wheel-results .table td[data-label="Stock"] {
		height:50px;
		vertical-align:top;
	}
	
	
	.table td[data-label="Image"], .table td[data-label="Name"] , #user-list.table td[data-label="Email"], #user-list.table td[data-label="Netsuite ID"], #order-list .table td[data-label="Code"], #order-list .table td[data-label="Subtotal"], td[data-label="Description"], .address-list td[data-label="Address"] {
		width: 100%;
		text-align: center;
	}
	#order-list .table td[data-label="Subtotal"]{
		border: none!important;
	}
	.table td[data-label="Image"]:before, .table td[data-label="Button"]:before , #cart-form td[data-label="Stock"]:before {
		display:none;
	}
	#cart-form td[data-label="Quantity"], #cart-form td[data-label="Price"], #cart-form td[data-label="Subtotal"], #cart-form td[data-label="Stock"], .account .order-list td {
		border-bottom: 1px solid #ddd!important;
		width: 100%;
		text-align: center;
	}
	
	.table td[data-label="Quantity"]:not(#order-list .table td[data-label="Quantity"]), .table td[data-label="Button"] {
		border: none!important;
		padding-top: 10px;
	}
	/* .table td[data-label="Button"] {
		width:48%;
	} */
	.table td[data-label="Button"] #addProductToCart, .table td[data-label="Button"] .btn.btn-grey.disabled {
		width: 100%;
		max-width: 100%;
	}
	.table td[data-label="Quantity"]:before:not(#order-list .table td[data-label="Quantity"]:before) {
		padding-top:5px;
	}

	.table td::before {
		content: attr(data-label);
		float: left;
		font-weight:900;
	}
	.table td[data-label="Quantity"], table td[data-label="Button"] {
		padding-top:10px;
		border:none!important;
		border-bottom:none!important;
	}
	.select-container {
		margin: 2px 0px;
	}
	.wheel-results .table td:nth-child(even), #order-list td:nth-child(even){
		border-right: 1px solid #ddd!important;
	}
	.wheel-results .table td:nth-child(odd), #order-list td:nth-child(odd){
		border-right: none!important;
	}
	#user-list td[data-label="Cust. Code"], #user-list td[data-label="Email"], #user-list td[data-label="Name"], #order-list td[data-label="Order ID"], #order-list td[data-label="Cust. Code"], #order-list td[data-label="Product ID"], #order-list td[data-label="Description"], .user-discount-list td[data-label="State"], .user-discount-list td[data-label="Name"], .sm-list td[data-label="Phone"], .sm-list td[data-label="SM"]{
		width: 100%!important;
		text-align: center;
		padding-left:10px;
	}
	#user-list td[data-label="PC"], #user-list td[data-label="Login"], #user-list td[data-label="SM"]{
		border-right: 1px solid #ddd!important;
	}
	#user-list td[data-label="State"], #user-list td[data-label="Edit/View"], #user-list td[data-label="Files"]{
		border-right: none!important;
	}
	#user-list td[data-label="Login"], #user-list td[data-label="Edit/View"], #order-list td[data-label="Status"], #order-list td[data-label="View"], .address-list td[data-label="Delete"], #cart-form td[data-label="Stock"] {
		border-bottom: none!important;
	}
	.user-discount-list tr{
		height: auto!important;
	}
	
}
@media screen and (max-width: 500px) {
	.table td[data-label="Size"], .table td[data-label="Code"] {
		width: 100%;
		text-align: center;
	}
}
   
.tyre-pricing table img, .wheel-pricing table img
{
	min-width: 20px;
    max-width: 40px;
    padding: 3px;
}
/* Remove the Add to cart buttons - Ticket: 19990 */
#addProductToCart
{
	display:none;
}