﻿.mectrl_resetStyle, a.mectrl_resetStyle, button.mectrl_resetStyle {
    height: auto;
    min-width: auto;
    min-height: auto;
    border-style: none;
    border-width: 0;
    padding: 0;
    margin: 0;
    outline-style: none !important;
    background-color: transparent;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
}

.mectrl_body {
    text-align: left;
    color: #333;
    background-color: #fff
}

    .mectrl_body a {
        color: #333
    }

    .mectrl_body button {
        color: #333
    }

.mectrl_company {
    padding-left: 14px;
    padding-right: 14px;
    font-size: 13px
}

#mectrl_currentAccount_picture {
    display: block;
    border-radius: 50%;
    overflow: hidden;
    width: 88px;
    height: 88px;
    margin-left: 16px;
    margin-right: 20px;
    margin-top: 20px;
    margin-bottom: 20px
}

.mectrl_currentAccount {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto 1fr auto;
    grid-template-columns: auto 1fr auto;
    -ms-grid-rows: 48px auto;
    grid-template-rows: 48px auto
}

    .mectrl_currentAccount > * {
        display: block;
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center
    }

    .mectrl_currentAccount .mectrl_company {
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        grid-row: 1/2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        grid-column: 1/2
    }

    .mectrl_currentAccount .mectrl_signout {
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        grid-row: 1/2;
        -ms-grid-column: 3;
        -ms-grid-column-span: 1;
        grid-column: 3/4;
        font-size: 13px;
        padding: 16px 14px
    }

    .mectrl_currentAccount .mectrl_accountInfo {
        min-height: 132px;
        width: 100%;
        -ms-grid-row: 2;
        -ms-grid-row-span: 1;
        grid-row: 2/3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
        grid-column: 1/4;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }

        .mectrl_currentAccount .mectrl_accountInfo .mectrl_accountDetails {
            font-size: 13px;
            -webkit-box-flex: 1;
            -ms-flex-positive: 1;
            flex-grow: 1;
            min-width: 0;
            width: 0;
            padding-right: 12px
        }

            .mectrl_currentAccount .mectrl_accountInfo .mectrl_accountDetails > * {
                padding: 1px
            }

            .mectrl_currentAccount .mectrl_accountInfo .mectrl_accountDetails > :nth-child(2) {
                margin-top: 3px;
                font-size: 13px
            }

            .mectrl_currentAccount .mectrl_accountInfo .mectrl_accountDetails > :not(:nth-child(2)) {
                margin-top: 4px
            }

            .mectrl_currentAccount .mectrl_accountInfo .mectrl_accountDetails > :first-child {
                margin-top: 0
            }

            .mectrl_currentAccount .mectrl_accountInfo .mectrl_accountDetails > :last-child {
                padding: 0
            }

        .mectrl_currentAccount .mectrl_accountInfo .mectrl_name {
            font-size: 18px;
            font-weight: 700
        }

    .mectrl_currentAccount a.mectrl_signout, .mectrl_currentAccount a.mectrl_signout:focus, .mectrl_currentAccount button.mectrl_signout, .mectrl_currentAccount button.mectrl_signout:focus {
        color: #333;
        background-color: #fff
    }

        .mectrl_currentAccount a.mectrl_signout:hover, .mectrl_currentAccount button.mectrl_signout:hover {
            color: inherit;
            background-color: rgba(0,0,0,.08);
        }

.mectrl_scrollShadow {
    background: -webkit-gradient(linear,left top,left bottom,color-stop(50%,#fff),to(rgba(255,255,255,0))),-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(0,0,0,.44)),color-stop(40%,rgba(0,0,0,.16)),to(rgba(0,0,0,0)));
    background: linear-gradient(#fff 50%,rgba(255,255,255,0)),linear-gradient(rgba(0,0,0,.44) 0,rgba(0,0,0,.16) 40%,rgba(0,0,0,0) 100%);
    background-repeat: no-repeat;
    background-size: 100% 12px,100% 6px;
    background-attachment: local,scroll
}

div.mectrl_accountList_container {
    overflow: auto;
    max-height: 270px
}

ul.mectrl_accountList {
    list-style: none;
    margin: 0;
    padding: 0
}

div.mectrl_accountList_container {
    border-top: 1px solid rgba(0,0,0,.08)
}

.mectrl_signout {
    float: right;
}
