.wally-popup{
    position: fixed;
    background: #f1f1f1;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    display: none;
}

.wally-menu{
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 50%;
    margin: -100px 0 0 0;
    z-index: 99999999;

}

.wally-button{
    display: block;
    height: 50px;
    width: 50px;
    background: transparent;
    border-radius: 100%;
    font-size: 20px;
    margin: 5px 0;
    color: #848484;
    cursor: pointer;
    border: 1px solid #848484;
}

.wally-button:focus{
    outline: none;
}

.wally-button:hover{
    border: 1px solid #527A7A;
    color: #527A7A;
}

.wally-hr{
    margin: 10px 0;
    display: block;
    border: 1px solid #d1d1d1;
}

.wally-label{
    display: block;
    width: 100%;
    position: absolute;
    bottom: 10px;
    text-align: center;
    color: #848484;
    z-index: 2;
}

.wally-image-content{
    position: absolute;
    height: 80%;
    width: 80%;
    left: 10%;
    top: 10%;
    overflow: hidden;
    text-align: center;

}

.wally-image-content img{
    max-width:100%;
    max-height:100%;
    position: relative;
    /*top: 50%;*/
    /*margin: -25% 0 0 0;*/

}

.wally-img{
    display: none;
}

.wally-category{
    display: block;
    width: 100%;
    border: 1px solid #527A7A;
    margin: 10px 0 ;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    font-size: 25px;
    font-weight: 100;
    border-radius: 10px;
    padding: 30px 0;
    cursor: pointer;
    text-align: center;
}

.wally-thumb{
    height: 70px;
    cursor: pointer;
    margin: 10px;
    border-radius: 3px;
}

@media screen and (max-width: 991px) {
    .wally-image-content{
        position: absolute;
        height: 80%;
        width: 100%;
        left: 00%;
        top: 5%;
    }
    .wally-menu {
        position: absolute;
        right: 20px;
        height: 50px;
        display: inline-block;
        top: auto;
        bottom: 20px;
        margin: -100px 0 0 0;
    }
    .wally-button{
        display: inline-block;
        height: 50px;
        width: 50px;
        background: transparent;
        border-radius: 100%;
        font-size: 20px;
        margin: 5px 0;
        color: #848484;
        cursor: pointer;
        border: 1px solid #848484;
    }
    .wally-hr{
        display: none;
    }
    .wally-label{
        display: block;
        width: 100%;
        position: absolute;
        bottom: 10px;
        text-align: left;
        color: #848484;
        margin: 0 0 20px 20px;
    }
}