/* Global */

html, body { 
    overflow-x: hidden; 
}

.row {
    margin-right: -15px;
    margin-left: -15px;
}

body {
    font-family: 'Lato', sans-serif;
}

.section-green {
    background-color: #8cc626;
}

.carousel {
    margin-top: 30px;
    margin-bottom: 30px;
}

.transparent .box {
    margin-top: 5px;
    background-color: rgba(255, 255, 255, 0.75);
    border: 1px solid #F7F7F7;
    border-radius: 5px;
    padding: 4%;
    text-align: center;
    width: 97%;
    position: relative;
    margin-bottom: 5px;
}

.thumbnail {
    position: relative;
}

.caption {
    position: relative;
    top: 45%;
    left: 0;
    width: 100%;
}

.list-unstyled {
    margin: 0em !important;
}

[aria-expanded="false"] > .expanded,
[aria-expanded="true"] > .collapsed {
    display: none;
}

/* Body Elements */

section {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.no-padding-left {
    padding-left: 0rem;
}

.no-padding-right {
    padding-right: 0rem;
}

.row {
    padding-bottom: 0.5rem;
}

.row + .row {
    padding-bottom: 0.5rem;
}

.btn-green,
.btn-green:visited {
    color: #fff;
    background-color: #8cc626;
    border: 2px solid #8cc626;
    border-radius: 0px !important;
}

.btn-green:hover,
.btn-green:active,
.btn-green:focus {
    color: #8cc626;
    background-color: #fff;
    border: 2px solid #8cc626;
}

.btn-green-inverted,
.btn-green-inverted:visited {
    color: #8cc626;
    background-color: #fff;
    border: 2px solid #8cc626;
}

.btn-green-inverted:hover,
.btn-green-inverted:active,
.btn-green-inverted:focus {
    color: #fff;
    background-color: #8cc626;
    border: 2px solid #8cc626;
}

button:hover,
button:acvite,
button:focus {
    color: #fff;
    background-color: #8cc626;
    border: 2px solid #8cc626;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    color: #8cc626;
    background-color: #fff;
    border: 2px solid #8cc626;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-white {
    color: #fff !important;
    background-color: #8cc626;
    border: 2px solid #fff;
    padding: .4rem 2.5rem .4rem 2.5rem;
    border-radius: 0px;
}

.btn-white:hover,
.btn-white:active,
.btn-white:focus {
    color: #8cc626 !important;
    background-color: #ffffff;
    border: 2px solid #fff;
}

.btn-black,
.btn-black:visited {
    color: #000;
    background-color: #8cc626;
    border: 1px solid #000;
}

.btn-black:hover,
.btn-black:active,
.btn-black:focus {
    color: #8cc626;
    background-color: #000;
    border: 1px solid #000;
}

.font-green {
    color: #8cc626;
}

.font-white {
    color: #fff;
}

.page-hero-img {
    background-image: url(../img/home-top-banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
}

.para-header {
    padding-top: 1rem;
    font-weight: 600;
}

.grid-images {
    padding-bottom: 1rem;
}


/* Header */

.site-header {
    margin: auto;
    color: #fff;
}

ul.headercontact {
    list-style: none;
    text-align: right;
    font-size: 1.2rem;
}

.headercontact a,
.headercontact a:visited {
    color: #8cc626;
}

.headercontact a:hover,
.headercontact a:focus,
.headercontact a:active {
    color: #999999;
    text-decoration: none;
}

/* Footer */

footer {
    background-color: #111111;
    color: #fff;
}

.font-light {
    font-weight: 300;
}

.font-bold {
    font-weight: 700;
}

.font-xbold {
    font-weight: 900;
}

#footerlinks a,
#footerlinks a:visited {
    color: #fff;
}

#footerlinks a:hover,
#footerlinks a:focus,
#footerlinks a:active {
    color: #fff;
    text-decoration: none;
}

/* Navigation */

.navbar-advantage a {
    color: #000;
}

.navbar-advantage a:hover,
.navbar-advantage a:active,
.navbar-advantage a:focus {
    color: #8cc626;
}

ul#menu-main-menu {
    margin: 0 auto;
}

section#sitenav {
    padding: 0;
}

/* Fonts */

.font-heavy {
    font-weight: 900;
}

.font-body {
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
}

.font-body-bold {
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
}

.font-sml {
    font-size: 0.8em
}

/* Homepage Elements */

.home-hero-img {
    background-image: url(../img/home-top-banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
}

#slider {
    padding: 0;
    margin: auto;
}

#slider a.ms-layer,
#slider a.ms-layer:visited {
    color: #ffffff;
}

#slider a.ms-layer:hover,
#slider a.ms-layer:focus,
#slider a.ms-layer:active {
    color: #8cc626;
    text-decoration: none;
}

.icon-col {
    width: 100%;
    display: block;
    padding: 15px;
}

/*Small devices (landscape phones, less than 768px)*/

@media (min-width: 576px) {
    .icon-col {
        width: 50%;
    }
    .icon-col.icon5 {
        margin-left: 25%;
    }
}

/*Medium devices (tablets, less than 992px)*/

@media (min-width: 768px) {
    .icon-col {
        width: 33.33333%;
    }
    .icon-col.icon4 {
        margin-left: 16.666665%;
    }
    .icon-col.icon5 {
        margin-left: 0;
    }
}

/*Large devices (desktops, less than 1200px)*/

@media (min-width: 992px) {}

@media (min-width: 1200px) {
    .icon-col {
        width: 20%;
    }
    .icon-col.icon4 {
        margin-left: 0;
    }
}



/* About Elements */

#about-first-hero-img {
    background: url(../img/about-top-banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
}

#about-second-hero-img {
    background: url(../img/about-second-banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
}

#about-third-hero-img {
    background: url(../img/about-third-banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
}


/* Servicing Elements */

#servicing-first-hero-img {
    background: url(../img/servicing-top-banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
}


/* Modifications Elements */

#modifications-first-hero-img {
    background: url(../img/modifications-top-banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
}

#modifications-second-hero-img {
    background: url(../img/modifications-second-banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
}


/* Blog Elements */

#blog-first-hero-img {
    background: url(../img/blog-top-banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
}

.blog-post-info {
    font-weight: 500;
    font-size: 14px;
    line-height: 28px;
    color: #999999;
}

/* General Template Elements */

#content .left-block {
    display: block;
    float: left;
}

#content .right-block {
    display: block;
    float: right;
}

#content .full-block {
    display: block;
    float: left;
}

/* Accordion */

.card {
    margin-bottom: 0.6rem;
    border: 0px !important;
    background-color: #8cc626;
}

.card-body {
    background-color: #eaf2f5;
}

.card-header:first-child {
    border-radius: calc(0rem) calc(0rem) 0 0;
     !impotant;
}

.card-features {
    padding-start: 0px;
    -webkit-padding-start: 0px;
    -moz-padding-start: 0px;
}

/* Gallery */

* {
    box-sizing: border-box;
}

.row {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .column {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
}