
html { background-color: var(--dark-mode-bg); color: #eee;  }

* { outline: 0; position: relative;  }

p { margin-bottom: 20px; }

:root {
    --primary-color: #aaa; /* if var(--primary-color) is not defined */
    --secondary-color: #222; /* if var(--secondary-color) is not definied */
    --third-color:rgba(220, 15, 15, 0.784);
    --header-font: 'Bebas Neue', sans-serif;
    --body-font: 'Montserrat', sans-serif;
    --script-font: 'Permanent Marker', cursive;

    --light-mode-bg: #f9f9f9;
    --dark-mode-bg: #111;
}

.dark {
    background-color: var(--dark-mode-bg);
}

.handwritten {
    font-family: var(--script-font);
    color: #fff;
    display: inline-block;
    background: var(--third-color);
    margin-top: 20px;
    opacity: .9;
    padding: 0px 20px;
}

body {
    max-width: 1400px;
    margin: auto;
    box-shadow: 0px 0px 50px rgba(0,0,0,.1);
    background-color: var(--dark-mode-bg);
    font-size: 18px;
    font-family: var(--body-font);
    color: #eee;
}

body.ur-fixed-now {
    position:fixed;
}

.is-sticky {
    position: sticky;
    top: 0;
}

.has-no-padding {padding: 0;}
.has-no-padding-y {padding-top: 0; padding-bottom: 0; }
.has-no-padding-x {padding-left: 0; padding-right: 0; }


a {
    color: var(--primary-color);
}

.nav-visible {
    position: absolute;
    left: 0;
    width: 100%;
    transition: all .5s linear;
    display: flex;
    flex-direction: column;
    text-align: center;
    top: 81px;
    transition: all 1s ease-in-out;
    opacity: 1;
}

.mobile-toggle {
    display: block;
    width: 100%;
    padding: 10px 2%;
    cursor: pointer;
    text-align: right;
}
  

.primary {
    background-color: var(--primary-color);
}

.primary:hover {
    background-color: var(--secondary-color); 
}

button.primary {
    color: var(--secondary-color);
}

button.primary:hover {
    color: var(--primary-color);
}


.outlined {
    background-color: transparent;
    color: var(--secondary-color);
    border: solid 3px var(--secondary-color);
}

.outlined.light {
    background-color: transparent;
    color: #f2f2f2;
    border: solid 3px #f2f2f2;
}

h1,h2,h3,h4,h5,h6 {
    font-size: 50px;
    font-family: var(--header-font);
    text-rendering: optimizelegibility;
    line-height: 60px;
}

h1 { font-size: 60px; line-height: 70px; }

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.m-auto {
    margin: auto;
}

.p-top-zero {
    padding-top: 0;
}

.handwritten {
    font-family: var(--script-font);
    color: #fff;
    display: inline-block;
    background: var(--third-color);
    margin-top: 20px;
    opacity: .9;
    padding: 0px 20px;
}


.bigger {
    font-size: 2rem;
}

header {
    position: fixed;
    top: 0;
    left: auto;
    max-width: 1450px;
    width: 100%;
    z-index: 9999;
    height: auto;
    padding: 5px 20px 5px;
    border-bottom: solid 7px #6b6b6b;
    background: #fff;
    box-shadow: 0px 0px 20px rgba(0,0,0,.2);
}

section, footer  {
    padding: 7rem 3%;
    background: var(--dark-mode-bg);
}

main, aside  {
    min-height: 500px;
    background: var(--dark-mode-bg);
}

header .columns {
    margin: auto;
}

.columns {
    overflow: hidden;
}

.columns > .columns {
    max-width: 100%;
    margin: 0;
}

header nav ul {
    display: flex;
    font-family: var(--body-font);
    justify-content: center;
}

header nav ul li {
    margin: 0px 5px;
    padding: 10px;
}

nav a {
    color: #333;
    padding: 0px 15px;
}

.navbar-item {
    padding: .5rem;
}

header .brand {
    padding: 0;
}

header .brand img {
    max-height: 80px;
    padding: 5px 5px 10px;
}

header .navigation {
    margin-bottom: auto;
}

header {
    height: 100px;
}

header.transparent {
    background-color: transparent;
    background-image: linear-gradient(rgba(0,0,0,.9), rgba(0,0,0,.8),transparent);
    border-bottom: none;
    box-shadow: none;
}

header.transparent nav a {
    color: #fff;
}

.header-cta a button {
    padding: 10px 20px;
    margin: 0;
}

.header-cta a button.transparent.outlined {
    color: #fff;
    border-color: #fff;
}

button {
    border-radius: 50px;
    border: none;
    padding: 12px 35px;
    margin: 10px 1% 20px 0;
    font-size: 1.2rem;
    font-weight: bold;
    transform: none;
    transition: all 20ms linear;
    cursor: pointer;
    font-family: var(--body-font);
    text-transform: uppercase;
    color: #fff;
}

input {
    padding: 12px 35px;
    margin: 10px 1% 20px 0;
    font-size: 1.2rem;
    font-weight: bold;
    transform: none;
    transition: all 20ms linear;
    font-family: var(--body-font);
}

/* button.outlined {
    background-color: transparent;
    border: solid 3px #fff;
    color: #fff;
} */

footer {
    background: #333;
    border-top: solid 20px #222;
}

footer hr {
    background-color: #aaa;
}

.footer-nav {
    font-family: var(--header-font);
    font-size: 1.8rem;
}

.footer-credits {
    margin-top: 30px;
}

footer .social-icons {
    display: flex;
    max-width: 500px;
    margin: auto;
}


footer .social-icons li {
    flex: 1;
}

footer .social-icons li:hover {
    color: var(--secondary-color);
}


.footer-logo {
    text-align: right;;
}

.hero.welcome {
    background-image: url(../img/dark-mountain-mobile.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0px 0px 20px rgba(0,0,0,.2);
    padding: 15% 0 3%;
}

.hero video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 0;
    opacity: .2;
}

.hero-content {
    z-index: 1;
}


.section-title {
    opacity: .2;
    text-transform: uppercase;
}

.breadcrumbs {
    padding-bottom: 0;
}

.hero .image img {
    max-width: 350px;
    margin: auto;
    
}

/* .services .column {
    display: flex;
} */

.slick-prev::before, .slick-next::before {
    color: white !important;
    font-size: 25px !important;
}

.roofing-gallery {
    margin: auto;
    background-color: transparent;
}

.roofing-gallery a {
    display: block;
}

.roofing-gallery .card {
    box-shadow: none;
    padding: 10px;
    margin-bottom: 20px;
    background-color: transparent;
    border-radius: 0px;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    height: 300px;
    max-height: 300px;
    transform: none;
    transition: all 20ms linear;
    cursor: pointer;
}

.roofing-gallery .card-background {
    width: 100%;
    height: 100%;
}

.roofing-gallery .card img {
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    border-radius: 0px;
    transform: none;
    transition: all .5s ease-in-out;
}

.roofing-gallery .card-content {
    padding-top: 40%;
    left: 0;
    bottom: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 99;
    /* background-image: linear-gradient( rgba(0,0,0,0), rgba(0,0,0,0.7)); */
}

.roofing-storm-damage {
    background: url(../img/dark-mountain-roofing.jpg);
    background-size: cover;
    background-position: bottom;
    background-color: transparent;
    padding: 5% 1%;
    border-radius: 0;
    text-shadow: 0px 10px 20px rgba(0,0,0,0.5);
}

.card-content h1 {
    color: #fff;
    font-weight: bold;
    font-size: 1.8rem;
    position: absolute;
    left: 7%;
    bottom: 7%;
    max-width: 90%;
    line-height: 2.2rem;
    text-shadow: 0px 3px 5px rgba(0,0,0,.3);
}

.intro {
    padding-top: 0;
    padding-bottom: 3%;
}

.intro img {
    width: 100%;
    max-width: 400px;
    max-height: 100%;
    height: auto;
}

.team-img img {
    max-width: 170px;
    z-index: 99;
    margin-top: -5%;
}

.about img {
    max-width: 80%;
}

.get-in-touch form {
    display: block;
    margin: 1% auto 5%;
}

.get-in-touch form input {
    width: 48%;
    float: left;
    padding: 20px;
    font-size: 16px;
    border: solid 2px #aaa;
    margin: 10px 1% 10px 0;
    background: #333;
    color: #fff;
}

.get-in-touch button {
    background-color: var(--primary-color);
}

.get-in-touch form input#submit {
    width: auto;
    float: none;
    padding: 12px 25px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
    border: none;
    margin: 0 auto;
    background: transparent;
}

.get-in-touch form input#submit:hover {
    opacity: .9;
}

.get-in-touch form textarea {
    width: 98%;
    float: none;
    padding: 20px;
    font-weight: bold;
    font-size: 16px;
    border: solid 2px #aaa;
    margin: 10px 1% 10px 0;
    background: #333;
    color: #fff;
}

.testimonials {
    background-size: cover;
    background-position: center;
    padding: 5rem 5%;
}

.testimonial-slider {
    border: solid 3px white;
    padding: 3%;
}

.faq.toggle {
    margin: 20px 0;
    padding: 5%;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: none !important;
    background-color: #eee;
}

.faq.toggle h6::after {
    content: '+';
    color: #666666;
    padding: 0px 10px;
    font-size: 50px;
}


.faq.toggle h6 {
    margin-bottom: 0;
}

.faq.toggle.opened h6 {
    margin-bottom: 10px;
}

.faq.toggle .readmore {
    display: none;
    transition: all .5s linear;
    transform: opacity(0);
}

.faq.toggle.opened .readmore {
    display: block;
    transition: all .5s linear;
    transform: opacity(1);
}

.page-title {
    margin-bottom: 20px;
}
    


.vbox-share {
    line-height: 28px;
    font-size: 12px;
    overflow: hidden;
    position: fixed;
    left: 0;
    z-index: 98;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    flex-direction: column;
    top: 0;
    max-width: 100px;
}




/* Inner Page Styles */

.featured-image {
    width: 800px;
    margin: 5% 0;
    max-width: 100%;

}

.sidebar {
    padding: 7% 5%;
    position: sticky;
    top:0;
}

.sidebar-ad img {
    max-width: 100%;
}





@media (min-width: 981px) {



.content h1 { font-size: 3rem; }
.content h2 { font-size: 2.8rem; }
.content h3 { font-size: 2.6rem; }
.content h4 { font-size: 2.4rem; }
.content h5 { font-size: 2.2rem; }
.content h6 { font-size: 2rem; }


.roofing-gallery .card:hover, .faq.toggle:hover, button:hover {
    transform: scale(.97);
    transition: all 50ms linear;
    box-shadow: 5px 15px 10px rgba(0,0,0,.1);
 }

 .hero.welcome {
    background-image: none;
    background-size: cover;
 }
 
 


}


@media (max-width: 980px) {

header {
    height: 80px;
}

.header-cta {
    display: none;
}

header .brand img {
    max-height: 70px;
}

.hero > video {
    display: none;
}

.main-navigation {
    display: none;
}

body, button {
    font-size: 14px;
}

section {
    padding: 3rem 7%;
}

.slick-prev {
    left: -10px;
}

.slick-next {
    right: -10px;
}

.get-in-touch form input {
    width: 98%;
}


.hero.welcome {
    background-image: url(../img/dark-mountain-mobile.jpg);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    box-shadow: 0px 0px 20px rgba(0,0,0,.2);
    padding: 150px 0 5%;
}


footer .social-icons li {
    float: none;
}


}