@import url('https://fonts.googleapis.com/css?family=Frank+Ruhl+Libre:400,700&display=swap');

body {
	font-family: 'Frank Ruhl Libre', serif;
	font-weight: normal;
	font-size: 18px;
	color: #FFFFFF;
	margin: 0;
	padding: 0;
	background: url("../img/bg.jpg") top center no-repeat #000000;
	background-size: 100%;
	width: 100%;
	height: 100%;
}
html {
	width: 100%;
	height: 100%;
}



.admin-bar {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	position: fixed;
	top:0;
	left: 0;
	width: 100%;
	height: 30px;
	background: #333333;
	z-index: 100000;
	color: #FFFFFF;
	font-size: 16px;
	line-height: 30px;
	text-align: left;
}
.admin-bar p {
	margin: 0 15px;
	display: inline;
}
@media (max-width: 500px) {
	.admin-bar p {
		margin: 0 5px;
		display: inline;
	}
    .admin-bar p.title {
        display: none;
    }
}
.admin-bar img {
	vertical-align: middle;
}
.admin-bar .faded {
	color: #999999;
}
.admin-bar .edit-page-url, .admin-bar .edit-page-url:hover, .admin-bar .edit-page-url:focus {
	background: none;
	border: 0;
	margin: 0;
	padding: 2px 0;
	color: #FFFFFF;
	font-size: 12px;
	line-height: 30px;
}
.admin-bar .edit-page-url:hover, .admin-bar .edit-page-url:focus {
	background: #FFFFFF;
	color: #000000;
}
.admin-bar .admin-menu {
	list-style: none;
	margin: 0 10px;
	padding: 0;
	float: right;
	text-align: right;
	white-space: nowrap;
}
@media (max-width: 600px) {
	.admin-bar .admin-menu {
		margin: 0 5px;
	}
	.admin-bar .admin-menu li.view-website {
		display: none;
	}
}
.admin-bar .admin-menu li {
	margin: 0;
	padding: 0;
	float: left;
	position: relative;
}
.admin-bar .admin-menu li a {
	display: block;
	padding: 0 20px;
	text-decoration: none;
	color: #FFFFFF;
}
.admin-bar .admin-menu li:hover a, .admin-bar .admin-menu li a:hover {
	background: #000000;
	color: #FFFFFF;
}
.admin-bar .admin-menu li ul {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 100%;
	right: 0;
	background: #000000;
	box-shadow: 0 0 5px #000000;
	min-width: 200px;
	display: none;
}
.admin-bar .admin-menu li:hover ul {
	display: block;
}
.admin-bar .admin-menu li:hover ul li ul {
	display: none;
}
.admin-bar .admin-menu li:hover ul li:hover ul {
	display: block;
}
.admin-bar .admin-menu li ul li {
	float: none;
}
.admin-bar .admin-menu li ul li a {
	padding: 5px 20px;
}
.admin-bar .admin-menu li:hover ul li a {
	background: none;
}
.admin-bar .admin-menu li:hover ul li:hover, .admin-bar .admin-menu li ul li a:hover {
	background: #333333;
}
.admin-bar .admin-menu li ul li ul {
	top: 5%;
	right: 95%;
}
@media (max-width: 500px) {
	.admin-bar .admin-menu li ul li ul {
		display: block !important;
		position: static;
		box-shadow: none;
		padding-left: 10px;
		font-size: 0.9em;
	}
}
.page-text {
	display: block;
	min-height: 20px;
}
.page-text:hover {
	background: #CCCCCC;
	color: #000000;
}
.page-text:hover * {
	color: #000000;
}
.page-text, .page-text a {
	cursor: text !important;
}
#page-text-edit-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 90000;
	background: rgba(0, 0, 0, 0.5);
	-moz-transition-duration: 0s;
	-webkit-transition-duration: 0s;
	-o-transition-duration: 0s;
	transition-duration: 0s;
}
#page-text-edit-wrapper .page-text-edit-box {
	margin: 50px auto;
	width: 70%;
	min-width: 800px;
	max-height: 570px;
	padding: 0 10px 10px;
	background: #EEEEEE;
	box-shadow: 0 0 20px #000000;
	overflow: auto;
	color: #333333;
	position: relative;
}
.close-button {
	position: absolute;
	top: 10px;
	right: 10px;
	color: #990000;
	text-decoration: none;
	font-size: 12px;
	line-height: 14px;
}
.close-button:hover {
	color: #990000;
	text-decoration: none;
}
.close-button img {
	vertical-align: middle;
}
#page-text-edit-wrapper .page-text-edit-box textarea {
	width: 98%;
	min-width: 98%;
	max-width: 98%;
	height: 400px;
	min-height: 100px;
	margin: 10px 0;
	display: block;
}
#page-text-edit-wrapper .form-row .form-label {
	float: left;
	width: 200px;
	max-width: 28%;
}
#page-text-edit-wrapper .form-row .form-label label {
	line-height: 35px;
}
#page-text-edit-wrapper .form-row .form-field {
	text-align: right;
	position: relative;
}
#page-text-edit-wrapper .form-row .form-field input, #page-text-edit-wrapper .form-row .form-field textarea {
	width: 70%;
	min-width: 70%;
	max-width: 70%;
}
#page-text-edit-wrapper .form-row .form-field select {
	width: 72%;
	min-width: 72%;
	max-width: 72%;
}
.mceEditor, .mceEditor * {
	-moz-transition-duration: 0s;
	-webkit-transition-duration: 0s;
	-o-transition-duration: 0s;
	transition-duration: 0s;
}
.mceEditor iframe {
	height: 700px;
	min-height: 100px;
}
.mceClose, .mceMax, .mceMed, #edit-text-saved, #edit-text-saving {
	-moz-transition-duration: 0s;
	-webkit-transition-duration: 0s;
	-o-transition-duration: 0s;
	transition-duration: 0s;
}
table tbody tr:hover td.mceMenuItemSeparator, table tbody tr:hover th.mceMenuItemSeparator {
	border-top: 0;
	border-bottom: 0;
}
.mceEditor table tbody tr:hover td a:hover, .mceEditor table tbody tr:hover th a:hover, table tbody tr.mceMenuItem:hover td a:hover, table tbody tr.mceMenuItem:hover th a:hover {
	color: #000000;
}
.mceEditor table tbody tr:hover td, .mceEditor table tbody tr:hover th, table tbody tr.mceMenuItem:hover td, table tbody tr.mceMenuItem:hover th {
	background: #F0F0EE;
	border: 0;
}
.mceEditor table tbody tr:hover .mceIframeContainer {
	border-top: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
}

#wrapper {
	min-height: 100%;
}

.admin #wrapper {
	margin-top: 30px;
}

a {
	color: #FFFFFF;
	text-decoration: none;
}
a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}

img, video {
	border: 0;
	max-width: 100%;
	max-height: 100%;
}

iframe {
	max-width: 100%;
	border: 0 none;
}

h1 {
	float: left;
	text-align: center;
	font-size: 1.4em;
	font-weight: normal;
	margin: 1em 0;
}
h2 {
	font-size: 1.4em;
	font-weight: normal;
	margin: 1em 0;
}
h3 {
	font-size: 1.3em;
	font-weight: normal;
	margin: 1em 0;
}
h4 {
    font-size: 1.2em;
    font-weight: bold;
    margin: 1em 0;
}
h5 {
    font-size: 1.1em;
    font-weight: bold;
    margin: 1em 0;
}
h6 {
    font-size: 1em;
    font-weight: bold;
    margin: 1em 0;
}
p {
	margin: 1em 0;
}
ul, ol {
	margin: 1em 0;
	padding: 0 0 0 30px;
	text-align: left;
}
ul li, ol li {
	margin: 0.2em 0;
	padding: 0;
}

i {
    vertical-align: middle;
}

hr {
	border: 0;
	border-bottom: 2px solid #FFFFFF;
	margin: 2em auto;
	padding: 0;
	height: 0;
}

blockquote {
	font-style: italic;
	position: relative;
	margin: 1em 20px;
	padding: 0 20px;
}
blockquote:before {
	font-size: 50px;
	content: open-quote;
	position: absolute;
	top: -20px;
	left: -10px;
}
blockquote:after {
	font-size: 50px;
	content: close-quote;
	position: absolute;
	bottom: -20px;
	right: -10px;
}

.wrapper {
	margin: 0 auto;
	width: 75%;
    min-width: 900px;
	padding: 0 15px;
	position: relative;
	box-sizing: border-box;
}
@media (max-width: 940px) {
    .wrapper {
        width: 100%;
        min-width: 0 !important;
    }
}

#header {
	position: relative;
	height: 52vw;
}
#header .logo {
	text-align: center;
	padding: 10px 0;
}
#header .logo img {
	padding: 20px;
	max-width: 40%;
	box-sizing: border-box;
}
@media (max-width: 965px) {
	#header .logo img {
		max-width: 35%;
	}
}
@media (max-width: 600px) {
	#header {
		height: 55vw;
	}
	#header .logo img {
		max-width: 40%;
		padding: 0;
	}
}

.accreditations {
	position: absolute;
	bottom: 30px;
	right: 15px;
}
.accreditations ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: right;
}
.accreditations li {
	display: inline-block;
	margin: 0;
	padding: 0;
	vertical-align: middle;
}
.accreditations img {
	max-width: 80px;
	max-height: 60px;
}
@media (max-width: 800px) {
	.accreditations img {
		max-width: 60px;
		max-height: 45px;
	}
}
@media (max-width: 600px) {
	.accreditations {
		top: 10px;
		bottom: 0;
		max-width: 27%;
	}
	.accreditations img {
		max-width: 45px;
		max-height: 35px;
	}
}
@media (max-width: 450px) {
	.accreditations img {
		max-width: 35px;
		max-height: 25px;
	}
}
@media (max-width: 350px) {
	.accreditations img {
		max-width: 30px;
		max-height: 20px;
	}
}

#nav {
	font-weight: normal;
	font-size: 1.2em;
	position: relative;
	height: 29px;
	background: #406fb3;
	border-bottom: 15px solid #1b2c57;
	color: #FFFFFF;
}
#nav:before {
	content: '';
	display: block;
	position: absolute;
	top: 44px;
	left: 0;
	right: 0;
	height: 37px;
	background: #FFFFFF;
	border-bottom: 5px solid #1b2c57;
	color: #406fb3;
}
#nav .wrapper {
	min-width: 1150px;
	height: 44px;
	white-space: nowrap;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
	transition-duration: 0.5s;
	transition-property: box-shadow;
}
.sticky-nav #nav .wrapper {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: auto;
	min-width: 0;
	z-index: 10000;
	background: #406fb3;
	border-bottom: 15px solid #1b2c57;
}
.sticky-nav #nav .wrapper:before {
	content: '';
	display: block;
	position: absolute;
	top: 44px;
	left: 0;
	right: 0;
	height: 37px;
	background: #FFFFFF;
	border-bottom: 5px solid #1b2c57;
	color: #406fb3;
}
.admin.sticky-nav #nav .wrapper {
	top: 30px;
}
#nav ul {
	list-style: none;
	margin: 0;
	padding: 0 0 0 371px;
	position: relative;
}
#nav ul.menu {
	margin: 0 auto;
	width: 100%;
	height: 29px;
	text-align: center;
	box-sizing: border-box;
}
.sticky-nav #nav ul.menu {
	width: 75%;
	min-width: 1150px;
}
#nav ul.mobile-menu {
	display: none;
	text-align: left;
	padding-left: 0;
	height: 44px;
}
#nav ul li {
	display: inline-block;
	margin: 0;
	padding: 0;
	text-align: center;
	vertical-align: top;
	height: 100%;
}
#nav ul li a {
	position: relative;
	display: block;
	padding: 4px 20px;
	line-height: 21px;
	height: 100%;
	background: rgba(27, 44, 87, 0);
	color: #FFFFFF;
	box-sizing: border-box;
	text-decoration: none;
	text-transform: uppercase;
	transition-duration: 0.2s;
	transition-property: background, color;
}
#nav ul li a .down-arrow {
	position: absolute;
	bottom: -19px;
	left: 0;
	right: 0;
	text-align: center;
	opacity: 0;
	transition-duration: 0.2s;
	transition-property: opacity;
}
#nav ul li:hover > a, #nav ul li a:hover, #nav ul li a:focus {
	background: #1b2c57;
}
#nav ul li:hover > a > .down-arrow {
	opacity: 1;
}
#nav ul li.active > a {
	color: #fecc03;
}
#nav ul li.active > a > .down-arrow {
	opacity: 1;
}
#nav ul:hover li.active > a > .down-arrow {
	opacity: 0;
}
#nav ul:hover li.active:hover > a > .down-arrow {
	opacity: 1;
}
/*#nav ul li.active > a > .down-arrow {
	opacity: 1;
}*/
#nav ul.mobile-menu li a {
	line-height: 24px;
	padding: 10px 20px;
}
#nav ul ul {
	position: absolute;
	bottom: -52px;
	left: 0;
	right: 0;
	height: 37px;
	opacity: 0;
	z-index: 1;
	font-size: 0.9em;
	background: #FFFFFF;
	text-align: center;
	overflow: hidden;
	pointer-events: none;
	transition-duration: 0.2s;
	transition-property: opacity;
}
#nav ul ul li a {
	color: #406fb3;
	background: none;
	padding: 8px 5px;
}
#nav ul ul li:hover > a, #nav ul ul li a:hover, #nav ul ul li a:focus {
	color: #1b2c57;
	background: none;
}
#nav ul ul li.active > a {
	color: #fecc03;
	background: none;
}
#nav ul li.active > ul {
	opacity: 1;
	z-index: 0;
	pointer-events: auto;
}
#nav ul:hover li.active > ul {
	opacity: 0;
	z-index: 1;
	pointer-events: none;
}
#nav ul:hover li.active:hover > ul {
	opacity: 1;
	z-index: 0;
	pointer-events: auto;
}
#nav ul li:hover > ul {
	opacity: 1;
	z-index: 2;
	pointer-events: auto;
}
@media (max-width: 1150px) {
	#nav .wrapper {
		padding-left: 0;
		padding-right: 0;
		width: 100%;
		min-width: 900px;
	}
	.sticky-nav #nav .wrapper {
		position: static;
		background: none;
		box-shadow: none;
		z-index: auto;
	}
	#nav ul.mobile-menu {
		box-sizing: border-box;
		box-shadow: 0 0 0 rgba(0, 0, 0, 0);
		transition-duration: 0.5s;
		transition-property: box-shadow;
	}
	.sticky-nav #nav ul.mobile-menu {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		width: auto;
		height: 44px;
		min-width: 0;
		z-index: 10000;
		background: #406fb3;
		border-bottom: 15px solid #1b2c57;
	}
	.admin.sticky-nav #nav ul.mobile-menu {
		top: 30px;
	}
	.sticky-nav #nav ul.mobile-menu li {
		height: 44px;
	}
	.sticky-nav #nav:before {
		position: fixed;
		z-index: 9999;
	}
	.admin.sticky-nav #nav:before {
		top: 74px;
	}
	#nav ul.menu {
		position: fixed;
		top: 0;
		left: -300px;
		bottom: 0;
		width: 280px !important;
		min-width: 0 !important;
		height: auto;
		margin: 0;
		padding: 10px 0 !important;
		text-align: left;
		background: #FFFFFF;
		box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
		transition-duration: 0.5s;
		transition-property: left;
		z-index: 20002;
		overflow: auto;
	}
	.expanded-mobile-menu #nav ul.menu {
		left: 0;
	}
	.admin #nav ul.menu {
		top: 30px;
	}
	#nav ul li {
		width: auto;
		text-align: left;
	}
	#nav ul.menu li {
		display: block;
		float: none;
		width: auto;
		height: auto;
	}
	#nav ul.menu li a {
		color: #406fb3;
		background: none;
		padding: 10px 20px;
	}
	#nav ul.menu li.active > a {
		color: #fecc03;
	}
	#nav ul.menu li a .down-arrow {
		display: none;
	}
	#nav ul.menu ul {
		position: static;
		min-width: 0;
		height: auto;
		padding: 0 0 0 10px;
		opacity: 1 !important;
	}
	#nav ul.menu ul li {
		display: block;
	}
	#nav ul.menu ul li a {
		color: #000000;
	}
	#nav ul.menu a:hover, #nav ul.menu a:focus {
		color: #1b2c57;
	}
	#nav ul.mobile-menu {
		display: block;
	}
}

#footer .wrapper {
	border-top: 2px solid #FFFFFF;
	padding: 10px 20px;
	font-weight: bold;
	font-size: 0.9em;
}
#footer .address {
	text-align: center;
}
#footer .contact-info {
	font-size: 1.2em;
	margin: 0 20px;
	white-space: nowrap;
}

#content {
    padding: 20px;
	min-height: 12vw;
	line-height: 1.7;
}

.promo {
	overflow: hidden;
	height: 400px;
	max-height: 60vh;
	position: relative;
	background: #EEEEEE;
}
.promo .wrapper {
	width: auto;
	height: 100%;
}
#content > .promo:first-child {
	margin-top: 0;
}
.promo .promo-box {
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.promo .promo-box .image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
}
/*.promo .promo-box .image img {
	min-height: 100%;
	max-height: none;
	width: 100%;
	vertical-align: middle;
}*/
.promo .promo-box .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.promo .promo-box .extra-content {
	overflow: hidden;
	position: absolute;
	bottom: 90px;
	left: 0;
	right: 0;
	max-height: 70%;
	text-align: right;
	text-shadow: 0 1px 5px #000000;
	background: rgba(169, 136, 2, 0.4);
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#a98802+0,a98802+100&0+30,0.6+70 */
	background: -moz-linear-gradient(left,  rgba(169,136,2,0) 0%, rgba(169,136,2,0) 30%, rgba(169,136,2,0.6) 70%, rgba(169,136,2,0.6) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left,  rgba(169,136,2,0) 0%,rgba(169,136,2,0) 30%,rgba(169,136,2,0.6) 70%,rgba(169,136,2,0.6) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right,  rgba(169,136,2,0) 0%,rgba(169,136,2,0) 30%,rgba(169,136,2,0.6) 70%,rgba(169,136,2,0.6) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00a98802', endColorstr='#99a98802',GradientType=1 ); /* IE6-9 */
	color: #FFFFFF;
}
.promo .promo-box .extra-content a {
	color: #FFFFFF;
}
.promo .promo-box .extra-content .extra-content-inner {
	margin: 0 auto;
	padding: 5px 20px;
	width: 75%;
	min-width: 900px;
	height: 100%;
	position: relative;
}
@media (max-width: 940px) {
	.promo .promo-box .extra-content .extra-content-inner {
		width: auto;
		min-width: 0;
	}
}
@media (max-width: 800px) {
	.promo .promo-box .extra-content {
		bottom: 20px;
	}
}
@media (max-width: 700px) {
	.promo .promo-box .extra-content {
		font-size: 0.8em;
	}
}
@media (max-width: 550px) {
	.promo .promo-box .extra-content {
		font-size: 0.6em !important;
	}
	.promo .promo-box .extra-content .extra-content-inner {
		padding: 10px;
	}
}
.promo .promo-box .extra-content .extra-content-inner h1,
.promo .promo-box .extra-content .extra-content-inner h2,
.promo .promo-box .extra-content .extra-content-inner h3,
.promo .promo-box .extra-content .extra-content-inner h4,
.promo .promo-box .extra-content .extra-content-inner h5,
.promo .promo-box .extra-content .extra-content-inner h6,
.promo .promo-box .extra-content .extra-content-inner p {
	color: #FFFFFF;
	margin: 0.5em 0;
}
@media (min-width: 1000px) {
	.promo .promo-box .extra-content .extra-content-inner h1,
	.promo .promo-box .extra-content .extra-content-inner h2,
	.promo .promo-box .extra-content .extra-content-inner h3,
	.promo .promo-box .extra-content .extra-content-inner h4,
	.promo .promo-box .extra-content .extra-content-inner h5,
	.promo .promo-box .extra-content .extra-content-inner h6,
	.promo .promo-box .extra-content .extra-content-inner p {
		margin: 1em 0;
	}
}
/*.promo .promo-box .extra-content .extra-content-inner * {
	margin: 0;
}*/
.promo .promo-box .promo-link {
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.promo .arrow {
	position: absolute;
	top: 45%;
	top: calc(50% - 25px);
	width: 50px;
	height: 50px;
	background-color: #fecc03;
	background-size: auto 60%;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 100%;
	cursor: pointer;
	z-index: 10;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
	opacity: 0.6;
	transition-duration: 0.5s;
	transition-property: box-shadow, margin-top, transform, opacity, background-color;
}
.promo .arrow.arrow-prev {
	left: 20px;
	background-image: url("../img/arrow-left.png");
}
.promo .arrow.arrow-next {
	right: 20px;
	background-image: url("../img/arrow-right.png");
}
.promo .arrow:hover {
	margin-top: -5px;
	opacity: 1;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}
.promo .arrow:active {
	transition-duration: 0.1s;
	background-color: #969698;
	margin-top: 2px;
	opacity: 1;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
@media (max-width: 550px) {
	.promo .arrow {
		display: none;
	}
}

#content > .box {
	margin: 1em -20px;
}

.columns {
    margin: 1em -20px;
}
.columns > .column {
	box-sizing: border-box;
    float: left;
    width: 50%;
    padding: 0 20px;
    margin: -1em 0;
}
.columns > .column.double {
	width: 100%;
}
.columns-3 > .column {
    width: 33.333%;
}
.columns-3 > .column.double {
	width: 66.666%;
}
.columns-4 > .column {
    width: 25%;
}
.columns-4 > .column.double {
	width: 50%;
}
@media (max-width: 850px) {
    .columns-4.wide-columns > .column {
        width: 50%;
    }
	.columns-4.wide-columns > .column.double {
		float: none;
		width: auto !important;
		height: auto !important;
		clear: both;
		padding: 0;
		margin: 0;
	}
}
@media (max-width: 800px) {
    .columns-3.wide-columns {
        margin: 0;
		height: auto !important;
    }
    .columns-3.wide-columns > .column {
        float: none;
        width: auto !important;
        height: auto !important;
        padding: 0;
		margin: 0;
    }
}
@media (max-width: 750px) {
    .columns.wide-columns {
        margin: 0;
		height: auto !important;
    }
    .columns.wide-columns > .column {
        float: none;
        width: auto !important;
        height: auto !important;
        padding: 0;
		margin: 0;
    }
}
@media (max-width: 500px) {
	.columns-4 > .column {
		width: 50%;
	}
	.columns-4 > .column.double {
		float: none;
		width: auto !important;
		height: auto !important;
		clear: both;
		padding: 0;
		margin: 0;
	}
}
@media (max-width: 450px) {
	.columns-3 {
		margin: 0;
		height: auto !important;
	}
	.columns-3 > .column {
		float: none;
		width: auto !important;
		height: auto !important;
		padding: 0;
		margin: 0;
	}
}
@media (max-width: 400px) {
	.columns {
		margin: 0;
		height: auto !important;
	}
	.columns > .column {
		float: none;
		width: auto !important;
		height: auto !important;
		padding: 0;
		margin: 0;
	}
}

label {
    font-size: 16px;
    line-height: 20px;
	font-weight: bold;
}
input.text, input.file, select, textarea {
	font-family: 'Frank Ruhl Libre', serif;
	font-weight: normal;
    border: 0 none;
    border-radius: 0;
    padding: 10px;
    font-size: 16px;
    line-height: 20px;
    background: #EEEEEE;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
    vertical-align: middle;
    transition-duration: 0.2s;
    transition-property: color, background, box-shadow;
}
input.text:hover, input.file:hover, select:hover, textarea:hover {
    background: #FFFFFF;
}
input.text:focus, input.file:focus, select:focus, textarea:focus {
    background: #FFFFFF;
    box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.5);
}
.error input.text, .error input.file, .error select, .error textarea {
    color: #CC0000;
    background: #FFEEEE;
}

button, a.button {
	font-family: 'Frank Ruhl Libre', serif;
	display: inline-block;
	font-weight: normal;
    font-size: 20px;
    line-height: 20px;
	text-transform: uppercase;
	text-decoration: none;
    border: 0 none;
    border-radius: 0;
    padding: 10px 25px;
    margin: 0 10px;
    background: #406fb3;
    color: #FFFFFF;
	box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    vertical-align: middle;
    transition-duration: 0.2s;
    transition-property: color, background, box-shadow;
}
button:hover, button:focus, a.button:hover, a.button:focus {
	box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.5);
}
button:active, a.button:active {
    transition-duration: 0.1s;
    background: #1b2c57;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.form-error {
    color: #CC0000;
    text-align: center;
}

.block-form {
    margin: 1em 0;
    padding: 1px 20px;
}
.form-row {
    margin: 1em 0;
    text-align: left;
    clear: both;
}
.form-row.buttons {
    text-align: right;
    margin-left: 15.6%;
    margin-right: 15.6%;
}
.form-row.buttons button {
	padding: 15px 25px;
}
@media (max-width: 850px) {
    .form-row.buttons {
        margin-left: 14%;
        margin-right: 14%;
    }
}
@media (max-width: 700px) {
    .form-row.buttons {
        margin-left: 12.5%;
        margin-right: 12.5%;
    }
}
@media (max-width: 600px) {
    .form-row.buttons {
        margin-left: -10px;
        margin-right: -10px;
    }
}
.form-row .form-error {
    text-align: left;
    padding: 5px 15px;
    margin-left: 30%;
}
.form-label {
    float: left;
    text-align: right;
    width: 30%;
    padding: 10px 10px 10px 0;
}
.form-field {
    margin: 0.5em 0 0.5em 30%;
    margin-left: calc(30% + 10px);
}
.form-field img {
    display: block;
    max-width: 200px;
    max-height: 200px;
}
.form-field input.text, .form-field input.file, .form-field select, .form-field textarea {
    min-width: 40%;
    width: 50%;
    max-width: 65%;
}
.form-field textarea {
    height: 100px;
}
@media (max-width: 600px) {
    .form-row .form-error {
        text-align: center;
        padding: 5px 0;
        margin-left: 0;
    }
    .form-label {
        float: none;
        text-align: left;
        width: auto;
        padding: 5px 0;
    }
    .form-field {
        margin-left: 0;
    }
    .form-field input.text, .form-field input.file, .form-field select, .form-field textarea {
        min-width: 60%;
        width: 90%;
        max-width: 90%;
    }
}

.toolbar {
    overflow: hidden;
    background: #EEEEEE;
    margin: 20px 0;
    padding: 10px;
}
.toolbar input.text {
    width: 300px;
}
.toolbar button span span {
    padding-top: 5px;
    padding-bottom: 5px;
}
.toolbar .filters {
    float: left;
}
.toolbar .filters .filter {
    margin: 5px 0;
}
.toolbar .controls {
    clear: both;
    padding: 10px 0 0;
    font-size: 1em;
    overflow: hidden;
}
.toolbar .controls a {
    float: left;
    margin: 0 20px 0 0;
    line-height: 1.5em;
    height: 1.5em;
}
.toolbar .list-count {
    float: left;
    padding: 8px 0;
}
.pager-bar {
    float: right;
    padding: 3px 0;
}
.pager-bar ul.pager {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pager-bar ul.pager li {
    float: left;
    margin: 0;
    padding: 0;
}
.pager-bar ul.pager li a {
    display: block;
    padding: 5px 8px;
    text-decoration: none;
}
.pager-bar ul.pager li.active a {
    font-weight: 600;
}

a.new {
    background: url(../img/add-icon.png) left no-repeat;
    padding: 2px 0 2px 22px;
}
a.edit {
    background: url(../img/edit-icon.png) left no-repeat;
    padding: 2px 0 2px 22px;
}
a.lock {
    background: url(../img/lock-icon.png) left no-repeat;
    padding: 2px 0 2px 22px;
}
a.lock:hover {
    color: #CC9900;
}
a.unlock {
    background: url(../img/unlock-icon.png) left no-repeat;
    padding: 2px 0 2px 22px;
}
a.delete {
    background: url(../img/delete-icon.png) left no-repeat;
    padding: 2px 0 2px 22px;
}
a.delete:hover {
    color: #CC0000;
}

table {
    width: 100%;
    margin: 1em 0;
	text-align: left;
}
.ui-datepicker table {
    border-bottom: 2px solid #A4A7A9;
}
.ui-datepicker td {
    background: none !important;
}
table th .cell-wrapper, table td .cell-wrapper {
    display: block;
    padding: 5px 10px;
    position: relative;
}
table thead th, table thead td, table tfoot th, table tfoot td {
    background: #406fb3;
    color: #FFFFFF;
}
table thead th a:hover, table thead td a:hover, table tfoot th a:hover, table tfoot td a:hover {
    color: #cbd4d6 !important;
}
table thead a, table tfoot a {
    color: #FFFFFF !important;
}
table tbody tr:hover th, table tbody tr:hover td {
    background: #cbd4d6;
}
table tbody tr.selected th, table tbody tr.selected td {
    background: #a7b0b2;
}
table th.selection, table td.selection {
    width: 50px;
    text-align: center;
}
table th.actions, table td.actions {
    width: 50px;
    text-align: right;
    white-space: nowrap;
}
table .image-preview {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    max-width: 200px;
    max-height: 200px;
    box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.5);
}
table tr:hover .image-preview {
    display: block;
}
table tr .image-preview:hover {
    display: none;
}

.message {
    font-size: 1.2em;
    font-weight: 600;
    text-align: center;
    color: #009900;
}
.message.large {
    font-size: 1.5em;
    padding: 20px;
}

img.enlargeable {
    cursor: pointer;
}

#image-popup-bg {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 100000;
}
#image-popup {
	position: fixed;
	background: #FFFFFF;
	font-size: 14px;
	padding: 0;
	/*box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.5);*/
	box-shadow: 0 0 15px #000000;
	overflow: auto;
	z-index: 100000;
	transition-duration: 0.3s;
	transition-property: padding, font-size, box-shadow, transform;
}
#image-popup .close-button {
	opacity: 0;
	transition-duration: 0.5s;
	transition-property: opacity;
}
#image-popup.zoomed-in .close-button {
	opacity: 1;
}
#image-popup.left {
	-webkit-transform: rotate(-10deg) translate(30px, 20px);
	-moz-transform: rotate(-10deg) translate(30px, 20px);
	-ms-transform: rotate(-10deg) translate(30px, 20px);
	-o-transform: rotate(-10deg) translate(30px, 20px);
	transform: rotate(-10deg) translate(30px, 20px);
}
#image-popup.right {
	-webkit-transform: rotate(10deg) translate(40px, 10px);
	-moz-transform: rotate(10deg) translate(40px, 10px);
	-ms-transform: rotate(10deg) translate(40px, 10px);
	-o-transform: rotate(10deg) translate(40px, 10px);
	transform: rotate(10deg) translate(40px, 10px);
}
#image-popup.zoomed-in {
	padding: 0;
	font-size: 18px;
	/*box-shadow: 10px 20px 40px rgba(0, 0, 0, 0.5);*/
	-webkit-transform: none !important;
	-moz-transform: none !important;
	-ms-transform: none !important;
	-o-transform: none !important;
	transform: none !important;
}
#image-popup img {
	display: block;
	margin: 0;
	padding: 0;
	width: 100%;
}

.date {
	margin-top: -1em;
	opacity: 0.5;
}

.list-item {
	padding: 1em 0;
	border-top: 1px solid #e1e1e1;
	text-align: left;
}
.list-item:first-child {
	border-top: 0;
	padding-top: 0;
}
.list-item:last-child {
	padding-bottom: 0;
}
.list-item .price {
	float: right;
}
.list-image {
	float: left;
	width: 250px;
	margin: 1em 20px 1em 0;
}
.list-item:first-child .list-image {
	margin-top: 0;
}
.list-content.with-image {
	margin-left: 270px;
}
@media (max-width: 650px) {
	.list-image {
		float: none;
		width: 250px;
		max-width: 100%;
		margin: 1em auto 10px;
	}
	.list-content.with-image {
		margin-left: 0;
	}
}

.grid {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}
.grid-item {
	position: relative;
	display: inline-block;
	margin: 0;
	padding: 10px;
	width: 33.333%;
	/*max-height: 25vw;*/
	box-sizing: border-box;
	vertical-align: center;
}
.grid-item:hover {
	background: #d7d7d9;
}
@media (min-width: 1500px) {
	.grid-item {
		width: 25%;
	}
}
@media (max-width: 850px) {
	.grid-item {
		width: 50%;
	}
}
@media (max-width: 500px) {
	.grid-item {
		width: 100%;
	}
}

.images-upload {
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
.images-upload li {
	position: relative;
	float: left;
	margin: 2px;
	padding: 0;
	border: 1px solid #000000;
	height: 100px;
	text-align: center;
	font-size: 0.6em;
	overflow: hidden;
	box-sizing: border-box;
	touch-action: none;
}
.images-upload.reorderable li {
	cursor: move;
}
.images-upload li.pending {
	width: 100px;
	padding-top: 35px;
	line-height: 15px;
}
.images-upload li.pending .percentage {
	display: block;
	margin-top: 5px;
}
.images-upload li img {
	height: 100%;
	max-width: none;
	max-height: none;
}
.images-upload li .delete {
	position: absolute;
	top: 0;
	right: 0;
	height: 25px;
	color: #CC0000;
	text-shadow: 0 0 1px #ffffff;
}
.images-upload li.dragging-target {
	width: 100px;
	border: 2px dashed #666666;
}
.images-upload li.add {
	float: none;
	display: block;
	clear: left;
	margin-top: 10px;
	width: auto;
	height: auto;
	border: 0 none;
	text-align: left;
	font-size: 1em;
	cursor: default;
	touch-action: auto;
}

.caravan-images {
	float: right;
	width: 40%;
	margin: 0 0 5px 20px;
	text-align: center;
}
.caravan-images .caravan-image {
	float: left;
	width: 50%;
	vertical-align: middle;
	padding: 10px;
	box-sizing: border-box;
}
.caravan-images .caravan-image:nth-child(even) {
	clear: both;
}
.caravan-images .caravan-image.first {
	float: none;
	width: 100%;
}
@media (max-width: 570px) {
	.caravan-images {
		float: none;
		width: auto;
		margin: 0 auto 10px;
	}
}

.box {
	background: #e1e1e1;
	margin: 1em 0;
	padding: 1px 20px;
}

.button-boxes {
	display: flex;
	position: relative;
	margin: 0 -20px;
	z-index: 5;
}
#main .promo + script + .wrapper #content > .button-boxes {
	margin-top: -100px;
}
@media (max-width: 800px) {
	#main .promo + script + .wrapper #content > .button-boxes {
		margin-top: 0;
	}
}

.button-boxes {
	flex-wrap: wrap;
	justify-content: center;
}
.button-box {
	position: relative;
	top: 0;
	display: inline-block;
	display: flex;
	flex-grow: 1;
	flex-basis: 0;
	align-items: center;
	font-size: 0.8em;
	text-transform: uppercase;
	font-weight: bold;
	margin: 20px;
	padding: 0.5em 0;
	box-sizing: border-box;
	background-position: center;
	background-size: cover;
	transition-duration: 0.5s;
	transition-property: box-shadow, top, transform, opacity;
}
.button-box:hover, .button-boxes:hover .button-box:hover {
	z-index: 1;
	top: -2px;
	transform: scale(1.1);
}
.button-box:active, .button-boxes:hover .button-box:active {
	transition-duration: 0.1s;
	top: 1px;
	transform: scale(0.99);
}
.button-box > div {
	width: 100%;
}
.button-box h1,
.button-box h2,
.button-box h3,
.button-box h4,
.button-box h5,
.button-box h6,
.button-box p {
	margin: 0.5em 0;
}
.services-boxes .button-box {
	min-width: 33.333%;
	min-width: calc(33.333% - 40px);
	max-width: 33.333%;
	max-width: calc(33.333% - 40px);
}
@media (min-width: 1400px) {
	.button-box {
		font-size: 1vw;
	}
}
@media (max-width: 800px) {
	.button-box {
		font-size: 1.5vw;
	}
}
@media (max-width: 600px) {
	.button-boxes {
		display: block;
	}
	.button-box {
		margin-top: 10px;
		margin-bottom: 10px;
		font-size: 0.8em;
	}
}

.box-link {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}