@-webkit-keyframes ax-modal {
    0% {
        opacity: 0.0;
        -webkit-transform: scale(0.8);
    }
    100% {
        opacity: 1.0;
        -webkit-transform: scale(1);
    }
}
@-moz-keyframes ax-modal {
    0% {
        opacity: 0.0;
        -moz-transform: scale(0.8);
    }
    100% {
        opacity: 1.0;
        -moz-transform: scale(1);
    }
}
@keyframes ax-modal {
    0% {
        opacity: 0.0;
        -webkit-transform: scale(0.8);
        -moz-transform: scale(0.8);
        -ms-transform: scale(0.8);
        -o-transform: scale(0.8);
        transform: scale(0.8);
    }
    100% {
        opacity: 1.0;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}
@-webkit-keyframes ax-modal-destroy {
    100% {
        opacity: 0.0;
        -webkit-transform: translateY(20%);
    }
    0% {
        opacity: 1.0;
        -webkit-transform: translateY(0);
    }
}
@-moz-keyframes ax-modal-destroy {
    100% {
        opacity: 0.0;
        -moz-transform: translateY(20%);
    }
    0% {
        opacity: 1.0;
        -moz-transform: translateY(0);
    }
}
@keyframes ax-modal-destroy {
    100% {
        opacity: 0.0;
        -webkit-transform: translateY(20%);
        -moz-transform: translateY(20%);
        -ms-transform: translateY(20%);
        -o-transform: translateY(20%);
        transform: translateY(20%);
    }
    0% {
        opacity: 1.0;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}
@-webkit-keyframes ax-modal-fullscreen {
    0% {
        -webkit-transform: translateY(20%);
    }
    100% {
        -webkit-transform: translateY(0);
    }
}
@-moz-keyframes ax-modal-fullscreen {
    0% {
        -moz-transform: translateY(20%);
    }
    100% {
        -moz-transform: translateY(0);
    }
}
@keyframes ax-modal-fullscreen {
    0% {
        -webkit-transform: translateY(20%);
        -moz-transform: translateY(20%);
        -ms-transform: translateY(20%);
        -o-transform: translateY(20%);
        transform: translateY(20%);
    }
    100% {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}
@-webkit-keyframes ax-modal-fullscreen-destroy {
    0% {
        -webkit-transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(100%);
    }
}
@-moz-keyframes ax-modal-fullscreen-destroy {
    0% {
        -moz-transform: translateY(0);
    }
    100% {
        -moz-transform: translateY(100%);
    }
}
@keyframes ax-modal-fullscreen-destroy {
    0% {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(100%);
        -moz-transform: translateY(100%);
        -ms-transform: translateY(100%);
        -o-transform: translateY(100%);
        transform: translateY(100%);
    }
}
@-webkit-keyframes ax-modal-fade-in {
    0% {
        opacity: 0.0;
    }
    100% {
        opacity: 1.0;
    }
}
@-moz-keyframes ax-modal-fade-in {
    0% {
        opacity: 0.0;
    }
    100% {
        opacity: 1.0;
    }
}
@keyframes ax-modal-fade-in {
    0% {
        opacity: 0.0;
    }
    100% {
        opacity: 1.0;
    }
}
@-webkit-keyframes ax-modal-fade-out {
    0% {
        opacity: 1.0;
    }
    100% {
        opacity: 0.0;
    }
}
@-moz-keyframes ax-modal-fade-out {
    0% {
        opacity: 1.0;
    }
    100% {
        opacity: 0.0;
    }
}
@keyframes ax-modal-fade-out {
    0% {
        opacity: 1.0;
    }
    100% {
        opacity: 0.0;
    }
}
.ax5modal {
    -webkit-animation: ax-modal 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    -moz-animation: ax-modal 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation: ax-modal 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    -webkit-transform: translateZ(0px);
    -moz-transform: translateZ(0px);
    -ms-transform: translateZ(0px);
    -o-transform: translateZ(0px);
    transform: translateZ(0px);
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 20px 100px 30px rgba(0,0,0,0.6);
    z-index: 2000;
    position: fixed;
    left: 0;
    top: 0;
    box-sizing: content-box;
}
.ax5modal * {
    box-sizing: border-box;
}
.ax5modal *:after,
.ax5modal *:before {
    box-sizing: border-box;
}
.ax5modal .ax-modal-header {
    user-select: none;
    font-weight: 600;
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    cursor: move;
}
.ax5modal .ax-modal-header .ax-modal-header-addon {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px;
}
.ax5modal .ax-modal-header .ax-modal-header-addon [data-modal-header-btn] {
    border: 0;
    padding: 0 2px;
    background: transparent;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    outline: 0;
}
.ax5modal .ax-modal-body {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 0;
    text-align: center;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    box-flex: 1;
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
    position: relative;
    overflow: hidden;
}
.ax5modal .ax-modal-body iframe {
    border: 0 none;
}
.ax5modal .ax-modal-body .fadeIn {
    -webkit-animation: ax-modal-fade-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    -moz-animation: ax-modal-fade-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation: ax-modal-fade-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.ax5modal .ax-modal-body .fadeOut {
    -webkit-animation: ax-modal-fade-out 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    -moz-animation: ax-modal-fade-out 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation: ax-modal-fade-out 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.ax5modal .ax-modal-header {
    color: #333;
    background: #f5f5f5;
}
.ax5modal .ax-modal-header .ax-modal-header-addon a {
    color: #333;
    outline: 0;
}
.ax5modal.primary .ax-modal-header {
    color: #fff;
    background: #337ab7;
}
.ax5modal.primary .ax-modal-header .ax-modal-header-addon a {
    color: #fff;
    outline: 0;
}
.ax5modal.success .ax-modal-header {
    color: #3c763d;
    background: #dff0d8;
}
.ax5modal.success .ax-modal-header .ax-modal-header-addon a {
    color: #3c763d;
    outline: 0;
}
.ax5modal.info .ax-modal-header {
    color: #31708f;
    background: #d9edf7;
}
.ax5modal.info .ax-modal-header .ax-modal-header-addon a {
    color: #31708f;
    outline: 0;
}
.ax5modal.warning .ax-modal-header {
    color: #8a6d3b;
    background: #fcf8e3;
}
.ax5modal.warning .ax-modal-header .ax-modal-header-addon a {
    color: #8a6d3b;
    outline: 0;
}
.ax5modal.danger .ax-modal-header {
    color: #a94442;
    background: #f2dede;
}
.ax5modal.danger .ax-modal-header .ax-modal-header-addon a {
    color: #a94442;
    outline: 0;
}
.ax5modal.destroy {
    -webkit-animation: ax-modal-destroy 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    -moz-animation: ax-modal-destroy 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation: ax-modal-destroy 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.ax5modal.fullscreen {
    border: 0 none;
    border-radius: 0;
    box-shadow: none;
    -webkit-animation: ax-modal-fullscreen 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    -moz-animation: ax-modal-fullscreen 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation: ax-modal-fullscreen 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.ax5modal.fullscreen.destroy {
    -webkit-animation: ax-modal-fullscreen-destroy 0.3s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    -moz-animation: ax-modal-fullscreen-destroy 0.3s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation: ax-modal-fullscreen-destroy 0.3s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
.ax5modal.draged .ax-modal-header {
    opacity: 0.5;
}
.ax5modal.draged .ax-modal-body {
    opacity: 0.5;
}
.ax5modal [data-ax5modal-resizer] {
    position: absolute;
    display: block;
}
.ax5modal [data-ax5modal-resizer]:before {
    position: absolute;
    content: ' ';
    display: block;
    width: auto;
    height: auto;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
}
.ax5modal [data-ax5modal-resizer][data-ax5modal-resizer="top"] {
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
}
.ax5modal [data-ax5modal-resizer][data-ax5modal-resizer="top"]:before {
    width: 100%;
    height: 8px;
    left: 0;
    top: -4px;
    cursor: row-resize;
}
.ax5modal [data-ax5modal-resizer][data-ax5modal-resizer="bottom"] {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
}
.ax5modal [data-ax5modal-resizer][data-ax5modal-resizer="bottom"]:before {
    width: 100%;
    height: 8px;
    left: 0;
    top: -4px;
    cursor: row-resize;
}
.ax5modal [data-ax5modal-resizer][data-ax5modal-resizer="left"] {
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
}
.ax5modal [data-ax5modal-resizer][data-ax5modal-resizer="left"]:before {
    width: 8px;
    height: 100%;
    left: -4px;
    top: 0;
    cursor: col-resize;
}
.ax5modal [data-ax5modal-resizer][data-ax5modal-resizer="right"] {
    right: 0;
    top: 0;
    width: 0;
    height: 100%;
}
.ax5modal [data-ax5modal-resizer][data-ax5modal-resizer="right"]:before {
    width: 8px;
    height: 100%;
    left: -4px;
    top: 0;
    cursor: col-resize;
}
.ax5modal [data-ax5modal-resizer][data-ax5modal-resizer="top-left"] {
    left: 0;
    top: 0;
    width: 0;
    height: 0;
}
.ax5modal [data-ax5modal-resizer][data-ax5modal-resizer="top-left"]:before {
    width: 8px;
    height: 8px;
    left: -4px;
    top: -4px;
    cursor: nwse-resize;
}
.ax5modal [data-ax5modal-resizer][data-ax5modal-resizer="top-right"] {
    right: 0;
    top: 0;
    width: 0;
    height: 0;
}
.ax5modal [data-ax5modal-resizer][data-ax5modal-resizer="top-right"]:before {
    width: 8px;
    height: 8px;
    left: -4px;
    top: -4px;
    cursor: nesw-resize;
}
.ax5modal [data-ax5modal-resizer][data-ax5modal-resizer="bottom-left"] {
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
}
.ax5modal [data-ax5modal-resizer][data-ax5modal-resizer="bottom-left"]:before {
    width: 8px;
    height: 8px;
    left: -4px;
    top: -4px;
    cursor: nesw-resize;
}
.ax5modal [data-ax5modal-resizer][data-ax5modal-resizer="bottom-right"] {
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
}
.ax5modal [data-ax5modal-resizer][data-ax5modal-resizer="bottom-right"]:before {
    width: 8px;
    height: 8px;
    left: -4px;
    top: -4px;
    cursor: nwse-resize;
}
.ax5modal-resizer-background {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2000;
    cursor: move;
}
.ax5modal-resizer {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2001;
    cursor: move;
    box-sizing: border-box;
    background-color: #ccc;
    border: 1px solid red;
    opacity: 0.3;
    border-radius: 4px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.6);
}