.maincontent{
  max-width:100%;
}

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
.row{
    margin:0 !important;
}
h1{
    font-family: 'Ubuntu', sans-serif;
    font-size: calc(2.2vw + .5rem);
}
h2{
    font-family: 'Ubuntu', sans-serif;
    font-size: calc(1.5vw + .5rem);
}
h3{
    font-family: 'Josefin Sans', sans-serif;
    font-size:calc(1.2vw + .6rem);
}
h4,h5,p{
    font-family: 'Josefin Sans', sans-serif;
}

.container1{
    max-width:1500px;
    width: calc(100vw - 6em);
    margin:0 auto;
}


  .rButton {
	background-color:#333333;
	border-radius:28px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-size:calc(.7vw + .3rem);
    font-family: 'Ubuntu', sans-serif;
	padding:calc(.3vw + .3rem) calc(1vw + .7rem);
	text-decoration:none;
	text-shadow:0px 1px 0px #2f6627;
    margin-top:3%;
    transition:.5s;
}
.rButton:hover {
	background-color:#fefff7;
    border:1px solid #333333;
    color:#333333;
    -webkit-box-shadow: 4px 4px 15px -2px rgba(0,0,0,0.51); 
box-shadow: 4px 4px 15px -2px rgba(0,0,0,0.51);
}
.rButton-dark {
	background-color:#fefff7;
	border-radius:28px;
	display:inline-block;
	cursor:pointer;
	color:#333333;
	font-size:calc(.7vw + .3rem);
    font-family: 'Ubuntu', sans-serif;
	padding:calc(.3vw + .3rem) calc(1vw + .7rem);
	text-decoration:none;
    margin-top:3%;
    transition:.5s;
}
.rButton-dark:hover {
	background-color:#fefff7;
    border:1px solid #333333;
    color:#333333;
    -webkit-box-shadow: 4px 4px 15px -2px rgba(254,255,247,.5); 
box-shadow: 4px 4px 15px -2px rgba(254,255,247,.5);
}
.rButton:active {
	position:relative;
	top:1px;
}
.product-hero{
    background:#333333;
    /* max-height:400px; */
    padding:0 4%;
    color:white;
}
.product-hero-img{
    border:10px solid #FEFFF7;   
}
.product-hero-text{
    padding:4% 3% 0 3%;
}
.product-hero-text p{
  margin:5% 0 0;
  line-height:25px;
  max-width:700px;
}
#hero-btn{
  float:left;
}
.grid1{
  display:grid;
  grid-template-columns: repeat(2, 50%);
  margin-top:5%;
  max-width: 1500px;
    margin: 0 auto;
    text-align: center;
}
#product-main-img{
    position: relative;
    max-width:500px;
    margin:0 auto;
    z-index:2;
}
#product-main-img::after{
    content:"";
    position:absolute;
    top:-15px;
    right:-15px;
    height:60%;
    width:50%;
    border:18px solid #333333;
    z-index:-1; 
}
.product-section1-container{
    background:url('/imageserver/Reusable/flooring2021/main-bg-grid-min.png'), linear-gradient(to top,rgba(254, 255, 247, .9) 0%, rgba(254, 255, 247, .9) 100%);
    background-repeat:no-repeat;
    background-size: cover;
    /* height:50vh; */
    padding:5% 
}
#product-main-text1{
    margin:20% 0 0 10%;
    text-align:left;
}
.product-main-img2{
    max-width:1500px;
    margin:0 auto;
    text-align: center;
}
#product-main-text2{
    margin:20% 0 0 0;
    text-align:left;
}
#product-text2-btn{
    float:left;
}
.product-section2-container{
    background-image:linear-gradient(to top,rgba(51, 51, 51, 1) 0%, rgba(51, 51, 51, 1) 100%);
    background-repeat: no-repeat;
    background-size:cover;
    padding:2%;
    height:40vh;
}
.product-section2-header{
    padding:3%;
    color:black;
}

#product-btm-main-img{
    margin-top:10%;
    border:10px solid #FEFFF7; 
    position: relative;
    max-width:400px;
}

.product-section3-container{
    background-image:url('/imageserver/Reusable/flooring2021/main-bg-grid-min.png'),linear-gradient(to top,rgba(254, 255, 247, .9) 0%, rgba(254, 255, 247, .9) 100%);
    background-size:cover;
    padding:0 4% 4% 4%;
}
#product3-hr{
    height: 1px;
    width:30%;
    margin: 15px 0 25px 0;
    background: #fff;
}
.product-section3-text{
    padding:3%;
    color:white;
}
#guarantee{
    text-align: center;
    margin-top:4%;
}
@media screen and (max-width:1300px) {
    .section2-container{
        padding:13% 0 15% 10%;
    }
    .section2-text{
        top:70%;
        left:30%; 
    }
    .section3-container{
        text-align: center;
    }
    #section3-mid-img{
        display:none;
    }
    .section3-top-text{
        margin:0 0 5% 0;
    }
    
}
@media screen and (max-width:1200px) {
    .section2-gallery-item{
        width:150px;
    }
    .section2-gallery-item img{
        margin-left:-75px;
        transition:.5s ease-in-out;
    }
    .section2-gallery-item:hover{  
        width:300px;
        margin-left:-50px;
    }
    .section2-gallery-item:hover img{
        margin-left:-50px;
    }
    .gallery-item-right {
        margin-left:0px;
        width:150px;
    }  
    .gallery-item-right:hover {
        margin-left:-100px;
        width:225px;
    } 
    .gallery-item-right:hover img{
        margin-left:-50px;      
    }  
}
@media screen and (max-width:992px) {
    .product-hero{
      text-align: center;
    }
.product-hero-text p{
  margin:5% auto 0;
}
    #hero-btn{
      float:none;
      margin-bottom:20px;
    }
    .grid1{
      display:block;
      text-align: center;
    }
    h5{
        font-size:1rem;
    }
    .floor-type-label{
        text-align: center;
    }
    .section2-container{    
        padding:5%;
        text-align:center;
    }
    .section2-gallery-item { 
        display:none;     
        transform:scale(1.2);
    
    }
    .gallery-item-center-left,
    .gallery-item-left{
        display:inline-block;
    }
    .section2-text-top,
    .section2-text-bottom{
        position:relative;
        margin:8% 0;
        left:0;
    } 
    #product-main-text1{
        margin:5% 0 5% 5%;
        text-align:center;
    }
    #product-main-text2{
        margin-top:20%;
        text-align: center;
    }
    #product-text2-btn{
        float:none;
    }
    .section2-gallery-item:hover img{
        margin-left:-75px;
    }   
    .product-section2-container{
        height:100%;
        text-align:center;
    }
    #product-btm-main-img{
        max-width:300px;
    }
    #product3-hr{
        width:15%;margin: 15px auto 25px auto;
    }
}
@media screen and (max-width:500px) {
    .section2-gallery-item:hover{
        margin:0px;
        width:145px;
    }
}