.gbc-modal {
    position: fixed;

    display: none;
    overflow: auto;
    background-color: #000000;
    background-color: rgba(0, 0, 0, 0);
    z-index: 9999;
}

.gbc-modal-window {
    position: absolute;
    background-color: #FFFFFF;
    /*width: 50%;*/
    /*margin: 10% auto;*/
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    /*padding: 20px;*/
    border: 2px solid lightgrey;
    border-radius: 5px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
    padding: 20px;
}

.gbc-modal .close {
    position: absolute;
    top: 0;
    right: 0;
    color: rgba(0,0,0,0.3);
    height: 30px;
    width: 30px;
    font-size: 30px;
    line-height: 30px;
    text-align: center;
}

.gbc-modal .close:hover,
.gbc-modal .close:focus {
    color: #000000;
    cursor: pointer;
}

.slideLeft{
    animation:leftToRight 1s;
    animation-fill-mode: forwards;
}

.slideUp{
    animation:downToTop 1s;
    animation-fill-mode: forwards;
}

.slideDown{
    animation:topToDown 1s;
    animation-fill-mode: forwards;
}

.slideRight{
    animation:rightToLeft 1s;
    animation-fill-mode: forwards;
}
.slideLeftReverse{
    animation:leftToRightReverse 1s;
    animation-fill-mode: forwards;
}

.slideUpReverse{
    animation:downToTopReverse 1s;
    animation-fill-mode: forwards;
}

.slideDownReverse{
    animation:topToDownReverse 1s;
    animation-fill-mode: forwards;
}

.slideRightReverse{
    animation:rightToLeftReverse 1s;
    animation-fill-mode: forwards;
}

.showUp{
    animation:zoomShow 1s;
    animation-fill-mode: forwards;
}

@keyframes leftToRight
{
    from {

        left: 0;
        bottom: 0;
        right: 100%;
        top: 0;
    }
    to {
        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
    }
}
@keyframes downToTop
{
    from {

        left: 0;
        bottom: 0;
        right: 0;
        top: 100%;
    }
    to {
        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
    }
}

@keyframes topToDown
{
    from {

        left: 0;
        bottom: 100%;
        right: 0;
        top: 0;
    }
    to {
        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
    }
}

@keyframes rightToLeft
{
    from {

        left: 100%;
        bottom: 0;
        right: 0;
        top: 0;
    }
    to {
        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
    }
}

@keyframes leftToRightReverse
{
    from {
        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
    }
    to {
        left: 0;
        bottom: 0;
        right: 100%;
        top: 0;
    }
}
@keyframes downToTopReverse
{
    from {
        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
    }
    to {

        left: 0;
        bottom: 0;
        right: 0;
        top: 100%;
    }
}

@keyframes topToDownReverse
{
    from {

        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
    }
    to {
        left: 0;
        bottom: 100%;
        right: 0;
        top: 0;
    }
}

@keyframes rightToLeftReverse
{
    from {

        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
    }
    to {

        left: 100%;
        bottom: 0;
        right: 0;
        top: 0;
    }
}

@keyframes zoomShow
{
    from {
        zoom:0.1;
        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
    }
    to {
        zoom:1;
        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
    }
}