/**
 * gModal
 * A modal library made with raw js
 * 
 * @version 2.2.0
 * 
 * @license MIT
 * 
 * @author Javier Sanahuja <bannss1@gmail.com>
 * @contributor csanahuja <csanahuja10@gmail.com>
 * 
 * https://github.com/jsanahuja/gModal
 */

@media only screen and (max-width:600px) {

    body.gmodal-active {
        overflow: hidden !important;
    }

    .gmodal-wrapper {
        display: none;
        overflow: auto;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 2000;
    }

    .gmodal-wrapper.gmodal-active {
        display: block;
    }

    .gmodal-backdrop {
        z-index: 2001;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: #000;
        opacity: 0.5;
    }

    .gmodal-dialog {
        z-index: 2001;
        position: absolute;
        top: 7.441vw;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 50em;
        margin: 0 auto 7.441vw auto;
        box-sizing: border-box;
        background: white;
        box-shadow: 0px 0px 1px 1px #6B6B6B;
    }

    .gmodal-close-in,
    .gmodal-close-out {
        position: absolute;
        right: 1.86vw;
        top: 1.86vw;
        width: 7.441vw;
        height: 7.441vw;
        opacity: 0;
    }

    .gmodal-close-in:hover,
    .gmodal-close-out:hover {
        opacity: 1;
    }

    .gmodal-close-in:before,
    .gmodal-close-in:after,
    .gmodal-close-out:before,
    .gmodal-close-out:after {
        position: absolute;
        left: 15px;
        content: ' ';
        height: 33px;
        width: 2px;
    }

    .gmodal-close-in:before,
    .gmodal-close-in:after {
        background-color: #c8c8c8;
    }

    .gmodal-close-out:before,
    .gmodal-close-out:after {
        background-color: #CCC;
    }

    .gmodal-close-in:before,
    .gmodal-close-out:before {
        transform: rotate(-45deg);
    }

    .gmodal-close-in:after,
    .gmodal-close-out:after {
        transform: rotate(45deg);
    }

    .gmodal-dialog {
        padding: 7.441vw 11.182vw 0;
    }

    .gmodal-title {
        padding-bottom: 7.441vw;
        text-align: center;
        font-size: 1.25em;
        box-sizing: border-box;
        color: #000;
    }

    .gmodal-body {
        padding-bottom: 1.395vw;
        overflow: auto;
        max-height: 50%;
        box-sizing: border-box;
        color: #c8c8c8;
        line-height: 1.4;
    }

    .gmodal-buttons {
        box-sizing: border-box;
        text-align: center;
        padding-bottom: 1.395vw;
        display: flex;
    }

    .gmodal-button {

        border: 0;
        color: #fff;
        text-transform: uppercase;
        cursor: pointer;
        display: inline-block;
        -webkit-border-radius: 1.162vw;
        -moz-border-radius: 1.162vw;
        border-radius: 1.162vw;
        width: 40.465vw;
        height: 10.697vw;
        display: flex;
        margin: auto;
    }

    .gmodal-button span {
        margin: auto;
    }

    .gmodal-button-red {
        background-color: #e51c23;
    }

    .gmodal-button-blue {
        background-color: #007aff;
    }

    .gmodal-button-green {
        background-color: #00ca3c;
    }

    .gmodal-button-gray {
        background-color: #969696;
    }

    .gmodal-button-black {
        background-color: #000;
    }

    .gmodal-button-black2 {
        background-color: #000;
        width: 34.884vw;
        height: 10.697vw;
        display: flex;
        margin: auto 2.326vw;
    }
}



@media only screen and (max-width:53em) {
    .gmodal-dialog {
        width: auto;
        margin: 0 auto 1.162vw auto;
        top: 1.162vw;
        right: 1.162vw;
        left: 1.162vw;
    }
}





/* @media only screen and (max-width:32em) {
    .gmodal-button {
        display: block;
        margin: 1.86vw;
    }
} */