/* Start of CMSMS style sheet '(naujas)' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/

/*
Set initial font styles
*/
body {
   margin:0;
   padding:0;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 12px;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
a {
	color: #333333;
	text-decoration: none;
}

img {
	border: 0;
}

a:hover {
	color: #333333;
	text-decoration: underline;
}

/*****************
basic layout 
*****************/
body {
   background: #eeeeee;
   color: #333333;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 12px;
}

/* center wrapper, min max width */
div#pagewrapper {
   width: 950px;
   padding: 10px;
   margin: 0 auto;
   background: #FFFCFC;
   border: 1px solid #1C1C1C;
   border-top: none;
   border-bottom: none;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 222px;
   background: #FFFCFC;
}

div#header_right {
   height: 229px;
   width: 245px;
   background: url(images/ministerijos_bg.png);
   float: right;
   color: #1C1C1C;
}

div#header_right h1 {
   margin: 0;
   padding: 0;
   margin-top: 20px;
   text-align: center;
   font-size: 13px;
}

ul#ministerijos_menu_list {
   margin: 0;
   margin-top: 15px;
   margin-right: 5px;
   padding: 0;
   width: 220px;
   float: right;
}


#ministerijos_menu_list li {
   width: 220px;
   clear: both;
   list-style-image: none;
   list-style-type: none;
   list-style-position: outside;
}

#ministerijos_menu_list li a {
   float: right;
   margin: 0;
   margin-bottom: 2px;
   padding: 0;
   margin-right: 5px;
   padding-right: 13px;
   background: url(images/arrow.png) top right no-repeat;
}

#ministerijos_menu_list li a.currentpage {
   background: url(images/arrow_active.png) top right no-repeat;
}

#ministerijos_menu_list li a:hover {
   font-weight: bold;
   text-decoration: none;
   /*background-image: url(images/arrow_hover.png)*/
}

div#header_left {
   height: 229px;
   width: 690px;
   float: left;
}

div#header_center {
   height: 229px;
   width: 15px;
   float: left;
   background: url(images/skirtukas.png);
}

#logo {
   width: 302px;
   height: 185px;
   background: url(images/logo.png) no-repeat;
   float: left;
}

#submarine_top {
   position: relative;
   height: 30px;
   width: 383px;
   padding-left: 5px;
   background: url(images/submarine_top.png);
   float: right;
}

#scroller_container {
   position: relative;
   overflow: hidden;
   height: 30px;
   width: 381px;
}

#scroller {
   height: 20px;
   width: 2000px;
   margin-top: 7px;
   overflow: hidden;
}

.scrolling_text {
   color: #FFFCFC;
   font-weight: bold;
   margin: 0 100px;
   padding: 0;
   display: inline;
   line-height: 20px;
}

#submarine_curve {
   height: 185px;
   width: 18px;
   background: url(images/submarine_curve.png);
   float: right;
}

#flickr_header {
   width: 382px;
   height: 155px;
   padding-left: 6px;
   float: right;
   background: url(images/submarine_body.png) repeat-x;
}

#flickr_header img {
   width: 75px;
   height: 75px;
   float: left;
}

#flickr_header img.top {
   border-top: 1px solid #ffffff;
   border-bottom: 1px solid #ffffff;
   border-left: 1px solid #ffffff;
}

#flickr_header img.bottom {
   border-left: 1px solid #ffffff;
   border-bottom: 1px solid #ffffff;
}

#main_menu {
   height: 44px;
   width: 690px;
   float: left;
   font-size: 17px;
   font-family: "Times New Roman", Times, serif;
   font-weight: bold;
   background: url(images/main_menu_bg.png);
}

#main_menu ul {
	height: 35px;
	width: 690px;
	margin: 0;
	margin-top: 5px;
	padding: 0;
	position: relative;
	overflow: hidden;
}

#main_menu li {
	float: left;
	list-style-image: none;
	list-style-type: none;
	list-style-position: outside;
}

#main_menu li a {
	line-height: 35px;
	margin-left: 15px;
	position: relative;
	z-index: 10;
}

#main_menu li a:hover {
	text-decoration: none;
}

#main_menu li.back {
	height: 33px;
	position: absolute;





	z-index: 8;
	margin-left: 7px;
	background: #FFFFFF;
	margin-top: 4px;
}

#submenu_container {
   float: left;
   width: 940px;
   height: 20px;
   overflow: hidden;
}

#hidden_submenu {
   display: none;
   overflow: hidden;
}

#submenu_list {
	margin: 0;
	padding: 2px;
        margin-left: 12px;
	position: relative;
        left: 0;
	height: 20px;
}

#submenu_list li {
	float: left;
	list-style-image: none;
	list-style-type: none;
	list-style-position: outside;
}

#submenu_list li a.currentpage {
	text-decoration: underline;
	color: #333333;
}

#submenu_list li a {
	margin: 3px 5px;
}

div#header h1 a {
/* you can set your own image here */
   background: #385C72 url(images/cms/logo1.gif) no-repeat 0 12px; 
   display: block; 
   height: 80px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div#search {
   float: right;
   width: 27em;     /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;             /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 }

div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 26%;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 0;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 24%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#naujienos {
}

div#news_slider {
   height: 240px;
}

div#footer {
   border: 1px solid #c5c5c5;
   border-bottom: 5px solid #BECC00;
   margin: 10px 0;
   padding: 5px;
   width: 938px;
   height: 20px;
}

div#footer p {
   margin: 1.5em;      /* some air for footer */
   text-align: center; /* centered text */
   margin:0;
}

div#footer p a {
   color: #333; /* needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

div.right49 p {
   margin: 0;
   padding: 0;
}




/********************
CONTENT STYLING
*********************/
div#content {
   margin-top: 5px;
}

#body_right {
	float: right;
	width: 200px;
}

#body_left {
	float: left;
	width: 200px;
	background: #FFFCFC;
}

div.side_bar {
	border: 1px solid #C5C5C5;
	border-top: none;
	margin-bottom: 10px;
}

div.side_bar_content {
	width: 166px;
	padding: 16px;
}

div.side_bar div.side {
	color: #fffcfc;
	background: #828282;
	font-size: 16px;
	font-weight:bolder;
	line-height:20px;
	padding-left:5px;
}

div.side_bar_content h3 {
	cursor: pointer;
}

div.side_bar_content a {
}

#center {
	float: left;
	margin-left: 10px;
	width: 525px;
	background: #FFFCFC;
}

#main {
	background: #FFFCFC;
	border: 1px solid #c5c5c5;
	border-top: none;
}

#main_content {
	padding: 10px;
}

/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #E63D09;
   font-size: 1.5em;
   text-align: left;
   margin: 0;
   padding: 0;
   margin-bottom: 5px;
}
div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0 0;
   cursor: pointer;
}
div#content h3 a {
   color: #294B5F; 
   cursor: pointer;
   text-decoration: none;
}
div#content h3 a:hover {
   color: #333333;
}
div#content h4 {
   color: #294B5F; 

   font-size: 1.2em;

   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;



   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
div#main_content ul,
div#main_content ol,
div#main_content dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div#main_content ul li,
div#main_content ol li {
   margin: 0 0 0.25em 3em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */

/* IMG */
div#main_content img{
   margin: 10px;
}

div#main_content ul.picturelist li.thumb a img{
   margin: 0px;
   max-width:96px;
   max-height:72px;
}
/* END IMG*/

ul.jDrawer {
	display: block;
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	overflow: hidden;
	position: relative;
	margin: 0;
	padding: 0;
}

ul#jDrawer-1 {
	border-top: 5px solid #E63D09;
}

ul#jDrawer-2 {
	border-top: 5px solid #1C1C1C;
	margin-top: 10px;
}

ul.jDrawer-top {
	width: 200px;
}

ul.jDrawer-top li.jDrawer-item {
	width:100%;
}

ul.jDrawer li.jDrawer-item {
	display: block;
	left: 0;
	position: absolute;
	top: 0;
	z-index: 1;
}

ul.jDrawer-top .jDrawer-item-border-1 {
	border: 1px solid #c5c5c5;
	background: #FFFCFC;
	border-top: none;
	padding: 5px;
}
ul.jDrawer-top .jDrawer-item-border-2 {
}
ul.jDrawer-top .jDrawer-item-border-3 {
}
ul.jDrawer-top .jDrawer-content {
	color: #969696;
	background: #FFFCFC;
	padding: 10px;
}
ul.jDrawer-top li.jDrawer-active .jDrawer-content {
	background: transparent url(../images/active_bg.png) repeat-x scroll 0 100%;
	color: #333333;
}
ul.jDrawer-top .jDrawer-handle {
	padding-top: 5px;
}
ul.jDrawer-top .jDrawer-content h3 {
	font-size: 1.45em;
	font-weight: bold;
	margin: 0;
	padding: 0;
}
ul.jDrawer-top li.jDrawer-active .jDrawer-divider {
	border-top: 1px solid #1C1C1C;
	margin: 5px 0;
}

#shortcuts {
   margin: 0;
   padding: 0;
   float: right;
   border-left: 1px solid #C5C5C5;
   position: relative;
   z-index: 100;
}

#shortcuts li {
   list-style-image: none;
   list-style-type: none;
   list-style-position: outside;
   float: left;
   padding: 0 4px;
   cursor: pointer;
   border-bottom: 1px solid #C5C5C5;
   height: 18px;
   background: #FFFCFC;
}

#shortcuts li img {
   height: 18px;
}

.shortcut {
   margin: 0;
   padding: 0;
}

#tab_content {
   float: right;
   position: relative;
   top: 26px;
   right: -63px;
   z-index: 99;
   background: #FFFCFC;
}

.tab_content {
   display: none;
   padding: 5px;
   border: 1px solid #C5C5C5;
   border-right: none;
}

#date {
   float: right;
   padding: 2px;
   /*border: 1px solid #C5C5C5;
   border-top: none;
   border-left: none;*/
}

.controls {
   z-index: 200;
   float: right;
   position: relative;
   margin-right: 7px;
   margin-top: 4px;
}

.controls a {
   margin-top: 1px;
}

.clr {
   clear: both;
}

#cal1Container {
}

#kalendorius {
   width: 164px;
   height: 160px;
   padding: 5px 18px;
}

div#title {
   background: #828282;
   color: #ffffff;
   height: 20px;
   padding-left: 5px;
}

div#title span {
   line-height: 20px;
   font-size: 16px;
   font-weight: bold;
   margin: 0;
   paddin: 0;
}

img.video {
   padding: 0;
   margin-left: 5px;
}

div.latest_news {
   width: 198px;
   border: 1px solid #BECC00;
   border-top: none;
   /*background: #ebedd4;*/
}

div.latest_news .more_link {
   float: right;
   font-weight: bold;
}

div.latest_news .NewsSummarySummary {
   padding: 0px 5px;
   text-align: left;
}

div.latest_news .NewsSummaryLink{
   padding: 5px 5px;
   
}

div.latest_news .NewsSummaryLink a{
   font-size: 13px;
   font-weight: bold;
   text-decoration: none;
   font-family: Verdana, Arial, Helvetica, sans-serif;
}

div.latest_news .NewsSummaryLink a:hover{
   text-decoration: underline;
}

div.latest_news .NewsCategory {
   background: #BECC00;
   color: #FFFCFC;
   font-size: 16px;
   font-weight: bolder;
   font-style: none;
   line-height: 20px;
   padding-left: 5px;
}

div.latest_news .more_link {
   padding-right: 5px;
   padding-bottom: 5px;
}
/* End of '(naujas)' */

