/* Start of CMSMS style sheet 'gojaus pagr' */
 * {
   margin:0;
   padding:0;
   color: #A15812;
}

body {
   z-index: 0;
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   background: #FFE429 url('images/fonas.jpg');
   color: #333;
   margin:2%; /* gives some air for the pagewrapper */
}

/*virshus backgroundo*/
#upbg
{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 320px;/*platumas nuo virsaus*/
  background: transparent url('images/top.png') repeat-x;
  z-index: 1;
}

img {
   border: 0;
}

a,
a:link 
a:active {
   text-decoration: underline;
   background-color: inherit; 
   color: #E97209; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #E97209;
}

a:hover {
   text-decoration: none;
   background-color: #F8EB61;
   color: #E97209;  
}


/* center wrapper, min max width */
div#pagewrapper {
   z-index: 2;
   position: relative;
   border: 0px solid black;
   margin: 0 auto;     /* this centers wrapper */
   width:980px;
   color: black;
}

div#virsus {
   height: 40px;
   width:900px;
   margin-left: 40px;
   background: transparent url('images/virsus.gif') repeat-x;           
}

div#logo {
   z-index: 3;
   position: absolute;
   background-image: url('images/gojus.png');
   background-repeat: no-repeat;
   width: 440px;
   height: 240px; /*platumas nuo virsaus*/
   margin: -40px 0 0 0;
   float: left;
}

div#vidurys {
   background: transparent url('images/body.gif') repeat-y;
}

div#extdeb{
   position: relative;
   width: 220px;
   height: 100px;
   background: transparent url('images/cl.png');
}

div#debeselis {
   position:absolute;
   font-weight:bold; 
   width: 225px;
   height: 105px;
   background: transparent url('images/cl.gif');
   left: 80%; 
}

div#debtext {
   position: relative;
   top: 50%;
   font-size: 80%;
   margin-top: -25px;
   margin-left: 20px;
   margin-right: 13px;
   text-align: center;
}

div#apacia {
   height: 40px;
   width:900px;
   margin-left: 40px;
   background: transparent url('images/apacia.gif') repeat-x;
}

div#boruze {
   position: relative;
   height:50px;
   width:60px;
   background: transparent url('images/boruze.gif');
   left: -40px;
   top: -20px;
}

div#header {
   /*kiek zemiau headeris*/
   height: 200px; /* adjust according your image size */
   margin-left: 40px;
   background: transparent;           
}

div#header h1 a {
   /* you can set your own image here */
   background: url(/images/baneriai/apie_mus.jpg) no-repeat 0 0px; 
   display: block;
   height: 200px; /* adjust according your image size */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div#header h1.pirmas a{
  background: url(images/baneriai/apie_mus.jpg) no-repeat 0 0px; 
}

div#header h1.antras a{
  background: url(images/baneriai/mums_svarbu.jpg) no-repeat 0 0px; 
}

div#header h1.trecias a{
  background: url(images/baneriai/ugdymas.jpg) no-repeat 0 0px; 
}

div#header h1.ketvirtas a{
  background: url(images/baneriai/galerija.jpg) no-repeat 0 0px; 
}

div#header h1.penktas a{
  background: url(images/baneriai/tai_idomu.jpg) no-repeat 0 0px; 
}

div#header h1.sestas a{
  background: url(images/baneriai/kontaktai.jpg) no-repeat 0 0px; 
}

div#tarpine {
   height: 40px;
   background-color: transparent;
}

div#content {
   margin: 2em auto 2em 0; /* some air above and under menu and content */
}

div#main {
   margin-left: 100px; 
   margin-right: 100px;
}

div#main ul {
   list-style-type: none;
   padding-left: 0;
   margin-left: 0;
}
 
div#main li {
   background: url(images/saulute.png) left center no-repeat;
   padding-left: 20px;
   margin-bottom: 10px;
}

div#main li.thumb{
   padding-left: 0px;
   margin-bottom: 0px;
   background: none;
}

div#main .thumb a {
   background-color:white; 
}

div#printeris {
   float:right;
   margin-right: 100px;
   background-color: inherit;
   text-decoration: none;
}

div#printeris a, a:link, a:active, a:visited, a:hover {
   background-color: inherit;
   text-decoration: none;
}

h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1.5em;
   margin: 0;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

h2 {
   color: #E97208;
   /*background-color: white;*/
}

p {
   font-size: 1em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   color:#a15812;
}

strong, b {
   font-weight: bold;
}

em, i {
   font-style:italic;
}

/* Footer */
div#footer {
   clear:both;       /* keep footer below content and menu */
   color:#c9b666;
   background-color: transparent; /* same bg color as in header */
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;      /* some air for footer */
   text-align: center; /* centered text */
   margin:0;
   margin-left: 40px;
   margin-right: 40px;
}

div#footer p a {
   color: #000; /* needed because footer link would be same color as background otherwise */
}
/* End of 'gojaus pagr' */

