/* Known Universe Tools: Modal Popup.
 * Based on the Ultimate Addons for Elementor modal popup stylesheet (GPL), trimmed to the
 * options in use. Class names are kept so existing pages and known-universe.css still apply.
 */
.uael-html-modal {
    overflow: hidden !important
}

.uael-modal {
    position: fixed;
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: -1;
    visibility: hidden;
    left: 0;
    bottom: auto
}

.uael-trigger {
    display: inline-block
}

.uael-modal-popup-hide {
    display: none
}

.uael-modal-editor.uael-modal {
    position: fixed
}

.uael-modal.uael-modal-scroll {
    width: 100% !important;
    height: 100%;
    overflow-y: scroll;
    top: 0 !important;
    pointer-events: auto
}

.uael-modal .uael-modal-content-data {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%
}

.uael-modal-parent-wrapper[data-close-on-overlay=yes] .uael-overlay {
    cursor: pointer
}

.uael-modal-content-data {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.uael-modal-custom {
    pointer-events: none
}

.uael-modal-custom .uael-content {
    pointer-events: visible
}

.uael-show,
.uael-show .uael-modal-close,
.uael-show+.uael-modal-close {
    visibility: visible
}

.uael-modal-close img {
    height: 100%;
    width: 100%
}

.uael-modal-close {
    cursor: pointer;
    font-size: 1.6em;
    position: absolute;
    text-align: center;
    line-height: 0
}

.uael-close-icon i,
.uael-close-icon svg {
    color: #fff;
    width: 25px;
    height: 25px;
    font-size: 25px;
    line-height: 25px
}

.uael-close-image {
    width: 25px;
    height: 25px;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: 0;
    border: 0;
    padding: 0;
    margin: 0
}

.uael-modal-close {
    visibility: hidden;
    position: fixed;
    z-index: 999999
}

.uael-close-custom-top-right {
    top: 50px;
    right: 50px
}

.uael-close-custom-top-left {
    top: 50px;
    left: 50px
}

.uael-close-custom-popup-top-right {
    bottom: 100%;
    left: 100%;
    position: absolute
}

.uael-close-custom-popup-top-left {
    bottom: 100%;
    right: 100%;
    position: absolute
}

.uael-close-custom-popup-edge-top-right {
    top: -.5em;
    right: -.5em;
    left: auto;
    position: absolute
}

.uael-close-custom-popup-edge-top-left {
    top: -.5em;
    left: -.5em;
    right: auto;
    position: absolute
}

.uael-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    opacity: 0;
    background: rgba(0, 0, 0, .75);
    -webkit-transition: all .3s;
    transition: all .3s
}

.uael-show {
    z-index: 9999
}

.uael-show~.uael-overlay {
    opacity: 1;
    visibility: visible
}

.uael-modal-title-wrap {
    -webkit-border-top-left-radius: inherit;
    border-top-left-radius: inherit;
    -webkit-border-top-right-radius: inherit;
    border-top-right-radius: inherit;
    padding: 5px 25px
}

.uael-modal-title-wrap .uael-modal-title {
    margin: 0
}

.uael-content {
    position: relative;
    margin: 0 auto;
    width: 100%
}

.uael-modal img {
    max-width: 100%
}

.uael-modal-action {
    cursor: pointer
}

.uael-modal-scrollable .uael-modal-content-data {
    overflow: auto
}

.uael-effect-1 .uael-content {
    -webkit-transform: scale(.7);
    -ms-transform: scale(.7);
    transform: scale(.7);
    opacity: 0;
    -webkit-transition: all .3s;
    transition: all .3s
}

.uael-show.uael-effect-1 .uael-content {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1
}

.uael-modal-content-data {
    position: relative
}

.uael-modal-action-wrap .uael-button-wrapper .elementor-align-icon-left {
    -webkit-box-ordinal-group: 1;
    -webkit-order: 0;
    -moz-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0
}

.uael-modal-action-wrap .uael-button-wrapper .elementor-align-icon-right {
    -webkit-box-ordinal-group: 16;
    -webkit-order: 15;
    -moz-box-ordinal-group: 16;
    -ms-flex-order: 15;
    order: 15
}

@media (min-width:1025px) {
    .uael-modal-parent-wrapper.uael-modal-hide-desktop {
        display: none
    }
}

@media (min-width:768px) and (max-width:1024px) {
    .uael-modal-parent-wrapper.uael-modal-hide-tablet {
        display: none
    }
}

@media (max-width:767px) {
    .uael-modal-parent-wrapper.uael-modal-hide-phone {
        display: none
    }
}
