﻿/*css for responsive*/
#LoginPanel ul li .registrationLinks {
    font-size: 13px;
    font-weight: 400 !important;
}

.mds-site-navigation {
    /*height: 36px;*/
}

.blueBtn a {
    padding-top: 10px;
}

.adwrapper {
    width: 100%;
    height: 100%;
    max-width: 963px;
    max-height: 90px;
    margin: 0 auto;
    background: #ffffff
}

.ratio {
    display: block;
    width: 100%;
    height: auto;
}

#premiumWarapperText {
    display: none;
    margin-right: 28px;
    margin-top: 35px;
    font-size: 14px;
    background-color: #5050cc;
    color: white;
    clear: both;
}

#premiumWrapper2 {
    margin-top: 52px;
    height: 18px;
    width: 100%;
    display: none;
    clear: both;
    text-align: center;
}

#premiumWrapper3 {
    margin-top: 22px;
    height: 18px;
    width: 100%;
    display: none;
    clear: both;
    text-align: center;
}

#premiumWarapperText2 {
    display: block;
    font-size: 14px;
    background-color: #5050cc;
    color: white;
}

#premiumWarapperLogo {
    clear: both;
    display: block;
}

#LoginPanel ul li {
    float: left;
    width: auto;
}

.LayerHeader2 {
    position: fixed;
    top: 0;
    z-index: 100;
    left: 0px;
    right: 0px;
    margin-left: auto;
    margin-right: auto;
    background-color: #FDFDFD;
    border-width: 0px;
    padding: 0px 18px 0px 18px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

#searchpanel {
    margin-top: -35px;
    width: 350px;
}

#Logo {
    margin-top: 5px;
}

.menu-button button {
    display: none;
}

.mds-search-field__input {
    font-size: 12px;
}

.ac_results {
    position: absolute !important;
}

#lnkLoginImgUser {
    clear: both;
    display: none;
}

/*footer*/
.f_Ads {
    height: auto;
}

.ac_loading {
    background: white url('../images/indicator.gif') right center no-repeat !important;
}

.mds-search-field__input {
    /*font-family: Verdana, Arial, Helvetica, sans-serif;*/
}

@media screen and (max-width:1000px) {
    #ad2 {
        visibility: hidden;
        clear: both;
        float: left;
        margin: 10px auto 5px 20px;
        width: 28%;
        display: none;
    }
    /*footer*/
    .f_Ads img {
        width: 100%;
        height: 100%;
    }

    .f_Ads_col1 {
        visibility: hidden;
        width: 0;
        clear: both;
        display: none;
    }

    #Greeter {
        visibility: hidden;
        clear: both;
        display: block;
    }

    #searchpanel {
        left: 300px !important;
    }
}

/*
        1280 resolution
        1200px<resolution
    */
@media screen and (max-width:1200px) {
    .copyrightfooter {
        padding: 0px 0px 0px 0px;
    }
}

/*
        1100 resolution
        resolution<959px
    */
@media screen and (max-width: 959px) {
    /*landingpage*/
    #content {
        width: 100% !important;
        padding: 0 !important;
    }

    #videoplayerLandingPage {
        width: 100% !important;
        height: auto !important;
        padding-bottom: 56%;
    }

    .videodesc {
        width: 100% !important;
    }
    /*landingpage*/
    .mds-search-field__input {
        font-size: 14px;
    }

    #Navbar {
        clear: both;
        display: none;
    }

    #Tabbase {
        clear: both;
        display: none;
    }

    #Header {
        height: 95px;
        border-bottom: 1px solid #999;
    }

    #searchpanel {
        float: left;
        left: 50% !important;
        margin-left: -125px;
        margin-top: 5px;
    }

    #premiumWarapperLogo {
        display: none;
    }

    #premiumWarapperText {
        clear: both;
        display: block;
    }

    #_companySite1 {
        clear: both;
        display: none;
    }

    #lnkSignupNew {
        clear: both;
        display: none;
    }

    #Logo {
        float: left;
        left: 50%;
        margin-left: -95px;
        margin-top: 0px;
    }

    #adcontainsm {
        border-top: 0px;
    }

    .column {
        max-width: 100%;
        width: 100%;
    }

    #LayerMainContent {
        padding-right: 9px;
    }

    /* [EURET-3688] landingpage */
    .featuresection ul li {
        width: 100% !important;
        margin-right: 23px !important;
    }

    /* [EURET-3688] landingpage */
    #videoplayer {
        width: 100% !important;
        height: auto !important;
        padding-bottom: 56%;
    }

    /* [EURET-3688] landingpage */
    .videodesc ul {
        position: unset !important;
    }

        /* [EURET-3688] landingpage */
        .videodesc ul li {
            padding-bottom: 10px !important;
        }

            /* [EURET-3688] landingpage */
            .videodesc ul li div {
                margin: auto;
            }

    /* [EURET-3688] landingpage */
    #LandingPageImageRVP {
        width: 100% !important;
        height: auto !important;
    }
}

/*
         resolution
        resolution<767px
    */
@media screen and (max-width: 767px) {
    .ac_results {
        width: 100% !important;
        left: 0px !important;
        margin-left: 0px;
        /*top: 87px !important;*/
    }

    #LayerHeader {
        padding: 0;
    }

    #adcontainsm {
        padding-bottom: 12%;
        height: 0px !important;
    }

    #ad1 {
        max-width: 728px !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 0 0 0px;
    }

    #adcontainsm img {
        height: 100% !important;
    }

    #adcontainsm ins {
        width: 100% !important;
        height: auto !important;
    }

    #adcontainsm div {
        width: 100% !important;
        height: auto !important;
    }

    #adcontainsm .dcmads {
        width: 100% !important;
        height: auto !important;
    }


    .menu-button button {
        display: block;
    }

    #registrationLinks {
        background: url();
    }

    #LoginPanel ul li .registrationLinks {
        border-left: 0px solid #ccc;
        padding-left: 0px;
    }
    /*footer*/
    .f_leaderad {
        border: 0px;
        height: 0px;
        padding-bottom: 12%;
    }

    .f_Ads {
        padding-top: 0px;
        padding-bottom: 12%;
        height: 0px !important;
    }

    .f_Ads_row1 {
        height: 0px;
        padding-bottom: 12%;
    }

    .column {
        max-width: 100%;
        width: 100%;
    }

    #LoginPanel {
        margin-right: 36px;
    }

    #_langToggle {
        display: none;
    }
}

/*
        1100 resolution
        960px<resolution<1199px
    */
@media screen and (min-width: 960px) and (max-width: 1199px) {
}

/*
        880 resolution
        768px<resolution<959px
    */
@media screen and (min-width: 768px) and (max-width: 959px) {
}

/*
        720 resolution
        480px<resolution<767px
    */
@media only screen and (min-width: 480px) and (max-width: 767px) {
}

/*
        600 resolution
        resolution<600px
    */
@media only screen and (max-width: 600px) {
    /*#lnkSignup {
        clear: both;
        display: none;
    }*/

    /*#lnkMyAccount {
        clear: both;
        display: none;
    }*/

    /*#lnkLogin {
        clear: both;
        display: none;
    }*/

    /*#lnkLogout {
        clear: both;
        display: none;
    }*/

    /*#lnkLoginImgUser {
        clear: both;
        display: block;
    }*/

    /*#lnkLoginNew {
        clear: both;
        display: none;
    }*/

    #premiumWarapperText {
        clear: both;
        display: none;
    }

    #premiumWrapper2 {
        clear: both;
        display: block;
    }

    #premiumWrapper3 {
        clear: both;
        display: block;
    }

    #Header {
        height: inherit;
    }

    .signUpPopupContentCss {
        width: 288px !important;
        height: 506px !important;
    }

        .signUpPopupContentCss #frameContainer {
            height: 500px;
        }

    .loginPopupContentCss {
        width: 288px !important;
    }

        .loginPopupContentCss #frameContainer {
            width: 288px !important;
        }

    .signUpPopupContentCss #dialog-content {
        padding: 0px !important;
    }

    #LoginPanel {
        margin-right: 20px;
    }

        #LoginPanel #lnkSignupNew .mds-button.mds-button--secondary {
            font-size: 9px;
        }
}

/*
        440 resolution
        resolution<479px
    */
@media only screen and (max-width: 479px) {
    .mds-search-field__input {
        font-size: 12px;
    }

    .column {
        float: none;
    }

    .topBox {
        margin: 0 0 0px 0px;
    }

    .box,
    .boxLast,
    .boxTopBorder {
        margin: 0 0 10px 0px;
        width: 100%;
    }

    .title_b1 {
        text-align: left;
    }

    .newsItemRow1 {
        text-align: left;
    }

    .qualTitleCol {
        text-align: left;
    }

    .gmbIframe {
        width: 100%;
    }

    #Header {
        height: inherit;
        min-height: 68px;
    }

    #Logo {
        top: -2px;
        margin-left: -65px;
        width: 120px !important;
    }

    #searchpanel {
        margin-top: -10px;
    }

    #morningstarLogo img {
        width: 120px;
    }

    #premiumWrapper2 {
        margin-top: 35px;
        height: 15px;
    }

    #premiumWrapper3 {
        height: 0px;
    }

    #premiumWarapperText2 {
        font-size: 12px;
    }

    #LayerMainContent {
        padding-left: 6px;
        padding-right: 6px;
    }

    .copyrightfooter {
        padding: 10px 6px 10px 6px;
    }

    .F10alt3 {
        padding-left: 6px;
        padding-right: 6px;
    }

    #adcontainsm div {
        margin: auto;
    }
}


/*
        375 resolutiong
        resolution<375px
    */
@media only screen and (max-width: 375px) {

    #searchpanel {
        margin-left: -105px;
        width: 200px;
    }

    .mds-search-field__input {
        width: 200px;
    }
}

@media only screen and (max-width: 1148px) {

    #searchpanel {
        width: 250px;
        height: 35px;
    }
}
/*
    footer
*/
#_footer, #_disclaimerDiv, #_disclaimerDiv a {
    font-size: 14px !important;
}


/*grid style*/
.gridItem, .gridItemNoBack, .gridAlternateItem, .gridAlternateItem.gridHeader, .gridHeader, .gridFooter, .gridHeaderText, .gridHeaderText a, .gridHeaderFixedText, .gridHeaderFixedText a, .gridHeaderNumeric, .gridHeaderNumeric a, .msData, .msDataBold, .msDataNumeric, .msDataText, .msDataText a, .msDataTextSpace, .msDataTextBorderTop, .msDomesticPrefix, .msForeignPrefix, .portfolioGridHeaderText, .portfolio_addHoldingHeaderText, .portfolioGridHeaderTextRight, .portfolioNewsGridHeaderText, .portfolioGridHeaderText a, .portfolio_addHoldingHeaderText a, .watchlistGridHeaderText, .watchlistGridHeaderText, .watchlistGridHeaderText a {
    font-family: UniversNextMorningStarW04, Univers, HelveticaNeue, "Helvetica Neue", Helvetica, PingFangTC, "Microsoft JhengHei", Arial, sans-serif !important;
    font-size: 13px;
}

/*portfolio*/
.portfolio_addHoldingTitle, .portfolio_newsTitle {
    font-size: 13px;
}

.B2MostReadLastWeek, .B2MostReadLastWeek1 {
    font-size: 12px;
}

#ctl00_ctl00_MainContent_MostReadLastWeek_ReadMoreLink {
    font-size: 13px !important;
}

.EditActionBar {
    float: left;
    margin-top: 4px;
}

.ms_titlebar_title h2, .portfolioName, .textbox, .dropdownlist, .ms_text_bold, .portfolioListDropdown, .holdingDropDownList, .addHolding_holding_textbox, .holding_textbox, .type_dropdownlist, .shares_textbox, .SecId_DropDownList, .date_textbox, .distribution_textbox, .price_textbox, .commission_textbox, .rate_textbox, .rate_textbox, .ms_text, .amount_textbox, .currency_dropdownlist, .frequency_dropdownlist, .ms_button {
    font-family: UniversNextMorningStarW04, Univers, HelveticaNeue, "Helvetica Neue", Helvetica, PingFangTC, "Microsoft JhengHei", Arial, sans-serif !important;
    font-size: 14px !important;
}
.ms_label {
    font-size: 14px;
    font-weight: bold;
}