body,
html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size:18px;
    font-family: "Poppins", sans-serif;
}

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

.maincontent_wrapper {
    padding-top: 0;
}

.row,
.color-picker {
    max-width: 1550px;
    width: 100%;
    margin: 0 auto;
}

 .page-banner{
      background-image: url("/imageserver/UserMedia/ywpgallery/MetalRoofs/metalroofing3.jpg"); background-repeat: no-repeat; background-size: cover; background-position: center center; min-height: 400px; margin-bottom: -11px;
 }
 .sec1{
      position: relative; background-image: url("/imageserver/AdminMedia/Paralax_Backgrounds/metal-roofing-darker.jpg"); padding: 32px 25px 121px; background-repeat: no-repeat; background-size: cover; margin-top: -11px; clip-path: polygon(0% 0%, 100% 0%, 100% 88%, 79% 100%, 26% 90%, 0% 100%); margin-bottom: -60px;
 }
 
 img{
      width:100%;
  }
  
  svg{
      overflow:hidden;
  }
  
  #color-picker-grid{
      display:grid;
      max-width:990px;
      max-height:468px;
      justify-content:center;
      align-items: center;
      margin:0 auto;
  }
  
  #roof-desat{
      grid-column: 1/2;
      grid-row: 1/2;
      transform: translateX(0px) translateY(-.5px);
  }
  #roof-overlaySvg{
      grid-column: 1/2;
      grid-row: 1/2;
      background-color:transparent;
      height:100%;
      width:100%;
      mix-blend-mode: overlay;
      z-index:2;
  }
  #house{
      grid-column: 1/2;
      grid-row: 1/2;
      z-index:3;
  }
  
  #siding-color-hex-wrapper{
      margin:20px auto 0;
      max-width:500px;
  }
  
  #roof-color{
      height:35px;
      width:50px;
      display:inline-block;
  }
  
  #siding-color-hex-wrapper h2{
      display:inline-block;
      margin-left:20px;
  }
  
  #color-picker-header{
    max-width:1600px; 
  margin:20px auto; 
  text-align:center;
  padding:2% 4%;
  }
  
  
  .page-banner {
    position: relative;
    width: 100%;
    overflow: hidden;         
    min-height: 425px;        
  }
  
  .circle {
    background-color: rgba(0,0,0, 0.6);  
    color: white;
    transform: translate(-50%, -50%);          
    border-radius: 50%;
    padding-top: 100%;                          
    position: absolute;
    top:50%;                                     
    left:0;
    width:100%;
    min-width:600px;                            
    min-height:600px;
  }
  
  .page-banner-text {
    position: absolute;                         
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    padding:2em;
    width:40%;
  }
  
  #hero-hr{
      height: 2px;
      width: 60%;
      margin: 20px 0;
      background: #fff;
  }
  
  .clipped{
      clip-path: polygon(18% 0, 100% 0%, 100% 100%, 0 100%);
    }
  
  a.btn.btn-primary {    padding: 16px 28px;    border-radius: 5;    background: #093d87;    border: none;   box-shadow: 0 4px 5px -3px #333;    transition: 0.5s;    font-weight: bold;transition: ease-out 0.4s;}
  a.btn.btn-primary:hover {    box-shadow: inset 0 0 0 50px #3a639f; }
  
  .box-wrapper {
    background-color: #fff;
    overflow: hidden;
    max-width: 320px;
    box-shadow: 0px 5px 43px rgba(0, 0, 0, 0.48);
    padding: 0;
    text-align: center;
    position:relative;
    margin:0 auto;
  }
  .box-wrapper img {
    max-width: 100%;
  }
  .box-wrapper .success {
    position: absolute;
    top: 50%;
    left: 37%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 999;
  }
  .expanded .box-wrapper .success {
    opacity: 1;
    -webkit-transition: opacity 0.3s 0.6s;
    transition: opacity 0.3s 0.6s;
  }
  .box-wrapper .success:before, .box-wrapper .success:after {
    content: '';
    display: block;
    position: absolute;
    background-color: #fff;
  }
  .box-wrapper .success:before {
    width: 40px;
    height: 20px;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  .box-wrapper .success:after {
    width: 88px;
    height: 20px;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
    top: -16px;
    left: 8px;
  }
  
  .title {
    font-size: 2em;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    font-family: 'Acme', sans-serif;
  }
  
  .desc {
  
    font-size: 1.2em;
  }
  
  .box-content {
    position: relative;
    z-index: 1;
  }
  .box-content:before {
    content: '';
    width: 200%;
    height: 100px;
    position: absolute;
    display: block;
    background-color: #fff;
    -webkit-transform: rotate(-8deg);
            transform: rotate(-8deg);
    top: -50px;
    left: -10%;
    z-index: -1;
  }
  .box-content .buy {
    display: block;
    top: -80px;
    right: 30px;
    z-index: 2;
    width: 70px;
    height: 70px;
    position: absolute;
  }
  .box-content .buy span {
    width: 70px;
    height: 70px;
    background-color: #06D6A0;
    display: block;
    border-radius: 50%;
    position: absolute;
    font-size: 36px;
    color: #fff;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
  }
  .box-content .buy span i {
    padding: 15px;
  }
  .expanded .box-content .buy span {
    width: 750px;
    height: 750px;
  }
  .expanded .box-content .buy span i {
    display: none;
  }
  .box-content .price {
    font-size: 1.2em;
    font-weight: 900;
    display: block;
  
    margin: 20px auto 0;
    position: relative;
  
  }
  .box-content .price:after, .box-content .price:before {
    content: '';
    
    display: block;
    position: absolute;
    background-color: #ddd;
    top: 18px;
  }
  .box-content .price:before {
    left: -50px;
  }
  .box-content .price:after {
    right: -50px;
  }
  .box-content .footer ul {
    list-style: none;
    padding: 0;
    margin: 1em 0;
  }
  .box-content .footer ul li {
    color: #EFD829;
  }
  
  @media only screen and (max-width: 992px) {
    .name {
      text-align:center;
    }
  .page-banner-text {
      width: 50%;
    }
  }
  
  @media only screen and (max-width: 800px) {
    .page-banner{
      min-height:400px;
  }
  .circle{
      padding-top:0;
      top:0;
      min-height:400px;
      min-width:100%;
      width:100%;
      transform:translate(0,0);
      border-radius:0;
      position:relative;
    }
     .page-banner-text{
      left:0;
      top:10%;
      transform:translateY(0);
      text-align:center;
      width:100%;
      position:relative;
    }
    #hero-hr{
     margin:20px auto;
      width:60%;
  }
  }
  
  svg{
    overflow:hidden;
  }
  
  #color-picker-grid{
    display:grid;
    max-width:990px;
    max-height:468px;
    justify-content:center;
    align-items: center;
    margin:0 auto;
  }
  
  #roof-desat{
    grid-column: 1/2;
    grid-row: 1/2;
    transform: translateX(0px) translateY(-.5px);
  }
  #roof-overlaySvg{
    grid-column: 1/2;
    grid-row: 1/2;
    background-color:#E7E6DE;
    height:100%;
    width:100%;
    mix-blend-mode: overlay;
    z-index:2;
    filter: brightness(1.35);
  }
  #house{
    grid-column: 1/2;
    grid-row: 1/2;
    z-index:3;
  }
  
  #siding-color-hex-wrapper{
    margin:20px auto 0;
    max-width:400px;
  }
  
  #roof-color{
    height:35px;
    width:50px;
    display:inline-block;
  }
  
  #siding-color-hex-wrapper h2{
    display:inline-block;
    margin-left:20px;
  }
  /* ========================================== */
  .color-picker{
      background-color:#fafafa;
      padding:2%;
  }
  .my-grid{
    display:grid;
    grid-template-columns: repeat(2, 50%);
  }
  .section1 .grid-content{
    padding:0 5% 5%;
    
  }
  .my-grid .grid-content{
    place-self:center;
    height:100%;
    width:100%;
    display:grid;
  }
  
  .colors{
    order:1;
  }
  .grid-image{
    display:grid;
    height:100%;
    width:100%;
    align-items: center;
    padding:2%;
    /* justify-content: center; */
  }
  
  .grid-house{
    grid-column:1/2;
    grid-row:1/2;
  }
  .grid-roof{
    grid-column:1/2;
    grid-row:1/2;
  }
  .color-group{
    display:flex;
    flex-direction: row;
    flex-wrap:wrap;
    justify-content: space-evenly;
  }
  .color-box{
    margin:.2em;
    height:50px;
    width:50px;
    border:1px solid #000;
  }
  .color-item{
    /* text-align: center; */
    position: relative;
  }
  #chosen-color{
    font-weight:400;
  }
  .color-item:hover.color-item p{
    opacity:1;
  }
  .label-descrip{
    display:block;
    max-width:700px;
  }
  
  .title{
    font-weight:700;
  }
  
  .line-break{
   border-top:2px solid black;
   max-width: 300px;
   margin: 0 auto;
   margin-top:10px;
  }
  .section2{
    margin-bottom:30px;
  }
  .sec2-container h2{
    max-width:1500px;
    margin:0 auto;
    padding:1% 3%;
    text-decoration: underline;
  }
  
  @media only screen and (max-width: 992px) {
    .my-grid{
        display:block;
        text-align: center;
    }
    #colors-header{
        grid-row:2/3;
    }
   
    .my-container{
        text-align: center;
    }
   .grid-4060{
    display:block;
   }
  }




































/* -- General -- */

:root {
    --r_black: #151515;
    --r_dark-blue: #203340;
}
.maincontent {
    display: block !important;
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 18px;
    letter-spacing: .015em;
    max-width: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
    overflow: hidden;
}
.r_h1,
.r_h2,
.r_h3 {
    margin: 20px 0;
    line-height: 1.05em;
    color: #111;
}
.r_h2 {
    font-size: 2em;
    font-weight: 600;
}
.r_h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
}
.r_h-light {
    color: #fff;
}
.maincontent p {
    font-size: .95em;
    line-height: 1.35em;
    font-weight: 400;
    color: #111;
}

.r_space-around {
    position: relative;
    padding: 80px 5%;
    z-index: 0;
}
.r_wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.r_col-sm {
    width: 45%;
    padding: 20px 30px;
}
.r_col-lg {
    width: 55%;
    padding: 20px 30px;
}
.r_img-wrapper {
    position: relative;
    max-width: 750px;
    width: 100%;
    margin: 20px auto;
}
.r_img-wrapper img {
    width: 100%;
    height: auto;
    background-color: #e0e0e0;
    border: 3px solid #fff;
    border-radius: 5px;
}
.r_img-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
}
.r_img-top-left {
    grid-row: 1 / 5;
    grid-column: 1 / 5;
}
.r_img-bottom-right {
    grid-row: 3 / 6;
    grid-column: 3 / 6;
}
.r_text-center {
    text-align: center;
}

.r_content-wrapper,
.r_content-wrapper-md,
.r_content-wrapper-sm,
.r_content-wrapper-x-sm {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.r_content-wrapper {
    max-width: 1550px;
}
.r_content-wrapper-md {
    max-width: 1400px;
}
.r_content-wrapper-sm {
    max-width: 1250px;
}
.r_content-wrapper-x-sm {
    max-width: 950px;
}

.r_underline {
    width: 200px;
    height: 2px;
    margin: -10px auto 25px;
    background: linear-gradient(90deg, #a0a0a0, #e0e0e0);
    border: none;
}
.r_underline-lg {
    max-width: 1450px;
    width: 90%;
    border-top: 2px solid #ddd;
    margin: 0 auto;
}
.r_underline-left {
    margin-left: 0;
}



/* -- Hero -- */

#r_hero_section {
    min-height: 400px;
    height: 100%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(/imageserver/UserMedia/ywpgallery/MetalRoofs/metalroofing3.jpg);
    background-size: cover;
    background-position: center;
    text-align: center;
}
#r_hero_section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--r_black) 15%, var(--r_dark-blue) 85%);
    opacity: .8;
}
.r_hero-wrapper {
    position: relative;
    z-index: 1;
}
.r_h1 {
    font-size: 2.95em;
    font-weight: 600;
    line-height: 1.15em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 20px #050505;
}
.r_h1-thin {
    font-weight: 200;
}



/* -- Intro -- */

#r_intro_section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background-color: #e5e5e5;
    z-index: -2;
    border-radius: 0 0 100% 0;
}



/* -- Why Metal -- */

#r_why_section {
    background: linear-gradient(180deg, var(--r_black) 15%, var(--r_dark-blue) 85%);
}
.r_why-list {
    display: flex;
    flex-wrap: wrap;
    margin: 50px auto 5px;
    padding: 0;
    list-style: none;
    gap: 2%;
}
.r_why-item {
    max-width: 450px;
    width: 23.5%;
    margin: 20px auto;
    padding-inline: 5px;
    text-align: left;
}
.r_why-icon {
    display: block;
    width: auto;
    height: 60px;
    margin-bottom: 30px;
}
.r_why-item p {
    font-size: .88em;
    color: #e9e9e9;
}

#r_why_section::before,
#r_why_section::after {
    content: "";
    position: absolute;
    height: 5px;
}
#r_why_section::before {
    inset: -5px 0 auto;
    background: repeating-linear-gradient(-90deg, var(--r_black) 0px, var(--r_black) 20px, transparent 20px, transparent 40px);
}
#r_why_section::after {
    inset: auto 0 -5px;
    background: repeating-linear-gradient(-90deg, transparent 0px, transparent 20px, var(--r_dark-blue) 20px, var(--r_dark-blue) 40px);
}



/* -- Color Picker -- */

#r_colors-grid {
    display: grid;
    max-width: 990px;
    max-height: 468px;
    justify-content: center;
    align-items: center;
    margin: 45px auto 20px;
}
#r_roof-desat {
    grid-column: 1/2;
    grid-row: 1/2;
    transform: translateX(0px) translateY(-.5px);
}
#r_roof-overlaySvg {
    grid-column: 1/2;
    grid-row: 1/2;
    background-color: #E7E6DE;
    height: 100%;
    width: 100%;
    mix-blend-mode: overlay;
    z-index: 2;
    filter: brightness(1.35);
}
#r_house {
    grid-column: 1/2;
    grid-row: 1/2;
    z-index: 3;
}

#r_selected_color {
    position: relative;
    font-size: 1.05em;
    font-weight: 300;
    background-color: var(--r_black);
    color: #fff;
    width: fit-content;
    text-align: center;
    margin-inline: auto;
    transform: translateY(-35px);
    padding: 5px 25px;
    border-radius: 50px;
    z-index: 3;
}

.r_colors-swiper .swiper-slide {
    width: 100px;
    height: auto;
    transition: opacity .4s;
}
.r_colors-swiper .swiper-slide:hover {
    opacity: .5;
}
.r_colors-swiper .r_color-box {
    display: block;
    width: 100%;
    height: 100px;
}
.r_colors-swiper .r_color-name {
    font-size: .65em;
    font-weight: 500;
    margin: 3px 0 0;
    text-align: left;
}
.r_colors-swiper .swiper-button-prev,
.r_colors-swiper .swiper-button-next {
    top: 52px;
    color: #fff;
    background-color: #111;
    border-radius: 20px;
    width: 20px;
    height: 40px;
    font-weight: 800;
}
.r_colors-swiper .swiper-button-next::after,
.r_colors-swiper .swiper-button-prev::after {
    font-size: 15px;
}
.r_colors-swiper .swiper-button-next {
    right: 5px;
}
.r_colors-swiper .swiper-button-prev {
    left: 5px;
}
#r_colors-custom {
    font-size: 1.05em;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 20px;
}
#r_colors-hex {
    margin-left: 12px;
}



/* -- Metal Types -- */

#r_types_section {
    background: linear-gradient(180deg, transparent 460px, var(--r_black) 15%, var(--r_dark-blue) 85%);
}
.r_types-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px auto 20px;
    padding: 0;
    list-style: none;
    gap: 2%;
}
.r_types-item {
    max-width: 500px;
    width: 32%;
    margin-block: 20px;
    padding-inline: 5px;
}
.r_types-img {
    display: block;
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto 35px;
    background-color: #f0f0f0;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%, 0 calc(100% - 30px));
    clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}
.r_types-body p {
    font-size: .88em;
    color: #e9e9e9;
}


  
/* -- Responsiveness -- */

@media (max-width: 1250px) {
    .r_intro-wrapper {
        align-items: flex-start;
    }
}

@media (max-width: 1024px) {
    .r_why-item {
        width: 49%;
    }
}

@media (max-width: 981px) {
    .r_wrapper {
        max-width: 750px;
        width: 100%;
        margin-inline: auto;
    }
    .r_col-sm,
    .r_col-lg {
        width: 100%;
        padding: 0;
    }
    .r_img-wrapper {
        margin-bottom: 30px;
    }

    #r_intro_section::after {
        width: 85%;
        height: 33%;
    }

    .r_why-item,
    .r_types-item {
        width: 49%;
    }
}

@media (max-width: 750px) {
    .r_h1 {
        font-size: 2.55em;
    }
    .r_h2 {
        font-size: 1.85em;
    }
}

@media (max-width: 650px) {
    .r_why-item,
    .r_types-item {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .r_h1 {
        font-size: 2.15em;
    }
    .r_h2 {
        font-size: 1.7em;
    }

    .r_space-around {
        padding-inline: 20px;
    }
    .r_text-center {
        text-align: left;
    }
    .r_text-center .r_underline {
        margin-left: 0;
    }
}