p {
    color: #3a3a3a;
}

h1, h2, h3, h4, h5, h6 {
    color: #e74011;
}

.primaryNav .contactUs a, .primaryNav .feedback a, .roundButton a, .wp-block-button a, h6 a, .slick-arrow {
    background-color: #4397af;
    color: #fff;
    font-size: 1.2em;
}

.primaryNav .contactUs a:hover, .roundButton a:hover, .wp-block-button a:hover, h6 a:hover, .slick-slider .slick-arrow:hover {
    background-color: #51a2b9;
    color: #fff;
}

.primaryColor h6 a {
    background-color: #e74011;
}

.primaryColor h6 a:hover {
    background-color: #eb4d20;
    color: #fff;
}

.primaryNav li a, nav.primaryNav li.menu-item a:hover:not([href]), nav.primaryNav li.menu-item a:not([href]) {
    color: #3a3a3a;
}

nav.primaryNav li a:hover span, nav.primaryNav > li.current-menu-item > a > span {
    border-bottom: 2px solid #e74011;
}

nav.primaryNav a:hover, nav.primaryNav ul.sub-menu li a:hover {
    color: #e74011;
}

.mm-menu a, .mm-menu a:active, .mm-menu a:hover, .mm-menu a:link, .mm-menu a:visited {
    color: #3a3a3a;
}

.primaryLogo {
    margin-top: 0;
}

.homepageBanner .fullwidthContainer {
    position: relative;
    overflow: hidden;
}

.homepageBanner .fullwidthContainer::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 160%;
    height: 420px;
    z-index: 2;
    pointer-events: none;
    background: rgba(20,90,110,0.45);
    border-radius: 50%;
    rotate: none;
    bottom: -120px;
}

.homepageBanner h1 {
    font-size: 4em;
    margin-bottom: 0;
}

.showCircle .imageCircle:before {
    background-image: url(../img/quotes.png);
    left: -50px;
    height: 50%;
    width: 50%;
    z-index: 100;
    top: 50px;
    transform: none;
    opacity: 0.6;
    background-size: contain;
}

.secondaryColor.showCircle .imageCircle:before, .tertiaryColor.showCircle .imageCircle:before {
    background: none;
}

.imageCircle img {
    z-index: 99;
    position: relative;
}

.primaryColor {
    background-color: #0099b1;
}

.secondaryColor {
    background-color: #e77721;
}

.tertiaryColor {
    background-color: #66d2df;
}

.textAndImage {
    background-image: url(../img/wavey-bg.png);
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

.textAndImage {
    position: relative;
    overflow: hidden;
}

.primaryColor.textAndImage {
    background: linear-gradient(94deg, #0099b1 0%, #0099b1 50%, #009cab 50%, #009cab 100%);
}

.secondaryColor.textAndImage {
    background: linear-gradient(94deg, #e77721 0%, #e77721 50%, #009cab 50%, #009cab 100%);
}

.tertiaryColor.textAndImage {
    background: linear-gradient(94deg, #66d2df 0%, #66d2df 50%, #009cab 50%, #009cab 100%);
}

.whiteBackground.textAndImage {
    background: #fff;
}

.textAndImage::before {
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: 50%;
    width: 130px;
    background: #fff;
    transform: translateX(-50%) skewX(-7deg);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.entry-content section.textAndImage .container {
    position: relative;
    z-index: 2;
}

.entry-content section.textAndImage .imageCircle,
.entry-content section.textAndImage .notSwitched {
    position: relative;
    z-index: 3;
}

.notSwitched.textAndImage.showCircle .imageCircle:before {
    opacity: 0.9;
    left: -60px;
}

.textAndImage.secondaryColor blockquote:before, .textAndImage.whiteBackground blockquote:before, .textAndImage blockquote:before {
    background-image: url(../img/polaris-quotes-white.svg);
    z-index: 100;
}

.textAndImage .switched blockquote:before {
    display: none;
}

.textAndImage blockquote {
    margin-top: 50px;
}

.textAndImage.whiteBackground blockquote {
    background-color: #eee;
}

.textAndImage blockquote p {
    color: #fff;
}

.textAndImage p:nth-of-type(1) strong, .textAndVideo p:nth-of-type(1) strong {
    font-weight: 400;
    font-size: 1.2em;
    line-height: 1.1;
    font-family: foco, sans-serif;
}

.textAndImage .notSwitched .restrictWidth {
    margin-left: 140px;
    width: calc(100% - 140px);
}

.imageCircle {
    max-width: 800px;
}

.carousel {
    background-color: #66d2df;
    overflow: hidden;
}

.slide .cardContent .roundButton p a {
    background-color: #e77721;
}

.carousel h2, .carousel h3, .carousel h4, .carousel h5, .carousel h6, .carousel p, .carousel li {
    color: #fff;
}

.carousel .cardText h2, .carousel .cardText h3, .carousel .cardText h4, .carousel .cardText h5, .carousel .cardText h6 {
    color: #0099b1;
}

.carousel .cardText p, .carousel .cardText li {
    color: #3a3a3a;
}

.circleTextOneColumn {
    background-position: center;
}

.circleTextOneColumn .circleTextArea h2 {
    color: #e77721;
}

.circleBackground {
    background-image: url(../img/ellipse.png);
    background-size: contain;
    min-height: 500px;
    margin-top: 250px;
}

.circleTextArea h2, .circleTextArea p, .circleTextArea li {
    color: #3f4e55;
}

.circleBackground a {
    color: #e77721;
}

.circleBackground h6 a {
    color: #fff;
}

.slickCarousel {
    z-index: 99;
}

.carousel .container {
    position: relative;
}

.carousel h2 {
    z-index: 99;
    position: relative;
    margin-top: 60px;
}

.carousel .container:before {
    content: "";
    position: absolute;
    top: 0;
    transform: rotate(180deg);
    width: 228%;
    height: 95%;
    left: -68%;
    background-size: contain;
    background-image: url(../img/white-swoop.svg);
    background-repeat: no-repeat;
}

.carousel .container:after {
    display: none;
}

.slick-arrow {
    font-size: 0;
}

.circleTextArea {
    margin-bottom: 20px;
}

.cardContent {
    padding: 20px;
}

.cardImage {
    background: none;
}

.roundDesign .cardImage img {
    border-radius: 25px;
}

.cardText h3 {
    color: #e74011;
}

.cardText p {
    margin-bottom: 25px;
}

.cardText .roundButton {
    text-align: center;
}

.cards .roundButton {
    margin-bottom: 20px;
    margin-right: 0;
}

.cards.whiteBackground .cardContent {
    background-color: #eee;
}

.backgroundText.whiteBackground {
    background-image: url(../img/grey-swoop.svg);
}

.backgroundText {
    background-image: url(../img/white-swoop.svg);
    background-position: right;
}

.cards .container {
    position: relative;
}

.cards .container:before {
    display: none;
}

.cards.primaryColor .container:before {
    background-image: url(../img/red-swirl.svg);  
}

.primaryFooter {
    background-color: #3f4e55;
}

.backToTop {
    background-color: #0099b1;
}

.backToTop:hover {
    background-color: #078d51;
}

.postHeader {
    background-image: url(../img/white-swoop.png);
}

.textOneColumn.backgroundText.whiteBackground, .textAndImage.backgroundText.whiteBackground {
    background-image: url(../img/grey-swoop.png);
}

.textOneColumn.backgroundText, .textAndImage.backgroundText {
    background-image: url(../img/white-swoop.png);
}

.subPageBanner .fullwidthContainer:before {
    background-image: url(../img/white-swoop.png);
    bottom: -80px;

}

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

    .textAndImage .notSwitched .restrictWidth {
        margin: initial;
        width: 100%;
    }

    .primaryColor.textAndImage {
        background: #0099b1;
    }

    .secondaryColor.textAndImage {
        background: #e77721;
    }

    .tertiaryColor.textAndImage {
        background: #66d2df;
    }

    .textAndImage::before {
        content: none;
    }

    .homepageBanner h1 {
        font-size: 2.5em;
    }

    .carousel .container:before {
        display: none;
    }

    .showCircle .imageCircle:before {
        left: initial;
    }

    .cardContent {
        margin: 0 15px;
    }

    .homepageBanner .fullwidthContainer::before {
        bottom: -200px;
    }
}

@media screen and (max-width: 767px) {
    .homepageBanner .fullwidthContainer:before {
        bottom: -150px;
    }

    .imageCircle {
        margin: 0 auto;
    }
}