/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

#custom-checkbox-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

#custom-checkbox-container .custom-checkbox-item {
    display: flex;
    flex-flow: column;
    border: 1px solid #fff;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0px 5px 10px 0px rgba(190, 190, 190, 0.5);
    padding: 25px;
    justify-content: center;
    align-items: center;
    transition: 0.15s ease;
    cursor: pointer;
    width: 250px;
    position: relative;
    transition: ease .15s;
}

#custom-checkbox-container .custom-checkbox-item.checked {
    border: 1px solid var(--e-global-color-primary);
}

#custom-checkbox-container .custom-checkbox-item:hover {
    box-shadow: 0px 5px 10px 0px #BEBEBE;
}

#custom-checkbox-container .custom-checkbox-item img {
    width: 50px;
    margin-bottom: 20px;
}

#custom-checkbox-container .custom-checkbox-item p {
    margin: 0;
    font-weight: 600;
}

#custom-checkbox-container .custom-checkbox-item [type="checkbox"] {
    opacity: 0;
    position: absolute;
}

#custom-checkbox-container .custom-checkbox-item .checkbox {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    border: solid 2px #2D2D2D10;
    border-radius: 5px;
    padding: 0;
    transition: ease .15s;
}

#custom-checkbox-container .custom-checkbox-item .checkbox::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--e-global-color-primary);
    border-radius: 5px;
    transform: scale(0);
    opacity: .7;
    transition: all ease .15s;
}

#custom-checkbox-container .custom-checkbox-item [type="checkbox"]:checked~.checkbox {
    border-color: var(--e-global-color-primary);
}

#custom-checkbox-container .custom-checkbox-item [type="checkbox"]:checked~.checkbox::after {
    transform: scale(.7);
    opacity: 1;
}