﻿#popup_container
{
    display: block;
    /*position:fixed;*/
    margin: auto;
    transition: all .25s ease-in-out;
    overflow-y: hidden;
    top: -5vh; left:0; right: 0; bottom:0;
    border-radius: 2rem;
    background:#fff;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.2);
    /*z-index: 9999;*/
    /*width:40%;*/
    height: 280px; /*35vh;*/
    min-width:350px;
    min-height: 250px;
}

#popup_container section::before {
  position: absolute;
  display: block;
  margin: auto;
  top: 1.5rem; right: 0; left: 0;
  width: 5rem;
  font-family: "Font Awesome 5 free";
  font-weight: 900;
  font-size: 5rem;
  text-align: center;
  opacity: 0.4;
}

#popup_content
{
    position: relative;
    margin: 0 auto;
    display: block;
    width: 100%;
    padding: 7rem 2rem 2rem;
    opacity: 1;
}

#popup_content::before {
    content: "\f0f3";
    font-weight: 400 !important;
    top: 2.5rem !important;
    font-size: 3.5rem !important;
}

.dg-modal-text {
    display: block;
    position: relative;
    padding: 0 0 5rem;
    width: 100%;
    height: 180px; /*25vh;*/
}

.dg-modal-text p {
    width: 100% !important;
    font-size: 1.5rem;
    line-height: 1.5em;
}

.dg-modal-text ul {
    position: absolute;
    bottom: 0px;
    display: flex;
    width: 100% !important;
    list-style: none;
    justify-content: space-around;  /* y.ohashi */
}

.dg-modal-text ul li {
    padding: 0.5rem;
    width: 50%;
}

.dg-modal-text ul li button {
    width: 100%;
    height: 3rem;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(89,87,87,1);
    border: none;
    border-radius: 0.5rem;
}

.dg-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 3rem;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.error
{
    color: Red;
}
