﻿:root {
    --lightgreen: #69BE28;
    --darkgreen: #00693C;
}

body, html {
    font-family: "Noto Sans Display", sans-serif;
}

/* --- overwrite rules --- */
@media only screen and (min-width: 820px) and (max-width: 1194px) {
    .wrapper {
        height: 65px !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .wrapper {
        height: 56px !important;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1366px) {
    .wrapper {
        height: 70px !important;
    }
}

.wrapper {
    height: 80px;
}

.breadcrumbs h1 {
    margin-top: 0px !important;
}

.breadcrumb {
    top: 0px !important;
    padding-bottom: 0px !important;
}

.mktb-standard .mktbs-call-out {
    margin: 0px 0 0px 1em;
}

    .mktb-standard .mktbs-call-out .mktbs-title {
        margin: 0 0 5px;
    }

.page-content {
    background-color: #E5E5E5;
}

    .page-content p {
        margin: 0;
    }

.btn {
    font-size: 16px;
    border: 0;
    background-color: transparent;
    color: #000;
    padding: 0;
}

    .btn:hover {
        color: #000;
    }

    .btn.active, .btn:active {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

@media (max-width: 550px) {
    .breadcrumbs h1.pull-left {
        margin-bottom: 10px;
    }
}

@media (min-width:768px) and (max-width: 768px) {
    .mktb-standard .container {
        bottom: 80px;
    }

    .mktb-standard .container {
        height: 200px !important;
    }

    .mktb-standard .mktbs-call-out {
        margin: 0 15px;
    }

    section#search .container {
        padding-left: 0px !important;
        padding-right: 0px !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
        width: 100%;
    }

    #filter .container {
        padding-left: 15px !important;
    }
}

@media only screen and (max-device-width: 767px) {
    .mktb-standard .container {
        margin-top: -148px;
    }

    .mktb-standard .mktbs-call-out {
        margin: 0 15px;
    }

    section#search .container {
        padding-left: 0px !important;
        padding-right: 0px !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
        width: 100%;
    }

    #filter .container {
        padding-left: 15px !important;
    }
}

/* --- search --- */
#searchBox {
    background-color: var(--darkgreen);
    box-shadow: 0px 3px 10px #00000034;
    margin: 2em 0;
    padding: 1em 0 2em 0;
}

    #searchBox h2 {
        color: #FFF;
        font-size: 20px;
        margin: 0 0 .5em 0;
    }

.search-wrapper {
    display: flex;
    transition: all .25s;
}

    .search-wrapper input,
    .search-wrapper button {
        border: 0;
        height: 45px;
    }

    .search-wrapper input {
        width: 80%;
        padding: 0 1em;
    }

    .search-wrapper button {
        width: 10%;
        background-color: var(--lightgreen);
        color: #FFF;
        transition: all .25s;
    }

        .search-wrapper button:hover,
        .search-wrapper button:focus {
            background-color: #349232;
        }

@media only screen and (max-device-width: 768px) {
    .search-wrapper input {
        width: 100%;
    }

    .search-wrapper button {
        width: 30%;
    }
}

/* --- results --- */
section#filter {
    margin: 0 0 2em 0;
}

#filter .flex-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results {
    display: flex;
    align-items: center;
}

    .results p,
    .results a,
    .menu p {
        font-size: 16px;
    }

    .results p,
    .menu p {
        color: #000;
        margin-right: 1em;
    }

    .results a#clearResults {
        text-decoration: none;
        background: #D4D4D4;
        color: #000;
        border-radius: 2em !important;
        padding: 3px 15px;
        transition: all .25s;
        font-size: 14px;
    }

        .results a#clearResults:before {
            content: '\2715';
            position: relative;
            margin-right: .5em;
        }

        .results a#clearResults:hover {
            background: #a6a6a6;
            color: #FFF;
        }

    .results span.keyword {
        font-weight: 600;
    }

#filter .menu {
    display: flex;
}

@media only screen and (max-device-width: 768px) {
    #filter .flex-wrap {
        flex-direction: column;
    }

    #filter .menu {
        justify-content: center;
        order: 1;
    }

    .results {
        justify-content: space-between;
        align-self: stretch;
        order: 3;
        margin-top: .5em;
    }

    hr {
        height: 2px;
        background: #AAAAAA;
        width: 100%;
        outline: 0;
        border: 0;
        order: 2;
        margin: .75em 0;
    }
}

/* --- dropdown --- */
.dropdown {
    transition: all .25s;
}

    .dropdown .dropDown-Name {
        color: #585859;
    }

    .dropdown:hover .dropDown-Name,
    .dropdown:focus .dropDown-Name {
        color: #000;
    }

    .dropdown #dropDownArrow {
        fill: var(--lightgreen);
    }

    .dropdown:hover #dropDownArrow,
    .dropdown:focus #dropDownArrow {
        fill: var(--darkgreen);
    }

.dropdown-menu {
    border: 0 !important;
    box-shadow: 0px 3px 6px #00000029;
}

.open > .dropdown-menu {
    display: block;
    margin: 0px -5.3em;
    width: 185px;
}

.dropdown, .dropup {
    display: flex;
    align-items: center;
}

/* --- card --- */
@media only screen and (max-width:767px) {
    .card {
        background-color: #FFF;
        min-height: auto !important;
        max-height: 285px !important;
        padding: 2em 0 0 0;
        margin: 0 0 2em 0;
    }

        .card a.button {
            top: 4em !important;
            display: inline-flex !important;
            position: initial !important;
        }
}

.card {
    background-color: #FFF;
    min-height: 285px;
    padding: 2em 0 0 0;
    margin: 0 0 2em 0;
}

    .card .cardTitle {
        background: var(--darkgreen);
        max-height: 40px;
        padding: 0 1.5em;
        display: flex;
        justify-content: space-between;
    }

        .card .cardTitle h2 {
            color: #FFF;
            font-size: 14px;
            text-transform: uppercase;
        }

        .card .cardTitle span.icon {
            position: relative;
        }

            .card .cardTitle span.icon img {
                position: absolute;
                top: -28px;
                left: -60px;
            }

.featured .cardTitle span.icon img {
    left: -87px !important;
}

.card .cardBody {
    padding: 1.5em;
    position: relative;
}

.card a {
    display: block;
    font-weight: bold;
    font-size: 18px;
    color: var(--darkgreen);
}

    .card a,
    .card a.button svg .icon,
    .card a.button p {
        transition: all .25s;
    }

        .card a.button {
            border: 1px solid var(--darkgreen);
            display: flex;
            align-items: center;
            margin: 1em 0 0 0;
            padding: .35em 1.5em;
            font-size: 16px;
            position: absolute;
            top: 8em;
        }

            .card a.button:hover {
                text-decoration: none;
                background: var(--darkgreen);
                color: #FFF;
            }

            .card a.button svg {
                margin-right: .5em;
            }

            .card a.button:hover svg .icon {
                fill: #FFF;
            }

            .card a.button p {
                color: var(--darkgreen);
            }

            .card a.button:hover p {
                color: #FFF;
            }

#cards .new:before {
    content: '';
    background-image: url('../assets/icons/icon_new_banner.svg');
    background-repeat: no-repeat;
    position: absolute;
    left: -21px;
    top: -39px;
    width: 128px;
    height: 128px;
}

/* --- pagination --- */
#pagination {
    font-size: 16px;
    padding-bottom: 2em;
    transition: all .25s;
}

    #pagination a {
        text-decoration: none;
    }

    #pagination li:not(.active, .disabled) a:hover {
        background-color: var(--darkgreen);
    }

/* -- cta --- */
#cta {
    background: var(--darkgreen);
}

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2em 3em;
}

    .cta-banner p {
        color: #FFF;
        margin: 0 1em;
        font-size: 20px;
    }

    .cta-banner a {
        color: var(--lightgreen);
        font-weight: bold;
    }

@media only screen and (max-device-width: 768px) {
    #cta .cta-banner {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner img {
        margin-bottom: 1em;
    }
}

/* --- tablet/mobile fixes --- */
@media (max-width: 1199px) and (min-width: 992px) {
    .card a.button {
        top: 8.4em;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .card a.button {
        top: 8em;
    }
}

@media (max-width: 374px) {
    .card a.button {
        top: 9em;
    }
}

@media screen and (max-width: 378px) {
    .card .cardTitle h2 {
        font-size: 12px;
    }
}

@media screen and (max-width: 320px) {
    .card .cardTitle h2 {
        font-size: 10px;
    }
}

@media (max-width: 768.999px) and (min-width: 768px) {
    form div.hidden-sm {
        display: block !important;
    }

    #mkt-banner {
        padding-top: 146px;
    }
}

@media (max-width: 767.999px) and (min-width: 767px) {
    .breadcrumbs.breadcrumbs-light {
        margin-top: -5.7em;
    }
}

.loader {
    position: absolute;
    border: 10px solid #d1cccc;
    border-radius: 50% !important;
    border-top: 10px solid #69BE27;
    width: 90px;
    height: 90px;
    left: 47%;
    top: 62%;
    z-index: 99;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@media (min-width:300px) and (max-width:650px) {
    .loader {
        left: 35%;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.button {
    background-color: transparent !important;
}

a.button:hover {
    text-decoration: none;
    background: var(--darkgreen) !important;
    color: #FFF;
}

.results p {
    padding-top: 3px;
    padding-bottom: 3px;
}

@media only screen and (min-width: 769px) and (max-width: 1194px) {
    .breadcrumb {
        display: none;
    }
}

@media only screen and (max-device-width: 768px) {
    #cta .container {
        padding-left: 15px !important;
    }
}

@media (min-width:768px) and (max-width:1200px) {
    .col-md-4 {
        width: 50% !important;
    }
}

.mktb-standard .mktb-mobile-bk {
    height: 200px !important;
}
