.modal{
    display: initial;
}
.hover_bg_popup {
    background: rgba(0, 0, 0, .8);
    display: none;
    height: 100%;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 10000;
    vertical-align: middle;
}

.rsvp-dialog, .today-dialog{
    margin: auto;
    width: calc(100% - 4rem);
    height: fit-content;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: var(--size-border-radius);
    background: white;
    box-shadow: 0 20px 60px -2px rgb(27 33 58 / 40%);
    max-width: 600px;
    max-height: 1000px;
    font-family: '210_M_Gothic_normal' !important;
}
.rsvp-dialog{
    background-color: var(--color-box);
}

.rsvp-dialog .rsvp-header{
    display: flex;
    justify-content: space-between;
    background-color: white;
    padding: 0.5rem;
}

.rsvp-dialog .rsvp-body{
    color: grey;
    display: flex;
    flex-direction: column;
    text-align: initial;
    padding: 0.5rem 2rem;
    background-color: white;
}


.rsvp-dialog .rsvp-body table{
    margin-top: 1em;
}

.rsvp-dialog .rsvp-body table tbody tr th {
    padding: 1.1rem 0;
    color: var(--color-title);
    font-weight: normal;
    text-align: left;
    width: 50px;
}

.rsvp-dialog .rsvp-body table tbody tr td {
    padding-left: 0.5rem;
}

.rsvp-dialog .rsvp-body .radio
{
    width: 100%;
}

.rsvp-dialog .rsvp-body select{
    width: 100%;
}

.rsvp-dialog .rsvp-body label
{
    color: var(--color-box);
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    background: white;
    width: 100%;
    padding: 0.4em;
    border: 1px solid var(--color-box);
    cursor: pointer;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    white-space: nowrap;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}


.rsvp-dialog .rsvp-body .radio-group .radio:not(:first-child) label
{
    border-left : 0;
}

.rsvp-dialog .rsvp-body .radio input[type=radio]{
    display: none;
}

.rsvp-dialog .rsvp-body .radio input:checked+label
{
    border: 1px solid var(--color-box);
    background-color: var(--color-box);
    color: white;
    font-family: var(--font-family-bold);
}

.rsvp-dialog .rsvp-body input[type=text],
.rsvp-dialog .rsvp-body input[type=number]{
    border: 0;
    border-bottom: 1px solid var(--color-box);
    line-height: 1.7rem;
    color: var(--color-text);
    outline: none;
    width: 100%;
    font-family: "210_M_Gothic_normal" !important;
    padding-left: 5px;
}

/*참석의서 전달하기 버튼*/
.rsvp-dialog .btn-send-rsvp{
    display: block;
    text-align: center;
    padding: 1rem;
    background-color: var(--color-box);
    color: white;
    font-family: var(--font-family-bold) ;
    font-size: var(--bs-large-font-size);
}
.insert_value_is_none{
    border: 1px solid #bf3409 !important;
}
.insert_value_is_done{
    border: 0;
    border-bottom: 1px solid gray;
}


/********************
이하 체크박스 커스텀
*********************/
[type=checkbox] {
    width: 1rem;
    height: 1rem;
    color: var(--color-title);
    vertical-align: middle;
    -webkit-appearance: none;
    border: 0;
    outline: 0;
    flex-grow: 0;
    border-radius: 50%;
    background-color: #FFFFFF;
    transition: background 300ms;
    cursor: pointer;
}


/* Pseudo element for check styling */
[type=checkbox]::before {
    content: "";
    color: transparent;
    display: block;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    border: 0;
    background-color: transparent;
    background-size: contain;
    box-shadow: inset 0 0 0 1px #CCD3D8;
}


/* Checked */
.custom_chkbox[type=checkbox]:checked {
    background-color: currentcolor;
}

.custom_chkbox[type=checkbox]:checked::before {
    box-shadow: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath d='M15.88 8.29L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0z' fill='%23fff'/%3E %3C/svg%3E");
}

/* Disabled */
.custom_chkbox[type=checkbox]:disabled {
    background-color: #CCD3D8;
    opacity: 0.84;
    cursor: not-allowed;
}

/* IE */
.custom_chkbox[type=checkbox]::-ms-check {
    content: "";
    color: transparent;
    display: block;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    border: 0;
    background-color: transparent;
    background-size: contain;
    box-shadow: inset 0 0 0 1px #CCD3D8;
}

.custom_chkbox[type=checkbox]:checked::-ms-check {
    box-shadow: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath d='M15.88 8.29L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0z' fill='%23fff'/%3E %3C/svg%3E");
}


/**********
Dropdown Button
*/
.dropbtn {
    background-color: transparent;
    color: var(--color-subscript);
    border: none;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid var(--color-box);
    padding-bottom: 0.3rem;
    padding-left: 0;
    margin-top: 0.3rem;
    /*font-size: var(--bs-smaller-font-size);*/
}
.dropbtn::after {
    display: inline-block;
    margin-left: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    float: right;
    margin-top: 0.8em;
    vertical-align: bottom;
}

/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
    /*background-color: #2980B9;*/
}

/* The container <div> - needed to position the dropdown content */
.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    width: 100%;
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    border: 1px solid var(--color-box);
    z-index: 1;
    overflow-y: scroll;
    height: 100px;
}

/* Links inside the dropdown */
.dropdown-content li {
    color: var(--color-text);
    padding: 0.2rem 1rem;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content li.active {
    color: white;
    background-color: var(--color-box)
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}


.subscript{
    text-align: center;
    color: var(--color-subscript);
    padding: 0;
    margin: 1rem 0;
    line-height: 1rem;
    font-size: var(--bs-small-font-size);

}

