﻿.delete {
    cursor: pointer !important;
    font-size: 30px;
    position: absolute;
    color: white;
    border: none;
    background: none;
    right: -15px;
    top: -15px;
    line-height: 1;
    z-index: 99;
    padding: 0;
}

    .delete span {
        height: 30px;
        width: 30px;
        background-color: black;
        border-radius: 50%;
        display: block;
    }

.box2 {
    width: calc((100% - 340px) * 0.333);
    margin: 5px 15px 10px 5px;
    height: 150px;
    background: #CCCCCC;
    float: left;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 0 5px 2px rgba(0,0,0,.15);
    /*width: calc((100% - 30px) * 0.333);
    margin: 5px;
    height: 250px;
    background: #CCCCCC;
    float: left;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 0 5px 2px rgba(0,0,0,.15);*/
}

    .box2:hover {
        box-shadow: 0 0 15px 3px rgba(0, 0, 0, 0.5);
    }

    .box2 .image {
        width: 100%;
        height: 100%;
        position: relative;
        overflow: hidden;
    }

        .box2 .image img {
            width: 100%;
            min-height: 100%;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%,-50%);
            -ms-transform: translate(-50%,-50%);
            -webkit-transform: translate(-50%,-50%);
        }

@media (max-width: 600px) {
    .box2 {
        width: calc((100% - 20px) * 0.5);
        height: 200px;
    }
}
