
/*== modal setting ==*/
.modal
{
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;

    display: none;
    overflow: auto;

    width: 100%;
    height: 100%;
    padding-top: 20vh;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,.5); /* Black w/ opacity */
}
/* Modal Content */
.modal-content
{  font-family: "微軟正黑體", "黑體", Arial, Helvetica, sans-serif;
	padding: 2%;

    width: 400px;
    margin: auto;
    z-index: 99;
    -webkit-animation-name: animatetop;
            animation-name: animatetop;
    -webkit-animation-duration: .4s;
            animation-duration: .4s;

    border: 1px solid #888;
    border-radius: 5px;
    background-color: #fefefe;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);;
}
/* Add Animation */
@-webkit-keyframes animatetop
{
    from
    {
        top: -300px;

        opacity: 0;
    }
    to
    {
        top: 0;

        opacity: 1;
    }
}

@keyframes animatetop
{
    from
    {
        top: -300px;

        opacity: 0;
    }
    to
    {
        top: 0;

        opacity: 1;
    }
}


/* The Close Button */

.close
{
    font-size: 2.0em;
    /*margin-top: 10px;*/
    font-weight:600;
    float: right;
    color: #000;
}


.close:hover,
.close:focus
{
    cursor: pointer;
    text-decoration: none;

    color: #000 !important;
}

.modal-header 
{   line-hight:0px;
	color: #000;
}
.modal-body img
{
    text-align: center;
    margin: 30px auto;
    display: block;
}
.modal-body h3
{
    line-height: 140%;
	font-size: 1.4em;
	text-align: center;
	color: #000;
	clear: both
}
.modal-body
{
    font-size: 1.0em;
    line-height: 2;
    padding: 20px;
    text-align: left;
}

.modal-body ul li {
  margin-left: 5%;
  line-height: 160%;
  list-style-type: disc !important;
}

/*== end of modal setting ==*/


#btn_ok
{
    font: 400 .9em/2.5 '微軟正黑體', Verdana, Arial, Helvetica, sans-serif;

    display: inline-block;

    padding: 0 10px;

    cursor: pointer;

    color: white;
    border: 0;
    background-color: #2196f3;
}
#btn_ok:hover
{
    background-color: #6cf;
}


@media screen and (max-width: 767.9px)
{

    .modal-content
    {
        width: 85%;
    }
  
}
