/******************* main elements **********************/
html, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset, a, div, img, input, fieldset, blockquote, cite, dl, dt, dd
{
    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;
}


/******************* main text area elements *******************/
a
{
    color: #0091ff;
    text-decoration: underline;
}

a:hover
{
    color: #0046b0;
}

a.large-link {
    font-size: 1.3em;
    font-weight: bold;
}

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

h3{
    font-size: 1.2em;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    color: #0091ff;
    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;
    text-align: left;
    border: 1px solid #00387E;
    background: #002459;
}

th{
    background: #003E89;
    text-align: center;
}

#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 h2{
    font-weight: normal;
    font-size: 1.8em;
    color: #0091ff;
    line-height: 0.9;
    /*background: #002459;*/
}

#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{
    float: right;
    width: 700px;
    padding: 20px 3px 0 0;
}

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

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

#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%;
}

#logo{
    width: 160px;
    float: left;
    padding: 10px 0 0 0;
}

#logo h1 {
    text-indent: -9999px;
}

#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;
    font-size: 10px;
}

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

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

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

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

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

#rotating-images img{
    width: 524px;
    height: 304px;
}

#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;
    margin-bottom: 10px;
}

#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;
    font-weight: bold;
    font-family: Arial,Helvetica,sans-serif;
    background: url(../images/button-back.gif);
    /*background-position: 0 1px;*/
    color: white;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.button:hover{color: white;}

#second-part{
    width: 900px;
    background: url(../images/divider.gif) no-repeat;
    padding: 35px 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{
    width: 900px;
    float: left;
    margin: 65px 0 30px 0;
}

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

#sidemenu{
    width: 200px;
    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;
    text-decoration: none;
}

#sidemenu li a.active{
    color: #FB9702;
    font-weight: bold;
}

.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: 600px;
    float: left;
    padding: 35px 0 0 0;
}

#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{
  clear: both;
  height: 18px;
}

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

input.radio {
    width: auto;
}

label {
    display: block;
    float: left;
}

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;
}*/


/* ---------------------- GENERIC CLASSES ----------------------  */

.small  { width: 30%; }
.medium { width: 50%; }
.semi   { width: 75%; }
.large  { width: 98%; }
.center { text-align: center; }

h2.title {
    color: #fff !important;
    border: none;
    margin-top: 10px;
    font-weight: bold;
    font-size: 1.5em !important;
}

/* ---------------------- GENERIC FORM SPECIFIC ----------------------  */

.form h2{
    font-size:16px;
    font-weight:bold;
    margin-bottom:8px;
    text-align: left;
}

.form p.desc {
    font-size:11px;
    color:#666666;
    margin-bottom:20px;
    border-bottom: 1px solid #b7ddf2;
    padding-bottom:10px;
    text-align: left;
}

.form p.errors, .form p.error {
    color: #ff0000;
    font-weight: bold;
    padding: 3px 0;
}

.form dt, .form dd {
    display: block;
}

.form dd {
    margin-bottom: 20px;
}

.form dt label {
    display:block;
    font-weight:bold;
    margin-bottom: 5px;
}

.form dt label span {
    color: red;
}

.form dt .small, .form dd .small{
    color:#fff;
    /*font-size:11px;*/
    font-weight:normal;
}

.form dd input:focus, .form dd textarea:focus, .form dd label:focus {
    border: 1px solid #fff;
}

.form dd input, .form dd textarea, .form dd label, .form dd select {
    border: 1px solid #0051B3;
    background-color: #00387E;
    color:white;
    margin:0;
    padding: 5px;
}

.form dd input.error, .form dd textarea.error, .form dd select.error {
    border: 1px #ff0000 solid;
}

.form dd .radio{
    margin-right: 5px;
    margin-bottom: 10px;
}

.form .btn{
    background: url(../images/contact-send-button.gif) no-repeat;
    width: 78px;
    height: 29px;
    border: 0;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.form dd label {
    color: #fff;
    border: none;
    background: none;
}

#signup_wrapper input {
    background-color: #fff;
    color: #000;
}

#signup_wrapper input:focus {
    background-color: #fff;
    border: 1px solid #000;
    color: #000;
}

#signup_wrapper input.btn {
    color: #fff;
    margin-bottom: 20px;
}

#signup_wrapper dd {
    margin-bottom: 10px;
}

.highlight {
    color: #E20075;
    font-weight: bold;
    font-size: 1.5em;
}

/* Hover images */

.rightbox1, .rightbox2, .rightbox3. .rightbox4, .rightbox5, .rightbox6 {
    background: #4d5357;
    padding: 0 0 4px 0;
    width: 163px;
}

.rightbox1 {
    width: 147px;
    height: 101px;
    margin: 8px 8px 3px 8px;
}

.rightbox1 a {
    background: url(../images/clipping1.gif) no-repeat;
    background-position: 0% 0px;
    height: 101px;
    width: 147px;
    display: block;
}

.rightbox1 a:hover {
    background: url(../images/clipping1.gif) no-repeat;
    background-position: 0% -101px;
}

.rightbox2 {
    width: 147px;
    height: 101px;
    margin: 8px 8px 3px 8px;
}

.rightbox2 a {
    background: url(../images/clipping2.gif) no-repeat;
    background-position: 0% 0px;
    height: 101px;
    width: 147px;
    display: block;
}

.rightbox2 a:hover {
    background: url(../images/clipping2.gif) no-repeat;
    background-position: 0% -101px;
}

.rightbox3 {
    width: 147px;
    height: 101px;
    margin: 8px 8px 3px 8px;
}

.rightbox3 a {
    background: url(../images/clipping3.gif) no-repeat;
    background-position: 0% 0px;
    height: 101px;
    width: 147px;
    display: block;
}

.rightbox3 a:hover {
    background: url(../images/clipping3.gif) no-repeat;
    background-position: 0% -101px;
}

.rightbox4 {
    width: 147px;
    height: 101px;
    margin: 8px 8px 3px 8px;
}

.rightbox4 a {
    background: url(../images/masking1.gif) no-repeat;
    background-position: 0% 0px;
    height: 101px;
    width: 147px;
    display: block;
}

.rightbox4 a:hover {
    background: url(../images/masking1.gif) no-repeat;
    background-position: 0% -101px;
}

.rightbox5 {
    width: 147px;
    height: 101px;
    margin: 8px 8px 3px 8px;
}

.rightbox5 a {
    background: url(../images/masking2.gif) no-repeat;
    background-position: 0% 0px;
    height: 101px;
    width: 147px;
    display: block;
}

.rightbox5 a:hover {
    background: url(../images/masking2.gif) no-repeat;
    background-position: 0% -101px;
}

.rightbox6 {
    width: 147px;
    height: 101px;
    margin: 8px 8px 3px 8px;
}

.rightbox6 a {
    background: url(../images/alpha.gif) no-repeat;
    background-position: 0% 0px;
    height: 101px;
    width: 147px;
    display: block;
}

.rightbox6 a:hover {
    background: url(../images/alpha.gif) no-repeat;
    background-position: 0% -101px;
}

#banner1 {
    /*background-color: #fff;*/
    margin-bottom: 40px;
    padding: 20px;
    width: 575px;
}

#banner1 img {
    margin-right: 60px;
    border: none;
}

div.success {
    color: green;
    margin-bottom: 5px;
}

div.failure {
    color: red;
    margin-bottom: 5px;
}