
@media all and (max-width: 550px) {
    .hrw-menu > li {
        border: none;
    /*    float: right;*/
    }
   /* .hrw-menu > li.mobile-clear { clear: both; }*/
    .hrw-menu {
        margin-top: 15px;
        margin-left:auto;
        text-align: right;
    }
}

@media all and (max-width: 480px) {
    footer > .row {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
    /* Prices & Performance begin
    --------------------------------*/
    
    .carousel-caption-with-fund-manager-finder {
        height: inherit;
    }
    .carousel-caption-with-fund-manager-finder .btnContainer button {
        width: 100% !important;
    }
    
    .carousel-caption-with-fund-manager-finder .btnContainer a {
        display: none !important;
    }
    
     .carousel-caption a{text-decoration:none;}
     .carousel-control {
        left: -50px;
    }
    .carousel-control.left {
        right: -50px;
    }
     .carousel-control.right {
        right: -50px;
    }
    .carousel-inner {
        width: 100%;
    }
    .carousel-inner .item img {
        position:absolute;
    }
    .tools-calculators__promo .carousel-inner {
        margin-left: 0 !important;
    }
    .tools-calculators__promo .well {
        padding-top: 0;
    }
    .tools-calculators__promo button {
        margin-top: 8px;
    }
    
    #header_widget{
        height: 65px;
    }
    .hrw-menu {
        margin-top: 50px;
        margin-left:auto;
        text-align: right;
    }
    .hrw-menu .dropdown {
        margin-bottom: 5px;
    }
    .hrw-menu > li {
        border: none;
       /* float: right;*/
        padding-left: 0px;
        margin-left: 0px;
    }
    .hrw-menu > li.mobile-border {
        border-right: 1px solid #fff;
        padding-right: 7px;
        margin-right: 7px;
    }
    /*.hrw-menu > li.mobile-clear {
        clear: both;
    }*/
    .separatorWithFooter{height:80px;}
    .my_bookmarks_table {
        max-width: 480px !important;
    }    
    /* Fund Detail - Portfolio - Major Fund Holdings template - begin */
    div#totals {
        width: 94%;
        margin-left: 10px;
        margin-top: 0;
    }
    div#equity,
    div#fixed_income {
        display: block;
        clear: both;
        float: left;
        width: 100%;
        height: 100px;
        border-bottom: solid 1px #cfd4d8;
        margin-top: 0px;
    }
    div#totals div dfn {
        display: inline-block;
        float: left;
        margin-top: 15px;
    }
    div#totals div span {
        display: inline-block;
        position: absolute;
        top: 0px;
        right: -4px;
        border: none;
        margin: 0;
        padding: 0;
        font-size: 86px;
        line-height: normal;
    }
    div#totals div .fourDigit{
        font-size:65px;
        line-height: 95px;
        right: -3px;
    }
    .module.fund-major-holdings table {
        width: 95%;
        margin: 30px 0 20px 10px;
        float: left;
    }
}
.lbcPartner #mackLogo, .mdPartner #mackLogo {
    display: none;
}
#partnerLogo img { width: 70%; }
@media all and (max-width: 479px) {
    
}
@media all and (max-width: 568px) {
    .mdPartner #partnerLogo img { width: 85%;}
    .mdPartner #partnerLogo img.md {
        margin-top: -12px;
    }

    #mackLogo-mobile{
        width: 165px;
        position: relative;
        top: 19px;
        display: block;
    }

    #mackLogo img {
        /* position: absolute; */
        width: 290px;
        height: auto;
        /* overflow: hidden; */
        z-index: 0;
        margin-left: 84px;
        position: relative;
    }

    #mackLogo #zt {
        width: 280px;
        height: auto;
        z-index: 0;
        margin-left: 84px;
        position: relative;
    }

    html[lang="fr-CA"] #mackLogo {
        width: 325px;
    }

    #mackLogo {
        display: block;
        height: auto;
        top: 16px;
        width: 296px;
        position: absolute;
        float: left;
        z-index: 1;
        overflow: hidden;
        margin-left: -83px;
    }

     html[lang='zh-CN'] #mackLogo {
        width: 305px;
    }

    #partnerLogo { left: 0; }

    .hrw-menu li.dropdown.open{
        min-width: 120px;
        max-width: 205px;
    }
}
@media all and (min-width: 480px) {
    .lbcPartner #mackLogo{
        display: block;
        width: 320px;
        height: 53px;
        top: 18px;
    }
    .mdPartner #mackLogo {
        top:26px;
        display: block;
        width: 320px;
    }
    .lbcPartner #mackLogo img { 
        width: 75%;
        display: block;
    }
    .mdPartner #mackLogo img { 
        width: 75%;
        display:block;
    }
    .mdPartner #partnerLogo img.md {
        margin-top: -10px;
    }
    .lbcPartner #partnerLogo img{ width: 80%;}
    .lbcPartner #partnerLogo { left: 155px; }
    .mdPartner #partnerLogo { left: 155px; }
}
@media all and (min-width: 568px) {
    .lbcPartner #partnerLogo {
        left: 260px;
        top: 11px;
    }
    .lbcPartner #partnerLogo img{ 
        width: 85%;
    }
    .lbcPartner #mackLogo img {
        width: 74%;
        display: block;
    }
    .mdPartner #partnerLogo { 
        left: 277px;
    }
    .mdPartner #partnerLogo img{ 
        width: 90%;
    }
    .mdPartner #mackLogo img,
    html[lang='fr-CA'] .lbcPartner #mackLogo img,
    html[lang='fr-CA'] .mdPartner #mackLogo img  { 
        width: 80%;
        display: block;
    }
    #header_widget{
        height: 75px;
    }
}

@media screen and (min-width: 568px) and (max-width:568px){
    html[lang="fr-CA"] #mackLogo {
        width: 315px;
    }

    html[lang="fr-CA"] #mackLogo img{
        width: 280px;
    }
}

@media screen and (min-width:640px) and (max-width:736px){
    #mackLogo,
    html[lang="fr-CA"] #mackLogo {
        width: 300px;
    }
}

@media all and (min-width: 768px) {
    .lbcPartner #mackLogo img, .mdPartner #mackLogo img { width: 100%; }
    .lbcPartner #partnerLogo img, .mdPartner #partnerLogo img { width: 100%;}
    .lbcPartner #partnerLogo, .mdPartner #partnerLogo {
        left: 358px;
        top: 11px; 
    }
    .mdPartner #partnerLogo{
        top:17px;
    }
    .mdPartner #partnerLogo img.md {
        margin-top: -12px;
    }
}

@media screen and (min-width:768px) and (max-width:768px){
    html[lang="en-CA"] #mackLogo{
        width: 400px;
        top: 18px;
    }

    html[lang="en-CA"] .mdPartner #mackLogo{
        top: 23px;
     }

     html[lang="fr-CA"] .mdPartner #mackLogo{
        width:400px!important;
        top: 23px;
     }
     html[lang="fr-CA"] .lbcPartner #mackLogo{
        width:400px!important;
     }

    .lbcPartner #partnerLogo, .mdPartner #partnerLogo {
        left: 357px;
    }

    .lbcPartner #mackLogo img, .mdPartner #mackLogo img { width: 80%; }
}

@media screen and (max-width: 320px){
    #mackLogo img {
        width: 267px;
    }


    #mackLogo #zt {
        width: 256px;
    }

    #mackLogo {
        width: 275px;
    }

    html[lang="fr-CA"] #mackLogo{
        width:275px;
    }

    html[lang="fr-CA"] #mackLogo img{
        width:233px;
    }

    html[lang="zh-CN"] #mackLogo{
        width: 285px;
    }

}