﻿body {
    background-color: #CCCCCC;
    background-image: url("images/bkg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.wrapper-container {
    width: 100%;
    padding-right: 0px;
    padding-left: 0px;
    margin-left: auto;
    margin-right: auto;
}



.body-content {
    min-height: 30em;
    margin-bottom: 5em;
    padding-bottom: 0.3em;
    background-color: white;
}

.menu_img {
    width: 90%;
}

.zh_font {
    font-size: 20px;
}

.pt_font {
    font-size: 18px;
}

.nav-background-color {
    background-color: gray;
}

ul {
    list-style: none;
}

nav ul {
    margin-right: 10px;
}

    nav ul li a {
        color: white;
        line-height: 2px;
    }

.w-90 {
    width: 90%;
}

#banner {
    /*width: calc(100% + 1px);*/
    width: calc(100%);
}

#banner_bottom {
    background-image: url('images/menubkg.png');
    background-repeat: round;
    height: 90px;
    margin-top: -1px;
}

@media (min-width: 1200px) {
    .wrapper-container {
        width: 1285px;
    }

    .body-width {
        width: 70%;
    }
}

@media (min-width: 992px) and (max-width:1200px) {
    .wrapper-container {
        max-width: 1200px;
    }

    .body-width {
        width: 70%;
    }
}

@media (min-width: 768px) and (max-width:992px) {
    .wrapper-container {
        max-width: 720px;
    }

    .body-width {
        width: 100%;
    }

    .zh_font {
        font-size: 18px;
    }

    .pt_font {
        font-size: 16px;
    }
}

@media (min-width: 576px) and (max-width:768px) {
    .wrapper-container {
        max-width: 540px;
    }

    .menu_img {
        width: 150px;
        margin-top: 10px;
    }

    .dropdown-content {
        position: relative !important;
        margin: auto !important;
    }

    .zh_font {
        font-size: 16px;
    }

    .pt_font {
        font-size: 14px;
    }

    .nav-item {
        flex: 1 1 auto !important;
    }
}

@media (max-width: 576px) {
    .dropdown-content {
        position: relative !important;
        margin: auto !important;
    }

    .menu_img {
        width: 150px;
        margin-top: 10px;
    }

    .zh_font {
        font-size: 16px;
    }

    .pt_font {
        font-size: 14px;
    }

    .nav-item {
        flex: 1 1 auto !important;
    }
}

.dropbtn {
    font-size: 16px;
    border: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    max-width: 175px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    margin-left: 5%;
}

    .dropdown-content a {
        color: #5e9d49;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        font-weight: bold;
    }

        .dropdown-content a:hover {
            background-color: #ddd;
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.grid-border {
    border: 2px solid #385d8a !important
}

.btn_icon {
    text-align: center;
    border-radius: 4px;
}

    .btn_icon:hover {
        background-color: rgba(32, 33, 36, .1);
    }

.fund_info_title {
    text-align: center;
    margin-top: 3em;
    margin-bottom: 1em;
}

.fund_info_img {
    max-width: 90%;
    height: auto;
}

.fund_intro_text {
    font-size: 1.2em;
    margin-top: 1.5em;
    padding: 1em;
    text-align: justify;
}

.fund_info_text {
    color: #AF4500;
    font-style: italic;
    font-size: 1.2em;
    margin-top: 2em;
    text-align: justify;
}

.fund_info_tab {
    width: 90%;
}

    .fund_info_tab thead {
        font-weight: bold;
        background-color: #C7B299;
        color: white !important;
        height: 3em;
    }

    .fund_info_tab tr:not(.tab-head) td:first-child {
        font-size: 1em;
        font-weight: bold;
        width: 10em;
        height: 3em;
        color: #AF4500;
        border-bottom: 1px solid lightgrey;
    }

    .fund_info_tab tr td:nth-child(n+2) {
        font-size: 1em;        
        font-weight: bold;
        border-bottom: 1px solid lightgrey;
        text-align: justify;
    }

.fund_info_tab2 {
    width: 90%;
}

    .fund_info_tab2 tr td {
        font-weight: bold;
        height: 3em;
        color: #AF4500;
        border-bottom: 1px solid lightgrey;
    }

.fund_perm_block {
    background-color: #FFEBCA;
    padding: 2em;
    height: auto;
}

    .fund_perm_block span {
        color: #AF4500;
        font-weight: bold;
    }

.fund_perm_full_block {
    background-color: #FCEEBB;
    padding: 2em;
    height: auto;
}

.fund_perm_reminder {
    font-size: 1.2em;
    color: #AF4500;
    font-weight: bold;
}

.accordion-button {
    color: white;
    font-weight: bold;
    background-color: #C7B299;
}

    .accordion-button::after {
        background-image: unset;
    }

    .accordion-button:not(.collapse) {
        color: white;
        background-color: #C7B299;
    }

        .accordion-button:not(.collapse)::after {
            background-image: unset;
        }

.fund_qna_tab {
    width: 100%;
    text-align: justify;
}

    .fund_qna_tab tr {
        line-height: 3em;
        border-bottom: 1px solid lightgrey;
    }
    .fund_qna_tab .table-responsive tr {
        line-height: 1.5em;
    }

.fund_qna_question {
    color: #AF4500;
    font-weight: bold;
}



#sidebar,
.sidebar-header {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#edf2c3+0,c6e9e9+100 */
    /*background: rgb(237,242,195);*/ /* Old browsers */
    /*background: -moz-linear-gradient(left, rgba(237,242,195,1) 0%, rgba(198,233,233,1) 100%);*/ /* FF3.6-15 */
    /*background: -webkit-linear-gradient(left, rgba(237,242,195,1) 0%,rgba(198,233,233,1) 100%);*/ /* Chrome10-25,Safari5.1-6 */
    /*background: linear-gradient(to right, rgba(237,242,195,1) 0%,rgba(198,233,233,1) 100%);*/ /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#edf2c3', endColorstr='#c6e9e9',GradientType=1 );*/ /* IE6-9 */
    background-color: rgb(230,230,230)
}

#sidebar {
    /*min-width: 300px;*/
    max-width: 420px;
    position: fixed;
    top: 0;
    left: -120vw;
    height: 100%;
    z-index: 999;
    color: #CCCCCC;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: rgba(0,0,0,0.8) 5px 5px 5px;
}

    #sidebar.active {
        left: 0;
    }

#left-menu-title {
    border: 5px solid white;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: white;
    text-align: center;
    line-height: 80px;
    height: 80px;
    max-width: 70%;
    padding-top: 12px;
    margin: 10px 10px 10px 0;
    box-shadow: rgba(0,0,0,0.5) 2px 2px 2px;
}

    #left-menu-title h4 {
        /*line-height:60px*/
    }

#dismiss {
    font-size: 1.5em;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

    #dismiss:hover {
        /*background: #fff;
        color: #2c8bb3;*/
        background: #378ac4;
        color: white;
    }

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

    .overlay.active {
        display: block;
        opacity: 1;
    }



.sidebar-header {
    padding: 20px;
}

#sidebar ul.components {
    /*    padding: 20px;*/
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding-left: 0.2em;
    font-size: 1.5em;
    display: block;
}

    #sidebar ul li a img {
        width: 180px;
        height: 42px;
    }

#sidebar ul li {
    border-top: solid 2px lightgrey;
}

    #sidebar ul li.active > a,
    a[aria-expanded="true"] {
        color: #fff;
        background: #2c8bb3;
    }

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #006d69;
}

ul.CTAs {
    padding: 20px;
}

    ul.CTAs a {
        text-align: center;
        font-size: 0.9em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px;
    }

a.download {
    background: #fff;
    color: #006d69;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

.highlight {
    font-weight: bold;
    color: #AF4500;
}

h5 {
    line-height: 1.5;
}
