/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

 body {
 	font-family: "Avenir Next",sans-serif;
 }

 body > main {
	 display: flex;
	 flex-direction: column;
	 height: 100%;
	 justify-content: space-between;
 }

 body > main > section#wrapper {
	 margin-bottom: auto;
 }

 a {
	 color: #0032aa;
	 transition: color .2s linear;
 }

 a:hover,
 body#checkout a:hover {
	color: #333;
 }

 #downlad_area .download a:hover {
	 color: #0032aa;
 }

 p {
 	font-size: 16px;
 	color: #333;
 }

.btn-primary,
.btn-secondary {
	background-color: #0032aa;
	border: 1px solid #0032aa;
	color: #fff;
	display: inline-block;
	font-family: "Avenir Next",sans-serif;
	font-size: 16px;
	text-align: center;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: .0556em;
	transition: all .2s;
	text-transform: uppercase;
	padding: 15px 32px;
	border-radius: 50px;
	max-width: 100%;
	width: auto;
	margin-top: 30px;
	box-shadow: none;
}

.btn-primary:hover,
.btn-secondary:hover {
	color: #0032aa;
	background-color: transparent;
	border-color: #0032aa;
}

.product-price,
#blockcart-modal .product-name {
	color: #0032aa;
}

.add_to_cart_from_line .btn.btn-primary.add-to-cart {
	margin: 0;
}

.add_to_cart_from_line .btn.btn-primary.add-to-cart:hover {
	color: #fff;
	background-color: #0032aa;
	border-color: #333;
}

.btn-secondary {
  background-color: #f6f6f6;
  border: 1px solid #f6f6f6;
  color: #232323;
}

.btn-secondary:hover {
  background-color: #232323;
  border: 1px solid #232323;
  color: #f6f6f6;
}

#custom_header h1,
.page-header > h1,
.page_content > div > h1 {
	font-family: "Hrot Premium",sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	font-style: italic;
}

.page_content > div > h1,
.page-header > h1 {
	font-size: 30px;
	margin: 20px 0;
}

#content > .container {
	padding-left: 0;
	padding-right: 0;
}

h2.spareparts_heading {
	margin-bottom: 30px;
}

#index #content .dataTables_wrapper .dataTables_filter input {
	max-height: 48px;
	top: -96px;
	max-height: 48px;
	line-height: 1;
	padding: 16px 20px;
	position: relative;
	margin: 20px 0 20px 0;
}

@media (max-width: 1399px) {
	#index #content .dataTables_wrapper .dataTables_filter input {
		max-height: 48px;
		top: 0;
	}
}

.page-my-account #content .links {
	margin-top: 30px;
}

.page-my-account #content .links a span.link-item {
	box-shadow: none;
	background: #fff;
	border: 2px solid #ddd;
	border-radius: 10px;
	transition: all .2s linear;
}

.page-my-account #content .links a:hover span.link-item {
	border: 2px solid #0032aa;
}

.page-my-account #content .links a,
.page-my-account #content .links a i {
	transition: all .2s linear;
}

.page-my-account #content .links a:hover,
.page-my-account #content .links a:hover i {
	color: #0032aa;
}

.bootstrap-touchspin {
	box-shadow: none;
}

.bootstrap-touchspin input.form-control,
.bootstrap-touchspin input.input-group,
.bootstrap-touchspin .btn-touchspin {
	color: #777;
	border-color: #777;
}

.cart-grid-body a.label:hover {
	color: #0032aa;
}

.header-nav .container .row .hidden-sm-down > .col-md-12 {
	padding-left: 0;
}

.header-nav #_desktop_cart {

}

.header-nav #_desktop_cart .cart-products-totals {
	font-size: 15px;
	letter-spacing: normal;
	font-weight: bold;
	color: #fff;
}

#header .header-nav .cart-preview a,
#header .header-nav .cart-preview i {
	color: #fff;
}

#header .header-nav .cart-preview.active a,
#header .header-nav .cart-preview.active i {
	color: #fff;
}

#_desktop_cart .cart-products-count {
	font-size: 9px;
	font-weight: 600;
	padding: 3px 5px;
	line-height: 1.2;
	letter-spacing: normal;
	top: 8px;
	left: 14px;
}

#header .top-menu .link {

}

#header .top-menu .link:first-child {
	padding-left: 4px;
}

#header .top-menu a,
.header-nav #_desktop_cart a,
.footer-container li a {
	font-family: "Avenir Next",sans-serif;
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: .071em;
	color: #818181;
	transition: color .2s linear;
}

#header .top-menu a:hover,
#header .top-menu a[data-depth="0"]:hover,
.footer-container li a:hover,
#header .header-nav a:hover,
#footer a:hover {
	color: #fff !important;
}

/* CART MODAL */

#blockcart-modal .divide-right {
  border: none;
}

#blockcart-modal .modal-body > .row > .col-md-5 > .row + .col-md-6:first-child {
  display: none;
}

#blockcart-modal .modal-body > .row > .col-md-5 > .row .col-md-6:nth-child(2) {
  float: none;
  width: 100% !important;
  clear: both;
}

#blockcart-modal .modal-body > .row > .col-md-5 > .row .col-md-6:nth-child(2) .product-name {
  font-size: 21px;
  margin-bottom: 8px;
}

#blockcart-modal .modal-body > .row > .col-md-5 > .row .col-md-6:nth-child(2) .product-price {
  font-weight: 600;
}

#blockcart-modal .modal-body > .row > .col-md-5 > .row .col-md-6:nth-child(2) .product-quantity {
  font-weight: 400;
}

#blockcart-modal .modal-body > .row > .col-md-5 > .row .col-md-6:nth-child(2) .product-quantity strong {
  font-weight: 400;
}

/* CART */

.cart-grid-body {
	margin-top: 40px;
	margin-bottom: 40px;
	padding-left: 0;
	padding-right: 40px;
}

@media (max-width: 768px) {
	.cart-grid-body {
		margin-top: 20px;
		margin-bottom: 20px;
		padding-left: 16px;
		padding-right: 16px;
	}
}

.cart-grid-right {
	margin-top: 40px;
	margin-bottom: 40px;
	background: #eee;
	border-radius: 10px;
	padding: 25px 25px 15px 25px;
}

.cart-grid-right .card-block.checkout {
	padding-bottom: 0;
}

.card-block.cart-summary-totals {
	padding: 0;
}

.card-block.cart-summary-totals .cart-summary-line.cart-total {
	padding: 20px 0 0 0;
	border-top: 1px solid #ccc;
	margin-top: 10px;
}

.cart-summary-line {
	margin-bottom: 0.66rem;
}

.cart-summary-line .label,
.cart-summary-products,
.cart-summary-products p {
	font-size: 17px;
	color: #333;
}

.cart-summary-products p:first-child {
	font-weight: bold;
}

.cart-summary-products a {
	color: #0032aa;
}

.cart-summary-products .media-list {

}

.cart-summary-products .media-list li.media {
	margin-bottom: 2px;
}

.cart-summary-products .media-list li.media .media-left {
	display: none;
}

.cart-summary-products .media-list li.media .media-body {
	display: flex;
	width: 100%;
	max-width: 100%;
}

.cart-summary-products .media-list li.media .media-body .product-name {
	font-size: 14px;
	font-weight: 500;
}

.cart-summary-products .media-list li.media .media-body .product-quantity {
	padding-left: 10px;
	font-weight: 500;
}

.cart-summary-products .media-list li.media .media-body .product-quantity::before {
	content: '(';
}

.cart-summary-products .media-list li.media .media-body .product-quantity::after {
	content: ')';
}

.cart-summary-products .media-list li.media .media-body .product-price {
	margin-left: auto;
	color: #333;
	font-weight: 500;
}

.cart-overview {

}

.cart-overview .cart-items {

}

.cart-overview .cart-items .cart-item:not(:first-child) {
	border-top: 1px solid #eee;
}

.cart-overview .cart-items .cart-item .product-line-grid {
	display: flex;
}

@media (max-width: 768px) {
	.cart-overview .cart-items .cart-item .product-line-grid {
		flex-direction: column;
	}
}

.cart-overview .cart-items .cart-item .product-line-grid .product-line-grid-body {
	flex-grow: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0;
}

@media (max-width: 768px) {
	.cart-overview .cart-items .cart-item .product-line-grid .product-line-grid-body {
		width: 100%;
	}
}

.cart-overview .cart-items .cart-item .product-line-grid .product-line-grid-body .product-line-info {
	margin: 0;
}

.cart-overview .cart-items .cart-item .product-line-grid .product-line-grid-body .product-line-info .label {
	font-size: 17px;
	font-weight: 500;
}

.cart-overview .cart-items .cart-item .product-line-grid .product-line-grid-body .product-line-info.product-price {
	font-size: 17px;
	font-weight: 500;
	color: #333;
	padding-left: 10px;
	margin: 0 0 0 auto;
}

.cart-overview .cart-items .cart-item .product-line-grid .product-line-actions {
	padding-left: 30px;
	font-size: 17px;
	flex-grow: 1;
}

@media (max-width: 768px) {
	.cart-overview .cart-items .cart-item .product-line-grid .product-line-actions {
		padding-left: 0px;
	}
}

.col-xs-4.hidden-md-up {
	display: none;
}

.cart-overview .cart-items .cart-item .product-line-grid .product-line-actions .remove-from-cart:hover {
	color: #777;
}

.cart-overview .cart-items .cart-item .product-line-grid .product-line-actions .row {
	align-items: center;
}

@media (max-width: 768px) {
	.cart-overview .cart-items .cart-item .product-line-grid .product-line-actions .row {
		display: flex;
		justify-content: space-between;
	}
}

@media (max-width: 420px) {
	.cart-overview .cart-items .cart-item .product-line-grid .product-line-actions .row {
		flex-direction: column;
	}
}

@media (max-width: 768px) {
	.cart-overview .cart-items .cart-item .product-line-grid .product-line-actions .row > .qty {
		width: auto;
	}
}

@media (max-width: 420px) {
	.cart-overview .cart-items .cart-item .product-line-grid .product-line-actions .row > .qty {
		margin: 0 0 10px auto;
		padding: 0;
	}
}

@media (max-width: 768px) {
	.cart-overview .cart-items .cart-item .product-line-grid .product-line-actions .row > .price {
		width: auto;
		margin-left: auto;
		padding-right: 0;
	}
}

@media (max-width: 768px) {
	.cart-overview .cart-items .cart-item .product-line-grid .product-line-actions .row .col-md-10.col-xs-6 {
		order: 2;
	}
}

@media (max-width: 420px) {
	.cart-overview .cart-items .cart-item .product-line-grid .product-line-actions .row .col-md-10.col-xs-6 {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.cart-overview .cart-items .cart-item .product-line-grid .product-line-actions .row .col-md-2.col-xs-2.text-xs-right {
		float: none;
		margin-right: auto;
		order: 1;
		text-align: left !important;
	}
}

@media (max-width: 420px) {
	.cart-overview .cart-items .cart-item .product-line-grid .product-line-actions .row .col-md-2.col-xs-2.text-xs-right {
		position: absolute;
		left: 0;
		margin: 0;
		padding: 0;
	}
}

/* CHECKOUT */

body#checkout section.checkout-step {
	box-shadow: none;
	background-color: #fff;
	border-bottom: 1px solid rgba(0,0,0,.25);
	padding: 1.35rem 0 1rem 0;
}

body#checkout section.checkout-step .step-title {
	font-size: 1.375rem;
}

body#checkout section.checkout-step .content {
	padding-top: 15px;
}

body#checkout section.checkout-step .radio-block {
	width: 100%;
	padding: 20px 20px 0 20px;
}

body#checkout section.checkout-step .delete-address .delete, body#checkout section.checkout-step .delete-address .edit, body#checkout section.checkout-step .edit-address .delete, body#checkout section.checkout-step .edit-address .edit {
	margin-right: 6px;
	vertical-align: sub;
}

.custom-radio {
	border-color: #0032aa;
}

.custom-radio input[type=radio]:checked+span {
	background-color: #0032aa;
	width: 8px;
	height: 8px;
	left: 4px;
	top: 4px;
}

.custom-checkbox input[type=checkbox]+span {
	border-color: #0032aa;
}

.custom-checkbox input[type=checkbox]:checked+span .checkbox-checked {
	color: #0032aa;
}

body#checkout section.checkout-step .address-item.selected {
	border: 1px solid #0032aa;
	border-radius: 10px;
}

body#checkout section.checkout-step .custom-radio {
	margin-right: 9px;
}

body#checkout section.checkout-step .address {
	margin-left: 2rem;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
}

body#checkout section.checkout-step .delivery-options .delivery-option label .carrier:not(.carrier-hasLogo)>.col-xs-12 {
	padding-left: 0;
}

body#checkout section.checkout-step .delivery-options>.row {
	border: none;
}

body#checkout section.checkout-step .delivery-options .delivery-option {
	background: none;
	border: 1px solid #0032aa;
	border-radius: 10px;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 25px;
	min-height: 65px;
}

body#checkout section.checkout-step label {
	font-size: 16px;
	margin-bottom: 10px;
}

body#checkout section.checkout-step .payment-options .payment-option {
	margin-bottom: 1rem;
}

body#checkout .custom-checkbox span {
	-ms-flex: 0 0 20px;
	flex: 0 0 20px;
	margin-top: 0;
	height: 20px;
}

.custom-checkbox input[type=checkbox]+span .checkbox-checked {
	margin: 0 0;
	font-size: 1rem;
}

body#checkout section.checkout-step.-reachable.-complete h1 .step-edit {
	font-size: 15px;
	text-transform: capitalize;
	margin-top: 6px;
	font-weight: 500;
}

body#checkout section.checkout-step.-reachable.-complete h1 .step-edit:hover {
	color: #0032aa !important;
}

body#checkout #footer {
	box-shadow: none;
}

#wrapper {
	background: #fff;
}

/* ORDER CONFIRMATION */

.page-order-confirmation #content-hook_order_confirmation {
  margin: 35px 0 35px 0;
}

.page-order-confirmation #content-hook_order_confirmation .card-title > i.done {
  background: #4cbb6c;
  color: #fff;
  padding: 0;
  border-radius: 100%;
  width: 50px;
  height: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  margin-bottom: 5px;
}

.page-order-confirmation #content-hook_order_confirmation .card-block p {
  font-size: 18px;
  font-weight: 500;
  margin-top: 1em;
}

.page-order-confirmation .page-order-confirmation.card #order-items {
  border: none;
  float: none;
  clear: both;
}

.page-order-confirmation .page-order-confirmation.card #order-items > .row:first-child {
  width: 100%;
  margin: 0;
}

.page-order-confirmation .page-order-confirmation.card #order-items h3 {
  font-size: 1rem;
  background: #eee;
  padding: 15px 15px;
  border: none;
  text-transform: none;
}

@media (max-width: 991px) {
  .page-order-confirmation .page-order-confirmation.card #order-items h3.col-md-6 {
    width: 100%;
  }
}

.page-order-confirmation .page-order-confirmation.card #order-items .row h3:last-child {
  text-align: right !important;
}

.page-order-confirmation #order-items .order-confirmation-table hr {
  display: none;
}

.page-order-confirmation #order-items .order-confirmation-table > .order-line.row {
  width: 100%;
  margin: 0;
  padding: 4px 0;
}

.page-order-confirmation #order-items .order-confirmation-table > .order-line.row > .qty > .row > div:last-child {
  text-align: right !important;
}

.page-order-confirmation #order-items table tr {
  background-color: #f1f1f1;
}

.page-order-confirmation #order-items table tr.total-value {
  background-color: #0032aa;
  color: #fff;
}

.page-order-confirmation #order-items table tr td {
  padding: 13px 15px;
  font-size: 16px;
  font-weight: bold;
}

.page-order-confirmation #order-details {
  padding-left: 15px;
  margin: 50px 0 25px 0;
  width: 100%;
  float: none;
  clear: both;
  font-size: 17px;
}

.page-order-confirmation #order-details ul {
  list-style: disc;
  margin-left: 20px;
}

.page-order-confirmation #content-hook_payment_return {
  margin: 15px 0 50px 0;
  font-size: 17px;
}

.page-order-confirmation #content-hook_payment_return p {
  font-size: 17px;
  margin-bottom: 15px;
}

.page-order-confirmation #content-hook_payment_return dl {
  border: 2px dashed #eee;
  width: 100% !important;
  margin: 30px 0;
}

.page-order-confirmation #content-hook_payment_return dl dd,
.page-order-confirmation #content-hook_payment_return dl dt {
  font-size: 16px;
  margin: 0;
  flex: 0 0 50%;
  background: none;
}

.page-order-confirmation #content-hook_payment_return dl dd {
  font-weight: 600;
}

.page-order-confirmation #content-hook_payment_return dl dd:nth-of-type(2n),
.page-order-confirmation #content-hook_payment_return dl dt:nth-of-type(2n) {
  background: #f2f2f2;
}

.a {
  background-color: #0032aa;
  color: #fff;
}

/* Responsive */

@media (min-width: 767px) {
	.footer-container li {
		margin-bottom: .3125rem;
	    margin-right: 20px;
	    display: inline-block;
	}

	.footer_legal_link {
		text-align: center;
		margin-top: 20px;
		margin-bottom: 28px;
	}

	.footer-container {
	    margin-top: 0;
	    padding-top: 0;
	    overflow: inherit;
	    box-shadow: none;
	}

	#wrapper {
	    background: transparent;
	    box-shadow: none;
	    padding-top: 0;
	}

	#header .header-nav {
	    border-bottom: 0 none;
	    max-height: inherit;
	    margin-bottom: inherit;
	}
}

#main .page-content, #main .page-header {
	margin-bottom: inherit;
}

.card-block {
    padding: inherit;
}

.card {
    box-shadow: none;
}

.card {
    position: relative;
    display: block;
    margin-bottom: .75rem;
    background-color: transparent;
    border-radius: 0;
    border: 0 none;
}

#header .header-nav {
	background: #101010;
}

#header .header-nav #custom_header .row > h1 {
	padding-top: 28px;
	font-size: 38px;
}

#footer {
	background: #101010;
}

#footer p {
	line-height: 1.2;
	letter-spacing: .0628em;
	color: #777;
}

#header .header-nav a,
#footer a {
	color: #777;
}

#footer {
    padding-top: inherit;
}

#header .top-menu a[data-depth="0"]:hover {
    text-decoration: none;
}

#header .top-menu a {
	text-transform: uppercase;
	font-weight: normal;
}

.header-nav .menu {
	float: left;
}

#_desktop_cart {
	float: right;
}

#header .header-nav .blockcart {
    background: transparent;
    height: inherit;
    padding: inherit;
    margin-left: inherit;
    text-align: center;
    white-space: nowrap;
}

#header .header-nav .blockcart .cart-products-totals {
	 transition: color .2s linear;
}

#header .header-nav .blockcart:hover .cart-products-totals {
	color: #0032aa;
}

#footer .footer_logo {
    width: 100px;
    display: block;
    margin: auto;
    margin-bottom: 60px;
    margin-top: 20px;
}

#footer .footer_copyright_text {
    margin-bottom: 40px;
}

#nav #menu-back {
	display: none;
	margin-top: 15px;
	float: right;
	background: transparent;
	width: 288px;
	position: relative;
  z-index: 20;
  height: 90px;
  flex: none;
  overflow: hidden;
  transition: background-color .2s;
}

#nav #menu-back img {
	height: 90px;
}

@media (min-width: 1000px) {
	#nav #menu-back {
		display: block;
	}
}
