/*
 *  Remodal - v1.1.1
 *  Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

/* ==========================================================================
   Remodal's default mobile first theme
   ========================================================================== */

/* Default theme styles for the background */

.remodal-bg.remodal-is-opening,
.remodal-bg.remodal-is-opened {
    -webkit-filter: blur(3px);
    filter: blur(3px);
}

/* Default theme styles of the overlay */

.remodal-overlay {
    background: rgba(255, 255, 255, 1);
}

.remodal-overlay.remodal-is-opening,
.remodal-overlay.remodal-is-closing {
    -webkit-animation-duration: .6s;
    animation-duration: .6s;

    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.remodal-overlay.remodal-is-opening {
    -webkit-animation-name: remodal-overlay-opening-keyframes;
    animation-name: remodal-overlay-opening-keyframes;
}

.remodal-overlay.remodal-is-closing {
    -webkit-animation-name: remodal-overlay-closing-keyframes;
    animation-name: remodal-overlay-closing-keyframes;
}

/* Default theme styles of the wrapper */

/* Default theme styles of the modal dialog */

.remodal {
    box-sizing: border-box;
    width: 100%;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.remodal.remodal-is-opening,
.remodal.remodal-is-closing {
    -webkit-animation-duration: .6s;
    animation-duration: .6s;

    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.remodal.remodal-is-opening {
    -webkit-animation-name: remodal-opening-keyframes;
    animation-name: remodal-opening-keyframes;
}

.remodal.remodal-is-closing {
    -webkit-animation-name: remodal-closing-keyframes;
    animation-name: remodal-closing-keyframes;
}

/* Vertical align of the modal dialog */

.remodal,
.remodal-wrapper:after {
    vertical-align: middle;
}

/* Close button */

.remodal-close {
    position: absolute;
    right: 2.343vw;
    bottom: 2.343vw;
    display: flex;
    overflow: visible;
    outline: 0;
    border: 0;
    border-bottom: 1px solid;
    background: transparent;
    color: #fff;
    text-decoration: none;
    letter-spacing: .1rem;
    font-size: 1.6rem;
    line-height: 1.8;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .remodal-close {
        right: 40px;
        bottom: 19vh;
        font-size: 1.2rem;
    }
}

.remodal-close2 {
    position: absolute;
    top: 50px;
    right: 4.166vw;
    display: block;
    overflow: visible;
    width: 36px;
    height: 36px;
    outline: 0;
    border: 0;
    background: transparent;
    color: #969696;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.remodal-close2:before,
.remodal-close2:after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 36px;
    height: 1px;
    background: #969696;
    content: "";
    transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.remodal-close2:before {
    transform: translate(0, -50%) rotate(45deg);
}
.remodal-close2:hover:before{ transform: translate(0, -50%) rotate(0deg);}

.remodal-close2:after {
    transform: translate(0, -50%) rotate(-45deg);
}
.remodal-close2:hover:after{ transform: translate(0, -50%) rotate(0deg);}

@media screen and (max-width: 768px) {
    .remodal-close2 {
        top: 20px;
        right: 20px;
        width: 25px;
        height: 25px;
    }

    .remodal-close2:before,
    .remodal-close2:after {
        width: 25px;
    }
}

/* Dialog buttons */

.remodal-confirm,
.remodal-cancel {
    display: inline-block;
    overflow: visible;
    margin: 0;
    padding: 12px 0;
    min-width: 110px;
    outline: 0;
    border: 0;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
    -webkit-transition: background 0.2s;
    transition: background 0.2s;
}

.remodal-confirm {
    background: #81c784;
    color: #fff;
}

.remodal-confirm:hover,
.remodal-confirm:focus {
    background: #66bb6a;
}

.remodal-cancel {
    background: #e57373;
    color: #fff;
}

.remodal-cancel:hover,
.remodal-cancel:focus {
    background: #ef5350;
}

/* Remove inner padding and border in Firefox 4+ for the button tag. */

.remodal-confirm::-moz-focus-inner,
.remodal-cancel::-moz-focus-inner,
.remodal-close::-moz-focus-inner {
    padding: 0;
    border: 0;
}

/* Keyframes
   ========================================================================== */

@-webkit-keyframes remodal-opening-keyframes {
    from {
        opacity: 0;
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        -webkit-filter: blur(0);
        filter: blur(0);
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes remodal-opening-keyframes {
    from {
        opacity: 0;
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        -webkit-filter: blur(0);
        filter: blur(0);
        -webkit-transform: none;
        transform: none;
    }
}

@-webkit-keyframes remodal-closing-keyframes {
    from {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    to {
        opacity: 0;
        -webkit-filter: blur(0);
        filter: blur(0);
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
    }
}

@keyframes remodal-closing-keyframes {
    from {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    to {
        opacity: 0;
        -webkit-filter: blur(0);
        filter: blur(0);
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
    }
}

@-webkit-keyframes remodal-overlay-opening-keyframes {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes remodal-overlay-opening-keyframes {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes remodal-overlay-closing-keyframes {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes remodal-overlay-closing-keyframes {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* IE8
   ========================================================================== */

.lt-ie9 .remodal-overlay {
    background: #2b2e38;
}

.lt-ie9 .remodal {
    width: 700px;
}
