/*******************************************************************
  HTML, BODY, CONTAINER
*******************************************************************/

html {
	height: 100%;
	background: #fff;
}

body {
	position: relative;
	min-height: 100% !important;
	height: auto !important;
	font: 300 20px/26px Raleway, Myriad Pro, Arial, sans-serif;
	color: #4b4c4d;
}

* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.stack {
	margin: 0 auto;
}

/*******************************************************************
  FULLSCREEN BACKGROUND
*******************************************************************/

#backstretch {
	z-index: 10;
	position: relative;
	height: 100%;
	width: 100%;
}

/*******************************************************************
  HEADINGS
*******************************************************************/

h1,h2,h3,h4,h5,h6 {
	position: relative;
	margin: 0 0 10px 0;
	font-family:  Libre Baskerville, Georgia, serif;
	line-height: normal;
	font-weight: 300;
	color: #1f3f66;

}

h1 {
	position: relative;
	z-index: 80;
	font-size: 32px;
	font-weight: 600;
	margin: 0 0  25px 0;
	color: #1f3f66;
	text-transform: uppercase;
	text-align: center;
}

h1 strong {
	font-weight: 200;
	color: #1f3f66;
}

h2 {
	margin: 30px 0 10px;
	font-size: 32px;
	font-weight: 300;
	text-transform: uppercase;
}

h3 {
	font-size: 28px;
}

h1 + h2 {
	margin-top: 20px;
}

/* Reduces margin for titles adjacent to lists or paragraphs*/
h2 + p, h3 + p, h4 + p, h3 + ul {
	margin-top: 0;
}

/*******************************************************************
	ACCESSIBILITY: SKIP-NAV
*******************************************************************/

.skip-nav {
	position: relative;
}

.skip-nav a:link,
.skip-nav a:visited {
	background: #FFF;
	color: #000;
	font-size: 20px;
	font-weight: normal;
	overflow: hidden;
	padding: 10px;
	position: absolute; left: -9999px;
	text-decoration: none;
	text-transform: uppercase;
	width: 1px; height: 1px;
}	

.skip-nav a:focus {
	left: 0;
	width: auto;
	height: auto;
	overflow: visible;
	text-decoration: underline;
	z-index: 9999;
}

/*******************************************************************
	ICONS
*******************************************************************/

@font-face {
	font-family: 'Icons';
	src: url('fonts/fontawesome-webfont.eot?v=4.6.3');
	src: url('fonts/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'), url('fonts/fontawesome-webfont.woff?v=4.6.3') format('woff'), url('fonts/fontawesome-webfont.ttf?v=4.6.3') format('truetype'), url('fonts/fontawesome-webfont.svg#fontawesomeregular?v=4.6.3') format('svg');
	font-weight: normal;
	font-style: normal;
}

.icon {
	font-style: normal;
	font-family: 'Icons';
}

/*******************************************************************
  TEXT & OTHER GENERAL PAGE ELEMENTS
*******************************************************************/

.required {color: #ff0000}

p {margin: 15px 0}

hr {
	clear: both;
	background: rgba(0,0,0,0.2);
	border: none;
	height: 1px;
	margin: 20px 0;
}

.photoborder {
	clear: right;
	position: relative;
	float: right;
	max-width: 45%;
	margin: 0px 0 20px 20px;
	line-height: 0;
}

.photoborder .title {
	position: absolute;
	z-index: 1;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 15px;
	margin: 0;
	font: bold 18px Lato, Myriad Pro, sans-serif;
	background: rgba(0,0,0,0.5);
	color: #fff;
	text-transform: uppercase;
}

.photoborder.video {
	min-width:50%;
}

.photoborder.left {
	float: left;
	margin: 0 20px 20px 0;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
}

.photoborder.noshadow {
	box-shadow: none;
}

.photoborder.imgshadow img {
	box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
}

.photoborder h2 {
	font-size: 18px;
	margin: 0;
	text-align: center;
}

blockquote {
	margin: 0;
	border-top: 1px solid #1f3f66;
	border-bottom: 1px solid #1f3f66;
	letter-spacing: 1px;
	padding: 10px;
	text-align: left;
	font-size: 22px;
	line-height: 30px;
}

label {
	font-weight: normal;
}

dt {
	font-weight: bold;
}

ul {
	padding-left: 20px;
}

ul ul {
	padding-left: 40px;
}

img {
	max-width: 100%;
}

/*******************************************************************
  HOMEPAGE VIDEO
*******************************************************************/

#video {
    position: absolute;
    z-index: 50;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.full-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.loader-wrapper {
	overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
}

.loaded .loader-wrapper {
	visibility: hidden;
	-webkit-transform: translateY(-100%);
	-ms-transform: translateY(-100%);
	transform: translateY(-100%);
	-webkit-transition: all 0.3s 0.6s ease-out;
	transition: all 0.3s 0.6s ease-out;
}

.loader-wrapper .loader-section {
    position: absolute;
    top: 0;
    width: 51%;
    height: 100%;
    background: #222222;
    z-index: 900;
}

.loader-wrapper .loader-section.section-left {
    left: 0;
}

.loader-wrapper .loader-section.section-right {
    right: 0;
}

.loaded .loader-wrapper .loader-section.section-left {
    -webkit-transform: translateX(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(-100%);  /* IE 9 */
    transform: translateX(-100%);  /* Firefox 16+, IE 10+, Opera */
}

.loaded .loader-wrapper .loader-section.section-right {
    -webkit-transform: translateX(100%);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(100%);  /* IE 9 */
    transform: translateX(100%);  /* Firefox 16+, IE 10+, Opera */
}

.loaded .loader-wrapper .loader-section.section-right,
.loaded .loader-wrapper .loader-section.section-left {
    -webkit-transition: all 0.3s 0.3s ease-out;
            transition: all 0.3s 0.3s ease-out;
}

.loader {
    display: block;
    z-index: 10000;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #03394a;
    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

.loaded .loader {
    opacity: 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #fff;
    -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
	animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

.loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #ccc;
    -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
      animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}

@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}

.video-button:link,
.video-button:visited {
		position: absolute;
	z-index: 102;
	left: 50%;
	transform: translateX(-50%);
	display: inline-block;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.video-button:hover {

}

.video-button.fullscreen {
	bottom: 15%;
	padding: 30px;
	border: 2px solid #fff;
	background: rgba(0,0,0,0.5);
	box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
	font-size: 22px;

	display: none; /* hiding this because it's unnecessary - AW 2025-08-23 */
}
.video-button.fullscreen:hover {
	background: #fff;
	color: #03394a;
}

.video-button.control {
	/* display: none; */
	top: 50%;
	transform: translate(-50%, -50%);
	border-radius: 100%;
	font-size: 72px;

	text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
}

.video-button.control.hide {
	visibility: hidden;
	opacity: 0;
}

.video-button.control:before {
	content: '\f04b';
	font-family: Icons;
}

.video-button.control:hover {
	color: #03394a;
	text-shadow: 1px 1px 0px #fff, -1px 1px 0px #fff, 1px -1px 0px #fff, -1px -1px 0px #fff;
}

/* This used to work for the parent element of button divs */
/* But it does not work with newer browsers, the below doesn't hide the play button parent div */

*::-webkit-media-controls-panel {
  display: none!important;
  -webkit-appearance: none;
}

/* Old shadow dom for play button */

*::-webkit-media-controls-play-button {
  display: none!important;
  -webkit-appearance: none;
}

/* New shadow dom for play button */

/* This one works! */

*::-webkit-media-controls-start-playback-button {
  display: none!important;
  -webkit-appearance: none;
}

/*******************************************************************
  GLOBAL LINKS
*******************************************************************/

a:link, a:visited {
	color: #1463c4;
	text-decoration: none;
}

#content a:hover,
#content a:focus {
	background: #1f3f66;
	color: #FFF;
	outline: 2px solid #FFF;
	text-decoration: none;
}

/* buttons */
a:link.button,
a:visited.button,
strong em a:link,
strong em a:visited,
em strong a:link,
em strong a:visited {
	display: inline-block;
	margin-bottom: 10px;
	padding: 10px 30px;
	border: 1px solid #1f3f66;
	background: transparent;
	font: 18px/22px Libre Baskerville, Georgia, serif;
	color: #1f3f66;
	text-transform: lowercase;
	text-decoration: none;
	-webkit-transition: all 0.15s;
	-o-transition: all 0.15s;
	transition: all 0.15s;
}

a.button:hover,
a.button:focus,
strong em a:hover,
strong em a:focus,
em strong a:hover,
em strong a:focus {
	background: #1f3f66;
	color: #fff;
}

/*******************************************************************
  HEADER
*******************************************************************/

header {
	position: fixed;
	z-index: 1000;
	width: 22%;
	height: 100%;
	padding: 55px 65px;
	background: #ededed;
	font: 17px Libre Baskerville, Georgia, serif;
	color: #1f3f66;
	box-shadow: 0 10px 15px rgba(0,0,0,0.5);
}

header .logo {
	display: block;
	max-width: 100%;
	margin: 0 auto 20px auto;
	padding: 3px 3px 0 3px;
	background-size: contain;
}

header .logo:focus {
	background: none;
	outline: 2px solid #1F3F65;
}

header .logo img {
	width: 100%;
}

header a:link,
header a:visited {
	text-decoration: none;
}

header a:hover {
	text-decoration: underline;
}

/*******************************************************************
	NAVIGATION
*******************************************************************/

header #navigation {
	position: relative;
	margin: 0 0 80px 0;
	padding: 0;
}

header #navigation li {
	position: relative;
	display: block;
}

header #navigation li:hover ul,
header #navigation li:focus ul,
header #navigation li.is-focused ul,
header #navigation li:target ul {
	display: block;
	opacity: 1;
	visibility: visible;
}

header #navigation ul {
	position: absolute;
	left: 100%;
	top: 0;
	visibility: hidden;
	opacity: 0;
	min-width: 100%;
	margin: 0;
	padding: 0;
	background: #1f3f66;
	-webkit-transition: all 0.1s;
	-o-transition: all 0.1s;
	transition: all 0.1s;
	text-align: center;
	white-space:  nowrap;
}

header #navigation ul li {
	display: block;
	padding: 0;
}

header #navigation a:link,
header #navigation a:visited {
	position: relative;
	display: block;
	padding: 0px 15px;
	font: 400 20px/35px Libre Baskerville, Georgia, serif;
	color: #1f3f66;
	text-decoration: none;
	text-transform: lowercase;
	letter-spacing: 0.02em;
	-webkit-transition: all 0.1s;
	-o-transition: all 0.1s;
	transition: all 0.1s;
}

header #navigation a:hover,
header #navigation > li:hover > a {
	color: #fff;
	background: #1f3f66;
}

header #navigation > li > a:hover,
header #navigation > li:hover > a:link, 
header #navigation > li:hover > a:visited,
header #navigation li.is-focused > a:visited,
header #navigation li.is-focused > a:link,
header #navigation > li > a:focus {
	background: #1f3f66;
	color: #FFF;
	text-shadow: none;
}

header #navigation ul a:visited,
header #navigation ul a:link {
	background: none;
	color: #fff;
}

header #navigation ul a:hover {
	color: #1f3f66;
	background: #fff;
}

/*******************************************************************
	MOBILE NAVIGATION
*******************************************************************/

#mobile-navigation {
	z-index: 10000000000;
	position: fixed;
	display: none;
	top: 0;
	left: 0;
	width: 100%;
	font-family: Lato, Myriad Pro, Arial, sans-serif;
	text-transform: uppercase;
}

#mobile-navigation > ul {
	overflow: hidden;
	position: absolute;
	top: 34px;
	right: 10px;
	height: 0;
	margin: 0;
}

/* Mobile menu display class, expands to full height*/
#mobile-navigation .show {
	height:auto;
}

/* Menu button*/
#mobile-navigation .menu {
	position: absolute;
	top: 0px;
	right: 10px;
	padding: 10px 20px;
	background: #636466;
	font-size: 18px;
	line-height: 14px;
	color: #fff;
	cursor: pointer;
}

#mobile-navigation .menu:hover {
	text-decoration: none;
	background: #1f3f66;
	color: #fff;
}

#mobile-navigation  li {
	position: relative;
	min-width: 240px;
	padding: 0;
	margin: 0;
	background: #636466;
	list-style-type: none; 
	white-space: nowrap;
}

#mobile-navigation li a {
	display: block;
	border-bottom: 1px solid rgba(255,255,255,0.3);
	padding: 7px 10px 7px 20px;
	text-decoration: none;
	color: #fff;
}

#mobile-navigation a:hover {
	background: #1f3f66;
	color: #fff;
	text-decoration: none;
}

/* Submenus*/
#mobile-navigation li .icon {		/* This icon displays to the right of a menu if it a dropdown*/
	content: '/u+229E';
	overflow: hidden;
	display: block;
	position: absolute;
	right: 0px;
	top: 0;
	width: 40px;
	height: 35px;
	padding: 6px 30px 7px 10px;
	font-family: "Icons";
	font-size: 1.5em;
	line-height:1;
	text-align: center;
}

#mobile-navigation li .icon:hover {
	color: rgba(255,255,255,0.7);
}

#mobile-navigation ul ul {
	display: block;
	height: 0;
	margin-left: 0;
	padding-left: 0;
	background: #2d2a1d;
}

#mobile-navigation li li a {
	padding-left: 40px;
	background: rgba(0,0,0,0.2);
	color: #fff;
}

/*******************************************************************
	CONTENT
*******************************************************************/

.container {
	padding-left: 22%;
}

#content {
	background: #fff;
	padding: 50px 7%;
}

/*******************************************************************
	HOMEPAGE - CONTENT
*******************************************************************/

.homepage #content {
	padding: 50px 15%;
	background: #1f3f66;
	color: #fff;
	text-align: center;
}

.homepage #content h1,
.homepage .services h2,
.email-signup h3 {
	position: relative;
	color: #fff;
	display: table;
	margin: 0 auto 15px auto;
	padding-bottom: 15px;
	text-align: center;
}

.homepage .services  h2 {
	color: #1f3f66;
	margin: 0 0 15px 0;
}

.csstransforms .homepage #content h1:after,
.csstransforms .homepage .services h2:after,
.email-signup h3:after  {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 90%;
	height: 1px;
	background: #FFF;
	transform: translateX(-50%);
}

.csstransforms .homepage .services h2:after  {
	background: #1f3f66;
	left: 0;
	transform: none;
}

.homepage a:link.button,
.homepage a:visited.button {
	border-color: #fff;
	color: #fff;
}

.homepage a:hover.button,
.homepage a:focus.button {
	background: #fff;
	color: #1f3f66;
}

.homepage .services  {
	position: relative;
}

.homepage .services .stack {

	width: 50%;
	background: #fff;
	padding: 50px;
	margin: 0 0 0 auto;	
}

.homepage .development.services .stack {
	margin: 0 auto 0 0;
}

.services .stack a:link,
.services .stack a:visited {
	text-transform: uppercase;
}

.homepage .services .photo {
	position: absolute;
	left: 0;
	top: 0;
	width: 50%;
	height: 100%;
}

.homepage .development.services .photo {
	left: auto;
	right: 0;
}

.homepage .photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}


/*******************************************************************
	HOMEPAGE - MASTHEAD
*******************************************************************/

#masthead {
	position: relative;
	height: 850px;
	overflow: hidden;
}

.homepage #masthead h2 {
	position: absolute;
	z-index: 100;
	left: 0;
	top: 33%;
	width: 100%;
	padding: 0 50px;
	font: bold 60px Libre Baskerville, Gerogia, serif;
	color: #fff;
	text-align: center;
	text-transform: none;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
}

/*******************************************************************
    SLICK
*******************************************************************/

.slick-gallery {    
    position: relative;
    height: 100%;
    width: 100%;
}

.slick-gallery .slick-track,
.slick-gallery .slick-list,
.slick-gallery .slick-slide,
.slick-gallery .slick-slider {
    height: 100%;
}

.fullpage-wrapper .slick-gallery .slick-track {
    width: 100% !important;
}
.slick-gallery .slide img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.slick-gallery .slick-arrow {
    overflow: hidden;
    position: absolute;
    z-index: 5;
    top: 50%;

    width: 48px;
    height: 48px;
    color: #fff;
    background: transparent;
    border: none;
    padding: 0;
    font-size: 48px;
    line-height: 48px;
    font-weight: normal;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.5;
}
.slick-gallery .slick-arrow:hover,
.slick-gallery .slick-arrow:focus {
    opacity: 1;
    text-decoration: none;
}
.slick-gallery .slick-arrow.slick-prev {
    left: 10px;
}

.slick-gallery .slick-arrow.slick-prev:before {
    content: '\f190';
    font-family: Icons;
}

.slick-gallery .slick-arrow.slick-next {
    right: 10px;
}
.slick-gallery .slick-arrow.slick-next:before {
    content: '\f18e';
    font-family: Icons;
}
.slick-gallery .slick-dots {
    position: absolute;
    bottom: 50px;
    margin: 0;
    padding: 0;
    width: 100%;
    z-index: 5;
    text-align: center;
}

.slick-gallery .slick-dots li {
    display: inline-block;
    list-style-type: none;
    width: 20px;
    height: 20px;
    margin: 0 5px;
}

.slick-gallery .slick-dots li button {
    display: inline-block;
    overflow: hidden;
    background: transparent;
    border: 3px solid #fff;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    text-indent: -9999px;
}
.slick-gallery .slick-dots li button:focus {
    background: rgba(255,255,255,0.5);
}
.slick-gallery .slick-dots li.slick-active button {
    background: #fff;
}

.slick-gallery .slick-dots li button::before {
    display: none;
}

/*******************************************************************
	MASTHEAD
*******************************************************************/

/* #masthead {
	position: relative;
	width: 100%;
	height: 500px;
	margin-top: 90px;
	color: #fff;
}

#masthead .slick-dots {
	bottom: 20px;
	left: 0;
}

#masthead .slick-dots li {
	width: 22px;
	height: 22px;
}

#masthead .slick-dots li button {
	background: rgba(255,255,255,0.6);
	width: 100%;
	height: 100%;
	border-radius: 100%;
}

#masthead .slick-dots li.slick-active button {
	background: #fff;
}

#masthead .slick-dots li button::before {
	display: none;
} */

/*******************************************************************
	HOMEPAGE LOGOS
*******************************************************************/

.homepage .logos {
	background: #1f3f66;
	padding: 50px;
}

.homepage .logos .logo {
	display: inline-block;
	margin: 10px 35px;
	vertical-align: middle;
}

.homepage .logos .logo-list {
	display: inline-block;
	width: 60%;
	vertical-align: middle;
	text-align: center;
	margin: 0 auto;
}

.homepage .logos .logo-list:focus {
	outline: 2px solid #FFF;
}

.homepage .logos h3 {
	display: inline-table;
	margin-right: 5%;
	font-style: italic;
	font-size: 22px;
	text-align: center;
	color: #fff;
	width: 30%;
	vertical-align: middle;
}

/*******************************************************************
	EMAIL
*******************************************************************/

.email-signup {
	padding: 50px;
	background: url(../images/cubes.jpg);
	color: #fff;
	text-align: center;
}

.email-signup p {
	display: inline-block;
	margin: 0;
	vertical-align: middle;
}

.email-signup-signup-form {
	margin: 30px auto 0 auto;
	text-align: center;
}

.email-signup h3 {
	font-size: 32px;
	font-style: italic;
}

.email-signup input {
	vertical-align: middle;
	padding: 10px 5px;
	width: 20%;
	margin: 10px 0.5%;
	border: 1px solid #fff;
	background: transparent;
	color: #fff;
	font: 18px Libre Baskerville, Georgia, serif;
	text-transform: lowercase;
}

.email-signup input:focus {
	background: #4D5054;
	outline: 2px solid #FFF;
}

/*******************************************************************
  FOOTER
*******************************************************************/

footer.section {
	overflow: hidden;
	z-index: 100;
	position: relative;
	width: 100%;
	padding: 25px 15px;
	background: #fff;
	font: 14px/18px Raleway, Myriad Pro, Arial, sans-serif;
	text-align: center;
}

footer .stack {
	position: relative;
}

footer h4 {
	color: #848484;
	margin: 0 0 11px;
	font: 400 22px/24px Raleway, Myriad Pro, Arial, sans-serif;
	text-transform: uppercase;
}

footer p {
	font-size: 16px;
	margin: 11px 0;
}

footer a:link,
footer a:visited {
	font-weight: normal;
	color: #1F3F65;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

footer a:focus {
	background: #1F3F65;
	color: #FFF;
	outline: 2px solid #FFF;
}

/*******************************************************************
	SOCIAL
*******************************************************************/

.social {
	display: table;
	position: relative;
	right: 0;
	margin: 0;
	padding: 0;
	text-align: center;
}

.social li:first-child {
	margin-left: 0;
}

.social li {
	display: inline-block;
	list-style-type: none;
	margin-right: 8px;
	margin-bottom: 5px;
	vertical-align: middle;
}

.social li:last-child {
	margin-left: 0;
}

.social a:link, .social a:visited {
	display: inline-block;
	width: 32px;
	height: 32px;
	border-radius: 100%;
	background: #1f3f66;
	font: 18px/32px Icons;
	color: #fff;	
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	-webkit-transition: all 0.1s;
	-o-transition: all 0.1s;
	transition: all 0.1s;
}

.social a:hover,
.social a:focus {
	background: #fff;
	color: #1f3f66;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	box-shadow: 1px 1px 1px rgba(0,0,0,0.25);
}


.social .facebook a:before { content: "\f09a";  padding-right: 1px; padding-top: 2px; }
.social .twitter a:before { content: "\f099"; }
.social .youtube a:before { content: "\f167"; }
.social .googleplus a:before { content: "\f0d5";}
.social .pinterest a:before { content: "\f0d2"; }
.social .instagram a:before { content: "\f16d"; }
.social .tripadvisor a:before { content: "\f262"; }
.social .linkedin a:before { content: "\f0e1"; }
.social .phone a:before { content: "\f10b"; }
.social .mail a:before { content: "\f0e0"; }

.social a:focus {
	outline: none;
}

/*******************************************************************
	INSTAGRAM
*******************************************************************/

.instagram-feed {
	font-size: 0;
	line-height: 0;
}
.instagram-feed > a{
	display: block;
	padding: 0;
}

.instagram-feed .item {
	width: 20%;
	height: 250px;
	display: inline-block;
}

.instagram-feed img {
	display: inline-block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: none;
	max-height: 255px;
    /*min-height: 315px;*/
}

/*******************************************************************
  MEDIA QUERIES
*******************************************************************/

@media handheld, only screen and (max-width: 1400px) {
	.section .photos {
		display: none;
	}

	header {
		width: 25%;
	}

	header .phone {
		text-align: center;
	}

	.container {
		padding-left: 25%;
	}
}

@media handheld, only screen and (max-width: 1350px) {
	.social li {
		margin-right: 4px;
	}

	header .phone span {
		display: block;
	}
}

@media handheld, only screen and (max-width: 1250px), screen and (max-height: 700px) {
	#masthead {
		height: 500px;
	}
	
	header #navigation {
		margin-bottom: 20px;
	}

	header #navigation a:link,
	header #navigation a:visited {
		font-size: 18px;
	}

	header .phone  {
		text-align: center;
	}
	header .phone span {
		display: none;
	}

	.social{
		text-align: center;
		margin-right: -10px;
	}

	.homepage .logos .logo-list {
		width: auto;
	}

	.homepage .logos h3 {
		display: none;
	}

	.instagram-feed .item:nth-child(5) {
		display: none;
	}

	.instagram-feed .item {
		width: 25%;
	}
}

@media handheld, only screen and (max-width: 1024px) {
	header {
		position: relative;
		width: auto;
		padding: 10px;
		text-align: center;
	}

	header .logo {
		width: 195px;
		height: 120px;
		margin: 0 auto;
	}

	.container {
	padding-left: 0;
	}

	header #navigation {
		display: none;
	}

	#mobile-navigation {
		display: block;
	}

	.social {
		position: absolute;
		bottom: 10px;
		right: 10px;
	}

	header .phone {
		position: absolute;
		top: 40px;
		right: 10px;
	}

	header .phone span {
		display: inline;
	}
}

@media handheld, only screen and (max-width: 768px) {
	header {
		padding-top: 40px;
	}
	
	.email-signup p {
		display: none;
	}

	.homepage .services .photo {
		display: none;
	}

	.homepage .services .stack {
		width: 100%;
		text-align: center;
	}

	.homepage .services.development .stack {
		background: #ededed;
	}

	.homepage .services  h2 {
		margin: 0 auto;
	}

	.instagram-feed .item:nth-child(4) {
		display: none;
	}

	.instagram-feed .item {
		width: 33.3333%;		
	}
}

@media handheld, only screen and (max-width: 670px) {
	.social {
		display: block;
		bottom: auto;
		position: relative;
		right: auto;
		margin: 10px 0	0;
		left: auto;
		text-align: center;
	}

	header .phone {
		position: relative;
		top: auto;
		right: auto;
		margin: 0;
	}
}

@media handheld, only screen and (max-width: 540px) {
	.instagram-feed .item:nth-child(3) {
		display: none;
	}

	.instagram-feed .item {
		width: 50%;		
	}

	.homepage #masthead h2 {
		font-size: 42px;
	}
}

@media handheld, only screen and (max-width: 400px) {
	.instagram-feed .item:nth-child(2) {
		display: none;
	}

	.instagram-feed .item {
		width: 100%;		
	}
}