@import url(sanitize2.css);

h1 {
    text-align: center;
    font-size: 30px;
    margin: 0;
}

h1 {
    font-size: 34px;
    margin: 0 0 7px 0;
}

p.subtitle {
    font-size: 17px;
}

.subtitle {
    margin: 0 0 100px 0;
}

p {
    text-align: center;
}

.content {
    background-color: #fff;
    max-width: 600px;
    height: 800px;
    margin: 10px auto;
    border: 2px solid #d1d1d1;
    padding: 30px;
    box-shadow: 0px 0px 12px gray;
    position: relative;
}

.select button {
    display: block;
    width: 40%;
    margin: 10px auto;
    background-color: #fcffd0;
    border-radius: 0px;
    padding: 15px;
    outline: none;
}

.select button:hover {
    background-color: #fee;
}

.required {
    margin-left: .3em;
    /* 左の余白を１文字の30%に */
    color: #f33;
    font-size: .7em;
    /* 文字サイズを１文字の90%に */
    padding: 3px;
    background-color: #fee;
    font-weight: bold;
}

body {
    background-color: #d1d1d1;
    font-family: "Rounded Mplus 1c", sans-serif;
    font-size: 100%;
    width: 545px;
    height: 800px;
    margin: 0 auto;
    padding: 0;
}

label {
    text-align: left;
    display: block;
    margin-left: 5em;
    margin-bottom: .5em;
}


input {
    border: 1px solid rgba(0, 0, 0, 0);
    border-bottom: 1px solid #d1d1d1;
    font-size: 1.2em;
    width: 60%;
    padding: 3px;
}

input:focus {
    outline: 0;
}

#userid_wrong,
#passcode_wrong {
    border-bottom: 1px solid red;
    background-color: rgba(255, 0, 0, .1);
}


.modeselect input {
    display: none;
}

.modeselect label {
    display: block;
    float: left;
    width: 130px;
    margin: 1em 0 0 0;
    padding: 10px;
    background: #bdc4c7;
    color: #869198;
    font-size: 16px;
    text-align: center;
    line-height: 1;
    transition: .2s;
    position: relative;
}

.switch-on {
    left: 19%;
    position: relative;
}

.switch-off {
    left: 19%;
    position: relative;
}

.modeselect label:first-of-type {
    border-radius: 3px 0 0 3px;
    position: relative;
}

.modeselect label:last-of-type {
    border-radius: 0 3px 3px 0;
    position: relative;
}

.modeselect input[type="radio"]:checked+.switch-on {
    background-color: #E65D5D;
    color: #fff;
}

.modeselect input[type="radio"]:checked+.switch-off {
    background-color: #20B7B6;
    color: #fff;
}

.control2 button {
    color: #ffffff;
    background-color: #226294;
    padding: 3px;
    width: 40%;
    border-radius: 10px;
    /*box-shadow: 0 0 3px rgba(0, 0, 0, .4); */
    transition: opacity 5ms ease 0s;
    outline: none;
}

.control2 button:hover {
    opacity: .7;
}

.modecaption {
    font-size: 12px;
    margin-top: 8px;
    text-align: center
}

#caption_easy {
    color: #E65D6D;
}

#caption_pro {
    color: #20B7B6;
}

.login-bt {
    color: #FFF;
    font-size: 19px;
    background: #545454;
    padding: 15px 55px;
    text-decoration: none;
    border-radius: 2mm;
    transition: 0.1s;
    transition: 0.1s;
}

.login-bt:hover {
    background: rgb(165, 165, 165);
}

.control {
    text-align: center;
    margin-top: 1.6em;
    margin-bottom: 3em;
    margin-left: 0;
}

.control2 {
    margin-top: 4em;
    margin-bottom: 2em;
    text-align: center;
    font-family: sans-serif;
    margin-left: 0;
}

.inputarea {
    border: none solid #545454;
    border-radius: 2mm;
    padding: 10px 0;
    margin: 30px 0 1px 0;
    box-shadow: 0px 0px 12px #bbbbbb;
}

.modeselect {
    position: relative;
    overflow: hidden;
}

.comment_wrong {
    color: red;

    font-size: 12px;
    top: 490px;
    left: 150px;
    position: absolute;
}


/*モーダルウィンドウ*/
#modal-overlay {
    z-index: 1;
    background-color: #000;
    opacity: .75;
    min-width: 100%;
    min-height: 120%;
    top: 0;
    left: 0;
    position: fixed;
}

#modal-overlay2 {
    z-index: 20;
    width: 545px;
    height: 864px;
    position: absolute;
}

#modal-overlay3 {
    z-index: 20;
    width: 545px;
    height: 864px;
    position: absolute;
}


.modalalert {
    margin: 75px auto;
    z-index: 20;
    width: 500px;
    height: 700px;
    background-color: white;
}

.modalalertheader {
    border: 1px solid #000;
    font-size: 25px;
    margin: 0px auto;
    z-index: 21;
    height: 70px;
    background-color: #fffB6E;
}

.modalalertsmall {
    margin: 200px auto;
    z-index: 20;
    width: 500px;
    height: 400px;
    background-color: white;
}

.headertype {
    margin-top: 0px;
    z-index: 22;
    padding: 15px;
}

.headertype img {
    width: 25px;
    height: 25px;
    vertical-align: middle;
}

.modal-twinbt {
    font-size: 22px;
    color: #fff;
    background-color: #E65D5D;
    width: 215px;
    height: 80px;
    text-align: center;
    line-height: 80px;
    border-radius: 1mm;
}

#modal-cancelbt,
#modal_delete,
#manage_login-cancelbt,
#manage-cancelbt {

    background-color: gray;

}

.modal-twinbt:hover {
    opacity: .5;
}

.modal-btarea3 {
    margin-top: 38px;
}

.alertcaption {
    margin-top: 40px;
    font-size: 17px;
    color: red;
}

#managment_menu {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 120px;
    height: 40px;
}

#eventname {
    position: absolute;
    left: 10px;
    bottom: 10px;
}

.manage_info_area {
    margin-top: 38px;
}

.modeselect label,
.login-bt,
.modal-twinbt,
#managment_menu {
    cursor: pointer;
    cursor: hand;
    -ms-user-select: none;
    /* IE 10+ */
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}