html {
  scroll-behavior: smooth;
}
.cc-product-img img {
	width: 100% !important;
	height: 100% !important;
}

header .header-flex .flex-bit {
	margin-right: 0 !important;
}

header .reviews .stars {
	display: flex;
}

.cc-new-sticky-accordian, .softborder.quicklinks,
.cc-top-back{
	display: none !important;
}

body {
	padding-top: 0 !important;
}

@media screen and (min-width: 70rem) {
	header .headerbar .flex60 {
		flex: 0 1 55%;
	}
	
	header .headerbar .flex40 {
		flex: 0 1 45%;
	}
}

@media (min-width:1120px) and (max-width:1200px){
	header .headerbar{
		flex-direction: column;
	}
	
	header .header-flex {
        justify-content: space-around;
    }
}

@media only screen and (min-width: 1024px) {
    #tabs-box {
        opacity: 1 !important;
    }
}

@media screen and (max-width: 63.9375em) {
    #cart-dropdown {
		width: auto !important;
        min-width: 100%;
        left: auto !important;
    }
	
	header .row.small-collapse {
		overflow-x: visible !important;
	}
	
	.cat-product .button-group {
        display: block !important;
    }
	
	header #cart-total {
		display: none;
	}
	
	#queryform p {
		font-size: 13px;
	}

	.data-policy .gdprbox {
		font-size: 15px;
	}

	.data-policy .gdprbox .checkmark {
		height: 30px;
		width: 30px;
	}

	#sampleQuery h2.openquery .qas {
		font-size: 1rem;
	}

	#sampleQuery .openquery {
		padding-block: .5rem;
	}
	
	.data-policy {
		margin-top: 0;
	}

	.data-policy h4 {
		font-size: 1.2em;
	}
	
	.delivery-box {
		background-position: 10px 20px;
		background-size: 3rem;
		position: relative;
		background-image: none;
    	padding-top: 1rem;
	}
	
	.delivery-box h4 {
		padding-left: 45px;
    	position: relative;
	}
	
	.delivery-box h4:before {
		content: '';
		position: absolute;
		width: 40px;
		height: 40px;
		background-image: url(https://www.idealmats.co.uk/catalog/view/theme/idealmats/image/icons/shipping.svg);
		top: -5px;
		left: -5px;
        background-size: contain;
	}
	
	.cart-page .cart-table tr .row .large-3 {
		width: 40%;
	}
	
	.cart-page .cart-table tr .row .large-9 {
		width: 60%;
	}
	
	.cart-page .cart-table .cart-product-name {
        font-size: 1.2rem;
		line-height: 1rem;
    }
	
	.cart-page table.cart-table tbody tr > td {
		width: 60%;
		margin: 0 !important;
	}
	
	.cart-page table.cart-table tbody tr > td:first-of-type {
		width: 100%;
	}
	
	.cart-page table.cart-table tbody tr > td.mobile-cart-header {
		width: 40%;
	}
	
	.cart-page table.cart-table .cart-quantity {
		display: flex;
		margin: 0;
	}
	
	.cart-page table.cart-table .cart-quantity .form-control {
		width: 7em;
		margin: 0;
		margin-right: 1em;
		padding: 5px;
        height: 1.5em;
	}
	
	.cart-page table.cart-table tbody tr > td.cart-price:last-of-type {
		margin-bottom: 1.5em !important;
	}
	
	#cart-dropdown > li:first-of-type .table tr > td {
		float: left;
		display: inline-block;
		width: 33%;
	}
	
	#cart-dropdown > li:first-of-type .table tr > td.text-left {
		width: 100%;
	}
	
	#cart-dropdown .table tr > td.text-center:first-of-type {
		display: none;
	}
	
	#cart-dropdown > li {
		width: 250px;
	}
	
	#input-option543 {
		display: flex;
    	flex-wrap: wrap;
	}
	
	#input-option543 .column.radio {
		width: 20%;
	}
}

.product-210 header,
.product-210 footer,
.product-210.product-page > .crumbs,
.product-210.product-page > .hide-for-large,
.product-210.product-page > .row,
.product-210.product-page > .hide-for-large + .row > .column:first-of-type,
.product-210.product-page > .hide-for-large + .row > .column:last-of-type > .row:first-of-type,
.product-210.product-page > .hide-for-large + .row > .column:last-of-type > .row:last-of-type > .column:first-of-type,
.product-210.product-page #logoquote .testimonial-panel,
.product-210 #tidio-chat-iframe,
.product-210 #cookie-law,
.product-210 #logomatform .data-policy,
.product-210 .cky-btn-revisit-wrapper,
.product-210 .cky-consent-container, .product-210 .cky-modal {
	display: none !important;
}

.product-210.product-page > .hide-for-large + .row {
	display: block !important;
}

.product-210.product-page > .hide-for-large + .row > .column:last-of-type {
	width: 100% !important;
}

.product-210.product-page #logoquote {
	float: none;
    margin: 5em auto 3em;
}

}

.f-copyright .alpha{
    color: #FBB03B;
    font-weight: bold;
}

.product-page .row #product-list, .product-page .row .testing{
display: none;
}

#product .row #product-list{
display: inline-table !important;
}

#product .row .show-this{
display: block !important;
}

html, body {
	overflow-x: hidden;
}

.callout.success p > a:last-of-type,
.alert-success > a:last-of-type{
	color: #fff;
    background: #2bada6;
    padding: 5px 10px;
    display: inline-block;
    text-transform: capitalize;
}

.callout.success, .alert-success {
	padding-right: 3rem;
}

.openquery .floatyclick .floatyinner {
	width: 10em;
}

.openquery .floatyclick .floatyinner,
.openquery .floatyclick .floatyinner i {
	cursor: grab;
}

.availability-box br {
	display: none;
}

#price-box {
	padding-bottom: 0;
}

.xmas-notification {
	background-color: #f7f7f7;
	padding: 2em 1em;
	color: #000;
	text-align: center;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	display: none;
}

.xmas-content {
	padding: 1em;
	border: 1px solid;
}

.cart-page #content + h2,
.cart-page #content + h2 + p {
	display: none;
}

.cart-page #accordion .accordion-title,
.cart-page #accordion .accordion-content {
	display: none;
}

.cart-page #accordion > .accordion-title:first-of-type {
	display: block;
}

.contact-form-section {
	width: 75%;
	margin-inline: auto;
}

#logomatform button.mwbutton.loose {
	margin-inline: 0;
}

.contact-form-section fieldset {
	padding-top: 1em;
}

.contact-form-section select {
	background-color: #f4f4f4;
    box-shadow: inset 0 1px 1px #ddd;
}

.contact-form-section .invalid {
	margin-bottom: 1em;
	color: red;
}

.contact-form-section h4 {
	margin-top: 1em;
}

@media (min-width: 60em) {
	.xmas-notification {
		padding: 2em 1em;
	}
	.xmas-content {
		padding: 1.5em 5em 1em;
	}
}


@media (max-width: 768px) {
	#payment_details .column.small-6 {
		width: 100%;
		margin-top: 1.2em;
	}
	
	.data-policy h4, .termsbox h4 {
		font-size: 1.2em;
	}
	
	.table-responsive {
		overflow-x: scroll;
	}
	
	.table-responsive thead td {
		white-space: nowrap;
	}
	
	.data-policy p, .termsbox p,
	.gdprbox, .greviews .stars .num {
		font-size: .8em !important;
    	line-height: 1.4em !important;
	}
	
	.contact-form-section {
		width: 95%;
	}
}

.cart-custommat {
	display: none;
}

#submitting {
	display: none !important;
}

#account legend, #address legend {
	font-weight: 500;
    width: 100%;
    border-bottom: 1px solid #ccc;
    margin-bottom: 1.5em;
}

.mss-matimg div .mat-label {
	padding-right: 1.5em;
	bottom: 13%;
	z-index: 10;
}

.mss-matimg div .mat-label a:before {
	content: '>';
    right: 0.5em;
    position: absolute;
}

.mss-matimg div .mat-label a {
	color: #fff;
}

.mat-6 {
    opacity: 0;
    bottom: 55%;
    animation: u 2s 12s 1 linear forwards
}

.mss-matimg {
	animation: none;
	opacity: 1;
}

@media (max-width: 640px) {
	.mss-matimg div .mat-label {
		font-size: 14px;
		right: -1em;
	}
	
	.mss-falldown {
		padding: 4rem 0;
	}
	
	.mat-1 { bottom: 6%; }
	.mat-2 { bottom: 18%; }
	.mat-3 { bottom: 30%; }
	.mat-4 { bottom: 42%; }
	.mat-5 { bottom: 54%; }
	.mat-6 { bottom: 66%; }
}
