/* FOR RM STYLING MODS */
*:not(.as-seen-on *){
    -webkit-transition: 0s !important;
    -moz-transition: 0s !important;
    -o-transition: 0s !important;
    transition: 0s !important;
}
body::before,
body::after {
    width: calc((100% - 1275px) / 4.2) !important;
}
#top_nav {
    margin-bottom: 0px;
}
.content h3,
.blog_content h3 {
    font-weight: 600;
}
.block_light_gray {
    margin: 0rem auto !important;
    padding: 1rem 0;
}
.footer_main * {
    font-weight: 300;
    line-height: initial;
}
.iconbox h2 {
    font-weight: 600;
    font-size: 1.6581em;
}
.footer_main ul.social_media_icons {
    padding: 0;
}
span.wood-molt:after {
    content: "(by keeping your roof system dry)";
    position: absolute;
    font-size: 13px;
    line-height: 1.2em;
    top: 20px;
    left: 0;
    width: 100%;
}

/* UTILITIES */
.no-event {
    pointer-events: none;
}
.lefted {
    border-left: 3px solid #6a813c;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}
.righted {
    border-right: 3px solid #6a813c;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

/* BACKGROUNDS */
.bg-black {
    background-color: #232323;
}
.bg-green {
    background-color: #6a813c;
}
.bg-orange {
    background-color: #ef9c20;
}
.bg-grey {
    background-color: #e8e8e8;
}
.bg-white {
    background-color: #fff;
}
.bg-grey-green {
    background-color: #EEF1EA;
}

.bg1 {
    background-image: url(/wp-content/themes/roofmaxx2020/assets/images/bg-image-1.jpg);
    background-attachment: fixed;
    background-size: cover;
    height: 800px;
}
.overlayed1 > div::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: #ffffffb3;
    top: 0;
    left: 0;
    position: absolute;
}
.overlayed2 > div::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: #78787894;
    top: 0;
    left: 0;
    position: absolute;
}
@media screen and (max-width: 768px) {
    .bg1 {
        background-position: center;
        height: 670px;
    }
}
@media screen and (max-width: 485px) {
    .bg1 {
        background-position: center;
        height: 800px;
    }
}
/* BACKGROUNDS */

/* TEXTS */
.txt-white,
.txt-white * {
    color: #fff;
}
.txt-black,
.txt-black * {
    color: #232323;
}
.txt-dark-shadow {
    text-shadow: 0 2px 2px rgb(0 0 0 / 50%);
}
blockquote {
    font-size: 1.1em !important;
    font-style: italic;
    color: #232323;
    padding: 35px 10px 10px;
    line-height: 1.3;
    position: relative;
    background: #ededed;
}

blockquote::before {
    font-family: Arial;
    content: "\201C";
    color: #6a813c;
    font-size: 4em;
    position: absolute;
    left: 10px;
    top: -10px;
}
span.output-zip {
    display: block;
    width: 100%;
    color: #757575;
    font-size: 14px;
    text-align: left;
}

/* TEXTS */
/* UTILITIES */

/* HERO */
.rated-icon{
    width: 320px;
}
@media screen and (max-width: 768px) {
    .rated-icon{
        
    }
}
@media screen and (max-width: 485px) {
    .rated-icon{
        
    }
}

.as-seen-on-container {
    width: 75vw;
}
.slick-track img {
    filter: opacity(0.9) contrast(0.1);
}
@media screen and (max-width: 768px) {
    .as-seen-on-container {
        width: 90vw;
    }
}
@media screen and (max-width: 485px) {
    .as-seen-on-container {
        width: 85vw;
    }
}

.as-seen-on {
    margin-bottom: 0;
    color: #c9c9c9;
    font-weight: 300;
    font-size: 1em;
}
/* .small_banner {
    width: 1024px;
    max-width: 100%;
}
@media screen and (min-width: 992px) {
    .small_banner {
        transform: translateY(30px);
        margin-top: -45px !important;
        font-size: 1.3em;
    }
} */

.hero form {
    width: 100%;
}
input#zipCodeExt::placeholder {
    font-size: 0.9rem;
}
@media screen and (min-width: 768px) {
    .hero form {
        width: 400px;
        max-width: 100%;
        margin: 0 auto;
    }
}

/* HERO */

/* VIDEO SECTION BOXED */
.content-container {
    display: flex;
    align-items: center;
    background-color: #fff;
}
.content {
    display: flex;
    flex-direction: column;
}
.icon-text {
    margin-top: 5px;
}
.icon-text img {
    width: 40px;
    margin-right: 20px;
}
/* VIDEO SECTION BOXED */

/* IMAGES */
.as-seen-on-container img {
    width: 420px;
}

.icon-x,
.icon-v {
    position: relative;
    padding-left: 38px;
}
.icon-v:before {
    background-image: url(/wp-content/themes/roofmaxx2020/assets/images/svg/icon-correct.svg);
}
.icon-x:before {
    background-image: url(/wp-content/themes/roofmaxx2020/assets/images/svg/icon-error.svg);
}
.icon-x:before,
.icon-v:before {
    content: "";
    position: absolute;
    left: 0;
    display: block;
    width: 35px;
    height: 35px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

/* IMAGES */

/* COUNTERS */
div[class^="number"] {
    font-size: 30px;
    font-weight: 600;
    color: #f5a800;
    text-align: center;
}
.counter-description {
    font-size: 18px;
    color: #232323;    
    text-align: center;
    line-height: 1.3em;
}
@media screen and (max-width: 1024px) {
    div[class^="number"] {
        font-size: 30px;
    }
}
/* COUNTERS */

/* TESTIMONIAL CAROUSEL */
.testimonial {
    text-align: center;
    color: #f2efe8;
    margin: 30px 30px 60px 30px;
    padding: 20px 30px;
    border-radius: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 10px 20px 8px #000000eb;
    cursor: grab;
    z-index: 1;
}

.testimonial:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #dcdcdc;
    border-radius: 5px;
    transition: 1s;
    z-index: -1;
}
.owl-item.active:not(.center) .testimonial:before {
    background-color: #fff;
}

.testimonial:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #6a813c;
    border-radius: 5px;
    transform: rotate(-7deg);
    z-index: -2;
}
.testimonial .pic {
    margin-bottom: 20px;
    width: 150px;
}
.testimonial .pic img {
    width: 100%;
}
.testimonial .testimonial-content {
    font-size: 1.1em;
    line-height: 1.3em;
    margin-bottom: 20px;
}
.testimonial .testimonial-title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.testimonial .testimonial-title span {
    display: inline-block;
    color: #f5a800;
    font-size: 20px;
    font-weight: 700;
}
.testimonial-content p {
    color: #232323;
    min-height: 160px;
    max-height: 260px;
    overflow: auto;
}
@media screen and (max-width: 546px) {
  .testimonial-content p {
      height: 190px;
  }
}
.testimonial .testimonial-title small {
    color: #232323;
    font-size: 15px;
    font-weight: 700;
}
.testimonial .verified-pic {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}
.testimonial .verified-pic img {
    width: 110px;
    margin-top: 10px;
}
/*
.testimonial .verified-pic span {
    font-size: 12px;
    color: #232323;
}
*/
.owl-nav {
    text-align: center;
}
.owl-nav button span {
    font-size: 35px;
    background-color: white;
    height: 48px;
    width: 48px;
    line-height: 45px;
    display: inline-block;
    margin: 0 20px;
    color: #232323;
}
.owl-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 300px;
    margin: 15px auto;
}
#testimonial-slider .owl-dot {
    background-color: #fff !important;
    display: flex;
    margin: 0 5px;
    justify-content: center;
    align-items: center;
    padding: 8px !important;
    border-radius: 50%;
    transition: 0.4s;
}
#testimonial-slider .owl-dot.active {
    background-color: #232323 !important;
}

@media screen and (min-width: 1200px) {
    .owl-item.active.center .testimonial:before {
        background-color: #fff;
    }
}
/* TESTIMONIAL CAROUSEL */

/* MODALS */
div#fMsg {
    position: relative;
    background-color: #ccc;
    border-radius: 5px;
}
div#fMsg p {
    font-size: 17px;
    line-height: 1.4;
    position: relative;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}
.c-modal {
    background-color: rgba(0, 0, 0, 0.85);
}
.c-modal .modal-content {
    background-color: transparent;
    border: none;
}
.c-modal .modal-header .btn-close {
    background-color: #fff;
    border-radius: 50%;
}
.c-modal .modal-header .btn {
    background-color: #000;
}
.c-modal .modal-header,
.c-modal .modal-footer {
    border: none;
}
/* MODALS */

/* BUTTONS */
.button-getestimate {
    transition: 0.3s;
    color: #fff !important;
    background-color: #f5a800;
    border-color: #f5a800;
    border-radius: 0;
    font-weight: 500;
}

.button-getestimate:hover,
.button-getestimate[disabled] {
    background-color: #cf8f17;
    border-color: #cf8f17;
}

.button-dealerdev {
    transition: 0.3s;
    color: #f5a800;
    background-color: #232323;
    border-color: #f5a800;
    border-radius: 0;
    font-weight: 500;
}
.button-dealerdev:hover {
    background-color: #cf8f17;
    color: #fff;
}
/* BUTTONS */


/* OUR TEAM PAGE */
.member-info {
    margin-bottom: 35px;
}
.member-info .pic {
    border: 5px solid #ef9c20;
    box-sizing: border-box;
    border-radius: 50%;
    transition:0.4s!important;
}
.lnkdin:hover img{    
    opacity:1!important;
}
a .member-info:hover .pic{
    border: 5px solid #69813B;
}
.member-info .name {
    font-size: 15px;
    margin-top: 5px;
    line-height: 1.1em;
}
.member-info .position {
    font-size: 13px;
    line-height: 1.1em;
    margin: 5px auto;
    color: #ef9c20;
    word-wrap: break-word;
}
.member-info span{
    display:block;
    margin-bottom: 0;
}
/* OUR TEAM PAGE */


/* IMPACT PAGE */
.icons-cont {
    display: flex;
    flex-direction: column;
    gap: 0.4em;
    align-items: flex-start;
}
.icons-cont img {
    height: 100px;
}
a[id *="impact"] img {
    height:initial!important;
}
a[id *="impact"]:hover img {
    filter: sepia(1);
}
.zindex2{
    position:relative;
    z-index:2;
}
#line-rm1 {
    width: 70vw;
    margin: 0 auto;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0.1;
    z-index: 0;
}
#line-rm1 path {
  stroke-dasharray: length;
  stroke-dashoffset: length;
  transition: stroke-dashoffset 5s forwards; /* Optional: smooth transition for the dashoffset change */
}

/* IMPACT PAGE */








