body,
html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size:18px;
    background:#ececec;
}

.maincontent {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.maincontent_wrapper {
    padding-top: 0;
}
img{
  width:100%;
}
h1 {
  /* font-size:3.2rem; */
  font-family: 'Josefin Sans', sans-serif;}
h2 {
  font-size:2rem;
  font-family: 'Josefin Sans', sans-serif;}
h3 {
  /* font-size:1.5rem; */
  font-family: 'Josefin Sans', 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-weight:300;}
 
  
  /* --------------------------------- 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/diamondkote23/hero.jpeg');
    background-size:cover;
    background-position:bottom;
    background-repeat: no-repeat;
  }
  .hero-header{
    position: relative;
    grid-column:1 / 3 ;
    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-repeat: no-repeat;
    background-size: cover;  
    color:#000;
    padding:2% 4%; 
    position:relative;
    overflow:hidden; 
  }
  .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:0;
    font-size:2rem;
    text-align: center;
  }
  .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%;
  
  }
  
  /* ==================================================================== */
  
  
  .warranty{
    background:#ececec;
  }
 
  .my-flex-group{
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
    max-width:1400px;
    margin:0 auto;
    align-items:center;
    justify-content: center;
    padding:1em;
  }
  .flex-content{
    display:flex;
    flex-direction:column;
    margin: auto;
    max-width:600px;
    justify-content: center;
  }
   .why-edco{
      background:#ececec;
  }
  .why {
    padding: 20px;
    font-size: 15px;
  }
  .why-edco-divider{
    background-image: linear-gradient(to left,rgba(0,0,0,.4) 0%,rgba(0,0,0,.4) 100%),url('/imageserver/Reusable/diamondkote23/gallery-wide4-min.jpeg');
    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-edco-divider p{
    max-width:1200px;
    font-weight:600;
    line-height:28px;
    /* margin-top:1%; */
  }
  .flex-group{
    display:flex;
    flex-direction: row;
    flex-wrap:wrap;
    justify-content: space-evenly;
    margin:-2em 0 2em;
  }
  .img-box img{
    max-width:100px;
  }
  .flex-item{
    max-width:400px;
    text-align: center;
  }
  .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;
   align-self: center;
  }
  .sec1-logo{
    grid-column: 1/4;
    grid-row:5/6;
  }
  .sec1-text-content{
    grid-column: 5/9;
    grid-row:1/7;
    margin:50px 0 0 75px;
    padding:30px 0px;
  }
  .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% 4%;
    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/diamondkote23/gallery-wide-min.jpeg');
    background-size:cover;
    background-repeat: no-repeat;
    background-attachment:fixed;
    margin:5% 0 0;
    padding:5% 0;
    color:#fff;
  }
  .warranty-div p{
    max-width:1200px;
    font-weight:600;
    line-height:28px;
    /* margin-top:1%; */
  }
 
  
 
  
  /* ==================== End of Modal ======================== */
  
  
  .center-divider{
    margin:-2% 5% 0;
    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:1400px;
    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% 0% 0;
      background:#ececec;
  }
  .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;
         background-image:linear-gradient(180deg,rgba(255,255,255,.5) 0%,rgba(255,255,255,0.5) 100%), url('/imageserver/Reusable/diamondkote23/hero.jpeg');
        }
       .hero-header{
         display:none;
       } 
       .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{  
        display:block;
        text-align: center;
        }
        .sec1-text-content {
          margin:0;
          text-align: center;
        }
        .sec1-img-vertical{
          display:none;
          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  screen and (max-width:900px) {
    .warranty-div{
      /* height:50vh; */
   }
  }
  @media  screen and (max-width:800px) {
    
      #prestige{
        margin-left:-45px;
      }
      .warranty-div{
        text-align: center;
        /* 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;
    }
  }