/*
Theme Name: Milano Coastal - Custom Theme
Theme URI: http://www.vectordefector.com
Description: A custom theme developed exclusively for Milano Coastal project.
Version: 1.0
Author: Tom Benway
Author URI: http://www.vectordefector.com
*/

/* Begin Typography & Colors */
body {
	font-size: 12px;
	line-height: 18px;
	font-family: Helvetica, Arial, Sans-Serif;
	margin: 0 0 0 0;
	padding: 0;
	background-color: #e8eef8;
	color: #023367;
	}
	
a {
	outline: none;	
	text-decoration: none;
}

#page {
	width: 1008px;
	margin-left: auto;
	margin-right: auto;
}

#header {
	float:left;
	width: 1008px;
	height: 62px;
	background-image: url(images/header-bg.gif);
}

#headerimg {
	float:left;
	width: 290px;
	height: 36px;
	margin-top: 15px;
	margin-left: 53px;
}

#searchBox {
	float:right;
	width:230px;
	margin-top: 20px;
	text-align: right;
}

.field {
	color:#b0adad;
	height: 24px;
	padding-left: 5px;
	background-image: url(images/search-field-bg.html);
	background-repeat: repeat-x;
	border: 1px solid #e5e5e5;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;	
	-moz-border-radius: 6px;
	border-radius: 6px;
}

/* nav items */

#navigationTop {
	float:left;
	width: 605px;	
	margin-top: 20px;
}

ul#topUtilityMenu,
ul#primaryMenu {
	padding: 0;
	margin: 0;	
}

#navigationTop li {
	float:left;
	list-style:none;
    	margin-left: 30px; /* was 34px but breaking in Chrome */
    }

#navigationTop li a{
	text-transform: uppercase;
	font-size:13px;
	color:#244F82;	
	text-decoration: none;
	font-weight: bold;
}

#navigationBtm {
	float:left;
	width: 900px;
	height: 22px;
	margin-top: 10px;
	margin-left: 55px;
	padding-top: 0px;
}

#navigationBtm .page-item-16,
#navigationBtm li#menu-item-699,
#navigationBtm li#menu-item-739{
	margin-left: 0 !important;	
}

#navigationBtm li {
	float:left;	
    margin-top: 5px;
    	margin-left: 18px;
    	list-style: none;
}

#navigationBtm li a {
	color: #fff;
	text-transform:uppercase;
	text-decoration: none;
	line-height: 21px;
	height: 21px;
}

/* end nav */

#content {
	float:left;
	width: 900px;
	min-height: 400px;
	margin-left: 54px;
}

#pageHeader {
	float:left;
	width: 900px;
	height: 200px;	
}

.post {
	float:left;
	width: 900px;
}	

.entry {
	float:left;
	margin-top: 30px;
}

/* home specific items */
#homeImage {
	float:left;
}	

#homeCaption {
	position: absolute;
	width: 400px;
	margin: 135px 0 0 70px;
	padding: 0 20px 0 20px;
	background: transparent url(images/home-caption-bak.png) repeat 0 0;	
}

#homeCaption h2 {
	color: #fff;
	font-size: 28px;
	font-weight: normal;
	padding-top: 75px;
	height: 14px; /* 91px */
	background: transparent url(images/home-caption-logo.png) no-repeat left 18px;
}	

#homeCaption p, .homeBox h2 {
	color:#fff;
	line-height: 18px;
	margin: 20px 0 28px 0;
}	

#homeCaption a,
.homeBox h2 a {
	font-size: 16px;
	color: #fff;
	margin: 5px 5px 0 0;
	padding: 8px 10px 8px 10px;
	background-color: #836d39;
	text-transform: uppercase;
}	

#homeBoxes {
	float:left;
	width: 100%;
	margin-top: 8px;	
}

.homeBox {
	float:left;
	width: 24%;
	border: 1px solid #316cb2;
	margin-right: 9px;
	height: 181px;
}
.homeBox.last {
	margin: 0;
	float:right;
}
.homeBox img{
	max-width:100%;
}
.homeBox h2 {
	background-color: #836d39;	
	font-weight: normal;
	margin:0;
	height: 32px;
}

.homeBox h2 a {
	font-size: 17px;
	line-height: 32px;
	height: 32px;
	padding: 0 8px;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.homeBox h2 a span {
	position: relative;
	top: -2px;
	font-size: 14px;
	margin-left: 8px;
}

/* home items */


/* End Structure */


/* Begin Sidebar */
#sidebar {
	float:left;
	/*width: 195px;*/	
	width: 190px;
	margin-left: 15px;
	margin-top: 30px;
}

#sidebar form {
	margin: 0;
}

#sidebar li {
	list-style: none;
	margin-top: 15px;
	padding-right: 45px;	
}

#sidebar li a {
	color: #023367;	
}


#sidebar a {
	color: #023367;	
}

#sidebar .current_page_item{
	font-weight: bold;	
}

/* End Sidebar */


/*	Begin Headers */
h1 {
	margin: 0;
	}

h2 {
	margin: 0;
	}

#pageHeader h2 {
	position: absolute;
	color: #fff;
	font-size: 30px;
	font-weight: normal;
    	margin-left: 18px;
    top: 230px;
    }

#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	}

h3 {
	padding: 0;
	margin: 30px 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */




/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 0 10px 25px 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

/* Added for spanish translation conversion */

ul.menu {
	margin: 0;
	padding: 0;
}

ul.menu li{
	list-style-type: none;
}

#menu-item-786 a,
#menu-item-793 a{
	background: transparent url(images/secure.gif) no-repeat right center;	
	padding-right: 13px;
}

html[lang = "es-ES"] #header .sub-menu li {
	margin-left: 0px;
}

html[lang = "es-ES"] #header li a {
	font-size: 11px;
}
html[lang = "es-ES"] #header li{

}

html[lang = "es-ES"] .homeBox h2 a,
html[lang = "es-ES"] #homeCaption a{
	font-size: 14px;
}

html[lang = "es-ES"] #homeCaption {
	/*width: 350px;*/
}

/* FOOTER */

.footerColumn.utility .alignleft.last{
	margin-left: 28px;
}

html[lang = "es-ES"] .footerColumn.utility .alignleft {
	clear:left;
}

html[lang = "es-ES"] .footerColumn.utility .alignleft.last{
	margin-left: 0;
}

html[lang = "es-ES"] #footerFrame {
    width: 940px;
}

#footerTop {
	float:left;
	width: 1008px;
	height: 150px;
	margin-top: 35px;
	background-color: #033368;
	color: #fff;
}

#footerFrame {
	width: 900px;
	margin-left: auto;
	margin-right: auto;
}	

.footerColumn {
	float:left;
	margin-right: 27px;
        	
}

.footerColumn a {
	color: #fff;	
}

.footerColumn a:hover {
	text-decoration: underline;	
}

#footerBottom {
	float:left;
	width: 1008px;
	height: 44px;
	margin-top: 20px;
	text-align:center;
	color: #000;
}

#footerBottom a {
	color: #000;
	text-decoration: none;	
}

#footerBottom a:hover {
	text-decoration: underline;	
}


.footerColumn p.heading {
	text-transform: uppercase;
}
.sub-menu{
	display: none;
	position:absolute;
	padding-left:0px;
    width: 150px;
        padding: 10px;
    background-color: #244F82;
}
#navigationTop .sub-menu > li{
	    margin-left: 0px;
    width: 100%;
    padding: 10px 0px;
	    
}
#navigationTop .sub-menu > li a{
	color:white;
}
#navigationTop li:hover ul.sub-menu {
  display: block;
}








