/* Add Roboto Font */
@font-face {
	font-family: Roboto;
	src: url('../fonts/Roboto-Regular.ttf')
}

/* Reset Margin and Padding to 0 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Set Global Font and Background Color */
body {
	font-family: Roboto;
	background-color: #FFF;
}

/* Set Width to 65% and Center */
.container {
	width: 65%;
	margin: 0 auto;
}

/* Utility */
.expand-arrow-right {
	width: 18px;
	height: 18px;
	display: inline-block;
	background-image: url('../img/arrow.png');
	background-position: center;
	background-size: contain;
}

/* Header */
header {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	width: 100%;
	height: 100px;
	background: #FFF;
	border-bottom: 1px solid #CCC;
	-webkit-transition: top 0.3s ease;
	-moz-transition: top 0.3s ease;
	transition: top 0.3s ease;
}

header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 65%;
	height: 100%;
}

header .logo {
	background-image: url('../img/logo.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	/* max-width: 256px;
	min-width: 128px; */
	width: 90px;
	height: 80px;
}

header .menu-open-button {
	display: none;
}

.header-spacer {
	height: 100px;
}

/* Navigation */
nav {
	z-index: 1;
}

nav ul {
	display: flex;
	justify-content: center;
	align-items: center;
	list-style: none;
}

nav ul li {
	margin: 0 8px;
}

nav ul li a {
	display: inline-block;
	text-decoration: none;
	font-family: Roboto;
	font-weight: bold;
	font-size: 15px;
	color: #333;
	-webkit-transition: color 0.2s ease-in;
	-moz-transition: color 0.2s ease-in;
	transition: color 0.2s ease-in;
}

nav ul li a:hover {
	color: #F08E26;
	-webkit-transition: color 0.2s ease-out;
	-moz-transition: color 0.2s ease-out;
	transition: color 0.2s ease-out;
}

nav ul li .header-phone {
	color: #F08E26;
}

nav ul li .current {
	border-bottom: 2px solid #F08E26;
}

nav ul .dropdown .dropdown-link-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
}

nav ul .dropdown .dropdown-content {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	background-color: #FFF;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

nav ul .dropdown .dropdown-content a {
	display: block;
	padding: 12px 16px;
	margin: 0px 30px;
	color: #333;
	text-decoration: none;
}

nav ul .dropdown .dropdown-content a:hover {
	color: #F08E26;
	-webkit-transition: color 0.2s ease-out;
	-moz-transition: color 0.2s ease-out;
	transition: color 0.2s ease-out;
}

nav ul .dropdown:hover .dropdown-content {
	visibility: visible;
	opacity: 1;
	-webkit-transition: visibility 0s linear;
	-moz-transition: visibility 0s linear;
	transition: visibility 0s linear;
	-webkit-transition: opacity 0.3s linear;
	-moz-transition: opacity 0.3s linear;
	transition: opacity 0.3s linear;
}

nav ul .dropdown .dropdown-content .sub-dropdown {
	position: relative;
}

nav ul .dropdown .dropdown-content .sub-dropdown .sub-dropdown-link-wrapper {
	display: flex;
	align-items: center;
}

nav ul .dropdown .dropdown-content .sub-dropdown .sub-dropdown-content {
	width: 160px;
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 0px;
	left: 100%;
	background-color: #FFF;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

nav ul .dropdown .dropdown-content .sub-dropdown:hover .sub-dropdown-content {
	visibility: visible;
	opacity: 1;
	-webkit-transition: visibility 0s linear;
	-moz-transition: visibility 0s linear;
	transition: visibility 0s linear;
	-webkit-transition: opacity 0.3s linear;
	-moz-transition: opacity 0.3s linear;
	transition: opacity 0.3s linear;
}

nav .menu-close-button {
	display: none;
	background-image: url('../img/menu-close-button.png');
	background-size: contain;
	float: right;
	width: 32px;
	height: 32px;
	margin: 16px 16px 0 0;
}

/* Main */
main {
	padding: 60px 0;
}

main section {
	font-family: Roboto;
	color: #333;
	padding: 60px 0px;
	text-align: justify;
}

main h1 {
	margin-bottom: 40px;
}

main h3,
main p {
	margin-top: 20px;
	text-align: justify;
}

main a,
main a:link,
main a:visited,
main a:hover,
main a:active {
	text-decoration: underline;
	color: #F08E26;
}

main ul {
	margin: 16px 0;
	list-style-position: inside;
}

main ul li {
	font-family: Roboto;
	text-align: left;
}

/* Footer */
footer {
	background: #333;
	color: #FFF;
	padding: 50px 0px;
	font-family: Roboto;
}

footer .container {
	display: flex;
	flex-direction: row;
}

footer h3 {
	margin-bottom: 20px;
	font-size: 22px;
}

footer .nav-menu {
	margin-right: 80px;
}

footer .nav-menu h3 {
	margin-bottom: 20px;
	font-size: 22px;
}

footer .nav-menu ul {
	list-style: none;
}

footer .nav-menu ul li {
	margin-top: 40px;
}

footer .nav-menu ul li a {
	color: #FFF;
	text-decoration: none;
	-webkit-transition: color 0.2s ease-in;
	-moz-transition: color 0.2s ease-in;
	transition: color 0.2s ease-in;
}

footer .nav-menu ul li a:hover {
	color: #F08E26;
	text-decoration: none;
	-webkit-transition: color 0.2s ease-out;
	-moz-transition: color 0.2s ease-out;
	transition: color 0.2s ease-out;
}

footer .contact-info {
	margin-left: auto;
}

footer .contact-info h3 {
	margin-bottom: 20px;
	font-size: 22px;
}

footer .contact-info p {
	margin-bottom: 16px;
}

footer .contact-info p a {
	color: #FFF;
	text-decoration: none;
}

.sub-footer {
	height: 150px;
	background-color: #FFF;
	display: flex;
	justify-content: center;
	align-items: center;
}

.sub-footer p {
	color: #333;
	text-align: center;
}

/* Home */
.home p {
	margin: 20px 0;
	color: #333;
}

.home h2 {
	margin: 80px 0 60px 0;
	color: #F08E26;
	border-bottom: 2px solid #F08E26;
}

.home h3 {
	margin-top: 80px;
	color: #333;
}

.home-header {
	text-align: center;
	color: #333;
}

.highlight {
	font-weight: bold;
}

/* Carousel */
.carousel-wrapper {
	width: 100%;
	height: 400px;
	margin: 60px auto;
	overflow: hidden;
	z-index: -1;
}

.carousel-wrapper .carousel {
	position: relative;
	width: 100%;
	height: 100%;
	display: block;
	white-space: nowrap;
	font-size: 0;
	z-index: -1;
}

.carousel-wrapper .carousel .carousel-image {
	display: inline-block;
	width: 102%;
	height: 100%;
	position: relative;
	left: -2px;
	background-size: cover;
	background-position: center;
	z-index: -1;
}

.carousel-wrapper .carousel .carousel-image-1 {
	background-image: url('../img/maritime-showcase2.jpg');
}

.carousel-wrapper .carousel .carousel-image-2 {
	background-image: url('../img/mobile-showcase2.jpg');
}

.carousel-wrapper .carousel .carousel-image-3 {
	background-image: url('../img/it-showcase2.jpg');
}

/* Main Showcase */
.main-showcase {
	background-image: url('../img/showcase2.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 500px;
	z-index: -1;
}

/* What We Do Coverage */
.coverage {
	text-decoration: underline;
	color: #F08E26;
	cursor: pointer;
}

.coverage-popup {
	visibility: hidden;
	opacity: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.3);
	-webkit-transition: visibility 0s linear;
	-moz-transition: visibility 0s linear;
	transition: visibility 0s linear;
	-webkit-transition: opacity 0.3s linear;
	-moz-transition: opacity 0.3s linear;
	transition: opacity 0.3s linear;
	z-index: 2;
}

.coverage-popup .coverage-popup-content {
	display: inline-block;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);
}

.coverage-popup .coverage-popup-content .coverage-popup-image {
	display: block;
}

.maritime li a {
	text-decoration: underline;
	color: #F08E26;
	cursor: pointer;
}

/* What We Do Showcase Images */
.maritime-showcase {
	position: relative;
	background-image: url('../img/maritime-showcase.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	width: 100%;
	height: 400px;
	margin: 40px 0;
	z-index: -1;
}

.mobile-showcase {
	position: relative;
	background-image: url('../img/mobile-showcase.jpg');
	background-size: cover;
	background-position: center cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	width: 100%;
	height: 400px;
	margin: 40px 0;
	z-index: -1;
}

.it-showcase {
	position: relative;
	background-image: url('../img/it-showcase.jpg');
	background-size: cover;
	background-position: center cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	width: 100%;
	height: 400px;
	margin: 40px 0;
	z-index: -1;
}

/* Contact Us Popup */
.popup-wrapper {
	width: 100%;
	margin: 60px auto 0 auto;
	text-align: center;
}

.popup {
	display: inline-block;
	border-radius: 5px;
	padding: 16px;
	background-color: #F08E26;
}

.popup .popup-text {
	color: #FFF;
	font-family: Roboto;
}

.popup--success {
	background-color: #F08E26;
}

.popup--failure {
	background-color: #333;
}

/* Contact Form */
.contact-form {
	display: block;
	width: fit-content;
	margin: 60px 0;
	font-family: Roboto;
	font-weight: bold;
	font-size: 14px;
}

.contact-form .contact-form-content {
	font-family: Roboto;
	color: #333;
	width: 100%;
	margin: 22px 0;
}

.contact-form .contact-form-content label {
	display: inline-block;
	width: 100px;
	margin: 6px 0px;
	vertical-align: top;
}

.contact-form .contact-form-content input[type=text],
.contact-form .contact-form-content input[type=email],
.contact-form .contact-form-content select,
.contact-form .contact-form-content textarea {
	font-family: Roboto;
	width: 350px;
	border: 1px solid #CCC;
	border-radius: 6px;
	padding: 6px;
}

.contact-form .contact-form-content select {
	width: 364px;
}

.g-recaptcha {
	display: inline-block;
}

.contact-form .contact-form-content input[type=submit] {
	background-color: #F08E26;
	font-family: Roboto;
	border: none;
	border-radius: 2px;
	color: #FFF;
	padding: 12px 24px;
	text-align: center;
	text-decoration: none;
	display: block;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
}

/* News Entry */
.news-entry {
	font-family: Roboto;
	margin: 60px 0px;
	color: #333;
	text-align: justify;
}

.news-entry .news-entry-date {
	font-size: 12px;
	color: #F08E26;
	font-weight: bold;
}

.news-entry p {
	margin: 20px 0px;
}

/* Media Queries */
@media only screen and (max-width: 1440px) {
	.container {
		width: 90%;
	}

	header .container {
		width: 90%;
	}

	header .menu-open-button {
		display: block;
		float: right;
		width: 48px;
		height: 48px;
		background-image: url('../img/menu-open-button2.png');
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat;
		cursor: pointer;
	}

	nav {
		display: none;
		float: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		background-color: #FFF;
		border-bottom: 1px solid #CCC;
		z-index: 1;
	}

	nav ul {
		flex-direction: column;
		align-items: flex-start;
	}

	nav ul li {
		padding: 18px 16px;
	}

	nav .dropdown .dropdown-content {
		display: none;
	}

	nav .dropdown .expand-arrow-right {
		display: none;
	}

	nav .menu-close-button {
		display: block;
		cursor: pointer;
	}

	.maritime-showcase {
		background-image: url('../img/maritime-showcase2.jpg');
		background-attachment: scroll;
		background-size: contain 400px;
		background-position: -180px center;
	}

	.mobile-showcase {
		background-image: url('../img/mobile-showcase2.jpg');
		background-attachment: scroll;
		background-size: contain 400px;
		background-position: center center;
	}

	.it-showcase {
		background-image: url('../img/it-showcase2.jpg');
		background-attachment: scroll;
		background-size: contain 400px;
		background-position: -320px center;
	}

	.carousel-wrapper .carousel .carousel-image-1 {
		background-image: url('../img/maritime-showcase2.jpg');
		background-position: -180px center;
	}

	.carousel-wrapper .carousel .carousel-image-2 {
		background-image: url('../img/mobile-showcase2.jpg');
		background-position: center center;
	}

	.carousel-wrapper .carousel .carousel-image-3 {
		background-image: url('../img/it-showcase2.jpg');
		background-position: -320px center;
	}
}


@media only screen and (max-width: 992px) {
	footer {
		padding: 40px 0;
	}

	footer .container {
		flex-direction: column;
	}

	footer .nav-menu {
		text-align: center;
		margin: 40px 0;
	}

	footer .contact-info {
		text-align: center;
		margin: 40px 0;
	}
}

@media only screen and (max-width: 768px) {
	.coverage-popup .coverage-popup-content {
		width: 90%;
		height: auto;
	}

	.coverage-popup .coverage-popup-content .coverage-popup-image {
		width: 100%;
		height: auto;
	}
}

@media only screen and (max-width: 600px) {
	.popup-wrapper {
		width: 90%;
	}

	.contact-form-title {
		text-align: center;
	}

	.contact-form {
		display: block;
		width: 294px;
		text-align: left;
		margin: 0 auto;
	}

	.contact-form .contact-form-content label {
		display: block;
	}

	.contact-form .contact-form-content input[type=text],
	.contact-form .contact-form-content input[type=email],
	.contact-form .contact-form-content select,
	.contact-form .contact-form-content textarea {
		width: 280px;
	}

	.contact-form .contact-form-content select {
		width: 294px;
	}

	.g-recaptcha {
		display: flex;
		justify-content: center;
	}

	.contact-form .contact-form-content input[type=submit] {
		margin: 0 auto;
	}
}