@charset "UTF-8";

/* CSS Document */
#myModal {
    opacity: 0;
    color: #000;
    width: 50%;
    top: 20%;
    left: 40%;
    position: absolute;
    overflow: auto;
    background-color: #fff;
    padding: 10px;
    font-size: 1em;
    line-height: 1.5em;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
    -box-shadow: 0 0 10px rgba(0,0,0,.4);
    z-index: 1010;
    margin: 0;
}

#myModal p {
    color: #666;
    font-size: 1.2em;
    line-height: 1.2em;
    letter-spacing: 0.04em;
}

#myModal a {
    color: #000;
}

#myModalclose {
    //border: 1px solid rgba(239, 170, 39, 1);
    text-align: right;
    cursor: pointer;
}

#myModalclose h1 {
    font-family: inherit;
}

#myModalclose p {
    font-family: inherit;
}

.myModalclose_x {
    font-size: 2em !important;
    text-align: right;
    padding-top: 0px;
    padding-right: 10px;
    cursor: pointer;
    margin: 0;
}

@media only screen and (max-width: 1320px) {
    #myModalclose h1 {
        font-size: 1.4em;
    }

    #myModal p {
        font-size: 1em;
        line-height: 1.4em;
        letter-spacing: 0.02em;
    }
}

@media only screen and (max-width: 960px) {
    #myModal {
        width: 50%;
        top: 20%;
        left: 30%;
    }

    #myModalclose h1 {
        font-size: 1;
    }

    #myModal p {
        font-size: 1em;
        line-height: 1.2em;
        letter-spacing: 0.02em;
    }
}

@media only screen and (max-width: 736px) {
    #myModal {
        width: 50%;
        top: 20%;
        left: 30%;
    }

    #myModalclose h1 {
        font-size: 1;
    }

    #myModal p {
        font-size: 1em;
        line-height: 1.2em;
        letter-spacing: 0.02em;
    }
}

@media only screen and (max-width: 540px) {
    #myModal {
        width: 50%;
        top: 20%;
        left: 30%;
    }

    #myModalclose h1 {
        font-size: 0.9em;
    }

    #myModal p {
        font-size: 0.9em;
        line-height: 1.1em;
        letter-spacing: 0em;
    }
}