@charset "utf-8";
/* CSS Document */

body {
	margin: 0px;
	padding: 0px;
	text-align: center;
}

/*
div{border: solid 1px black;}
*/

#all_wrap {
	position: relative;
	background: url('/img/bg-content.png') repeat-y right bottom;
	margin: auto;
	padding: 0px;
	width: 1024px;
	top: 15px;
	clear: both:
}

#logo {
	float: left;
	width: 428px;
	height: 93px;
}

#logo a img {
	float: left;
	margin-left: 110px;
	border: none;
	outline: 0;
}

#footer {
	background: #fFF url(/img/bg-footer.png) top left no-repeat;
	height: 69px;
	width: 1024px;
	clear: both;
}

#obj_top_wrap{
	height: 93px;
	clear: both;
}

#content_wrap {
	position:relative;
	clear: both;
	float: left;
	text-align: left;
	width: 1024px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	color: #515151;
}

#content_wrap h1 {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 21px;
	color: #515151;
}

#main_menu {
	float: left;
	width: 50%;
	margin: 0px;
}

#main_menu ul {
	display: inline-block;
	list-style: none;
	margin: 0px;
	padding: 0px;
}

#main_menu li {
	display: inline-block;
}

#main_menu a {
	text-decoration: none;
	outline: 0;
}

#main_menu img {
	border: none;
	outline: 0;
}

#content, #error_content {
	width: 785px;
	margin-top: 30px;
	margin-left: 110px;
	margin-right: 130px;
}

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

#content li {
	margin-left: 10px;
}

/* obrazki plywajace po prawej na niektorych stronach */

img.obj_floating_picture {
	float: right;
	margin-left: 60px;
	margin-right: 60px;
}

/* STYLE DLA OBRAZY.HTML */ 

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

.thumb_wrap img {
	border: none;
	display: inline-block;
	margin: 0 auto;
}

/* STYLE DLA OBRAZYGALERIA.HTML */

.left {
	position: relative;
	width: 180px;
	height: 430px;
	float: left;
	text-align: center;
}

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

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

#pictures_title, #pictures_description {
	margin-left: 15px;
	text-align: left;
	width: 160px;
}

#pictures_description_wrap {
	max-height: 190px;
	overflow: hidden;
}

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

/*
#pictures_description p:first-line {
	font-weight: bold;
	text-align: left;
}
*/

#pictures_nav {
	position: absolute;
	top: 190px;
	left: 50px;
}

/* cienie w galerii */
.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: 10px;
}

.left_top_corner {
	position: absolute;
	left: 0;
	top: 0;
	background:  url('/img/top-left-corner.png') no-repeat scroll left top;
	width: 4px;
	height: 4px;
	padding: 0;
	margin: 0;
}

.right_top_corner {
	position: absolute;
	right: 4px;
	top: 0;
	background:  url('/img/top-right-corner.png') no-repeat scroll left top;
	width: 4px;
	height: 4px;
	padding: 0;
	margin: 0;
}

.left_bottom_corner {
	position: absolute;
	left: 0;
	bottom: 0;
	background:  url('/img/bottom-left-corner.png') no-repeat scroll left top;
	width: 4px;
	height: 4px;
	padding: 0;
	margin: 0;
}

.right_bottom_corner {
	position: absolute;
	right: 4px;
	bottom: 0;
	background: url('/img/bottom-right-corner.png') no-repeat scroll left top;
	width: 4px;
	height: 4px;
	padding: 0;
	margin: 0;
}

.picture_wrap_top {
	padding-top: 4px;
	background: #FFF url('/img/shadow-top.png') top repeat-x;
	margin-right: 4px;
}

.picture_wrap_left {
	float: left;
	padding-left: 4px;
	background: #FFF url('/img/shadow-left.png') left repeat-y;
	display: inline-block;
}

.picture_wrap_right {
	float:right;
	padding-right: 4px;
	background: #FFF url('/img/shadow-right.png') right repeat-y;
	display: inline-block;
}

.picture_wrap_bottom {
	clear: both;
	background: #FFF url('/img/shadow-bottom.png') bottom repeat-x;
	padding-bottom: 4px;
}

/* Picture edition */
img.obj_pict_edit_thumb {
	margin-left: 7.5em;
}

/* STYLE DLA INDEX.HTML */

#content p.index {
	text-align: center;
	width: 100%;
}

/* STYLE DLA TEXTY.HTML */

#content .texts {
	width: 760px;
}

#content .texts ul {
	padding: 0;
}

#content .texts ul li {
	list-style-type: none;
	text-align: left;
	margin-left: 0;
	text-transform: uppercase;
}

#content .texts a {
	font-size: 14px;
	color: #515151;
	text-decoration: none;
}

#content .texts a:hover{
	font-size: 14px;
	color: #CCC;
}

#content .texts p {
	margin: 0;
}

#content .texts hr {
	border: none;
	border-bottom: dotted 1px #ADADAD;
}

#texts_count {
	width: 200px;
	border-top: dashed 1px #515151;
	margin-top: 15px;
	padding-top: 5px;
}



/* // ===================================================================== */
/* Style dla specyficznych elementów, podstron */
/* // ===================================================================== */

.obj_home_picture_painting_wrap {
	margin: auto;
	text-align: center;
}

.obj_home_picture_ch_wystawy ul li {
	list-style-image: url('/img/dash.gif');
	list-style-type: disc; 
	color: #515151;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px; 
}

#admin_toolbox {
	margin-right: 125px;
	margin-bottom: 10px;
	padding: 2px 10px 3px 10px;
	float: right;
	text-align: right;
	border-bottom: 1px dashed #000;
	border-top: 1px dashed #000;
	font-variant: small-caps;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	color: #515151;
}

#admin_toolbox a {
	text-decoration: none;
	color: #515151;
	font-variant: small-caps;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	padding: 0px 5px;
	outline: 0;
}

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

input, textarea, select {
	margin-top: 0.5em;
	border: 1px groove #ADADAD;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
}

input {
	height: 14px;
	padding: 1px;
}

.wide input, .wide textarea{
	width: 647px;
}

textarea {
	overflow: auto;
	border: 1px solid #CCC;
}

input:focus, textarea:focus {
	background-color: #E0E0E0;
}

.submit input {
	border: 2px groove #CCC;
	background-color: #E0E0E0;
	margin-left: 7.5em;
	height: auto;
}

.del_form .submit input {
	margin-left: 0;
	width: 58px;
}

#AttachmentName {
	margin-left: 7.5em;
	height: auto;
}

a input {
	border: 2px groove #CCC;
	background-color: #E0E0E0;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	margin-top: 10px;
	height: auto;
}

.error-message {
	margin-left: 8.5em;
	color: #CC0000;
	font-style: italic;
}

/* Texts toolbox */
#texts_toolbox table {
	border-collapse:collapse;
	table-layout: fixed;
	width: 790px;
	margin: auto;
	margin-bottom: 10px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	color: #515151;
}

#texts_toolbox table, #texts_toolbox th, #texts_toolbox td {
	border: 1px solid #515151;
	text-align: center;
	padding: 5px;
}

#texts_toolbox th {
	background-color: #E0E0E0;
}

th.table_first_column {
	width: 111px;
}

.button_column input {
	margin: 0;
	height: auto;
}

.button_column img {
	border: none;
	margin: 2px;
}

/*
#texts_toolbox .table_id_column, #texts_toolbox .table_lang_column {
	width: 5%;
}

#texts_toolbox .table_date_column {
	width: 10%;
}

#texts_toolbox .table_user_id_column, #texts_toolbox .table_version_column {
	width: 7%;
}

#texts_toolbox .table_title_column {
	width: 12%;
}

#texts_toolbox .table_texts_column {
	width: 20%;
}

#texts_toolbox td.table_texts_column {
	text-align: left;
	padding: 2px 4px;
}

#texts_toolbox input {
	border: 2px groove #ADADAD;
	background-color: #E0E0E0;
	margin: 0;
}
*/
/* Critical error style */
#error_content {
	border: 3px ridge #ADADAD;
	padding-left: 15px;
	color: #B3B3B3;
	font-style: italic;
}

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

#error_content p {
	margin-bottom: 14px;
}

/* Flash message style */
.flash_failure_message, .flash_success_message, .flash_info_message {
	background-color: #FF8a8a;
	width: 250px;
	min-height: 20px;
	border: 2px ridge #cc0000;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
	padding: 10px;
	color: #303030;
}

.flash_success_message {
	background-color: #79FC4E;
	border-color: #156100;
}

.flash_info_message {
	background-color: #7BCAE1;
	border-color: #006894;
}

h2 {
	font-size: 14px;
	font-weight: normal;
	color: #515151;
}

/* Footer info */
.info_source_code_version {
	font-size: 8px;
	color: #CCC;
	padding-top: 10px;
}

.debug {
	display: inline-block;
	border: 1px gray solid;
	white-space: pre-wrap;
	margin: 5px;
	padding: 5px;
	font-size: 11px;
	font-family: monospace;
	text-align: left;
}

.debug p{
	display: inline;
}

table.cake-sql-log {
	width: 900px;
	margin: auto;
	margin-top: 110px;
	margin-bottom: 10px;
	border-collapse: collapse;
	border: 1px solid gray;
	padding: 10px;
	font-size: 11px;
}

table.cake-sql-log caption {
	caption-side: bottom;
	margin-bottom: 30px;
}

table.cake-sql-log tr, table.cake-sql-log td, table.cake-sql-log th {
	border: 1px solid gray;
	padding: 5px;
}

#cakeControllerDump, .cake-sql-log {
	padding: 10px;
	margin: 10px;
	border: 1px solid black;
	clear:both;
	float:left;
	text-align: left;
}

