/******************* main elements **********************/
html, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset, a, div, img, input, fieldset, blockquote, cite
{
    margin: 0;
    padding: 0;
    border: 0;
}

.clear{clear: both;}
.space{height: 35px;}
.left{float: left;}
.right{float: right;}

html
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 62.5%;
    height: 100%;
}

body
{
    font-size: 1.2em;
    color: #fff;
    height: 100%;
    background: #003372 url(../images/top-line.gif) repeat-x;
    
}

.content {
    font-size:15px;
    text-align:justify;
    min-height:300px;
    font-family:tahoma;
    margin-bottom:0px;
    padding-bottom:0px;
    
}
.conindex {. 
    padding:5px;
    margin-bottom:0px;

}
.gallery {
    padding-top:15px;
    padding-left:4px;
background-color:#143c6e;
    
}
.content h2 {
    font-size:17px;
}}

.content span {. 
    font-weight:normal;
    font-size:12px;
}
/******************* main text area elements *******************/
a
{
    color: #0091ff;
    text-decoration: underline;
}

a:hover
{
    color: #0046b0;
}

h2{
    font-size: 1.6em;
    padding: 0 0 15px 0;
}

h3{
    font-size: 1.2em;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    color: #ededed;
    padding: 0 0 10px 0;
    border-bottom: 1px solid #004AA3;
}

h4{
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #0091ff;
    padding: 15px 0 0 0;
}

table{
    margin: 0 0 10px 0;
    border-collapse: collapse;    
}

th, td{
    padding: 5px 40px 5px 15px;
    text-align: left;
    border: 1px solid #00387E;
    background: #002459;
}

th{
    background: #003E89;
}

#main img{
    border: 4px solid #002459;
}

#main p{
    padding: 0 0 18px 0;
    line-height: 1.6;
}

#main p strong{
    font-size: 1.2em;
}

#text h3{
    padding: 10px 0;
}

#text ul, #text ol{
    padding: 0 0 15px 30px;
    line-height: 1.6;
}

#text ul ul, #text ul ol, #text ol ol, #text ol ul{padding: 0 0 0 30px;}

blockquote{
    font-size: 0.9em;
    width: 100%;
    border-left: 3px solid #0091FF;
    margin: 0 0 15px 0;
    padding: 5px 0 5px 20px;
}

#main #text blockquote p{padding: 0;}

blockquote cite{
    font-style: italic;
    font-weight: bold;
    color: #dadada;
}


/********************** main horizontal menu ***************/
#mainmenu ul ul {
  
    display:none;
}
#mainmenu ul li:hover > ul {
    
    
    display: block; position: relative; top:15%; left: 45%;
   
}
.secondMenu 
.subnav li:hover ul, li.over ul { display: block; } /* The magic */
.subnav  {
    
   display: block; 
   padding: 5px 5px; 
   text-decoration: none;
   background-color:#000;
}
.subnav a:hover {
    text-align:center;
    
}

/* Icons sets  */
.right ul {
    list-style:none;
    margin:0px;
    padding:0px;
    padding-right:40px;
    
}
.right li.facebook a ,li.twitter a {
    color:#fff;
    text-decoration:none;
}
.right li.facebook:hover ,li.twitter:hover {
    color:#000;

    text-decoration:blink;
}
.right li.facebook{
    
	background-image:url(../images/facebook_icon.jpg);
	background-repeat:no-repeat;
	background-position:0px 2px; 
    padding:10px;
	padding-left:35px;
}
.right li.twitter{
    padding:10px;
	background-image:url(../images/twitter_icon_mini.jpg);
	background-repeat:no-repeat;
	background-position:0px 2px; 
	padding-left:35px;
}


#mainmenu{

    float: right;
    width: 900px;
    text-align:center;
    padding: 40px 4px 0 0;
  
}

#mainmenu ul{
    float: right;
    list-style: none;
}

#mainmenu ul li{
    float: left;
    padding: 0 0 0 25px;
}

#mainmenu ul li a{
    font-family: Verdana, Arial, sans-serif;
    text-decoration: none;
    color: #fff;    
}

#mainmenu ul li a:hover, #mainmenu ul li a.active{
    color: #0091ff;
}


/***************************** main elements *******************/

#wrapper{
    width: 900px;
    margin: 30px auto -90px auto; 
    background: transparent url(../images/header-back.gif) no-repeat;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    
}
#header #logo {
    position:absolute;
    top:10px;
    
}
#logo img {
    display: inherit;
    border:0px;
}
#logo{
    width: 160px;
    float: left;
    
    padding: 0px 0 0 0;
}
#main {
    background: transparent url(../images/bg_bottom_ori.gif) bottom repeat-x;
  
}
#tab{
    float: right;
    width: 132px;
    height: 20px;
    background: url(../images/tab-back.gif);
    color: #fff;
    position: relative; bottom: 30px;
    text-align: center;
    padding: 6px 0 0 0;
}

#tab a{
    color: #fff;
    text-decoration: none;
}

#header, #main{
    float: left;
    width: 900px;
}

#header{
    height: 80px;
    padding: 0 0 35px 0;
}

#first-part{
    padding:5px;
    width: 900px;
    float: left;
    margin: 0 0 25px 0;
}

#rotating-images{
    width: 900px;
    height: 312px;
    overflow: hidden;
    float: right;
    position: relative; bottom: 10px;
}

#rotating-images p{
    width: 360px;
    height: 50px;
    background: transparent url(../images/opacity-back.png) repeat;
    margin: -75px 0 0 4px;
    padding: 15px 0 3px 30px;
    position: relative;
}


#first-part h2{
    font-weight: normal;
    font-size: 1.8em;
    color: #0091ff;
    line-height: 0.9;
    background: #002459;
    padding: 18px 15px;
}

#first-part h2 span{
    color: #0057c1;
    font-size: 0.8em;
}

#featured{
    width: 345px;
    float: left;
    margin: 40px 0 0 0;
}

.button{
    width: 94px;
    height: 21px;
    display: block;
    background: url(../images/button-back.gif);
    color: white;
    text-align: center;
    text-decoration: none;
}
.button:hover{color: white;}

#second-part{
    width: 900px;
    background: url(../images/divider.gif) no-repeat;
    padding: 45px 0 0 0;
}

.property-front{
    width: 208px;
    float: left;
}

.property-front img{
    width: 200px;
    height: 120px;
    margin: 0 0 5px 0;
}

.section-1{
    float: left;
    width: 440px;
}

.section-2{
    float: right;
    width: 440px;
}

.section-1 h3, .section-2 h3{
    margin-right: 3px;
    margin-left: 2px;
}

.last{
    position: relative; left: 22px;
}

#second-part p{
    font-size: 0.9em;
    padding: 0;
}

#third-part h2 {
    text-align:left;
    padding:0px;
    font-variant: small-caps;

    margin-bottom:5px;
    font-family:Trebuchet MS;
    
}
#third-part h4 {
   color:white;
    padding:0px;
    font-variant: small-caps;
    border-bottom:1px solid #0057c1;
    margin-bottom:5px;
    font-family:Trebuchet MS;
}
#third-part{
    width: 900px;
    float: left;
    margin: 65px 0 30px 0;
}

#text{
    width: 530px;
    float: left;
}

#sidemenu{
    width: 285px;
    float: right;
    padding: 0 5px 0 0;
}
#Socialize img {
    border:0px ;
}
#Socialize{
    width: 285px;
    float: right;
    padding: 0 5px 0 0;
}
#sidemenu ul{
    list-style: none;
}

#sidemenu li{
    padding: 0 0 0 25px;
    margin: 0 0 15px 0;
    background: url(../images/tick.gif) no-repeat left center;
}

#sidemenu li a{
    color: white;
}

.portfolio-piece{
    clear: left;
    margin: 0 0 40px 0;
}

.portfolio-piece h3{
    margin: 0 0 15px 0;
}

.portfolio-piece img{
    float: left;
    width: 200px;
    margin: 0 20px 5px 0;
}

/******************* footer *****************************/

.push{height: 90px;}

#footer{
    height: 90px;

    background: transparent url(../images/footer-back.gif) repeat-x left bottom;
}

#footerwrap{
    
    width: 900px;
    margin: 0 auto;
}

#left-footer{
    width: 900px;
    float: left;
    padding: 45px 0 0px 0px;


}

#right-footer{
    width: 300px;
    float: right;
    text-align: right;
    padding: 35px 0 0 0;
}

#footer p{
    font-size: 0.9em;
    color: black;
    line-height: 1.7;
}

#footer p a{
    color: #0046b0;
}

#left-footer .left p.division{
    border-right: 1px solid #adadad;
    padding: 0 10px 15px 0;
    margin: 0 10px 0 0; 
}

/**************** contact form **************************/

input, select, option{
  height: 18px;
}

input, select, textarea{
	border: solid 1px #0051B3;
	background: #00387E;
	width: 190px;
	color: white;
}

option{background: white;}

textarea{
	width: 400px;
}

input.submit-button{
	background: url(../images/contact-send-button.gif) no-repeat;
	width: 78px;
	height: 29px;
	border: 0;
	color: white;
	font-weight: bold;
}
/* mod/wall.php */

.comments {
    margin-bottom:20px;
    top:0px;
    float:left;
    padding:4px;
    background: transparent url(../images/bg_bottom.gif) bottom repeat-x;
}

.commentavatar {
    background: transparent url(../images/bg_bottom.gif) bottom repeat-x;
    float:right;
}
.ph {
    padding:5px;
    float:left;
    width:400px;
    font-size:12px;
    font-family:Tahoma;
}
.commentdetails {

    background-color:#000;
    color:#fff;
    padding:5px;
    font-size:12px;
    font-family:Tahoma;
   
    
}
.post {
    width:97%;
}

/* pagination styles */
div.pagination {
    
	padding: 3px;
	margin: 4px;
    font-size:11px;
}

div.pagination a {
    border: 1px solid #000099;
	padding:2px 5px 2px 5px;
	margin: 2px;
	background-color:#fff;
	text-decoration: none; /* no underline */
	color: #000099;
}
div.pagination a:hover, div.pagination a:active {
	border: 1px solid #000099;
    background-color:#0057c1;
    padding:2px 5px 2px 5px;
	color: #fff;
    
}
div.pagination span.current {
    padding:2px 5px 2px 5px;
	margin: 2px;
	font-weight: bold;
	background-color: #fff;
	color: #000;
	}
	div.pagination span.disabled {
	   padding:2px 5px 2px 5px;
		margin: 2px;
		border: 1px solid #EEE;
		color: #000;
        background-color: #fff;
	}
	

.secondMenu{

    float: right;
    width: 900px;
    text-align:center;
    padding: 0px 4px 0 0;
  
}

.secondMenu ul{
    float: right;
    list-style: none;
}

.secondMenu ul li{
    float: left;
    padding: 0 0 0 25px;
}

.secondMenu ul li a{
    font-family: Verdana, Arial, sans-serif;
    text-decoration: none;
    color: #fff;    
}

.secondMenu ul li a:hover, .secondMenu ul li a.active{
    color: #0091ff;
}


