* {margin: 0; padding: 0;}

#file {
    display: none;
}
.app_item {
    width: 100px;
    height: 100px;
    float: left;
    border-radius: 5px;
    margin: 0.6rem 0.6rem 2.2rem 0.6rem;
    position: relative;
    cursor: pointer;
    -moz-box-shadow: 0 1px 6px rgba(0,0,0,0.25);
	-webkit-box-shadow: 0 1px 6px rgba(0,0,0,0.25);
	box-shadow: 0 1px 6px rgba(0,0,0,0.25);
	-moz-box-shadow: 0 0.0626rem 0.375rem rgba(0,0,0,0.25);
	-webkit-box-shadow: 0 0.0626rem 0.375rem rgba(0,0,0,0.25);
	box-shadow: 0 0.0626rem 0.375rem rgba(0,0,0,0.25);
    z-index: 1;
}

.app_item:hover {
    -moz-box-shadow: 0 1px 8px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 1px 8px rgba(0,0,0,0.5);
	box-shadow: 0 1px 8px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 0.0626rem 0.5rem rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 0.0626rem 0.5rem rgba(0,0,0,0.5);
	box-shadow: 0 0.0626rem 0.5rem rgba(0,0,0,0.5);
	filter: alpha(opacity=100); /* For IE8 and earlier */
	opacity: 1;
	-webkit-transition: opacity .6s;
	transition: opacity .6s;
}

.app_item img {
    width: 85%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    user-select: none;
    -webkit-user-select : none;
    -webkit-touch-callout : none;
}
.app_add {
    float: left;
    width: 100px;
    height: 100px;

    border-radius: 5px;
    margin: 0.6rem 0.6rem 2.2rem 0.6rem;
    position: relative;
    cursor: pointer;
    border: dashed 3px #bbb;
    color: #bbb;
    font-size: 35px;
}

.app_add:hover {
    color: #666;
    border: dashed 3px #666;
}

.font-container {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);

}

.filter {
    display: none;
     position: fixed;
     top: 0;
     left: 0;
     bottom: 0;
     right: 0;
     z-index: 1000;
     background: #000;
     opacity: 0.8;

}

.blur {
-webkit-filter: blur(3px);
-moz-filter: blur(3px);
-o-filter: blur(3px);
-ms-filter: blur(3px);
filter: blur(3px);
}

.deleteApp {
    display: none;
    position: absolute;
    border-radius: 50%;
    background-color: #ed1a1a;
    height: 20px;
    width: 20px;
    right: -10px;
    top: -10px;
    cursor: pointer;
    color: #fff;

}

.deleteApp div {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

.appname{
    position: absolute;
    margin-top: 105%;
    width: 100px;
    line-height: 20px;
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    
}

@media only screen and (max-device-width: 480px) {
    .app_item, .app_add{
        width: 50px;
        height: 50px;
        margin: 1rem 1rem 2.2rem 1rem; 
    }
    .app_add {
        font-size: 12px;
    }
    .appname {
        margin-top: 130%;
        width: 80px;
        line-height: 12px;
        height: 24px;
        font-size: 12px;
        text-align: center;
        margin-left: -15px;
    }
}