/* Styles for the main overlay  */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: none;
    opacity: 0;
    visibility: hidden;
    transition:	opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0s;
    will-change: opacity, visibility;
}

.overlay.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0s;
}

input {
    display: block;
    /* margin-top: 5vw; */
    /* margin-bottom: 5vw; */
    margin: auto;
}

input:focus {
    outline: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.inputBox {
    border: 2px solid grey;
    border-radius: 10px;
    height: 50px;
    width: 120px;
    text-align: center;
    margin: auto;
}

.slider {
    -webkit-appearance: none;
    width: 70%;
    height: 100px;
    border-radius: 10px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    overflow: hidden;
    -webkit-transition: .2s;
    transition: opacity .2s;
    margin: auto;
    margin-top: 5vw;
    margin-bottom: 5vw;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 100px;
    border-radius: 0%;
    background: black;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 100px;
    border-radius: 0%;
    background: black;
    cursor: pointer;
}

.tableDiv {
    width: 100%;
    margin-bottom: 2vw;
}

.cell {
    width: 48%;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}

.cell2 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    gap: 1rem;
}

.container {
    display: inline-block;
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 50%;
    margin-left: 25%;
}

/* Hide the browser's default radio button */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0.2rem;
    left: 0;
    height: 1rem;
    width: 1rem;
    background-color: #eee;
    border-radius: 15%;
}

.container:hover input ~ .checkmark {
    background-color: #333;
}

input:checked ~ .checkmark {
    background-color: #666;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.container input:checked ~ .checkmark:after {
    display: block;
}

.container .checkmark:after {
    top: 9px;
    left: 9px;
    width: 0px;
    height: 0px;
    border-radius: 50%;
    background: rgb(144,0,32);
}

.innerOverlay {
    background-color: white;
    height: 90%;
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 2;
    cursor: auto;
    box-shadow: 0px 0px 0px 20vw rgba(100,100,100,0.5);
    border-radius: 20px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.close {
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 10px;
    top: 10px;
    background-color: red;
    cursor: pointer;
    z-index: 3;
    border-radius: 50%;
    color: white;
}

button {
    padding: 10px;
    border-radius: 10px;
    margin-top: 4vw;
    margin-bottom: -4vw;
    color: black;
}

@media only screen and (min-width: 768px) {

    button {
	margin-bottom: 0vw;
    }

    .cell2 {
	flex-direction: row;
    }

    .inputBox {
	width: 200px;
    }

    .container {
	padding-left: 3vw;
	margin-left: 0;
	/* width: 25%; */
    }

    .checkmark {
	height: 1.5rem;
	width: 1.5rem;
    }

}
