﻿/*colors*/
:root {
   
}

#m_global_wrapper .container-xl,
#m_global_wrapper .container
{
    max-width: 1280px;
}

#m_global_header {
    border-bottom: none;
}

#m_global_header,
div.m_footer {
    background-color: #1d1d1d;
    min-height:3.6rem;
}

.nav-logo,
div.m_home a,
div.m_bdt a {
    height: 30px;
    width: 150px;
    background-image: url('/images/global_header_bdt.png');
}

#m_content_wrapper {
    min-height: calc(100vh - 10rem);
}

.bar {
    background-color: #b4b4b4;
}

a.nav-link {
    padding: 0.75rem 1rem 0.5rem 1rem;
}

a.nav-login,
a.nav-logoff {
    margin-left: auto;
    color: #58595b;
    height: 30px;
    width: 60px;
    background-position: 0px 0px;
    background-repeat: no-repeat;
    text-indent: -9999px;
}

a.nav-login {
    background-image: url('/images/global/login.png');
}

a.nav-logoff {
    background-image: url('/images/global/logoff.png');
}

    a.nav-login:hover,
    a.nav-logoff:hover {
        color: #b4b4b4;
        background-position: 0px bottom;
    }

a.nav-link,
a.nav-link:link,
a.nav-link:visited {
    color: #b4b4b4;
    text-decoration: none;
}

    a.nav-link:hover {
        color: #E00;
        /*text-decoration: underline;*/
    }

#me-content-wrapper {
    background: #fff;
    background-image: url(/images/global/content_bg_gradient_at_top.gif);
    background-repeat: repeat-x;
    padding: 0 0 6rem 0;
    height: 100%;
    min-height: calc(100vh - 200px);
}

header ul.nav-menu.active {
    padding-top: 1px;
}

#btn-back-to-top {
    position: fixed !important;
    bottom: 20px;
    right: 20px !important;
    width: 48px;
    height: 48px;
    background-color: #0077b6;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    z-index: 998;
}

    #btn-back-to-top.show {
        opacity: 1;
        visibility: visible;
    }

    #btn-back-to-top:hover {
        background-color: #005f8e;
    }

    #btn-back-to-top i {
        font-size: 18px;
    }

    #btn-back-to-top:focus {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

    #btn-back-to-top.at-bottom {
    }

@media only screen and (max-width: 768px) {
    ul.nav-menu.active a.nav-link,
    ul.nav-menu.active a.nav-link:link,
    ul.nav-menu.active a.nav-link:visited,
    ul.nav-menu.active a.nav-link:hover {
        color: #58595b;
    }

    #btn-back-to-top {
        bottom: 10px;
        right: 10px !important;
    }

        #btn-back-to-top i {
            font-size: 16px;
        }

        #btn-back-to-top.at-bottom {
        }

    .pagewidth {
        width: 100%;
    }

}

div.m_footer_nav {
    margin-right: 0;
}

.footer,
.footer a:link,
.footer a:visited {
    color: #b4b4b4;
    text-decoration: none;
}

    .footer a:hover {
        color: #b4b4b4;
        text-decoration: underline;
    }


/*  BDT EXTRAS - old styles: PT */
@media only screen and (max-width: 500px) {
    .flex-xs-column-reverse {
        flex-direction: column-reverse !important;
    }
}

.sub-navbar-wrapper {
    display:none;
    border-top: 1px solid #4c4c4c;
    background-color: #1d1d1d;
    min-height: 2.5rem;
}

.sub-navbar {
    font-size: 0.65rem;
    color: #484848;
    line-height: .8rem;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 0;
    z-index: 1;
    color: #b4b4b4;
}

    .sub-navbar a,
    .sub-navbar a:link,
    .sub-navbar a:visited {
        color: #E00;
        text-decoration: none;
        white-space: nowrap;
        margin: 0.3rem;
        display: inline-flex;
        color: #000000;
        border: 1px solid #bbbbbb;
        text-decoration: none;
        padding: 0.3rem;
        height: 100%;
        min-width: 20px;
        width: auto;
        line-height: 1.2rem;
        text-align: center;
        background: #e3e3e3;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee');
        background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));
        background: -webkit-linear-gradient(top, #ffffff, #eeeeee);
        background: -moz-linear-gradient(top, #ffffff, #eeeeee);
        background: -ms-linear-gradient(top, #ffffff, #eeeeee);
        background: -o-linear-gradient(top, #ffffff, #eeeeee);
        background: linear-gradient(top, #ffffff, #eeeeee);
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -ms-border-radius: 4px;
        -o-border-radius: 4px;
        border-radius: 4px;
    }

        .sub-navbar a:hover {
            color: #E00;
            /*text-decoration: underline;*/
        }


    .sub-navbar .nav-tab,
    .sub-navbar .nav-menu {
    }

    .sub-navbar .fa {
        margin-right: 0.25em;
    }

    .sub-navbar em {
        margin: 0.3rem;
        display: inline-block;
        color: #fff;
        padding: 0.25rem;
        height: 100%;
    }

    .sub-navbar .user {
        margin-left: auto;
    }

        .sub-navbar .user a,
        .sub-navbar .nav-tab a {
            white-space: nowrap;
            margin: 0.3rem;
            display: inline-block;
            color: #000000;
            border: 1px solid #bbbbbb;
            text-decoration: none;
            padding: 0.3rem;
            height: 100%;
            min-width: 20px;
            width: auto;
            line-height: 1.2rem;
            text-align: center;
            background: #e3e3e3;
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee');
            background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));
            background: -webkit-linear-gradient(top, #ffffff, #eeeeee);
            background: -moz-linear-gradient(top, #ffffff, #eeeeee);
            background: -ms-linear-gradient(top, #ffffff, #eeeeee);
            background: -o-linear-gradient(top, #ffffff, #eeeeee);
            background: linear-gradient(top, #ffffff, #eeeeee);
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            -ms-border-radius: 4px;
            -o-border-radius: 4px;
            border-radius: 4px;
        }

        .sub-navbar .user a {
            margin: 0.3rem 0 0.3rem 0.8rem;
        }


            .sub-navbar .user a.current,
            .sub-navbar .user a.current:hover,
            .sub-navbar .user a.current:focus {
                color: #e0e0e0;
                background: #3d3d3d;
            }

    .sub-navbar .nav-tab a.current,
    .sub-navbar .nav-tab a.current:hover,
    .sub-navbar .nav-tab a.current:focus {
        color: #E00;
        background: #fff;
        outline: none;
    }

    .sub-navbar .user a:hover, .sub-navbar .user a:focus, .nav-tab .user a:hover, .sub-navbar .nav-tab a:focus {
        color: #E00;
        background: #fff;
        outline: none;
    }

    .sub-navbar a.disabled {
        opacity: 0.6;
    }

    .sub-navbar div {
        display: inline-block;
    }

@supports (flex-wrap: wrap) {
    .sub-navbar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
}

#me-nav div.user {
    float: none;
}

#me-content {
    float: left;
    width: 100%;
    padding: 0 1rem;
    min-height: 1px;
}
/*.sub-navbar  div.user {
            float: none;
        }*/



