html {
	min-height: 100%;
	position: relative;
}
a { color: #2f2faf; }
a, a:hover {
	text-decoration: none;
	border-bottom: 1px dotted #fff;
}
a:hover { color: #ff4060; }

*:focus {outline: none;}

.padding20 {padding: 20px;}
.rounded5 {border-radius: 5px;}

.subsideBackground {background: #eee;}

footer a, footer a:hover {
	color: black;
	text-decoration: none;
	border-style: 1px dotted #faa;
}
footer a:hover {
	color: #ff4060;
	text-decoration: none;
	border-style: 1px dotted #faa;
}
footer {
	bottom: 0;
	width: 100%;
	position: absolute;
	border-style: 1px solid;
}

span.editable, .note-editor {
	border-radius: 3px !important;
	border: 1px dotted #c7c1ed !important;
}

/* Custom */

.navbar-brand {
	font-family: 'open sans', sans-serif;
	font-size: 28px;

	.brand-subline {
		font-family: 'enriqueta', serif;
		color: #848079;
		display: block;
		font-size: 14px;
		margin-top: 6px;
	}
}

.navbar-default {
	border: 0;
	background: #fff;
}

@media (min-width: 768px) {
	.navbar-nav {
		float: right;
		margin-top: 24px;

		.nav-item {
			border-right: 1px solid #222;

			&:last-child {
				border-right: 0;
			}
		}
	}

	.navbar-default {
		padding-bottom: 30px;
	}

	.navbar-brand {
		margin-top: 24px;
	}
}

.nav-item {
	font-family: 'enriqueta', serif;

	&&.active {
		> a, >a:hover {
			background: transparent;
			color: rgb(69, 186, 1);
		}
	}

	> a {
		transition: color 200ms ease-in-out;
	}

	> a:hover {
		background: transparent;
		color: rgb(69, 186, 1) !important;
	}
}

.content-wrapper {
	background-color: #f8f8f8;
	padding-top: 30px;
}

footer.footer-container {
	position: static;
	padding-top: 40px;

	.container {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;

		&:before, &:after {
			display: none;
		}
	}
}

.footer-brand-link {
	color: rgb(88,85,81);
	font-family: 'open sans', sans-serif;
	font-size: 28px;

	&:hover {
		color: rgb(88,85,81);
	}

	.brand-subline {
		font-family: 'enriqueta', serif;
		color: #848079;
		display: block;
		font-size: 14px;
	}
}

.home-image-format {
	width: 100%;
	overflow: hidden;
	position: relative;

	img {
		width: 200%;
		max-width: 200%;
		left: 50%;
		position: relative;
		transform: translateX(-50%);
	}
}

@media (min-width: 768px) {
	.home-image-format {

		img {
			width: 100%;
			position: static;
			transform: none;
		}

		.border-element {
			width: 8px;
			background: #fff;
			height: 100%;
			position: absolute;
			left: calc(25% - 4px);

			&:nth-child(2) {
				left: calc(75% - 4px);
			}

			&:nth-child(3) {
				left: calc(50% - 4px);
			}
		}
	}
}

.footer-edit-content {
	p {
		font-size: 14px;
		margin: 0;
	}
}

div.container {
	max-width: 920px;
	background: transparent;
}

.teaser-headline, .teaser-headling {
	font-size: 23px;
	color: rgb(88,85,81);
	line-height: 1.42;
	font-family: spinnaker,sans-serif;
}

.modalimage-container {
	position: relative;
	display: inline-block;

	&:after {
		content: '';
		position: absolute;
		width: 100%;
		height: 100%;
		left: 0;
		top: 0;
		background: rgba(143, 209, 105, 1);
		z-index: 0;
	}

	img {
		position: relative;
		z-index: 1;
	}

	img:hover {
		opacity: .5;
	}

}

@media (min-width: 768px) {
	.contact-details-wrapper {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;

		> .container, > .con-container {
			width: 49%;
			margin-top: 0;
		}
	}

	#containerform {
		form {
			display: grid;
			grid-template-columns: 1fr 1fr;
		}
	}
}

.contact-details-wrapper {

	> .container, > .con-container {
		margin-top: 20px;
	}

	#containerform {

		.form-group {
			margin-bottom: 2px;
		}

		input {
			border: 1px solid #ccc;
		}

		.message {
			grid-column: 2;
			grid-row: 1 / 4;

			textarea {
				height: 110px !important;
			}
		}

		.btn {
			grid-column: 2;
		}
	}
}

.contact-details-wrapper {
	.btn, .btn:active, .btn:focus {
		background: rgb(69, 186, 1);
		outline: none;
		border: 0;
	}
}

.contact-data-col-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;


	> div {
		width: auto;
	}

	.contact-data-wrapper {
		color: rgb(69, 186, 1);

		a {
			color: rgb(69, 186, 1);
		}
	}
}

.section-title {
	text-transform: uppercase;
	font-size: 25px;
	padding-bottom: 10px;
	margin-bottom: 20px;
	border-bottom: 1px solid rgb(181, 177, 169);
}

img {
	max-width: 100%;
	height: auto;
}

h3.green {
	color: rgb(69, 186, 1);
	font-weight: 700;
	font-size: 25px;
}


.contact-wrapper-container {
	position: relative;


	.greentext-box {
		background: rgb(69, 186, 1);
		color: #fff;
		padding: 10px 15px;
		font-size: 24px;
	}
}

.contact {
	.container {
		padding: 0;
	}
}

@media (min-width: 768px) {
	.aboutus-wrapper {
		display: flex;

		.divide {
			width: 25%;
		}
	}

	.contact-wrapper-container {
		position: relative;


		.greentext-box {
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			white-space: nowrap;
		}
	}
}
