/** General **/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

html,
body {
	height: 100%;
}

body {
	font-family: arial;
	font-size: 12px;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

table td {
	padding: 0;
}

#container {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -30px;
}

a img {
	border: 0;
}

.nowrap {
    white-space: nowrap;
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
}

p {
	padding-bottom: 15px;
}

li {
	margin-left: 15px;
}

.clear {
	clear: both;
	content: " ";
	display: table;
}

.hr {
	border-top: 1px solid #ebebeb;
	margin-top: 10px;
	margin-bottom: 10px;
	height: 1px;
}

fieldset {
	border: 0;
	border-top: 1px solid #ebebeb;
	padding: 0;
	padding-left: 1px;
}

legend {
	padding-bottom: 8px;
	padding-top: 5px;
	padding-left: 10px;
	padding-right: 10px;
	margin-left: 10px;
	background-color: #fff;
	font-weight: bold;
	display: block;
}

.fullwidth {
	width: 100%;
}

/****/




/** Headers **/

h2 {
	font-size: 18px;
}

h3 {
	font-size: 16px;
}

h4 {
	font-size: 12px;
	text-transform: uppercase;
}

/****/



/** Warnings and errors **/

#cookies_not_accepted {
	display: none;
}

#fatal_error {
	border: 1px solid red;
	padding: 10px;
	line-height: 17px;
	padding-left: 60px;
	font-size: 12px;
	font-family: arial;
	background: #FFFAFA url('../img/error.gif') 10px 10px no-repeat;
}

#fatal_error a {
	color: #000;
}

.error {
	border: 1px solid red;
	padding: 10px;
	padding-left: 40px;
	margin-top: 5px;
	margin-bottom: 5px;
	
	background: #FFFAFA url('../img/error_small.gif') 10px 9px no-repeat;
}

#warning {
	border: 1px solid #FDFF4F;
	padding: 10px;
	margin: 25px;
	line-height: 17px;
	padding-left: 60px;
	font-size: 12px;
	font-family: arial;
	
	min-height: 30px;
	_height: 30px;
	background: #FFFFEF url('../img/warning.gif') 10px 10px no-repeat;
	display: none;
}

.userwarning {
	border: 1px solid #FDFF4F;
	padding: 10px;
	margin-bottom: 15px;
	line-height: 17px;
	padding-left: 40px;
	font-size: 12px;
	font-family: arial;
	background: #FFFFEF url('../img/warning_small.gif') 10px 10px no-repeat;
}

#devsite_warning {
	border: 1px solid #FDFF4F;
	padding: 5px 40px;
	color: #222;
	font-weight: bold;
	line-height: 14px;
	font-size: 11px;
	font-family: arial;
	background: #FFFFEF url('../img/warning_small.gif') 15px 4px no-repeat;
}

/****/



/** Other information **/

.success {
	border: 1px solid #5FEF2C;
	padding: 10px;
	margin-bottom: 15px;
	padding-left: 40px;
	
	line-height: 17px;
	font-size: 12px;
	font-family: arial;
	background: #F3FFEF url('../img/success_small.gif') 10px 10px no-repeat;
}

.info {
	border: 1px solid #00aeef;
	padding: 10px;
	margin-bottom: 15px;
	padding-left: 40px;
	
	line-height: 17px;
	font-size: 12px;
	font-family: arial;
	background: #f5fcfe url('../img/info.gif') 10px 9px no-repeat;
}

.info a {
	text-decoration: none;
	margin-left: 8px;
	font-weight: bold;
}

.info a:hover {
	text-decoration: underline;
}

.info .submitbutton {
	background-color: #fff;
	border-color: #00aeef;
}

.question {
	border: 1px solid #E87F05;
	padding: 10px;
	margin-bottom: 15px;
	padding-left: 40px;
	
	line-height: 17px;
	font-size: 12px;
	font-family: arial;
	background: #FFF8EF url('../img/critical.gif') 10px 9px no-repeat;
}

.question a {
	text-decoration: none;
	margin-left: 8px;
	font-weight: bold;
}

.question a:hover {
	text-decoration: underline;
}

.question .submitbutton {
	background-color: #fff;
	border-color: #E87F05;
}




/** Element information **/

#element-info {
	display: none;
	position: absolute;
	z-index: 3;
}

#element-info-content {
	padding: 10px 15px;
	/*padding-left: 40px;*/
	font-size: 11px;
	margin-left: -1px;
	width: 250px;
	float: left;
	
	box-shadow: 0px 0px 5px #ccc;
	-moz-box-shadow: 0px 0px 5px #ccc;
	-webkit-box-shadow: 0px 0px 5px #ccc;
	
	border: 1px solid #bbb;
	background: #fff; /* url('../img/info.gif') 10px 9px no-repeat;*/
	
	opacity: 0.9;
	filter: alpha(opacity=90);
}

#element-info-arrow {
	background: url('../img/element_info_arrow.gif') top left no-repeat;
	width: 6px;
	height: 10px;
	margin-top: 6px;
	position: relative;
	z-index: 4;
	float: left;
}

#element-info-content .dot {
	color: #fff;
	padding-left: 5px;
	
	/*position: absolute;
	bottom: 0;
	right: 0;
	height: 5px;
	width: 5px;
	background: #ccc;
	display: block;*/
}

.element-info-icon {
	margin-left: 4px;
	margin-right: -24px;
	margin-top: 2px;
	vertical-align: top;
	cursor: pointer;
}

.info-content {
	display: none;
}

.mce-tinymce {
	display: inline-block !important;
	/*width: 100% !important;*/
	box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
    min-width: 600px;
}

/****/



/** Debug **/

#debug {
	background-color: #FFFFEF;
	border: 1px solid #FDFF4F;
	padding: 10px;
	margin: 15px;
	font-size: 11px;
	margin-top: 20px;
}

#debug h2 {
	font-family: arial;
	font-size: 14px;
}

/****/



/** Top bar & menu **/

#top_bar {
	background-color: #ebebeb;
	padding: 15px;
	padding-bottom: 0;
}

#top_bar h2 {
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
}

#top_bar h2 a {
	text-decoration: none;
}

#top_bar a {
	color: #000;
}

#topmenu {
	float: right;
	padding-right: 10px;
	text-align: right;
	font-size: 11px;
}


#topmenu h3 {
	margin-top: 5px;
	font-size: 14px;
	
}

#topmenu h3 a {
	text-decoration: none;
}

#mainmenu {
	min-height: 25px;
}

#mainmenu li, #submenu li {
	list-style-type: none;
	float: left;
	margin: 0;
}

#mainmenu li a {
	height: 25px;
	color: #FFF;
	text-decoration: none;
	text-shadow: #666 1px 1px 2px;
	font-weight: bold;
	display: block;
	background-color: #8F8F8F;
	padding: 5px 10px;
	margin-right: 2px;
}

#mainmenu li.access-warning a:after {
	background: url('../img/warning_small.png');
	background-size: contain;
	width: 10px;
	height: 10px;
	display: inline-block;
	position: relative;
	top: -2px;
	margin-left: 4px;
	margin-right: -5px;
	content: " ";
}

#mainmenu li a.active {
	text-shadow: none;
	background-color: white;
	color: #000;
}

#submenu {
	clear: both;
	margin-top: 10px;
	font-size: 11px;
	padding-left: 15px;
	margin-bottom: 10px;
}

#submenu li a {
	color: #000;
	text-decoration: none;
	display: block;
	padding: 0px 10px;
	border-right: 1px solid #000;
}

#submenu li.access-warning a:after {
	background: url('../img/warning_small.png');
	background-size: contain;
	width: 8px;
	height: 8px;
	display: inline-block;
	position: relative;
	top: -3px;
	margin-left: 4px;
	margin-right: -5px;
	content: " ";
}

#submenu li a.active {
	font-weight: bold;
}

/****/




/** Content **/

#content {
	clear: both;
	padding: 25px;
	padding-top: 20px;
	border-top: 1px solid #ebebeb;
}

#content a {
	color: #000; 
}

#content h1, #content h2, #content h3, #content h4 {
    margin-bottom: 4px;
}

/****/





/** Search form **/

.search {
	box-shadow: 3px 3px 10px #f3f3f3;
	-moz-box-shadow: 3px 3px 10px #f3f3f3;
	-webkit-box-shadow: 3px 3px 10px #f3f3f3;
	
	padding: 3px;
	width: 100%;
	font-size: 11px;
	border: 1px solid #ebebeb;
	border-collapse: separate;
	
	margin-bottom: 15px;
}

.search td {
	line-height: 17px;
	padding: 2px 4px;
	border: 0;
}

.search tr.search_row td {
	display: none;
}

.search tr.initial td {
	display: table-cell;
}

.search tr.search_row_first td img {
	vertical-align: top;
	margin-bottom: 3px;
}

.search thead td {
	font-style: italic;
	padding-left: 8px;
}

.search .header td {
	background: #8f8f8f; /*url('../img/list_header_bg.gif') bottom repeat-x;*/
	
	color: #fff;
	padding: 4px 8px;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: bold;
	text-shadow: #666 1px 1px 2px;
	font-style: normal;
}

.search .footer td {
	padding-top: 8px;
	padding-bottom: 5px;
}

.search select {
	width: 100%;
}

.search input.txtinput {
	padding: 3px;
	width: 100%;
}

.summary {
	border: 1px solid #ebebeb;
	padding: 10px;
	margin-bottom: 15px;
	padding-left: 40px;
	
	line-height: 17px;
	font-size: 12px;
	font-family: arial;
	background: #f9f9f9 url('../img/info.gif') 12px 10px no-repeat;
	
	box-shadow: 3px 3px 10px #f3f3f3;
	-moz-box-shadow: 3px 3px 10px #f3f3f3;
	-webkit-box-shadow: 3px 3px 10px #f3f3f3;
}

.summary .list_buttons {
	margin: 0;
	margin-top: 15px;
	border: 0;
	padding: 0;
}

/****/




/** Lists **/

table.list {
    table-layout: fixed;
}

table.unfixed {
    table-layout: auto;
}

.list {
	box-shadow: 3px 3px 10px #f3f3f3;
	-moz-box-shadow: 3px 3px 10px #f3f3f3;
	-webkit-box-shadow: 3px 3px 10px #f3f3f3;

	border-collapse: separate;
	
	padding: 3px;
	width: 100%;
	font-size: 11px;
	border: 1px solid #ebebeb;
}

.list .even {
	background-color: #fff;
}

.list .odd {
	background-color: #fff;
}

.list tr.highlight td {
	background-color: #fffff1;
}

.list td {
	line-height: 17px;
	padding: 4px 5px;
	border-bottom: 1px solid #ebebeb;
	border-left: 1px solid #f7f7f7;
	box-sizing: content-box;
	-moz-box-sizing: content-box;
}

.list .header, .list .header:hover {
	background: #8f8f8f; /*url('../img/list_header_bg.gif') bottom repeat-x;*/
	
	color: #fff;
	padding: 4px 5px;
	font-size: 12px;
	font-weight: bold;
	text-shadow: #666 1px 1px 2px;
	
}

.list .footer, .list .footer:hover {
	background: #fff;
}

.list .header td {
	border: 0;
}

.list .footer td {
	padding: 1px 5px;
	font-size: 11px;
	border: 0;
	padding: 6px;
}

.list_buttons {
	font-size: 11px;
	margin-bottom: 8px;
	border: 1px solid #ebebeb;
	padding: 5px;
	padding-left: 10px;
	padding-top: 0;
	width: 250px;
	line-height: 18px;
}

.list_buttons img {
	margin-right: 5px;
}

.list_buttons a,
.td_menu a {
	display: block;
	margin-top: 5px;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.list_buttons a img,
.td_menu a img {
	vertical-align: middle;
}

.list li {
	list-style-type: none;
	padding: 3px 15px;
	line-height: 17px;
}


#content .list td a {
	color: #2F8CBF;
	text-decoration: none;
}

#content .list img {
	vertical-align: middle;
}

#content .list td a:hover {
	text-decoration: underline;
}


#content .list_buttons a {
	text-decoration: none;
	color: #000;
}

#content .list_buttons a:hover {
	color: #4F4F4F;
}

#content .list .header a {
	color: #fff;
}

#content .list .list_buttons {
	margin: 0;
	margin-top: 2px;
}

#content .list .list_buttons a {
	color: #000;
	text-decoration: none;
}

#content .list .list_buttons a:hover {
	color: #444;
	text-decoration: none;
}

/****/





/** Forms **/

.form {
	font-size: 11px;
}

.form td {
	padding: 2px 5px;
}

.form td {
	line-height: 20px;
}

.form .label {
	padding-right: 10px;
	text-align: right;
	vertical-align: top;
}

input.txtinput {
	border: 1px solid #bfbfbf;
	padding: 3px 6px;
	font-size: 11px;
}

.form input.txtinput {
	width: 100%;
}

.form input.checkbox,
.form input.radio {
	vertical-align: middle;
	margin-bottom: 1px;
	margin-right: 3px;
}

textarea.txtarea {
	border: 1px solid #bfbfbf;
	font-size: 11px;
	font-family: arial;
	padding: 3px 6px;
}

.form textarea.txtarea {
	width: 100%;
	min-width: 600px;
	height: 100px;
}

.form textarea.big {
	height: 300px;
}

select {
	border: 1px solid #bfbfbf;
	padding: 2px;
	font-size: 11px;
}

.list select {
	padding: 1px;
	font-size: 10px;
}

.form select {
	font-size: 11px;
}

select option {
	padding-right: 10px;
	padding-left: 2px;
}

input.submitbutton {
	border: 1px solid #bfbfbf;
	background-color: #ebebeb;
	padding: 3px 10px;
	font-size: 11px;
}

input.readonly {
	background: #f6f6f6;
	color: #777;
}

/****/



/** Login **/

#login {
	margin: auto;
	width: 300px;
	padding-top: 30px;
}

	#login .form {
		width: 100%;
	}

	#login fieldset {
		margin: 0;
		margin-top: 10px;
		margin-bottom: 40px;
		padding-top: 0;
		overflow: hidden;
	}

		#login fieldset.first {
			margin-left: 0;
		}

		#login fieldset legend {
			background: transparent;
		}

	#login .form input.txtinput {
		width: 100%;
	}

	#login .form input.submitbutton {
		width: 60px;
	}

	#login #logo {
		display: block;
		margin: auto;
		padding-left: 30px;
	}

	#login .fb-login {
		display: block;
		border-radius: 3px;
		background: #004B8D;
		padding: 10px;
		color: #fff;
		font-weight: bold;
		text-decoration: none;
		margin: auto;
		text-align: center;
	}


	#login .facebook-user {
		border: 1px solid #ccc;
		border-radius: 3px;
		padding: 10px;
		margin-bottom: 15px;
		line-height: 16px;
	}

		#login .facebook-user img {
			float: left;
			height: 32px;
			width: 32px;
			margin-right: 15px;
		}

		#login .facebook-user span {
			display: block;
		}

/****/


/** Image preview **/

#image-preview {
    background: #fff;
    border: 1px solid #bfbfbf;
    padding: 5px;
    z-index: 999;
    
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    
    box-shadow: 3px 3px 10px #ccc;
	-moz-box-shadow: 3px 3px 10px #ccc;
	-webkit-box-shadow: 3px 3px 10px #ccc;
	
	display: none;
}

#image-preview img {
	display: block;
}

/****/


/** Page navigation **/

.pagenav a, .pagenav span {
    text-decoration: none;
    display: block;
    float: left;
    padding-top: 1px;
    margin-top: 2px;
    width: 20px;
    text-align: center;
    line-height: 18px;
    margin-right: 2px;
    color: #000 !important;
    
    border: 1px solid #ccc;
}

.pagenav span {
	border: 0;
}

.pagenav span.inactive {
	border: 1px solid #ccc;
}

.pagenav a:hover {
    background: #eee;
    text-decoration: none !important;
}

.pagenav a.pagenav_imgbutton {
    padding: 2px 2px;
    border: 0;
    background-position: center center;
    background-repeat: no-repeat;
    width: 10px;
    height: 17px;
}

.pagenav a.pagenav_imgbutton:hover {
	background-color: #fff;
}

.pagenav a.active {
    font-weight: bold;
    background: #eee;
}

.pagenav span.list {
    padding: 0;
}

.pagenav select {
    margin-right: 2px;
    margin-left: 15px;
    margin-top: 2px;
    padding: 2px;
}

.pagenav .previous-start { background-image: url('../img/icons/resultset_first.gif'); }
.pagenav .previous       { background-image: url('../img/icons/resultset_previous.gif'); }
.pagenav .forward-end    { background-image: url('../img/icons/resultset_last.gif'); }
.pagenav .forward        { background-image: url('../img/icons/resultset_next.gif'); }

/****/




/** Footer **/

#push {
	height: 30px;
}

#copyright {
	border-top: 1px solid #ebebeb;
	font-size: 10px;
	line-height: 29px;
	text-align: center;
	height: 29px;
}

#copyright a {
	color: #000;
	text-decoration: none;
}

#copyright img#toggle-debug {
	vertical-align: middle;
	margin-bottom: 2px;
}

/****/




/** Border radius **/

input.submitbutton,
textarea.txtarea,
input.txtinput,
select,
.info,
.question,
.success,
.userwarning,
#warning,
#debug,
.error,
.list,
.list_buttons,
.search,
.summary,
.pagenav a,
.pagenav span,
#element-info-content,
#fatal_error {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

#mainmenu li a,
.list .header {
	border-radius-topleft: 1px;
	border-radius-topright: 1px;
	
	-moz-border-radius-topleft: 1px;
	-moz-border-radius-topright: 1px;
	
	-webkit-border-radius-topleft: 1px;
	-webkit-border-radius-topright: 1px;
}

/****/