@font-face {
    font-family: Gilroy;
    src: url(../fonts/Gilroy.otf);
}

@font-face {
    font-family: Gilroy-Bold;
    src: url(../fonts/Gilroy-Bold.otf);
}

@font-face {
    font-family: Avenir;
    src: url(../fonts/Avenir.otf);
}

html,
body {
    background-color: #fff;
    font-family: 'Nunito Sans', Avenir, "Avenir LT", "Segoe UI", sans-serif;
    width: 100%;
    margin: 0px;
    padding: 0px;
    height: 100%;
}

body.index {
    margin-top: 125px;
}

h2.typed {
    text-align: center;
    color: #000;
    margin-top: 80px;
    margin-bottom: 80px;
    font-size: 45px;
    vertical-align: middle;
}

#header {
    position: fixed;
    top: 0px;
    padding-top: 15px;
    width: 100%;
    margin: auto;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    height: 63px;
    z-index: 9;
    display: none;
}

#header.fixed {
    display: block;
    position: fixed;
}

.fixed .nav-list {
    opacity: 1;
    /*    display: inline;*/
}


#splash {
    text-align: center;
    margin-top: 35px;
}

#splash h5 {
    display: block;
    margin-bottom: 0px;
    margin-left: 0px;
}

#splash p {
    font-size: 18px;
    margin: 0;
}

.logo-primary {
    margin-bottom: 15px;
}

h5 {
    text-transform: uppercase;
    font-family: Gilroy, "Gilroy Light", "Segoe UI Light", sans-serif;
    display: inline-block;
    vertical-align: sub;
    margin-left: 15px;
}

.logo {
    height: 50px;
    vertical-align: middle;
}

.homepage-logo{
    width: 22%;
    min-width: 225px;
}

.button-yellow {
    background: linear-gradient(to right, #ffd002 0%, #f8b500 100%);
    border: 0px;
    border-radius: 15px;
}

.button-nav {
    background: linear-gradient(to right, #ffd002 0%, #f8b500 100%);
    border: 0px;
    border-radius: 15px;
    line-height: 17px !important;
    height: auto !important;
    padding: 3px 30px;
}

#cta {
    text-align: center;
    position: relative;
}

.button.cta {
    margin-bottom: 5px;
}

.tablet > p.cta-number, .cta-number.static {
    position: relative;
    width: auto;
}

.cta-number {
    margin: 0;
    font-size: 9px;
    position: absolute;
    margin: 0px -21.25px;
    width: 200px;
}

.nav {
    position: fixed;
    top: 0px;
    padding-top: 15px;
    width: 100%;
    margin: auto;
    background-color: #fff;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    display: none;
    height: 63px;
}

.nav-item {
    display: inline-block;
    text-align: center;
    font-family: 'Nunito Sans', Avenir, "Avenir LT Std", "Segoe UI Light", sans-serif;
    text-transform: uppercase;
    width: 17%;
    text-decoration: none;
    color: #000;
    transition: color 0.2s;
}

.nav-item:hover {
    color: #c2c2c2;
}

.ie8{
    display: none;
}

.m-nav-item {
    font-family: 'Nunito Sans', Avenir, "Avenir LT Std", "Segoe UI Light", sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    transition: color 0.2s;
}

.m-nav-item:hover {
    color: #edc200;
}

.mobile-nav li {
    list-style: none;
    margin: 15px 0px;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav h5 {
    font-family: Gilroy, "Gilroy Light", "Segoe UI Light", sans-serif;
    text-transform: uppercase;
    font-size: 20px;
    margin-top: 5px;
    display: block;
}

.m-nav-content {
    text-align: center;
    padding-top: 30px;
}

.m-logo {
    width: 60px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 78px;
    left: 0;
    background: #fff;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow-y: scroll;
}

div.container.full-width.mobile > a{
    text-decoration: none;
    color: #000;
}


.nav-list {
    opacity: 0;
    transition: opacity 0.5s;
    /*    margin-left: 8%;*/
    width: 100%;
}

#main-navigation {
    position: relative;
}

#main-navigation svg {
    margin-right: 20px;
}

#services {
    margin-top: 75px;
}

.service {
    text-transform: uppercase;
    font-family: 'Nunito Sans', Avenir, "Avenir LT Std", "Segoe UI Light", sans-serif;
    font-weight: 600;
}

.break {
    margin-top: 150px;
}

#feature-list.break {
    margin-top: 80px;
}

.flush {
    margin: 0;
    width: 50% !important;
}

.flush3 {
    margin: 0;
    width: 33.333333333333334% !important;
}

.matrix {
    min-height: 200px;
    padding: 0;
    position: relative;
}

.matrix-text {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0px;
}

.matrix-title {
    width: auto;
    color: #fff;
    font-size: 25px;
    margin-bottom: 0px;
    font-weight: 100;
    font-family: 'Nunito Sans';
    position: absolute;
    left: 0;
    top: 0;
    line-height: 35px;
}

.matrix .button.basic {
    margin-top: 45px;
}

.button.basic {
    background-color: rgba(255, 255, 255, 0.09);
    color: #eee;
    border: 1px solid #eee;
    transition: all 0.4s;
    font-size: 12px;
}

.button.basic:hover {
    color: #fff;
    border: 1px solid #fff;
}

#purple {
    background: #4b004b;
    height: 575px;
}


#yellow {
    background: linear-gradient(to right, #edc200 0%, #f8b500 100%);
    height: 350px;
}


#blue {
    background: #006f6b;
    height: 325px;
}


#green {
    background: linear-gradient(to right, #77bc43 0%, #009245 100%);
    height: 550px;
}


hr {
    margin-top: 3em;
    margin-bottom: 15px;
    width: 80%;
}

img.social {
    width: 40px;
}

#footer {
    text-align: center;
    margin-bottom: 30px;
}

#footer p {
    margin: 0;
}

.mobile {
    display: none;
}

#cta.tablet {
    margin-top: 25px;
    margin-bottom: 25px;
}

.button.hamburger {
    padding: 0 15px;
    position: absolute;
    right: 50px;
    top: 5px;
}

.button.close {
    padding: 0 15px;
    position: absolute;
    right: 8px;
    top: 20px;
}

.container.full-width {
    width: 95%;
}

.tablet {
    display: none;
}

#popup-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: url(../img/EFAP_gateway_pattern.svg);
    background-size: cover;
    top: 0;
    z-index: 99;
    display: none;
}

#popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 850px;
/*    background-color: #fff;*/
    padding: 30px;
    text-align: center;
}

#popup h2 {
    font-family: Gilroy-Bold, "Arial Black", "Segoe UI Bold", sans-serif;
    font-size: 60px;
    margin: 0;
}

#popup p {
    margin-top: 0;
    margin-bottom: 35px;
    font-size: 24px;
}

#popup #popup-number {
    font-family: 'Nunito Sans', Avenir, "Arial Black", "Segoe UI Bold", sans-serif;
}

#popup span {
    color: #12A0DA;
}

#popup-left a{
    color: #000;
}

.popup-btn {
    padding: 35px 50px;
    line-height: 5px;
    font-size: 14px;
}

#popup-left{
    position: absolute;
    left: 0;
    top: 0;
    padding: 30px;
}

#popup-left h2{
    font-weight: 800;
    font-size: 3.2rem;
}

#popup-left p{
    font-size: 20px;
}

#popup-right{
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 30px;
    text-align: right;
}

#popup-right h2{
    font-weight: 700;
    font-size: 3.2rem;
}

#popup-right h3{
    margin-bottom: 0;
    font-size: 2.6rem;
}

#popup-right p{
    font-size: 18px;
}

#popup-left .email, #popup-left .book{
    transition: all 0.3s;
}

#popup-left .email:hover, #popup-left .book:hover{
    color: #d14d9c;
}

.popup-footer{
    position: absolute;
    bottom: 0;
    margin-left: 30px;
    font-size: 14px;
    color: #222;
}

#popup-close {
/*
    font-family: Gilroy-Bold, "Arial Black", "Segoe UI Bold", sans-serif;
    color: #000;
    position: absolute;
    font-size: 40px;
    right: 0;
    top: 0;
    width: 65px;
    height: 65px;
*/
    cursor: pointer;
}

#gateway-clinical, #gateway-critical, #gateway-wellness{
    text-decoration: none;
    color: #000;
    transition: all 0.3s;
}

#gateway-clinical:hover{
    color: #9a258f;
}

#gateway-wellness:hover{
    color: #12a0da;
}

#gateway-critical:hover{
    color: #76bc43
}

#popup-continue {
    text-decoration: underline;
    color: #888;
    cursor: pointer;
}

.filler {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    transition: all 0.2s;
}

.matrix {
    cursor: pointer;
}

#purple > .filler {
    background: url('../img/homepageBox1.jpg');
    background-size: contain;
}

#blue > .filler {
    background: url('../img/homepageBox3.jpg');
    background-size: contain;
}

#red > .filler {
    background: url('../img/homepageBox2.jpg');
    background-size: contain;
}

#yellow > .filler {
    background: url('../img/homepageBox4.jpg');
    background-size: contain;
}

#green > .filler {
    background: url('../img/homepageBox5.jpg');
    background-size: contain;
}

#pink > .filler {
    background: url('../img/homepageBox6.jpg');
    background-size: contain;
}

.matrix-title,
.matrix-text {
    transition: all 0.1s;
    padding: 30px;
}

.purple {
    background: #4b004b;
}

.blue {
    background: #006f6b;
}

.yellow,
#yellow {
    background: #935800;
}

.green,
#green {
    background: #355c17;
}

.pink,
#pink {
    background: #9b4646;
}

.red,
#red {
    background: #6f000d;
}

.hoverstate {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 0px;
    height: 0;
    border-radius: 300px;
    transition: all 0.2s;
}

.hoverstate p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0px;
    transition: all 0.2s;
}

.standout.index {
    position: relative;
    top: -45px;
    /*    margin-top: -45px;*/
    transition: all 2.5s;
}

.standout.faqpage {
    position: relative;
    top: 0;
    /*    margin-top: -45px;*/
    transition: all 2.5s;
}


/* SERVICES PAGE(S) */

.embed-responsive-16by9{
   padding-bottom: 56.25%;
}

.embed-responsive {
    position: relative;
    display: block;
    overflow: hidden;
}

.embed-responsive .embed-responsive-item, .embed-responsive iframe, .embed-responsive embed, .embed-responsive object, .embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.services-banner {
    text-align: center;
    margin-top: 78px;
    color: #fff;
    height: 25%;
    text-transform: uppercase;
}

#clinical-banner {
    background: #EEABF8;
    background-image: url(../img/still-clinical.jpg);
    background-size: cover;
}

#wellness-banner {
    background: #BDCFEF;
    background-image: url(../img/still-wellness2.jpg);
    background-size: cover;
}

#critical-banner {
    background: #3F7248;
    background-image: url(../img/still-critical.jpg);
    background-size: cover;
}

#service-typebox h2{
    margin-bottom: 0px;
}

.overview {
    margin-bottom: 50px;
}

.overview-text {
    text-align: center;
    font-size: 20px;
    width: 75%;
    margin: auto;
    margin-top: 35px;
}

.overview-text strong {
    color: #355c17;
}

.feature {
    background: #f7f7f7;
    border: 1px solid #e7e7e7;
    min-height: 650px;
    transition: all 0.35s;
    position: relative;
}

.feature:hover {
    min-height: 750px;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
    position: relative;
    transform: translate(0px, -45px);
}

.feature-head {
    background: #fbfbfb;
    text-align: center;
    padding: 30px;
    border-bottom: 1px solid #e7e7e7;
    min-height: 84px;
    transition: all 0.35s;
}

.feature-head.large {
    min-height: 125px;
}

.feature:hover .feature-head {
    padding: 45px;
    /*    min-height: 84px;*/
}

.feature-body {
    background: #f7f7f7;
    padding: 30px 60px;
    height: 100%;
}

.feature-header {
    font-family: 'Nunito Sans', Avenir, "Arial Black", "Segoe UI Bold", sans-serif;
    font-size: 23px;
    display: block;
    margin: 0;
}

.feature-title {
    font-weight: 700;
    margin-bottom: 5px;
}

.feature-row {
    height: 750px;
}

.feature-list{
    display: block;
    margin-left: 18px;
    margin-top: 8px;
    margin-bottom: 8px;
}

#wellness-body .feature-title:nth-child(1){
    margin-top: 0px;
    margin-bottom: 15px;
}

#wellness-body .feature-title{
    margin: 15px 0px;
    color: #12a0da;
}

#critical-body .feature-title{
    margin: 15px 0px;
    color: #65b12f;
}

#clinical-body .feature-title{
    margin: 15px 0px;
    color: #9a258f;
}


#wellness-body .right .feature-desc{
    margin-bottom: 5px;
    display: list-item;
    list-style-type: circle;
    list-style: circle;
}

.service-ball {
    width: 35px;
    height: 35px;
    transform: scaleX(-1);
}

#service-callout {
    text-align: center;
    margin-bottom: 15px;
    margin-top: 30px;
}

#service-callout h5 {
    font-size: 18px;
    text-transform: none;
    margin: 15px 0px;
}

#service-callout a{
    text-decoration: none;
    color: #000;
}

#service-pop {
    padding: 15px;
    text-align: center;
    color: #fff;
}

#service-pop p {
    margin: 0;
    font-size: 16px;
}

#service-pop a {
    text-decoration: none;
    color: #fff;
}

#clinical-links a{
    border-bottom: 2px solid #9a258f;
}

#wellness-links a{
    border-bottom: 2px solid #12a0da;
}

#critical-links a{
    border-bottom: 2px solid #76bc43;
}


/*ABOUT PAGE*/

#about-banner {
    background: #EA809D;
    background: url('../img/headerAbout.jpg');
    background-size: cover;
}

#vision{
    margin-top: 35px;
}

#vision p.overview-text{
    margin-top: 0;
}

#vision h4{
    font-size: 22px;
}

h2.about-head{
    margin-bottom: 15px;
    margin-top: 30px;
}

#leadership {
    background-color: #e0e0e0;
    padding: 40px;
}

.leader {
    background-color: #fff;
    text-align: center;
    padding: 35px 15px;
    margin-bottom: 30px;
    color: #000;
    text-decoration: none;
    height: 300px;
}

.leader img {
    width: 100px;
    display: block;
    margin: auto;
    padding: 15px;
}

#leadership .name {
    margin-bottom: 0;
    font-weight: bolder;
    margin-left: 0;
    font-size: 20px;
}

#leadership .title{
    font-size: 2.6rem
}

#leadership a {
    text-decoration: none;
}

.role{
    font-size: 16px;
}

#leadership-head, .about-head {
    text-transform: uppercase;
    font-weight: bolder;
    text-align: center;
    margin-top: 50px;
    font-size: 28px;
}


#about-modal{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.3);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4cffffff', endColorstr='#4cffffff'); /* IE */
    display: none;
    overflow-y: scroll;
}

#about-modal.overflow{
    height: none;
}

.modal-link{
    cursor: pointer;
}

.modal-info{
    position: relative;
    width: 80%;
    max-width: 750px;
    margin: auto;
    top: 25%;
    background: #fff;
    padding: 35px;
    display: none;
}

.modal-head{
    position: absolute;
    height: 100px;
    display: inline-block;
    top: 35px;
    margin-left: 20px;
}

.modal-body{
    margin: 15px 0px;
}

.modal-body p{
    margin-bottom: 0px;
}

.modal-image{
    width: 85px;
}

.modal-head h2, .modal-head p{
    margin: 0;
}

.credentials,.modal-head p{
    color: #888;
    font-size: 22px;
}

/* TESTIMONIALS PAGE */

#testimonial-banner {
    background: #ABC1D4;
    background: url('../img/headerTestimonial.png');
    background-size: cover;
}

.testimonial .embed-responsive{
    margin-bottom: 50px;
    border: 1px solid #f2f2f2;
}



/* CONTACT PAGE */

#contact-banner {
    background: #78C4A9;
    background: url('../img/headerContact.jpg');
    background-size: cover;
}

#contact-head {
    text-align: left;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
}

#contact a {
    color: #000;
    text-decoration: none;
}

.location-info h5 {
    margin-left: 0px;
    font-size: 18px;
    font-weight: bolder;
    margin-bottom: 0px;
    margin-top: 15px;
}

.location-info p {
    margin: 0px;
}

.location-info {
    margin-bottom: 30px;
}

.map {
    width: 100%;
    height: 22vh;
    background-position: center;
}

#vancouver-map {
    background-image: url(../img/location-vancouver.jpg);
}

#burnaby-map {
    background-image: url(../img/location-burnaby.jpg);
}

#surrey-map {
    background-image: url(../img/location-surrey.jpg);
}

#contact-form {
    background: #d2d2d2;
    padding: 78px 0px;
}

#form-head {
    text-transform: uppercase;
    font-weight: 700;
}

#contact-submit {
    border: none;
    background: #f8b500;
    font-weight: 600;
    font-size: 16px;
    color: #000;
    width: 150px;
    height: 40px;
    border-radius: 5px;
    border-bottom: 5px solid #b58400;
    transition: all 0.1s;
}

#contact-submit:hover {
    background: #e6a800;
}

textarea {
  resize: vertical;
    max-height: 500px;
}


/* FAQ PAGE */

#faq-banner {
    background: #78C4A9;
    background: url('../img/headerFaq.jpg');
    background-size: cover;
}

#faqs{
    margin-top: 125px;
}

#faqs .faq-item{
    color: white;
    min-height: 145px;
    background-size: contain;
    transition: all 0.6s;
}

#faqs h4{
    font-size: 22px;
    padding: 15px;
}

.answer-box, #faq-return{
    display: none;
}

.answer-head{
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Nunito Sans', Avenir, "Avenir LT", "Segoe UI", sans-serif;

}

#faq-answers h5{
    margin-left: 0;
    text-transform: none;
    font-weight: 700;
    font-family: 'Nunito Sans', Avenir, "Avenir LT", "Segoe UI", sans-serif;
    margin-bottom: 10px;
}

#faq-answers{
    margin-top: 25px;
}

#faq-return{
    background: #71C0A4;
    color: #fff;
    border: none;
}

#faq1, .hoverstate.faq1{
    background: #c3843a;
}

#faq2, .hoverstate.faq2{
    background: #608645;
}

#faq3, .hoverstate.faq3{
    background: #a04944;
}

#faq4, .hoverstate.faq4{
    background: #b13c55;
}

#faq5, .hoverstate.faq5{
    background: #4587a8;
}

#faq6, .hoverstate.faq6{
    background: #d3a448;
}

#faq7, .hoverstate.faq7{
    background: #407b7e;
}

#faq8, .hoverstate.faq8{
    background: #b5607e;
}

#faq9, .hoverstate.faq9{
    background: #504174;
}

#faq1 > .filler{
    background-image: url(../img/faq/faqBoxesPattern1.jpg);
}

#faq2 > .filler{
    background-image: url(../img/faq/faqBoxesPattern2.jpg);
}

#faq3 > .filler{
    background-image: url(../img/faq/faqBoxesPattern3.jpg);
}

#faq4 > .filler{
    background-image: url(../img/faq/faqBoxesPattern4.jpg);
}

#faq5 > .filler{
    background-image: url(../img/faq/faqBoxesPattern5.jpg);
}

#faq6 > .filler{
    background-image: url(../img/faq/faqBoxesPattern6.jpg);
}

#faq7 > .filler{
    background-image: url(../img/faq/faqBoxesPattern7.jpg);
}

#faq8 > .filler{
    background-image: url(../img/faq/faqBoxesPattern8.jpg);
}

#faq9 > .filler{
    background-image: url(../img/faq/faqBoxesPattern9.jpg);
}


.faq-item:hover{
/*    background-size: 110% 110% !important;*/
}

/* GLOBAL STYLES */

#main-navigation a:nth-child(1) {
    text-decoration: none;
}

.banner {
    text-align: center;
    margin-top: 78px;
    color: #fff;
    height: 50%;
    background-position: center;
}

.banner .sub-tag {
    font-size: 24px;
}

.banner h3 {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 40px;
}

.v-container {
    position: relative;
}

.v-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.critical-green {
    background: #76bc43;
}

.clinical-purple {
    background: #9a258f;
}

.wellness-blue {
    background: #12a0da;
}

/* DROPDOWN MENU STYLES */

.dropdown-container{
    display: inline;
    position: relative;
}

.dropdown-container > p.nav-item{
    height: 50px;
}

#dropdown{
    position: absolute;
    top: 35px;
    left: 0px;
    background: #fff;
    width: 250px;
    height: 190px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    display: none;
}

#dropdown2{
    position: absolute;
    top: 35px;
    left: 0px;
    background: #fff;
    width: 230px;
    height: 135px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    display: none;
}

#dropdown-list{
    padding: 15px;
    padding-bottom: 0px;
}

.dropdown-left{
    width: 32px;
    display: inline-block;
    float: left;
}

.dropdown-right{
    display: inline-block;
    margin-left: 15px;
}

.dropdown-item{
    width: 100%;
    height: 20%;
    display: block;
    margin-bottom: 15px;
    color: #000;
    transition: all 0.2s;
}

.dropdown-title{
    text-transform: uppercase;
    display: inline-block;
    margin: 0;
    font-size: 14px;
}

.dropdown-ball{
    width: 35px;
    vertical-align: top;
}

.dropdown-tag{
    margin: 0;
    font-size: 12px;
}

.dropdown-item:hover{
    color: #c2c2c2;
}

.dropper:hover #dropdown, .dropper2:hover #dropdown2{
    display: block;
}

.dropper, .dropper2{
    cursor: default;
}

.nav-item.dropper:hover, .nav-item.dropper2:hover{
    color: #000;
}

.social-link{
    text-decoration: none;
}


/* Larger than Desktop HD */

@media (min-width: 1400px) {
    .container {
        width: 60%;
    }
    .nav-item {
        width: 17%;
    }
    .cta-number {
        margin: 0px -24.25px;
    }
    
    #popup-left h2{
        font-weight: 800;
        font-size: 4.2rem;
    }

    #popup-left p{
        font-size: 28px;
    }

    #popup-right h2{
        font-weight: 700;
        font-size: 4.1rem;

    }

    #popup-right h3{
        margin-bottom: 0;
        font-size: 3.5rem;

    }

    #popup-right p{
        font-size: 22px;
    }
}


/*desktop*/

@media (max-width: 1200px) {
    .overview-text {
        width: 100%;
    }
    .leader {
        padding: 15px;
    }
    .leader img {
        width: 75px;
    }
    #leadership .name {
        font-size: 20px;
    }
    #leadership .role {
        font-size: 14px;
    }
    #leadership {
        padding: 25px;
    }
    .matrix-title {
        padding: 15px;
        font-size: 21px;
    }
    .matrix-text {
        padding: 15px;
    }
    
    .feature-body{
        padding: 30px;
    }
}


/* phablet */

@media (max-width: 550px) {}


/*laptop*/

@media (max-width: 1024px) {
    #popup-overlay{
        display: none !important;
    }
    
    .tab-view {
        width: 100% !important;
    }
    p.matrix-text {
        font-size: 1.6rem;
    }
    #footer {
        height: 200px;
    }
    .cta-number.desktop {
        display: none;
    }
    #header {
        position: fixed;
        top: 0;
    }
    .nav-list {
        /*        margin-left: 5%;*/
    }
    .matrix {
        min-height: 0px;
    }
    #main-navigation svg {
        margin-right: 10px;
    }
    .nav-item {
        width: 16.8%;
    }
    
    .credentials, .modal-head p{
        font-size: 20px;
    }
    
    .about-value{
        width: 100% !important;
        margin-left: 0 !important;;
    }
    
    #leadership .title{
        font-size: 2.2rem;
    }
    
    .feature-head p{
        font-size: 12px;
    }
}


/* tablet */

@media (max-width: 768px) {

    
    .desktop {
        display: none;
    }
    .tablet {
        display: block;
    }
    .mobile {
        display: block !important;
    }
    .flush {
        width: auto !important;
    }
    #purple,
    #blue,
    #yellow,
    #green {
        height: auto;
    }
    .placeholder {
        margin-bottom: 15px;
        height: 288px;
    }
    #header {
        position: fixed;
        top: 0;
    }
    #services {
        margin-top: 0;
    }
    .leader img {
        width: 65px !important;
    }
    #leadership .name {
        font-size: 16px !important;
    }
    #leadership .role {
        font-size: 12px !important;
    }
    .leader {
        min-height: 0px;
    }
    .matrix-title {
        padding: 12px;
        font-size: 16px;
    }
    .matrix-text {
        padding: 12px;
        font-size: 12px !important;
    }
    .servicetitle h4 {
        font-size: 1em !important;
    }
    
    .credentials, .modal-head p{
        display: block;
        font-size: 18px;
    }
    
    .modal-head h2{
        font-size: 35px;
    }
    img.cover{
        display:block;
    }
    #service-callout{
        padding: 15px;
    }
}


/* mobile */

@media (max-width: 550px) {
    .container {
        padding: 0 !important;
    }
    #leadership .container {
        width: 100%;
    }
    p.matrix-text {
        font-size: 15px;
    }
    p.cta-number {
        font-size: 12px;
        margin-top: 5px;
    }
    .logo {
        height: 40px;
        margin-top: 6px;
    }
    #header {
        position: fixed;
        top: 0;
        display: block;
    }
    #header h5 {
        margin-left: 5px;
    }
    #splash {
        margin-top: 100px;
    }
    .button.hamburger {
        right: 0px;
    }
    .matrix-title {
        padding: 30px;
        font-size: 24px;
    }
    .matrix-text {
        padding: 30px;
        font-size: 18px !important;
    }
    .flush3 {
        width: 100% !important;
    }
    .standout {
        top: 0px !important;
    }
    .servicetitle h4 {
        font-size: 1.3em !important;
    }
    .v-center {
        width: 100%;
    }
    .banner {
        height: 70%;
    }
    .overview-text {
        font-size: 18px;
        margin-top: 15px;
    }
    .feature-head {
        padding: 20px;
    }
    .feature-body {
        padding: 20px;
    }
    #leadership{
        padding: 15px;
    }
    .leader{
        margin-bottom: 15px;
    }
    
    .modal-info{
        box-sizing: border-box;
        top: 78px;
        width: 100%;
        min-height: 100%;
        padding: 15px;
    }
    
    .modal-image{
        width: 35px;
    }
    
    .modal-head{
        top: 15px;
    }
    
    .modal-head h2{
        font-size: 20px;
    }
    
    .credentials, .modal-head p{
        font-size: 12px;
    }
    .modal-body p{
        font-size: 12px;
        margin-top: 45px;
    }
    img.cover{
        display:block;
    }
    #service-callout{
        padding: 15px;
    }
    
    .leader{
        max-height: 250px;
    }
}

@media screen and (orientation:landscape) and (-webkit-device-pixel-ratio: 3), screen and (orientation:landscape) and (-webkit-device-pixel-ratio: 4), screen and (orientation:landscape) and (-webkit-device-pixel-ratio: 2)
{
   .v-center {
      width: 100%;
   }
    .v-center h3{
        font-size: 28px;
    }
}