/* DOKUMENTO STRUKTURA  # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

TITULINIS:
body#homepage
	#page-bg
		#page-wrapper
			#alignment
				#languages
				h1 (logotipas)
				#navigation
				#project-list
					p
						a
							img
							span
				#footer
				
VIDINIS:
body [.lt .ru .en]
	#page-bg
		#page-wrapper
			#alignment
				#languages
				h1 (logotipas)
				#navigation
				#content-outter
					#content-inner
						#content-wrapper
							#content
								#navigation
								...
								[#projects | #gallery]
									.block
									...
									
								.block
									h2
										a|span
									.block-body
										...
				#footer
*/

*
{
	margin: 0;
	padding: 0;
}

body
{
	font: 12px Verdana;
	color: #ab855d;
	background: url('img/bg-body.jpg') #f9f0c2;
}

a
{
	color: #ab855d;
}

a:hover
{
	text-decoration: none;
}

a img
{
	border: 0;
}

img.fl, img.fr
{
	clear: both;
}

img.fl
{
	float: left;
	margin: 0 22px 10px 0;
}

img.fr
{
	float: right;
	margin: 0 0 10px 22px;
}

sup
{
	font-size: 8px;
}

.clear
{
	clear: both;
	font-size: 0;
	line-height: 0;
	height: 0;
}

hr
{
	display: block;
	clear: both;
	visibility: hidden;
	overflow: hidden;
	height: 0;
	border-width: 0;
	line-height: 0;
	margin: 0;
	padding: 0;
}

/* BACKGROUNDO SLUOKSNIAI   # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # */

#page-bg
{
	background: url('img/bg-page.jpg') repeat-x top;
	min-height: 681px;
}

#page-wrapper
{
	background: url('img/clouds.jpg') no-repeat center top;
	min-height: 640px;
	padding-left: 20px;
}

#homepage #page-wrapper
{
	padding-left: 0;
}

#homepage #page-wrapper
{
	background: url('img/house.jpg') no-repeat center top;
	min-height: 640px;
}

/* LYGIAVIMAS   # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # */

#alignment
{
	position: relative; /* Kad logotipa galima butu absoliuciai poziciuonuot viduj */
	width: 844px;
	margin: 0 auto;
}

#homepage #alignment
{
	width: 800px;
}

/* KALBOS   # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # */

#languages
{
	padding-top: 23px;
	padding-right: 3px;
	font-size: 10px;
	line-height: 10px;
	text-align: right;
	color: #799ec4;
	text-transform: uppercase;
}

#homepage #languages
{
	padding-top: 9px;
	padding-right: 10px;
}

#languages a
{
	text-decoration: none;
	color: #799ec4;
}

#languages a:hover, #languages a.active
{
	color: #fff;
}

#languages a span
{
	color: #fff;
	text-transform: none;
	font-size: 12px;
	margin-right: 16px;
	text-decoration: underline;
}

#languages a:hover span
{
	text-decoration: none;
}

/* KONTAKTU NUORODA # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # */

#languages .contacts span
{
	text-decoration: none;
}

#languages .contacts:hover span, #languages .contacts.active span
{
	text-decoration: underline;
}

/* LOGOTIPAS  # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # */

h1
{
	text-indent: -9999px;
	position: absolute;
	top: 12px;
	left: 328px;
}

h1 a
{
	display: block;
	width: 197px;
	height: 85px;
	background: url('img/logo2.png') no-repeat;
}

#homepage h1
{
	position: relative;
	top: 0;
	left: 0;
	text-indent: -9999px;
}

#homepage h1 a
{
	display: block;
	width: 162px;
	height: 135px;
	background: url('img/logo-homepage.png') no-repeat;
}

/* NAVIGACIJA TITULINIAME # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # */

#navigation-homepage
{
	font-size: 13px;
	font-weight: bold;
	position: relative;
	top:170px;
}

#navigation-homepage div
{
	position: absolute;
	left: 0;
	top: 0;
}

#navigation-homepage a
{
	display: block;
	padding: 5px 22px 5px 11px;
	margin-bottom: 4px;
	color: #fffefe;
	text-decoration: none;
}

#navigation-homepage a:hover, #navigation-homepage a.selected
{
	padding: 4px 21px 4px 10px; /* Sumazinam paddinga per 1px nuo visu krastu kad nedrebetu linkas*/
	border: 1px solid #c6daec;
}

/* NAVIGACIJA VIDINIUOSE  # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # */

#navigation
{
	padding-top: 2px;
	padding-bottom: 20px;
}

#navigation a
{
	display: block;
	float: left;
	width: 146px;
	height: 24px;
	background: url('img/navigation-lt.gif') no-repeat top left;
}

.en #navigation a
{
	background-image: url('img/navigation-en.gif');
}

.ru #navigation a
{
	background-image: url('img/navigation-ru.gif');
}

#navigation a span
{
	display: none;
}

#navigation #nav-gallery
{
	background-position: 0 0;
}

#navigation :hover#nav-gallery, #navigation #nav-gallery.active
{
	background-position: 0 -120px;
}

#navigation #nav-projects
{
	background-position: 0 -24px;
}

#navigation :hover#nav-projects, #navigation #nav-projects.active
{
	background-position: 0 -144px;
}

#navigation #nav-services
{
	background-position: 0 -48px;
}

#navigation :hover#nav-services, #navigation #nav-services.active
{
	background-position: 0 -168px;
}

#navigation #nav-construction
{
	background-position: 0 -72px;
}

#navigation :hover#nav-construction, #navigation #nav-construction.active
{
	background-position: 0 -192px;
}

#navigation #nav-forsale
{
	background-position: 0 -96px;
}

#navigation :hover#nav-forsale, #navigation #nav-forsale.active
{
	background-position: 0 -216px;
}

/* PROJEKTU SARASAS TITULINIAME   # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # */

#project-list
{
	padding-left: 121px;
	margin-top: 440px; /* Atstumas nuo logo, nes meniu absoliuciai pozicionuojamas */
	font: italic 14px Georgia;
	color: #3271ad;
}

#project-list p
{
	float: left;
	padding: 0 19px;
}

#project-list p a
{
	color: #3271ad;
	text-decoration: none;
}

#project-list p a img
{
	padding: 3px;
	background: #fff;
	border: 1px solid #ccc;
}

#project-list p a span
{
	display: block;
	text-decoration: underline;
	text-align: center;
}

#project-list p a:hover span
{
	text-decoration: none;
}

/* VIDINIU KAMPAI   # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # */

/* Apatinis kampas */
#content-outter
{
	margin-top: 12px;
	background: url('img/content-corners.png') no-repeat 0 bottom;
	padding-bottom: 30px;
}

/* Virsutinis kampas */
#content-inner
{
	padding-top: 31px;
	background: url('img/content-corners.png') no-repeat 0 top;
}

/* BG */
#content-wrapper
{
	background: url('img/bg-corners.png') repeat-y;
	padding: 0 26px;
}

/* TURINYS  # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # */

#content
{
	min-height: 300px;
	background: #fff;
	padding: 26px 28px;
}

#content p
{
	line-height: 18px;
	margin-top: 16px;
}

#content li
{
	line-height: 18px;
}

#content ul
{
	list-style: disc inside;
	margin-top: 20px;
}


/* BLOKAI TEKSTUI ISVESTI AR THUMBNAILAMS   # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # */

.block
{

}

.block h2
{
	font: italic bold 13px/24px Verdana;
	padding-left: 18px;
	background: url('img/block-heading-left.gif') no-repeat top left;
}

.block h2 a, .block h2 span
{
	text-decoration: none;
	padding-right: 18px;
	padding-top: 4px;
	padding-bottom: 6px;
	background: url('img/block-heading-right.gif') no-repeat top right;
}

.block h2 a:hover
{
	text-decoration: underline;
}

.block-body
{
	position: relative; /* Kad kampus prilipdyti */
	min-height: 1px; /* Ijungiamas IE hasLayout, kitaip pranyksta visas sio konteinerio turinys */
	background: #fff9ca;
	padding: 13px 16px 18px 16px;
}

.block-body img
{
	background: #fffbdf;
	padding: 16px 21px;
}

/* Apvalinti kampai */
.block-body em
{
	position: absolute;
	display: block;
	width: 2px;
	height: 2px;
	background: #fff;
	font-size: 0;
	line-height: 0;
}

.block-body em.cbl
{
	bottom: 0;
	left: 0;
}

.block-body em.cbr
{
	bottom: 0;
	right: 0;
}

.block-body em.ctr
{
	top: 0;
	right: 0;
}

/* PROJEKTAI IR GALERIJOS   # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # */

#projects
{
	overflow: hidden;
	padding-top: 20px;
	margin-right: -20px; /* Cia subega pixeliu perteklius :D */
	margin-bottom: -30px;
}

#gallery
{
	overflow: hidden;
	padding-top: 20px;
	padding-left: 94px;
	margin-right: -94px; /* Cia subega pixeliu perteklius :D */
	margin-bottom: -30px;
}

#projects .block, #gallery .block
{
	float: left;
	width: 230px;
	margin-right: 20px;
	margin-bottom: 30px;
}

#gallery .block
{
	margin-right: 94px;
	margin-bottom: 30px;
}

#projects .block-body, #gallery .block-body
{
	padding: 10px;
}

#projects .block img, #gallery .block img
{
	padding: 0;
}

/* PROJEKTO VIDINIS   # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # */

.project-details
{
	float: left;
	width: 520px;
	font-size: 11px;
}

#content .project-details p
{
	margin-top: 10px;
	line-height: 14px;
}

.project-details p span
{
	color: #503722;
}

.project-details img
{
	padding: 0;
}

div.project-info {
	padding-left:530px;
}

.project-details #enlarged-photo
{
	overflow: hidden;
}

.project-details #enlarged-photo p
{
	margin: 0;
	padding: 0 8px 3px 8px;
	color: #503723;
	background: #fffbdf;
}

.sidebar
{
	float: left;
	background: #fffbdf;
	width:517px;
	padding-left:3px;
}

.sidebar img
{
display:block;
float:left;
	
	padding: 0 0 5px 5px;
}

/* COPYRIGHTAS :)   # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # */

#footer
{
	padding: 8px 24px 0 27px;
	font-size: 11px;
	color: #ab805d;
}

#homepage #footer
{
	padding: 26px 96px 0 120px;
}

#footer address
{
	font-style: normal;
	float: left;
	display: block;
	width: 600px;
	color: #b79579;
}

#footer p
{
	float: right;
	padding-bottom: 4px;
	color: #b79579;
}

#footer p img
{
	padding-top: 1px;
	padding-right: 2px;
}
div.footerText p{
	color:#8E6646;
	margin-left:127px;
	margin-top:25px;
	text-align:justify;
	width:560px;
}
