/************************************************************************

	GLOBAL CSS
	==========

	Provides all global styles for the site which more specific sections 
	can be built on using the layered css technique

	Author:		Tom Harman
				Nick Watson
				Tom Fletcher
				[www.optixsolutions.co.uk]

	Listing Order:
	==============

	Universal
	Forms
	General Structure / Layout
	Navigation Elements
	Header Elements
	Body Elements
	Footer Elements
	Messages

************************************************************************/

/***********************************************************************
	UNIVERSAL STYLES
************************************************************************/

body {
	font-size: .7em;
	background: #18273A url('../i/layout/bg.jpg') repeat-x;
	color: #000;
}

html, body, form, fieldset, h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address, abbr, input, select, textarea, table, td, th {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}


/***********************************************************************
	FORMS
************************************************************************/

fieldset, legend {
	border: none;
}

legend {
	background: transparent;
	font-size: 1em;
	font-weight: bold;
	margin: 1em 0;
	padding: 0 .5em;
}

label {
	float: left;
	padding: 0 1em 0 0;
	text-align: right;
}

form fieldset div {
	clear: both;
	display: block;
	margin-bottom: .5em;
	padding: 0;
}

div.submit {
	clear: both;
	text-align: center;
	width: auto;
}

div.multi input {
	border: 0;
	width: auto;
}
 
form 									{ width: 100%; }

label		 							{ float: left;	height: 22px; width: 45%; }

fieldset div input,
fieldset div select,
fieldset div textarea  			{ width: 45%; }

fieldset div input.small,
fieldset div select.small,
fieldset div textarea.small 	{ width: 25%; }

div.req label, div.req p		{ font-weight: bold; }

div.multi label 					{ height: 22px; }

div.req label:before, 
div.req p:before {
	content: "* ";
}

input:focus, textarea:focus {
	background: #fafafa;
	color: #000;
}

fieldset div input, 
fieldset div select, 
fieldset div textarea  {
	border: 1px solid #aaa;
	color: #333;
	font-weight: normal;
	padding: 1px;
}

div.submit input {
	background: #777;
	border: 1px solid #333;
	color: #fff;
	font-weight: bold;
	padding: 1px .7em;
	width: auto;
}

/***********************************************************************
	GENERAL STRUCTURE/LAYOUT
************************************************************************/

div#container {
	width: 760px;
	margin: 0 auto;
	background: #FFF;
	padding-bottom: 10px;
}

/***********************************************************************
	HEADER ELEMENTS
************************************************************************/

div#header {
	background: url('../i/layout/header.gif') no-repeat;
	width: 760px;
	height: 161px;
	position:relative;
}

a#sia {
	position: absolute;
	width: 65px;
	height:75px;
	top: 32px;
	right: 65px;
	display: block;
}


div#branding {
	background: url('../i/layout/branding.jpg') no-repeat;
	width: 760px;
	height: 193px;
}

/***********************************************************************
	BODY ELEMENTS
************************************************************************/

div#content {
	width: 500px;
	margin-left: 30px;
	float: left;
}

* html div#content {
	margin-left: 20px;
}

h1 {
	font-size: 1.2em;
	color: #000d26;
}

h2 {
	font-size: 1.2em;
	color: #133d70;
/*	margin-top: 50px;*/
}

div#content img {
	float: right;
	margin-left: 20px;
	margin-top: 20px;
	clear: both;
}

div#content p {
	margin: 1em auto;
	color: #000d26;
	text-align: justify;
}

div#rightbox{
	width: 188px;
	margin-right: 6px;
	margin-top: -37px;
	float: right;
}

div.rightsub {
	background: url('../i/layout/rightrep.gif') repeat-y;
	position: relative;
	z-index: 100;
}

h1#latnews {
	text-indent: -999em;
	letter-spacing: 133px;
	width: 184px;
	height: 36px;
	background: url('../i/layout/righttop.gif') no-repeat;
/*	position: absolute;
	left:0;
	top:0;*/
/*margin-top: -36px;*/
}

h1#latvac {
	margin-top: 10px;
	text-indent: -999em;
	letter-spacing: 133px;
	width: 184px;
	height: 35px;
	background: url('../i/layout/latvac.gif') no-repeat;
}

div.rightbot {
	width: 184px;
	height: 29px;
	background: url('../i/layout/rightbot.jpg') no-repeat;
}

h3 {
	font-weight: bold;
/*	font-size: 1.2em;*/
}

div.latitem {
	width: 150px;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-left: 15px;
	text-align: justify;
}

div.latitem p {
	font-size: 0.9em;
	margin-top: 5px;
}

div.latitem a.more {
	float: right;
}

* html div#rightbox {
	position: relative;
	margin-right: 2px;
}

div.news-item {
	margin-top: 10px;
	padding-bottom: 5px;
	border-bottom: 1px dashed #888;
}

div.news-item-content {
	padding-bottom: 5px;
	text-align: justify;
}

div.news-item h5 {
	padding-bottom: 5px;
}

div.view-news {
	margin: 1em auto;
	text-align: justify;
}

div.view-news h1, div.news-item h5 a {
	color: #133d70;
}

div#content img#ver {
	float: none;
}

div#content div.job-vacancy {
	border-bottom: 1px dashed #ccc;
	float: left;
	width: 500px;
	background-color:#596E89;
	color: #fff;	
	padding-left: 20px;
}
div#content  div.job-vacancy p{
	color:#fff;
}
div.job-vacancy p strong{
	color:#fff;
}
div.job-vacancy a{
	color: #fff;
}
div.job-vacancy a:hover{
	color: #cecece;
}

img.news-image{
	float: right;
	clear: both;
	margin-left: 20px;
	margin-bottom: 20px;
	margin-top: 5px;
}
div.view-news h1{
	margin-bottom: 20px;

}
div.news-archive{
	float: left;
	width: 500px;
	margin-top:10px;
	margin-bottom:10px;
}
div.news-archive h1{
	float: left;
	width: 500px;
}
div#content div.news-archive p{
/*	width: 120px;*/
	margin:0px;
	float: left;
	margin-top: 5px;
	margin-right:4px;
}
div.news-archive p a{
	background-color: #E6E6FA;
	float: left;
/*	width: 120px;*/
	padding:6px;


}
div.news-archive p a:hover{
	background-color: #091A38;
	color: #fff;
	float: left;
/*	width: 120px;*/
	padding:6px;
}

div.testimonial-vids{
	float: left;	
	margin-top: 20px;
	padding-bottom: 20px;

}
div#content div.testimonial-vids a img{
	float: left;	
	padding:0px;
	margin:0px;
}
div.testimonial-vids a{
	float: left;
	margin-left: 15px;
	width: 130px;
	height: 101px;
	padding-top: 0px;
	margin-top: 20px;
}
* html div.testimonial-vids a{
	float: left;
	margin: 5px;
	width: 130px;
	height: 101px;
}
div#content p a{
	text-decoration: underline;
	color: #666;
}

div#content  div.job-vacancy p a{
	color: #ccc;
}
div#content div.job-vacancy p a:hover{
	color: #fff;
}
/***********************************************************************
	NAVIGATION
************************************************************************/
div#navigation{
	position: relative;
	z-index: 100;
}

div#navigation ul li {
	float: left;
	margin-left: 20px;
	font-size: 1.1em;
	position: relative;
	width: 80px;
	text-align: center;
}

div#navigation ul li a {
	color: #000d26;
	display: block;
	padding: 5px;
	padding-left: 3px;
	padding-right: 3px;
}
div#navigation ul li a.current {
	background-color: #CED6DC;
	color: #000;
}
div#navigation ul li ul{
	position: absolute;
	top: 0px;
	left: 1px;
	z-index: 101;
	display: none;
	margin-top: 7px;
	margin-left: -2px;
	float: left;	
	padding-top: 20px;
	background-image: url(../i/layout/dropdown-top.gif);
	background-repeat: no-repeat;
/*	background-color: Aqua;*/
}
* html div#navigation ul li ul{
	position: absolute;
	z-index: 101;
/*	top: 0px;
	left: 1px;*/
	display: none;
/*	margin-left: -119px;*/
	margin-top: 12px;
}
div#navigation ul li a:hover{
	position: relative;
	z-index: 101;
/*	background-color: Aqua;*/
}
div#navigation ul li:hover ul { 
	display: block;
	z-index: 102;
	position: absolute;
/*	background-color: Fuchsia;*/
}

div#navigation ul li ul li{
	background-color: #7A93B2;
	color: #fff;	
	text-indent: 0;
	float: left;
	clear: left;
	width: 250px;
	text-align: left;
	font-size: 1em;
	margin-left:0px;
	position: relative;
	z-index: 102;
}
div#navigation ul li ul li a{
	text-indent: 0;
	color: #fff;	
	padding: 5px;	
	position: relative;
	z-index: 112;
	background-color: #7A93B2;
}
div#navigation ul li ul li a:hover{
	text-indent: 0;
	color: #000;	
	background-color: #DCDCDC;
	position: relative;
	z-index: 112;
}
div#navigation li:hover ul, div#navigation li.over ul{ 
	display: block;
		position: absolute;
	z-index: 110;
}

/* Fix IE. Hide from IE Mac \*/
* html ul li { float: left; height: 1%; }
* html ul li a { height: 1%; }
/* End */

div#navigation li:hover ul, div#navigation li.over ul { 
	display: block;  
	position: absolute;
z-index: 110;
} /* The magic */	



ul.services{
	float: left;
	list-style: disc;
	list-style-position: outside;
	text-indent: 10px;
	margin-left: 10px;
	margin-top:20px;
}
ul.services li{
	padding:1px;
}
ul.services li a{
	display: block;
	padding:5px;
	background-color: #194273;
	color: #fff;
	padding-right:10px;
}
ul.services li a:hover{
	display: block;
	padding:5px;
	padding-right: 10px;
	background-color: #7A93B2;
}

img.cert{
	margin-top: 10px;
	margin-bottom: 10px;
}


/***********************************************************************
	FOOTER ELEMENTS
************************************************************************/

div#footer {
	width: 760px;
	margin: 10px auto;
	color: #7b93b2;
	text-align: center;
}

div#siteinfo-legal {
	float: left;
	margin-left: 20px;
}

div#siteinfo-credits {
	float: right;
	margin-right: 10px;
}

div#footer a {
	color: #D2DEE8;
}

/***********************************************************************
	MESSAGES
************************************************************************/

.error, .notice, .message { 
	color: #b22;
	font-weight: bold;
}

.error ol li {
	font-weight: normal;
	list-style-type: lower-roman;
	list-style-position: inside;
	margin-left: 0;
	padding-left: 1em;
	text-indent: 1em;
}
/***********************************************************************
	SOCIAL BOOKMARK LINKS LIST
************************************************************************/
div#social-bookmark-links{
	float: left;
	clear: both;
	border: 1px solid #cccccc;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
}
div#social-bookmark-links ul{
	
}
div#social-bookmark-links ul li{
	float: left;
}
div#social-bookmark-links ul li a{
	float: left;
	height: 20px;
	padding-left: 22px;
	padding-top: 2px;
	background-repeat: no-repeat;
	margin-right: 5px;
}
div#social-bookmark-links ul li a:hover{
	float: left;
	color: Maroon;
}

/**icon setting**/
div#social-bookmark-links ul li a#delicious{
	background-image: url(../i/icons/delicious.jpg);
/*	width: 60px;*/
}
div#social-bookmark-links ul li a#digg{
	background-image: url(../i/icons/digg.jpg);
/*	width: 35px;*/
}
div#social-bookmark-links ul li a#stumble{
	background-image: url(../i/icons/stumble.jpg);
/*	width: 85px;*/
}
div#social-bookmark-links ul li a#facebook{
	background-image: url(../i/icons/facebook.jpg);
/*	width: */
}
div#social-bookmark-links ul li a#reddit{
	background-image: url(../i/icons/reddit.jpg);
}
/*****************/


a.pdf{
	padding: 10px;
	float: left;
	clear: both;
	background-image: url(../i/icons/pdf.gif);
	background-repeat: no-repeat;
	width: 120px;
	padding-left: 25px;
	padding-top: 2px;
	margin-top: 20px;
}
a.pdf:hover{
	color: #7A93B2;
}
a.pdf-long{
	padding: 10px;
	float: left;
	clear: both;
	background-image: url(../i/icons/pdf.gif);
	background-repeat: no-repeat;
	width: 520px;
	padding-left: 25px;
	padding-top: 2px;
	margin-top: 20px;
}
a.pdf-long:hover{
	color: #7A93B2;
}