@media screen and (min-width: 768px) and (max-width: 1230px) {
    #main .homepage-hero {
        padding: 40px 15px;
    }
}

@media screen and (max-width: 1100px) {
    .homepage-hero [class*=columns-] {
        position: static;
        width: 50%;
    }
}

@media screen and (max-width: 1050px) {
    .homepage-hero {
        padding: 80px 0px;
        background-position: top !important;
    }

    .homepage-hero [class*=columns-] {
        position: static;
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .homepage-hero {
        padding: 40px 0px;
    }
}

.homepage-hero {
    padding-top: 80px;
    background-size: cover !important;
		background: rgb(26,192,198) !importat;
		background: linear-gradient(50deg, rgba(26,192,198,1) 0%, rgba(15,74,101,1) 100%) !important; 
}

.homepage-intro {
    padding: 70px 0;
    text-align: center;
    position: relative;
}

.homepage-intro h1 {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    font-size: 2rem;
    color: #000;
}

.homepage-intro p {
    font-size: 18px;
    font-size: 1.125rem;
    color: #000;
    line-height: 32px;
}

.homepage-featured-products {
    padding-bottom: 80px;
    text-align: center;
}

.homepage-featured-products>.row {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.homepage-featured-products>.row>.homepage-featured-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    row-gap: 30px;
}

.homepage-featured-products>.row .featured-product {
    min-height: 340px;
    display: flex;
}

.homepage-featured-products>.row .featured-product a {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    text-decoration: none;
}

.homepage-featured-products>.row .featured-product img {
    width: auto;
    max-width: 60%;
    max-height: 135px;
    margin-bottom: 15px;
}

.homepage-featured-products>.row .featured-product h3 {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 15px;
    padding: 0;
}

.homepage-featured-products>.row .featured-product p {
    color: #000;
    line-height: 1.4;
    padding: 0;
    margin-bottom: 15px;
}

.homepage-featured-products>.row .featured-product span {
    font-weight: bold;
    text-transform: uppercase;
    color: #154865;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    transition: 0.3s;
    padding-bottom: 3px;
    position: relative;
    margin-top: auto;
}

.homepage-featured-products>.row .featured-product span:hover {
    color: #1AC0C6;
}

.homepage-featured-products>.row .featured-product span:hover::after {
    border-bottom-color: #1AC0C6;
}

.homepage-featured-products>.row .featured-product span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #154865;
    transition: 0.3s;
}

.homepage-blog {
    background: #DEE0E6;
    padding: 70px 15px 100px;
}

.homepage-blog .bottom-line {
    margin-bottom: 40px;
    padding-bottom: 12px;
}

.homepage-blog>.row {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.homepage-blog h2 {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    font-size: 2rem;
    text-align: center;
    padding-bottom: 45px;
}

.homepage-blog .primary-post {
    display: flex;
    margin-bottom: 40px;
}

.homepage-blog .primary-post a {
    text-decoration: none;
}

.homepage-blog .primary-post .columns-6 {
    width: 100%;
}

.homepage-blog .primary-post img {
    width: 315px;
    max-width: 100%;
}

.homepage-blog .primary-post .date {
    background: url("/wp-content/themes/specops/images/spec-calendar-ico.png");
    background-repeat: no-repeat;
    background-size: 12px 12px;
    background-position: center left;
    padding-left: 18px;
    color: #000;
    margin-bottom: 15px;
    position: relative;
    display: block;
}

.homepage-blog .primary-post h4 {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 10px;
    padding: 0;
}

.homepage-blog .primary-post p {
    margin-bottom: 10px;
}

.homepage-blog .primary-post .read-more {
    color: #154865;
    position: relative;
    padding-bottom: 3px;
    transition: 0.3s;
}

.homepage-blog .primary-post .read-more:hover {
    color: #1AC0C6;
}

.homepage-blog .primary-post .read-more:hover::after {
    border-bottom-color: #1AC0C6;
}

.homepage-blog .primary-post .read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #154865;
    transition: 0.3s;
}

.homepage-blog .secondary-posts {
    padding-top: 40px;
    border-top: 1px solid #d5d5d5;
    width: 100%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
}

.homepage-blog .secondary-posts a {
    text-decoration: none;
}

.homepage-blog .secondary-posts h3 {
    width: 100%;
    text-align: center;
    font-size: 22px;
}

.homepage-blog .secondary-posts h4 {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 10px;
    padding: 0;
}

.homepage-blog .secondary-posts .columns-6 {
    background: #fff;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2);
    padding: 0;
    margin-bottom: 20px;
    width: calc(50% - 10px);
}

.homepage-blog .secondary-posts .columns-6>a {
    display: block;
    padding: 30px;
}

.homepage-blog .date {
    font-family: "Open Sans", sans-serif;
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.025em;
    color: #999;
}

.homepage-testimonial {
    background: #fff;
    padding: 85px 0 60px;
}

.homepage-testimonial .testimonial-wrapper {
    text-align: center;
}

.homepage-testimonial .testimonial-wrapper h3 {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    font-size: 1.75rem;
}

.homepage-testimonial .testimonial-wrapper h3 a {
    color: #000;
}

.homepage-testimonial .testimonial-wrapper .quote {
    position: relative;
    font-family: "Open Sans", sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: 18px;
    font-size: 1.125rem;
    color: #000;
}

.homepage-testimonial .testimonial-wrapper .quote:before {
    content: "";
    background: url(../../images/left-quote.png) no-repeat;
    height: 43px;
    width: 47px;
    position: absolute;
    left: -55px;
    top: 0px;
}

.homepage-testimonial .testimonial-wrapper .quote:after {
    content: "";
    background: url(../../images/right-quote.png) no-repeat;
    height: 43px;
    width: 47px;
    position: absolute;
    right: -55px;
    top: 0px;
}

.homepage-testimonial .testimonial-wrapper .citation {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    font-size: 1.75rem;
}

@media screen and (max-width: 767px) {

    .homepage-blog .primary-post img {
        width: 100%;
    }

    .homepage-featured-products>.row {
        flex-direction: column;
    }

    .homepage-featured-products>.row .featured-product {
        margin-bottom: 0;
    }

    .homepage-featured-products>.row .featured-product span {
        margin-top: 0;
    }

    .homepage-featured-products [class^="columns-"] {
        width: 100%;
        max-width: 480px;
        clear: both;
        float: none;
        margin: 0 auto 50px;
    }

    .homepage-highlighted-topic .highlighted-article {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        float: none;
        clear: both;
    }

    .homepage-highlighted-topic .highlighted-article:not(:last-child) {
        margin-bottom: 40px;
        padding-bottom: 40px;
        border-bottom: 1px solid #555;
    }

    .homepage-blog .primary-post {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .homepage-blog .primary-post::before {
        display: none;
    }

    .homepage-blog .primary-post::after {
        display: none;
    }

    .homepage-blog .primary-post .columns-6 {
        width: 100%;
        padding: 0;
    }

    .homepage-blog .primary-post .columns-6:first-child {
        margin-bottom: 15px;
    }

    .homepage-blog .secondary-posts {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: stretch;
        flex-direction: row;
    }

    .homepage-blog .secondary-posts::before {
        display: none;
    }

    .homepage-blog .secondary-posts::after {
        display: none;
    }

    .homepage-blog .secondary-posts .columns-6 {
        width: calc(50% - 10px);
        margin: 0;
    }

    .homepage-intro [class*=columns-] {
        position: static;
        width: 100%;
    }

    .homepage-blog .blog {
        width: 100%;
        margin: auto;
        float: none;
        margin-bottom: 25px;
        max-width: 400px;
    }

    .homepage-testimonial {
        padding: 65px 0 50px;
    }

    .homepage-testimonial [class*=columns-] {
        position: static;
        width: 83.33333%;
    }

    .homepage-testimonial [class*=columns-] .testimonial-wrapper p:before {
        left: -35px;
    }

    .homepage-testimonial [class*=columns-] .testimonial-wrapper p:after {
        right: -35px;
    }

    .homepage-testimonial [class*=columns-] .testimonial-wrapper .citation {
        font-size: 20px;
        font-size: 1.25rem;
    }

    .homepage-testimonial [class*=columns-] .testimonial-wrapper .quote {
        padding: 0 30px;
    }

}

@media (max-width: 450px) {
    .homepage-blog .secondary-posts .columns-6 {
        width: 100%;
        margin: 0 0 20px;
    }
}

@media screen and (max-width: 400px) {
    .homepage-intro .button {
        display: block;
        margin-bottom: 20px;
    }

}
