/*-- Global --*/

/* For galaxy fold ===  */
@media (max-width: 440px) {
    .display-4 {
        font-size: 1.7rem;
    }

    .h1,
    h1,
    .h2,
    h2 {
        font-size: 1.25rem;
    }

    .h3,
    h3,
    .h4,
    h4 {
        font-size: 1rem;
    }

    .h5,
    h5 {
        font-size: .85rem;
    }

    .header-info-business a {
        font-size: 0.85rem !important;
    }
}

@media (min-width: 441px) and (max-width: 812px) {

    h1,
    .h1 {
        font-size: 1.5rem;
    }

    h2,
    .h2 {
        font-size: 1.25rem;
    }

    h3,
    .h3 {
        font-size: 1.15rem;
    }

    .display-4 {
        font-size: 2.25em;
    }
}

.list {
    padding: 3em 0 0;
}

/*-- Header --*/

/* Hide header info on home page ===  */

.page-home .header .header-info {
    display: none;
}

.header .header-info {
    position: relative;
    background: url("https://apihoard.webit.com/api/v1/Image/06A92C0D63CEDA9F6716DD068D6051EC/06A92C0D63CEDA9F6716DD068D6051EC.jpg?size=1920x1440") no-repeat center center;
    background-size: cover;
}

.header .header-info .container {
    position: relative;
    z-index: 1;
}

.header .header-info .header-info-logo-img img {
    width: 180px;
    background: rgba(255, 255, 255, 0.8);
}

.header .header-info-business a {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
}

.header .header-info:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
}

/*-- Header Not homepage --*/

section:not(.page-home) .header .header-info {
    padding: 1.5em 0;
}

section:not(.page-home) .header .header-info .header-info-logo-img img {
    width: 120px;
}

/* Home page only */

/* .page-home .header .header-info {
  padding: 3em 0;
}

@media (min-width: 768px) {
  .page-home .header .header-info {
    padding: 6em 0;
  }
}

@media (min-width: 1200px) {
  .page-home .header .header-info {
    padding: 9em 0;
  }
} */

/* HOME PAGE =================================  */

/* Hero Slider ===  */

.hero-logo {
    width: 110px;
}

#cw-heroSVG {
    display: none;
}

@media (min-width: 991px) {
    .carousel-text {
        position: absolute;
        z-index: 2;
        right: 10px;
        bottom: 10px;
    }

    .carousel-text h2 {
        font-size: 1.25em;
    }

    #cw-heroSVG {
        position: absolute;
        bottom: 0;
        right: 0;
        display: block;
        height: 311px;
    }

    .st2 {
        opacity: 0.5;
        fill: #00bdff;
    }

    .st3 {
        opacity: 0.7;
        fill: #fff;
    }
}

/* Title module ===  */

.page-home .title {
    padding-top: 1em;
    padding-bottom: 1em;
}

.page-home .list .container {
    max-width: 1400px;
}

.page-home .title {
    border-bottom: 5px solid #9fa1a3;
    border-top: 5px solid #9fa1a3;
}

.page-home .textwithimage .col-lg-6:first-of-type {
    border-bottom: 5px solid #9fa1a3;
}

@media (min-width: 992px) {
    .page-home .textwithimage .col-lg-6:first-of-type {
        border-bottom: 0;
        border-right: 5px solid #9fa1a3;
    }
}

@media (min-width: 768px) {
    .title-heading {
        font-size: 3rem;
    }
}

/*-- Subpages --*/

/*-- Override ordering of detailed lists to alternate ---*/

@media (min-width: 1024px) {
    .detailedlist .detailedlist-item:nth-of-type(even) .col-lg-7 {
        order: 2 !important;
    }

    .detailedlist .detailedlist-item:nth-of-type(even) .col-lg-5 {
        order: 1 !important;
    }
}

.page-recent-projects li {
    margin-bottom: 0.35em;
}

/* Exceeding expectations ===  */

.page-exceeding-expectations .detailedlist {
    padding-top: 0.25em;
    padding-bottom: 1em;
}

.page-exceeding-expectations .image .container {
    padding-top: 0.25em;
}
