﻿/* 1400  ======================================== */
@media only screen and (max-width: 1400px) {

    .hcpinnercontainer {
        width: 95%;
    }

    /*  GREEN   ================= */

    .greensection::before {
        right: 4%;
    }

    /*  YELLOW   ================= */

    .yellowsection::before {
        left: 4%;
    }

    .expertgrid {
        width: 86%;
    }



/* ------------------------------------------------------------------  CLOSE MEDIA QUIERY ----- */
}


/* 1200  ======================================== */
@media only screen and (max-width: 1200px) {

    .hcpsection.hcpbanner {
        height: 60vh;
        min-height: 520px;
        max-height: 700px;
    }


    .hcpinnercontainer {
        width: 100%;
    }

    /*  GREEN   ================= */

    .greensection::before {
        right: 0%;
    }

    .greentexblock {
        width: 80%;
        min-width: unset;
    }

    /*  WE   ================= */

    .wegrid {
        width: 94%;
    }

    /*  YELLOW   ================= */

    .yellowtexblock {
        width: 80%;
        min-width: unset;
    }

    .yellowsection::before {
        left: 0%;
    }

    /*  EXPERTS   ================= */

    .expertgrid {
        width: 94%;
    }

    /*  FORM   ================= */

    .formcontainer {
        width: 60%;
    }


/* ------------------------------------------------------------------  CLOSE MEDIA QUIERY ----- */
}

/* 1024  ======================================== */
@media only screen and (max-width: 1024px) {

    /*  BANNER   ================= */

    .hcpsection.hcpbanner {
        height: 45vh;
        margin-top: 70px;
        min-height: unset;
    }

    .hcpbannertextblock {
        width: 55%;
        top: 35%;
        padding: 30px;
    }

    .hcpbannertitle h3 {
        font-family: var(--font-calluna);
        font-weight: 400;
        font-size: 40px;
        line-height: 40px;
    }

    .hcpbannertagline h4 {
        font-size: 19px;
        margin-top: 19px;
    }


    /*  GREEN   ================= */

    .greensection::before {
        opacity: .8;
    }

    .greentexblock {
        font-size: 30px;
        line-height: 38px;
    }

    /*  EXPERTS   ================= */

    .expertgrid {
        width: 99%;
    }

    /*  YELLOW   ================= */

    .yellowsection::before {
        opacity: .8;
    }

    .yellowtexblock {
        font-size: 24px;
        line-height: 30px;
    }

    
    /*  FORM   ================= */

    .formcontainer {
        width: 100%;
    }


/* ------------------------------------------------------------------  CLOSE MEDIA QUIERY ----- */
}

/* 900  ======================================== */
@media only screen and (max-width: 900px) {

    /*  GREEN   ================= */

    .greensection {
        padding: 40px 0 60px 0;
        min-height: unset;
    }

    .greentexblock {
        width: 90%;
    }

    /*  WE   ================= */

    .wegrid {
        width: 85%;
        grid-template-columns: 1fr;
        justify-items: start;
        justify-content: center;
        grid-row-gap: 30px;
    }

    /*  YELLOW   ================= */

    .yellowsection {
        padding: 50px 0;
    }

    .yellowtexblock {
        width: 90%;
    }

    /*  EXPERTS   ================= */

    .experttitle {
        padding: 30px 0;
    }

    .expertgrid {
        width: 93%;
        grid-template-columns: 1fr 1fr;
    }

    .expertgriditem {
        position: relative;
        padding: 30px 40px;
        font-size: 18px;
    }

    .expertgriditem::after {
        bottom: 0;
    }

    .expertgriditem:nth-child(7)::after {    
        background-color: rgba(var(--clr-green-hue), .3);   
        height: 2px;
        width: 80px;
        bottom: 0;
    }

/* ------------------------------------------------------------------  CLOSE MEDIA QUIERY ----- */
}

@media only screen and (max-width: 767px) {

    .greentexblock {
        font-size: 28px;
        line-height: 32px;
    }


/* ------------------------------------------------------------------  CLOSE MEDIA QUIERY ----- */
}

/* 700  ======================================== */
@media only screen and (max-width: 700px) {

    .hidemobilefix {
        display: none;
    }

    .showmobilefix {
        display: block;
    }

    .hcpbannermobiletextblock {
        position: relative;
        width: 100%;
        height: auto;
        padding: 30px 30px;
        margin-top: 69px;
        background-color: var(--clr-yellowfaded);
        color: var(--text-body);
        text-align: center;
    }

    .hcpbannermobiletextblock .hcpbannertitle h3 {
        font-family: var(--font-calluna);
        font-weight: 400;
        font-size: 44px;
        line-height: 44px;
    }

    .hcpbannermobiletextblock .hcpbannertagline h4 {
        font-family: var(--font-defaultsans);
        font-weight: 400;
        font-size: 21px;
        margin-top: 24px;
    }


    .hcpsection.hcpbanner {
        display: block;
        padding: 150px 0;
        height: auto;
        min-height: 210px;
        position: relative;
        min-height: unset;
        background-position: center center;
        background-size: cover;
        margin-top: 0;
    }

/* ------------------------------------------------------------------  CLOSE MEDIA QUIERY ----- */
}

/* 600  ======================================== */
@media only screen and (max-width: 600px) {

    .hcpsection.hcpbanner {
        padding: 120px 0 140px 0;
        min-height: 100px;
        background-position: center center;
        background-size: cover;
    }

    .wegrid {
        width: 94%;
        grid-row-gap: 20px;
    }


    .experttitle {
        padding: 30px 0 10px 0;
    }

    .expertgrid {
        width: 93%;
        grid-template-columns: 1fr ;
    }

    .expertgriditem:nth-child(8)::after {    
        background-color: rgba(var(--clr-green-hue), .3);   
        height: 2px;
        width: 80px;
        bottom: 0;
    }

    .formbutton button {
        position: relative;
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 10px;
    }

    .formbutton button:hover {
        text-align: center;
        padding: 14px 10px;
    }

    .formbutton button:after {
        display: none;
    }


/* ------------------------------------------------------------------  CLOSE MEDIA QUIERY ----- */
}


/* 500  ======================================== */
@media only screen and (max-width: 500px) {

    .hcpsection.hcpbanner {
        padding: 90px 0 130px 0;
        min-height: 80px;
        background-position: center center;
        background-size: cover;
    }

    .hcpbannermobiletextblock {
        padding: 20px 15px;
    }

    .greensection {
        padding: 20px 0 40px 0;
    }

    .greentexblock {
        font-size: 24px;
        line-height: 30px;
    }

    .yellowsection {
        padding: 30px 0;
    }

    .welist {
        font-size: 17px;
    }

    .welist ul li {
        margin: 10px 0 10px 10px;
        padding: 0 8px 0 20px;
    }


/* ------------------------------------------------------------------  CLOSE MEDIA QUIERY ----- */
}

/* 400  ======================================== */
@media only screen and (max-width: 400px) {


   .hcpsection.hcpbanner {
        padding: 80px 0 110px 0;
        min-height: 80px;
        background-position: bottom center;
        background-size: cover;
    }

   .hcpbannermobiletextblock .hcpbannertitle h3 {
        font-size: 32px;
        line-height: 35px;
    }

   .hcpbannermobiletextblock .hcpbannertagline h4 {
        font-size: 17px;
        margin-top: 11px;
    }


    .expertisesection {
        padding: 10px 0;
    }

    .experttitle {
        padding: 20px 0 0 0;
        font-size: 32px;
        line-height: 32px;
    }

    .formconsent {
        padding: 0 31px 0 36px !important;
    }

    .formconsent span {
	    white-space: normal;
    }


/* ------------------------------------------------------------------  CLOSE MEDIA QUIERY ----- */
}