body {
	background: white;
	font-family: Arial, Helvetica;
	font-size: 12pt;
}

.title a {
	color: white;
	font-size: 18pt;
	padding: 0;
	margin: 0;
	margin-left: 1em;
	font-weight: bold;
	text-decoration: none;
}

a.link {
	color: black;
	font-size: 11pt;
	text-decoration: underline;
}

a img {
	border: 0px;
}

/* Black bar with login-status */

#header {
	height: 20px;
	font-size: 10px;
	text-align: right;
	padding: 0px 10px 0px 0px;
	margin: 0px 0px 0px auto;
}
#header input {
	height: 18px;
	font-size: 9px;
	opacity:0.8; filter:alpha(opacity=80);
	padding-bottom: 2px;
}
#header input#id_username, #header input#id_password {
	height: 14px;
	padding-bottom: 0px;
}

/*** main container ***/

#container, #mini_container {
	width: 800px;
	margin: 0 auto;
}
#container .pervidet_logo {
	padding: 10px 0px 20px 20px;
}
#mini_container ul#main_menu {
	float: right;
	margin-top: -50px;
}

/*** main menu ***/

ul#main_menu {
	margin-left: auto;
	display: block;
	padding-bottom: 40px;
}

#main_menu li {
	display: inline;
	list-style-type: none;
	margin: 0px 0px 0px 0px;
}
#main_menu li a {
	height: 60px;
	width: 120px;
	padding: 20px 20px 20px 20px;
	color: black;
	text-decoration: none;
	border-right: 1px solid #05a3e5;
}
#main_menu li a:hover {
	background: #e0f5ff;
}

#main_menu li:first-child a {
	border-left: 1px solid #05a3e5;
}

/*** link styles ***/

a {
	color: #f38630;
	text-decoration: none;
}

/*** text styles ***/

h1 {
	font-size: 1.3em;
}

.text_large {
	font-size: 1.2em;
}

/*** flatpages styles ***/

.main_content img {
	padding: 8px;
}

/*** custom boxing styles ***/

.box_content_main {
	width: 800px;
}
.box_content_main .corn_br {
	margin-top: 0px;
}

.box_home_main {
	width: 450px;
}

.box_home_right input#id_username, .box_home_right input#id_password {
	width: 120px;
	float: right;
	margin-right: 20px;
}
.box_home_right .login_button {
	float: right;
	margin-right: 20px;
}

.box_home_right {
	float: right;
	width: 340px;
}

.box_home_right_width {
	width: 245px;
}

.box_home_right .corn_lite_box {
	margin-bottom: 10px;
	margin-right: 80px;
}

.box_home_mid_bottom {
	width: 450px;
}


/*** generic rounded-border styles (lite = 1px width, normal = 2px )***/

.corn_tl {background: url(/media/images/corn_tl.png) 0 0 no-repeat;}
.corn_tr {background: url(/media/images/corn_tr.png) 100% 0 no-repeat; padding: 10px;}
.corn_bl {background: url(/media/images/corn_bl.png) 0 100% no-repeat;}
.corn_br {background: url(/media/images/corn_br.png) 100% 100% no-repeat;}
.corn_left {background: url(/media/images/corn_r.png) 0 0 repeat-y;}
.corn_right {background: url(/media/images/corn_r.png) 100% 0 repeat-y;}
.corn_top {background: url(/media/images/corn_s.png) 0 0 repeat-x;}
.corn_bottom {background: url(/media/images/corn_s.png) 0 100% repeat-x;}

.corn_lite_tl {background: url(/media/images/corn_lite_tl.png) 0 0 no-repeat;}
.corn_lite_tr {background: url(/media/images/corn_lite_tr.png) 100% 0 no-repeat; padding: 10px;}
.corn_lite_bl {background: url(/media/images/corn_lite_bl.png) 0 100% no-repeat;}
.corn_lite_br {background: url(/media/images/corn_lite_br.png) 100% 100% no-repeat;}
.corn_lite_left {background: url(/media/images/corn_lite_r.png) 0 0 repeat-y;}
.corn_lite_right {background: url(/media/images/corn_lite_r.png) 100% 0 repeat-y;}
.corn_lite_top {background: url(/media/images/corn_lite_r.png) 0 0 repeat-x;}
.corn_lite_bottom {background: url(/media/images/corn_lite_r.png) 0 100% repeat-x;}

/*** Survey stuff ***/

.survey_container {
	background: white;
	border: 1px solid #cccccc;
	width: 800px;
	margin: 10px auto 10px auto;
	padding: 10px 10px 10px 10px;
}

.survey_container .top_bar {
	width: 100%;
	background: #d7f2f9;
	padding: 5px 0px 5px 5px;
}
.survey_container .top_bar .title {
	font-weight: bold;
}

.survey_container .survey_text {
	padding-top: 5px;
	padding-bottom: 5px;
}

.survey_container .survey_page_name {
	font-weight: bold;
}

.survey_container span.mandatory {
	color: red;
}

.survey_container .survey_question {
	padding-top: 10px;
}

.survey_container .question_name {

}


/*** Window stuff ***/

.window {
	width: auto;
	margin-top: 1em;
	margin-left: 1em;
	margin-right: 1em;
	border: 1px solid #cccccc;
}

.window_title {
	display: block;
	padding: 2px 0px 4px 5px;
	font-weight: bold;
	font-size: 14px;
	background: #d7f2f9;
}

.window_body {
	padding: 5px;
	background-color: white;
}

/**** Messages ****/

.error_message {
	color: red;
}

/**** Footer ****/

#footer {
	margin-top: 1em;
	font-size: smaller;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	clear: both;
}
#footer div.horiz_break {
	width: 60px;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-left: auto;
	margin-right: auto;
	border-top: 1px solid #05a3e5;
}

/*** backend tabs ***/

ul.ui-tabs-nav li a.tab-active {
	background: #d7f2f9;
}

ul.ui-tabs-nav li a:hover {
	background: #d7f2f9;
}