.anim {
        -webkit-transition: all 400ms cubic-bezier(0.455, 0.030, 0.515, 0.955);
   -moz-transition: all 400ms cubic-bezier(0.455, 0.030, 0.515, 0.955);
     -o-transition: all 400ms cubic-bezier(0.455, 0.030, 0.515, 0.955);
        transition: all 400ms cubic-bezier(0.455, 0.030, 0.515, 0.955); /* easeInOutQuad */
}
.popup:hover {
    opacity: 1.0 !important;
}
.popup-block {
    position: absolute;
    z-index: 12;
}
.popup-block.right {
    right: 15px;
}
.popup-block.left {
    left: 35px;
}
.popup-block.center {
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

body.mobile .popup-block.center {
    left: 0;
    right: 0;
    margin-left: 8px;
    margin-right: 8px;
}

.popup {
    box-shadow: 0 0 8px rgba(0, 0, 0, .275);
    border-radius: 3px;
    /*border: 1px solid rgba(167, 167, 167, .5);*/
    background: #fff;
    overflow: hidden;
}
.popup-title {
    padding: 10px 15px;
}
.popup-title span {
    font-size: 20px;
    color: #1AACD6;
    font-weight: 300;
}
.popup-body {
    height: 100%;
}
.popup-scroll-content p {
    margin-top: 1em;
}
.popup-scroll-content p:first-child {
    margin-top: 0!important;
}
.popup-scroll-wrapper {
    position: relative;
    overflow: hidden;
    height: 100px;
}
.popup-scroll-content {
    padding: 10px 15px;
    color: #555;
    font-size: 14px;
    overflow: hidden;
    word-break: break-word;
}

body.mobile .popup-block.center>.close-btn {
    right: 5px;
    top: 5px;
    margin-left: 0;
    left: auto;
}

.popup-block>.close-btn {    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    border-radius: 3px;
    color: #ffffff;
    cursor: pointer;
    text-align: center;
}
.popup-block.right>.close-btn {
    right: 100%;
    margin-right: 5px;
}
.popup-block.center>.close-btn,
.popup-block.left>.close-btn {
    left: 100%;
    margin-left: 5px;
}
.popup-block>.close-btn {
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    background: rgba(0, 0, 0, 1.0);
    opacity: 0.5;
}
.popup-block>.close-btn:hover {
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    background: rgba(209, 72, 54, 1.0);
    opacity: 1.0;
}
.popup-block>.close-btn img {
    width: 30px;
    height: 30px;
}

.popup-block>.close-btn a {
    color: #fff;
    text-decoration: none;
    line-height: 30px;
}
.popup-block>.close-btn a:hover {
    color: #fff;
    text-decoration: none;
}
.translate-hidden {
    opacity: 0;
    pointer-events: none;
}
.right.translate-hidden {
    -moz-transform:    translateX(100%);
     -o-transform:      translateX(100%);
     -webkit-transform: translateX(100%);
     transform:         translateX(100%);
}
.left.translate-hidden {
    -moz-transform:    translateX(-100%);
     -o-transform:      translateX(-100%);
     -webkit-transform: translateX(-100%);
     transform:         translateX(-100%);
}

.translate-show {
    -webkit-transition: all 400ms cubic-bezier(0.455, 0.030, 0.515, 0.955);
   -moz-transition: all 400ms cubic-bezier(0.455, 0.030, 0.515, 0.955);
     -o-transition: all 400ms cubic-bezier(0.455, 0.030, 0.515, 0.955);
        transition: all 400ms cubic-bezier(0.455, 0.030, 0.515, 0.955); /* easeInOutQuad */
    pointer-events: all;
    opacity: 1.0;
}

.left.translate-show,
.right.translate-show {
    -moz-transform:    translate3d(0,0,0);
     -o-transform:      translate3d(0,0,0);
     -webkit-transform: translate3d(0,0,0);
     transform:         translate3d(0,0,0);
}

.popup-body img.full-width {
    width: calc(100% + 30px);
    margin: -10px -15px 0 -15px;
}

.popup-body img.no-margin-bottom {
    margin-bottom: -20px;
}