@import url("html5reset-1.6.1.css");
@import url("fonts/fonts.css");

html,
body {
    font-family: 'Lato', Arial, sans-serif;
    background-color: #F5F5F5;
    height: 101%;
    /* 101% so that site doesn't shift from side to side on really short pages */
}


header {
    width: 100%;
    height: 129px;
    background: url(../images/header-bg.png) left top repeat;
    *background-color: white;
    /* IE7 and below */
    position: relative;
    z-index: 1000;
    top: 0px;

}

.portfolio-header-cell-wrap {
    width: 980px;
    display: block;
}

img.thumb {
    width: 90px;
    height: 60px;
    -o-object-fit: cover;
    object-fit: cover;
}


.fixed-top {
    position: fixed;
    padding-top: 7px;
    top: 0;
    z-index: 1;
    background: #fff;
    height: 30px;
    border-bottom: 1px solid #ccc;
}

.top-margin-bump {
    margin-top: 41px;
}

#wrapper {
    max-width: 1122px;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -117px;
    background-color: #FFF;
}

.logo {
    padding: 20px 0 0 70px;
    margin-bottom: 20px;
}

nav {
    position: relative;
    left: 0;
    height: 30px;
    width: 100%;
    z-index: 1000;
    background: url(../images/nav-bg.png) left top repeat;
    *background-color: white;
    /* IE7 and below */
    bottom: 0px;
    vertical-align: middle;
    padding: 7px 0 7px 0px;
}

nav ul {
    list-style: none;
    margin: 2px 0px 0px 65px;
}

nav ul li {
    float: left;
    position: relative;
    font-size: 0.9em;
    margin-top: 6px;
    padding-right: 35px;
}

nav ul li a,
nav ul li a:visited {
    color: #666;
    font-weight: 400;
    text-decoration: none;
    padding: 10px 2px 10px 2px;
}

nav ul li a.current {
    color: #000;
    border-bottom: solid 4px #1f6fad;
    padding: 10px 2px 10px 2px;
}

nav ul li a:hover {
    color: #000;
    border-bottom: solid 4px #1f6fad;
    padding: 10px 2px 10px 2px;
}

nav ul li li a:hover {
    font-style: ;
    border: none;
}

.homebg {
    background: url(../images/home2.jpg) no-repeat top left;
    position: absolute;
    top: 0px;
    width: 100%;
    max-width: 1122px;
    height: 452px;
    z-index: 1;
}

.insidebg {
    background: url(../images/home2.jpg) no-repeat top left;
    position: absolute;
    top: 0px;
    width: 100%;
    max-width: 1122px;
    height: 229px;
    z-index: 1;
}

/* Dropdown Styles */

.dropdown {
    position: absolute;
    left: 0px;
    *top: 15px;
    /* IE7 and earlier */
    padding: 9px 0 10px 0;
    width: 200px;
    display: none;
    z-index: 1010;
    margin-top: 9px;
}

.dropdown-item a {
    color: #2a2a2a;
    display: block;
    padding: 10px 0px 10px 5px;
    width: 180px;
    height: 12px;
    background-color: #f4f4f4;
    margin-bottom: 2px;
}

.dropdown-item a:visited {
    color: #4b4b4b;
}

.dropdown-item a:hover {
    background: #e6e4e4;
    color: #000;
    border: none;
    padding: 10px 0px 10px 5px;
}


.caption {
    position: absolute;
    margin: 150px 0 0 70px;
    color: #FFF;
    font-size: 180%;
    line-height: 120%;
    max-width: 600px;
    z-index: 50;
    text-shadow: 1px 1px 1px #000;
}

/* Global Styles */

h1 {
    color: #0860a4;
    font-size: 130%;
    line-height: 160%;
    margin-bottom: 10px;
}

h2 {
    color: #c0ac6c;
    font-style: italic;
    font-size: 110%;
    line-height: 150%;
    margin-bottom: 5px;
}

h3 {
    color: #FFF;
    font-style: italic;
    font-size: 110%;
    line-height: 150%;

}


h4 {
    color: #000000;
    font-size: 100%;
    line-height: 120%;
    margin-bottom: 10px;
    font-style:  !important;
}

h5 {
    color: #c0ac6c;
    font-size: 90%;
    line-height: 150%;
    margin-bottom: 15px;
}

h6 {
    color: #000000;
    font-size: 0.9em;
    line-height: 140%;
    font-style:  !important;
}

h7,
h7 a {
    color: #0860a4;
    font-size: 0.8em;
    line-height: 150%;
    display: block;
    margin-bottom: 5px;
}

h7 a:hover {
    text-decoration: underline;
}

.news h7 {
    font-size: 1.1em;
}

.gold,
.gold a,
.gold a:hover {
    color: #c0ac6c;
}

p {
    font-size: 0.9em;
    line-height: 140%;
    margin-bottom: 25px;
}

p a {
    text-decoration: none;
    color: #0860a4;
}

.ref {
    position: relative;
    bottom: 0.7em;
    font-size: 0.6em;
}

.ref-note {
    margin-top: 20px;
    font-size: 0.6em;
    font-style: italic;
    color: BDBCBC;
}

.bullets li {
    font-size: 0.6em;
    color: #0860a4;
}

.bullets li span {
    font-size: 1.5em;
    color: #5D5D5D;
}

section {
    position: relative;
    z-index: 2;
    max-width: 1122px;
    padding: 140px 20px 50px 70px;
    color: #5D5D5D;
    line-height: 120%
}

section #portfolio {
    width: 100%;
    position: relative;
    /*padding-right:10%;*/
    margin-bottom: 40px;
}

section #body-content {
    width: 55%;
    position: relative;
    float: left;
    padding-right: 10%;
    margin-bottom: 40px;
}

section #sidebar {
    width: 30%;
    position: relative;
    padding-right: 5%;
    float: right;
}


section #body-content-contact {
    width: 25%;
    position: reFF;
}

#sidebar a {
    display: block;
    margin-top: 10px;
}

#homeside h2 {
    font-family: 'Lato', Arial, sans-serif !important;
    font-size: 1.0em;
    line-height: 140%;
    font-style: italic;
    color: #FFF;
}

#homeside {
    background-color: #c0ac6c;
    padding: 20px;
    margin-bottom: 32px;
}

#homeside p {
    margin-bottom: 0px;
    color: #FFF;
}

.fullside {
    background-color: #c0ac6c;
    padding: 20px;
}

.fullside p {
    margin-bottom: 0px;
    color: #FFF;
}

.fullside h2 {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 1.0em;
    line-height: 140%;
    color: #FFF;
}

.sidedivider {
    position: relative;
    width: 100%;
    margin: 0px 0px 20px 0px;
    border-bottom: solid 1px #494848;
}

.bio {
    margin: 30px 0px 50px 0px;
    display: block;
}

.news {
    margin: 30px 0px 50px 0px;
    display: block;
    font-size: 0.8em;
}

#interactive-map {
    display: block;
    width: 600px;
    height: 350px;
    float: left;
    margin-top: 25px;
    position: relative;
}

#map-info {
    width: 300px;
    padding: 0 0 0 60px;
    float: left;
    margin-top: -37px;
}

.map-points a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    background: #1f6fad;
    color: #fff;
    vertical-align: middle;
    text-align: center;
    line-height: 42px;
    font-size: 19px;
    position: absolute;
    text-decoration: none;
    padding: 2px;
    -webkit-transition: all 0.2s ease-in-out, padding 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out, padding 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out, padding 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out, padding 0.2s ease-in-out;
    transition: all 0.2s ease-in-out, padding 0.2s ease-in-out;
}

.map-points a:hover {
    padding: 4px;
    background: #0860a4;
    -webkit-transition: all 0.2s ease-in-out, padding 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out, padding 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out, padding 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out, padding 0.2s ease-in-out;
    transition: all 0.2s ease-in-out, padding 0.2s ease-in-out;
}

#map-NB {
    top: 220px;
    right: 140px;
}

#map-QC {
    top: 175px;
    right: 200px;
}

#map-ON {
    top: 210px;
    right: 290px;
}

#map-AB {
    top: 120px;
    left: 90px;
}

#map-BC {
    top: 130px;
    left: 25px;
}

.provinces-chart {
    width: 100%;
}

.provinces-chart td {
    width: 50%;
    color: #1f6fad;
    font-size: 18px;
}

.provinces-chart td p {
    margin: 0;
    padding: 10px 0;
}

.provinces-chart td:nth-child(2) {
    text-align: right;
}

.provinces-chart tr {
    border-bottom: 1px solid #e1e1e1;
}

.provinces-chart tr:first-child {
    border-bottom: none;
}


#portfolio-table {
    width: 95%;
    height: auto;
    float: left;
    margin-top: 35px;
    margin-bottom: 40px;
}

#portfolio-table .sm-header-cell {
    width: 17%;
}

#portfolio-table .sm-cell {
    width: 9%;
    margin-right: 5%
}

.portfolio-header-cell {
    display: block;
    width: 25%;
    height: 40px;
    float: left;
    color: #0860a4;
}

.portfolio-header-row {
    clear: left;
    display: block;
    width: 100%;
    height: 32px;
    background-image: url(../images/portfolio-row-bg.gif);
    background-repeat: repeat-x;
    color: #c0ac6c;
    padding-top: 6px;
}

.portfolio-cell {
    width: 19%;
    margin-right: 3%;
    font-size: 0.9em;
    min-height: 84px;
    float: left;
    padding-top: 25px;
    margin-bottom: 10px;
}

.portfolio-cell img {
    margin-top: -15px;
}

.portfolio-cell.lrg {
    width: 45%;
    margin-right: 0px;
    clear: both;
}

.portfolio-cell a,
.portfolio-cell img {
    vertical-align: top;
    display: inline-block;
}

.portfolio-cell img {
    margin-right: 35px;
}

.last {
    margin-right: 0;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}



/* Footer */


footer {
    height: 117px;
    background: url(../images/footer.jpg) top left repeat-x;
    vertical-align: middle;
}


footer,
.push {
    height: 117px;
    clear: both;
}

#footer-main-nav {
    margin: 0 auto;
    padding: 55px 0 0 30px;
    max-width: 1122px;
}

#footer-main-nav ul {
    position: relative;
}

#footer-main-nav ul li,
ul a,
#footer-main-nav a {
    color: #FFF;
    text-decoration: none;
    padding-left: 20px;
    font-size: 14px;
    display: inline;
    font-weight: lighter;
}

#footer-main-nav ul li a:hover {
    text-decoration: underline;
}

.footlogo {
    margin-bottom: -5px;
}

@media print {

    header,
    footer,
    #bg-image,
    #footer-wrapper,
    nav,
    .headshot,
    div#sidebar {
        display: none;
    }

    body {
        font: 12pt "Times New Roman", Times, serif;
    }

    img {
        max-width: 500px;
    }

    @page :left {
        margin: 0.5cm;
    }

    @page :right {
        margin: 0.8cm;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 20px;
    }

    p a:after {
        content: " ("attr(href) ")";
        font-size: 80%;
    }

    p a[href^="http://"]:after {
        content: " ("attr(href) ")";
        font-size: 90%;
    }

}