.maincontent{
  max-width:100%;
}

.row{
  margin:0 !important;
  padding:0 !important;
}
h1, h2, h3, h4, a{
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1.1px;

}

p, h5{
  font-family: 'Roboto', sans-serif;
}


.myButton {
  position: relative;
  margin: 20px auto;
background-color:#f2dfce;
border-radius:28px;
border:1px solid #402c1a;
  display:block;
  max-width:200px;
cursor:pointer;
color:#402c1a;
  font-family: 'Oswald', sans-serif;
font-size:1.2rem;
  letter-spacing:1.2px;
padding:14px 31px;
text-decoration:none;
text-shadow:0px 1px 0px #fff;
  text-align:center;
  
}
.myButton:hover {
background-color:#402c1a;
  color:#fff;
  text-shadow:0px 0px 0px #fff;
  font-weight:300;
}
.myButton:active {
position:relative;
top:1px;
  background:transparent;
}




/* =========================== Hero ==================== */
.hero-container::before{
    position: absolute;
    content:"";
    top:0;
    left:0;
    height:100%;
    width:100%;
    background:rgba(0,0,0,0.3);
    z-index:1;
}
.hero-container{
    position: relative;
}
.hero-container img{
    position: relative;
    
}
#hero-logo{
    position: absolute;
    top:8%;
    left:5%;
    width:15vw;
    max-width:150px;
    z-index:2;
}
.hero-text-box-overlay{
    position: absolute;
    bottom:15%;
    right:10%;
    z-index:2;
}
.hero-container .hero-text-box{
    position: relative;
    padding:42px 25px 52px 35px;
    color:#ececec;
    text-align:right;
    z-index:2;
}
.hero-text-box::before{
    position: absolute;
    content:"";
    top:0;
    right:0;
    height:100%;
    width:5px;
    background:#f2dfce;
}
.hero-text-box::after{
    position: absolute;
    content:"";
    top:0;
    right:0;
    height:100%;
    width:30%;
    border:5px solid #f2dfce;
    border-right:0;
    border-left:0;
}
.hero-text-box h5{
    text-transform: uppercase;
}
.hero-divider{
    margin: 0;
    padding:2%;
    color:#ececec;
    background:#424E63;
    position:relative;
    overflow:hidden; 
    /* border-top:1px solid #ddd;
    border-bottom:1px solid #ddd; */
    }
    
    .hero-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.6); 
    }
    .hero-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.6);
    }
.hero-divider img{
    float:left;
    padding:0 8px;
}
.hero-divider h5{
    margin:8px 0 0;
    padding:0;
}
.main-header{
  background-image:linear-gradient(to bottom, rgba(250,250,250,0)0%,rgba(250,250,250,0.5)100% ), url('/imageserver/Reusable/pella-windows2021/encompass_window_sill-min.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
    padding:5% 15% 4%;
    text-align:center;
    border:1px solid black;
    border-left:0;
    border-right:0;
}

.main-header p{
   font-size:1.2rem;
}

/* ======================= Window Styles ================ */
 
.window-styles-section{
    position: relative;
    padding:2% 5%;
  }
  .window-styles-header{
      text-align: center;
      margin:2% 0;
  }
  .window-styles-header p{
      font-size:1.2rem;
  }
  .window-styles-group{
      margin:0 auto;
      display:grid;
      max-width:1500px;
      grid-template-columns: repeat(4, minmax(350px, 1fr));
      grid-template-rows: auto;
  }
  .window-styles{
    margin:0 auto;
    width:100%;
    cursor:pointer;
  }
  .window-style-desc{
      width:90vw;
      padding:40px;
  }
  .window-style-desc-inner ul li{
    list-style-type: none;
    position:relative;
    margin-left:60px;
  }
  .window-style-desc-inner ul li:not(.bay-list)::before{
    content:url('/imageserver/Reusable/pella-windows2021/greenCheck.png');
    position:absolute;
    left:-50px;
    top:0px;
  }
  .window-style-desc-inner{
    display:flex;
    justify-content: space-around;
    flex-wrap:nowrap;
    
  }
  .window-style-desc-inner p{
    max-width:800px;
  }
  .window-style-desc-inner img{
    
    padding:.2em;
    margin:0 1.5em;
  }
  .slider{
      position: relative;
  }
 
  #slider-open{
    position: absolute;
    top:0;
    left:0;
    opacity:0;
    transition:.5s;
  }
 
  .slider:hover > #slider-open{
    opacity:1;
    transition:.5s;
  }
  .casement{
      position: relative;
  }
 
  #casement-open{
    position: absolute;
    top:0;
    left:0;
    opacity:0;
    transition:.5s;
  }
 
  .casement:hover  #casement-open{
    opacity:1;
    transition:.5s;
  }
  .single{
      position: relative;
  }
 
  #single-open{
    position: absolute;
    top:0;
    left:0;
    opacity:0;
    transition:.5s;
  }
 
  .single:hover  #single-open{
    opacity:1;
    transition:.5s;
  }
  .double{
      position: relative;
  }
 
  #double-open{
    position: absolute;
    top:0;
    left:0;
    opacity:0;
    transition:.5s;
  }
 
  .double:hover > #double-open{
    opacity:1;
    transition:.5s;
  }



  /* ================================================== Product Section ====================================== */

.products-section{
  background-image:linear-gradient(to bottom, rgba(250,250,250,0.5)0%,rgba(250,250,250,1)20% );
}
.products-container{
  padding:0 20px;
}
.section h1{
    position: relative;
    margin:1% 0 3%;
}
/* .section h1::after{
    content:"";
    position: absolute;
    right:22%;
    top:50%;
    transform:translateX(-50%);
    width:20vw;
    height:5px;
    background:#424E63;
} */

.grid {
  display: grid;
  grid-gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: row dense;
}

.item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
  background: #0c9a9a;
  color: #fff;
  grid-column-start: auto;
  grid-row-start: auto;
  color: #fff;
  background: url(/imageserver/Reusable/pella-windows2021/window_channel_asc_large-min.jpg);
  background-size: cover;
  background-position: center;
  box-shadow: -2px 2px 10px 0px rgba(68, 68, 68, 0.4);
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  
}
.item:nth-of-type(2) {
  background-image: url(/imageserver/Reusable/pella-windows2021/imperva-lg-min.jpg);
}
.item:nth-of-type(3) {
  background-image: url(/imageserver/Reusable/pella-windows2021/series-250-min.jpg);
}
.item:nth-of-type(4) {
  background-image: url(/imageserver/Reusable/pella-windows2021/hurricane-min.jpg);
}
.item:nth-of-type(5) {
  background-image: url(/imageserver/Reusable/pella-windows2021/encompass-min.jpg);
}
.item:nth-of-type(6) {
  background-image: url(/imageserver/Reusable/pella-windows2021/defender-min.jpg);
}
.item:nth-of-type(7) {
  background-image: url(/imageserver/Reusable/pella-windows2021/reserve-min.jpg);
}
.item:nth-of-type(8) {
  background-image: url(/imageserver/Reusable/pella-windows2021/lifestyle-min.jpg);
}

.item:hover {
  transform: scale(1.05);
}
.item:hover:after {
  opacity: 0;
}
.item--medium {
  grid-row-end: span 2;
}
.item--large {
  grid-row-end: span 3;
}
.item--full {
  grid-column-end: auto;
}
@media screen and (min-width: 768px) {
  .item--full {
    grid-column: 1/-1;
    grid-row-end: span 2;
  }
}
.item_details {
    width:100%;
}
.item__details a{
  position: relative;
  display:block;
  width:100%;
  font-size:2rem;

  padding: 15px;
  color: #444;
  background: #fff;
  letter-spacing: 1px;
  color: #828282;
}

item__details a:hover{
    color:#424E63;
}




  /* ================================================= Replace Div =============================================== */
.replace-section{
  background:url("/imageserver/Reusable/pella-windows2021/grit-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
}
.replace-wrapper{
  margin: 0;
  padding:2% 0 0 10%;
  color:#ececec;
  background:rgba(66,78,99,0.9);
  position:relative;
  overflow:hidden; 
  }
  .replace-wrapper: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); 
  }
  .replace-wrapper: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);
  }

.replace-container{
    margin:2% 5%;
    /* background:#ececec; */
}
#replace-header{
    position: relative;
    margin:0 0 0 20px;
    /* max-width:1100px; */
    text-align:center;
}
.replace-list {
    max-width:1300px;
   padding:80px 0 0 0;
}
.replace-list-item{
   font-weight:700;
   font-size:1.2rem;
}
#seven{
  width:100%; 
  max-width:25%;
}
.shape-playground-1 {
	float: left;
	width: 200px;
	height: 700px;
	margin: 0 30px 0 0;
	shape-outside: content-box polygon( 0 0, 113.1% -5.5%, 62.1% 82.7%, 1.2% 83% );
}

/* =============================== Footer ==================================== */
  .window-div-container{
      position: relative;
      width:100%;
      max-height:600px;
      overflow:hidden;
      
    }
    .window-div-container::after{
        content:"";
        position: absolute;
        top:0;
        left:0;
        height:0;
        width:100%;
        background:rgba(0,0,0,0.3);
        transition:1.5s
} 
  #logo{
      position: absolute;

      top:15%;
      left:80%;
      max-width:150px;
      width:15vw;
  }
 
 
  
   
  
    
  
  
/* ============================================= Media Queries ========================================= */
@media  screen and (max-width:1560px) {
  .window-styles-group{       
      grid-template-columns: repeat(4, minmax(325px, 1fr));
  }
}
@media  screen and (max-width:1350px) {
  .window-styles-group{       
      grid-template-columns: repeat(4, minmax(275px, 1fr));
  }

}

@media  screen and (max-width:1200px) {
.window-styles-group{       
  grid-template-columns: repeat(2, minmax(350px, 1fr));
  }
  .window-style-desc{
    width:95vw;
    padding:40px;
  }
  .window-style-desc-inner{
    flex-wrap:wrap;
    
  }
}
@media  screen and (max-width:1100px) {
  .shape-playground-1 {
    float: left;
    width: 200px;
    height: 100%;
  }
}

@media  screen and (max-width:800px) {
  .window-styles-group{       
    grid-template-columns: repeat(2, minmax(300px, 1fr));
  }
  
}
@media  screen and (max-width:768px) {
  .html ,body{
    font-size:16px !important;
  }
  .myButton {
    margin: 0 auto;  
  }
  .hero-container .hero-text-box{
    text-align:center;
    padding:10px 0;
    background:#ececec;
    color:#424E63;

  }
  .hero-text-box-overlay{
    bottom:0;
    right:0;
    position: relative;
}
  .hero-text-box::before{
    display:none;
}
  .hero-text-box::after{
   display:none;
}
}
@media  screen and (max-width:700px) {
  .overlay-container p{
    display:none;
  }
}
@media  screen and (max-width:650px) {
  .window-styles-group{       
      display:block;
  }
  .window-style-desc-inner{
      display:none;
  }
  .window-styles{
      cursor: default;
    }
}



@media screen and (min-width: 768px) {
    .section {
      padding: 4rem;
    }
   
  }
  @supports (display: grid) {
    .section {
      display: block;
    }
  }