/* CSS Reset v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

:focus {
	outline: 0;
}

ins, a {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

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

body {
	text-align: center;
	background-color: #FFF;
}
/* End of css reset */

body {
	background: url("/img/body_bkg.png") top left repeat;
}

.clear {
	clear: both;
}

#all_wrap {
	position: relative;
	margin: 0 auto;
	width: 1024px;
	color: #278583;
	font-family:"Lucida Sans Unicode","Lucida Grande",sans-serif;
	font-size: 0.688em; /* 11px */
	line-height: 1.455em; /* 16px */
}

#all_wrap a {
	color:#4178AE;
	line-height:1em;
	text-decoration: underline;
}

#content_wrap {
	background: url("/img/all_bkg.png") repeat-y top left;
}

#main_menu {
	width: 1024px;
	height: 35px;
	background: url("/img/menu_bkg.jpg") no-repeat bottom left;
	padding-top: 5px;
	text-align: right;
}

#main_menu ul {
	padding-top: 13px;
	margin-right: 80px;
}

#main_menu ul li {
	margin-left: 35px;
	display: inline;
}

#main_menu ul li.first {
	margin-left: 0px;
}

/*#main_menu ul li.login {
	position: absolute;
	top: 18px; 
	right: 5px;
}*/

.clearfix {
	content: '.';
	visibility: hidden;
	clear: both;
	height: 0.01em;
}

/* Home page styles */

#main_picture_top {
	width: 1024px;
	height: 77px;
	background: url("/img/main_top_bkg.jpg") no-repeat top left;
	position: relative;
}

#main_picture_middle {
	width: 1024px;
	height: 372px;
	background: url("/img/main_middle_bkg.jpg") no-repeat top left;
}

#main_picture_bottom {
	width: 1024px;
	height: 52px;
	background: url("/img/main_bottom_bkg.jpg") no-repeat top left;
}

#content_wrap_home {
	width: 1024px;
	min-height: 100px;
	background: url("/img/content_bkg.jpg") repeat-y top left;
	padding: 20px 0px;
	text-align: left;
}

#content_home {
	margin-left: 198px;
	width: 760px;
}

.left_content_home {
	width: 270px;
	float: left;
}

.right_content_home {
	margin-left: 65px;
	width: 410px;
	float: left;
}

.list_on_main ul {
	margin: 5px 0;
}

#content_home .list_on_main ul li {
	line-height: 1.455em;
	height: 1.455em;
}

#content_home .list_on_main ul li a {
	text-decoration: none;
	color: #278583;
}

#content_home .list_on_main ul li a:hover {
	font-weight: bold;
}

#footer {
	width: 826px;
	height: 42px;
	padding-left: 198px;
	background: url("/img/footer_bkg.jpg") no-repeat top left;
	color: #809FFF;
	font-size: 0.727em;
	line-height: 5.25em;
	text-align: left;
	letter-spacing: 0.125em;
}

#footer_content {
	margin-left: 198px;
	width: 760px;
}

#footer a {
	color: #809FFF;
	text-decoration: none;
	line-height: 4.667em;
}

#footer a:hover {
	text-decoration: underline;
}

#footer .left_content_home {
	font-weight: normal;
}

/* Subpages styles */
#obj_top_wrap {
	width: 1024px;
	height: 105px;
	padding-top: 5px;
	background: url("/img/all_bkg.png") repeat-y top left;
}

#obj_top_wrap #header {
	width: 1024px;
	height: 73px;
	position: relative;
}

#subpages_menu {
	width: 1024px;
	height: 35px;
	background: url("/img/subpages_menu_bkg.png") no-repeat top left;
	position: relative;
}

#subpages_menu_header {
	width: 210px;
	height: 32px;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: right;
	padding-right: 3px;
}

#subpages_menu_header img {
	margin-top: 2px;
}

#subpages_menu ul {
	position: absolute;
	left: 0px;
	bottom: 5px;
	padding-left: 25px;
	text-align: right;
	width: 913px;
}

#subpages_menu ul li {
	margin-left: 20px;
	display: inline;
}

#content_wrap_subpages {
	width: 1024px;
}

#content_left_subpages {
	width: 213px;
	height: 300px;
	background: url("/img/subpages_left_bkg.png") no-repeat top left;
	float: left;
}

#content_right_subpages {
	width: 725px;
	position: relative;
	background: url("/img/subpages_content_bkg.png") repeat-y top left;
	float: left;
	padding: 20px 76px 0px 0px;
	text-align: left;
}

#subpages_text {
	min-height: 190px;
	margin: 0px 45px 70px 85px;
}


/* Specific elements */
hr {
	border: none;
	border-bottom: 1px dashed #278583;
	margin-top: 2em;
	height: 0.1em;
}

#content_right_subpages p {
	margin: 10px 0px;
	clear: both;
}

#content_right_subpages a.button_link, #content_right_subpages .texts a, #admin_content a.button_link,
#content_right_subpages_gallery a.button_link {
	text-decoration: none;
}

#content_right_subpages .texts ul {
	list-style: disc inside none;
	margin-bottom: 1em;
}

#content_right_subpages .texts ul li a {
	text-decoration: underline;
}

#content_right_subpages .texts h1 {
	font-size: 1.5em;
	margin: 1em 0;
}

#content_right_subpages .texts ul {
	list-style: none;
}

#content_right_subpages .texts.deadlines ul li a {
	/*text-decoration: none;*/
} 

#content_right_subpages_gallery .del_cancel {
	margin-left: 8.5em;
}

/*.obj_hotel_adress {
	float: left;
	width: 240px;
	margin-bottom: 10px;
}

.obj_hotel_adress a {
	font-weight: bold;
}*/

/* Admin content */
#admin_content {
	text-align: left;
	width: 714px;
	padding: 20px 90px 20px 220px;
	background: url("/img/faded_bkg.jpg") repeat-y top left;
	position: relative;
	min-height: 440px;
}

#all_wrap.big_layout {
	width: 100%;
}

.big_layout #admin_content {
	text-align: left;
	width: 95%;
	padding: 0px;
	position: relative;
	min-height: 440px;
}

#admin_toolbox, #flashMessage {
	position: relative;
	height: 15px;
	width: 784px;
	top: 10px;
	margin-bottom: 20px;
	background-color: #FFF;
	padding: 6px 50px 9px 190px;
}

#admin_toolbox a {
	padding: 0px 16px;
	font-size: 1.1em;
	font-weight: bold;
	line-height: 11px;
	color: #002063;
	vertical-align: middle;
}

#admin_toolbox a:hover {
	color: #e76f04;
}

#flashMessage {
	width: 380px;
}

p.login_status {
	width: 21em;
	text-align: center;
	color: red;
	margin-top: 1em;
	margin-bottom: 1em;
}

/* Forms */
label {
	clear: both;
	width: 8em;
	float: left;
	text-align: right;
	margin-right: 0.5em;
	margin-top: 0.6em;
	display: block;
	line-height: 16px;
}

label.required, p.required, span.required {
	text-decoration: underline;
}

label.required:before, p.required:before, span.required:before {
	content: '*';
}

input, textarea, select {
	margin-top: 0.5em;
	font-size: 1em;
}

.submit input {
	margin-left: 8.5em;
	height: auto;
}

#content_right_subpages a.button_link input {
	margin-bottom: 0.5em;
}

input#AttachmentName {
	margin-left: 8.5em;
}

#loginAddForm input {
	width: 11em;
}

#loginAddForm .submit input {
	width: auto;
}

#StaticTextAddForm label {
	width: 3em;
}

#StaticTextAddForm .submit {
	margin-left: 3.5em;
}

#StaticTextAddForm .submit input {
	margin-left: 0;
}

#TextAddForm label {
	width: 5em;
}

#TextAddForm .submit {
	margin-left: 5.5em;
}

#TextAddForm .submit input {
	margin-left: 0;
}

.delete_form #TextAddForm .submit {
	margin-left: 0em;
}

.delete_form #DeadlineAddForm .submit input {
	margin-left: 0em;
}

.delete_form .submit input {
	margin-left: 0;
}

#registrations input, .abstracts input, {
	height: auto;
}

.abstracts .radio_buttons_vertical {
	width: 110px;
}

.abstracts .radio_buttons_vertical label {
	float: left;
	clear: none;
}

.abstracts .radio_buttons_vertical input {
	width: 16px;
	height: 16px;
	float: right;
	clear: both;
	margin: 0.7em 0 0 0;
}

/* Registration forms */
#registrations #form1, #registrations #form2, #registrations #form3, #registrations #form4 {
	margin: 2em 0;
	display: none;
}

#registrations {
	width: 500px;
}

#registrations label.form_type_select  {
	width: 470px;
	margin: 0.8em 0 1em 0.2em;
	float: left;
	clear: none;
	line-height: 1.455em; /* 16px */
}

#registrations input.form_type_select {
	width: 16px;
	height: 16px;
	float: left;
	clear: both;
	margin: 0.7em 0 1em 0;
}

#registrations label {
	width: 11em;
	margin: 0.7em 2em 0 0;
	text-align: left;
	clear: both;
}

#registrations input {
	width: 262px;
	height: auto;
	font-size: 1em;
	color: #254565;
}

#registrations textarea {
	width: 262px;
	font-size: 1em;
	font-family: Arial, sans-serif;
	color: #254565;
}

#registrations .radio_buttons_horizon {
	width: 300px;
	margin-top: 0.8em;
	height: 1.455em;
	float: left;
}

#registrations .radio_buttons_horizon label {
	width: 3em;
	margin: 0 1em 0 0.3em;
	float: left;
	clear: none;
	line-height: 1.455em;
}

#registrations .radio_buttons_horizon input {
	width: 16px;
	height: 16px;
	float: left;
	clear: none;
	margin: 0;
}

#registrations .radio_buttons_vertical {
	width: 200px;
	height: 9em;
	float: left;
}

#registrations .radio_buttons_vertical label {
	width: 10em;
	margin: 0.7em 1em 0 0.3em;
	float: left;
	clear: none;
	line-height: 1.455em;
}

#registrations .radio_buttons_vertical input {
	width: 16px;
	height: 16px;
	float: left;
	clear: both;
	margin: 0.7em 0 0 0;
}

#registrations .checkbox_buttons {
	width: 300px;
	margin: 0.8em 0 0 13em;
	height: 4em;
}

#registrations .checkbox_buttons label {
	width: 21em;
	margin: 0.8em 1em 0 0.3em;
	float: left;
	clear: none;
	line-height: 1.2em;
}

#registrations .checkbox_buttons input {
	width: 16px;
	height: 16px;
	float: left;
	clear: both;
	margin: 0.7em 0 0 0;
}

#registrations p.costs {
	/*font-weight: bold;*/
	margin: 2em 0;
}

.the_price { 
	font-weight: bold; 
}

.big_layout #registrations { width: 100%; margin:0; padding:0; }

#registrations table  {
	text-align: left;
}

#registrations table th {
	width: 13em;
}

#registrations .submit input {
	margin: 0.8em 0 0 11.6em;
	width: 8em;
	height: auto;
}

#registrations input.reset_button {
	float: right;
	margin: 0.8em 15em 0 0;
	width: 8em;
	height: auto;
}

#registrations #texts_toolbox {
	width: 100%;
	padding: 0px;
}

#registrations #texts_toolbox table {
	table-layout: fixed;
	border-collapse:collapse;
	width: auto;
	margin: auto;
	margin-bottom: 10px;
	font-size: 1em;
	background: #fff;
}


#registrations #texts_toolbox table tr:hover {
	background: #ff0;
}

#registrations #texts_toolbox table td, #registrations #texts_toolbox table th {
	padding: 5px 10px;
}

table#registration_info {
	table-layout: fixed;
	width: 600px;
	margin-top: 10px;
}

table#registration_info th {
	width: 150px;
}

.radio_separate {
	width: 300px;
	float: left;
	clear: both;
}

.option_separate {
	width: 500px;
	float: left;
	clear: both;
	margin-bottom: 10px;
}

ol.registered {
	list-style: decimal inside;
}

/* Texts toolbox */
#texts_toolbox {
	margin: 10px;
	text-align: left;
}

#texts_toolbox h1 {
	font-size: 1.2em;
	margin: 1em 0;
}

#texts_toolbox table {
	border-collapse:collapse;
	table-layout: fixed;
	width: 695px;
	margin: auto;
	margin-bottom: 10px;
	font-size: 1em;
}

#texts_toolbox table, #texts_toolbox th, #texts_toolbox td, .albums.index table, .albums.index th, .albums.index td {
	border: 1px solid #4178AE;
	text-align: center;
	padding: 5px;
	vertical-align: middle;
}

#texts_toolbox th, .albums.index th {
	background-color: #4178AE;
	color: white;
}

#texts_toolbox .first_column {
	width: 185px;
}

#texts_toolbox td input {
	margin: 0;
}

#texts_toolbox td.button_column a {
	text-decoration: none;
}

#texts_toolbox td.button_column a input {
	width: auto;
	height: auto;
}

/* Albums index */
#all_wrap .albums.index th a {
	color: #FFF;
}

#all_wrap .albums.index td.actions a {
	float: left;
	clear: both;
	text-decoration: none;
	background: #FFF;
	border: 1px groove #335E8A;
	width: 40px;
	height: 15px;
	line-height: 15px;
	text-align: center;
	margin: 2px 5px;
}

#all_wrap .paging {
	text-align: right;
}

#all_wrap .paging * {
	width: 100px;
	display: inline;
	margin: 0 5px;
}

#all_wrap .actions {
	clear: both;
}

#all_wrap .actions a {
	float: left;
	text-decoration: none;
	background: #FFF;
	border: 1px groove #335E8A;
	width: 100px;
	height: 15px;
	line-height: 15px;
	text-align: center;
	margin: 15px 5px 0 0;
}

#all_wrap .albums.view dl dt, #all_wrap .albums.view dl dd {
	float: left;
	/*border: 1px solid #335E8A;*/
	width: 450px;
	padding: 2px;
}

#all_wrap .albums.view dl dt {
	clear: both;
	width: 100px;
}


/* Critical error style */
#error_content {
	width: 785px;
	margin-top: 30px;
	margin-left: 110px;
	margin-right: 130px;
	border: 3px ridge #8CB1D4;
	padding: 15px;
	color: #888888;
	font-style: italic;
}

#error_content h1 {
	text-transform: uppercase;
	font-style: normal;
	color: #444444;
}

/* validation error */
.error-message {
	color: #a00;
	border: #a00 dotted 1px;
	margin: 0.5em 0 2em 0; padding: 4px;
}

.flash_success_message {
	color: #08a;	border: #08a dotted 1px; padding: 8px;
}

.flash_failure_message {
	color: #a00;	border: #a00 dotted 1px; padding: 8px;
}

/* Gallery styles */
#content_wrap_gallery {
	background: none;
}

#content_wrap_subpages_gallery {
	background: url("/img/faded_bkg.jpg") repeat-y top left;
	width: 1024px;
}

#content_left_subpages_gallery {
	width: 213px;
	float: left;
}

#gallery_categories{
	width: 213px;
	height: 290px;
	padding-bottom: 6px;
	background: url("/img/gallery_left_bkg.png") no-repeat top left;
	position: relative;
}

#gallery_categories ul {
	position: absolute;
	bottom: 15px;
	right: 0px;
	overflow: auto;
	text-align: right;
	max-height: 270px;
	padding-right: 2px;
}

#gallery_categories ul li {
	margin: 8px 0;
}

#gallery_categories ul li a {
	color: #001460;
	text-transform: lowercase;
	font-size: 1.091em;
	text-decoration: none;
}

#subgallery_categories {
	width: 180px;
	min-height: 200px;
	padding: 15px 3px 15px 30px;
	text-align: right;
}

#subgallery_categories a {
	text-decoration: none;
	line-height: 1.818em;
}

#content_right_subpages_gallery {
	width: 715px;
	position: relative;
	float: left;
	padding: 20px 76px 20px 20px;
	text-align: left;
}

#content_right_subpages_gallery .clear .button_link {
	margin-right: 5px;
}

#content_right_subpages_gallery h2 {
	margin-left: 1em;
	font-size: 1.455em;
}

#content_right_subpages_gallery img.gallery_main {
	margin-left: 80px;
	margin-top: 10px;
}

#content_right_subpages_gallery #texts_toolbox table {
	margin-top: 10px;
}

img.obj_pict_edit_thumb, img.deleted_image {
	margin-left: 8.5em;
}

.thumb_wrap {
	float: left;
	border: solid #00394D 1px;
	width: 50px;
	height: 50px;
	padding: 2px;
	margin: 11px;
}

/* Picture display */
.left {
	position: relative;
	width: 150px;
	height: 430px;
	float: left;
	text-align: center;
}

.right {
	width: 560px;
	float: left;
	text-align: center;
	height: 500px;
	line-height: 430px;
	display: table; /*TODO: IE hack*/
	overflow: hidden;
}

.right img {
	max-width: 550px;
	max-height: 490px;
}

.left img {
	border: none;
	margin: 10px;
}

#pictures_title, #pictures_description {
	text-align: left;
	width: 120px;
}

#pictures_description_wrap {
	max-height: 210px;
}

#pictures_title {
	font-weight: bold;
	margin-top: 5px;
}

#pictures_nav {
	position: absolute;
	top: 220px;
	left: 35px;
}

.picture_position {
	display: table-cell; /*TODO: IE hack*/
	vertical-align: middle;
}

.picture_wrap {
	position: relative;
	text-align:center;
	display: inline-block;
}

.picture_wrap_bkg {
	background: #FFF;
	padding: 5px;
}

/* Other styles */
.abstract_text {
	border: 1px dotted black;
	padding: 0.5em;
	margin: 1em 0;
}

.status_new { }
.status_ok  { background-image: url('/img/background_green1.png'); }
.status_bad { text-decoration: line-through;  background-image: url('/img/background_red1.png'); }

.debug {
	text-align: left;
	font-family: terminus, monospace;
}

#ribbon {
	width: 48px;
	height: 75px;
	background: url("/img/black_ribbon.png") no-repeat top left;
	position: absolute;
	top: 2px;
	left: 940px;
	z-index: 2;
}

#main_picture_top #ribbon {
	top: 2px;
	left: 945px;
}

#subpages_text ol,ul {
	list-style: decimal;
}
