@import url(https://fonts.googleapis.com/css?family=Raleway:400italic,400,600italic,600,700italic,700,800italic,800);

@font-face {
    font-family: 'existencelight';
    src: local("existencelight"), url('../fonts/Existence-Light-webfont.eot');
    src: local("existencelight"), url('../fonts/Existence-Light-webfont.woff') format('woff'),
        url('../fonts/Existence-Light-webfont.ttf') format('truetype'),
        url('../fonts/Existence-Light-webfont.svg#existencelight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'jennasue';
    src: local("jennasue"), url('../fonts/jennasue-webfont.woff') format('woff'),
        url('../fonts/jennasue-webfont.woff2') format('woff2'),
        url('../fonts/jennasue-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* minor resets */
body {
    margin: 0;
    padding: 0;
    background-color: #f2f2f2;
}

ul, ol {
	margin:0 1.5em 1.5em 0;
}

ul {list-style-type: disc; }
     
/**************************************************/
/* HEADER */
/**************************************************/
.hero-image-container {
    background: url("../img/hero-image.jpg") no-repeat 0 0;
    width: 100%;
    height: 666px;
    background-size: cover;
}

.hero-image-container-internal {
    background: url("../img/header-internal-pages.jpg") no-repeat 0 0;
    width: 100%;
    height: 334px;
    background-size: cover;
}

.logo {
    width: 25%;
    height: auto;
    position:absolute;
    top: 100px;
    left: 30px;
}

.logo-md {
    width: 300px;
    position:absolute;
    top: 90px;
    left: 20px;
}

/* GLOBAL NAV */
/* ------------------------------------------------ */
.global-nav {
/*   width: 100vw;*/
    width: 100%;
   height: 70px;
   background-color: rgba(0,0,0,0.40);
   position: absolute;
   top: 0;
   max-height: 70px;
    transition: all 0.55s ease-in-out;
}
.fixed-nav {
    position:fixed;
    background-color: rgba(53,53,53,0.80);
    top: -70px;
    left: 0;
    right: 0;
    z-index: 1;
    transition: 0.4s all cubic-bezier(.3, .73, .3, .74);            
}
.global-nav.fixed-nav.slide-down {
    top: 0;
/*    height: 50px;*/
    height: 70px;
}

.global-nav-icon {
    width: 17px;
    height: 17px;
    fill: #ffffff;
    margin-right: 10px;
}

.global-nav-icon-selected {
    fill:#82b68c;
    width: 17px;
    height: 17px;
    margin-right: 10px;
}

.global-nav_list {
    padding: 0;
    list-style-type: none;
    display: flex;
    height: inherit;
    width: 850px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.global-nav_list li {
    align-self: center;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.global-nav_list > li:a {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.global-nav_list > li > a:link,
.global-nav_list > li > a:visited {
    padding: 20px 40px 20px 40px;
    position: relative;
    font-family: "existencelight", Helvetica, Arial, sans-serif;
    text-decoration: none;
    font-size: 20px;
    color: #ffffff;
    transition: background-color 0.25s ease-in-out;
    text-align: center;
    flex-wrap: nowrap;
    width: 20%;
}

.global-nav_arrow {
    width: 10px;
    height: 11px;
    fill: #ffffff;
    margin-right: 10px;
}

.global-nav_list li > a:link:hover,
.global-nav_list li > a:visited:hover {
    background-color: rgba(0,0,0,0.30);
    color: #82b68c;
    fill: #82b68c;
    transition: background-color 0.25s ease-in-out;
}

.global-nav_list > li > a:hover .global-nav-icon {
    fill: #82b68c;
}

.global-nav_list > li > a:hover span {
    color: #82b68c;
}

.global-nav_list > li > a:link .global-nav_arrow,
.global-nav_list > li > a:visited .global-nav_arrow {
    fill: #ffffff;
    width: 11px;
    height: 11px;
    position: absolute;
    margin-top: 10px;
    margin-left: 10px;    
}

.global-nav_list > li > a:link .global-nav_arrow--selected,
.global-nav_list > li > a:visited .global-nav_arrow--selected {
 width: 11px;
    height: 11px;
    position: absolute;
    margin-top: 10px;
    margin-left: 10px;
    fill: #82b68c;
}

.global-nav_list > li > a:hover .global-nav_arrow  {
    fill: #82b68c;
}

.global-nav_list > li > a:link.global-nav_link--active,
.global-nav_list > li > a:visited.global-nav_link--active {
    background-color: rgba(0,0,0,0.30);
    color: #82b68c;
    cursor: default; 
}

.global-nav_list > li a:link .global-nav-icon-selected {
    fill: #82b68c;
}

/*
.global-nav_list > li a:link.inactive .global-nav-icon-selected {
    fill: #82b68c;
}

.global-nav_list > li a:link.inactive .global-nav-icon-selected + span {
    color: #82b68c;
}
*/

/*
.global-nav_list > li a:link .global-nav-icon-selected.white {
    fill: #ffffff;
}
*/
.global-nav-icon-selected.white {
    fill: #ffffff;
}

.global-nav_list > li a:link.inactive .global-nav-icon-selected.white {
    fill: #ffffff;
}


.global-nav_list > li a:link .global-nav-icon-selected.whited + span {
    color: #ffffff;
}



/* keep portfolio tab highlighted when on the sub menu */
#portfolio-link-container:hover #portfolio-link {
    background-color: rgba(59, 64, 59, 0.96);
    color: #82b68c;
    fill: #82b68c;
}
#portfolio-link-container:hover .global-nav-icon,
#portfolio-link-container:hover .global-nav_arrow,
#portfolio-link-container:hover .global-nav-icon + span {
    fill: #82b68c;
    color: #82b68c;
}



#portfolio-link-container:hover .portfolio-dropdown {
/*    display: block;*/
    visibility: visible;
    opacity: 1;
/*    transition: opacity 0.95s ease-in-out;*/
    transition-delay: 0s;
    
}

.portfolio-dropdown.menu-hide {
    visibility: hidden;
    opacity: 0;
}

/* PORTFOLIO SUB NAV */
/* ------------------------------------------------ */
.global-nav_list > li > .portfolio-dropdown {
    transition: visibility 0s linear 0.25s, opacity 0.25s linear;
    position: absolute;
    visibility: hidden;
    opacity: 0;
    top: 69px;
    background-color: rgba(59, 64, 59, 0.9);
    font: 20px existencelight, Helvetica, Arial, sans-serif;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 10;
    padding-left: 0;
    list-style-type: none;
}

.global-nav_list > li .portfolio-dropdown li {
    border-bottom: 1px #343434 solid;
    text-align: left;
}

.global-nav_list > li .portfolio-dropdown li:last-child {
    border-width: 0;
}

.global-nav_list > li .portfolio-dropdown li a:link,
.global-nav_list > li .portfolio-dropdown li a:visited {
    color: #ffffff;
    display: block;
    font-weight: bold;
    padding: 20px 74px 20px 24px;
    text-decoration: none;   
}

.portfolio-dropdown li a:link > img {
    vertical-align: middle;
    margin-right: 14px;
    border-radius: 36px;
    border: 1px #333333 solid;
    width: 60px;
}
.portfolio-dropdown li a:hover > img {
/*    border: 1px #999999 solid;*/
}


/*END GLOBAL NAV */



/**************************************************/
/* HOME CONTENT */
/**************************************************/

main {
    margin: 40px;
}

/* Intro text */
.main-heading {
    font: 400 18px raleway, Helvetica, Arial, sans-serif;
    margin: 40px 20%;
/*    position: absolute;*/
    color: #666666;
    line-height: 24px;
}
        
.cards-container {
    position: relative;
    display: inline-block;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
}
 
.cards {
    font: 18px raleway, Helvetica, Arial, sans-serif;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.card {
    background-color: #ffffff;
    width: 260px;
/*    height: 40%;*/
    margin-right: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    overflow: hidden;
    flex-basis: 24%;
    
}
.card:last-child {
    margin-right: 0px;
}

.card img {
    width: 100%;
    transition: all .45s ease-in-out;
}
.card:hover img {
    transform: scale(1.35);
    transition: all .45s ease-in-out;
}

.card-text {
    padding: 10px;
    height: 110px;
    position: relative;
    top: -4px;
    zindex: 1;
    background-color: #ffffff;
}

.card-text h2 {
    font-size: 16px;
    text-transform: uppercase;
    margin: 0;
    color: #666666;
}
 .card:hover .card-text h2 {
    color: #95997c;
}

.card-text p {
    font-size: 14px;
    line-height: 18px;
    margin-top: 10px;
    color: #666666;
}
.card:hover .card-text p {
    color: #95997c;
}

.card .card-window {
    overflow: hidden;
}
        
/**************************************************/
/* PORTFOLIO CONTENT */
/**************************************************/
main.portfolio {
    margin: 40px;
}

/* H1 */
.breadcrumb {
    font: normal 30px existencelight, Helvetica, Arial, sans-serif;
    color: #333333;
    margin: -10px 0 10px 10px;
    padding: 0;
}

.breadcrumb span {
    color: #333333;
    font-weight: bold;
    text-transform: capitalize;
}

.image-grid {
    column-count: 5;
    column-gap: 5px;
    page-break-inside: avoid;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 5px;
}
    
.image-grid img {
    width: 100% !important;    
    height: auto !important;
    display: inline-block;
}

/**************************************************/
/* BLOG CONTENT */
/**************************************************/
main.blog {
    margin: 40px 40px;

}

.blog-section {
    clear: both;
}

.blog-section-img {
    float: left;
    width: 40%;
    padding-right: 40px;
}

main.blog h1 {
    font: 400 44px 'jennasue', Helvetica, Arial, sans-serif;
    color: #333333;
    margin-left: 0;
}

.posted {
    font-family: "existencelight", Helvetica, Arial, sans-serif;
    font-size: 18px;
    color: #333333;
}

.sub-headline {
    font-family: Raleway, Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    line-height: 26px
}

.article-copy {
    font-family: Raleway, Helvetica, Arial, sans-serif;
    color: #333333;
    font-size: 16px;
    line-height: 24px;
}

.body-copy-link {
    text-decoration: underline;
    color: #82b68c;
    font-weight: 900;
}
.body-copy-link:hover {
    text-decoration: none;
}

hr {
    border: 0;
    border-top: 1px #cccccc solid;
    margin: 20px 0;
}

/**************************************************/
/* CONTACT CONTENT */
/**************************************************/

main.contact {
    margin: 40px;
}

main.contact ul,
main.contact ol {
    font-family: Raleway, Helvetica, Arial, sans-serif;
    margin-left: 20px;
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    line-height: 24px;
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

legend {
    font-family: 'jennasue', Helvetica, Arial, sans-serif;
    font-weight: normal;
    color: #333333;
    font-size: 44px;
    margin: 10px 0 0 0;
    padding: 0;
}

.form-label {
/*    width: 200px;*/
/*    display: inline-block;*/
    display: block;
    font-size: 18px;
    font-family: Raleway, Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: #333333;
    margin: 0 0 10px 10px
}

.form-textarea {
    outline: none;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 18px;
    font-family: Raleway, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
     border: 1px #999999 solid;
    background: linear-gradient(180deg, 
        rgba(153, 153, 153, 0.20) 0%, 
        rgba(224, 224, 224, 0.30) 3%,
        rgba(255, 255, 255, 1) 100%);
}

input[type=text],
input[type=email] {
    font-size: 18px;
    border-radius: 20px;
    padding: 8px 20px;
    width: 100%;
    outline: none;
    border: 1px #999999 solid;
    background: linear-gradient(180deg, 
        rgba(153, 153, 153, 0.20) 0%, 
        rgba(224, 224, 224, 0.30) 20%,
        rgba(255, 255, 255, 1) 100%);
    box-sizing: border-box;
/*    margin: 10px;*/
    display: block;
    
}

input[type=text]:focus,
input[type=email]:focus {
    border: 2px #95997c solid;
    margin: 10px 0 28px 0;
}

input[type=text]::placeholder,
input[type=email]::placeholder {
    color: #999999;
    font-size: 16px;
    font-weight: 400;
}


input[type=text].invalid,
input[type=email].invalid {
    border: 2px red solid;
/*    background-color: #F49D9E;*/
}

input[type=text],
input[type=email] {
    margin-bottom: 30px;
}

input[type=checkbox] {
/*    margin-right: 10px;*/
    opacity: 0; 
    position: absolute; 
    left: -9999px;
}

.checkbox-label {
    font-size: 16px;
    padding-right: 20px;
    font-family: Raleway, Helvetica, Arial, sans-serif;
    color: #333333;
}

.checkbox-group {
    margin: 0 0 30px 10px;
}

.checkbox-img {
    width: 20px;
    height: 20px;
    position: relative;
    top: 4px;
    margin-right: 1px;
    fill: #45747a;
}

.hidden-field {
    display: none;
}

.form-button-row {
    padding: 20px 0;
}

.form-button-row button,
.form-button {
    padding: 10px 20px 12px 20px;
    width: 100%;
    border-radius: 40px;
    outline: none;
    border-width: 0;
    border-top: 1px rgba(255, 255, 255, 0.30) solid;
    
       background : linear-gradient(180deg, 
        rgba(153, 153, 153, 1) 0%, 
        rgba(102, 102, 102, 1) 37%, 
        rgba(75, 75, 75, 1) 82.04%, 
        rgba(51, 51, 51, 1) 100%);
    color: #cccccc;
    font-size: 16px;
}

.form-button {
    width: auto;
    margin: 0;
    padding-left: 20px;
    padding-right: 20px;
}


/**************************************************/
/* ABOUT */
/**************************************************/
main.about {
    margin: 40px;
    
}

main h1 {
    font: 400 48px 'jennasue', Helvetica, Arial, sans-serif;
    margin:  0 0 0 20px;
    padding: 0;
}

.headshot {
    background: transparent url("../img/headshot.png") no-repeat 0 0;
    width: 100px;
    height: 100px;
    background-size: 100% 100%;
    float: left;
    margin-right: 20px;
    margin-left: 20px
}



.description {
    margin: 0 50 0 50;
}

p.para {
    margin: 0 0 10px 20px;
    padding: 0;
    font-family: Raleway, Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    line-height: 28px;
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
    
}

.text-block {
    width: 94%;
}

h2.name {
    font-family: 'jennasue', Helvetica, Arial, sans-serif;
    font-weight: normal;
    color: #333333;
    font-size: 44px;
    margin: 0;
    padding: 0;
    margin-top: 20px;
/*    text-align: center;*/
}
p.title {
/*    text-align: center;*/
    font-size: 20px;
    font-family: 'existencelight';
    color: #333333;
}

.offering-list {
    margin-left: 40px;
    font-size: 18px;
    font-family: Raleway, Helvetica, Arial, sans-serif;
    color: #333333;
    font-weight: 400;
    line-height: 26px;
}

.offering-list li {
    padding: 10px;
}

/**************************************************/
/* CONFIRMATION PAGE */
/**************************************************/

.confiramation {
    color: #808080;
    font-family: Raleway, Helvetica, Arial, sans-serif;
    text-align: center;
    background-color: #ffffff;
    position: relative;
    width: 580px;
    height: 262px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: 1;
    left: 50%;
    margin-top: 50px;
    transform: translate(-50%, 0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.confirmation-top {
    padding-top: 01px;}

.confirmation-top-arrow {
    width:30px;
    height: 30px;
    
    position: absolute;
    margin-top: -10px;
    z-index: 2;
    fill: #ffffff;
    transform: translate(50%, 1);
    margin-left: -13px
}

.confiramation-button-row {
    background-color: #2c8486;
    height: 108px;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    background : linear-gradient(-90deg, 
        rgba(125, 144, 134, 1) 0%,
        rgba(255, 255, 255, 1) 100%);
}


.checkmark-icon {
    background-color: #849d92;
    height: 50px;
    width: 50px;
    border-radius: 25px;
    trasform: translate(50%, 1);
    margin: 20px auto 0 auto;;
}

.checkmark-icon > svg {
    fill: #ffffff;
    margin-top: 6px;
    width: 38px;
    height: 38px;
}







/**************************************************/
/* FOOTER */
/**************************************************/
footer {
    font: 14px raleway, Helvetica, Arial, sans-serif;
    margin-top: 60px;
    padding: 20px 80px;
    background-color: #999999;

}
footer .section-container {
    display: flex;
}

footer .section-container div {
    flex: 1;
    margin-right: 40px;
}
footer .section-container div:last-child {
    margin-right: 0;
}

footer h2 {
    border-bottom: 1px #cccccc solid;
    padding: 0 40px 10px 0;
    text-align: left;
    font-size: 40px;
    color: #cccccc;
    font-family: jennasue, Raleway, Helvectica, Arial, sans-serif;
    font-weight: normal;
}
footer div p {
    text-align: left;
    color: #ffffff;
    font-size: 16px;
    line-height: 24px;
}

.footer-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-top: -8px;
}
.footer-list li a {
    color: #ffffff;
    padding: 6px;
    display: block;
    font-size: 16px;
}
.footer-list li a:hover {
    text-decoration: underline;
}

.footer-list li a svg {
    position: relative;
    top: 8px;
    margin-right: 8px;
}

.full-frame-logo img {
    width: 95px;
    float: right;
    margin-left: 20px;
}

.social-media-link {
    text-decoration: none;
    padding: 0 20px;
}
.social-media-icon {
    width: 27px;
    height: 27px;
    fill: #ffffff;
}
.copyright {
    color: #ffffff;
    text-align: center;
    font-size: 16px;
}


/**************************************************/

/*
footer {
    font: 14px raleway, Helvetica, Arial, sans-serif;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.full-frame-logo img {
    width: 100px;
}

.social-media-link {
    text-decoration: none;
    padding: 0 20px;
}
.social-media-icon {
    width: 27px;
    height: 27px;
    fill: #666666;
}
*/

/**************************************************/
/* LIGHTBOX OVERLAY */
/**************************************************/
#lightbox-overlay {
    display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1001;
	background-color: rgba(0, 0, 0, .85);
}

/* Lightbox */
#imagelightbox {
    position: fixed;
    z-index: 9999; 
    -ms-touch-action: none;
    touch-action: none;
	box-shadow: 0 0 3em rgba(0, 0, 0, 0.99);
	cursor: pointer;
}
	
#imagelightbox-overlay {
	background-color: #000;
	background-color: rgba( 0, 0, 0, .85 );
	position: fixed;
	z-index: 9998;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: none;
}

.imagelightbox-arrow {
	width: 3.75em; /* 60 */
	height: 3.75em;
	background-color: #fff;
	background-color: rgba( 255, 255, 255, .5 );
	vertical-align: middle;
	display: none;
	position: fixed;
	z-index: 10001;
	top: 50%;
	margin-top: -3.75em; /* 60 */
	border-radius: 30px;
	border-width: 0;
}
.imagelightbox-arrow:hover,
.imagelightbox-arrow:focus	{ 
	background-color: rgba(255, 255, 255, .80);
	outline: none;
}
.imagelightbox-arrow:active {
	background-color: #fff;
	outline: none;
}

.imagelightbox-arrow-left	{ left: 2.5em; /* 40 */ }
.imagelightbox-arrow-right	{ right: 2.5em; /* 40 */ }

.imagelightbox-arrow:before {
	width: 0;
	height: 0;
	border: 1em solid transparent;
	content: '';
	display: inline-block;
	margin-bottom: -0.125em; /* 2 */
}
.imagelightbox-arrow-left:before {
	border-left: none;
	border-right-color: #000;
	margin-left: -0.313em; /* 5 */
}
.imagelightbox-arrow-right:before {
	border-right: none;
	border-left-color: #000;
	margin-right: -0.313em; /* 5 */
}

#imagelightbox-loading,
#imagelightbox-overlay,
#imagelightbox-close,
#imagelightbox-caption,
#imagelightbox-nav,
.imagelightbox-arrow {
	animation: fade-in .25s linear;
}
@keyframes fade-in {
	from	{ opacity: 0; }
	to		{ opacity: 1; }
}

/**************************************************/
/* BACK TO TOP LINK */
/**************************************************/
.top-link {
    display: inline-block;
    height: 50px;
    width: 50px;
    position: fixed;
    bottom: 40px;
    right: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: rgba(53, 53, 53, 0.8) url(../svg/icon-arrow.svg) no-repeat center 50%;
    background-size: 15px 15px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s 0s, visibility 0s .3s;
	border-radius: 25px;
    transform: rotate(180deg)
}

.top-link.top-link-is-visible,
.top-link.top-link-fade-out,
.top-link:hover {
    transition: opacity .3s 0s, visibility 0s 0s;
}

.top-link.top-link-is-visible {
    /* the button becomes visible */
    visibility: visible;
    opacity: 1;
}

.top-link.top-link-fade-out {
    /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
    opacity: .5;
}

.top-link:hover {
    background-color: #95997c;
    opacity: 1;
}



/**************************************************/
/* MEDIA QUERIES: DESKTOP-FIRST */
/**************************************************/

@media only screen and (max-width: 2048px) {
    .hero-image-container {
    height: 666px;
    }
}


/* ------------------------------------------------- */
@media only screen and (max-width: 1600px) {
/* ------------------------------------------------- */

    .logo {
        width: 300px;
    }
    
    .image-grid {
        column-count: 4;
    }
    .hero-image-container,
    .hero-image-container-internal {
        height: 334px;
    }
    
    .card {
        width: 24.2%;
    }
    .card img {
        width: 100%;
    }
}
    
/* ------------------------------------------------- */    
@media only screen and (max-width: 1200px) and (min-width: 1600px) {
/* ------------------------------------------------- */

    .image-grid {
        column-count: 3;
    }
    .text-block {
        width: 300px;
    }
    
    .cards-container {
        width: 100%;
        margin:auto;
    }
    
    .card {
        width: 24.3%;
    }
    
    .card img {
        width: 100%;
    }
    

    .global-nav_list {
        width: 80%;
    }
    .text-block {
        width: 80%;
    }
}

/* ------------------------------------------------- */
@media only screen and (max-width: 1024px) {
/* ------------------------------------------------- */
    .main-heading {
        width: 90%;
        margin-left: auto;
        margin-right:  auto;
    }
    
    .cards-container {
        width: 100%;
        margin: 0 auto;
    }
    
    .card {
        width: 48%;
    }
    
    .card img {
        width: 100%;
    }
    
    .hero-image-container-internal {
        height: 234px;
    }
    
    .logo-md {
        width: 200px;
    }
}

/* ------------------------------------------------- */    
/*@media only screen and (max-width: 812px) {*/
@media only screen and (max-width: 768px) {
/* ------------------------------------------------- */
    
    .hero-image-container,
    .hero-image-container-internal {
        height: 234px;
    }
    
    .hero-image-container-internal {
        background-position: -70px
    }
    
    main.home {
        height: auto;
    }
    .image-grid {
        column-count: 2;
    }
    
    .global-nav_list {
        width: 100vw;
        font-family: Raleway, Helvetica, Arial, sans-serif;
    }
    
    .logo {
        width: 220px;
        top: 85px;
        left: 15px;
    }
    
    .logo-md {
        min-width: 25%;
        top: 90px;
        left: 20px;
    }
    
    .global-nav_list > li > a:link,
    .global-nav_list > li > a:visited {
        padding: 24px 0 20px 0;
        position: relative;
        font-family: "Raleway", Helvetica, Arial, sans-serif;
        font-size: 16px;
        text-align: center;
        flex-wrap: wrap;
        width: 20vw;
        display: block;
        box-sizing: border-box;
        height: 70px;
    }
        
    .cards-container {
        top: 10px;
        width:100%;
        margin: auto;
    }
    
/*
    .cards {
        flex-wrap: nowrap;
    }
*/
    .card {
/*        width: 47%;*/
        flex-basis: 48.5%;
    }
    
    .card-text {
        height: 30px;
    }
    .card img {
        width: 100%;
    }
    
    .card h2 {
        text-align: center;
    }
    .card p {
        display: none;
    }
    
    .main-heading {
        display: none;
    }
}

/* Phone */
/* ------------------------------------------------- */
@media only screen and (max-width: 420px) {
/* ------------------------------------------------- */
    .image-grid {
        column-count: 1;
    }
    
    .hero-image-container {
        background-position: -100px 0;
    }
    .global-nav.fixed-nav.slide-down {
            top: 0;
            height: 70px;
        }
    
    .global-nav_list > li > a:link,
    .global-nav_list > li > a:visited {
        padding: 16px 0 10px 0;
        font-family: "Raleway", Helvetica, Arial, sans-serif;
        font-size: 16px;
        text-align: center;
        flex-wrap: wrap;
        width: 20vw;
        display: block;
        height: 70px;
        box-sizing: border-box;
    }
    
/*
    .global-nav_list > li > a:link.link-sm,
.global-nav_list > li > a:visited.link-sm {
            height: 70px;
            padding: 16px 0 10px 0;
            
        }
*/
    
    .global-nav_link--active {
        background-color: #333333;
    }
    .global-nav-icon + span {
        display: block;
        color: #ffffff;
    }
    
    .global-nav-icon-selected + span {
        display: block;
        color: #82b68c;
    }
    
    .global-nav-icon,
    .global-nav-icon-selected {
        margin: 0 auto;
    }

    .global-nav_arrow,
    .global-nav_arrow--selected {
        display: none;
    }
    
    .global-nav_list > li > .portfolio-dropdown.small-header {
    top: 69px;
}
    
    .logo {
        width: 40%;
    }
    .logo-md {
        min-width: 50%;
        height: auto;
        top: 90px;
        left: 20px;
    }
    
    .cards-container {
        margin: -10px -10px 0 0;
        width: 100%;
    }
    
    .cards {
        flex-direction: column;
    }
    .card {
        width: 100%;
    }
    .card-text {
        
    }
    
    .card h2 {
        text-align: center;
    }
    .card p {
        display: none;
    }
    
/*
    .hero-image-container {
        background-position: -100px 0;
    }
*/
    
    input[type=text],
    input[type=email],
    .form-textarea {
        width: 100%;
    }

    .checkbox-label {
        margin: 10px 0 0 0px;
        padding-bottom: 20px;
        display: block;
/*        border: 1px red solid;*/
    }
    
    .checkbox-group {
    margin-left: 10px;
}
    
    .form-label {
    margin-bottom: 10px;
}
    
    .form-button,
    .form-button-row button {
        width: 100%;
        margin: 0;
        padding-left: 20px;
        padding-right: 20px;
    }
}



