* {
	margin: 0;
	padding: 0;
}

img, fieldset, object, embed {
	border: none;
	border-collapse: collapse;
	outline: none;
}

object, embed {
	text-decoration: none;
	outline: none;
}

body {
	background: #050505 url(../img/core/bg_main.jpg) top center no-repeat;
	color: #d6a720;
	text-align: center;
	font: normal 12px/16px Arial, Verdana, sans-serif;
}

body#inline {
	background: none;
	text-align: left;
}

a:link, a:visited, a:active, a:hover {
	color: #d6a720;
	text-decoration: none;
	outline: none;
}

a:hover {
	text-decoration: underline;
}

span, label {
	color: #cb3801;
}

input {
	vertical-align: middle;
}

.text_left {
	text-align: left;
}

#container {
	width: 876px;
	margin: 0 auto;
}

#header {
	height: 337px;
	overflow: hidden;
}

#section_a {
	background: url(../img/core/bg_section_a.jpg) top left no-repeat;
	height: 141px;
	margin: 13px 0 0 0;
	position: relative;
}

#section_a #share_button {
	position: absolute;
	top: 90px;
	right: -13px;
}

#section_a p {
	padding: 24px 31px 0 352px;
}

#section_b {
	background: url(../img/core/bg_section_b.jpg) top left no-repeat;
	height: 309px;
	margin: 13px 0 0 0;
	position: relative;
}

#section_b #video {
	position: absolute;
	top: 14px;
	left: 12px;
	width: 416px;
	height: 282px;
	background: url(../img/core/loader.gif) center center no-repeat;
	border: 1px solid #212121;
}

#section_b #video_list {
	position: absolute;
	top: 83px;
	right: 13px;
	z-index: 50;
}

#section_b #video_list #videos_inner {
	width: 421px;
	height: 215px;
	position: relative;
	overflow: hidden;
}

#section_b #paging_loader {
	position: absolute;
	top: 83px;
	right: 13px;
	background: #121212 url(../img/core/loader.gif) center center no-repeat;
	width: 421px;
	height: 213px;
	z-index: 150;
}

#thumbnails div.video {
	width: 210px;
	height: 48px;
	overflow: hidden;
	font: normal 10px/12px Arial, Verdana, sans-serif;
	float: left;
	padding: 0 0 7px 0;
}

#thumbnails div.video a.thumb, #thumbnails div.video a.thumb_current {
	display: block;
	float: left;
	width: 62px;
	height: 46px;
	overflow: hidden;
	border: 1px solid #9d7627;
}

#thumbnails div.video a.thumb_current {
	border: 1px solid #cb3801;
}

#thumbnails div.video div.video_info {
	float: left;
	width: 115px;
	padding: 9px 0 0 12px;	
}

#thumbnails div.video div.video_info a {
	text-decoration: none;
}

#thumbnails div.video div.video_info em {
	font-style: normal;
}

#section_b #paging {
	background-color: #090909;
	width: 403px;
	height: 24px;
	border: 1px solid #232323;
	text-align: center;
	font: normal 10px/12px Arial, Verdana, sans-serif;
	color: #cb3801;
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 8px 8px 0 8px;
}

#section_b #paging a {
	color: #cb3801;
}

#section_b #paging a.current {
	color: #d6a720;
}

#section_b #paging a.back, #section_b #paging a.next {
	display: block;
	float: left;
	font: bold 12px Arial, Verdana, sans-serif;
	width: 45px;
	height: 14px;
	background: url(../img/core/btn_prev.gif) left 1px no-repeat;
	text-align: right;
	color: #d6a720;
}

#section_b #paging a.next {
	float: right;
	width: 49px;
	font: bold 14px Arial, Verdana, sans-serif;
	background: url(../img/core/btn_next.gif) right 1px no-repeat;
	text-align: left;
}


#section_c {
	background: url(../img/core/bg_section_c.jpg) top left no-repeat;
	width: 428px;
	height: 383px;
	overflow: hidden;
	float: left;
	margin: 13px 0;
	position: relative;
}

#section_c p {
	padding: 62px 18px 17px 22px;
}

#prize_boxes, #video_boxes {
	position: absolute;
	bottom: 52px;
	left: 22px;
	font: normal 9px/10px Arial, Verdana, sans-serif;
	width: 386px;
}

div.box_contact {
	float: left;
	width: 190px;
}

div.box_terms {
	float: right;
	width: 193px;
	text-align: right;
}

#prize_error, #upload_error {
	position: absolute;
	bottom: 17px;
	left: 22px;
	font: bold 10px/12px Arial, Verdana, sans-serif;
	color: #8c1f0f;
}

#prize_success {
	font-size: 16px;
	line-height: 22px;
	font-weight: bold;
}

#prize_form_loader, #video_form_loader {
	height: 383px;
	background: url(../img/core/loader.gif) center center no-repeat;
}

#video_form_loader {
	height: auto;
	padding: 75px 0 0 0;
	text-align: center;
}

#prize_form label {
	float: left;
	width: 110px;
	padding: 3px 0 0 22px;
	font-weight: bold;
}

#prize_form div.prize_field {
	float: right;
	padding: 0 19px 3px 0;
}

#prize_button {
	border: none;
	background: url(../img/core/btn_submit.gif) right bottom no-repeat;
	color: #d6a720;
	width: 136px;
	height: 27px;
	font: normal 12px/23px Arial, Verdana, sans-serif;
	text-align: left;
	display: block;
	bottom: 11px;
	right: 18px;
	position: absolute;
	cursor: pointer;
}

#prize_form div.prize_field input {
	width: 263px;
	height: 18px;
	padding: 3px 0 0 2px;
	color: #000;
	font: bold 12px Arial, Verdana, sans-serif;
	vertical-align: center;
}

#section_d {
	background: url(../img/core/bg_section_d.jpg) top left no-repeat;
	width: 434px;
	height: 383px;
	overflow: hidden;
	float: right;
	margin: 13px 0;
}

#upload_frame {
	width: 434px;
	height: 383px;
	border: none;
	overflow: hidden;
	background-color: transparent;
}

#video_form {
	position: relative;
	width: 434px;
	height: 383px;
	overflow: hidden;
}

#video_form input#VideoName {
	width: 179px;
}

#video_form input#VideoState {
	width: 30px;
}

#video_form p {
	padding: 62px 18px 17px 22px;
}

#video_form p.foot {
	padding: 15px 15px 0 22px;
}

#video_form label {
	float: left;
	width: 110px;
	padding: 3px 0 0 22px;
	font-weight: bold;
}

#video_form div.video_field {
	float: right;
	padding: 0 19px 3px 0;
	width: 265px;
	overflow: hidden;
	text-align: left;
}

#video_button {
	border: none;
	background: url(../img/core/btn_submit.gif) right bottom no-repeat;
	color: #d6a720;
	width: 136px;
	height: 27px;
	font: normal 12px/23px Arial, Verdana, sans-serif;
	text-align: left;
	display: block;
	bottom: 11px;
	right: 18px;
	position: absolute;
	cursor: pointer;
}

#video_form div.video_field input.text {
	width: 260px;
	height: 18px;
	padding: 3px 0 0 2px;
	color: #000;
	font: bold 12px Arial, Verdana, sans-serif;
	vertical-align: center;
}

#video_form input.video_file {
	background-color: #FFF;
	color: #000;
	width: 265px;
}


#footer {
	padding: 20px 0;
}

#footer #terms {
	text-align: center;
	padding: 10px 0;
}

#conditions {
	background: #FFF;
	color: #000;
	width: 750px;
	height: 350px;
	padding: 10px 10px 10px 0;
	overflow: auto;
}

#conditions a {
	color: #cb3801;
}

#conditions p {
	padding: 0 0 15px 0;
}



/* MISC */
.clearer {
	font: normal 1px/1px sans-serif;
	visibility: hidden;
	clear: both;
	height: 1px;
	overflow: hidden;
}


/* DEBUG */

.cake-sql-log {
	background-color:#000;
	color:#FFF;
	border-collapse:collapse;
	margin: 0 auto;
	width: 85%;
	text-align: left;
}

.cake-sql-log caption {
	background-color:#900;
	color:#FFF;	
}

.cake-log-container {
	display: none;
	position: fixed;
	left: 0;
	bottom: 0;
	height: 1px;
	border-top: 5px solid #bbb;
	overflow: hidden;
	text-align: center;
	width: 100%;
	margin-bottom: -1px;
	background-color: #eee;
}

.cake-log-container:hover {
	height: 250px;
	overflow: auto;
	z-index:10;
}

.cake-sql-log td {
	padding:3px;
	border:1px solid #999;
	background-color:#fff;
	color:#000;
}