/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body {background: #fff;color: #534932;line-height: 1.5;font-size: 16px;font-family: 'Roboto', Helvetica, Arial, sans-serif;font-weight: 300;}

input, textarea, select {font-size: 16px;font-family: 'Roboto', Helvetica, Arial, sans-serif;font-weight: 300;background: #fff;}
button {padding: 0 40px;height: 40px;line-height: 40px;background: #f47a63;border: 0;color: #fff;font-size:16px;font-family: 'Roboto', Helvetica, Arial, sans-serif;font-weight: 300;}
button:hover {background: #504530;}
a {color: #eb775c;}
a:hover {text-decoration: none;}

a.pdf {padding: 0 0 0 22px;background: url( '../img/ico-pdf.png' ) left center no-repeat;}

.alignleft {float: left;}
.alignright {float: right;}
.aligncenter {display: block;margin-left: auto;margin-right: auto;}

blockquote.alignleft,
figure.wp-caption.alignleft,
img.alignleft {margin: 7px 24px 7px 0;}

.wp-caption.alignleft {margin: 7px 14px 7px 0;}

blockquote.alignright,
figure.wp-caption.alignright,
img.alignright {margin: 7px 0 7px 24px;}

.wp-caption.alignright {margin: 7px 0 7px 14px;}

blockquote.aligncenter,
img.aligncenter,
.wp-caption.aligncenter {margin-top: 7px;margin-bottom: 7px;}

.wp-caption .wp-caption-text {display: block;margin: 5px 0 !important;line-height: 20px;font-size: 14px;text-align: center;}

img.alignleft,
img.alignright,
img.aligncenter {border: 1px solid #a59992;}

.ui-tooltip {font-size: 12px;color: #f47a63;border-radius: 0;box-shadow: none;}
.ui-tooltip,
.ui-tooltip .arrow:after {background: #fff;border: 1px solid #f7f7f7;}
.ui-tooltip .arrow {width: 70px;height: 18px;overflow: hidden;position: absolute;left: 50%;margin-left: -35px;bottom: -18px;}
.ui-tooltip .arrow.top {top: -16px;bottom: auto;}
.ui-tooltip .arrow.left {left: 20%;}
.ui-tooltip .arrow:after { content: "";position: absolute;left: 25px;top: -17px;width: 20px;height: 20px;-webkit-transform: rotate(45deg);-ms-transform: rotate(45deg);transform: rotate(45deg);}
.ui-tooltip .arrow.top:after {bottom: -17px;top: auto;}

.wrapper {margin: 0 auto;padding: 0 10px;width: 940px;}

.modal {display: none;}

.fancybox-overlay {background-image: url( '../img/bg-overlayer.png' );}
.fancybox-skin {background: #f7f7f7;border-radius: 0;}
.fancybox-opened .fancybox-skin {box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.3);}
.fancybox-close {width: 20px;height: 21px;top: 30px;right: 30px;background-image: url( '../img/bg-close.png' );}

.back-to-top {position: fixed;bottom: 180px;right: 50%;display: none;margin-right: -550px;cursor: pointer;}

#header {border-bottom: 7px solid #f47a63;font-family: 'Lato', Helvetica, Arial, sans-serif;}
#header .wrapper {position: relative;height: 125px;}
#header .logo {position: absolute;top: 36px;left: 22px;}
#header .menu-main-container {position: absolute;top: 78px;right: 10px;}
#header .menu-main-container ul,
#header .menu-main-container ul li {margin: 0;padding: 0;}
#header .menu-main-container ul li {display: inline-block;}
#header .menu-main-container a {margin: 0 0 0 30px;color: #534932;text-decoration: none;}
#header .menu-main-container a:hover {color: #eb775c;}

#footer {font-size: 14px;font-family: Helvetica, Arial, sans-serif;background: #ebe9e5;}
#footer .wrapper {position: relative;padding: 46px 0 0 0;height: 64px;}
#footer .menu-footer-container ul,
#footer .menu-footer-container ul li {margin: 0;padding: 0;}
#footer .menu-footer-container ul {text-align: right;}
#footer .menu-footer-container ul li {display: inline-block;}
#footer .menu-footer-container ul li:before {content: '|';}
#footer .menu-footer-container ul li:first-child:before {content: '';}
#footer .menu-footer-container a {margin: 0 10px;color: #534932;text-decoration: none;}
#footer .menu-footer-container a:hover {text-decoration: underline;}

.disclaimer-content {color: #504530;font-size: 12px;}
.disclaimer-content p {margin: 0;padding: 0;}
.disclaimer-content .title {margin: 12px 0;font-size: 18px;}
.disclaimer-content label {position: relative;display: block;margin: 16px 0 0 0;padding: 0 0 0 20px;}
.disclaimer-content label input {position: absolute;top: 3px;left: 0;}
.disclaimer-content .error {display: none;padding-top: 16px;text-align: center;color: #f47a63;font-weight: bold;}
.disclaimer-content .button-container {padding: 20px 0 0 0;text-align: center;}

.home #home {position: relative;height: 720px;background-repeat: no-repeat;background-position: center center;background-image: url( '../img/background.jpg' );-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.myBackground.jpg', sizingMethod='scale');-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='myBackground.jpg', sizingMethod='scale')";}
.home #home section {padding: 142px 0 0 0;}
.home #home section .article {float: left;display:block;margin: 0 0 0 20px;padding: 0 20px;width: 260px;height: 356px;text-align: center;text-decoration: none;background: #fff;border-bottom: 5px solid #f47a63;box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.3);overflow: hidden;}
.home #home section .article:first-child {margin: 0;}
.home #home section .article article p {margin: 12px 0 10px 0;height: 96px;color: #534932;font-size: 16px;overflow: hidden;}
.home #home section .article article .title {margin: 0;padding: 57px 0 17px 0;height: 72px;line-height: 36px;font-size: 30px;font-weight: 300;color: #ec7757;border-bottom: 1px solid #e5e5e5;overflow: hidden;}
.home #home section .article article .link {margin: 10px 0;color: #ec7757; text-decoration: underline;}
.home #home section .article:hover {background: #ec7757;border-bottom-color: #fff;}
.home #home section .article:hover article p,
.home #home section .article:hover article .title,
.home #home section .article:hover article .link {color: #fff;border-bottom-color: #f58873;}
.home #home .news {position: absolute;top:254px;right: 0;display: block;width: 40px;height: 166px;color: #fff;text-decoration: none;font-family: 'Lato', Helvetica, Arial, sans-serif;background: #ec7757;overflow: hidden;}
.home #home .news > div {width: 360px;height: 100%;}
.home #home .news p {margin: 0;padding: 0;height: 63px;font-size: 14px;overflow: hidden;}
.home #home .news .tab {float: left;width: 40px;height: 100%;}
.home #home .news .tab div {margin: 0 10px;width: 20px;height: 100%;background: url( '../img/bg-news.png' ) left center no-repeat;}
.home #home .news .content {float: right;padding: 26px 20px;width: 280px;height: 100%;}
.home #home .news .link {margin: 10px 0;text-decoration: underline;}
.home #home .news.over {width: 360px !important;-webkit-transition: all 0.5s;transition: all 0.5s;}
.home #home .news.over .tab {background: #fff;}
.home #home .news.over .tab div {background-position: center right;}

.home #home .scroll {display: none;margin: 10px auto;padding-top: 30px;width: 80px;height: 50px;background: #ec7757;cursor: pointer;}
.home #home .scroll div {height: 21px;background: url( '../img/bg-arrow-scroll.png' ) center top no-repeat;}
.home #home .scroll:hover {background: #fff;}
.home #home .scroll:hover div {background-position: center bottom;}

.home #intro {color: #fff;background: #ec7757;}
.home #intro .wrapper {padding: 40px 110px;width: 740px;}
.home #intro .title {margin: 0;padding: 0;line-height: 48px;font-size: 40px;font-weight: 300;}
.home #intro p {margin: 10px 0;}
.home #footer {background: #fff;}

#content .header {border-bottom: 1px solid #f3f2f0;}
#content .header .picture {height: 180px;background-repeat: no-repeat;background-position: center center;background-image: url( '../img/background.jpg' );-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.myBackground.jpg', sizingMethod='scale');-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='myBackground.jpg', sizingMethod='scale')";}
#content .header .breadcrumb {height: 38px;}
#content .header .breadcrumb span,
#content .header .breadcrumb a {display: inline-block;margin: 0;padding: 0;font-size: 14px;line-height: 38px;}
#content .header .breadcrumb > span > span:before {content: '/';margin: 0 10px 0 6px;}
#content .header .breadcrumb > span > span:first-child:before {content: '';margin: 0;}
#content .header .breadcrumb a {text-decoration: none;color: #534932;}
#content .header .breadcrumb a:hover {text-decoration: underline;}

#content .article h1 {margin: 44px 0 8px 0;line-height: 40px;font-size: 40px;font-weight: 300;}
#content .article h2 {margin: 20px 0;line-height: 30px;font-size: 30px;font-weight: bold;}
#content .article h3 {margin: 20px 0;line-height: 24px;font-size: 24px;font-weight: 300;}
#content .article h4 {margin: 20px 0;line-height: 18px;font-size: 18px;font-weight: bold;}
#content .article p {margin: 20px 0;}
#content .article img {max-width: 100%;height: auto;}
#content .article ul {margin: 20px 0;padding: 0;list-style: none;}
#content .article ul li {margin: 0;padding: 0 0 0 26px;background: url( '../img/bg-bullet.png' ) left 10px no-repeat;}
#content .article ul li ul {margin: 0;}
#content .article ul.ebony {margin: 20px 30px;}
#content .article ul.ebony li,
#content .article ul li ul li {background-image: url( '../img/bg-bullet-2.png' );}
#content .article table {width: 100%;}
#content .article table td {padding: 3px;}
#content .article table tbody tr:first-child {color: #f47a63;border-bottom: 1px solid #f47a63;background: transparent !important;}
#content .article table tbody tr:nth-child(odd) {background: #f7f7f7;}
#content .article .intro {margin-bottom: 34px;font-size: 24px;}
#content .article .alignnone {margin: 12px 0;}
#content .article .aligncenter {display: block;margin: 12px auto;}
#content .article .alignleft {float: left;margin: 12px 12px 12px 0;}
#content .article .alignright {float: right;margin: 12px 0 12px 12px;}

#content .article .article-title {margin-bottom: 10px;line-height: 35px;font-size: 30px;font-weight: 300;color: #f47a63;}
#content .article p.date {margin-top: 10px;padding: 0 0 0 16px;font-size: 14px;background: url( '../img/ico-clock.png' ) left center no-repeat;color: #9e9484;}

#content .article .location {margin: 50px 0 70px 0;height: 282px;background: #f7f7f7;overflow: hidden;}
#content .article .location img {float: left;}
#content .article .location p {margin: 27px 27px 27px 500px;font-size: 18px !important;}
#content .article .location p:first-child {margin-top: 30px;}
#content .article .location a {color: #534932;text-decoration: none;}
#content .article .location a:hover {text-decoration: underline;}
#content .article .location.text p {margin-left: 27px;}

#content .article .legend {float: right;padding: 0 20px 0 0;line-height: 20px;font-size: 14px;font-family: 'Lato', Helvetica, Arial, sans-serif;color: #9e8d70;}
#content .article .legend .left {float: left;margin: 0;padding: 0;width: 152px;}
#content .article .legend .right {float: right;width: 176px;background: url( '../img/bg-legend.png' ) 5px center no-repeat;}
#content .article .legend .right .top {padding-bottom: 12px;color: #f47a63;font-size: 12px;}
#content .article .legend .right .top .index {float: left;margin-right: 17px;}
#content .article .legend .right .top #index-1,
#content .article .legend .right .top #index-7 {position: relative;top: -3px;font-size: 18px;}
#content .article .legend .right .bottom {padding-right: 18px;}
#content .article .legend .right .bottom span {float: right;}
#content .article .legend .right .bottom span:first-child {float: left;}

#content .article .search-bar {margin: 30px 0 20px 0;padding: 15px 22px 0 22px;height: 45px;background: #f7f7f7;}
#content .article .search-bar .field {float: right;}
#content .article .search-bar .field:first-child {float: left;}
#content .article .search-bar label {font-size: 14px;margin-right: 8px;}
#content .article .search-bar input[type=text],
#content .article .search-bar select {border: 1px solid #e4e4e4;border-radius: 3px;}
#content .article .search-bar input[type=text] {padding: 0 30px 0 10px;width: 235px;height: 29px;line-height: 29px;background: #fff url( '../img/ico-search.png' ) 250px center no-repeat;}
#content .article .search-bar .reset {margin-left: 4px;}

#content .article .search-bar .selector {width: 238px !important;height: 29px;background: #fff;border: 1px solid #e4e4e4;border-radius: 3px;font-size: 16px;}
#content .article .search-bar .selector span {padding-right: 30px;width: 198px !important;height: 100%;line-height: 29px;background: transparent url( '../img/bg-select.png' ) right center no-repeat;}
#content .article .search-bar .selector select {top: 0;height: 100%;}

#content .article table.funds {table-layout: fixed;}
#content .article table.funds td {padding: 20px;}
#content .article table.funds td.category {width: 100px;}
#content .article table.funds td.risk {width: 84px;}
#content .article table.funds td.values {width: 110px;}
#content .article table.funds td.date {width: 90px;}
#content .article table.funds td.documents {position: relative;width: 105px;}
#content .article table.funds td.documents a {position: absolute; top: 32px;}
#content .article table.funds td.documents .prospectus {left: 47px;}
#content .article table.funds td.documents .monthly {left: 74px;}
#content .article table.funds td.documents .yearly {left: 101px;}
#content .article table.funds td.documents .dici {left: 20px;}
#content .article table.funds thead {color: #f47a63;border-bottom: 1px solid #f47a63;background: transparent !important;}
#content .article table.funds thead td {padding-top: 10px;padding-bottom: 10px;}
#content .article table.funds thead td a {text-decoration: none;}
#content .article table.funds thead td a i {position: relative;top: -2px;display: inline-block;margin-left: 6px;width: 11px;height: 7px;background: url( '../img/bg-sort.png' ) 0 0 no-repeat;}
#content .article table.funds thead td.desc a i {background-position: 0 -7px;}
#content .article table.funds tbody tr {color: #534932;border-bottom: none;}
#content .article table.funds tbody tr:nth-child(even) {background: #f7f7f7;}
#content .article table.funds tbody tr:nth-child(odd) {background: transparent;}
#content .article table.funds tbody td.label span {display: block;padding-top: 10px;font-size: 12px;color: #9e8d70;font-family: Helvetica, Arial, sans-serif;}
#content .article table.funds tbody td.risk {text-align: center;}
#content .article table.funds tbody td.values {text-align: right;}
#content .article table.funds tbody td.date {text-align: right;}
#content .article table.funds tbody td.documents a {display: inline-block;margin: 0 3px;width: 21px;height: 27px;text-align: center;background: url( '../img/bg-documents.png' ) 0 0 no-repeat;}
#content .article table.funds tbody td.documents a.monthly {background-position: 0 -27px;}
#content .article table.funds tbody td.documents a.yearly {background-position: 0 -54px;}
#content .article table.funds tbody tr:hover {background: #fdebe8 !important;}

#content .article .pagination {padding: 30px 0 50px 0;text-align: center;}
#content .article .pagination a {display: inline-block;padding: 0 25px 0 0;text-decoration: none;background: url( '../img/bg-more-arrow.png' ) right center no-repeat;}
#content .article .pagination a > span {display: inline-block;padding: 0 0 0 25px;background: url( '../img/bg-more-arrow.png' ) left center no-repeat;}

#content .sidebar {float: right;padding: 32px 0 0 0;width: 220px;}
#content .sidebar .title {margin: 24px 0 10px 0;padding: 0 30px;line-height: 29px;font-size: 24px;}
#content .sidebar ul {padding: 0;margin: 0;list-style: none;}
#content .sidebar ul li {padding: 0 30px;font-size: 14px;color: #9e9484;border-bottom: 1px solid #dcdad6;}
#content .sidebar ul li a {text-decoration: none;}
#content .sidebar ul li p {margin: 9px 0;}
#content .sidebar ul li p.date {margin: 9px 0 16px 0;padding: 0 0 0 16px;background: url( '../img/ico-clock.png' ) left center no-repeat;}

.single #content .article {float: left;width: 640px;}
.page-template-page-contact-php #content .article article p {font-size: 24px;}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
