/*
 * Title:  Visuelt.org screen styles
 * Author: geirarne@mesen.no
 * Author: johan@mesen.no
 */

/* helper classes */

.hidden { 
	display: none; 
}
.float-left {
	float: left;
} 
.float-right {
	float: right;
}
.clear {
	clear: both;
}
.clear-left {
	clear: left;
}
.clear-right {
	clear: right;
}
.center {
	margin: 0 auto;
} 
.margins {
	margin: 10px;
}
.push-top {
	margin-top: 10px;
}
.push-right {
	margin-right: 10px;
}
.push-bottom {
	margin-bottom: 10px;
}
.push-left {
	margin-left: 10px;
}

/* classy shit */
input:focus,textarea:focus { outline-color: #bca875; outline-color: rgb(188,168,117);}
a:focus { outline: none; }
* ::-moz-selection{ background: #000; background: rgb(0,0,0); color:#fff; }
* ::selection{ background: #000; background: rgb(0,0,0); color:#fff; }



/* basic styling */
html {
	background: #fff;
}
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 62.5%;
	color: #000;
}
strong {
	font-weight: bold;
}
em {
	font-style: italic;
}
h2 {
	clear: both;
	padding: 100px 0;
}

/* links */
a {
	color: #000;
	text-decoration: underline;
}
a:hover {
	text-decoration: underline;
	color: #bca875;
	color: rgb(188,168,117);
}

#message a {
	color: #bca875;
	color: rgb(188,168,117);
	text-decoration: underline;
}
#message  a:hover {
	text-decoration: underline;
	color: #fff;
}


/* wrapper */
#wrapper {
	font-size: 1.3em;
	width: 920px;
	margin-left: 40px;
	padding-bottom: 100px;
	text-align: left;
	clear: both;
}

/* header */
header {
	position: relative;
	width: 910px;
	clear: both;
	text-align: right;
	border-bottom: 5px solid #000;
	margin-bottom: 15px;
	height: 130px;
	font-family: Arial, Helvetica, sans-serif;
}
header h1 {
	position: absolute;
	top: 40px;
	left: 0;
	width: 176px;
	height: 54px;
}
/* user navigation */
nav.user {
	position: absolute;
	top: 12px;
	right: 0;
	text-align: right;	
}

/* global navigation */
nav.global {
	position: absolute;
	bottom: 8px;
	right: 0;
	text-align: right;
}
nav.user li, nav.global li {
	display: inline;
	padding-left: 15px;
}
nav.user a, nav.global a {
	color: #000;
	font-size: 90%;
	text-decoration: none;
}
nav.global li.selected a,
nav.global a:hover,
nav.user a:hover {
	color: #bca875; 
	color: rgb(188,168,117);
	text-decoration: none;
}

/* main navigation */
nav.main ul {
	font-family: Arial, Helvetica, sans-serif;
	padding-bottom: 15px;
}
nav.main ul li ul li a,
nav.main ul li a{
	background-color:#ccc;
	background-color: rgb(204,204,204);
	display: block;
	clear: both;
	font-size: 13px;
	padding: 3px 0px 3px 6px;
	margin: 0px;
	margin-bottom: 4px;
	text-decoration:none;
}
nav.main ul a:hover {
	text-decoration: none;
}
nav.main ul li.selected a,
nav.main ul li ul li.selected a{
	background: #000; 
	background: rgb(0,0,0);
	color:#fff;
}
nav.main ul li a:hover,
nav.main ul li ul li a:hover {
	background: #bca875; 
	background: rgb(188,168,117);
	color:#fff;
}
nav.main ul li ul {	
	padding-bottom: 0px;
}
nav.main ul li ul li {
	padding: 0px;
	margin: 0px;
	margin-bottom: 4px;
}
nav.main ul li ul li a, nav.main ul li.selected ul li a {
	background-color:#999;
	background-color: rgb(153,153,153);
	display: block;
	color: #fff;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-left: 6px;
	text-decoration: none;
}

/* paging navigation */
.nav-context {
	clear: both;
	background: none !important;
}
a.button {
	font-family: Arial, Helvetica, sans-serif;
	padding: 4px 25px 3px 8px;
	text-align: left;
	border: 0;
	color: #fff;
	background: #000; 
	background: rgb(0,0,0);
	display: block;
	float: left;
	text-decoration: none;
}
a.button:active,
a.button:focus {
	position:relative;
	top: 2px;
}
a.button:hover{
	color: #bca875; 
	color: rgb(188,168,117);
}
.nav-context a.right {
	float: right;
}

/* contents */
#contents {
	position: relative;
	clear: both;
	display: block;
	line-height: 1.4em;
}
#contents h2 {
	padding: 10px;
	background: #000; 
	background: rgb(0,0,0);
	color: #fff;
	font-size: 1.2em;
}
#contents h2.margin-bottom {
	margin-bottom: 10px;
}
#contents h2.threecol span.logininfo{
	float:right;
	font-size: 85%;
}
#contents h2.threecol span.logininfo .last-child{
	margin-left: 14px;
}
#contents h2.threecol a,#contents h2 a:visited{
	color:white;
}

#contents h2.threecol a.section_link,
#contents h2.threecol a.section_link:hover,
#contents h2.threecol a.section_link:active
{
	text-decoration: none;
}

#contents h3 {
	font-size: 1.2em;
	margin-bottom: 5px;
	margin-top: 5px;
	color: #000;
	color: rgb(0,0,0);
}
#contents h3 a{
	text-decoration: none;
	color: #000;
	color: rgb(0,0,0);
}
#contents h3 a:hover{
	text-decoration: none;
	color: #bca875;
	color: rgb(188,168,117);
}

#contents .lightbox h3 {
	margin-bottom: 0;
}
#contents h3.categoryheadline {
	cursor: pointer;
}
#contents h3.categoryheadline.deactive a{
	color: #666;
}
#contents h4 {
	font-size: 14px;
	margin-bottom: 5px;
	color: #999;
	color: rgb(153,153,153);
}
#contents h5 {
	color: #aaa;
}
#contents .ingress {
	font-size: 1.2em;
}
#contents .secondary h2 {
	background: #464bd2;
}
#contents .shout h2 a {
	color: #fff;
	font-size: 1.5em;
}
#contents p {
	margin-bottom: 15px;
}
#contents p.margin-bottom {
	margin-bottom: 30px;
}
#contents .meta, time {
	color: #999;
}
#contents .speaker {
	padding: 10px;
	width: 430px;
}
#contents .speaker .portrait {
	float: left;
	margin: 0 10px 10px 0;
	width: 210px;
	height: 160px;
}
#contents .speaker h3 {
	margin-bottom: 2px;
}

/* columns */
.onecol,
.twocol,
.threecol,
.fourcol {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

.onecol   {width: 220px}
.twocol   {width: 450px}
.threecol {width: 680px}
.fourcol  {width: 910px}
.darkbox .onecol,   .lightbox .onecol   {width: 200px; padding: 10px 10px 0 10px; margin-right: 0}
.darkbox .twocol,   .lightbox .twocol   {width: 430px; padding: 10px 10px 0 10px; margin-right: 0}
.darkbox .threecol, .lightbox .threecol {width: 660px; padding: 10px 10px 0 10px; margin-right: 0}
.darkbox .fourcol,  .lightbox .fourcol  {width: 890px; padding: 10px 10px 0 10px; margin-right: 0}
h2.onecol, h2.twocol, h2.threecol, h2.fourcol {margin-bottom: 0; clear: none; padding-right: 0; margin-right: 10px}
h2.onecol, h2.onecol     {width: 200px}
h2.twocol, h2.twocol     {width: 430px}
h2.threecol, h2.threecol {width: 660px}
h2.fourcol, h2.fourcol   {width: 890px}
.darkbox {background: #f1f1f1; background: rgb(241,241,241); }
.lightbox {background: #fff; color: #0f0f0f}
.lightbox h2 {color: #fff}
.lightbox.twocol .twocol {margin-bottom: 0}
.darkbox .photo, .lightbox .photo {width:430px; padding: 0}

/* IE6 hacks for the floating */
* html .onecol, * html .twocol, * html .threecol, * html .fourcol { margin-right: 5px; }
* html .onecol h2, * html .twocol h2, * html .threecol h2, * html .fourcol h2 { margin-right: 5px; }

/* progress bar */
#progress-bar {
	padding: 10px;
	color: #666;
}
#progress-bar li {
	float: left;
	margin-right: 50px;
}
#progress-bar li.selected {
	color: #bca875; 
	color: rgb(188,168,117);
}
#progress-bar li a {
	color: #000;
	text-decoration: none;
}
#progress-bar li a:hover {
	color: #bca875; 
	color: rgb(188,168,117);
	text-decoration: none;
}
#progress-bar li a.active {
	color: #bca875; 
	color: rgb(188,168,117);
	font-weight:bold;
}

#progress-bar li a.disabled
{
	color: #999; 
	color: rgb(153,153,153);
}
#progress-bar li a.disabled:hover
{
	color: #999; 
	color: rgb(153,153,153);
	cursor: default;
}

/* tables */
.entries caption{
	text-align:left;
	font-size: 1.2em;
	margin-bottom: 5px;
	margin-top: 5px;
	color: #000; 
	color: rgb(0,0,0);
}
.entries {
	display: block;
	clear: both;
	margin-top: 10px;
	margin-bottom: 40px;
}
.entries tbody{
	border-bottom: 1px solid #333;
}
.entries .category {
	width: 120px;
	min-width: 120px;
}
.entries .title {
	width: 110px;
	min-width: 110px;
	padding-left: 10px;
}
.entries .client {
	width: 110px;
	min-width: 110px;
	padding-left: 10px;
}
.entries .edit {
	padding-left: 10px;
	width: 60px;
	cursor: pointer;
}
.entries .receipt {
	padding-left: 10px;
	width: 90px;
	cursor: pointer;
}
.entries .attachments {
	width: 60px;
}
.entries .delete {
	width: 40px;
}
.entries .delete:hover, .entries .edit:hover{
	cursor: pointer;
	color: #bca875; 
	color: rgb(188,168,117);
}
.entries th {
	padding-bottom: 10px;
	font-size: 0.9em;
	color: #000;
}
.entries td {
	padding: 10px 0;
	border-top: 1px solid #333;
	vertical-align: top;
	font-size: 0.9em;
}
.entries a{
	color: #000;
	text-decoration: none;
}
.entries a:hover{
	color: #bca875;
	color: rgb(188,168,117);
}
.entries a.button{
	color:#fff;
}
input.button:hover, .entries a.button:hover{
	color: #bca875; 
	color: rgb(188,168,117);
	cursor: pointer;
}
.entries .button {
	margin: 5px 10px 5px 0;
	padding-right: 15px;
}

/* errors, notices and messages */
#message {
	padding: 10px;
	clear: both;
	color: #ff1100;
	background: #070707;
}
label.error, span.error {
	color: #ff1100;
	font-size: 90%;
}

#submission label {
	display: block;
}

/* required form fields */
label.required,
#submission label.required {
	vertical-align: middle;
	padding-right: 45px;
	background: url(/gfx/label_required.png) 100% 2px no-repeat;
	display: inline;
	clear: both;
}

/* category list page */
#contents .category_list {
	margin-bottom: 25px;
}
#contents .category_list .group {
	margin-left: 20px;
}
#contents .category_list h3, 
#contents .category_list h4, 
#contents .category_list h5, 
#contents .category_list p {
	margin-bottom: 10px;
	color: #000;
}
#contents .category_list h3:hover{
	cursor:pointer;
	color: #bca875;
	color: rgb(188,168,117);
}

/* footer */
footer {
	width: 910px;
	clear: both;
	padding-top: 40px;
	font-size: 70%;
}

/* forms */
form .row {
	clear: both;
	margin-bottom: 10px;
}
form input, 
form select, 
form textarea {
	font-family: Arial, Helvetica, sans-serif;
	border: 1px solid #999;
	padding: 2px;
	font-size: 13px;
}
form textarea {
	height: 150px;
	border:1px solid #999;
}
form .row input {
	width: 194px;
	padding:3px;
	border:1px solid #999;
}
form .row input.button {
	padding:3px;
	border:0;
}

form .row input + .validation
{
	display: none;
}

form .row input + .validation span
{
	display: none;
}

form .row input:focus + .validation
{
	display: block;
}

form .row input:valid:focus + .validation span.valid
{
	display: block;
}

form .row input:invalid:focus + .validation span.invalid
{
	display: block;
}

form .row input:focus:valid
{
	background: #fff;
}

form .row input.ui-state-error-highlight,
form .row textarea.ui-state-error-highlight
{
	background: #F00;
}

form .row input.ui-state-valid:focus
{
	background: #fff;
}

form .row input.ui-state-error:focus
{
	background: #F00;
}

form .row input:focus:invalid
{
	background: #F00;
}

form .row .short {
	width: 100px;
}
form .finish input {
	margin-top: 10px;
	overflow: visible; /* fixes ie6/7 bug */
}
form h3 {
	margin-bottom: 10px;
}
form label {
	display: block;
}
form p.tip {
	width: 220px;
	float: right;
}
input.button, 
select, 
textarea {
	border: 1px solid #999;
	margin-top: 5px;
	padding: 3px;
}
input.button {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	padding: 3px 25px 3px 5px;
	text-align: left;
	border: 0;
	color: #fff;
	background: #000; 
	background: rgb(0,0,0);
	display: inline;
}
input.file {
	border:0;
	color: #000;
	background: #fff;
}
input#contestentry_file{
	border: 1px solid #000;	
	padding: 4px;
	width:420px;
}
span.checkbox {
	clear: both;
	margin-bottom: 10px;
}
#submission span.checkbox{
	margin-top:20px;
}
span.checkbox label, #submission span.checkbox label{
	display: inline;
}

input.checkbox {
	float: left;
	vertical-align: middle;
	margin-right: 10px;
	margin-top: 2px;
}
.priority_2 input[type="submit"], 
.priority_2 input[type="reset"], 
.priority_2 input[type="button"] {
	background: #464bd2;
}
input[type="submit"]:active,
input[type="reset"]:active, 
input[type="button"]:active {
	position:relative;
	top: 2px;
}
/* user registration form */
form.newuser textarea {
	width: 194px;
	height: 40px;
}
/* category form */
.categorygroup {
	font-size: 90%;
}
.categorygroup .radio input {
	margin-top: 2px;
	margin-left: -25px;
	_margin-left: 0; /* hack: to make IE6 ignore the line above */
	float: left;
}
.categorygroup h3 {
	color: #000 !important;
}

form.description .onecol textarea,
#submission .onecol textarea
{
	margin-top:3px;
	width: 194px;
	height: 50px;
}

.charcount_info span{
	display:block;
	color:#999;
}

/* description form */
form.description .twocol textarea,
#submission .twocol textarea {
	width: 415px;
}

form.description .twocol textarea:focus:valid,
#submission textarea:focus:valid {
	background: #fff;
}

form.description .twocol textarea.ui-state-valid:focus,
#submission textarea.ui-state-valid:focus {
	background: #fff;
}

form.description .twocol textarea:focus:invalid,
#submission textarea:focus:invalid {
	background: #F00;
}

form.description .twocol textarea.ui-state-error:focus,
#submission textarea.ui-state-error:focus {
	background: #F00;
}
table.medialist th{
	display:none;
}

form#form-usersignup .leftradio{
	width:20px;
	margin-bottom:20px;
	margin-top:3px;
	float:left;
}

form#form-usersignup .forgotpass{
	margin-top:4px;
}
.signuploader{
	margin:20px 0px 20px 60px;
	display:none;
}

/* vinnere */
#maincat {
	height: 38px;
	margin-top: 10px;
	margin-bottom: 10px;
	clear: both;
	font-size: 85%;
	font-family: Helvetica, Arial, sans-serif;
	margin-left: -10px;
}
#maincat li {
	float: left;
	margin-left: 10px;
}
#maincat li a {
	display: block;
	background: #999; 
	background: rgb(153,153,153);
	color: #fff;
	width: 105px;
	line-height: 38px;
	vertical-align: middle;
	text-align: center;
	text-decoration: none;
}
#maincat li.selected a,
#maincat li a:hover {
	color: #fff; 
	color: rgb(255,255,255);
	background: #0f0f0f;
}

#subcat {
	margin-bottom: 10px;
	clear: both;
	padding: 10px 0 10px 10px;
	font-family: Helvetica, Arial, sans-serif;
	line-height: 1.8;
	font-size: 95%;
}
#subcat a {
	color: #000;
	text-decoration: none;
}
#subcat a:hover,
#subcat li.selected a {
	color: #bca875; 
	color: rgb(188,168,117);
}
#subcat .subcat {
	display: block;
	float: left;
	top: 0;
}
#subcat #listcol0 { width: 245px; }
#subcat #listcol1 { width: 215px; }
#subcat #listcol2 { width: 200px; }

.winner {
	background: #f1f1f1;
	padding: 10px 0 10px 10px;
	margin-bottom: 10px;
}
.winner .photo,
.winner .video {
	width: 450px;
	float: left;
}
.winner h3 {
	font-size: 85% !important;
	padding-left: 460px;
	margin-right: 10px;
	margin-bottom: 0 !important;
}
.winner h3.award_type {
	font-size: 120% !important;
	margin-bottom: 10px !important;
}
.winner p {
	padding-left: 460px;
	font-size: 85% !important;
	margin-right: 10px;
	margin-bottom: 10px !important;
}

/*
 * Profilside
 */
#profilepage .twocol table {
	width: 100%;
	margin: 20px 0 40px 0;
}
#profilepage .twocol table caption {
	text-align: left;
	font-size: 1.2em;
	margin-bottom: 5px;
	margin-top: 5px;
}
#profilepage .twocol table tr {
	border-bottom: 1px solid #333;
}
#profilepage .twocol table td {
	padding: 10px 0;
	vertical-align: top;
}
#profilepage .twocol table td.thumb {
	width: 85px;
}
#profilepage .twocol table td.dl {
	width: 100px;
}
/*
Geir Arnes søplehjørne for ting Johan må finne riktig plass for senere
*/
fieldset.savebuttons {width: 500px}
fieldset.hide_legend legend {display: none}
fieldset.savebuttons input {margin-right: 5px}
span.legend {
	font-family: Arial, Helvetica, sans-serif;
}
#contents table.medialist{
	margin-bottom: 20px;
}
#contents table.medialist tr{
	padding: 2px;
}
#contents table.medialist td{
	padding: 2px;
	padding-left: 4px;
}
#contents table.medialist tr.even{
	background-color: #756f6f;
}
#contents table.medialist td.titlecell {
	width: 300px;
}
#contents table.medialist td.deletecell {
	width: 100px;
}

footer div{
	width:220px;
	height:77px;
	margin-right:10px;
	float:left;
	border-top:1px solid #CCC;
	padding-top:3px;
}
footer div div{
	border-top:none;
	padding-top:0px;
}
footer .last{
	margin-right:0px;
}

#contents .onecol .sidebarelement{
	margin-bottom: 10px;
}
#contents .onecol .sidebarelement a{
	text-decoration: none;
}
#contents .onecol .sidebarelement h3{
	color: #999;
	border-bottom: 1px solid #999;
	font-size: 13px;
	margin-top: 0px;
	padding-bottom: 2px;
	margin-bottom: 3px;
}
#contents .onecol .sidebarelement ul li{
	border-bottom: 1px solid #999;
	margin-top: 0px;
	padding-bottom: 2px;
	margin-bottom: 3px;
}
#contents .onecol .sidebarelement ul li.last{
	border-bottom: 0;
}

#submission #feedback
{
	display: none;
	position: absolute;
	padding: 10px;
	margin-top:10px;
	background: #f00;
	color: #fff;
	top: 65px;
	width: 660px;
	z-index: 1000;
}

#submission #feedback:hover
{
	cursor: pointer;
}

#submission.showfeedback
{
	padding-top: 115px;
}
#submission.showfeedback_double
{
	padding-top: 153px;
}
#submission.showfeedback_triple
{
	padding-top: 191px;
}
#submission.showfeedback_quadruple
{
	padding-top: 229px;
}

#submission.showfeedback #feedback
{
	display: block;
}

#submission .step
{
	display: none;
}

#submission .step.active
{
	display: block;
}

.uploaded_file
{
	margin: 10px 0;
	height: 105px;
}

.uploaded_file img
{
	float: left;
	margin: 0 10px 0 0;
}

.uploaded_file img.loader
{
	padding: 19px;
}

#form-contestentrysavefiles
{
	height: 22px;
}

#file_upload_progress
{
	position: relative;
	text-align: center;
	height: 20px;
	display: none;
	border: 1px solid #000;
}

#file_upload_progress .progress_bar
{
	height: 20px;
	position: absolute;
	width: 0;
	background: #bca875; 
	background: rgb(188,168,117);
	z-index: 1;
}

#file_upload_progress span
{
	z-index: 100;
	position: absolute;
	width: 100%;
	display:block;
}
#contestentry_physical_wrapper{
	margin-top:25px;
}
#physical_description_wrapper
{
	overflow: hidden;
	position: relative;
	height: 263px;
}

#physical_description_wrapper.hidden
{
	display: block;
	height: 0;
}

#physical_description_wrapper .content
{
	position: absolute;
	bottom: 0;
}
div.finish{
	margin-top:20px;
}
ul.errorlist{
	list-style: disc;
	padding-left: 20px;
	margin-bottom: 20px;
}

article.twocol div.video {
	width: 450px;
	height: 253px;
}

div.video-js-box.vjs-fullscreen, div.video-js-box.vjs-fullscreen video {
	width: 100% !important;
	height: 100% !important;
}
