/*
Theme Name: ISM SA
Theme URI: http://www.ismsa.lt/
Description: ISM SA.
Author: aurelijus@jakavickas.lt
Version: 0.1
*/

/*****************************/
/*** *** *** RESET *** *** ***/
/*****************************/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin:0;
	padding:0;
	border:0;
	font-weight:inherit;
	font-style:inherit;
	font-size:100%;
	font-family:inherit;
	vertical-align:baseline;
}

table {
	border-collapse:separate;
	border-spacing:0;
}

caption, th, td {
	text-align:left;
	font-weight:normal;
}

table, td, th {
	vertical-align:middle;
}

blockquote:before, blockquote:after, q:before, q:after {
	content:"";
}

blockquote, q {
	quotes:"" "";
}

a img {
	border:none;
}



/* klaida */
.klaida a { 
	display: block;
	text-align: center;
	text-decoration: none;
	color: #F00;
	font-weight: bold;
	padding: 10px 0;
}

.klaida a:hover { 
	text-decoration: underline;
}

/*****************************/
/*** ***  TYPOGRAPHY   *** ***/
/*****************************/

body {
	font-size: 13px;
	color: #074085;
	font-family: Verdana, Geneva, sans-serif;
	line-height: 17px;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	color: #074085;
	line-height:1.25;
}

h1 {
	font-size:1.6em;
	margin-bottom:0.5em;
}

h2 {
	font-size:1.3em;
	margin-bottom:0.5em;
}

h3 {
	font-size:1.2em;
}

h4 {
	font-size:1.1em;
	margin-bottom:1.25em;
	height:1.25em;
}

h5 {
	font-size:1em;
	margin-bottom:1.5em;
}

h6 {
	font-size:1em;
	font-weight:bold;
}

.content_container h2 {
	display: block;
	width: 100%;
	font-size: 1.5em;
	line-height: 1.5;
	font-weight: bold;
}

	.content_container h2 a {
		text-decoration: none;
		color: #074085;
	}
	
	.content_container h2 a:hover {
		text-decoration: underline;
	}

.post {
	float: left;
	width: 100%;
}

.post-509 h3, .post-509 table {
	margin-bottom: 12px;
}

h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
	margin:0;
}

p {
	margin: 0 0 12px;
}

p img {
	margin: 0 15px 0 0;
	padding: 0;
}

p img.right {
	float:right;
	margin:1.5em 0 1.5em 1.5em;
}

a:focus, a:hover {
	text-decoration: none;
}

a {
	color: #009;
	text-decoration: underline;
}

.leading {
	display: block;
	width: 100%;
	float: left;
}

.pagination span, .pagination a {
	padding: 0 5px;
}

li {
	margin-left: 15px;
}

.center {
	text-align: center;
}

.sticky .readmore {
	padding: 0 0 25px 0;
}

.readmore {
	text-align: right;
	font-weight: bold;
	padding: 0 0 15px 0;
}

.readmore a {
	text-decoration: none;
	color: #074085;
}

.readmore a:hover {
	text-decoration: underline;
}

.sticky .readmore a {
	background: url(images/green-blue-button-r.png) 140px 0 no-repeat;
	padding: 7px 5px 7px 0;
	color: #FFF;
}

.sticky .readmore a span {
	background: url(images/green-blue-button-l.png) 0 0 no-repeat;
	padding: 7px 10px 7px 15px;
}

.sticky .readmore a:hover {
	background: url(images/green-blue-button-r.png) 140px -30px no-repeat;
}

.sticky .readmore a:hover span {
	background: url(images/green-blue-button-l.png) 0 -30px no-repeat;
}

.sticky h2 a {
	color: #390;
}

#crumbs {
	padding: 0 0 15px 0;
}

img.alignleft  {
	float:left;
	margin:0 1em 1em 0;
}

.post-157 ul {
	margin: 0 0 12px 0;
}

.float-left {
	float: left;
}

.width-100-perc {
	width: 100%;
}

/*****************************/
/*** *** ** LAYOUT  ** *** ***/
/*****************************/

html {
	height:100%
}

.bg {
	background: url(images/top-bg.png) #fff top center repeat-x;
	text-align: center;
}

#wrapper {
	position: relative;
	width: 960px;
	margin: 0px auto;
	text-align: left;
}

/* HEADER */

#header {
	height: 178px;
	width: 960px;
	float: left;
	background: url(images/header.jpg) top left no-repeat;
}

	#top-links {
		height: 20px;
		width: 960px;
		float: right;
	}
	
		#top-links ul, #top-links li, #nav, #nav ul, #nav li, #addmenu, #addmenu ul, #addmenu li {
			list-style-type: none;
			margin:0;
			padding:0;
		}
		
		#top-links li {
			display: block;
			float: right;
			margin-left: 15px;
		}
		
	#logo {
		height: 158px;
		width: 205px;
		float: left;
	}

	/*navigation*/
	
	#nav {
		float: left;
		height: 30px;
		width: 755px;
		margin-top: 37px;
	}

	#nav ul {
		margin-left: 111px;
	}
	
	#nav a {
		display: block;
		color: #e6ecf3;
		font-weight: bold;
		text-decoration: none;
		padding: 6px 14px 7px 14px;
	}
	
	#nav li {
		float: left;
		background: #074085;
		border: 1px solid #fff;
		border-width: 1px 0;
		margin-left: 10px;
	}
	
	#nav li ul {
		position: absolute;
		left: -9999em;
		height: auto;
		width: 240px;
		margin: 0;
	}
	
	#nav li#menu-item-553 ul li {
		width: 200px;
	}
	
	#nav li#menu-item-552 ul li {
		width: 182px;
	}
	
	#nav li#menu-item-552 ul ul {
		margin: -25px 0 0 172px;
	}
	
	#nav li#menu-item-552 ul li ul li {
		width: 140px;
	}

	#nav li:hover ul {
		left: auto;
	}
	
	#nav li ul ul {
		margin: -1em 0 0 0;
		position: absolute;
		left: -9999em;
		height: auto;
	}
	
	#nav li:hover ul ul, #nav li.sfhover ul ul {
		left: -9999em;
	}
	
	#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul {
		left: auto;
	}

	#nav li li {
		width: 225px;
		background: #144a8b;
		border-right: 1px solid #063671;
		border-bottom: 1px solid #063671;
		border-left: 1px solid #2c5c97;
		border-top: 1px solid #2c5c97;
	}

	#nav li ul a {
		font-weight: normal;
		width: 225px;
	}
	
	#nav li ul ul {
		margin: -25px 0 0 215px;
	}
	
	#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
		left: -9999em;
	}
	
	#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
		left: auto;
	}
	
	#nav a:hover, #nav .sfhover, #nav .current-menu-ancestor a, #nav .current-menu-ancestor ul.sub-menu a:hover, .menu-item-home  {
		text-decoration: underline;
	}
	
	#nav .current-menu-ancestor ul.sub-menu a {
		text-decoration: none;
	}

	
	/*Additional Menu*/

	#addmenu {
		float: left;
		height: 30px;
		width: 755px;
		margin-top: 10px;
	}

	#addmenu ul {
		margin-left: 111px;
	}
	
	#addmenu a {
		display: block;
		color: #fff;
		font-weight: bold;
		text-decoration: none;
		padding: 6px 14px 7px 14px;
	}
	
	#addmenu li {
		float: left;
		background: #6fbe44;
		border: 1px solid #fff;
		border-width: 1px 0;
		margin-left: 10px;
	}
	
	#addmenu li ul {
		position: absolute;
		left: -9999em;
		height: auto;
		width: 240px;
		margin: 0;
	}
	
	#addmenu li:hover ul {
		left: auto;
	}
	
	#addmenu li ul ul {
		margin: -1em 0 0 0;
	}
	
	#addmenu li:hover ul ul, #addmenu li.sfhover ul ul {
		left: -9999em;
	}
	
	#addmenu li:hover ul, #addmenu li li:hover ul, #addmenu li.sfhover ul, #addmenu li li.sfhover ul {
		left: auto;
	}

	#addmenu li li {
		width: 225px;
		background: #6fbe44;
		border-right: 1px solid #64ab3d;
		border-bottom: 1px solid #64ab3d;
		border-left: 1px solid #8ccb69;
		border-top: 1px solid #8ccb69;
	}

	#addmenu li ul a {
		font-weight: normal;
		width: 225px;
	}
	
	#addmenu li ul ul {
		margin: -25px 0 0 215px;
	}
	
	#addmenu li:hover ul ul, #addmenu li:hover ul ul ul, #addmenu li.sfhover ul ul, #addmenu li.sfhover ul ul ul {
		left: -9999em;
	}
	
	#addmenu li:hover ul, #addmenu li li:hover ul, #addmenu li li li:hover ul, #addmenu li.sfhover ul, #addmenu li li.sfhover ul, #addmenu li li li.sfhover ul {
		left: auto;
	}
	
	#addmenu a:hover, #addmenu .sfhover, #addmenu .current-menu-ancestor a, #addmenu .current-menu-ancestor ul.sub-menu a:hover, .menu-item-home  {
		text-decoration: underline;
	}
	
	#addmenu .current-menu-ancestor ul.sub-menu a {
		text-decoration: none;
	}

#main {
	margin: 20px 0;
	width: 960px;
	float: left;
}

 /* frontpage */
	#frontpage .content_container {
		width: 440px;
		margin-right: 20px;
		float: left;
		text-align: justify;
	}
	
		.postinfo {
			color: #9999cc;
		}
	
		#frontpage .post, #insidepage .category-naujienos {
			border-bottom: 1px solid #adbbcc;
			margin-bottom: 20px;
		}
	
	#frontpage .right_container {
		width: 330px;
		margin-right: 20px;
		float: left;
	}
	
		#frontpage .first-icon a {
			width: 241px;
			height: 30px;
			float: left;
			display: block;
			background: url(images/icon-parasyk-mums-wide.png) 0 0 no-repeat;
			margin-right: 15px;
		}
		
		#frontpage .first-icon a:hover {
			background: url(images/icon-parasyk-mums-wide.png) 0 -30px no-repeat;
		}
		
			#frontpage .first-icon a span, #insidepage .first-icon a span, #frontpage .second-icon a span, #insidepage .second-icon a span, #frontpage .third-icon a span, #insidepage .third-icon a span {
				display: none;
			}

	
		#insidepage .first-icon a {
			width: 171px;
			height: 30px;
			float: left;
			display: block;
			background: url(images/icon-parasyk-mums-narrow.png) 0 0 no-repeat;
			margin-right: 15px;
		}
		
			#insidepage .first-icon a:hover {
				background: url(images/icon-parasyk-mums-narrow.png) 0 -30px no-repeat;
			}

		#frontpage .second-icon a, #insidepage .second-icon a {
			width: 30px;
			height: 30px;
			margin-right: 15px;
			float: left;
			display: block;
			background: url(images/icon-2.png) 0 0 no-repeat;
		}
		
		#frontpage .second-icon a, #insidepage .second-icon a:hover {
			
		}
		
		#frontpage .third-icon a, #insidepage .third-icon a {
			width: 29px;
			height: 30px;
			float: left;
			display: block;
			background: url(images/icon-3.png) 0 0 no-repeat;
		}

		#frontpage .third-icon a, #insidepage .third-icon a {
		}
		
		#searchform {
			margin-top: 15px;
			float: left;
			display: block;
		}
		
			#frontpage #searchform {
				width: 330px;
			}
			#insidepage #searchform {
				width: 260px;
			}
		
		input#s {
			border: 0;
			margin: 0;
			padding: 8px 12px;
			background: url(images/search-box.png) top left no-repeat;
			display: block;
			float: left;
			color: #829fc1;
		}
	
			#frontpage input#s {
				width: 250px;
			}
			#insidepage input#s {
				width: 180px;
			}

		input#s:focus input#s:focus {
			color: #074085;
		}

		input#searchsubmit {
			width: 55px;
			height: 32px;
			padding: 0;
			margin: 0;
			border: 0;
			background: url(images/search-button.png) 0 0 no-repeat;
			display: block;
			text-indent: -9999px;
			float: left;
			cursor: pointer;
		}
		
		input#searchsubmit:hover {
			background: url(images/search-button.png) 0 -32px no-repeat;
		}
		
		#searchform label{
			display: none;
		}
		
		.right-box {
			float: left;
			background: #eef2f7 url(images/box-tl.png) top left no-repeat;
			margin-top: 15px;
		}
		
		.right-box .tr {
			float: left;
			background: url(images/box-tr.png) top right no-repeat;
		}
		
		.right-box .bl {
			float: left;
			background: url(images/box-bl.png) bottom left no-repeat;
		}
		
		.right-box .br {
			float: left;
			width: 300px;
			background: url(images/box-br.png) bottom right no-repeat;
			padding: 15px;
		}
		
		.right-box ul, .right-box ul li {
			list-style-type: none;
			margin:0;
		}
		
		/***
		 ***  Calendar
		 ***/
		
		#wp-calendar table {
		 width:100%;
		}
		
		#wp-calendar #prev {
		  text-align:left;
		}
		
		#wp-calendar #next {
		  text-align:right;
		}
		
		#wp-calendar table td,
		#wp-calendar table th {
		  text-align:center;
		}
		
		#wp-calendar table td,
		#wp-calendar table td.pad:hover,
		#wp-calendar table.nav tr td {
		 padding:1px;
		 border:none;
		}
		
		#wp-calendar table td:hover,
		#wp-calendar table #today {
		 padding:0px;
		 background: #EEF2F7;
		}
		
		/* The EC graphic. */
		.ec3_ec {
		 display:block;
		 float:right;
		 border:none;
		 width:13px;
		 height:9px;
		}
		.ec3_ec span { display:none }
		
		
		/***
		 ***  Popup
		 ***/
		
		.ec3_popup {
		 margin:0 !IMPORTANT;
		 padding:0 !IMPORTANT;
		 border:none;
		 position:absolute;
		 border-collapse:collapse;
		 filter:alpha(opacity=87);
		 -moz-opacity:.87;
		 opacity:.87;
		 z-index:30000;
		}
		
		.ec3_popup td {
		 padding:0;
		}
		
		.ec3_popup table {
		 border:solid #999 1px;        /* popup border */
		 background-color:#eeb;        /* popup background colour */
		 font-size:x-small;            /* popup font size */
		 color:black;
		 text-align:left;
		}
		
		.ec3_popup table td {
		 padding:1.5px 3px 1.5px 3px;
		}
		
		#ec3_shadow0 div { width:8px; height:32px; }
		#ec3_shadow0 {
		 margin:0;
		 padding:0;
		 border:none;
		 width:8px;
		 background-repeat:no-repeat;
		 background-position:bottom right;
		 vertical-align:bottom;
		}
		
		#ec3_shadow1 {
		 margin:0;
		 padding:0;
		 border:none;
		 height:16px;
		 background-repeat:repeat-x;
		}
		
		#ec3_shadow2 div { width:8px; height:32px; }
		
		#ec3_shadow2 {
		 margin:0;
		 padding:0;
		 border:none;
		 width:8px;
		 background-repeat:no-repeat;
		 background-position:bottom left;
		 vertical-align:bottom;
		}
		
		/***
		 ***  Event list
		 ***/
		
		.ec3_list {
		 margin-left:-12px;
		 word-spacing:-1px;
		 letter-spacing:-0.2px;
		}
		
		.ec3_list li:before {
		 content:"" !IMPORTANT;
		}
		
		/***
		 ***  Schedule
		 ***/
		
		table.ec3_schedule {
		 margin: 15px 0;
		 background: #EEF2F7;
		 float:left;
		 width: 500px;
		}
		
		table.ec3_schedule td {
		 padding: 6px 15px;
		}
		
		td.ec3_start { text-align:right; }
		
		td.ec3_to    { text-align:center; }
		
		/* --- */

		.ec3_events li {
			display: block;
			float: left;
			padding: 15px 0;
			border-bottom: 1px solid #ADBBCC;
		}
		
		.calendar_date {
			float: left;
			width: 75px;
			height: 70px;
			background: url(images/calendar-date.png) top left no-repeat;
			margin-right: 15px;
		}
		
			.calendar_date span.day {
				font-size: 30px;
				text-align: center;
				width: 100%;
				display: block;
				float: left;
				font-weight: bold;
				padding: 18px 0 10px 0;
			}

			.calendar_date span.month {
				font-size: 12px;
				text-align: center;
				width: 100%;
				display: block;
				float: left;
			}

		.calendar_item {
			float: left;
			font-size: 12px;
		}
		
			.calendar_item span.time {
				display: block;
				float: left;
			}
			
			.calendar_item a {
				display: block;
				float: left;
				font-weight: bold;
				text-decoration: none;
				color: #074085;
				overflow: hidden;
			}
			
			.right-box .calendar_item, .right-box .calendar_item span.time, .right-box .calendar_item a {
				width: 210px;
			}
			
			.calendar_item a:hover {
				text-decoration: underline;
			}

		h2 a.rsswidget {
			color: #074085;
			font-weight: bold;
			text-decoration: none;
		}

		h2 a.rsswidget img {
			display: none;
		}

		li a.rsswidget {
			font-weight: bold;
			font-size: 14px;
		}
		
		li a.rsswidget:hover {
			text-decoration: none;
		}
		
		h2 a.rsswidget:hover {
			text-decoration: underline;
		}
		
		span.rss-date {
			display: block;
			width: 100%;
			padding: 3px 0;
			font-size: 12px;
			font-weight: bold;
		}
		
		.rssSummary {
			text-align: justify;
		}
		
		.st-tag-cloud {
			text-align: center;
		}
		
		.st-tags {
			line-height: 24px;
			font-weight: bold;
		}
		
		a.st-tags {
			text-decoration: none;
		}
		
		a.st-tags:hover {
			text-decoration: underline;
		}

/* insidepage */
/*	#insidepage .left_container {
		width: 260px;
		padding-right: 14px;
		margin-right: 15px;
		float: left;
		border-right: 1px solid #adbbcc;
	}
*/	
	#insidepage .left_container {
		width: 260px;
		padding-left: 14px;
		margin-right: 15px;
		float: left;
		border-left: 1px solid #adbbcc;
	}
	
		#insidepage .left_container h2 {
			width: 260px;
			height: 30px;
			background: url(images/left-h2-bg.png) top left no-repeat;
			padding: 3px 5px 2px 10px;
			float: left;
			margin: 15px 0 5px 0;
		}
		
		#insidepage .left_container .calendar-left h2 {
			margin: 15px 0 0 0;
		}
		
		.calendar-left {
			float: left;
		}
		
		.calendar-left .calendar_item, .calendar-left .calendar_item span.time, .calendar-left .calendar_item a {
			width: 170px;
		}

		
		#insidepage .left_container h2 span a {
			display: block;
			width: 245px;
		}
		
		.left_container ul, .left_container ul li {
			list-style-type: none;
			margin:0;
			float: left;
		}


	#insidepage .content_container {
		width: 500px;
		margin-right: 15px;
		float: left;
		text-align: justify;
	}
	
	#insidepage .gallery_container {
		width: 760px;
		float: left;
		text-align: justify;
		padding-right: 14px;
		margin-right: 15px;
		border-right: 1px solid #adbbcc;
	}

	
/* =PageNavi
-------------------------------------------------------------- */
/* Using specificity to override PageNavi CSS */
	#wrapper .wp-pagenavi {
		float: left;
		width: 100%;
		text-align: center;
		margin:0;
		padding:0.5em 0;    
	}
	#wrapper .wp-pagenavi a, 
	#wrapper .wp-pagenavi span {
		border:1px solid #ADBBCC;
		font-style:normal;
		margin:0 .375em;
		padding:0.5em 0.75em;
		text-decoration: none;
	}
	#wrapper .wp-pagenavi a:visited {
		color:#39669d;
		text-decoration: none;
	}
	#wrapper .wp-pagenavi a:hover {
		border:1px solid #074085;
		background:#eef2f7;
		text-decoration: none;
	}
	#wrapper .wp-pagenavi a:active {
		text-decoration: underline;
		color:#eef2f7;
	}
	#wrapper .wp-pagenavi span.pages {
		display: block;
		text-align: center;
		width: 100%;
		border:none;
		margin: 15px 0;
		padding:0;
	}
	#wrapper .wp-pagenavi span.current {
		font-weight:bold;
		background:#eef2f7;
		margin:0 .375em;
		padding:0.5em 0.75em;
	}
	#wrapper .wp-pagenavi span.extend {
		background-color:#FFFFFF;
		border:1px solid #074085;
		margin:2px;
		padding:2px 4px;
	}

		/* search */
		
		span.relevanssi-query-term {
			background:yellow;
		}
		.result {
			margin:0 0 20px 0;
		}
		.result h3 {
			font-size:15px;
			border-bottom:none;
			margin:0 0 4px 0;
		}
		.result .result-entry {
			line-height:1.5em;
		}
		.result .permalink {
			font-size:12px;
			color:#86B443;
			margin-top:6px 0 0 0;
			display:block;
			line-height:1.5em;
		}
		
		
		
	.banners_container {
		width: 150px;
		float: left;
	}
	
.footer_container {
	width: 100%;
	background: #074085;
	overflow: hidden;
	clear: left;
	margin-top: 15px;
}

#footer {
	width: 960px;
	margin: 0 auto;
}

#footer h2, #footer a {
	color:#FFF;
}

	#gallery {
		float:left;
		width: 650px;
		padding: 15px 0;
		margin: 0;
		text-align: left;
	}
	
		img.slickrwidget {
			padding: 4px;
			margin: 4px 8px 0 0;
			background: #FFF;
		}
	
	#facebook-fans {
		float:left;
		width: 295px;
		padding: 15px 0 15px 15px;
		margin: 0;
	}
	
	#copyright {
		width: 960px;
		float: left;
		margin: 0;
		text-align: left;
		padding-bottom: 15px;
		color: #FFF;
	}
	

