﻿header {
    display: block;
    height: 80px;
    overflow: hidden;
    background-color: #FFFFFF;
}

.header-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 80px;
       
}

.header-flex .logo {
    width: 33.333%;
}

.header-logo {
    display: block;
    background: url(../../img/logos/lms.png) scroll no-repeat 0 50%;
    width: 285px;
    height: 40px;
    background-size:contain;
}



   

    header .user-info {
        display: block;
        text-align: center;
        width: 33.333%;
    }

    header .log-out {
        display: block;
        width: 33.333%;
    }

        header .log-out .logout {
            text-align: center;
            margin-left: auto;
            display: block;
            width: 100px;
        }

    header h1 {
        display: inline-block;
        vertical-align: top;
        text-align: left;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    header .last-login {
        font-size: 1.1em;
        line-height: 1;
    }



@media (min-width: 0px) and (max-width: 767px) {

    header {
        height : 100px;
    }


    .header-flex {
        flex-wrap: wrap;
    }


        header .container {
        margin: 0;
        width: 100%;
        padding: 0 20px;
    }

    header  .header-logo {
        width: 240px;
        order: 1;
    }

    header .log-out {
        order: 2;
     }

        header .log-out .logout {
            color: #01033b;
            background-color: #fff;
            text-align: left;
            background: url(../../img/mobile-logout.png) 100% 50% no-repeat;
            width: 88px;
            cursor: pointer;
        }


    header .user-info {
        order: 3;
        width: 100%;
        padding-top: 20px;
    }


 }


@media (min-width: 0) and (max-width: 480px) {

    header .header-logo {
        width: 200px;
    }

}