/* Dash */

#dash_wrap .data {
    position: fixed;
    z-index: 33;
    color: rgba(0, 0, 0, 0.54);
    font-size: 25px;
    font-weight: 300;
    width: 90px;
    overflow: hidden;
    height: 25px;
    top: 440px;
    left: 30px;
    text-align: center;
}

#dash_wrap .balance,
#dash_wrap .log {
    left: 190px;
    border-radius: 4px;
    line-height: 30px;
    font-size: 18px;
    overflow: hidden;
    width: 80px;
    height: 30px;
    text-align: left;
    top: unset;
    bottom: 50px;
}

#dash_wrap .log {
    left: 104px;
}

#dash_wrap .statuses {
    width: 100%;
    height: 70px;
    top: 400px;
    text-align: left;
    margin: 0;
    padding: 0;
    left: 0px;
    overflow: hidden;
}

#dash_wrap .status {
    height: 50px;
    display: table-cell;
    width: 1%;
    text-align: center;
    margin: 0px 0px 0px 0;
    position: relative;
    line-height: 50px;
    font-size: 26px;
    overflow: hidden;
    background: rgb(255, 255, 255);
    font-weight: 400;
}

#dash_wrap .status span {
    display: block;
    text-align: center;
    position: absolute;
    top: 10px;
    font-size: 7px;
    text-transform: uppercase;
    opacity: 1;
    font-weight: 400;
    line-height: normal;
    left: 0;
    width: auto;
    padding: 6px 0px 0px;
    display: none;
}
#dash_wrap h1 {
    margin: 0;
}
#dash_wrap #attachments_wrap {
    width: 735px;
    height: 90vh;
    left: 20px;
    top: 60px;
}

#dash_wrap #attachments_wrap .task_attachment {
    width: 338px;
    height: 180px;
    box-shadow: 0 2px 6px -3px rgba(0, 0, 0, 0.41);
    border: 1px solid #ccc;
}

#dash_wrap #attachments_wrap .task_attachment h4 {
    font-size: 16px;
    padding: 9px;
    width: calc;
}

@media screen and (min-width: 768px) {

    #dash_wrap {
        top: 0px;
        position: relative;
        width: 100%;
        height: 100%;
        background: #383636;
        /* background: url(../images/covers/cover.jpg); */
        background-size: cover;
        background-position-x: right;
    }

    #dash_wrap.compact {
        background: url(../images/logo.png) #f4f4f4 no-repeat;
        background-size: 40px;
        background-position: 60px calc(100vh - 160px);
        /* overflow: hidden; */
        transition: 0.5s all easy-in-out;
    }

    #dash_wrap .header {
        background: rgb(255, 255, 255);
        width: 100%;
        height: 60px;
        top: 0px;
        position: absolute;
        background: url(../images/logo@2x.png) rgb(249, 249, 249) no-repeat;
        background-size: 28px;
        background-position: calc(100% - 40px) 15px;
    }

    #dash_wrap .data {
        color: rgb(0, 0, 0);
        font-size: 15px;
        font-weight: 400;
        top: -200px;
        left: 270px;
        background: none;
        position: absolute;
    }

    #dash_wrap.compact .data {
        top: -200px;
        -webkit-animation-name: dash_data_out;
        -webkit-animation-duration: 200ms;
        -webkit-transform-origin: 0% 0%;
        -webkit-animation-iteration-count: 1;
        /* The magic keyword for infinite*/
        -webkit-animation-timing-function: linear;
    }

    @keyframes dash_data_out {
        from {
            top: 0px;
            opacity: 1;
        }

        to {
            top: -200px;
            opacity: 0;
        }
    }

    @keyframes dash_data_in {
        from {
            top: -200px;
            opacity: 0;
        }

        to {
            top: 0px;
            opacity: 1;
        }
    }

    #dash_wrap .balance {
        left: 20px;
    }

    #dash_wrap .log {
        left: 100px;
    }

    #dash_wrap .statuses {
        left: 0px;
        height: 116px;
        bottom: 0;
        text-align: right;
        margin: 0;
        padding: 0;
        width: 100%;
        display: table;
        top: unset;
    }

    #dash_wrap h1 {
        margin: 0;
        position: absolute;
        top: 20px;
        left: 20px;
    }

    #dash_wrap .badges li {
        margin: 0;
        box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
        width: -webkit-fill-available;
    }

    #dash_wrap .badge.wrap {
        -webkit-animation-name: dash_badges_in;
        -webkit-animation-duration: 500ms;
        -webkit-transform-origin: 0% 0%;
        -webkit-animation-iteration-count: 1;
        -webkit-animation-timing-function: ease-in-out;
        /* display: none; */
    }

    #dash_wrap.compact .badge {
        right: -150px;
        -webkit-animation-name: dash_badges_out;
        -webkit-animation-duration: 600ms;
        -webkit-transform-origin: 0% 0%;
        -webkit-animation-iteration-count: 1;
        -webkit-animation-timing-function: ease-in-out;
        left: unset;
    }

    @keyframes dash_badges_out {
        from {
            right: 40px;
            opacity: 1;
        }

        to {
            right: -250px;
            opacity: 0;
        }
    }

    @keyframes dash_badges_in {
        from {
            right: -450px;
            opacity: 0;
        }

        to {
            right: 40px;
            opacity: 1;
        }
    }

    #dash_wrap .badges.wrap {
        position: fixed;
        width: 1000px;
        left: 0px;
        top: 108px;
        z-index: 99;
        display: grid;
        grid-gap: 8px;
        grid-template-columns: auto auto auto auto auto;
    }

    /* .ne #main {
        margin: 0px 0;
        width: 100%;
        position: fixed;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 9;
        height: 100%;
    } */

    #dash_wrap #attachments_wrap {
        width: 735px;
        height: 90vh;
        left: 20px;
        top: 60px;
    }

    #dash_wrap #attachments_wrap .task_attachment {
        width: 338px;
        height: 180px;
        box-shadow: 0 2px 6px -3px rgba(0, 0, 0, 0.41);
        border: 1px solid #ccc;
    }

    #dash_wrap #attachments_wrap .task_attachment h4 {
        font-size: 16px;
        padding: 9px;
        width: calc;
    }
}

@media screen and (min-width: 1024px) {

    #dash_wrap .status span {
        font-size: 8px;
        text-align: left;
        left: 13px;
        top: 5px;
        font-weight: 900;
        display: block;
    }

    #dash_wrap .status {
        height: 20px;
        line-height: 39px;
        font-size: 31px;
        padding-top: 4px;
        text-align: right;
        padding-right: 13px;
    }

}
