@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,600,700');

body {
	font-family: 'Open Sans', serif;
	font-weight: normal;
	font-size: 18px;
	color: #2a2d7e;
	margin: 0;
	padding: 0;
	background: #FFFFFF;
	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: #2a2d7e;
	text-decoration: underline;
}
a:hover {
	color: #26c2e8;
}

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

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

h1 {
	font-size: 1.4em;
	font-weight: bold;
	font-style: italic;
	color: #faa41f;
	margin: 1em 0;
}
h2 {
	font-size: 1.4em;
	font-weight: bold;
	font-style: italic;
	color: #faa41f;
	margin: 1em 0;
}
h3 {
	font-size: 1.3em;
	font-weight: bold;
	font-style: italic;
	color: #faa41f;
	margin: 1em 0;
}
h4 {
    font-size: 1.2em;
    font-weight: bold;
    margin: 1em 0;
	text-transform: uppercase;
}
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 #faa41f;
	margin: 1.5em 0;
	padding: 0;
	height: 0;
}

.wrapper {
	margin: 0 auto;
	width: 75%;
    min-width: 900px;
	height: 100%;
	position: relative;
}
@media (max-width: 940px) {
    .wrapper {
        width: 100%;
        min-width: 0;
    }
}

#header {
	position: relative;
	height: 130px;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#26c2e8+0,ffffff+100 */
	background: rgb(38,194,232); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(38,194,232,1) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(38,194,232,1) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(38,194,232,1) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#26c2e8', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
#header .logo {
	position: absolute;
	top: 90px;
	left: 0;
	right: 0;
	height: 0;
	z-index: 10001;
	transition-duration: 0.5s;
	transition-property: top;
}
#header .logo .logo-wrapper {
	height: 0;
}
#header .logo a {
	float: left;
	padding: 0 10px;
	width: 200px;
	transition-duration: 0.5s;
	transition-property: width;
}
@media (min-width: 1200px) {
	#header .logo {
		top: 60px;
	}
	#header .logo a {
		width: 300px;
	}
}
.sticky-logo #header .logo-wrapper {
	position: fixed;
	top: 0;
	margin: 0 auto;
	width: 75%;
	min-width: 900px;
}
.admin.sticky-logo #header .logo-wrapper {
	top: 30px;
}
.sticky-logo #header .logo a {
	width: 125px;
}
#header .logo img {
	display: block;
	max-height: none;
}
#header .contact-details {
	position: absolute;
	bottom: 10px;
	right: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
	float: right;
	z-index: 10002;
}
#header .contact-details li {
	float: left;
	margin: 0;
	padding: 0;
	height: 50px;
	position: relative;
}
#header .contact-details li .details-wrapper {
	float: left;
	padding: 5px;
	white-space: nowrap;
	overflow: hidden;
	background: rgba(250, 164, 31, 0);
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	transition-duration: 0.5s;
	transition-delay: 0.2s;
	transition-property: background, color, border, padding, box-shadow;
}
#header .contact-details li img {
	height: 40px;
	vertical-align: middle;
}
#header .contact-details li .text {
	position: absolute;
	bottom: 100%;
	right: 0;
	padding: 10px;
	vertical-align: middle;
	margin-left: 0;
	line-height: 20px;
	/*width: 0;*/
	opacity: 0;
	white-space: nowrap;
	overflow: hidden;
	border-radius: 5px;
	border-bottom-right-radius: 0;
	background: #faa41f;
	transition-duration: 0.5s;
	transition-delay: 0.2s;
	transition-property: /*width, height, margin, */opacity;
	pointer-events: none;
}
#header .contact-details li:hover .details-wrapper {
	background: #faa41f;
}
#header .contact-details li:hover .text {
	/*margin-left: 5px;*/
	width: auto;
	opacity: 1;
	z-index: 10010;
	pointer-events: auto;
}
#header .contact-details li a.facebook {
	display: block;
	width: 40px;
	height: 40px;
	margin: 5px;
	background: url("../img/icon-facebook.png") no-repeat top right;
	background-size: 40px;
	text-indent: -10000%;
	font-size: 0;
	overflow: hidden;
}
#header .contact-details li a.facebook:hover {
	background-position: bottom right;
}
#header .contact-details li a.instagram {
	display: block;
	width: 40px;
	height: 40px;
	margin: 5px;
	background: url("../img/icon-instagram.png") no-repeat top right;
	background-size: 40px;
	text-indent: -10000%;
	font-size: 0;
	overflow: hidden;
}
#header .contact-details li a.instagram:hover {
	background-position: bottom right;
}
#header .subscribe-caravans-form {
	float: right;
	margin: 5px 5px 0 0;
	padding: 5px;
	font-size: 0.8em;
	background: #FFFFFF;
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid #0A246A;
}
#header .subscribe-caravans-form p {
	margin: 0;
}
#header .subscribe-caravans-form .mobile-link {
	pointer-events: none;
	text-decoration: none;
}
#header .subscribe-caravans-form label {
	font-size: 1em;
}
#header .subscribe-caravans-form input.text {
	font-size: 1em;
	line-height: 1.2;
	padding: 5px;
	width: 200px;
	box-shadow: none;
	border: 1px solid #0A246A;
}
#header .subscribe-caravans-form button {
	font-size: 1em;
	line-height: 1.2;
	padding: 6px 10px;
	margin: 0;
	box-shadow: none;
}
#header .box, #header h1, #header h2, #header h3, #header h4, #header h5, #header h6, #header p, #header ul, #header ol {
	margin: 0;
}
#header .box {
	padding: 9px;
}
#header .message-box {
	float: right;
	margin: 5px 5px 0 0;
	padding: 9px;
	font-size: 0.8em;
}
@media (max-width: 985px) {
	#header .logo-wrapper {
		padding-left: 70px;
	}
	.sticky-logo #header .logo-wrapper {
		width: 100%;
		min-width: 0;
	}
}
@media (max-width: 750px) {
	#header .subscribe-caravans-form input.text {
		width: 100px;
	}
}
@media (max-width: 610px) {
	#header .contact-details {
		bottom: auto;
		top: 10px;
	}
	#header .contact-details li .details-wrapper {
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		border-top-left-radius: 5px;
		border-top-right-radius: 5px;
	}
	#header .contact-details li .text {
		bottom: auto;
		top: 100%;
		border-bottom-right-radius: 5px;
		border-top-right-radius: 0;
	}
	#header .subscribe-caravans-form {
		position: absolute;
		top: 60px;
		right: 5px;
		margin: 0;
		padding: 0;
	}
	#header .subscribe-caravans-form .mobile-link {
		pointer-events: auto;
		text-decoration: underline;
		display: block;
		padding: 5px;
	}
	#header .subscribe-caravans-form label,
	#header .subscribe-caravans-form input.text,
	#header .subscribe-caravans-form button {
		display: none;
	}
	#header .message-box {
		float: left;
		margin-left: 5px;
	}
}
@media (max-width: 520px) {
	#header .message-box {
		display: none;
	}
}

#nav {
	position: relative;
	height: 42px;
	background: #faa41f;
	border-bottom: 20px solid #2a2d7e;
	color: #FFFFFF;
	font-weight: 600;
	letter-spacing: -0.05em;
}
#nav .wrapper {
	height: 42px;
	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: #faa41f;
	border-bottom: 20px solid #2a2d7e;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.admin.sticky-nav #nav .wrapper {
	top: 30px;
}
#nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#nav ul.menu {
	margin: 0 auto;
	width: 100%;
	height: 100%;
	padding-left: 220px;
	box-sizing: border-box;
	transition-duration: 0.5s;
	transition-property: padding-left;
}
.sticky-logo #nav ul.menu {
	padding-left: 145px;
}
.sticky-nav #nav ul.menu {
	width: 75%;
	min-width: 900px;
}
#nav ul.mobile-menu {
	display: none;
	text-align: left;
}
#nav ul li {
	display: inline-block;
	margin: 0;
	padding: 0;
	text-align: center;
	height: 100%;
	position: relative;
}
#nav ul li a {
	display: block;
	padding: 10px;
	line-height: 20px;
	height: 100%;
	color: #FFFFFF;
	box-sizing: border-box;
	text-decoration: none;
	text-transform: uppercase;
	transition-duration: 0.2s;
	transition-property: background, color;
}
#nav ul li:hover > a, #nav ul li a:hover, #nav ul li a:focus {
	color: #2a2d7e;
}
#nav ul li.active > a {
	color: #FFFFFF;
	background: #2a2d7e;
}
#nav ul.mobile-menu {
	height: 100%;
}
#nav ul.mobile-menu li a {
	padding: 7px 20px;
}
@media (min-width: 1200px) {
	#nav ul.menu {
		padding-left: 320px;
	}
}
@media (min-width: 1400px) {
	#nav ul li a {
		padding-left: 15px;
		padding-right: 15px;
	}
}
@media (max-width: 985px) {
	#nav .wrapper {
		padding-left: 0;
	}
	.sticky-nav #nav .wrapper {
		position: static;
		background: none;
		box-shadow: none;
		z-index: auto;
	}
	#nav ul.mobile-menu {
		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: auto;
		min-width: 0;
		z-index: 10000;
		background: #faa41f;
		border-bottom: 20px solid #2a2d7e;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	}
	.admin.sticky-nav #nav ul.mobile-menu {
		top: 30px;
	}
	#nav ul.menu {
		position: fixed;
		top: 0;
		left: -300px;
		bottom: 0;
		width: 250px !important;
		min-width: 0 !important;
		height: auto;
		margin: 0;
		padding: 0 !important;
		text-align: left;
		background: #faa41f;
		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 {
		padding: 20px;
	}
	#nav ul.mobile-menu {
		display: block;
	}
}

#footer {
	padding: 0 20px;
}
#footer .wrapper {
	border-top: 2px solid #faa41f;
}

.supplier-logos {
	list-style: none;
	margin: 1em 0;
	padding: 0;
	text-align: center;
}
.supplier-logos li {
	display: inline;
	margin: 0;
	padding: 0;
}
.supplier-logos li img {
	vertical-align: middle;
	margin: 5px;
	max-height: 80px;
	max-width: 12%;
}
@media (max-width: 940px) {
	.supplier-logos li img {
		max-height: 60px;
		max-width: 100px;
	}
}

#content {
    padding: 50px 20px;
	line-height: 1.7;
	min-height: 300px;
}

#main > .promo:first-child {
	margin-bottom: -50px;
}
.promo {
	overflow: hidden;
	height: 400px;
	max-height: 60vh;
	position: relative;
	background: #EEEEEE;
}
.promo .wrapper {
	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 .extra-content {
	overflow: hidden;
	position: absolute;
	bottom: 20%;
	left: 0;
	right: 0;
	max-height: 70%;
	text-align: right;
	background: rgba(250, 164, 31, 0.8);
}
.promo .promo-box .extra-content .extra-content-inner {
	margin: 0 auto;
	padding: 20px;
	width: 75%;
	min-width: 900px;
	height: 100%;
	position: relative;
	font-size: 1.6em;
}
@media (max-width: 940px) {
	.promo .promo-box .extra-content .extra-content-inner {
		width: 100%;
		min-width: 0;
	}
}
@media (max-width: 500px) {
	.promo .promo-box .extra-content {
		font-size: 0.5em !important;
	}
	.promo .promo-box .extra-content .extra-content-inner {
		padding: 10px;
	}
}
.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%;
}

#content .box {
	margin: 1em -20px;
}
#content .message-box {
	display: none;
	margin: 0 -20px;
}
@media (max-width: 520px) {
	#content .message-box {
		display: block;
	}
}

.columns {
    margin: 0 -20px;
}
.columns > .column {
	box-sizing: border-box;
    float: left;
    width: 50%;
    padding: 0 20px;
    margin: 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;
	}
}
@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;
    }
}
@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;
    }
}
@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;
	}
}
@media (max-width: 450px) {
	.columns-3 {
		margin: 0;
		height: auto !important;
	}
	.columns-3 > .column {
		float: none;
		width: auto !important;
		height: auto !important;
		padding: 0;
	}
}
@media (max-width: 400px) {
	.columns {
		margin: 0;
		height: auto !important;
	}
	.columns > .column {
		float: none;
		width: auto !important;
		height: auto !important;
		padding: 0;
	}
}

label {
    font-size: 16px;
    line-height: 20px;
	font-weight: bold;
}
input.text, input.file, select, textarea {
	font-family: 'Open Sans', serif;
	font-weight: 600;
    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 {
	display: inline-block;
	font-family: 'Open Sans', serif;
	font-weight: 600;
    font-size: 16px;
    line-height: 20px;
	text-transform: uppercase;
	letter-spacing: -0.1em;
    border: 0 none;
    border-radius: 0;
    padding: 10px 25px;
    margin: 0 10px;
    background: #faa41f;
    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: #70490e;
	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;
}
.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: #2a2d7e;
    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;
	color: #2a2d7e;
	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%;
}

.list-item {
	padding: 10px;
}
.list-item:nth-child(2n) {
	background: #EEEEEE;
}
.list-item .price {
	float: right;
}
.list-image {
	float: left;
	width: 200px;
	max-width: 40%;
	margin: 0 10px 5px 0;
}
@media (max-width: 570px) {
	.list-image {
		float: none;
		width: 200px;
		max-width: 100%;
		margin: 0 auto 10px;
	}
}

.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: 25%;
	max-height: 25vw;
	box-sizing: border-box;
	vertical-align: center;
}
@media (min-width: 1200px) {
	.grid-item {
		max-height: 20vw;
	}
}
@media (min-width: 1500px) {
	.grid-item {
		max-height: 15vw;
	}
}
@media (max-width: 500px) {
	.grid-item {
		width: 50%;
		max-height: 50vw;
	}
}

.search-form {
    margin: 1em -20px;
	padding: 1px 0;
}
.search-form .search-form-container {
	background: #2a2d7e;
	color: #FFFFFF;
	position: relative;
	margin: -1px 0 0;
	padding: 1px 20px;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
	overflow: hidden;
	z-index: 1;
}
.search-form .search-form-container a {
	color: #FFFFFF;
}
.search-form label {
    font-weight: normal;
}
.search-form .fields {
    margin: -1em -10px 10px;
    overflow: hidden;
}
.search-form .fields .field {
    float: left;
    margin: 10px;
    white-space: nowrap;
}
.search-form .fields .field.button {
    float: right;
}
.search-form .fields .field input.text, .search-form .fields .field select {
    max-width: 9vw;
}
@media (max-width: 900px) {
    .search-form .fields .field label {
        display: inline-block;
        width: 100px;
        vertical-align: middle;
        text-align: right;
    }
    .search-form .fields .field input.text, .search-form .fields .field select {
        max-width: none;
        width: 200px;
    }
}
@media (max-width: 700px) {
    .search-form .fields .field input.text, .search-form .fields .field select {
        width: 150px;
    }
}
.search-form:after {
	content: '';
	display: block;
	clear: both;
}
.search-form .view-all-link,
.search-form .selling-link {
	float: left;
	width: 50%;
	box-sizing: border-box;
	padding: 10px;
}
.search-form .view-all-link img,
.search-form .selling-link img {
	display: block;
	width: 100%;
}
.search-form .view-all-link {
	width: 52%;
}
.search-form .view-all-link img {
	margin-top: 3.5%;
}
.search-form .selling-link {
	width: 48%;
}
@media (max-width: 450px) {
	.search-form .view-all-link,
	.search-form .selling-link {
		display: block;
		float: none;
		width: auto;
	}
}
/*.search-form .view-all-link {
	display: block;
	background: #faa41f;
	color: #FFFFFF;
	margin: 0 0 -1px;
	padding: 0.5em 20px;
	font-weight: bold;
	font-size: 1.2em;
	text-decoration: none;
    transition-duration: 0.5s;
    transition-property: background, color;
}
.search-form .view-all-link:hover, .search-form .view-all-link:focus {
    background: #26c2e8;
}
.search-form .view-all-link:active {
    transition-duration: 0.1s;
    background: #156e83;
}
.search-form .selling-link {
	display: block;
	background: #FFFFFF;
	border: 1px solid #2a2d7e;
	color: #2a2d7e;
	margin: 3px 0 -1px;
	padding: 0.5em 20px;
	font-weight: bold;
	font-size: 1.2em;
	text-decoration: none;
	transition-duration: 0.5s;
	transition-property: box-shadow, background, color;
}
.search-form .selling-link:hover, .search-form .selling-link:focus {
	background: #26c2e8;
}
.search-form .selling-link:active {
	transition-duration: 0.1s;
	background: #156e83;
}
.search-form .selling-link .icon {
	height: 70px;
	margin: -0.3em 0;
	vertical-align: middle;
}
@media (max-width: 800px) {
	.search-form .selling-link:after {
		content: '';
		display: block;
		clear: both;
	}
	.search-form .selling-link .icon {
		float: left;
		margin: 0 0.3em 0 0;
	}
}
@media (max-width: 550px) {
	.search-form .selling-link {
		text-align: center;
	}
	.search-form .selling-link .icon {
		float: none;
		display: block;
		height: auto;
		max-height: 120px;
		margin: 0 auto 0.3em;
	}
	.search-form .selling-link .info-text {
		display: none;
	}
}*/

.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;
	cursor: move;
	touch-action: none;
}
.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: left;
	width: 40%;
	margin: 0 10px 5px 0;
	text-align: center;
}
.caravan-images .caravan-image {
	display: inline-block;
	height: 100px;
	padding: 5px;
}
.caravan-images .caravan-image.first {
	float: none;
	height: auto;
	padding: 0;
}
@media (max-width: 570px) {
	.caravan-images {
		float: none;
		width: auto;
		margin: 0 auto 10px;
	}
}

.box {
	background: #faa41f;
	color: #FFFFFF;
	margin: 1em 0;
	padding: 1px 10px;
}
.box h1, .box h2, .box h3 {
	color: #2a2d7e;
}
.message-box {
	text-align: center;
	padding: 10px;
}
#content .message-box h1, #content .message-box h2, #content .message-box h3, #content .message-box h4, #content .message-box h5, #content .message-box h6, #content .message-box p, #content .message-box ul, #content .message-box ol {
	margin: 0;
}