/*----------------------------------------

Main stylesheet for: Costa Asset Management

----------------------------------------*/


/* Styles reset, HTML & body styling -------------------------------------------------------------------------------------  */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h6,
h5,
h4,
p,
blockquote,
pre,
a,
abbr,
acronym,
apress,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
p,
ol,
ul,
li,
title,
/*fieldset,*/
/*form,*/
/*legend,*/
/*input,*/
table {
    border: 0;
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
    line-height: normal;
    outline: 0;
}


/*  Sticky Footer Solution by Steve Hatcher  http://stever.ca http://www.cssstickyfooter.com */

* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

#wrapper {
    min-height: 100%;
}

#main {
    overflow: auto;
    padding-bottom: 45px;
}


/* must be same height as the footer */

footer {
    position: relative;
    margin-top: -45px;
    /* negative value of footer height */
    height: 45px;
    clear: both;
}

html {
    background: #fff url('../images/outer-bk.png') center top repeat-x;
    /* using an image rather than border keeps the sticky footer calculations right */
    overflow-x: hidden;
    overflow-y: scroll;
}

body {
    color: #231f20;
    font: 12px/1.2em 'Helvetica Light', 'Helvetica', Arial, 'Lucida Grande', sans-serif;
    position: relative;
}

#wrapper {}

#main {
    margin: 0 auto;
    position: relative;
    width: 960px;
}


/* Type and styling -------------------------------------------------------------------------------------  */

h1,
h2,
h3,
h6,
h5,
h4 {
    color: #004b4e;
    font-family: sans-serif;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.2em;
    margin: 0;
    padding: 0 0 10px 0;
}

h1 {
    font-size: 30px;
    padding: 0 0 15px 0;
}

#foundation h1{
    text-transform: uppercase;
    margin-bottom: 30px;
    padding: 20px 0 10px;
    border-bottom: 5px solid #E6E7E8;
}

h2 {
    font-size: 20px;
    line-height: 25px;
    max-width: 720px;
}

#foundation h2{
    font-size: 26px;
    margin-bottom: 20px;
    padding: 20px 0 15px;
    border-bottom: 5px solid #E6E7E8;
}

h3 {
    font-size: 16px;
    line-height: 20px;
    padding: 0 0 13px;
}

#foundation h3{
    font-size: 18px;
}

h4 {
    font-size: 16px;
}

h5 {
    font-size: 12px;
}

h6 {
    font-size: 14px;
}

#foundation hr{
    border: none;
    margin: 20px 0 35px;
    padding: 0;
    border-bottom: 5px solid #E6E7E8;
}

.people h2 {
    border-top: 5px solid #E6E7E8;
    font-size: 30px;
    margin: 0;
    padding: 20px 0 10px;
    max-width: 100%;
}

.people .intro+h2 {
    margin-top: 7px;
}

#foundation strong{
    font-weight: bold;
    color: #004b4e;
}

#foundation em{
    font-style: italic;
    font-weight: normal;
}

table{
    width: 100%;
    border-spacing: 0;
    margin: 2rem 0 2rem;
}

th{
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    background: #004b4e;
    border-left: 1px solid #fff;
}

td{
    padding: 10px 20px;
    text-align: left;
    border-top: 1px solid #E6E7E8;
    border-left: 1px solid #E6E7E8;
}

tr td:last-child{
    border-right: 1px solid #E6E7E8;
}

tr:last-child td{
    border-bottom: 1px solid #E6E7E8;
}

p,
address {
    font-style: normal;
    margin: 0;
    padding: 0 0 10px 0;
}

address {
    line-height: 1.5em;
}

address span {
    display: inline-block;
    vertical-align: top;
    /* for ie */
    zoom: 1;
    *display: inline;
    padding-right: 10px;
    width: 40px;
}

em {
    font-style: normal;
    font-weight: bold;
}

a {
    color: #303c42;
    -webkit-transition: color 150ms ease-out;
    -moz-transition: color 150ms ease-out;
    -ms-transition: color 150ms ease-out;
    -o-transition: color 150ms ease-out;
    transition: color 150ms ease-out;
}

a:hover {
    color: #8ec73f;
}

.re a:hover {
    color: #006486;
}

.eq a:hover {
    color: #8d2364;
}

ul {
    list-style-type: disc;
    list-style-position: outside;
    margin: 0;
    padding: 0 0 10px 12px;
}

#foundation ul{
    padding-left: 18px;
}

#foundation ul.gform_fields{
    padding-left: 0;
}

ol {
    margin: 0;
    padding: 0 0 0 18px;
}

li {
    margin: 0;
    padding: 0 0 5px;
}

#foundation .gform_wrapper .gsection {
    border-bottom: none;
    padding: 0;
    margin: 1.8em 0;
}

#foundation .gform_wrapper  h2.gsection_title{
    padding-bottom: 1rem !important;
}

#gform_wrapper_1 input[type=text], #gform_wrapper_1 input[type=url], #gform_wrapper_1 input[type=email], #gform_wrapper_1 input[type=tel], #gform_wrapper_1 input[type=number], #gform_wrapper_1 input[type=password], #gform_wrapper_1 textarea{
    height: 1rem;
    color: #242526;
    font-size: 1rem;
    margin: 0;
    padding: 0.3125rem;
    border: 1px solid #c4c9d6;
    background: #E6E7E8;
    border-radius: 2px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

#gform_wrapper_1 input[type=text]:focus, #gform_wrapper_1 input[type=url]:focus, #gform_wrapper_1 input[type=email]:focus, #gform_wrapper_1 input[type=tel]:focus, #gform_wrapper_1 input[type=number]:focus, #gform_wrapper_1 input[type=password]:focus, #gform_wrapper_1 textarea:focus {
    border: 1px solid #004b4e;
}

#gform_wrapper_1 textarea{
    height: auto;
}

#gform_wrapper_1 .gform_browse_button_1_20{

}

#foundation a.button, #foundation #gform_submit_button_1{
    display: inline-block;
    margin-top: 2rem;
    text-transform: uppercase;
    line-height: 2;
    color: #fff;
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    background: #00946d;
    background: -moz-linear-gradient(top,  #00946d 0%, #035451 100%);
    background: -webkit-linear-gradient(top,  #00946d 0%,#035451 100%);
    background: linear-gradient(to bottom,  #00946d 0%,#035451 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00946d', endColorstr='#035451',GradientType=0 );
}

#foundation .button:hover{
    opacity: 0.85;
}

/* Header

-------------------------------------------------------------------------------------  */

header {
    height: 150px;
    margin-bottom: 10px;
    position: relative;
}

#logo {
    position: absolute;
    top: 28px;
    left: 0;
}

#quickSearch {
    border: 1px solid #e4e4e5;
    position: absolute;
    top: 18px;
    right: 0;
    width: 192px;
    height: 23px;
    display: none;
    /* Temporarily hiding search block */
}

#quickSearch input[type="text"] {
    color: #929497;
    display: block;
    float: left;
    font-size: 12px;
    line-height: 1em;
    margin: 0;
    padding: 6px 5px 3px 6px;
    height: 14px;
    width: 158px;
}

::-webkit-input-placeholder {
    color: #636466;
}

:-moz-placeholder {
    color: #636466;
}

::-moz-placeholder {
    color: #636466;
}

:-ms-input-placeholder {
    color: #636466;
}

#quickSearch input[type="submit"] {
    background: url('../images/search-icon.png') center center no-repeat;
    cursor: pointer;
    display: block;
    float: right;
    height: 23px;
    width: 23px;
    -webkit-transition: background-color 250ms ease-out;
    -moz-transition: background-color 250ms ease-out;
    -ms-transition: background-color 250ms ease-out;
    -o-transition: background-color 250ms ease-out;
    transition: background-color 250ms ease-out;
}

#quickSearch input[type="submit"]:hover {
    background-color: #f0f0f2;
}

#quickSearch label.error {
    display: none !important;
}

#quickSearch input[type="text"].error {
    background: #f0f1f2;
}

#info {
    position: absolute;
    top: 25px;
    right: 0;
    text-align: right;
}

#info a {
    color: #929497;
    text-decoration: none;
}

/*#nav {
    list-style: none;
    margin: 0;
    padding: 0;
    position:relative;
    float:left;
}

#nav>li {
    background: transparent;
    display: block;
    float: left;
    margin: 0;
    padding: 0;
}

#nav>li a {
    color: #004b4e;
    float: left;
    display: block;
    vertical-align: top;
    font-size: 16px;
    line-height: 1em;
    margin: 0;
    padding: 0 0 9px 15px;
    text-decoration: none;
    text-transform: uppercase;
}

#nav>li:first-child a {
    padding-left: 0;
}*/

#primary_nav_wrap
{
    position: absolute;
    right: 0;
    bottom: 4px;
}

#primary_nav_wrap ul{
    list-style: none;
    position: relative;
    float: left;
    margin: 0;
    padding: 0
}

#primary_nav_wrap ul a{
    display: block;
    color: #004b4e;
    text-decoration: none;
    font-size: 16px;
    line-height: 1em;
    padding: 0 0 9px 15px;
    text-transform: uppercase;
}

#primary_nav_wrap ul li{
    position: relative;
    float: left;
    margin: 0;
    padding: 0
}

#primary_nav_wrap ul>li.current-menu-item,
#primary_nav_wrap ul>li.current-menu-parent{
    background: transparent url('../images/nav-marker.png') center bottom no-repeat;
    color: #004b4e;
    font-weight: bold;
}

#primary_nav_wrap ul li:hover{
}

#primary_nav_wrap ul ul{
    display: none;
    position: absolute;
    z-index: 99;
    top: 100%;
    left: 10px;
    padding: 0
}

#primary_nav_wrap ul ul li{
    float: none;
    width: 220px
}

#primary_nav_wrap ul ul a{
    padding: 5px 10px;
    color: #004b4e;
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
    background: #ececec;
    border-bottom: 1px solid #004b4e;
}

#primary_nav_wrap ul li:hover > ul{
    display:block
}


/*
.home .nav-home a,
.people .nav-people a,
.contact #nav-contact,
.home .nav-home a:hover,
.people .nav-people a:hover,
.contact #nav-contact:hover,
*/

/*#nav li.current-menu-item a,
#nav li.current-menu-item a:hover {
    background: transparent url('../images/nav-marker.png') center bottom no-repeat;
    color: #004b4e;
    font-weight: bold;
}*/

#nav a:hover {
    color: #8ac650;
}

.sectionNav {
    border-bottom: 5px solid #e6e7e8;
    height: 45px;
    margin-bottom: 23px;
    padding-bottom: 12px;
    width: 100%;
}

.sectionNav a {
    display: block;
    height: 45px;
    width: 305px;
    float: left;
    margin: 0 0 0 22px;
    overflow: hidden;
    *overflow: visible;
    position: relative;
    text-decoration: none;
    text-indent: -99999px;
    text-transform: capitalize;
    -webkit-transition: opacity 250ms ease-out;
    -moz-transition: opacity 250ms ease-out;
    -ms-transition: opacity 250ms ease-out;
    -o-transition: opacity 250ms ease-out;
    transition: opacity 250ms ease-out;
}

.sectionNav a:first-child {
    margin: 0 1px 0 0;
}

.sectionNav a:hover {
    opacity: 0.8;
}

.sectionNav .ap {
    background: transparent url('../images/section-agri.png') bottom left no-repeat;
}

.sectionNav .re {
    background: transparent url('../images/section-real-estate.png') bottom left no-repeat;
}

.sectionNav .eq {
    background: transparent url('../images/section-equity.png') bottom left no-repeat;
}


/* Main content area

-------------------------------------------------------------------------------------  */

img.banner {
    margin-bottom: 25px;
}

section.intro {
    max-width: 720px;
}

#foundation.intro{
    padding-bottom: 2rem;
}

.intro p {
    font-size: 14px;
    padding-bottom: 15px;
}


/* Feature list

-------------------------------------------------------------------------------------  */

ol.featureList {
    list-style: none;
    margin: 15px 0;
    padding: 0 0 35px;
}

.featureList>li {
    border-top: 5px solid #e6e7e8;
    overflow: auto;
    padding: 20px 0 10px;
    position: relative;
    width: 100%;
}

.featureList h4 {
    font-size: 19px;
    max-width: 800px;
}

.ap .featureList h4 {
    color: #8ac650;
}

.re .featureList h4 {
    color: #006486;
}

.eq .featureList h4 {
    color: #231f20;
    font-size: 16px;
    padding-bottom: 12px;
}

.people ol.featureList+h2 {
    margin-top: -50px;
}

.people .featureList>li:first-child {
    border-top: 0 none;
    padding-top: 0;
}

.people .featureList h4 {
    color: #323031;
}

.featureList p {
    font-size: 14px;
    max-width: 800px;
    padding-bottom: 14px;
}

.people .featureList p {
    max-width: 860px;
}

.featureList img:first-child {
    display: block;
    width: 305px;
    float: left;
    margin: 0 30px 15px 0;
}


/* Gallery list

-------------------------------------------------------------------------------------  */

ol.galleryList {
    list-style: none;
    margin: 15px 0;
    padding: 0 0 35px;
}

.galleryList>li {
    border-top: 5px solid #e6e7e8;
    height: 130px;
    padding: 20px 0 120px;
    position: relative;
    width: 100%;
}

.galleryList h4 {
    font-size: 19px;
    max-width: 800px;
}

.ap .galleryList h4 {
    color: #8ac650;
}

.galleryList p {
    font-size: 13px;
    max-width: 800px;
}

.galleryList .galleryLarge {
    display: block;
    height: 230px;
    width: 305px;
    float: left;
    margin: 0 30px 15px 0;
}

ul.galleryThumbs {
    height: 99px;
    width: 630px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: absolute;
    bottom: 20px;
    left: 330px;
}

.galleryThumbs li {
    display: block;
    height: 99px;
    width: 123px;
    float: left;
    list-style: none;
    margin: 0 0 0 3px;
    padding: 0;
    overflow: hidden;
    text-align: center;
}

.galleryThumbs li:first-child {
    margin-left: 0;
}

.galleryThumbs img {
    height: 100%;
    width: auto;
}

.galleryThumbs li.enlarged {}


/* Footer

-------------------------------------------------------------------------------------  */

footer .content {
    border-top: 5px solid #e6e7e8;
    margin: 0 auto;
    padding: 10px 0 0;
    width: 960px;
}

footer p {
    color: #929497;
    font-size: 12px;
    font-weight: 100;
    margin: 0;
}
