
body {
background-color: #1b1b16;
margin: 0;
padding: 0;
color: #f1f5b5;
font-family: "Trebuchet MS", Verdana, sans-serif;
font-size: 87.5%;
}
html, body { margin: 0; padding: 0; height: 100%;}
#wrapper{
	width: 100%; background-color: #25251e; padding-bottom: 60px;
}
* ul, * li { 
list-style: none; 
padding: 0;
margin: 0;
}
p { margin: 0; padding: 0; }
.clear {
clear: both;
height: 1px;
line-height: 1px;
}

a, a:link, a:visited, a:hover { color: #d9c144; text-decoration: none;}

a:hover {
background-color: #674a07; color: #f1f5b5;
}
.sel a:hover, a.sel:hover {
text-decoration: none;
cursor: default;
}
/*a.sel { opacity: .5; }*/
a.sel, span.sel { font-weight: bold; font-style:normal; }

h1.imageText, p.skipNav {
position: absolute; width: 20em; left: -999em; margin-top: 0; top: 0;
}

#top {
position: relative;
background: url(../images/toBcgr.png) repeat-x transparent;
width: 100%; height: 34px; 
}

h1.logoText {
display: none;
}

#ieWarning {
position: absolute; top:40px; left: 250px; width: 600px;
}

#menuMain { position: absolute;
height: 34px;
width: 720px; left: 250px; top: 0;
}

#menuMain li{
float: left;
margin-left: 0;
}
#menuMain li.index{width: 130px;}
#menuMain li.darbi{width: 115px;}
#menuMain li.par{width: 126px;}
#menuMain li.jaunumi{width: 126px;}
#menuMain li.viesi{width: 173px;}

#menuMain li a{
display: block;
height: 34px;
width: 100%;
text-indent: -999em;
background: url(../images/menu.gif) no-repeat;
}

#menuMain li.darbi a {background-position: -130px 0px;}
#menuMain li.par a  {background-position: -245px 0px;}
#menuMain li.jaunumi a  {background-position: -371px 0px;}
#menuMain li.viesi a  {background-position: -497px -0px;}

body#index #menuMain li.index a, #menuMain li.index a:hover {background-position: 0 -34px;}
body#darbi #menuMain li.darbi a, #menuMain li.darbi a:hover  {background-position: -130px -34px;}
body#par #menuMain li.par a, #menuMain li.par a:hover  {background-position: -245px -34px;}
body#jaunumi #menuMain li.jaunumi a, #menuMain li.jaunumi a:hover  {background-position: -371px -34px;}
body#viesi #menuMain li.viesi a, #menuMain li.viesi a:hover  {background-position: -497px -34px;}

body#index #menuMain:hover li.index a { width: 128px; border-left: 1px dotted #ceb33a; border-right: 1px dotted #ceb33a; background-position: -1px -34px; }
body#darbi #menuMain:hover li.darbi a { width: 113px; border-left: 1px dotted #ceb33a; border-right: 1px dotted #ceb33a;background-position: -131px -34px;}
body#par #menuMain:hover li.par a { width: 124px; border-left: 1px dotted #ceb33a; border-right: 1px dotted #ceb33a; background-position: -246px -34px;}
body#jaunumi #menuMain:hover li.jaunumi a { width: 124px; border-left: 1px dotted #ceb33a; border-right: 1px dotted #ceb33a; background-position: -372px -34px;}
body#viesi #menuMain:hover li.viesi a { width: 171px; border-left: 1px dotted #ceb33a; border-right: 1px dotted #ceb33a;background-position: -498px -34px; }

body#index #menuMain li.index a:hover,
body#darbi #menuMain li.darbi a:hover,
body#par #menuMain li.par a:hover,
body#jaunumi #menuMain li.jaunumi a:hover,
body#viesi #menuMain li.viesi a:hover {
cursor: default }

#menuSub { position: absolute;
height: 110px;
width: 170px; left: 38px; top:247px;
background: url(../images/parSubMenu.png) no-repeat;
}
body#darbi #menuSub { 
background: url(../images/darbiSubMenu.png) no-repeat;
}
#menuSub li{height: 27px;}
#menuSub li.summary{height: 29px;}

#menuSub li a{
display: block;
height: 100%;
width: 170px;
text-indent: -999em;
}
#menuSub li.bio a:hover, body.bio #menuSub li.bio a{
background: url(../images/parSubMenu.png) no-repeat -170px 0;
border-bottom: 2px solid #674a07;
}
#menuSub li.photo a:hover, body.photo #menuSub li.photo a{
background: url(../images/parSubMenu.png) no-repeat -170px -27px;
border-bottom: 2px solid #674a07;
}
#menuSub li.romans a:hover, body.romans #menuSub li.romans a{
background: url(../images/parSubMenu.png) no-repeat -170px -54px;
border-bottom: 2px solid #674a07;
}
#menuSub li.summary a:hover, body.summary #menuSub li.summary a{
background: url(../images/parSubMenu.png) no-repeat -170px -81px;
}
#menuSub li.gle a:hover, body.gle #menuSub li.gle a{
background: url(../images/darbiSubMenu.png) no-repeat -170px 0;
border-bottom: 2px solid #674a07;
}
#menuSub li.kar a:hover, body.kar #menuSub li.kar a{
background: url(../images/darbiSubMenu.png) no-repeat -170px -27px;
border-bottom: 2px solid #674a07;
}
#menuSub li.zim a:hover, body.zim #menuSub li.zim a{
background: url(../images/darbiSubMenu.png) no-repeat -170px -54px;
border-bottom: 2px solid #674a07;
}
#menuSub li.rad a:hover, body.rad #menuSub li.rad a{
background: url(../images/darbiSubMenu.png) no-repeat -170px -81px;
border-bottom: 2px solid #674a07;
}
#content {
background: url(../images/ugis.gif) no-repeat 34px 28px;
padding-top: 100px;
}

#contentRight {
margin: 0 0 0 250px;
width: 600px;  /*border-bottom: 1px white solid;*/  /*border-right: 1px white solid;*/
}
body#index #contentRight {
background-repeat: no-repeat; background-position: 0 0; background-color:transparent; width: 665px; height: 460px; position: relative; margin: 0; left: 250px;
}
body.photo #contentRight { height: 400px; width: 700px; }
body.kar #contentRight { height: 480px; /*width: 700px;*/ }

#contentRight p {
line-height: 1.6;
}

/* DARBI*/

body#darbi #contentRight {
width: 630px;
}
body#darbi #contentRight ul {
float:left; margin-bottom: 18px; clear: both; width: 630px;
}
body#darbi #contentRight li {
float: left; width: 126px; height: 104px;
}
body#darbi #contentRight li a img {
border: 2px solid #dec648; 
}
body#darbi.kar #contentRight li a:hover img {
border: 2px solid #ad6025; 
}
/* ROMANS*/

body.romans #contentRight #romFrag p {
text-indent: 2em;
}
body.romans h2, body.romans h3 {color: #d9c144; font-size: 1.8em; margin: 1em;  }
body.romans h3 { font-size: 1.1em; font-style: italic; margin-top: 2em; }

body.romans #fShow { display: none; width: 500px; height: 400px; margin-top: 12px;}

/* JAUNUMI*/
body#jaunumi #content { padding-left: 250px; }
body#jaunumi #contentRight { width: 560px; margin: 0; }
p.orn { height: 41px; background: url(../images/ornJaunumi.png) no-repeat 75px 0;
margin: 20px 0;}

/*KARIKATURAS*/
body.kar #contentRight { height: 510px; /*width: 700px;*/ }
#karPage1, #karPage2 { background-color: #25251e; }
#content.pageOne #karPage2 { display: none; }
#content.pageTwo #karPage1 { display: none; }

.karPageNum { width: 44px; height: 15px; position: absolute; left: 814px; top: 106px; background: url(../images/pageNum.png) 0 0 no-repeat #25251e; font-size: 6px;}
#karPageNum2 {top: 615px;}

#content.pageOne div.karPageNum { background-position: 0 0; }
#content.pageOne div.pageTwo { background-position: 0 -15px; cursor:pointer; }
#content.pageTwo div.karPageNum { background-position: 0 -15px; }
#content.pageTwo div.pageOne { background-position: 0 0; }

.karPageNum li { position: absolute; left: 0px; top: 0px; width:22px; height: 15px; }
.karPageNum li.pageTwo { left: 22px; }


/*FOOTER*/

#footer {
margin: 0 auto;
width: 100%;
padding: 20px 0;
text-align: center;
color: #f1f5b5;
background-color: transparent;
clear: both;
font-size: .9em;
}

#footer li {
display: inline;
margin: 0 7px 0 0px;
}

#footer li a {
border-left: 1px #f1f5b5 solid; 
padding: 0 0px 0 10px; 
}


body#index #footer li.index a,
body#darbi #footer li.darbi a,
body#par #footer li.par a,
body#jaunumi #footer li.jaunumi a,
body#viesi #footer li.viesi a  {
cursor: default; text-decoration: none; color: #5c5538;
}
#footer li.first a {
border-left: 0px #91703e solid; padding-left: 0;
}
#footer li.last {
margin-right: 0;
}
p#copyright {
margin: 0; 
padding-top: 4px;
}

#footer a:link, #footer a:visited, #footer a:hover { color: #f1f5b5; background-color: transparent; }
#footer li a:hover, #footer p a:hover { text-decoration: underline; }


/*LIGHTBOX*/
#lightbox, #lightbox-overlay {
	position: absolute;
	top: 0px;
	left: 0px;
	bottom:auto;
	right:auto;
	
	z-index:100;
	width:100%;
	height:auto;
	
	text-align:center;
	color:#333333;
	
	/* stop stupid conflicts */
	margin:0px;
	padding:0px;
	border:none;
	outline:none;
	line-height:0;
	
	/* general conflict stopper */
	text-decoration:none;
	background:none;
	word-spacing:normal;
	letter-spacing:normal;
	float:none;
	clear:none;
	display:block;
}

#lightbox-overlay {
	z-index: 90;
	background-color:#000000;
	height: 100%;
}
#lightbox-overlay-text {
	text-align: right;
	margin-right: 20px;
	margin-top: 20px;
	color: white;
	font-size: 12px;
	cursor: default;
	line-height:normal;
}
#lightbox-overlay-text a, #lightbox-overlay-text a:hover, #lightbox-overlay-text a:visited, #lightbox-overlay-text a:link {
	text-decoration:underline;
	color:white;
}
#lightbox-overlay-text span {
	padding-left:5px;
	padding-right:5px;
}

#lightbox img, #lightbox a img, #lightbox a { border:none; outline:none; }

#lightbox-imageBox {
	position:relative;
	border:1px solid black;;
	background-color:white;
	width:250px;
	height:250px;
	margin:0 auto;
}

#lightbox-imageContainer {
	padding:1px;
}

#lightbox-loading {
	position:absolute;
	top:40%;
	left:0%;
	height:25%;
	width:100%;
	text-align:center;
	line-height:0;
}

#lightbox-nav {
	position:absolute;
	top:0;
	left:0;
	height:100%;
	width:100%;
	z-index:10;
}
/* #lightbox-imageBox > #lightbox-nav { left: 0; } 
#lightbox-nav a { outline: none; }*/


#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
	display:block;
	width:49%;
	height: 100%;
	background:transparent url("../images/blank.gif") no-repeat; /* Trick IE into showing hover */
	/* cursor:pointer; */
	zoom:1; /* who knows why? */
	
	padding:0px;
	margin:0px;
}
#lightbox-nav-btnPrev { 
	left:0;
	right:auto;
	float:left;
}
#lightbox-nav-btnNext { 
	left:auto;
	right:0;
	float:right;
}
/*
.preload_largeLink, #prevLink:hover, #prevLink:visited:hover {
	background:url("../images/prev.gif") left 45% no-repeat;
}
.preload_nextLink, #nextLink:hover, #nextLink:visited:hover {
	background:url("../images/next.gif") right 45% no-repeat;
}
*/

#lightbox-infoBox {
	font:10px Verdana, Helvetica, sans-serif;
	background-color:#FFFFFF;
	margin:0 auto;
	padding:0;
	
	/* width: 100%;
	padding: 0 10px 0; */
}

#lightbox-infoContainer {
	padding-left:10px;
	padding-right:10px;
	padding-top:5px;
	padding-bottom:5px;
	color:#666;
	
	line-height:normal;
	/* height:30px; */
}
#lightbox-infoHeader {
	width:100%;
	text-align:center; 
}
#lightbox-caption {
	text-align:justify;
}
#lightbox-caption-title {
	font-weight:bold;
}
#lightbox-caption-description {
	font-weight:normal;
}

#lightbox-infoFooter {
	margin-top:3px;
	color:#999999;
}
#lightbox-currentNumber {
	display:block;
	width:49%;
	float:left;
	text-align:left;
}
#lightbox-close {
	display:block;
	width:45%;
	float:right;
	text-align:right;
}
#lightbox-close-button{
	padding-left:30%;
}
#lightbox-close-button, #lightbox-close-button:link, #lightbox-close-button:visited {
	color:#999999;
}
#lightbox-infoBox #lightbox-close-button:hover {
	text-decoration:underline;
	color:#25251e;
	background-color: transparent;
}

#lightbox-infoContainer-clear {
	clear:both; 
	visibility:hidden;
}

:link, :visited, :focus, :active { -moz-outline: 0px solid blue; }
:link img, :visited img, :focus img, :active img { -moz-outline: 0px solid blue; }

