/* ==========================================================================
   Base styles
============================================================================= */
html {
	box-sizing: border-box;
}
*,
*::before,
*::after {
	box-sizing: inherit;
}
body {
	color: #666;
	font-family: Montserrat, sans-serif;
	font-weight: 400;
	line-height: 1.5em;
	background-color: rgba(138, 134, 130, 0.1);
}
a {
	color: #6ABEBE;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
h1,
h2,
h3,
p,
li,
address,
q {
	line-height: 1.5em;
}
h1,
h2,
h3 {
	margin: 0.6667em 0;
}
h1 {
	font-size: 2rem;
	font-weight: 300;
}
h2,
.big-text {
	color: #6ABEBE;
	font-family: Lato, serif;
	font-size: 1.6667rem;
	font-weight: 400;
}
h3 {
	color: #6ABEBE;
	font-family: Lato, serif;
	font-size: 1.5rem;
	font-weight: 400;
}
p,
ul,
ol {
	margin: 1em 0;
}
ul {
	list-style-type: circle;
}
p + h1,
p + h2,
p + h3 {
	margin-top: 2em;
}
h1 + p,
h2 + p,
h3 + p {
	margin-top: 0.6667em;
}
address {
	font-style: normal;
}
img {
	max-width: 100%;
}
figure {
	margin: 0;
}

/* ==========================================================================
   Helper classes
============================================================================= */
.clearfix::before,
.clearfix::after {
    content: '';
    display: table;
}
.clearfix::after {
    clear: both;
}
.sd-visible-only {
	display: block;
}
.sd-hidden,
.md-visible-only,
.ld-visible-only,
.xld-visible-only {
	display: none;
}
.hidden {
	display: none !important;
}
.bold {
	font-weight: 700;
}
.menu-button,
.symbol {
	color: #666;
	font-size: 24px;
}

.link-icon {
	display: inline-block;
}
.link-icon:hover {
	text-decoration: none;
}
.link-icon .symbol,
.link-icon span {
	vertical-align: middle;
}
.link-icon .symbol {
	margin-right: 4px;
	font-size: 16px;
}
a.link-icon .symbol {
	color: #6ABEBE;
}
a.link-icon:hover span {
	text-decoration: underline;
}
.rotate-180 {
	transform: rotate(180deg);
}

/* ==========================================================================
   Layout
============================================================================= */
.column {
	position: relative;
	padding: 0 16px;
}
.column-50 {
	position: relative;
	padding: 0 16px;
}

/* ==========================================================================
   Document header
============================================================================= */
.document-header {
	position: relative;
	padding-top: 32px;
	padding-bottom: 32px;
	text-align: center;
	background-image: url(../images/header-background.jpg);
	background-position: center center;
	background-size: cover;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}
.document-header .logo img {
	margin-bottom: 16px;
	height: auto;
	max-width: 320px;
}
.document-header .menu-panel {
	height: 0;
	transition: height 0.3s;
	overflow: hidden;
}
.document-header .menu-panel.active {
	height: 160px;
}
.document-header .menu-panel .main-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.document-header .menu-panel .main-navigation li {
	margin: 16px 0;
}
.document-header .menu-panel .main-navigation a {
	display: inline-block;
	padding: 4px 16px;
	color: #FFF;
	font-weight: 500;
	text-decoration: none;
	background-color: #8A8682;
	border-radius: 3px;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}
.document-header .menu-panel .main-navigation a:hover,
.document-header .menu-panel .main-navigation .active {
	background-color: #6ABEBE;
}

/* ==========================================================================
   Document footer
============================================================================= */
.document-footer {
	text-align: center;
	color: #FFF;
	font-size: 14px;
	background-color: #8A8682;
}
.document-footer .column {
	padding: 12px;
}
.document-footer a {
	color: #FFF;
}

/* ==========================================================================
   Document content
============================================================================= */
.document-content .centered {
	background-color: #FFF;
}
.document-content .column:nth-child(1) {
	height: 360px;
	text-align: center;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}
.document-content .column:nth-child(1) h1 {
	display: inline-block;
	position: absolute;
	width: 100%;
	margin-bottom: 0;
	bottom: 0;
	left: 0;
	color: #FFF;
	background-color: rgba(106, 190, 190, 0.87);
}
.document-content .background-grey {
	padding-top: 1px;
	padding-bottom: 1px;
	color: #FFF;
	background-color: #8A8682;
}
.document-content .background-green {
	padding-top: 1px;
	padding-bottom: 1px;
	color: #FFF;
	text-align: center;
	background-color: #6ABEBE;
}
.document-content .background-grey h2 {
	color: #FFF;
}
.document-content .background-green a,
.document-content .background-green .big-text,
.document-content .background-green .symbol {
	color: #FFF;
}
.document-content .background-green a {
	text-decoration: underline;
}
.document-content .background-green .symbol {
	margin-bottom: 32px;
	font-size: 44px;
}
.document-content .photo {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-position: center center;
	background-size: cover;
}
.document-content .bottom-navigation {
	text-align: center;
}
.document-content .bottom-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.document-content .bottom-navigation li {
	display: inline-block;
	margin: 32px 16px;
	width: 128px;
	vertical-align: top;
}
.document-content .bottom-navigation a {
	color: #8A8682;
	font-weight: 500;
}
.document-content .bottom-navigation .symbol {
	font-size: 44px;
}
.document-content .bottom-navigation span {
	display: block;
	margin-top: 16px;
}
.document-content .certified-logos {
	padding: 32px 0;
	text-align: center;
	border-top: 1px solid #666;
}
.document-content .certified-logos img {
	width: 320px;
}

/* ==========================================================================
   Specific styles
============================================================================= */
.home .document-content .column-50:nth-child(4) {
	box-sizing: content-box;
	padding-bottom: 120%;
}
.home .document-content .column-50:nth-child(5) {
	box-sizing: content-box;
	padding-bottom: 120%;
}
.home .document-content .column:nth-child(7) {
	padding-top: 0;
}
.services .document-content .column-50:nth-child(2),
.services .document-content .column-50:nth-child(7),
.services .document-content .column-50:nth-child(8),
.services .document-content .column-50:nth-child(13),
.services .document-content .column-50:nth-child(16),
.services .document-content .column-50:nth-child(17) {
	padding-bottom: 100%;
}
.services .document-content .column:nth-child(10) {
	padding-bottom: 40%;
}
.contact .document-content .column:nth-child(4) {
	padding-bottom: 40%;
}
.contact .document-content .column:nth-child(4) iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
