body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	color: #444444;
	text-align: left;
	margin: 0;
	width: 100%;
	height: 100%;
}
html {
	width: 100%;
	height: 100%;
}



.admin-bar {
	font-family: Arial, Helvetica, sans-serif;
	position: fixed;
	top:0;
	left: 0;
	width: 100%;
	height: 30px;
	background: #333333;
	z-index: 100000;
	color: #FFFFFF;
	font-size: 16px;
	line-height: 30px;
}
.admin-bar p {
	margin: 0 15px;
	display: inline;
}
@media (max-width: 400px) {
    .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: 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%;
}
.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: 400px;
	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 {
}

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

a {
	font-weight: bold;
	color: #200040;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

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

iframe {
	max-width: 100%;
}

h1 {
	font-size: 1.6em;
	font-weight: normal;
    color: #307230;
	margin: 20px 0;
}
h2 {
	font-size: 1.6em;
	font-weight: normal;
    color: #307230;
	margin: 20px 0;
}
h3 {
	font-size: 1.4em;
	font-weight: normal;
	color: #307230;
	margin: 15px 0;
}
h4 {
	font-size: 1.3em;
	font-weight: bold;
	margin: 15px 0;
}
h5 {
    font-size: 1.2em;
	font-weight: bold;
	margin: 10px 0;
}
h6 {
	font-size: 1.1em;
	font-weight: bold;
	margin: 10px 0 -10px;
}
p {
	margin: 10px 0;
}
ul, ol {
	margin: 10px 0;
	padding: 0 0 0 30px;
}
ul li, ol li {
	margin: 2px 0;
	padding: 0;
}

i {
    vertical-align: middle;
}

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

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

#header {
	font-size: 18px;
	font-weight: bold;
	color: #200040;
	height: 94px;
	padding: 10px 0;
	overflow: hidden;
}
#header a {
	font-weight: normal;
	color: #200040;
}
#header-left {
	float: left;
	padding: 10px;
	text-align: left;
    z-index:  1;
}
#header .logo {
    height: 100%;
}
#header .logo a {
    height: 100%;
}
#header .logo img {
    height: 100%;
}
#header-right {
    position: relative;
	float: right;
    padding: 30px 10px 0;
	text-align: right;
    z-index:  2;
}
#header-right img {
	vertical-align: middle;
}
@media (max-width: 400px) {
	#header-right {
		display: none;
	}
}

#nav {
	font-size: 18px;
	padding-bottom: 20px;
	overflow: hidden;
}
#nav a {
	font-weight: normal;
	color: #444444;
	text-decoration: none;
}
#nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#nav ul.menu {
	float: left;
	padding: 0 10px;
}
#nav ul.nav-right {
	float: right;
	padding: 0 10px;
}
#nav ul.nav-right a:hover, #nav ul.nav-right li:hover a, #nav ul.nav-right li.hover a, #nav ul.nav-right a:focus {
	color: #444444 !important;
	background: none !important;
	text-decoration: underline !important;
}
#nav ul.mobile-menu {
	float: left;
	padding: 0 10px;
    display: none;
    text-align: left;
}
#nav ul li {
    float: left;
    margin: 0;
    padding: 0;
	position: relative;
}
#nav ul.mobile-menu li {
	float: none;
	margin: 0;
	padding: 0;
	position: relative;
}
#nav ul li a {
    display: block;
	padding: 8px 12px;
    text-decoration: none;
	font-weight: normal;
	color: #444444;
	border-radius: 10px;
}
#nav ul li a:hover, #nav ul li a:focus, #nav ul li:hover > a, #nav ul li.hover > a {
	background: #307230;
	color: #FFFFFF;
}
@media (max-width: 800px) {
    #nav ul.menu {
        position: fixed;
        top: 0;
        left: -300px;
        bottom: 0;
        width: 240px;
		height: auto;
        text-align: left;
        background: #FFFFFF;
		padding: 10px;
        box-shadow: 5px 0 10px rgba(0, 0, 0, 0.2);
        transition-duration: 0.5s;
        transition-property: left;
        z-index: 20000;
        overflow: auto;
    }
    .expanded-mobile-menu #nav ul.menu {
        left: 0;
    }
    .admin #nav ul.menu {
        top: 30px;
    }
    #nav ul.menu li {
        display: block;
		float: none;
    }
    #nav ul.menu li a {
        padding: 15px;
    }
    #nav ul.mobile-menu {
        display: block;
    }
}

#main .wrapper {
    background: #FFFFFF;
    color: #333333;
    padding-bottom: 10px;
    min-height: calc(100vh - 300px);
}
#main .wrapper a {
    color: #333333;
}

#page-title {
	background: #307230 url('../img/bg_title.jpg') repeat center top;
	color: #FFFFFF;
	font-size: 25px;
	text-align: center;
	max-height: 500px;
	overflow: hidden;
}
#page-title * {
	color: #FFFFFF;
}
#page-title h1 {
	text-transform: uppercase;
	font-weight: bold;
}
#page-title .wrapper {
	padding: 38px 0;
}

#content {
    padding: 1px 20px;
}

#footer {
    font-size: 14px;
    background: #20122E;
	color: #FFFFFF;
    text-align: left;
    overflow: hidden;
	padding: 30px 0;
}
#footer a {
	color: #FFFFFF;
	font-weight: normal;
    text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}
#footer ul {
	list-style: none;
	padding: 0;
	font-size: 16px;
	margin: 10px;
	overflow: hidden;
}
#footer ul li {
	float: left;
	margin-right: 14px;
}
#footer-left {
    float: left;
}
#footer-right {
    float: right;
	text-align: right;
}
#footer-bottom {
	clear: both;
	padding: 20px 10px 5px;
}
@media (max-width: 900px) {
    #footer-left {
        float: none;
    }
}
@media (max-width: 600px) {
    #footer-middle {
        float: none;
    }
    #footer-right {
        float: none;
    }
}

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

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

button {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    font-size: 16px;
    line-height: 20px;
    border: 0 none;
    border-radius: 0;
    padding: 10px 25px;
    margin: 0 10px;
	background: #307230;
	text-shadow: 0 -1px 0 #0d1225;
    color: #FFFFFF;
    cursor: pointer;
    vertical-align: middle;
    transition-duration: 0.2s;
    transition-property: color, background, box-shadow;
}
button:hover, button:focus {
	background: #3b8b3b;
    text-shadow: 0 -1px 0 #113062;
}
button:active {
    transition-duration: 0.1s;
    background: #204d20;
    text-shadow: 0 -1px 0 #000000;
}

.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;
	border: 1px solid #CCCCCC;
    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: bold;
}

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.download {
	background: url(../img/download-icon.png) left no-repeat;
	padding: 2px 0 2px 22px;
}
a.download {
	background: url(../img/download-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;
}
a.restore {
	background: url(../img/restore-icon.png) left no-repeat;
	padding: 2px 0 2px 22px;
}
a.restore:hover {
	color: #CC0000;
}

.table-scroll {
	max-width: 100%;
	overflow: auto;
}
table {
    width: 100%;
    margin: 1em 0;
}
.ui-datepicker table {
    border-bottom: 2px solid #A4A7A9;
}
.ui-datepicker td {
    background: none !important;
}
table tr.not-paid th, table tr.not-paid td {
	color: #CC0000;
}
table th .cell-wrapper, table td .cell-wrapper {
    display: block;
    padding: 10px;
    position: relative;
}
table thead th, table thead td, table tfoot th, table tfoot td {
    background: #307230;
    color: #FFFFFF;
}
.ui-datepicker thead th, .ui-datepicker thead td {
	background: none !important;
	color: #333333;
}
table thead th a:hover, table thead td a:hover, table tfoot th a:hover, table tfoot td a:hover {
    color: #CCCCCC !important;
}
table thead a, table tfoot a {
    color: #FFFFFF !important;
}
table tbody tr th, table tbody tr td {
	border-bottom: 1px solid #EEEEEE;
}
table tbody tr:last-child th, table tbody tr:last-child td {
	border-bottom: 0 none;
}
table tbody tr:hover th, table tbody tr:hover td {
    background: #CCCCCC;
}
table tbody tr.selected th, table tbody tr.selected td {
    background: #999999;
}
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: bold;
    text-align: center;
    color: #307230;
}
.message.large {
    font-size: 1.5em;
    padding: 20px;
}

.breadcrumbs {
    margin: 20px 0;
    font-size: 0.8em;
}
.breadcrumbs ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumbs ul li {
    display: inline;
    margin: 0;
    padding: 0;
}
.breadcrumbs ul li .separator {
    margin: 0 5px;
}
#main .breadcrumbs ul li a {
    color: #666666;
    text-decoration: none;
}
#main .breadcrumbs ul li.active a {
    color: #333333;
    font-weight: bold;
}

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

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: #333333;
    font-size: 14px;
    padding: 0;
    box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.5);
    overflow: auto;
    z-index: 100000;
    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;
}

.item-list .description {
	max-width: 50%;
	min-width: 50%;
	width: 50%;
	min-height: 1.3em;
	height: 1.3em;
	vertical-align: top;
}
.item-list input.text.amount {
	width: 10%;
}