/**  BASE */
body {
    --nep-white: #ffffff;
    --nep-red: #e61a30;
    --nep-blue: #4dbecd;
    --nep-green: #082f35;
    --nep-grey: #626262;
    --nep-dark: #1e1e1e;
    --nep-transition: .3s all ease-in;
    --nep-shadow: 0 0 21px -11px #232323;
}

.landing {
    padding-bottom: 0 !important;
}

.landing .container {
    padding-top: 42px;
    padding-bottom: 42px;
}

.landing .container.p0 {
    padding-top: 0;
    padding-bottom: 0;
}

.landing .container.p0 + .container.p0 {
    padding-top: 84px;
}

.landing .container.pt0 {
    padding-bottom: 84px !important;
}

.landing > .container:first-child {
    padding-top: 0;!important;
    padding-bottom: 0;!important;
}

@media screen and (min-width: 1024px) {
    .landing .container {
        padding-top: 84px;
        padding-bottom: 84px;
    }
}

/*
 *****
  Landing Banner
 *****
 */

.landing-banner {
    position: relative;
    overflow: hidden;
}

.landing-banner__background {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: -1;
}

.landing-banner__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.landing-banner__background img{
    object-fit: cover;
    min-height: 100%;
}

.landing-banner__img {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.landing-banner__img img {
    border-radius: 50%;
    border: 5px solid var(--nep-blue);
}

.landing-banner__content {
    width: 100%;
    color: var(--nep-white) !important;
}

.landing-banner__content h2 {
    color: var(--nep-white) !important;
}

.landing-banner__content a {
    background-color: var(--nep-red) !important;
    color: var(--nep-white);
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 12px;
    margin-top: 30px;
    transition: var(--nep-transition);
    padding: 10px 14px;
    width: 100%;
    text-align: center;
}

.landing-banner__content a:active,
.landing-banner__content a:hover {
    background-color: var(--nep-blue);
    color: var(--nep-white);
}

@media screen and (min-width: 1024px) {
    .landing-banner__wrapper {
        flex-direction: row;
        align-items: flex-start;
    }

    .landing-banner__background {
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        width: 100vw;
        height: 100%;
    }

    .landing-banner__img {
        width: 23%;
        margin-bottom: 0;
    }

    .landing-banner__content {
        width: 77%;
        padding-left: 48px;
        padding-right: 100px;
    }

    .landing-banner__content p {
        font-size: 20px !important;
    }

    .landing-banner__background img{
        width: 100%;
    }

    .landing-banner__content a {
        width: auto;
    }
}


/*
 *****
  Landing Main
 *****
 */

.landing-main {

}

@media screen and (min-width: 1024px) {
    .landing-main {
        padding-right: 8%;
    }
}

/*
 *****
  Landing card
 *****
 */

.landing-card {
    background-color: var(--nep-white);
    border-radius: 12px;
    -webkit-box-shadow: var(--nep-shadow);
    box-shadow: var(--nep-shadow);
    position: relative;
    padding-top: 24px;
    padding-bottom: 24px;
}

.landing-card__wrapper {
    display: flex;
    flex-direction: column;
}

.landing-card__content p:last-child {
    margin-bottom: 0;
}

.landing-card__content {
    padding-left: 1.875rem;
    padding-right: 1.875rem;
    text-align: center;
}

.landing-card__content a {
    font-weight: 700;
    text-decoration: underline;
    font-size: 20px;

}

.landing-card__img {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.landing-card__img img {
    width: 100%;
    max-width: 45%;
}

.landing-card__trigger {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background-image: url('/wp-content/themes/nep/images/landing/interrogation.png');
    background-position: center center;
    background-size: contain;
    border: none;
    background-color: transparent;
}

.landing-card__quote {
    padding-right: 40px;
    padding-left: 40px;
}

.landing-card__quote p:last-child {
    margin-bottom: 0;
}

@media screen and (min-width: 1024px) {
    .landing-card {

        max-width: 92%;
    }

    .landing-card__wrapper {
        flex-direction: row;
        align-items: center;
    }

    .landing-card__img {
        width: 16%;
        margin-bottom: 0;
        max-width: 70%;
    }

    .landing-card__img img {
        max-width: 75%;
    }

    .landing-card__content {
        width: 84%;
        padding-left: 1.875rem;
        padding-right: 6.25rem;
        text-align: left;
    }
}


/*
 *****
  Landing card columns
 *****
 */

.landing-columns {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.landing-columns__text h3 {
    font-size: 20px;
    color: var(--nep-grey);
    line-height: 1.4;
}


.landing-columns__img {
    margin-top: 44px;
}

.landing-columns__img img {
    -webkit-box-shadow: var(--nep-shadow);
    box-shadow: var(--nep-shadow);
    border-radius: 50%;
    max-width: 100%;
}


@media screen and (min-width: 1024px) {
    .landing-columns {
        flex-direction: row;
    }

    .landing-columns__text {
        width: 40%;
    }

    .landing-columns__img {
        width: 60%;
        padding-left: 30px;
        margin-top: 0;
    }
}


/* Landing green */
.landing-green {
    background-color: var(--nep-green);
    color: var(--nep-white) !important;
}

.landing-green h2 {
    margin-bottom: 32px!important;
    color: var(--nep-white)!important;
}

.landing-green textarea {
    min-height: 240px;
}

.landing-green .landing-card__trigger {
    position: relative;
    display: inline-block;
    right: unset;
    top: unset;
    margin: 5px 0;
    background-image: url('/wp-content/themes/nep/images/landing/interrogation-white.png');
}

.landing-green .wpcf7-submit {
    text-transform: uppercase;
    background-color: var(--nep-red);
    padding: 10px 20px;
    margin-top: 24px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    transition: var(--nep-transition);
}

.landing-green .wpcf7-submit:focus,
.landing-green .wpcf7-submit:hover {
    background-color: var(--nep-blue);
    color: var(--nep-white);
}

.landing-green .contact-checkbox input + span {
    display: block;
}

@media screen and (min-width: 1024px) {
    .landing-green h2 {
        max-width: 66%;
    }
}

/* Popup box BEGIN */
.popup {
    background:rgba(0,0,0,.4);
    cursor:pointer;
    display:none;
    height:100%;
    position:fixed;
    top: 0;
    left: 0;
    width:100%;
    z-index:10000;
}

.popup h2,
.popup h3,
.popup p,
.popup ul li,
.popup ol li {
    color: var(--nep-dark) !important;
    max-width: 100%;
}

.popup ul li,
.popup ol li {
    color: var(--nep-grey) !important;
}

.popup .helper{
    display:inline-block;
    height:100%;
    vertical-align:middle;
}

.popup > div {
    background-color: #fff;
    box-shadow: 10px 10px 60px #555;
    display: inline-block;
    height: auto;
    width: 840px;
    margin: auto;
    max-width: 95%;
    min-height: 100px;
    vertical-align: middle;
    position: absolute;
    top: calc(50%);
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    border-radius: 12px;
    padding: 40px 48px 40px 40px;
}

.popup__close {
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: -70px;
    right: -70px;
    font-size: 40px;
    width: 64px;
    height: 64px;
    border: 2px solid var(--nep-white);
    color: var(--nep-white);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.popup__open {
    cursor: pointer;
    font-size: 20px;
    margin: 20px;
    display: inline-block;
    font-weight: bold;
}

.popup__contact {
    color: var(--nep-green) !important;
    font-weight: 700;
    text-decoration: none;
    font-size: 20px;
}

.popup__contact:before {
    content :'';
    width: 24px;
    height: 12px;
    background-image: url('/wp-content/themes/nep/images/landing/arrow.png');
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    margin-right: 8px;
    transition: var(--nep-transition);
}

.popup__contact:hover:before {
    transform: translateX(4px);
}