body{
    font-family: "Microsoft YaHei", sans-serif;
}

.container{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

}

.manager{

    min-width: 400px;

    width: 80%;
    height: 80%;


    display: flex;
    flex-direction: column;

}

.manager-window{
    flex: 1;
    width: 100%;

    border: 1px #ccc solid;
    border-radius: 4px;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;

    padding: 16px;

    display: flex;
    flex-direction: column;

    position: relative;

    margin-bottom: 8px;
}

.manager-window-tips{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    color: #ccc;

    padding: 16px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;

    z-index: -999;
}

.manager-window-list{

    background-color: transparent;

    flex: 1;
    width: 100%;
    border: 1px #666 dashed;
    border-radius: 4px;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    
    overflow: auto;

    transition: background-color 0.4s;

    padding: 8px;

    display: flex;
    flex-flow: row wrap;
}

.manager-window-list-item{

    background-color: white;

    height: 212px;

    border: 1px #ccc solid;
    border-radius: 4px;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;

    padding: 4px;

    margin: 4px;
    
    z-index: 999;

    display: flex;
    flex-direction: column;

    box-shadow: 0 0 0 0;

    transition: box-shadow 0.4s;

}

.manager-window-list-item:hover{
    box-shadow: 0 0 5px 0 #2c3e50;
}

.manager-window-list-item-img{
    height: 164px;
    width: 100%;
}

.manager-window-list-item-img img{
    max-height: 100%;
    max-width: 100%;
}

.manager-window-list-item-progress{
    width: 100%;
    height: 4px;

    position: relative;
}

.manager-window-list-item-progress-bar{
    position: relative;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background-color: dodgerblue;
}

.manager-window-list-item-tools{
    flex: 1;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-around;
    
}

.manager-window-list-item-tools span{
    cursor: pointer;
    color: #2c3e50;
}

.manager-window-list-item-tools span.fa-check{
    color: deepskyblue;
}

.manager-window-list-item-tools span.fa-trash{
    color: orangered;
}

.manager-window-list-item-tools span.fa-spinner{
    cursor: wait;

    animation: rotation 1s infinite linear;
    -webkit-animation: rotation 1s infinite linear;
    -moz-animation: rotation 1s infinite linear;
    -ms-animation: rotation 1s infinite linear;
}


.manager-tools{

    height: 48px;
    width: 100%;

    display: flex;
    align-items: center;
    flex-flow: row nowrap;

}


.manager-tools-msg{
    border: 1px #ccc solid;
    transition: border 0.4s;
    flex: 1;
    height: 100%;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;

    position: relative;

    display: flex;
    align-items: center;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;

    padding: 4px 8px;
}

.manager-tools-msg:hover{
    border: 1px #2c3e50 solid;
}

.manager-tools-msg-tips{
    color: #2c3e50;
}


.manager-tools-btns{
    height: 100%;
    display: flex;
}

.manager-tools-btns .manager-tools-button{
    height: 100%;
    width: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    cursor: pointer;
    transition: background-color 0.4s;

    position: relative;

    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

#manager-tools-input-file{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

#manager-tools-btn-browser{
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    background-color: #2c3e50;
}

#manager-tools-btn-browser:hover{
    background-color: #3d4f61;
}

#manager-tools-btn-browser:active{
    background-color: #1b2d40;
}

#manager-tools-btn-upload{
    background-color: orangered;
}

#manager-tools-btn-upload:hover{
    background-color: #ff5611;
}

#manager-tools-btn-upload:active{
    background-color: #ee3400;

}


@keyframes rotation {
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(359deg);
    }
}
