/* obecné definice */
body {
	background: #F7F7F7;
	text-align: center;
	margin: 0;
	padding: 0;
	font: 0.79em Verdana, sans-serif;
}
a, a:link, a:active, a:visited {
	color: #C70034;
	cursor: pointer;
	cursor: hand;
}
a:hover {
	color: #820021;
}
a img {
	border: 0;
}
hr, .hid {
	display: none !important;
}
.clr {
	clear: both;
	display: block;
	height: 1px;
	overflow: hidden;
}
.small {
	font-size: 90%;
}
table {
	font-size: 100%;
}
input, select {
	font: 10px Verdana, sans-serif;
	border: 1px solid #7F9DB9;
	font-weight: bold;
	_vertical-align: middle;
	color: #002A41;
}
input.submit {
	border: 0;
	margin: 0;
	padding: 0;
	width: 37px;
	height: 23px;
	color: #fff;
	background: transparent url(http://pp.2i.cz/images/button_ok.gif) left top no-repeat;
	text-align: center;
	cursor: pointer;
	cursor: hand;
}
input.cbx, input.rbl {
	border: 0;
	padding: 0;
	margin: 0;
}

/* společné definice stránky */
#p, #p2, #p3 {
	width: 770px;
	text-align: left;
	margin: 0 auto;
	position: relative;
	top: 0;
	left: 0;
}

div#pwrap {
    background: #F7F7F7 url(http://pp.2i.cz/images/head2.gif) center top no-repeat;
    }

#head {
	background: #F7F7F7 url(http://pp.2i.cz/images/head2.gif) center top no-repeat;
	position: relative;
	top: 0;
	left: 0;
	height: 120px;
}
#head h1 {
	position: absolute;
	left: 10px;
	top: 13px;
	margin:0;
	padding:0;
}

/* hlavní menu */
#menu {
	margin: 0;
	padding: 0;
	position: absolute;
	left: 101px;
	top: 3px;
	width: 540px;
	height: 90px;
	z-index: 999;
}
#menu li {
	list-style-type: none;
	display: block;
	float: left;
	width: 50px;
}
#menu a {
	display: block;
	width: 49px;
	height: 60px;
}
#menu a img {
	display: block;
	position: relative;
	top: 0;
	left: 0;
	z-index: -1;
}
li#mn1 a {margin-top: 4px;}
li#mn2 a {margin-top: 0px;}
li#mn3 a {margin-top: 11px;}
li#mn4 a {margin-top: 4px;}
li#mn5 a {margin-top: 7px;}
li#mn6 a {margin-top: 11px;}
li#mn7 a {margin-top: 0px;}
li#mn8 a {margin-top: 7px;}
li#mn9 a {margin-top: 5px;}

/* submenu */
.smenu {
	display: none;
	position: absolute;
	width: 490px;
	top: 57px;
	margin: 0 0 0 85px;
	padding: 0;
	font-size: 10px;
	font-weight: bold;
	color: #7F9DB9;
	z-index: 999;
}
.smenu.actual {
	display: block !important;
}
.smenu a {
	display: inline;
	background: none;
	width: auto;
	height: auto;
	margin: 0 5px;
	text-decoration: none;
}
.smenu a:hover {
	text-decoration: underline;
	background: none;
}
.smenu p {
	margin: 8px 0 0 0;
	padding: 0 0 5px 0;
}
.smenu .pos {
	margin: 0;
	padding: 0;
	display: block;
	left: 0px;
	top: 0px;
	z-index: 999;
	width: 300px;
	height: 4px;
}
.smenu .pos img {
	position: relative;
	top: 0;
	left: 0;
	display: block;
}
#sm1.smenu .pos img {left: 4px;}
#sm2.smenu .pos img {left: 56px;}
#sm3.smenu .pos img {left: 108px;}
#sm4.smenu .pos img {left: 155px;}
#sm5.smenu .pos img {left: 208px;}
#sm6.smenu .pos img {left: 257px;}
#sm7.smenu .pos img {left: 307px;}
#sm8.smenu .pos img {left: 355px;}
#sm9.smenu .pos img {left: 402px;}

/* přihlášený uživatel */
#user {
	font-size: 9px;
	width: 178px;
	position: absolute;
	right: 30px;
	top: 2px;
	text-align: right;
}
#user * {
	font-size: 100%;
	color: #C6D1D6;
}
#user .userico {
	padding-left: 5px;
}
#user .userico img {
	border: 1px solid #242D32;
}
#user img {
	display: block;
}
#user h3 {
	font-weight: normal;
	padding: 0;
	margin: 0;
}
#user table {
	margin: 10px 0 0 0;
	padding: 0;
	float: right;
	border-collapse: collapse;
	border: 0;
}
#user td {
	padding: 0;
	text-align: left;
}
#user th {
	font-weight: normal;
	text-align: right;
	padding: 0 5px 0 0;
}
#user th.new a {font-weight: bold;}
#user td.new a {color: #FF0030; background: #C5D0D5;}
#user td.new a:hover {color: #000;}
#user td a {text-decoration: none;}
#user ul {
	margin: 0;
	padding: 0;
	position: absolute;
	right: -25px;
	top: 0;
	width: 18px;
}
#user li {
	list-style-type: none;
	display: block;
	float: left;
	margin: 0;
	padding: 0;
	height: 20px;
}
#user li a {
	display: block;
	width: 18px;
	height: 14px;
}
#user a:hover {
	color: #fff;
}
#user #cn1 {height: 24px;}
#user #cn1 a {margin-left: 3px;}

/* definice podhlavičky */
#subhead {
	margin-top: -25px;
	padding-bottom: 15px;
}
#subhead.empty {
	height: 15px;
}
#subhead form, #subhead p {
	margin: 0;
	padding: 0;
}

/* filtry, detail ke stránce */
#sort {
	font-size: 10px;
	padding-left: 16px;
	color: #002B42;
	float: left;
	position: relative;
	top: 0;
	left: 0;
}

/* listování vpřed a vzad */
#list {
	float: right;
	position: relative;
	top: 0;
	left: 0;
	width: 70px;
}
#list a {
	display: block;
	width: 23px;
	height: 23px;
	float: left;
}
#list a img {
	display: block;
}
#list a.bRight {
	margin-left: 10px;
}
#list.simple {
	position: relative;
	top: 0;
	left: 0;
	width: 740px;
	float: none;
	margin: 0 auto;
}
#list.simple a.bRight {
	margin: 0px;
	float: left;
}
#list.simple a.bRight {
	margin: 0px;
	float: right;
}

/* patička */
#foot {
	padding-top: 15px;
	_position: absolute;
}
#foot form, #foot p {
	margin: 0;
	padding: 0;
}

/* střední partie patičky s kalibrací */
#midfoot {
	position: relative;
	top: 0;
	left: 0;
	_height: 1%;
	font-size: 10px;
	clear: both;
	margin: 20px 0 0 16px;
}
#midfoot .calibration {
	float: left;
	width: 336px;
}
#midfoot .calibration table {
	border-collapse: collapse;	
}
#midfoot .calibration td {
	padding: 0;
}
#midfoot .calibration div {
	background: #EEF0F1;
	border: 1px solid #E4E8EA;
	padding: 5px;
}
#midfoot .calibration img {
	display: block;
}
#midfoot .calibration h4 {
	font-size: 10px;
	padding: 0;
	margin: 0;
	color: #023754;
	font-weight: normal;
}
#midfoot .calibration a {
	color: #023754;
}
#midfoot .calibration a:hover {
	color: #C70034;
}
#midfoot .bottomMenu {
	float: left;
	width: 400px;
	margin-top: 2px;
	overflow: hidden;
}
#midfoot .bottomMenu ul {
	display: block;
	margin: 0 0 0 40px;
	padding: 0;
	width: 400px;
}
#midfoot .bottomMenu li {
	display: block;
	float: left;
	width: 180px;
	overflow: hidden;
	margin: 0;
	line-height: 150%;
	padding: 0 0 0 17px;
	list-style-type: none;
	background: url(http://pp.2i.cz/images/ico_smallarr.gif) 0px 2px no-repeat;
}
#midfoot .bottomMenu a {
	color: #023754;
	text-decoration: none;
}
#midfoot .bottomMenu a:hover {
	color: #C70034;
	text-decoration: underline;
}

/* spodní partie patičky s menu */

#fwrap {
	clear: all;
	-x-margin-top: 20px;
	padding-top: 40px;
	background: #F7F7F7 url(http://pp.2i.cz/images/foot2.gif) center bottom no-repeat;
}


#botfoot {
	font-size: 10px;
	clear: both;
	position: relative;
	top: 0;
	left: 0;
	_height: 1%;
	background: #F7F7F7 url(http://pp.2i.cz/images/foot2.gif) center bottom no-repeat;
	padding-top: 20px;
}
#botfoot p {
	padding: 0 0 0 200px;
	margin: 0;
	font-size: 10px;
}
#botfoot p.copyright {
	margin: 0;
	padding: 0 0 7px 15px;
	color: #C5D0D5;
	position: relative;
	top: 0;
	left: 0;
	top: -2px;
}
#botfoot p.copyright a {
	color: #C5D0D5;
}
#backlinks {
	font-size: 10px;
	text-align: center;
	padding: 15px 0 ;
	background: #023754;
	color: #fff;
}

#backlinks a {
    color: #f67;
    }


#backlinks a:hover {
    text-decoration: none;
}


/* ##################### galerie ##################### */
#servermessage {
	margin: -35px 0 25px 0;
	position: relative;
	top: 0;
	left: 0;
}
#servermessage p {
	margin: 0 10px 10px 10px;
	padding: 0;
	font-size: 80%;
}
#servermessage strong {
	color: #023754;
}
#latestDigest table {
	border: 0;
	border-collapse: collapse;
}
#latestDigest td {
	padding: 2px 5px 5px 9px;
	width: 25%;
	font-size: 80%;
	vertical-align: top;
}
#latestDigest .head td {
	margin-top: 10px;
	padding: 7px 5px 3px 9px;
	width: 25%;
	background: #F7F7F7 url(http://pp.2i.cz/images/pgradh.gif) 0px 0px repeat-x;
}
#latestDigest .head td h4 {
	color: #023754;
	font-weight: bold;
	margin: 0;
	padding: 0;
	font-size: 100%;
}
/* vlastni fotky */
#main.photos table {
	border: 0;
	border-collapse: collapse;
}
#main.photos td {
	padding: 10px 5px 0px 9px;
	vertical-align: top;
	background: url(http://pp.2i.cz/images/pgrad.gif) right bottom no-repeat;
	border-top: 5px solid #F7F7F7;
	width: 154px;
}
#main.photos .photoHead td {
	padding: 7px 5px 3px 9px;
	vertical-align: top;
	width: 100%;
	background: #F7F7F7 url(http://pp.2i.cz/images/pgradh.gif) 0px 0px repeat-x;
	border-top: 20px solid #F7F7F7;
}
#main.photos .photoHead td h4 {
	color: #023754;
	font-weight: bold;
	margin: 0;
	padding: 0;
	font-size: 80%;
}
#main.photos .photo {
	display: table;
	height: 100px;
	position: relative;
	top: 0;
	left: 0;
	overflow: hidden;
	width: 140px;
	_padding-top: 4px;
}
#main.photos .photo div {
	vertical-align: bottom;
	display: table-cell;
	_position: absolute;
	 _top: 100%;
}
#main.photos .photo a {
	display: block;
	position: relative;
	top: 0;
	left: 0;
}
#main.photos img {
	display: block;
	position: relative;
	top: 0;
	left: 0;
	border: 1px solid #000;
	_top: -100%;
}
#main.photos h4 {
	font-size: 90%;
	font-weight: normal;
	color: #CACACA;
	margin: 0;
	padding: 3px 0 0 0;
}
#main.photos h4 a {
	color: #000;
	text-decoration: underline;
}
#main.photos h4 a * {
	color: #000;
}
#main.photos h4 a:hover * {
	color: #C70034;
}
#main.photos h4 a:visited {
	color: #666;
}
#main.photos h4 a:hover {
	color: #C70034;
}
#main.photos h4 em {
	font-style: normal;
	color: #C70034;
}
#main.photos h4 * {
	font-size: 100%;
	font-weight: normal;
	color: #CACACA;
	display: inline;
}
#main.photos h5 {
	font-size: 70%;
	font-weight: normal;
	color: #adadad;
	margin: 0;
}
#main.photos h5 a, #main.photos .author a {
	color: #999;
}
#main.photos h5 a:hover, #main.photos .author a:hover {
	color: #666;
}
#main.photos h5 em, #main.photos .author em {
	font-style: normal;
	color: #317EA8;
}
#main.photos span.series {
	display: block;
	width: 19px;
	height: 17px;
	background: url(http://pp.2i.cz/images/ico_series.gif);
	margin-bottom: -17px;
	float: right;
}

/* ##################### detail fotky ##################### */
#main.detail {
	margin: 0;
	padding: 0;
	text-align: center;
	display: block;
	position: static;
}
#photo {
	text-align: center;
	width: 750px;
	margin: 0 auto 10px auto;
}
#photo2 {
	text-align: center;
	margin:10px 0 10px 0;
	width: auto;
	height: auto;
	overflow: visible;
	display: block;
}
#photo img, #photo2 img {
	border-color: #000;
	display: block;
	margin: 0 auto;
}
#photoInfo {
	margin: 0 auto;
	z-index: 999;
	position: relative;
	top: 0;
	left: 0;
	text-align: left;
	width: 700px;
	font-size: 90%;
}
#photoInfo img {
	display: block;
	margin-bottom: 10px;
	vertical-align: bottom;
	_vertical-align: text-bottom;
}
#piAuthor {
	float: left;
	width: 370px;
	background: url(http://pp.2i.cz/images/bg_auth.gif) right top repeat-y;
}
#piAuthor * {
	margin: 0;
	font-style: normal;
}
#piAuthor em {
	margin-left: -80px;
	width: 70px;
	float: left;
	text-align: right;
}
#piAuthor p {
	padding-left: 80px;
}
#piAuthor p * {
	display: inline !important; 
	vertical-align: top !important; 
	margin-top: 1px !important;
}
#piAuthor p img {
}
#piAuthor h4 {
	margin-bottom: 5px;
	font-size: 105%;
	padding-left: 80px;
}
#piDesc {
	float: left;
	width: 330px;
}
#photoInfo em {
	color: #666;
}
#piDesc dl {
	margin: 0;
}
#piDesc dt * {
	color: #666;
	font-weight: normal;
}
#piDesc dd {
	margin: 3px 0 10px;
}
#piDesc dd * {
	font-size: 100%;
}

/* odeslání komentáře či hodnocení */
#submitComment {
	width: 700px;
	margin: 0 auto;
	text-align: left;
}
#submitComment table {
	background: #fff;
	width: 700px;
	border-collapse: collapse;
	margin: 0;
	padding: 0;
}
#submitComment td {
	padding: 3px 5px;
	vertical-align: middle;
}
#submitComment td.rating, #submitComment td.views {
	border-bottom: 1px solid #F7F7F7;
	border-right: 1px solid #F7F7F7;
	padding-left: 100px;
	_width: 250px;
}
#submitComment td.rating {
	padding-top: 4px;
}
#submitComment td.rating strong {
	color: #C60035;
}
#submitComment td.views strong {
	color: #063A50;
}
#submitComment em {
	color: #666;
	font-style: normal;
	float: left;
	text-align: right;
	margin-left: -90px;
	width: 85px;
}
#submitComment td.rate {
	width: 330px;
	padding-left: 20px;
	padding-right: 0;
	font-weight: bold;
	padding-top: 6px;
	color: #093454;
	border-bottom: 1px solid #F7F7F7;
}
#submitComment td.ta {
	border-top: 1px solid #F7F7F7;
}
#submitComment input.rb {
	vertical-align: middle;
	margin: 0px 25px 0 0;
	_margin: 2px 25px 0 0;
	padding: 0;
	width: 13px;
	border: 0;
}
#submitComment textarea {
	width: 560px;
	vertical-align: middle;
	margin: 5px 0 5px 9px;
	border: 1px solid #cfcfcf;
	font: 100% Verdana, sans-serif;
}
#submitComment input.submit {
	width: 100px;
	background-image: url(http://pp.2i.cz/images/button_submit.gif);
	margin: 0 0 0 10px;
}

/* výpis zpráv, hodnocení či komentářů */
#messages {
	width: 700px;
	margin: 0px auto;
	text-align: left;
	font-size: 90%;
	position: relative;
	top: 0;
	left: 0;
	_margin-top: 0px;
}
#messages .mes {
	background: #fff;
	margin: 0;
	padding: 5px;
	height: auto;
	_height: 50px;
	min-height: 50px;
	clear: both;
	position: relative;
	top: 0;
	left: 0;
	font-size: 90%;
}
#messages .mes.s {
	background: transparent;
}
#messages h4 {
	margin: 0;
	padding: 0 0 0 50px;
	font-weight: normal;
	color: #999;
	font-size: 100%;
}
#messages h4 strong {
	color: #000;
	font-size: 110%;
}
#messages h4 img {
	vertical-align: bottom;
	_vertical-align: text-bottom;
	margin-bottom: 1px;
}
#messages input.submit {
    width: 200px;
    background-image: url(http://pp.2i.cz/images/button_submit_long.gif);
    margin: 0;
}
#messages .ico {
	float: left;
	margin-left: -48px;
	position: relative;
	top: 0;
	left: 0;
}
#messages .mes div {
	margin-top: 7px;
	margin-left: 50px;
	padding-left: 0px;
	color: #333;
	overflow: hidden;
}
#messages .mes div.post {
	padding-top: 3px;
	padding-bottom: 5px;
	font-size: 90%;
}
#messages .mes div.post .delete {
	color: #999;
}
#messages .mes div.post .delete:hover {
	color: #333;
}
#messages hr, #page .showhr hr {
	display: inherit !important;
	_display: block !important;
}
#messages .rating {
	position: absolute;
	right: 4px;
	top: 4px;
	display: block;
	background: red;
	overflow: hidden;
	font-size: 11px;
	color: #fff;
	text-align: center;
	width: 20px;
	height: 20px;
	background: url(http://pp.2i.cz/images/rate_0.gif);
	background-repeat: no-repeat;
}
#messages .rating.r0 {background-image: url(http://pp.2i.cz/images/rate_0.gif);color:#95B6C7;}
#messages .rating.r1 {background-image: url(http://pp.2i.cz/images/rate_1.gif);}
#messages .rating.r2 {background-image: url(http://pp.2i.cz/images/rate_2.gif);}
#messages .rating.r3 {background-image: url(http://pp.2i.cz/images/rate_3.gif);}
#messages .rating.r4 {background-image: url(http://pp.2i.cz/images/rate_4.gif);}
#messages .rating.r5 {background-image: url(http://pp.2i.cz/images/rate_5.gif);}
#messages .rating em {
	padding: 3px;
	display: block;
	font-style: normal;
	font-weight: bold;
}
#messages.bazar h4 {
	padding: 5px 5px 2px 5px;
}
#messages.bazar h4.koupim, #messages.bazar h4.koupim strong {
	color: #228b22;
}
#messages.bazar h4.prodam, #messages.bazar h4.prodam strong {
	color: #b22222;
}
#messages.bazar h4 em {
	color: #999;
	font-style: normal;
}
#messages.bazar div {
	padding-left: 5px;
}
#messages.bazar .author {
	padding: 2px 5px 5px 5px;
	color: #999;
}
#messages.comments {
	margin: 0 auto;
}
#messages.comments .mes {
	_height: 103px;
	min-height: 103px;
}
#messages.comments h4 {
	margin: 0;
	padding: 0 0 0 120px;
	font-weight: normal;
	color: #5B8AA6;
	line-height: 140%;
}
#messages.comments .mes div {
	padding-left: 0;
	margin-left: 120px;
}
#messages.comments h4 strong {
	color: #5B8AA6;
	font-size: 100%;
}
#messages.comments h4 img {
	vertical-align: bottom;
	_vertical-align: text-bottom;
	margin-bottom: 1px;
	_margin-top: 2px;
}
#messages.comments .smallphoto {
	float: left;
	margin-left: -118px;
	position: relative;
	top: 0;
	left: 0;
	border: 1px solid #333;
}

/* ##################### stránka s tabulkou ##################### */
#tablepage {
	text-align: center;
}
#tablepage table {
	width: 745px;
	margin: 0 auto;
	border-collapse: separate;
	border: 0;
	font-size: 80%;
	text-align: left;
}
#tablepage td, #tablepage th {
	background: #E4E8EA;
	padding: 1px 4px;
	margin: 2px;
	vertical-align: top;
}
#tablepage th {
	background: #023754;
	color: #fff;
	font-weight: bold;
}
#tablepage input.submit {
    width: 100px;
    background-image: url(http://pp.2i.cz/images/button_submit.gif);
    margin: 5px 0 5px 0px;
}

/* upload */
.upload {
	text-align: center;
}
.upload table {
	padding: 0;
	font-size: 80%;
	width: 400px;
	text-align: left;
	margin: 0 auto;
}
.upload table th {
	color: #333;
	text-align: right;
	white-space: nowrap;
}
.upload table td {
	color: #999;
}
.upload table td strong {
	color: #5B8AA6;
}
.upload table input.submit {
	width: 100px;
	background-image: url(http://pp.2i.cz/images/button_submit.gif);
	margin: 0 0 0 -2px;
}
/* autorinfo */
#authorData, #authorInfo {
	font-size: 80%;
	margin: 0 15px;
}
#authorData textarea {
	width: 400px;
	margin: 5px 0 5px 0px;
	border: 1px solid #cfcfcf;
	font: 100% Verdana, sans-serif;
}
#authorData input.submit {
	width: 100px;
	background-image: url(http://pp.2i.cz/images/button_submit.gif);
	margin: 5px 0 5px 0px;
}
#authorData div {
	border: 5px solid #E6EAEB;
	padding: 5px;
	position: relative;
	top: 0;
	left: 0;
	_width: 720px;
}
#authorData table {
	width: 100%;
	_width: 720px;
}
#authorData table .odd {
	background: #E6EAEB;
}
#authorData td {
	width: 50%;
}
#authorData td table {
	width: 100%;
}
#authorData td table td {
	margin: 0;
	padding: 0;
	width: auto;
}
#authorData td table td.recordN {
	text-align: left;
	font-weight: bold;
}
#authorData td table td.recordC {
	text-align: right;
}
#authorData .online {color: #00a101;}
#authorData .offline {color: #e10000;}
#authorData td.author {
	padding: 0;
	vertical-align: top
}
#authorData td.author a.email {
	color: #7d7d7d;
}
#authorData td.author a.email:hover {
	color: #b22222;
}
#authorData td.author img {
	display: block;
}
#authorInfo dl {
	margin: 25px 15px 0;
}
#authorInfo dt * {
	color: #666;
	font-weight: bold;
	font-size: 100%;
	display: inline;
}
#authorInfo dd {
	margin: 3px 0 0px;
}
#authorInfo dd * {
	font-size: 100%;
	display: inline;
}
#authorInfo dt.sec {
	margin-top: 20px;
}


/*  API 2i.cz  */

.button2i {
    background: url(http://pp.2i.cz/images/button_custom.gif) no-repeat;
    color: #fff;
    text-align: center;
    width: 100px;
    height: 18px;
    line-height: 18px;
    padding-top: 4px;
    margin-left: 10px;
    vertical-align: bottom;
    font: arial;
    font-weight: bold;
    font-size: 11px;
    cursor: pointer;
    position: relative;
    top: 0;
    left: 0;
}
.button2i span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #123752;
    color: #fff;
    display: none;
    padding-top: 4px;
}
.button2i input {
    font-family: sans-serif;
}

.uploading2i span {
    display: block;
}


