*{margin:0}
html, body { height: 100%; }
html {
    width: 100vw;
}
body { 
    margin: 0; 
    padding: 0;
    font-size: 12px;
    overflow-x: hidden;
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
}
h1{
    margin: 0;
}

div, span, label {
    user-select: auto !important;
    touch-action: auto !important;
}

ul {
    list-style-type: none;
}

input, select, textarea {
    border: solid 1px lightgray;
    border-radius: 3px;
    height: 23px;
}

input:focus, select:focus , textarea:focus {
    outline: none;
    box-shadow: 0 0 3px 0 #ddd;  
}

select {
    width: 120px;
}

button {
    cursor: pointer;    
    border: solid 1px white;
    border-bottom: ridge 1px white;
    border-radius: 4px;
    background-color: white;    
}

button.black {
    /*background-color: #4A4A4A;*/
    background-color: #265e85;
    color: white;
}

button:hover {
    /*background-color: #EEEFF0;*/
}

button:focus {
    outline:0;
}

button.disabled {
    background-color: lightgray !important;
    border: none !important;
    cursor: default;
}

.main {
    width: 100%;
    height: 100%;
    margin: 0;    
    display: flex;
    flex-direction: column;
}

/*-------------------popup----------------------*/
.popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;    
    display: none;
    z-index: 100;
    background-color: transparent;
}

.popup .title {
    display: flex;
    align-items: center;
    color: crimson;
    height: 30px;
    margin-left: 3px;
}

.popup .finish-title {
    color: cadetblue;
}

.popup .popup-content {
    position: relative;
    width: 85%;
    min-height: 120px;
    margin: auto;
    margin-top: calc(100% - 40px);
    background-color: white;
    border:solid 1px darkslategrey;
    z-index: 200;
}

.popup .popup-content label {
    margin-top: 10px;
    margin-left: 15px;
    display: inline-block;
    width: 95%;
    white-space: pre-line;
    word-wrap: break-word;
}

.popup .popup-button {
    display: flex;
    justify-content: flex-end;    
    padding-right: 10px;
}

.popup .popup-button button {
    min-width: 80px;
    height: 25px;
    position: absolute;
}

.custom-popup .popup-button button {
    position: unset !important;
}

.popup .popup-button button.ok {
    right: 10px;
    bottom: 10px;
}

.popup .popup-button button.cancel {
    right: 100px;
    bottom: 10px;
}

.caption {
    width: 80% !important;
    height: 60px;
    margin-left:auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px !important;    
    display: flex !important;
    align-items: center;
    justify-content: center;    
}

.error {
    color: red;
    background-color: white !important;
    width: auto !important;
}

.select-block {
    width: calc(100% - 40px);
    margin-left: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 10px;
    height: 55px;
    background-color: #FFE6E8;
    display: grid;
    grid-template-columns: 80% 20%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.main .change-data {
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.main .change-data div {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main .change-data label,
.main .change-data div span {
    background-color: #FCDEDD;
    padding: 7px;
    width: 120px;
    margin-bottom: 5px;
}