/*
HTML 5 Template Name: Basic 87
File: Layout CSS
Author: OS Templates
Author URI: http://www.os-templates.com/
Licence: <a href="http://www.os-templates.com/template-terms">Website Template Licence</a>
*/

html{overflow-y:scroll;} /* Forces a scrollbar when the viewport is larger than the websites content - CSS3 */

body{margin:0; padding:0; font-size:13px; font-family:Georgia, "Times New Roman", Times, serif; color:#919191; background-color:#232323;}

.clear:after{content:"."; display:block; height:0; clear:both; visibility:hidden; line-height:0;}
.clear{display:block; clear:both;}
html[xmlns] .clear{display:block;}
* html .clear{height:1%;}

a{outline:none; text-decoration:none;}

code{font-weight:normal; font-style:normal; font-family:Georgia, "Times New Roman", Times, serif;}

.fl_left{float:left;}
.fl_right{float:right;}

img{margin:0; padding:0; border:none; line-height:normal; vertical-align:middle;}
.imgholder, .imgl, .imgr{padding:4px; border:1px solid #D6D6D6; text-align:center;}
.imgl{float:left; margin:0 15px 15px 0; clear:left;}
.imgr{float:right; margin:0 0 15px 15px; clear:right;}

/*----------------------------------------------HTML 5 Overrides-------------------------------------*/

address, article, aside, figcaption, figure, footer, header, nav, section{display:block; margin:0; padding:0;}

q{display:block; padding:0 10px 8px 10px; color:#979797; background-color:#ECECEC; font-style:italic; line-height:normal;}
q:before{content:'“ '; font-size:26px;}
q:after{content:' „'; font-size:26px; line-height:0;}

/* ----------------------------------------------Wrapper-------------------------------------*/

div.wrapper{display:block; width:100%; margin:0; padding:0; text-align:left;}

.row1, .row1 a{color:#C0BAB6; background-color:#F0F0F2;}

.rowjp, .rowjp {color:#C0BAB6; background-color:#F0F0F2;}

/*.row2{color:#979797; background-color:#FFFFFF;}*/
.row2{color:#4d4d4d; background-color:#FFFFFF;}
.row2 a{color:#CC7A00; background-color:#FFFFFF;}
.row3, .row3 a{color:#919191; background-color:#232323;}

/*----------------------------------------------Generalise-------------------------------------*/

#header {display:block; width:960px; margin:0 auto; background-color:#F0F0F2;}
#container, #footer{display:block; width:960px; margin:0 auto;}

/*------------------------------------JOE TABLES------------------------------*/

table.equalDivide {
margin:20px;
}

table.threeDivide {
margin:20px;
}

table.equalDivide tr td {
width:46%;
text-align: left;
}

table.threeDivide tr td {
width:32%;
text-align: left;
}

table.first_table {
    float: left;
    width: 50%;
    height: 200px;
    border: 0px solid #000;
    border-bottom: none;
	margin:20px;
}

table.second_table {
    width: 100%;
    border: 0px solid #000;
	margin:20px;
}

.clear {
    clear: both;
}

/*--------------END TABLES----------------------------*/

/*---------------DROPDOWN JOE-------------------*/
ul.submenu {
    display: none;
	  color: white;
}

ul.submenu a {
color: #808080;
}

ul.submenu li:hover a {
color: #85a6b8;
}

li:hover ul.submenu {
  display: block;
  height: 34px;
  line-height: 34px;
  padding: 0 20px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  /*text-shadow: 0 -1px rgba(0, 0, 0, 0.3);*/
  background: #f2f2f2;
  border-radius: 3px 3px 0 0;
  
  background-image: -webkit-linear-gradient(top, #f2f2f2;, #f2f2f2;);
  background-image: -moz-linear-gradient(top, #f2f2f2;, #f2f2f2;);
  background-image: -o-linear-gradient(top, #f2f2f2;, #f2f2f2;);
  background-image: linear-gradient(to bottom, #f2f2f2;, #f2f2f2;);
  
  -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), inset 0 -2px 2px rgba(0, 0, 0, 0.03), 0 2px white, 0 0 2px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), inset 0 -2px 2px rgba(0, 0, 0, 0.03), 0 2px white, 0 0 2px rgba(0, 0, 0, 0.2);
}
/*---------------END DROPPDOWN-----------------*/

/*nav ul{margin:0; padding:0; list-style:none;}*/

/*-----------------Joe Nav ----------------------*/

ol, ul {
  list-style: none;
  padding-left: 0;
}

nav {
  height: 34px;
  border-bottom: 0px solid white;
  -webkit-box-shadow: inset 0 -2px 1px rgba(0, 0, 0, 0.03);
  box-shadow: inset 0 -2px 1px rgba(0, 0, 0, 0.03);
  position: absolute;
  background-color:#F0F0F2;
}



.nav {
  margin: 0 auto;
  width: 100%;
}

.nav a {
  display: block;
  text-decoration: none;
}
.nav > li {
  float: left;
  margin-right: 4px;
}
.nav > li > a {
  height: 34px;
  line-height: 34px;
  padding: 0 20px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  text-shadow: 0 -1px rgba(0, 0, 0, 0.3);
  background: #759aaf;
  border-radius: 3px 3px 0 0;
  
  background-image: -webkit-linear-gradient(top, #A4ACAF, #A4ACAF);
  background-image: -moz-linear-gradient(top, #A4ACAF, #A4ACAF);
  background-image: -o-linear-gradient(top, #A4ACAF, #A4ACAF);
  background-image: linear-gradient(to bottom, #A4ACAF, #A4ACAF);
  
  -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), inset 0 -2px 2px rgba(0, 0, 0, 0.03), 0 2px white, 0 0 2px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), inset 0 -2px 2px rgba(0, 0, 0, 0.03), 0 2px white, 0 0 2px rgba(0, 0, 0, 0.2);
}
.nav > li > a:hover {
  text-decoration: none;
  background: #85a6b8;
  background-image: -webkit-linear-gradient(top, #afc5d1, #85a6b8);
  background-image: -moz-linear-gradient(top, #afc5d1, #85a6b8);
  background-image: -o-linear-gradient(top, #afc5d1, #85a6b8);
  background-image: linear-gradient(to bottom, #afc5d1, #85a6b8);
}
.nav > li.active > a, .nav > li > a:active, .nav > .dropdown:hover > a {
  background: white;
  color: #404040;
  text-shadow: none;
  -webkit-box-shadow: 0 2px white, 0 0 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px white, 0 0 2px rgba(0, 0, 0, 0.2);
}
.nav a.icon {
  position: relative;
  width: 40.8px;
  padding: 0;
}
.nav a.icon > span {
  display: block;
  position: relative;
  top: 9px;
  left: 12px;
  height: 16px;
  width: 16px;
  background-repeat: no-repeat;
  background-position: 0 0;
  font: 0/0 serif;
  text-shadow: none;
  color: transparent;
}
.nav a.icon.home > span {
  background-image: url("../images/home.png");
}
.nav .active a.icon > span, .nav a.icon:active > span {
  background-position: 0 -16px;
}

.dropdown {
  position: relative;
  border-bottom: 5px solid white;
}
.dropdown:hover ul {
  display: block;
}
.dropdown ul {
  display: none;
  position: absolute;
  top: 39px;
  left: -1px;
  min-width: 160px;
  padding: 0 0 5px;
  background: white;
  border: 1px solid #dadada;
  border-top: 0;
  border-radius: 0 0 3px 3px;
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.04);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.04);
}
.dropdown ul.large {
  min-width: 200px;
}
.dropdown li {
  display: block;
  margin: 0 18px;
  overflow: visible;
}
.dropdown li + li {
  border-top: 1px solid #eee;
}
.dropdown li a {
  color: #555;
  padding: 8px 18px;
  margin: 0 -18px;
}
.dropdown li a:hover {
  color: black;
}
/*--------------End Joe Nav ---------------------*/




h1, h2, h3, h4, h5, h6{margin:0; padding:0; font-size:16px; font-weight:bold; font-style:normal; line-height:normal; text-transform:uppercase;}

address{font-style:normal; margin-left: 20px;}

blockquote, q{display:block; padding:8px 10px; color:#979797; background-color:#ECECEC; font-style:italic; line-height:normal;}
blockquote:before, q:before{content:'“ '; font-size:26px;}
blockquote:after, q:after{content:' „'; font-size:26px; line-height:0;}

form, fieldset, legend{margin:0; padding:0; border:none;}
legend{display:none;}
input, textarea, select{font-size:12px; font-family:Georgia,"Times New Roman",Times,serif;}

.one_quarter, .two_quarter, .three_quarter, .four_quarter{display:block; float:left; margin:0 20px 0 0;}
.one_quarter{width:225px;}
.two_quarter{width:470px;}
.three_quarter{width:715px;}
.four_quarter{width:960px; float:none; margin-right:0; clear:both;}
.lastbox{margin-right:0;}

/*----------------------------------------------Header-------------------------------------*/

#header{padding:15px 0; background-color:#F0F0F2;}
#header #hgroup{float:left; margin:0 0 5px 0; }
#header #hgroup h1, #header #hgroup h2{font-weight:normal; text-transform:none;}
#header #hgroup h1{font-size:36px;}
#header #hgroup h2{font-size:13px;}

#header nav{display:block; float:right; margin:10px 0 0 0; padding:20px 0; color:#C0BAB6; background-color:#232323;}
#header nav ul{padding:0 20px;}
#header nav li{display:inline; margin-left:0px; margin-right:25px; text-transform:uppercase;}
#header nav li.last{margin-right:0;}
#header nav li a{color:#C0BAB6; background-color:#232323;}
#header nav li a:hover{color:#FF9900; background-color:#232323;}

/*----------------------------------------------Content Area-------------------------------------*/

#container{padding:10px 0;}
/*Adjust space between logo and font */
#container section{display:block; width:100%; margin:0 0 10px 0; padding:0;}
#container .last{margin:0;}
#container .more{text-align:right;}


/* ------Homepage-----*/

#container #homepage{display:block; width:100%; line-height:1.6em; }

#container #homepage #latest{}
#container #homepage #latest article{}
#container #homepage #latest figure{padding:4px; border:1px solid #D6D6D6; text-align:center;}
#container #homepage #latest figcaption{padding:5px; text-align:center; color:#979797; background-color:#EEEEEE; text-transform:uppercase; text-align:center;}

/* ------Joe HomepageNews-----*/

#container #homepageNews{display:block; width:100%; line-height:1.6em; margin-bottom:50px; overflow-x: hidden; overflow-y: scroll; height:530px;}
#container #homepageNews #latest{}
#container #homepageNews #latest article{}
#container #homepageNews #latest figure{padding:4px; border:1px solid #D6D6D6; text-align:center;}
#container #homepageNews #latest figcaption{padding:5px; text-align:center; color:#979797; background-color:#EEEEEE; text-transform:uppercase; text-align:center;}

/* -------Joe extrec-body-----*/
.extrec-body{
padding:0px;
color: #000;
font-size: 8pt;
line-height: 20%;
}
#extrec-body#brh{eight:2px; visibility:hidden; margin-bottom:-1px;}

/* ------Shout-----*/

#container #shout{margin-top: 0px; padding:0 0 20px 0; border-bottom:1px solid #DEDEDE; text-align:block;}
#container #shout p{font-size:15px; margin:0; padding:0; line-height:1.8em;}

/* ------Joe ShoutNews-----*/

#container #shoutNews{height:400px; margin-top: 0px; padding:0 0 20px 0; border-bottom:0px solid #DEDEDE; text-align:block;}
#container #shoutNews p{font-size:15px; margin:0; padding:0; line-height:1.8em;}


/* ------Main Content-----*/

#container #content{float:left; width:630px; line-height:1.6em;}

#container #content #services{}
#container #content #services ul{margin:0; padding:0; list-style:none;}
#container #content #services ul li{display:block; width:100%; margin-bottom:30px;}
#container #content #services ul li.last{ margin-bottom:0;}
#container #content #services ul li article{}
#container #content #services ul li article figure{}
/* #container #content #services ul li article figure img{float:left; width:180px; height:150px; margin:0; padding:4px; border:1px solid #666666;}*/
#container #content #services ul li article figure img{float:left; margin:0; padding:4px; border:1px solid #666666;}
#container #content #services ul li article figure figcaption{display:block; float:right; width:410px;}
#container #content #services ul li article figure h2{font-size:14px;}
#container #content #services ul li article figure footer{}

/*---JOE--ServicesADV */
#container #content #servicesAdv{}
#container #content #servicesAdv ul{margin:0; padding:0; list-style:none;}
#container #content #servicesAdv ul li{display:block; width:100%; margin-bottom:30px;}
#container #content #servicesAdv ul li.last{ margin-bottom:0;}
#container #content #servicesAdv ul li article{}
#container #content #servicesAdv ul li article figure{}
/* #container #content #services ul li article figure img{float:left; width:180px; height:150px; margin:0; padding:4px; border:1px solid #666666;}*/
#container #content #servicesAdv ul li article figure img{float:left; margin:0; padding:4px; border:1px solid #666666;}
#container #content #servicesAdv ul li article figure figcaption{display:block; float:right; width:600px;}
#container #content #servicesAdv ul li article figure h2{font-size:14px;}
#container #content #servicesAdv ul li article figure footer{}


/* ------Right Column-----*/

#container #right_column{float:right; width:280px;}
#container #right_column h2.title{margin-bottom:15px; padding-bottom:15px; border-bottom:1px solid #DEDEDE;}
#container #right_column nav{display:block; width:100%;}
#container #right_column nav ul{margin:0; padding:0; list-style:none;}
#container #right_column nav li{margin:0 0 3px 0; padding:0;}
#container #right_column nav li.last{margin-bottom:0;}
#container #right_column nav a{display:block; margin:0; padding:5px 10px 5px 20px; color:#666666; background:url("../images/orange_file.gif") no-repeat 10px center #FFFFFF; text-decoration:none; border-bottom:1px dotted #666666;}
#container #right_column nav a:hover{color:#FF9900; background-color:#FFFFFF;}

/*----------------------------------------------Footer-------------------------------------*/

#footer{padding:20px 0;}
#footer p{margin:0; padding:0;}


/*--------------------------------------Joe Drop Menu-------------------------------------*/
.dropdown {
font: 13px/20px 'Lucida Grande', Tahoma, Verdana, sans-serif;
  display: inline-block;
  position: relative;
  overflow: hidden;
  height: 28px;
  width: 300px;
  background: #f2f2f2;
  border: 1px solid;
  border-color: white #f7f7f7 #f5f5f5;
  border-radius: 3px;
  background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
  background-image: -moz-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
  background-image: -o-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.06));
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}
.dropdown:before, .dropdown:after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 10px;
  width: 0;
  height: 0;
  border: 4px dashed;
  border-color: #888 transparent;
  pointer-events: none;
}
.dropdown:before {
  border-bottom-style: solid;
  border-top: none;
}
.dropdown:after {
  margin-top: 7px;
  border-top-style: solid;
  border-bottom: none;
}

.dropdown-select {
  position: relative;
  width: 130%;
  margin: 0;
  padding: 6px 8px 6px 10px;
  height: 28px;
  line-height: 14px;
  font-size: 12px;
  color: #62717a;
  text-shadow: 0 1px white;
  /* Fallback for IE 8 */
  background: #f2f2f2;
  /* "transparent" doesn't work with Opera */
  background: rgba(0, 0, 0, 0) !important;
  border: 0;
  border-radius: 0;
  -webkit-appearance: none;
}
.dropdown-select:focus {
  z-index: 3;
  width: 100%;
  color: #394349;
  outline: 2px solid #49aff2;
  outline: 2px solid -webkit-focus-ring-color;
  outline-offset: -2px;
}

.dropdown-select > option {
  margin: 3px;
  padding: 6px 8px;
  text-shadow: none;
  background: #f2f2f2;
  border-radius: 3px;
  cursor: pointer;
}

/* Fix for IE 8 putting the arrows behind the select element. */
.lt-ie9 .dropdown {
  z-index: 1;
}
.lt-ie9 .dropdown-select {
  z-index: -1;
}
.lt-ie9 .dropdown-select:focus {
  z-index: 3;
}

/* Dirty fix for Firefox adding padding where it shouldn't. */
@-moz-document url-prefix() {
  .dropdown-select {
    padding-left: 6px;
  }
}

.dropdown-dark {
  background: #444;
  border-color: #111 #0a0a0a black;
  background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.4));
  background-image: -moz-linear-gradient(top, transparent, rgba(0, 0, 0, 0.4));
  background-image: -o-linear-gradient(top, transparent, rgba(0, 0, 0, 0.4));
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
  -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px 1px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px 1px rgba(0, 0, 0, 0.2);
}
.dropdown-dark:before {
  border-bottom-color: #aaa;
}
.dropdown-dark:after {
  border-top-color: #aaa;
}
.dropdown-dark .dropdown-select {
  color: #aaa;
  text-shadow: 0 1px black;
  /* Fallback for IE 8 */
  background: #444;
}
.dropdown-dark .dropdown-select:focus {
  color: #ccc;
}
.dropdown-dark .dropdown-select > option {
  background: #444;
  text-shadow: 0 1px rgba(0, 0, 0, 0.4);
}

