html {
	width: 100%;
	height: 100%;
}

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

iframe {
	max-width: 100%;
}

h1, h2, h3, h4, h5, h6, p, blockquote, ul, ol {
	margin: 1em 0;
}
h4 {
	margin: 1.5em 0 0;
}
h5 {
	margin: 1.5em 0 0;
}
h6 {
	margin: 1em 0 -1em;
}
p.date {
    color: #999999;
}
blockquote {
	position: relative;
	padding: 0 50px;
	font-style: italic;
}
blockquote::before {
	position: absolute;
	top: 0;
	left: 20px;
	content: '\201C';
	font-family: serif;
	font-size: 50px;
	line-height: 20px;
	font-style: italic;
	color: #999999;
}
blockquote::after {
	position: absolute;
	bottom: 0;
	right: 20px;
	content: '\201D';
	font-family: serif;
	font-size: 50px;
	line-height: 20px;
	font-style: italic;
	color: #999999;
}
ul, ol {
	padding: 0 0 0 30px;
}
ul li, ol li {
	margin: 0.2em 0;
	padding: 0;
}
ul li ul, ol li ul, ul li ol, ol li ol {
	margin-top: 0;
	margin-bottom: 0;
}

i {
	vertical-align: middle;
}

hr {
	border: 0;
	border-bottom: 1px solid #CCCCCC;
	margin: 1.5em 0;
	padding: 0;
	height: 0;
}

.admin-bar {
	font-family: Helvetica, sans-serif;
	position: fixed;
	top:0;
	left: 0;
	width: 100%;
	height: 30px;
	background: #333333;
	z-index: 1000;
	color: #FFFFFF;
	font-size: 16px;
	line-height: 30px;
}
.admin-bar p {
	margin: 0 15px;
	display: inline;
}
@media (max-width: 500px) {
	.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;
}
.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: 10px 20px;
}
.admin-bar .admin-menu li ul li a i {
	float: left;
}
.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%;
}
.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;
}
.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 {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 900;
	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 {
	position: fixed;
	top: 10%;
	left: 0;
	right: 0;
	bottom: 10%;
	margin: 0 auto;
	width: 75%;
	min-width: 920px;
	padding: 0 10px 100px;
	background: #EEEEEE;
	box-shadow: 0 0 20px #000000;
	overflow: auto;
	color: #333333;
	z-index: 901;
}
#page-text-edit-wrapper .page-text-edit-box .form-row.buttons {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 10%;
	margin: 0 auto;
	padding: 10px;
	width: 75%;
	min-width: 920px;
	z-index: 902;
}
#page-text-edit-wrapper .page-text-edit-box .close-button {
	position: fixed;
	top: 10%;
	left: 0;
	right: 0;
	height: 0;
	margin: 10px auto;
	padding: 0 10px;
	width: 75%;
	min-width: 920px;
	text-align: right;
	z-index: 903;
}
#page-text-edit-wrapper .page-text-edit-box .close-button i {
	padding: 10px;
}
@media (max-width: 1000px) {
	#page-text-edit-wrapper .page-text-edit-box {
		width: 92%;
		min-width: 0;
	}
	#page-text-edit-wrapper .page-text-edit-box .form-row.buttons {
		width: 92%;
		min-width: 0;
	}
	#page-text-edit-wrapper .page-text-edit-box .close-button {
		width: 92%;
		min-width: 0;
	}
}
#page-text-edit-wrapper .page-text-edit-box h2 {
	margin: 0;
}

#wrapper {
	min-height: 100%;
}

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

#content .admin-menu i {
	display: none;
}

.columns {
	margin: 0 -2%;
}
.columns .column {
	float: left;
	width: 46%;
	padding: 0 2%;
	margin: 0;
}
.columns-3 .column {
	width: 29.333%;
}
.columns-4 .column {
	width: 21%;
}
@media (max-width: 800px) {
	.columns-4 .column {
		width: 46%;
	}
}
@media (max-width: 700px) {
	.columns-3 {
		margin: 0;
		height: auto !important;
	}
	.columns-3 .column {
		float: none;
		width: auto;
		height: auto !important;
		padding: 0;
	}
}
@media (max-width: 600px) {
	.columns {
		margin: 0;
		height: auto !important;
	}
	.columns .column {
		float: none;
		width: auto;
		height: auto !important;
		padding: 0;
	}
}

.grid {
	margin: 1em 0;
	clear: both;
}
.grid-item {
	float: left;
	width: 33.333%;
	height: 290px;
	text-align: center;
	position: relative;
	transition-duration: 0.2s;
	transition-property: box-shadow;
}
@media (max-width: 700px) {
	.grid-item {
		width: 50%;
	}
}
@media (max-width: 450px) {
	.grid-item {
		width: 100%;
	}
}
@media (min-width: 1600px) {
	.grid-item {
		width: 25%;
	}
}
@media (min-width: 2000px) {
	.grid-item {
		width: 20%;
	}
}
.grid-item .grid-item-border {
	padding: 10px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
.grid-item:hover .grid-item-border {
	background: #EEEEEE;
}

label {
	font-size: 16px;
	line-height: 20px;
}
input.text, input.file, select, textarea {
	font-family: Helvetica, sans-serif;
	border: 1px solid #333333;
	border-radius: 0;
	padding: 10px;
	font-size: 16px;
	line-height: 20px;
	background: #EEEEEE;
	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;
	border-color: #000000;
}
.error input.text, .error input.file, .error select, .error textarea {
	color: #CC0000;
	background: #FFEEEE;
	border-color: #CC0000;
}

button {
	font-family: Helvetica, sans-serif;
	font-weight: bold;
	font-size: 16px;
	line-height: 20px;
	border: 0 none;
	border-radius: 0;
	padding: 0;
	margin: 0 10px;
	background: none;
	cursor: pointer;
	vertical-align: middle;
	transition-duration: 0.2s;
	transition-property: color, background, border, box-shadow;
}
button span {
	display: block;
	border: #000000;
	border: 1px solid rgba(0, 0, 0, 0.5);
	border-radius: 3px;
	background: #999999;
	color: #FFFFFF;
	transition-duration: 0.2s;
	transition-property: color, background, border, box-shadow;
}
button span span {
	border: 1px solid rgba(255, 255, 255, 0.5);
	padding: 15px 25px;
	background: none;
	box-shadow: 0 5px 20px rgba(255, 255, 255, 0.5) inset;
}
button:hover span span, button:focus span span {
	background: rgba(255, 255, 255, 0.2);
}
button:active {
	transition-duration: 0.1s;
}
button:active span {
	transition-duration: 0.1s;
}
button:active span span {
	transition-duration: 0.1s;
	border: 1px solid rgba(0, 0, 0, 0.5);
	background: none;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5) inset;
}
button.small span span {
	padding: 9px 25px;
}

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

.block-form {
	margin: 1em 0;
}
.form-row {
	margin: 1em 0;
	text-align: left;
	clear: both;
}
.form-row.buttons {
	text-align: right;
}
.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: 60%;
	min-height: 40px;
	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 {
	min-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 img {
		max-width: 100%;
	}
	.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: #CCCCCC;
	margin: 20px 0;
	padding: 10px;
}
.toolbar input.text {
	width: 300px;
}
.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: bold;
}

a.new {
	text-decoration: none;
	padding: 2px 0;
	color: #009900;
}
a.new:hover {
	color: #00CC00 !important;
}
a.edit {
	text-decoration: none;
	padding: 2px 0;
}
a.lock {
	text-decoration: none;
	padding: 2px 0;
	color: #996600;
}
a.lock:hover {
	color: #CC9900 !important;
}
a.unlock {
	text-decoration: none;
	padding: 2px 0;
	color: #996600;
}
a.unlock:hover {
	color: #CC9900 !important;
}
a.delete {
	text-decoration: none;
	padding: 2px 0;
	color: #990000;
}
a.delete:hover {
	color: #CC0000 !important;
}

/*a.new {
	background: url(../img/add-icon.png) left no-repeat;
	padding: 2px 0 2px 22px;
}
a.new:hover {
	color: #009900;
}
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.unlock:hover {
	color: #CC9900;
}
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;
}
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: #999999;
	color: #FFFFFF;
}
table thead a, table tfoot a {
	color: #FFFFFF !important;
}
table tbody tr:hover th, table tbody tr:hover td {
	background: #EEEEEE;
}
table tbody tr.selected th, table tbody tr.selected td {
	background: #DDDDDD;
}
table tbody tr.admin th, table tbody tr.admin td {
	color: #009900;
}
table tbody tr.locked th, table tbody tr.locked td {
	color: #996600;
}
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;
}
.ui-datepicker table tbody tr:hover th, .ui-datepicker table tbody tr:hover td {
	background: none !important;
}
.ui-datepicker table thead th, .ui-datepicker table thead td, .ui-datepicker table tfoot th, .ui-datepicker table tfoot td {
	background: none !important;
	color: #222222 !important;
}

.message {
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
}
.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: 500;
}
#image-popup {
	position: fixed;
	background: #FFFFFF;
	color: #2B2E34;
	font-size: 14px;
	padding: 0;
	box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.5);
	overflow: auto;
	z-index: 5000;
	transition-duration: 0.3s;
	transition-property: padding, font-size, box-shadow, transform;
}
#image-popup img {
	display: block;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}
#image-popup .close-button {
	color: #EEEEEE;
	text-shadow: 0 0 2px #000000;
}
#image-popup .close-button:hover {
	color: #FFFFFF !important;
}

#nav ul.mobile-menu {
	display: none;
}
@media (max-width: 700px) {
	#nav ul.mobile-menu {
		display: block;
	}
	#nav ul.menu {
		position: fixed;
		top: 0;
		left: -300px;
		bottom: 0;
        height: auto;
		width: 250px;
		background: #FFFFFF;
		box-shadow: 0 0 10px #000000;
		z-index: 100;
        overflow: auto;
		transition-duration: 0.5s;
		transition-property: left;
	}
	.admin #nav ul.menu {
		top: 30px;
	}
	.expanded-mobile-menu #nav ul.menu {
		left: 0;
	}
	#nav ul.menu li {
		float: none;
		display: block;
		margin: 0;
		padding: 0;
	}
}
.promo {
	overflow: hidden;
	height: 400px;
	position: relative;
	margin: 0;
}
.promo .promo-box {
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #f8f8f8;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.15) inset;
}
.promo .promo-box .image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	line-height: 350px;
}
.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: 0;
	left: 0;
	width: 100%;
	max-height: 100%;
}
.promo .promo-box .extra-content .extra-content-inner {
	padding: 1px 20px;
	margin: 10px;
	background: #FFFFFF;
	background: rgba(255, 255, 255, 0.7);
	color: #000000;
	border-radius: 0.2em;
	color: #000000;
}
.promo .promo-box .extra-content h1 {
	margin: 0.4em 0;
	color: #000000;
}
.promo .promo-box .extra-content h2 {
	margin: 0.4em 0;
	color: #000000;
}
.promo .promo-box .extra-content h3 {
	margin: 0.5em 0;
	color: #000000;
}
.promo .promo-box .extra-content h4 {
	margin: 0.6em 0;
	color: #000000;
}
.promo .promo-box .extra-content h5 {
	margin: 0.7em 0;
	color: #000000;
}
.promo .promo-box .extra-content h6 {
	margin: 0.7em 0;
	color: #000000;
}
.promo .promo-box .extra-content p {
	margin: 0.7em 0;
	color: #000000;
}
.promo .promo-box .extra-content ul, .promo .promo-box .extra-content ol {
	margin: 0.7em 0;
	color: #000000;
}
.promo .promo-box .promo-link {
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

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

#scroll-top-button {
	position: fixed;
	bottom: 10px;
	right: 10px;
	background: rgba(0, 0, 0, 0.3);
	width: 40px;
	text-align: center;
	border-radius: 5px;
}
#scroll-top-button i {
	line-height: 40px;
	color: #FFFFFF;
}