
.userlogged {
    width: auto;
    margin: 6px 0 0 12px;

    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;

    cursor: pointer;

    float: right;
}

.userlogged .click {
    /*background: #00aff0;*/
    padding: 0px;
    margin: 0px;

    position: relative;
    z-index: 4;

}

.userlogged .click div {
    width: 40px;
    height: 40px;

    display: inline-block;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    border-radius: 50%;

    float: left;
    margin-right: 12px;
    /*border: 1px solid #eee;*/
}

.userlogged .click span {

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.userlogged .click i {
    margin-left: 6px;
    color: #0078d7;
}

.userpanel {
    display: none;
    min-width: 300px;
    max-width: 100%;

    background: #fff;

    /*border: 1px solid #eee;*/
    border-top: 0;

    position: absolute;
    top: 54px;
    right: 10px;

    z-index: 3;

    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;

    border: 2px solid #0078d7;
}

.userpanel:before {

    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;

    border-bottom: 10px solid #eee;

    content: " ";
    position: absolute;

    top: 00px;
    right: 50%;

    margin-right: -15px;

    display: none;
}

.userpanel .head {
    padding: 16px;
    background: #0078d7;
}

.userpanel .head:after {
    clear: both;
    content: ' ';
    display: block;
    width: 100%;
}

.userpanel .head div {
    width: 40px;
    height: 40px;

    display: block;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    border-radius: 50%;

    float: left;

    margin-right: 12px;

    border: 2px solid white;
}

.userpanel .head a {
    padding: 0;
}

.userpanel .head h3,
.userpanel .head h4 {

    float: left;

    width: calc(100% - 56px);

    text-align: left;

    margin: 0;

}

.userpanel .head h3 {
    color: #fff;

    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
    margin-top: 0;

}

.userpanel .head h4 {
    color: #fff;
    opacity: 0.7;

    font-weight: 300;

    font-size: 14px;
}

.userpanel .body {
    padding: 0px;
    background: #1f2e44;
}

.userpanel .body ul {
    list-style: none;
    margin: 0;
    padding: 0;

    float: none;

}

.userpanel .body li {
    width: 100%;
}

.userpanel .body a {
    display: inline-block;
    width: 100%;
    height: auto;

    padding: 14px 16px !important;

    text-align: left;

    font-size: 14px;

    color: #777 !important;

    margin: 0 !important;
    border: none !important;

    border-radius: 0;
}

.userpanel .body a:hover {
    /*background: rgba(255, 255, 255, 0.2);*/
    color: #fff !important;

    text-decoration: none;
}

.userpanel .body a .badge {
    background: #0078d7;
    color: white;

    float: right;

    font-weight: 300;

    padding: 6px 10px;
}

.userpanel .foot {

    padding: 16px;
    background: #0078d7;

    /*position: absolute;*/

    bottom: 0;

    width: 100%;

    color: #fff;

    font-weight: 500;

    text-align: left;
}

.userpanel .foot a {
    color: #ffffffaa;

    position: relative;

    padding-left: 28px;

    display: inline-block;
    width: 100%;

    text-decoration: none;
}
.userpanel .foot a:hover {
    color: #ffffff;

}

.userpanel .foot i {
    color: white;
    font-size: 20px;

    position: absolute;

    left: 0;
    top: 3px;
}

.userlogged h5 {
    font-weight: normal;

    color: black !important;
    font-size: 16px;
    /*margin: 7px 0 7px 7px;*/
    margin: 0;
    float: right;
    line-height: 47px;

    color: rgba(255, 255, 255, 0.7);
}

@media screen and (max-width: 768px) {
    .userpanel {
        right: 15px;
    }

    .userpanel:before {
        right: 30px;
    }
}


.file_uploader {

    display: block;
    float: left;
    font: bold 13px Verdana, Arial, Helvetica, sans-serif;
    outline-style: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;

    position: relative;

    border-radius: 8px;

    margin: 0;
    width: 100%;
    height: 40px;
    background-color: transparent;
    border: 2px solid #0078d7;
    color: #0078d7;

}

.file_uploader:hover {
    background-color: #0078d7;
    color: #fff;
}

.file_uploader input[type="file"] {
    text-align: right;
    -moz-opacity: 0;
    filter: alpha(opacity:0);
    opacity: 0;
    z-index: 2;

    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;

    position: absolute;

    margin: 0;
    padding: 0;
    border: 0;

    width: 100%;
    height: auto;

    cursor: pointer;
}



.letter-avatar {
    width: 30px;
    height: 30px;

    border-radius: 50%;

    text-align: center;
    text-transform: uppercase;
    color: white !important;

    background-position: center;

    line-height: 30px;

    font-weight: 300;

    font-size: 17px;

    float: left;

    margin-right: 12px;

    display: inline-block;

}

.letter-avatar-a {
    background: #44BB9B;
}

.letter-avatar-b {
    background: #3A9F84;
}

.letter-avatar-c {
    background: #ECC422;
}

.letter-avatar-d {
    background: #EB9C23;
}

.letter-avatar-e {
    background: #50CB70;
}

.letter-avatar-f {
    background: #43AD5F;
}

.letter-avatar-g {
    background: #D03D3D;
}

.letter-avatar-h {
    background: #CA5516;
}

.letter-avatar-i {
    background: #4A98DA;
}

.letter-avatar-j {
    background: #3D80B8;
}

.letter-avatar-k {
    background: #DD4E42;
}

.letter-avatar-l {
    background: #B83B31;
}

.letter-avatar-m {
    background: #975AB6;
}

.letter-avatar-n {
    background: #8A46AD;
}

.letter-avatar-o {
    background: #BEC3C7;
}

.letter-avatar-p {
    background: #37495D;
}

.letter-avatar-q {
    background: #2F3E4F;
}

.letter-avatar-r {
    background: #EEEEEE;
}

.letter-avatar-s {
    background: #808C8D;
}

.letter-avatar-t {
    background: #E588C0;
}

.letter-avatar-u {
    background: #D171AE;
}

.letter-avatar-v {
    background: #EE9887;
}

.letter-avatar-w {
    background: #9BA37E;
}

.letter-avatar-x {
    background: #B09257;
}

.letter-avatar-y {
    background: #B09257;
}

.letter-avatar-z {
    background: #A24239;
}
