.ibs-backdrop,
.ibs-full-modal-container {
    display: none;
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    background-color: rgba(0,0,0,.5);
}

.ibs-full-modal-container {
    background-color: transparent;
}

@media only screen and (max-width: 800px) {
    .ibs-full-modal {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 85px;
        opacity: 0;
        -webkit-transform: translateX(30%);
        -moz-transform: translateX(30%);
        -ms-transform: translateX(30%);
        -o-transform: translateX(30%);
        transform: translateX(30%);
    }
}

@media only screen and (min-width: 801px) {
.ibs-full-modal {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
   /* left: 1135px;*/
   left: 55%;
    opacity: 0;
    -webkit-transform: translateX(30%);
    -moz-transform: translateX(30%);
    -ms-transform: translateX(30%);
    -o-transform: translateX(30%);
    transform: translateX(30%);
}

}



.ibs-full-modal * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.ibs-full-modal > .ibs-modal-body,
.ibs-full-modal > .ibs-modal-footer,
.ibs-full-modal>.ibs-modal-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px;
    padding: 15px 20px;
    border-bottom: 1px solid #ccc;
    background-color: #eee;
}

.ibs-full-modal > .ibs-modal-body {
    right: 0;
    bottom: 0;
    height: auto;
    padding: 20px;
    border: none;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #fff;
}

.ibs-full-modal > .ibs-modal-body.has-header {
    top: 56px;
}

.ibs-full-modal > .ibs-modal-body.has-footer {
    bottom: 56px;
}

.ibs-full-modal > .ibs-modal-footer {
    top: auto;
    bottom: 0;
    height: 56px;
    padding: 10px 20px;
    border-top: 1px solid #ccc;
    text-align: right;
}

.ibs-full-modal .ibs-modal-title {
    float: left;
    padding: 5px 0;
    font-size: 18px;
    font-weight: 700;
}

.ibs-full-modal .ibs-btn-close {
    float: right;
    width: 30px;
    height: 30px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 30px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.ibs-full-modal .ibs-btn-close:hover {
    color: #fff;
    background-color: #6495ed;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    cursor: pointer;
}
