body, html{
	height: 100%; margin: 0px; padding: 0px;
}
body{
	font-family: arial, verdana, helvetica, sans-serif, serif, times;
	font-size: small;
	margin: 4px;
	text-align: center;
}
.center{
	text-align: center;
}
.topspace{
	margin-top:30px;
}
.content, #content{
	text-align: left;
	margin: auto;
	background-color: #eee; 
	padding: 5px; 
	padding-bottom: 40px;
	border: 1px solid #ccc; 
	border-bottom: #EBE1AA;
	border-top: #EBE1AA;
	min-height: 80%;
}
* html body .content{
	height: 80%;
}
.galerie{
	text-align: left;
	margin: auto;
	background-color: #EDEAA6; 
	border: 1px solid #E3B268;
	padding: 8px 5px;
}

img{
	border: 0px;
}
div#object{text-align:center;}
div#object object{margin:0 auto;}
A:link{
        text-decoration: none;
        color: #555555;
        }
A:visited{
        text-decoration: none;
        color: #dd0000;
        }
A:hover{
        text-decoration: underline;
        color: #555555;
        }
A:link.small{
        font-size: x-small;
        text-decoration: none;
        color: #555555;
        }
A:visited.small{
        font-size: x-small;
        text-decoration: none;
        color: #dd0000;
        }
A:hover.small {
        font-size: x-small;
        text-decoration: underline;
        color: #000000;
        }
.footer{
	margin: auto;
	font-size: x-small;
	padding: 5px;
	background-color: #EDEAA6;
	border: 1px solid #E3B268;
}
.sm{
        font-size: x-small;
        }
.msg_error{
	border: 3px dashed #FAA8A7;
	border-left: 0px;
	border-right: 0px;
	background-color: #FCD3D2;
	margin:5px auto;
	width: 500px;
	padding: 1em;
	text-align: center;
}
.msg_desc{
	border: 2px solid #DADADA;
	background-color: #F5F5F5;
	margin:5px auto;
	width: 500px;
	padding: 1em;
	text-align: justify;
}
.msg_exterr{
	border: 3px dashed #FFC28F;
	border-left: 0px;
	border-right: 0px;
	background-color: #FFE1C6;
	margin:5px auto;
	width: 500px;
	padding: 1em;
	text-align: center;
}


/*-p:admin options-*/
div#admin_options{
	margin: 20px 5%;
}
div#admin_options form{
	clear: both;
	border: 1px solid #999;
	margin: 0;
	padding: 2em;
}
div#admin_options label.desc{
	font-weight: bold;
	display: block;
}
div#admin_options label.option{
	color: red;
	font-weight: bold;
}


div#admin_options textarea{
	width: 100%;
	margin-bottom: 2em;
}

div#admin_options input.submit{
	display: block; margin-top: 2em;
}

div#admin_options a{
	display: block; width: 4em;
	text-align: center; background:#fff;
	padding: 0.3em;
	border-left: 1px solid #888;
	border-top: 1px solid #888;
	border-right: 1px solid #888;
}




/*-k:admin options-*/

#minigallery{text-align:left;}
#minigallery div{text-align: center; height: 200px; width:170px; float: left; margin: 15px; overflow: hidden; padding: 0px; font-size: 11px; display:inline;}
#minigallery span{display: block; height: 158px;padding: 5px;background:#fff; border: 1px solid #ddd;}
#minigallery div img{margin:0; border: 3px solid #fff;}
#minigallery a:hover img{border:3px solid #f90;}


/*miniaturki*/
#insitemini{overflow:auto; height:120px; width:100%;text-align:center; margin: 10px 0;}
#insitemini a{display:inline; padding:5px; border:2px solid #ddd; background:#fff; width: 75px; height: 75px; text-align: center; float:left; margin: 5px;}
#insitemini a img{width: 100%; height: 100%;}
#insitemini div{width: 1090px; margin:0 auto;}
#insitemini .n{border-color:#f00; background:#fdd;}
/*k:miniaturki*/


form#AdminForm {width: 660px; margin: 30px auto; border: 2px solid #aaa; background:#fff; text-align:center;}
form#AdminForm fieldset{border:2px solid #eee; margin: 10px auto 30px auto; width:610px; text-align:left;}
form#AdminForm legend{font-size:16px; font-weight:bold; margin:0 auto;}
form#AdminForm textarea{width: 600px;}
form#AdminForm label{display:block;}
form#AdminForm input[type=submit]{margin:10px 0;}


form#AdminFormRenameFile{width: 660px; margin: 30px auto; border: 2px solid #aaa; background:#fff; text-align:center;}
form#AdminFormRenameFile fieldset{border:2px solid #eee; margin: 10px auto 30px auto; width:610px; text-align:left;}
form#AdminFormRenameFile legend{font-size:16px; font-weight:bold; margin:0 auto;}
form#AdminFormRenameFile input[name=newFileName]{font-size: 16px; font-weight:bold;}
form#AdminFormRenameFile input[type=submit]{margin:10px 0 0 0; display:block;}

/*hacki quirksów w IE*/
/* hides the second object from all versions of IE */
* html object.mov {
    display: none;
}
/* displays the second object in all versions of IE apart from 5 on PC */
* html object.mov/**/ {
    display: inline;
}
/* hides the second object from all versions of IE >= 5.5 */
* html object.mov {
    display/**/: none;
}
