/* -- General -- */

:root {
    --r_gaf-red: #d71920;
    --r_blue: #18346A;
}
.maincontent {
    display: block !important;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-size: 18px;
    letter-spacing: .025rem;
    max-width: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
    background-color: #f3f3f3;
    overflow: hidden;
}
.maincontent p {
    font-size: 1em;
    line-height: 1.35em;
    font-weight: 400;
    color: #282828;
}
.r_p-highlight {
    color: #18346A;
    font-weight: 600;
    font-style: italic;
}

.r_h1,
.r_h2,
.r_h3,
.r_h4,
.r_h5 {
    position: relative;
    line-height: 1.15em;
    margin: 15px auto;
    color: #181818;
}
.r_h1 {
    font-size: 3.2em;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 0 20px #000;
    text-transform: uppercase;
}
.r_h1-sup {
    display: block;
    line-height: 1.15em;
    margin: 0 auto 5px;
    font-size: .7em;
    font-weight: 200;
    text-transform: none;
}
.r_h2 {
    font-size: 2.2em;
    font-weight: 300;
    width: fit-content;
}
.r_h2::before,
.r_h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100px;
    height: 2px;
    background-color: #c3c3c3;
}
.r_h2::before {
    right: 100%;
    transform: translate(-10px, -50%);
}
.r_h2::after {
    left: 100%;
    transform: translate(10px, -50%);
}
.r_h3 {
    font-size: 2.2em;
    font-weight: 600;
}
.r_h4 {
    font-size: 1.8em;
    font-weight: 400;
    margin-bottom: 30px;
}
.r_h4::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--r_gaf-red);
}
.r_h5 {
    font-size: 1.15em;
    font-weight: 600;
}
.r_h-highlight {
    color: #18346A;
    font-weight: 500;
}
.r_h-thin {
    font-weight: 300;
}

.r_space-around,
.r_space-around-sm {
    position: relative;
    z-index: 0;
}
.r_space-around {
    padding: 80px 5%;
}
.r_space-around-sm {
    padding: 60px 5%;
}

.r_content-wrapper,
.r_content-wrapper-md,
.r_content-wrapper-sm,
.r_content-wrapper-x-sm {
    width: 100%;
    margin-inline: 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_content-left {
    margin-left: 0;
}
.r_text-center {
    text-align: center;
}



/* -- Intro -- */

#r_intro_section {
    min-height: 550px;
    display: flex;
    align-items: center;
    margin-bottom: 80px;
}
#r_intro_section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(/imageserver/Reusable/GAF/gaf23/uhdz_bg.webp);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: #484848;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, calc(50% + 90px) 100%, 50% calc(100% - 90px), calc(50% - 90px) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, calc(50% + 90px) 100%, 50% calc(100% - 90px), calc(50% - 90px) 100%, 0 100%);
    z-index: -1;
}
#r_intro_section::after {
    content: "";
    position: absolute;
    inset: auto 0 -100px;
    height: 100px;
    background-color: var(--r_gaf-red);
    -webkit-clip-path: polygon(0 0, calc(50% - 90px) 0, 50% 90px, calc(50% + 90px) 0, 100% 0, 100% 10px, calc(50% + 90px) 10px, 50% 100px, calc(50% - 90px) 10px, 0 10px);
    clip-path: polygon(0 0, calc(50% - 90px) 0, 50% 90px, calc(50% + 90px) 0, 100% 0, 100% 10px, calc(50% + 90px) 10px, 50% 100px, calc(50% - 90px) 10px, 0 10px);
}
.r_gaf-logo {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 80px;
    width: 100%;
    height: auto;
}
.r_hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.r_gaf-cert-logo {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    max-width: 140px;
    width: 100%;
    height: auto;
}



/* -- Nav -- */

#r_shingle_picker {
    display: flex;
    flex-wrap: wrap;
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 0 12px rgba(5, 5, 5, .2);
    background-color: #fff;
}

.r_nav-container {
    position: relative;
    width: 25%;
}
.r_nav {
    position: absolute;
    inset: 20px 20px auto;
    box-shadow: 0 4px 12px rgba(5, 5, 5, .2);
    border-radius: 10px;
    background-color: #fff;
    padding: 15px 0;
}
.r_nav .r_nav-header {
    margin: 20px 23px;
    font-weight: 700;
    border-bottom: 1px solid #a8a8a8;
    padding-bottom: 5px;
    font-size: .95em;
}
.r_nav-tab {
    position: relative;
    width: 100%;
    font-size: .9em;
    font-weight: 600;
    margin: 0;
    padding: 10px 20px;
    border: none;
    border-left: 3px solid var(--r_gaf-red);
    background-color: transparent;
    cursor: pointer;
    user-select: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: background-color .15s, color .15s;
}
.r_nav-tab:hover,
.r_nav-tab:focus {
    color: var(--r_gaf-red);
}
.r_nav-tab .r_nav-toggle-icon {
    display: block;
    font-size: 1.2em;
    font-weight: 500;
    line-height: 1em;
    margin: 2px 0 0 15px;
    color: var(--r_gaf-red);
    transform-origin: 50% 50%;
    transition: transform .15s , color .15s;
}
.r_nav-group.r_active-group .r_nav-tab {
    background-color: var(--r_gaf-red);
    color: #fff;
}
.r_nav-group.r_active-group .r_nav-tab .r_nav-toggle-icon {
    transform: rotate(45deg);
    color: #fff;
}

/*.r_nav-list {
    display: none;
}*/
#r_timberline_nav_group .r_nav-list {
    display: block; /* Show by default */
}

.r_nav-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.r_nav-list ul li a {
    display: block;
    padding: 10px 20px;
    margin: 0;
    font-size: .85em;
    font-weight: 300;
    color: #111;
    text-decoration: none;
    transition: background-color .15s, color .15s;
}
.r_nav-list ul li a:hover {
    color: var(--r_gaf-red);
    text-decoration: none;
}
.r_nav-list ul li a.r_active-link {
    background-color: var(--accent-color);
    color: #fff;
}



/* -- Hero -- */

.r_hero-section {
    /*background-image: url(/imageserver/Reusable/GAF/gaf23/dark_abstract_bg.webp);
    background-size: cover;
    background-position: center;
    background-color: #404040;*/
    background: linear-gradient(135deg, #181818, var(--accent-color));
}
.r_hero-section h3,
.r_hero-section p {
    color: #fff;
}
.r_hero-section .r_solar-comp {
    position: relative;
    display: inline-block;
    font-size: .9em;
    margin-top: 15px;
    padding-left: 35px;
    font-weight: 500;
    font-style: italic;
    color: #FAE646;
}
.r_hero-section .r_solar-comp::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 25px;
    height: 25px;
    background-image: url(/imageserver/Reusable/GAF/gaf23/sun_icon.svg);
    background-size: cover;
    background-position: center;
}



/* -- Shingles -- */

.r_shingle-content-container {
    width: 75%;
    opacity: 1;
    border-left: 2px solid #ddd;
    transition: opacity .3s;
}
.r_invisible {
    opacity: 0;
}

.r_shingle-wrapper {
    display: none;
}
#timberline_hdz {
    display: block; /* Show by default */
}

.r_previews-gallery,
.r_colors-gallery {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}
.r_previews-gallery.swiper {
    margin: 50px 0 15px;
    height: 500px;
}
.r_previews-gallery .swiper-slide {
    background-position: 15% center;
    background-size: cover;
}
.r_previews-gallery .r_color-name {
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 1.05em;
    font-weight: 600;
    background-color: rgba(255, 255, 255, .85);
    margin: 0;
    padding: 8px 20px;
    backdrop-filter: blur(5px);
}
.r_zoom-in {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background-color: #fff;
    background-image: url(/imageserver/Reusable/GAF/gaf23/gaf23-shingles/zoom_in_icon.svg);
    background-size: cover;
    background-position: center;
}
.r_previews-gallery .swiper-button-prev,
.r_previews-gallery .swiper-button-next {
    color: #fff !important;
    font-weight: 800;
}
.r_previews-gallery .swiper-button-prev {
    left: 0 !important;
}
.r_previews-gallery .swiper-button-next {
    right: 0 !important;
}
.r_previews-gallery .swiper-button-prev::after,
.r_previews-gallery .swiper-button-next::after {
    font-size: 28px !important;
}

.r_loading-wrapper {
    position: relative;
}
.r_loader-cover {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #f0f0f0;
    z-index: 2;
}
.r_loader-animation {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    margin: 50px auto;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 5px solid #eee;
    border-top-color: var(--r_gaf-red);
     z-index: 3;
    animation: spin .5s linear infinite;
}
@keyframes spin {
    to { transform: translateX(-50%) rotate(360deg); }
}

.r_colors-gallery.swiper {
    margin: 20px 0 0;
}
.r_colors-gallery .swiper-slide {
    max-width: 110px;
    width: 100%;
    height: 180px;
}
.r_colors-gallery .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    border: 4px solid transparent;
    transition: border-color .15s;
}
.r_colors-gallery .swiper-slide-thumb-active img {
    border-color: var(--r_gaf-red);
}
.r_colors-gallery .r_color-name {
    font-size: .65em;
    font-weight: 500;
    margin: 2px 0 0 4px;
}

p.r_note {
    font-size: .85em;
    color: #606060;
    font-style: italic;
}



/* -- About -- */

.r_link {
    font-weight: 700;
    color: #484848;
    font-style: italic;
    text-decoration: underline;
}
.r_link:hover {
    color: #484848;
    text-decoration: none;
}
.r_underline {
    width: 100%;
    margin: 0 auto;
    max-width: 1550px;
    width: 90%;
    border-radius: 50%;
    height: 2px;
    background-color: #a8a8a8;
    border: none;
}

.r_logo-wrapper {
    display: flex;
    margin: 30px 0 15px;
}
.r_logo-wrapper img {
    max-width: 150px;
    width: 100%;
    height: auto;
    margin: 8px;
}



/* -- Features & Benefits -- */

.r_benefits-list {
    display: flex;
    flex-wrap: wrap;
    margin: 40px auto 20px;
    padding: 0;
    list-style: none;
    gap: .75%;
}
.r_benefits-item {
    width: 31.8333333333%;
    margin: 15px auto;
    padding: 40px 30px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
}
.r_benefits-icon {
    display: block;
    margin-bottom: 20px;
    width: 75px;
    height: 75px;
}
.r_fill-red {
    fill: var(--r_gaf-red);
}
.r_fill-none {
    fill: none;
}
.r_benefits-item p {
    font-size: .95em;
}



/* -- Warranties -- */

.r_warranties-list {
    display: flex;
    flex-wrap: wrap;
    margin: 60px auto 20px;
    padding: 0;
    list-style: none;
    gap: 1%;
}
.r_warranties-item {
    max-width: 500px;
    margin: 15px auto;
    padding-inline: 5px;
}
.r_warranties-item-4 {
    width: 23%;
}
.r_warranties-item-3 {
    width: 31.3333333333%;
}
.r_warranties-item img {
    display: block;
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 0px auto 30px;
}
.r_warranties-item p {
    font-size: .95em;
}



/* -- Back To Top -- */

#back_to_top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background-color: var(--r_gaf-red);
    border: none;
    border-radius: 50%;
    opacity: 0;
    z-index: 9999;
    transition: opacity .33s;
}
#back_to_top::after {
    content: "";
    position: absolute;
    top: 55%;
    left: 50%;
    width: 15px;
    height: 15px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translate(-50%, -50%) rotate(-45deg);
}



/* -- Additional Resources -- */

.r_ar-list {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0 20px;
    padding: 0;
    list-style: none;
    gap: 2%;
}
.r_ar-item {
    max-width: 600px;
    width: 32%;
    margin: 40px auto 0;
    padding-inline: 5px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.r_ar-img-wrapper {
    position: relative;
    display: block;
    margin-bottom: 40px;
}
.r_ar-img-wrapper::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 5px solid var(--r_gaf-red);
    z-index: -1;
}
.r_ar-img {
    width: 100%;
    height: auto;
    background-color: #e3e3e3;
    -webkit-clip-path: polygon(80px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0 80px);
    clip-path: polygon(80px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0 80px);
}
.r_ar-item h3 {
    margin-bottom: 30px;
}
.r_ar-item h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--r_gaf-red);
}
.r_ar-item p {
    font-size: .9em;
}
.r_ar-link {
    position: relative;
    width: fit-content;
    margin: 20px 0 0;
    font-size: 1em;
    font-style: italic;
    font-weight: 500;
    color: var(--r_blue);
}
.r_ar-link:hover,
.r_ar-link:focus {
    color: var(--r_gaf-red);
    text-decoration: none;
}
.r_ar-link::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%) rotateZ(45deg);
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--r_gaf-red);
    border-right: 2px solid var(--r_gaf-red);
    transition: right .15s;
}
.r_ar-link:hover::after,
.r_ar-link:focus::after {
    right: -20px;
}



/* -- Responsiveness -- */

@media (max-width: 1300px) {
    .r_warranties-item-4 {
        width: 48%;
    }
}

@media (max-width: 981px) {
    .r_nav-container,
    .r_shingle-content-container {
        width: 100%;
    }
    .r_shingle-content-container {
        border-left: none;
    }
    .r_nav {
        position: relative;
        inset: 0 auto auto;
        box-shadow: none;
        border-radius: 0;
    }

    .r_benefits-item {
        width: 100%;
    }
    .r_benefits-content {
        max-width: 600px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .r_warranties-item-3 {
        width: 100%;
    }

    .r_ar-item {
        width: 100%;
    }
}

@media (max-width: 750px) {
    #r_intro_section {
        min-height: 525px;
    }
    .r_h1 {
        font-size: 2.8em;
    }
    .r_h2,
    .r_h3 {
        font-size: 2em;
    }

    .r_previews-gallery.swiper {
        height: 400px;
    }
    .r_previews-gallery .r_shingle-title {
        font-size: 1em;
    }

    .r_warranties-item-4 {
        width: 100%;
    }
}

@media (max-width: 480px) {
    #r_intro_section {
        min-height: 500px;
    }
    .r_h1 {
        font-size: 2.4em;
    }
    .r_h2,
    .r_h3 {
        font-size: 1.8em;
    }
    .r_h2::before,
    .r_h2::after {
        display: none;
    }

    .r_space-around {
        padding-inline: 20px;
    }

    .r_text-center {
        text-align: left;
    }

    .r_previews-gallery.swiper {
        height: 300px;
    }
    .r_previews-gallery .r_shingle-title {
        font-size: .9em;
    }
}










/*:root{
  --tline-blue:#18346A;
  --gaf-red:#D71921;
}

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;
}
h1{
  font-size:2.5rem;
}
h2{
  font-size:2rem;
}
h3{
  font-size:1.5rem;
}
h4{
  font-size:1.3rem;
}
.p-link{
  font-weight:300;
  text-transform: uppercase;
  white-space: nowrap;
  color:#fff;
  border:1px solid var(--tline-blue);
  border-radius:5px;
  padding:10px 15px;
  margin-top:10px;
  display:inline-block;
  text-decoration: none;
  background-color:var(--gaf-red);
  box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.45);

}
.p-link:hover{
  text-decoration: none;
  box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.15);
  color:#fff;
  transform:scale(.99);
}
.t-link{
  font-weight:600;
  color:var(--tline-blue);
  display:inline-block;
  text-decoration: none;
 

}

.title{
  font-weight:300;
}
.subtitle{
  max-width:800px;
  margin:0 auto;
}
.highlight{
  font-weight:600;
}
.tline-blue{
  color:var(--tline-blue);
}
.gaf-red{
  color:var(--gaf-red);
}
.large-line{
  line-height:1.6rem;
}
.mt{
  margin-top:2%;
}
.right-content{
  text-align: right;
}
img{
  width:100%;
}
.my-container{
  max-width:90%;
  margin:0 auto;
  padding:2%;
}
.my-header{
  text-align: center;
}
.warranty-row{
  display:flex;
  flex-direction:row;
  justify-content:space-around;
  flex-wrap:wrap;
}
.warranty-row img{
  max-width:175px;
}
.grid-5050{
  display:grid;
  grid-template-columns: repeat(2, 50%);
}
.grid-img{
  margin:0 auto;
  display:grid;
  align-items:center;
  justify-content:center;
}
.img-shadow{
  filter: drop-shadow(3px 3px 3px rgba(0,0,0,0.4));
}
.grid-img img{
  filter: drop-shadow(3px 3px 3px rgba(0,0,0,0.4));
  margin:0 auto;
}
.grid-content{
  padding:4%;
  display:grid;
  align-items:center;
  justify-content: center;
}
.hero{
  position: relative;
}
.hero-container{
  position: absolute;
  top:0;
  left:2px;
}
#hero-logo{
  max-width:clamp(25px, 8vw, 250px);
}
.section2{
  background-color:#f5f5f5;
}
#roof-guide-list{

}
#roof-guide-list ul li{
  list-style-type: none;
}
.grid-4060{
  display:grid;
  grid-template-columns: 40% 60%;
}
#repair-replace{
  width:100%;
  background-image:linear-gradient(to top right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%), url("/imageserver/Reusable/GAF/gaf23/aerial-view.jpg");
  background-repeat: no-repeat;
  background-size:cover;
  display:flex;
  flex-direction: column;
  align-items:flex-end;
  padding:3%;
}
.list-right{
  max-width:800px;
}
#roof-system{
  display:flex;
  flex-direction: row;
  align-items:center;
  justify-content: space-around;
  padding:3% 0;
}

#ventilation {
  padding:5% 0;
  text-align: left;
}
#ventilation img {
  filter: drop-shadow(3px 3px 3px rgba(0,0,0,0.4));
  margin: 0 auto;
}

#warranty-section{
  background-color:#f5f5f5;
}
#warranty{
  display:grid;
  grid-template-columns: repeat(2,50%);
  gap:20px;
  padding:3% 0;
  align-items: center;
}
.videoWrapper {
	position: relative;
  display:grid;
  align-items: center;
	padding-top: 25px;
        padding-bottom: 56.25%;
	max-width:560px;
        max-height:500px;
}
.videoWrapper iframe {
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
        max-width:560px;
        max-height:315px;
}
#designer-section{
  margin:0 auto;
}
#virtual-designer{
  display:grid;
  grid-template-columns: repeat(2,50%);
  flex-direction: row;
  align-items:center;
  justify-content: space-evenly;
  padding:3% 0;
}


.my-footer{
  display:grid;
  margin-top:30px;
}
#my-footer-img{
  grid-column:1/2;
  grid-row:1/2;
}
#my-footer-content{
  grid-column:1/2;
  grid-row:1/2;
  place-self:center;
  background-color:rgba(255,255,255,0.8);
  padding:5% 6%;
  text-align: center;
  max-width:1000px;
}

@media screen and (max-width:1280px) {
  #virtual-designer,#warranty{
    display:block;
    text-align:center;
  }
  .videoWrapper{
    margin:-50px auto 75px;
  }
  #warranty .highlight{
    margin-top:-15vw;
  }
  #roof-system{
    flex-wrap:wrap;
    text-align: center;
  }
  #repair-replace{
    width:100%;
    background-image:linear-gradient(to top right, rgba(255,255,255,.7) 0%, rgba(255,255,255,.7) 50%), url("/imageserver/Reusable/GAF/gaf23/aerial-view.jpg");
    text-align: center;
  }

  #ventilation {
    text-align: center;
  }

  .grid-5050{
    display:block;
  }
  .main-content{
    text-align: center;
  }
  .section2 .grid-5050 .grid-content{
    text-align: center!important;
  }
  .main-color{
    flex-wrap:wrap;
    text-align: center;
  }
  body,html{
    font-size:16px;
  }
}
@media screen and (max-width:992px) {
  body,html{
    font-size:14px;
  }
  .videoWrapper{
    margin:0 auto 125px;
  }
}*/