.maincontent{
  max-width:100%;
  background:#ececec;
}
html {
    margin:0;
    padding:0;
    font-size:18px;
    box-sizing:border-box;
}

 h1 {
    font-size:3.2rem;
    font-family: 'Play', sans-serif;}
 h2 {
    font-size:2.5rem;
    font-family: 'Play', sans-serif;}
 h3 {
    font-size:1.5rem;
    font-family: 'Play', sans-serif;}
 h4 {
    font-size:1.3rem;
    font-family: 'Josefin Sans', sans-serif;}
 h5{
    font-size:1.2rem;
    font-family: 'Josefin Sans', sans-serif;}
 p{
    font-size:1rem;
    font-family: 'Josefin Sans', sans-serif;
    font-weight:300;}
.rButton {
	box-shadow: 0px 10px 14px -7px #276873;
	background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color:#599bb3;
	border-radius:8px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:18px;
	font-weight:bold;
	padding:13px 32px;
	text-decoration:none;
	text-shadow:0px 1px 0px #3d768a;
}
.rButton:hover {
	background:linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
	background-color:#408c99;
}
.rButton:active {
	position:relative;
	top:1px;
}
body{
  background:#ececec;
}

/* --------------------------------- Hero ----------------------------- */

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20%, auto));
  grid-template-rows: repeat(auto-fill, minmax(100px, 150px));

}

.hero-bg{
  grid-column:3 / -1;
  grid-row: 1/ 7;
  height:67vh;
  width:100%;
  background-image:linear-gradient(180deg,rgba(0,0,0,.1) 0%,rgba(0,0,0,0.1) 100%), url('/imageserver/Reusable/alside-windows2021/hero.jpeg');
  background-size:cover;
  background-position: top;
  background-repeat: no-repeat;
}
.hero-header{
  position: relative;
  grid-column:1 / -1 ;
  grid-row:2 / 3;
  text-align:center;
  margin-top:5%;
  text-transform: uppercase;
}
.hero-header h1{
  color:#B4BAB1;
  -webkit-text-stroke-width: 1px;
-webkit-text-stroke-color: black;
}

.hero-grain{
  grid-column:1 / 6;
  grid-row:4/8;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: 1fr;
  justify-self:center;
  width:70vw;
  max-height:300px;
  background:#ececec;
  /* background-image:linear-gradient(180deg,rgba(0,0,0,.5) 0%,rgba(0,0,0,0.5) 100%),url('/imageserver/Reusable/alside-windows2021/hero-divider2.png'); */
  background-repeat: no-repeat;
  background-size: cover;  
  color:#000;
  padding:2% 4%; 
  position:relative;
  overflow:hidden; 
  /* border-top:1px solid #000;
  border-bottom:1px solid #ddd; */
}
.hero-grain:before {
  content: ""; 
  position:absolute; 
  z-index: 1; 
  width:96%;  
  top: -10px; 
  height: 10px; 
  left: 2%; 
  border-radius: 100px / 5px; 
  box-shadow:0 0 18px rgba(0,0,0,0.6); 
}
.hero-grain:after {
  content: "";
  position:absolute;
  z-index: 1;
  width:96%; 
  bottom: -10px;
  height: 10px;
  left: 2%;
  border-radius: 100px / 5px;
  box-shadow:0 0 18px rgba(0,0,0,0.6);
}

.hero-grain-text{
  grid-column: 1;
  align-self: center;
}
.hero-grain-text h1{
  margin:0;
  padding:0;
}
.hero-grain-text h2{
  padding:5px 0;
  margin:0 0 0 15%;
  font-size:3rem;
}
.grain-btn{
  grid-column: 2;
  place-self: center;
}
.header-logo{
  grid-column:1/3 ;
  grid-row:1/-1 ;
  background:transparent;
  height:67vh;
  border:3px solid #545454;
  border-right:0;
  border-left:0;
}


#header-logo {
  margin:5% 0 0 5%;
  position:relative;
}
#samples{
 position:absolute;
 max-width:600px;
  transform:rotate(345deg);
  top:7%;
  left:1%;

}

/* ==================================================================== */



.parallax {
  perspective: 1px;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}
.parallax__layer {
  position: absolute;
  padding:100vh;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

}
.parallax__group {
  position: relative;
  height: 100vh;
  transform-style: preserve-3d;
  transform: translate3d(300px, 0, 100px) rotateY(70deg);
}




.rButton {
	box-shadow: 0px 10px 7px -7px #276873;
	background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color:#599bb3;
	border-radius:8px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:18px;
	font-weight:bold;
	padding:13px 32px;
	text-decoration:none;
	text-shadow:0px 1px 0px #3d768a;
}
.rButton:hover {
   box-shadow: 0px 10px 14px -7px #276873;
	background:linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
	background-color:#408c99;
   color:#F3EFE6;
}
.rButton:active {
	position:relative;
	top:1px;
}

 
.why {
  padding: 20px;
  font-size: 15px;
}
.why-alside-divider{
  background-image: linear-gradient(to left,rgba(0,0,0,.4) 0%,rgba(0,0,0,.4) 100%),url('/imageserver/Reusable/alside-windows2021/kitchen-windows-min.jpg');
  background-size:cover;
  background-repeat: no-repeat;
  background-attachment:fixed;
  margin:5% 0;
  padding:5% 0;
  text-align:center;
  color:#fff;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.why-alside-divider h5{
  max-width:1200px;
  font-weight:600;
  line-height:28px;
  /* margin-top:1%; */
}
.why-alside-divider-header{
  margin:1% 0;
}
.hero{
  position:relative;
  /* border:1px solid red; */
}
#hero-line{
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
}
#hero-header{
  position:absolute;
  top:20%;
  left:0;
  padding:1% 2% 1.5% 6%;
  color:#fff;
  text-transform: uppercase;
  background:rgba(0,0,0,0.5);
}
#hero-header h1{
  font-weight:800;
  font-size:5rem;
}
.vlogo-bg{
  background-color:#F3EFE6;
  background-image:linear-gradient(180deg, rgba(243,239,230,1) 0%, rgba(243,239,230,.7) 50%, rgba(243,239,230,.7) 100%), url('/imageserver/Reusable/vinylmax2021/lines-bg2.png');
}

.section1{
  margin:5% auto 0;
  width:75%;
}
.section1-grid{
  display:grid;
  width:100vw;
  grid-template-columns:repeat(8, minmax(100px, 150px));
  grid-template-rows: repeat(6, minmax(75px, 100px));
  place-self:center;
}
.sec1-img-horizontal{
  grid-column: 1/5;
  grid-row:1/5; 
}
.sec1-img-vertical{
  grid-column: 3/6;
  grid-row:2/6;
 
}
.sec1-logo{
  grid-column: 1/4;
  grid-row:5/6;
}
.sec1-text-content{
  grid-column: 5/9;
  grid-row:1/5;
  margin:50px 0 0 75px;
}
.sec1-content-bg::before{
  content:"";
  position:absolute;
  -webkit-box-shadow: 0px 0px 0px 5px #d5d5d5; 
  box-shadow: 0px 0px 0px 5px #969696;
  top:0;
  left:0;
  height:100%;
  width:100%;
}
.sec1-content-bg{
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  text-align: left;
  align-content: center;
  position:relative;
  padding: 2%;
  background:rgba(255,255,255,1);
  height:100%;
  width:100%;
}
.sec1-text-content h3{
  z-index:2;
}
.sec1-text-content p{
  z-index:2;
  
}
.sec1-text-content a{
  z-index:2;

}
.warranty-div{
  background-image: linear-gradient(to left,rgba(0,0,0,.4) 0%,rgba(0,0,0,.4) 100%),url('/imageserver/Reusable/alside-windows2021/window1-min.jpg');
  background-size:cover;
  background-repeat: no-repeat;
  background-attachment:fixed;
  margin:5% 0;
  padding:5% 0;
  text-align:center;
  color:#fff;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.warranty-div h5{
  max-width:1200px;
  font-weight:600;
  line-height:28px;
  /* margin-top:1%; */
}
.warranty-div-header{
  margin:1% 0;
}
.window-style-header{
    margin:-2% auto 2% auto;
    text-align: center;
    
}
.btn{
  border:1px solid black;
}


/* ================ Modal ===================== */
.modal{
  margin-top:100px;
}
.modal-header{
  display:block;
  margin:0;
  padding:20px 0 5px 20px;
}
.overlay {
  position: relative;
  width:50%;
  margin:0 auto;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  cursor:pointer;
}

.overlay:hover .image {
  opacity: 0.3;
}

.overlay:hover .middle {
  opacity: 1;
  cursor:pointer;
}

.text {
  font-size: 16px;
  padding: 16px 32px;
}

/* ==================== End of Modal ======================== */


.center-divider{
  margin:0 5%;
  padding:3%;
  color:#000;
  background:#ececec;
  text-align: center;
  position:relative;
  overflow:hidden; 
  }
  
  .center-divider:before {
  content: ""; 
  position:absolute; 
  z-index: 1; 
  width:96%;  
  top: -10px; 
  height: 10px; 
  left: 2%; 
  border-radius: 100px / 5px; 
  box-shadow:0 0 18px rgba(0,0,0,0.4); 
  }
  .center-divider:after {
  content: "";
  position:absolute;
  z-index: 1;
  width:96%; 
  bottom: -10px;
  height: 10px;
  left: 2%;
  border-radius: 100px / 5px;
  box-shadow:0 0 18px rgba(0,0,0,0.4);
  }
 
.why-inner{
  padding:2% 6%;
  text-align:center;

}
.why-item{
  display:flex;
  flex-direction: column;
  border:1px solid black;
  justify-items: center;
  align-items: center;
  text-align:center;
  padding:5%;
  min-height:375px;
  margin-bottom:10px;
}
.why-alside i{
  font-size:40px;
}
  .center-divider-btm{
    margin:0 5%;
    padding:3%;
    color:#F3EFE6;
    background:#8DA2A6;
    text-align: center;
    position:relative;
    overflow:hidden; 
    }
    
    .center-divider-btm:before {
    content: ""; 
    position:absolute; 
    z-index: 1; 
    width:96%;  
    top: -10px; 
    height: 10px; 
    left: 2%; 
    border-radius: 100px / 5px; 
    box-shadow:0 0 18px rgba(0,0,0,0.4); 
    }
    .center-divider-btm:after {
    content: "";
    position:absolute;
    z-index: 1;
    width:96%; 
    bottom: -10px;
    height: 10px;
    left: 2%;
    border-radius: 100px / 5px;
    box-shadow:0 0 18px rgba(0,0,0,0.4);
    }

.series-section{
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    text-align: center;
    position:relative;
    color:white;
    margin:0  auto;
    padding:5% 3%;
}



/* --------------------------- Product Cards -------------------------- */

.products{
	display:flex;
	flex-wrap:wrap;
	flex-direction:row;
	justify-content:space-evenly;
	align-items:center;
  max-width:1000px;
  margin:0 auto;
}
.product-item{
	margin: 0;
}

.product .position-center-center h4 {
	margin: 0px;
	display: inline-block;
	width: 100%;
	margin: 5px 0;
}
.product .position-center-center {
	text-align: center;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.product .position-center-center {
	opacity: 0;
	z-index: 11;
}
.product-item:hover .position-center-center {
	opacity: 1;
}
.hover-style-4 .product-overlay {
	background: rgba(255,255,255,0.7);
}
.hover-style-4 .product-overlay {
	background: rgba(255,255,255,0.7);
}
.product {
	padding:4% 8% 2%;
}
.product-overlay {
	background-color: rgba(0, 0, 0, 0.8);
	height: 100%;
	left: 0;
	opacity: 0;
	position: absolute;
	text-align: center;
	bottom: 0;
	width: 100%;
	z-index: 2;
	transition: all 400ms ease-out;
	overflow: hidden;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.65+100 */
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000', GradientType=0 ); /* IE6-9 */
}
.product-item .product-image {
	position: relative;
	overflow: hidden;
}
.product-item .product-image img {
	width: 100%;
	border: 10px ridge #dadfef;

}
.product-item:hover .product-overlay, .product-item:active .product-overlay, .product-item.active .product-overlay, .product-item:focus .product-overlay {
	opacity: 1;
}
.product-item {
	padding: 0 15px;
	margin-bottom: 30px;
}
.no-padding .product-item {
	padding: 0px;
	margin: 0px;
}
.product-item .position-center-center {
	width: 100%;
	padding: 0 20px;
}

.product-item h4 a {
	font-size: 16px;
	color: #fff;
	padding:10px;
	text-transform: uppercase;
	margin-bottom: 20px;
    font-weight: 500;
}
.product-item h4 a:hover {
	font-size: 18px;
	color: #63C2F7;
	text-transform: uppercase;
	margin-bottom: 20px;
    font-weight: 500;
}


.product .position-bottom {
	text-align:center;
	position: absolute;
	text-align: center;
	width: 100%;
	bottom: 0;
	margin-bottom:20%;
	display: block;
	left: 0px;
	z-index: 3;
	opacity: 0;
	padding-bottom:20px;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.product .position-bottom1 {
	position: absolute;
	text-align:center;
	position: absolute;
	text-align: center;
	width: 100%;
	height:100%;
	top: 40%;
	display: block;
	left: 0px;
	z-index: 3;
	opacity: 1;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.product .position-bottom1:before {
	position: absolute;
	left: 0px;
	right: 0px;
	height: 3px;
	top:18%;
	width: 50px;
	margin: 0 auto;
	background: #f2b632;
	z-index: 3;
	content: "";
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}
.product-item article:hover .pb:after {
	height: 100%;
}
.product-item article:hover .pb:before {
	width: 30%;
}
.product-item article:hover .pb {
	opacity: 1;
	bottom: 0px;
	margin-bottom: 0px;
}

.product-item  h4 {
	margin: 0px;
  font-family: 'Play', sans-serif;
	color:#fff;
  font-weight:700;
  font-size:1.8rem;
}
.product-item h4 a {
	color: #fff;
}
.product-item p {
	color: #fff;
	opacity: 0.8;
	margin-bottom: 0px;
}

/*  --------------------------------------------  Media Queries  ---------------------------------------------------- */






@media screen and (max-width: 992px) {
  html{
   font-size:14px;
  }
     .hero-bg{
       grid-column:1 / -1;
       height:45vh;
  }
     .hero-header{
       grid-column:2/5;
     } 
     .header-logo{
       height:45vh;
     }
     .hero-grain{
      grid-column: 1/-1;
      grid-row:5/7 ;
      width:100%;
      text-align: center;  
      padding:8px 0 15px 0;
      max-width:100%;
    }
    #samples{
      display:none;
    }
    .hero-grain-text p{
      margin:0;
    }
  }
@media  screen and (max-width:1000px) {
    html{
        font-size:16px;
    }
    
    .section1-grid{  
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        grid-template-rows: auto;
        place-self:center;
      }
      .sec1-img-horizontal{
        grid-column: 3/7;
        grid-row:3/5;
        order:2;
      }
      .sec1-img-vertical{
        grid-column: 1/5;
        grid-row:1/5;
       
      }
      .sec1-logo{
        grid-column: 1/4;
        grid-row:5/6;
      }
      .sec1-text-content{
        grid-column: 3/8;
        grid-row:1/3;
        margin-top:0px;
        padding:5%;
      }
}
@media (max-width:981px) {
  a.btn.collapsed:before {
      margin-top: 0 !important;
  }
  a.btn:before {
      margin-top: 0 !important;
  }
}
@media  screen and (max-width:900px) {
  .warranty-div{
    height:50vh;
 }
}
@media  screen and (max-width:800px) {
   .rButton{
    font-size:14px;
    padding:10px 15px;
  }
    .window-styles-group{       
        grid-template-columns: repeat(2, minmax(300px, 1fr));
    }
    .sec1-img-horizontal{
        grid-column: 1/-1;
        grid-row:auto;  
      }
      .sec1-img-vertical{
        display:none; 
      }
      .sec1-logo{
        display:none;
      }
      .sec1-text-content{
        grid-column: 1/-1;
        grid-row:auto;
        margin:0px;
        padding:5%;
      }
      .warranty-header{
        bottom: -55%; 
      }
      .warranty-header-wrapper h3{
        font-size:3rem;
        font-weight:700;
      }
      .warranty-header-wrapper p{
          line-height:22px;
      }
      .warranty img{
        float:none;
      }
      header{
        height:55vh;
      }
    #prestige{
      margin-left:-45px;
    }
    .warranty-div{
      height:45vh;
  }
}
@media  screen and (max-width:700px) {
  .warranty-div{
    height:35vh;
}
.window-style-desc-inner img{
  float:none;
  padding:.5em;
  margin:.5em;
}
}

@media  screen and (max-width:600px) {  
      .warranty-div{
        display:none;
      }
      .window-styles-group{       
        grid-template-columns: repeat(1, minmax(310px, 1fr));
    }
    .hero-grain-text h1{
      font-size:1.8rem;
    }
    .hero-grain-text h2{
      font-size:1.6rem;
    }
    #hero-header h1{
        font-size:3rem;
    }
    .window-style-desc{       
        display:none;
    }
    .energy-efficient img{
      float:none;
    }
    
}
@media  screen and (max-width:500px) {
    
    .card-grid{
      display:grid;
      grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    }
}
@media  screen and (max-width:400px) {
  .box, .box .holder{
    max-width:300px;
  }
  .cube {
    margin:0 20px ;
    width: 200px;
    transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg) scale(1);
  }
  .box .description { 
    width: 200px;
    color: #F3EFE6;
    left: 30px;
    z-index:3;
  }
  .box:hover .description {
  z-index: 3;
  top: 250px;
  width: 200px;
  left: 30px;
  
  }
  .box:hover .cube {
    transform: translateY(0px) translateX(0px);
  }
  .box:hover .cube .cube_front {
    transform: translateZ(0px) rotatey(0deg);
  }
  .box:hover .cube .page_left {
    transform: translateZ(0px) rotatey(0deg);
  }
  .box:hover .big {
    opacity: 0;
    display:none;
  }
  .box:hover {
    width: 300px;
    background-position: -300px 0px;
    z-index:3;
  }
  .box:hover::after{
    box-shadow: 0 0 0 300vw rgba(0, 0, 0, 0.3);
  }
  #hero-header h1{
    font-weight:800;
    font-size:2rem;
  }
}