.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.modal-dialog {
    font-family: Roboto, sans-serif;
    font-weight: 300;
    background: #fefefe;
    border: #eee solid 1px;
    border-radius: 5px;
    position: absolute;
    z-index: 11;
    min-width: 245px;
    width: 90%;
    max-width: 480px;
    outline: none;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

.modal-dialog form {
    margin: 0;
}

.modal-body {
    padding-top: 20px;
	padding-left: 20px;
	padding-right: 20px;
	overflow-y: auto;
	max-height: calc(100vh - 210px);
}

.modal-header,
.modal-footer {
	padding: 10px 20px;
}

.modal-header {
	border-bottom: #eee solid 1px;
}

.modal-header h2 {
	margin: 0;
	font-weight: 300;
	font-size: 20px;
}

.modal-footer {
	border-top: #eee solid 1px;
	text-align: right;
}

/*
.modal-body input[type=text]:focus {
	border: 1px solid #428bca;
}

.modal-body select:focus {
    border: 1px solid #428bca;
}
*/

.modal-body .data-row {
    flex-basis: 100%;
}
.modal-body .data-row {
    display: flex;
    padding: 4px;
    margin-bottom: 16px;
}

.file-preview a {
    width: 100%;
    padding: 8;
    background: #33b5e5;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
    font-weight: 300;
    font-size: 14px;
    background-color: white;
    margin-bottom: 16px;
    flex-basis: 15%;
    text-align: center;
    color: black;
    text-decoration: none;
}

.modal-body a {
    width: 100%;
    padding: 8;
    background: #33b5e5;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
    font-weight: 300;
    font-size: 14px;
    background-color: white;
    margin-bottom: 16px;
    flex-basis: 15%;
    text-align: center;
    color: black;
    text-decoration: none;
}

.modal-body .aaaa {
    width: 100%;
    padding: 8;
    background: #33b5e5;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
    font-weight: 300;
    font-size: 14px;
    background-color: white;
    margin-bottom: 16px;
    flex-basis: 15%;
    text-align: center;
    color: black;
    text-decoration: none;
}

.modal-body .aaaa:hover {
    color: #a9a9a9;
    cursor: pointer;
}


.modal-body a:hover {
    color: #a9a9a9;
    cursor: pointer;
}

.sub-panel .delete-button {
    margin: 0;
    float: right;
    color: #a9a9a9;
    cursor: pointer;
    font-size: 14px;
}

.modal-body .sub-panel {
    width: 100%;
    padding-top: 16px;
    padding-right: 16px;
    padding-left: 16px;
    background-color: rgba(0, 0, 255, 0.05);
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 16px;
}

.modal-body .sub-panel .sub-panel {
    background-color: rgba(0, 255, 0, 0.05);
}

.modal-body .sub-panel .sub-panel .sub-panel {
    background-color: rgba(255, 0, 0, 0.05);
}

.modal-body .data-delim {
    color: #6C7A89;
    border-top:  #eee solid 1px;
    border-bottom:  #eee solid 1px;
    flex-basis: 100%;
    padding: 8px;
    margin-bottom: 16px;
    text-align: center;
}

.modal-body .data-t {
    flex-basis: 100%;
    margin-bottom: 16px;
    text-align: center;
}

.modal-body .data-row:before {
    color: #6C7A89;
    padding-right: 10px;
    content: attr(data-label);
    flex-basis: 50%;
    text-align: right;
}

.modal-body .data-row-g {
    flex-basis: 100%;
}
.modal-body .data-row-g {
    display: flex;
    padding: 4px;
    margin-bottom: 16px;
}

.modal-body .data-row-g:before {
    padding-right: 10px;
    content: attr(data-label);
    flex-basis: 50%;
    text-align: right;
}

.require_mark {
    color: red;
}

.ReactModal__Body--open {
    overflow-y: hidden !important;
}