/**
 * @author    Alexandre DEBUSSCHÈRE <alexandre@kosmonaft.dev>
 * @copyright 2021 Kosmonaft.dev
 * @license   Commercial
 * @see https://gist.github.com/ghosh/4f94cf497d7090359a5c9f81caf60699
 */

.micromodal {
    font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif;
}
.micromodal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}
.micromodal__container {
    background-color: #fff;
    padding: 30px;
    width: 70vw;
    height: 60vh;
    border-radius: 4px;
    overflow-y: auto;
    box-sizing: border-box;
}
.micromodal__content {
    margin-top: 0;
    margin-bottom: 0;
    color: rgba(0, 0, 0, .8);
    width: 100% !important;
    height: 100% !important;
    padding: 0!important;
}
.micromodal__content table tr:hover {
    background-color: whitesmoke;
    cursor: pointer;
}
@keyframes mmfadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes mmfadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@keyframes mmslideIn {
    from {
        transform: translateY(15%);
    }
    to {
        transform: translateY(0);
    }
}
@keyframes mmslideOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10%);
    }
}
.micromodal-slide {
    display: none;
}
.micromodal-slide.is-open {
    display: block;
}
.micromodal-slide[aria-hidden="false"] .micromodal__overlay {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}
.micromodal-slide[aria-hidden="false"] .micromodal__container {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}
.micromodal-slide[aria-hidden="true"] .micromodal__overlay {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}
.micromodal-slide[aria-hidden="true"] .micromodal__container {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}
.micromodal-slide .micromodal__container,
.micromodal-slide .micromodal__overlay {
    will-change: transform;
}

@media screen and (max-width: 1200px) {
    #mrmax-widget-container .micromodal__container {
        padding: 30px;
        width: 90vw;
        height: 80vh;
        border-radius: 4px;
        overflow-y: auto;
    }
}

@media screen and (max-device-width: 800px), screen and (max-width: 800px) {
    .MR-Widget.MR-Widget-Responsive .MRW-Map {
        width: 100% !important;
    }
    .MR-Widget.MR-Widget-Responsive .MRW-RList {
        box-shadow: none !important;
    }
}