body {
    font-family: "Lato", sans-serif;
    background-color: #1A1D22;
}

p {
    display: inline-block;
    margin: 10px 0px;
}

#content {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    position: relative; 
}

/* Upper */
#upper_wrapper {
    width: 500px;
    height: 380px;
    margin: 20px auto;
}

#center {
    width: 300px;
    float: left;
}

#operator {
    width: 300px;
    height: 300px;
    float: left;
	background-size: contain;
}

#instant_text {
    position: relative;
    margin: 0px auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#instant_button {
    width: 300px;
    height: 80px;
    float: left;
}

#instant_button input[type="checkbox"] {
    display: none;
}

#instant_button input[type="checkbox"] + label {
    margin: 0px auto;
    color: #f2f2f2;
    cursor: pointer;
    width: 100%;
    height: 80px;
    display: block;
    font-size: 30px;
    background-color: #5E636C;
    opacity: 0.4;
    transition: opacity .3s ease-in-out;
}

#instant_button input[type="checkbox"] + label:hover {
    background-color: #8E99AC;
    opacity: 0.6;
    transition: opacity .3s ease-in-out;
}

#instant_button input[type="checkbox"]:checked + label {
    background-color: #626871;
    opacity: 1;
    transition: opacity .3s ease-in-out;
}

#instant_button input[type="checkbox"]:checked + label:hover {
    background-color: #8E99AC;
    opacity: 1;
    transition: opacity .3s ease-in-out;
}

.bar {
    width: 30px;
    height: 380px;
    float: left;
}

.space {
    width: 70px;
    height: 380px;
    float: left;
}


/* Roll buttons */
#attackers {
    float: left;
    width: 50%;
    box-sizing: border-box;
    border: 2px solid black;
    border-right: 1px solid black;
    margin-bottom: 40px;
}

#defenders {
    float: left;
    width: 50%;
    box-sizing: border-box;
    border: 2px solid black;
    border-left: 1px solid black;
    margin-bottom: 40px;
}

.roll {
    background-color:#77797F;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 25px;
    width: 100%;
    height: 80px;
    cursor: pointer;
    transition: opacity .5s ease-in-out;
}

.roll:hover {
    background-color: #A2A5AE;
}

.recruit {
    float: left;
    width: 100%;
    text-align: center;
}

.operators {
    float: left;
    width: 50%;
    text-align: center;
}

.op_check input[type="checkbox"] {
    display:none;
}

.op_check input[type="checkbox"] + label {
    color: #f2f2f2;
    cursor: pointer;
    padding: 2px 0px;
    width: 100%;
    display: block;
    font-size: 20px;
    background-color: #1A1D22;
    opacity: 0.2;
    transition: opacity .3s ease-in-out;
}

.op_check input[type="checkbox"] + label:hover {
    background-color: #292C33;
    opacity: 0.6;
    transition: opacity .3s ease-in-out;
}

.op_check input[type="checkbox"]:checked + label {
    background-color: #333740;
    opacity: 1;
    transition: opacity .3s ease-in-out;
}

.op_check input[type="checkbox"]:checked + label:hover {
    background-color: #686f7E;
    opacity: 1;
    transition: opacity .3s ease-in-out;
}

.op_check input[type="checkbox"] + label span {
    display:inline-block;
    width:64px;
    height:64px;
    vertical-align:middle;
}

.op_name {
    opacity: 0;
    width: 0px;
}