.contents {
    width: 100%;
    margin: 0  auto !important;
    padding: 0 !important;
    list-style: none;
    position: relative;
    z-index: 10;
    max-width: 1000px;
    font-size: 0;
}

.contents * {
    box-sizing: border-box;
}

.contents input[type="text"] {
    width: 100%;
}

.contents > li[data-grid-size="1"] {
    width: 25%;
}
.contents > li[data-grid-size="2"] {
    width: 50%;
}
.contents > li[data-grid-size="3"] {
    width: 75%;
}
@media (max-width: 800px){
    .contents > li[data-grid-size="1"],
    .contents > li[data-grid-size="2"],
    .contents > li[data-grid-size="3"],
    .contents > li[data-grid-size="4"] {
        width: 100%;
    }
}

.contents > li[data-grid-size="4"] {
    width: 100%;
}
.contents > li {
    float: left;
    font-size: inherit;
    outline: 20px solid white;
    position: relative;
    margin: 0;
    padding: 0;
    line-height: 0;
}


.contents .cnt_wrap{
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
.contents .cnt_overlay{
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    background-color: rgba(111, 114, 107, 0.8);
    opacity: 0;
    font-size: 14px;
    display: block;
    line-height: 16px;

    -webkit-transform: rotateZ(-90deg);
    transform: rotateZ(-90deg);
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
}
.contents > li:hover .cnt_overlay{
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;

    -webkit-transform: rotateZ(0deg);
    transform: rotateZ(0deg);
    opacity: 1;
}

.contents .cnt_overlay .cnt_copy{
    position: absolute;
    left: 10px;
    top: 10px;
}
.contents .cnt_overlay .cnt_title{
    position: absolute;
    left: 10px;
    bottom: 30px;
    text-transform: uppercase;
}
