﻿.button-wrap {
    position: relative;
    text-align: center;
    top: 50%;
    margin-top: -2.5em;
}

@media (max-width: 40em) {
    .button-wrap {
        margin-top: -1.5em;
    }
}

.button-label {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1em 2em;
    margin: 0.5em;
    cursor: pointer;
    border-radius: 0.25em;
    background: #efefef;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), inset 0 -3px 0 rgba(0, 0, 0, 0.22);
    -webkit-transition: 0.3s;
    transition: 0.3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .button-label h1 {
        font-size: 1.2em;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .button-label em {
        font-size: 1em;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .button-label:hover {
        background: #d6d6d6;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), inset 0 -3px 0 rgba(0, 0, 0, 0.32);
    }

    .button-label:active {
        -webkit-transform: translateY(2px);
        transform: translateY(2px);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), inset 0px -1px 0 rgba(0, 0, 0, 0.22);
    }

@media (max-width: 40em) {
    .button-label {
        padding: 0em 1em 3px;
        margin: 0.25em;
    }
}

#yes-button:checked + .button-label {
    background: #008ca7;
    color: #fff !important;
}

    #yes-button:checked + .button-label:hover {
        background: #008489;
        color: #fff !important;
    }

#no-button:checked + .button-label {
    background: #008ca7;
    color: #fff !important;
}

    #no-button:checked + .button-label:hover {
        background: #008489;
        color: #fff !important;
    }

#yes-button:checked + .button-label h1 {
    color: #fff !important;
}

#yes-button:checked + .button-label:hover h1 {
    color: #fff !important;
}

#no-button:checked + .button-label h1 {
    color: #fff !important;
}

#no-button:checked + .button-label:hover h1 {
    color: #fff !important;
}

.hidden {
    display: none;
}
