/* RESET */
* {
	margin:0;
	padding:0;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
body {
	font:400 15px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	background:#000;
	color:#fff;
}
a,a:focus,a:active,a:visited {
	font-weight: bold;
	text-decoration:none;
	color:#fff;
}
a h3 {
	color:#fff;
}
a:hover {
	text-decoration:underline;
	color:#fff;
}

ul,ol {
	list-style:none;
}
h1 {
	font-size:2em;
	margin-bottom:25px;
}
h2 {
	font-size:1.4em;
	margin-bottom:25px;
}

.title {
	height:30px;
}

.wrapper {
	width:95%;
	position:relative;
	margin: 0 auto;
}
.main {
	width:100%;
	padding:10px 0;
	text-align:center;
}
.content {
	font-size:1.2em;
	max-width:1024px;
	text-align:left;
	margin:25px auto;
}
.content-text {
	margin:0 0 50px;
	color:#fff;
}

#header img {
	position:absolute;
	top:0;
	left:0;
	width:209px;
	height:137px;
}
#footer {
	font-size:0.8em;
	margin-top:25px;
	padding-top:4px;
	border-top:1px solid #222;
	color:#444;
}
#footer a,#footer a:hover {
	color:#666;
}
#footer .nav-design {
	float:left;
}
#footer .nav-social {
	float:right;
}
#footer .nav-social img {
	width:16px;
	height:16px;
	margin-right:8px;
	vertical-align:middle;
}
.clear {
	clear:both;
}

/* Navigation styling */
.nav {
	position:relative;
	display:inline-block;
	font-size:15px;
	font-weight:900;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.nav-list {

}
.nav-item {
	float:left;
	*display:inline;
	zoom:1;
}
.nav-item a {
	display:block;
	padding:15px 20px;
	color:#FFF;
	background:#222;
	border-right:1px solid #000;
	-webkit-transition-duration: 0.2s;
	-moz-transition-duration: 0.2s;
	-o-transition-duration: 0.2s;
	-ms-transition-duration: 0.2s;
	transition-duration: 0.2s;
}
.nav-item a:hover {
	text-decoration:none;
}
.sloganfull .sloganimg img,.sloganadmin .sloganimg img {
	border: 10px solid #fff;
}
.sloganimg img {
	margin:0 15px 15px 0;
	width:640px;
	height:480px;
	/*border:3px inset #fff;*/
	float:left;
}
.sloganssmall,.sloganadmin {
	text-align: center;
}
.sloganadmin img {
	float:none;
}
.slogansmall {
	text-align: justify;
	display:inline-block;
	margin:5px 10px;
	overflow:hidden;
}
.slogansmall .slogan {
	white-space:nowrap;
}
/*
.slogansmall .sloganimg {
	border:1px solid red;
	width:300px;
	height:225px;
	overflow:hidden;
}
.slogansmall .sloganimg img {
	width:300px;
	height:225px;
	margin: 0;
	float:none;
}
.slogansmall .sloganimg img:hover {
	border:3px outset #fff;
	width:400px;
	height:325px;
}
*/

/*
640 x 480
320 x 240

300 x 225
400 x 300
500 x 375
 */

.slogansmall .sloganimg {
	border: 10px solid #fff;
	float: left;
	width:300px;
	height:225px;
	overflow: hidden;
}

.slogansmall .sloganimg img {
	margin: 0;
	width:280px;
	height:210px;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
	-ms-transition: all 1s ease;
	transition: all 1s ease;

}

.slogansmall .sloganimg img:hover {
	width: 500px;
	height: 375px;
	margin: -40px 0 0 -50px;
}


#pagination {
}
#pagination img {
	width: 110px;
	height: 86px;
	margin:7px 9px;
	-webkit-transition-duration: 0.2s;
	-moz-transition-duration: 0.2s;
	-o-transition-duration: 0.2s;
	-ms-transition-duration: 0.2s;
	transition-duration: 0.2s;
}

#pagination img:hover {
	width: 128px;
	height: 100px;
	margin:0;
}

#pagination #prev img {
	float:left;
}
#pagination #next img {
	float:right;
}
.nav-item:first-child a {
	border-radius:5px 0 0 5px;
}
.nav-item:last-child a {
	border-radius:0 5px 5px 0;
}
.nav-item a:hover {
	background:#444;
}
/* Mobile Navigation */
.nav-mobile {
	display:none; /* Hide from browsers that don't support media queries */
	cursor:pointer;
	position:absolute;
	top:0;
	right:0;
	background:#222 url(../images/nav.svg) no-repeat center center;
	height:40px;
	width:40px;
	border-radius:5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
}
span.required {
	color:#f00;
}
form {
	width:60%;
	margin: 0 auto;
}
button {
	background-color:#fff;
	border:1px inset #fff;
	padding:5px 10px;
	margin-right:10px;
}
button:hover {
	background-color:#aaa;
	cursor:pointer;
}
button.btn_submit {
	margin-top:15px;
}
button.btn_delete {
	margin-bottom:15px;
	background-color:#f33;
	border:1px inset #f33;
}
button.btn_delete:hover {
	background-color:#f66;
}

input.field_text,input.field_password,input.field_email,textarea,select.field_select,input.field_number,button {
	border:1px inset #fff;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-o-border-radius: 4px;
	-ms-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
}
select {
	background-color:#fff;
	padding:3px 5px;
}
input,textarea {
	padding:3px 5px;
	color:#666;
	width:100%;
}
input.field_checkbox {
	width:20px;
	float:left;
	margin-top:5px;
}
input.field_number {
	width:100px;
}
textarea {
	height:100px;
}
label {
	display:block;
	margin-top:5px;
}
label span.remarks {
	font-size: 0.8em;
}

input#file_name {
	color:#fff;
	background-color:#000;
	border:0;
}

label.error {
	background: url('/images/alert.png') no-repeat;
	font-size: 0.8em;
	padding-left: 21px;
	color: #bf4040;
}



/* Messages */
.msg {
	width:50%;
	margin:15px auto;
	border: 1px solid;
	padding:15px 5px 15px 50px;
	background-repeat: no-repeat;
	background-position: 10px center;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	box-shadow: 0 5px 10px #000;
}

.msg .msgheader {
	padding: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: bold;
	margin-bottom: 0;
}

.msg.info {
	color: #00529B;
	background-color: #BDE5F8;
	background-image: url('/images/info.png');
}

.msg.success {
	color: #4F8A10;
	background-color: #DFF2BF;
	background-image: url('/images/success.png');
}

.msg.warning {
	color: #9F6000;
	background-color: #FEEFB3;
	background-image: url('/images/warning.png');
}

.msg.error {
	color: #D8000C;
	background-color: #FFBABA;
	background-image: url('/images/error.png');
}

.msg.validation {
	color: #D63301;
	background-color: #FFCCBA;
	background-image: url('/images/validation.png');
}

.msg.help,.msg.question {
	color: #00529B;
	background-color: #BDE5F8;
	background-image: url('/images/help.png');
}


/*
 * Table
 */
table.dataTable {
	margin: 0 auto;
	clear: both;
	width: 100%;
	color: #000;
}

table.dataTable thead th {
	color: #fff;
	padding: 3px 18px 3px 10px;
	border-bottom: 1px solid black;
	font-weight: bold;
	cursor: pointer;
	*cursor: hand;
}

table.dataTable tfoot th {
	padding: 3px 18px 3px 10px;
	border-top: 1px solid black;
	font-weight: bold;
}

table.dataTable td {
	padding: 0 2px;
	cursor: pointer;
}

table.dataTable td.center,
table.dataTable td.dataTables_empty {
	text-align: center;
}

table.dataTable tr.odd { background-color: #ddd; }
table.dataTable tr.even { background-color: #aaa; }

table.dataTable tr.odd td.sorting_1 { background-color: #eee; }
table.dataTable tr.odd td.sorting_2 { background-color: #eee; }
table.dataTable tr.odd td.sorting_3 { background-color: #eee; }
table.dataTable tr.even td.sorting_1 { background-color: #bbb; }
table.dataTable tr.even td.sorting_2 { background-color: #bbb; }
table.dataTable tr.even td.sorting_3 { background-color: #bbb; }

table.dataTable tr.odd:hover td { background-color: #fff !important; }
table.dataTable tr.even:hover td { background-color: #ccc !important; }

/*
 * Table wrapper
 */
.dataTables_wrapper {
	position: relative;
	clear: both;
	*zoom: 1;
}


/*
 * Page length menu
 */
.dataTables_length {
	float: left;
}


/*
 * Filter
 */
.dataTables_filter {
	float: right;
	text-align: right;
}


/*
 * Table information
 */
.dataTables_info {
	clear: both;
	float: left;
}


/*
 * Pagination
 */
.dataTables_paginate {
	float: right;
	text-align: right;
}

/* Two button pagination - previous / next */
.paginate_disabled_previous,
.paginate_enabled_previous,
.paginate_disabled_next,
.paginate_enabled_next {
	height: 19px;
	float: left;
	cursor: pointer;
	*cursor: hand;
	color: #111 !important;
}
.paginate_disabled_previous:hover,
.paginate_enabled_previous:hover,
.paginate_disabled_next:hover,
.paginate_enabled_next:hover {
	text-decoration: none !important;
}
.paginate_disabled_previous:active,
.paginate_enabled_previous:active,
.paginate_disabled_next:active,
.paginate_enabled_next:active {
	outline: none;
}

.paginate_disabled_previous,
.paginate_disabled_next {
	color: #666 !important;
}
.paginate_disabled_previous,
.paginate_enabled_previous {
	padding-left: 23px;
}
.paginate_disabled_next,
.paginate_enabled_next {
	padding-right: 23px;
	margin-left: 10px;
}

.paginate_enabled_previous { background: url('/images/back_enabled.png') no-repeat top left; }
.paginate_enabled_previous:hover { background: url('/images/back_enabled_hover.png') no-repeat top left; }
.paginate_disabled_previous { background: url('/images/back_disabled.png') no-repeat top left; }

.paginate_enabled_next { background: url('/images/forward_enabled.png') no-repeat top right; }
.paginate_enabled_next:hover { background: url('/images/forward_enabled_hover.png') no-repeat top right; }
.paginate_disabled_next { background: url('/images/forward_disabled.png') no-repeat top right; }

/* Full number pagination */
.paging_full_numbers {
	height: 22px;
	line-height: 22px;
}
.paging_full_numbers a:active {
	outline: none
}
.paging_full_numbers a:hover {
	text-decoration: none;
}

.paging_full_numbers a.paginate_button,
.paging_full_numbers a.paginate_active {
	border: 1px solid #aaa;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 2px 5px;
	margin: 0 3px;
	cursor: pointer;
	*cursor: hand;
	color: #333 !important;
}

.paging_full_numbers a.paginate_button {
	background-color: #ddd;
}

.paging_full_numbers a.paginate_button:hover {
	background-color: #ccc;
	text-decoration: none !important;
}

.paging_full_numbers a.paginate_active {
	background-color: #99B3FF;
}


/*
 * Processing indicator
 */
.dataTables_processing {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 250px;
	height: 30px;
	margin-left: -125px;
	margin-top: -15px;
	padding: 14px 0 2px 0;
	border: 1px solid #ddd;
	text-align: center;
	color: #999;
	font-size: 14px;
	background-color: white;
}


/*
 * Sorting
 */
.sorting { background: url('/images/sort_both.png') no-repeat center right; }
.sorting_asc { background: url('/images/sort_asc.png') no-repeat center right; }
.sorting_desc { background: url('/images/sort_desc.png') no-repeat center right; }

.sorting_asc_disabled { background: url('.images/sort_asc_disabled.png') no-repeat center right; }
.sorting_desc_disabled { background: url('/images/sort_desc_disabled.png') no-repeat center right; }

table.dataTable thead th:active,
table.dataTable thead td:active {
	outline: none;
}


/*
 * Scrolling
 */
.dataTables_scroll {
	clear: both;
}

.dataTables_scrollBody {
	*margin-top: -1px;
	-webkit-overflow-scrolling: touch;
}

/* Manual images */
img.manual {
	width:320px;
	height:240px;
	border:5px solid #fff;

}
img.manual.left {
	float:left;
	margin:0 20px 10px 0;
}
img.manual.right {
	float:right;
	margin:0 0 10px 20px;
}


/* Stars */
.star {
	display: inline-block;
	margin: 0 0 -8px 0;
	padding: 0;
	width: 108px;
	height: 28px;
	border:4px solid #fff;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	overflow: visible !important;
}
.grey {
	display: block;
	width: 100px;
	height: 20px;
	background: url('/images/star-grey.png') repeat-x;
}

.gold {
	display: block;
	margin-top: -20px;
	width: 0;
	height: 20px;
	background: url('/images/star-gold.png') repeat-x;
	overflow: visible !important;
}

#pid {
	display:none;
}
#vote {
	white-space:nowrap;
}
#votemsg {
	margin-left:10px;
}
/* Media Queries */
@media only screen and (max-width: 1300px) {
	#header img {
		position:relative;
		float:left;
	}
}

@media only screen and (max-width: 1100px) {

	.nav-item a {
		padding:15px 10px;
	}
}

@media only screen and (max-width: 900px) {
	.sloganimg img {
		margin:5px auto;
		display: block;
		float:none;
	}

}

@media only screen and (max-width: 640px) {
	.sloganimg img {
		width:100%;
		height:auto;
	}
	img.manual {
		width:100%;
		height:auto;
		float:none;
		margin:20px 0;
	}

}

/* Media Queries */
@media only screen and (max-width: 768px) {
	form {
		width:100%;
	}
	.nomobile {
		display:none;
	}
	.nav-mobile {
		display:block;
	}
	.nav {
		width:100%;
		padding:40px 0 0;
	}
	.nav-list {
		display:none;
	}
	.nav-item {
		width:100%;
		float:none;
	}
	.nav-item a {
		padding:10px;
		border-bottom:1px solid #000;
		border-right:none;
	}
	.nav-item:first-child a {
		border-radius:5px 0 0;
	}
	.nav-item:last-child a {
		border-radius:0 0 5px 5px;
	}
	.nav-active {
		display:block;
	}
	.nav-mobile-open {
		border-radius:5px 5px 0 0;
		-webkit-border-radius:5px 5px 0 0;
		-moz-border-radius:5px 5px 0 0;
	}
	#footer .nav-design, #footer .nav-social {
		float:none;
	}
}

@media only screen and (max-width: 410px) {

	.content-text {
		text-align:justify;
	}

	#header img {
		float:none;
	}
	h1 {
		margin:0;
	}
}