﻿/*-----------------------------------------------------

    Title :  B2B Flooring Supply
    Usage :  Homepage
    Edited:  2019-02-22

-------------------------------------------------------

    1. Reset
    2. Font
    3. Typography
    4. Default
    5. Container
    6. Main content
    7. Responsive ( 640px)

-------------------------------------------------------*/



/*  1. Reset
-------------------------------------------------------*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	}

body {
	font-size: 62.5%;
	line-height: 1.2;
	-webkit-text-size-adjust: none;
	}

h1, h2, h3, h4, h5, h6,
input, select, button, textarea,
small {
	font-size: 100%;
	}

li {
	list-style: none;
	}

strong {
	font-weight: 700;
	}

img {
	vertical-align: top;
	}

img, abbr, fieldset, iframe {
	border: none;
	}

abbr {
	text-decoration: none;
	}

img, video {
	max-width: 100%;
	height: auto;
	}

iframe {
	max-width: 100%;
	}

object {
	outline: none;
	}

dfn {
	font-style: normal;
	}

mark {
	color: inherit;
	background: none;
	}

sup, sub {
	line-height: 0;
	}

table {
	border-collapse: collapse;
	border-spacing: 0;
	}

kbd, samp,
input, select, textarea, button {
	color: inherit;
	font-weight: inherit;
	font-family: inherit;
	outline: none;
	box-shadow: none;
	}

textarea {
	-webkit-appearance: none;
	border-radius: 0;
	}

input[type="text"],
input[type="email"],
input[type="tel"] {
	-webkit-appearance: none;
	border-radius: 0;
	}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
	}

input[type="search"] {
	-webkit-appearance: none;
	border-radius: 0;
	}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
	}

input::-ms-clear {
	display: none;
	}

textarea {
	vertical-align: top;
	overflow: auto;
	}

[placeholder]::-webkit-input-placeholder {
	color: inherit;
	}

[placeholder]::-moz-placeholder {
	opacity: 1;
	}

[placeholder]:-ms-input-placeholder {
	color: inherit;
	}

button {
	overflow: visible;
	}

button:not(:disabled) {
	cursor: pointer;
	}

button::-moz-focus-inner {
	padding: 0;
	border: none;
	}



/*  2. Font
-------------------------------------------------------*/










/*  3. Typography
-------------------------------------------------------*/

body {
	color: #858585;
	font-weight: 300;
	font-family: Roboto, sans-serif;
	}

a {
	color: inherit;
	text-decoration: none;
	}

a:hover,
a:focus {
	text-decoration: underline;
	background-color: transparent;
	}



/*  4. Default
-------------------------------------------------------*/










/*  5. Container
-------------------------------------------------------*/










/*  6. Main content
-------------------------------------------------------*/

main {
	display: block;
	margin: 0 auto;
	padding: 0 10px;
	max-width: 1190px;
	}

main::before {
	content: "";
	display: block;
	padding-top: 4.9%;
	}

ul {
	display: flex;
	justify-content: space-between;
	}

ul:not(:first-of-type) {
	margin-top: 6.59%;
	}

ul li {
	width: 31.63%;
	}

ul li b {
	display: block;
	margin-bottom: 8px;
	font-weight: 300;
	font-size: 22px;
	}

ul li a,
ul li span {
	position: relative;
	display: block;
	padding-top: 56.2%;
	}

ul li a {
	position: relative;
	overflow: hidden;
	}

ul li span .zoom-img-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding-top: 56.2%;
	}

ul li a iframe {
	position: absolute;
	top: -590px;
	right: -65px;
	width: 450px;
	max-width: none;
	height: 120px;
	transform: scale(12);
	transform-origin: 100% 0;
	}

ul li a    img,
ul li span img {
	position: absolute !important;
	top: 0;
	left: 0;
	}

ul li a    img {
	pointer-events: none;
	transition: transform 200ms ease-out;
	}

ul li .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	pointer-events: none;
	transition: opacity 200ms ease-out;
	}

ul li a.vr-ready .overlay {
	display: none;
	}

ul li .overlay .bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: 100% 100%;
	transition: transform 200ms ease-out;
	}

ul li   a:hover            img,
ul li img:hover + .overlay .bg {
	transform: scale(1.1);
	}

ul li a .overlay::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	}

@keyframes sk-bouncedelay {
	 0%, 80%, 100% { transform: scale(0); }
	40%            { transform: scale(1); }
}

.spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50%;
	height: 50px;
	transform: translate(-50%, -50%);
	}

.vr-ready .spinner {
	display: none;
	}

.spinner div {
	margin: 0 4%;
	width: 14%;
	background: #fff;
	border-radius: 50%;
	}

.spinner div {
	animation: sk-bouncedelay 1.2s infinite ease-in-out both;
	}

.spinner .bounce1 {
	animation-delay: -0.32s;
	}

.spinner .bounce2 {
	animation-delay: -0.16s;
	}

.spinner > div::after {
	content: "";
	display: block;
	padding-top: 100%;
	}

main::after {
	content: "";
	display: block;
	padding-top: 5.22%;
	}



/*  7. Responsive ( 640px)
-------------------------------------------------------*/

@media (max-width:  640px) {

/*  6. Main content  */

ul li b {
	margin-bottom: 1.25vw;
	font-size: 3.5vw;
	}

.spinner {
	width: 60%;
	}

}