.wfg-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50%;
    max-width: 648px;
    min-width: 320px;
    height: auto;
    z-index: 2000;
    background: #e74c3c;
    box-shadow: 0 0 10px 0 #222;
}

.wfg-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(143, 27, 15, 0.8);
}

.wfg-popup h2 {
    color: rgb(255, 255, 255);
    margin: 0;
    padding: 0.4em;
    text-align: center;
    font-size: 1.9em;
    font-weight: 300;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px 3px 0 0;
}

.wfg-gifts {
    padding: 15px;
    text-align: center;
}

.wfg-heading {
    cursor: pointer;
}

.wfg-gift-item {
    display: inline-block;
    text-align: center;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    width: 150px;
}

.wfg-gift-item h3 {
    background: rgba(0, 0, 0, 0.1);
    padding: 4px 8px;
    color: rgb(255, 255, 255);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0;
    overflow: hidden;
}

.wfg-gift-item .wfg-checkbox {
    position: absolute;
    top: 2px;
    left: 5px;
}

.wfg-gifts .wfg-actions {
    text-align: center;
    margin-top: 35px;
}

.wfg-title > img {
    display: inline-block;
}

.wfg-gifts .wfg-items-wrap {
    margin: 11px 0 0 0px;
    overflow-y: auto;
    max-height: 60vh;
}

.wfg-christmas {
    position: absolute;
    top: -87px;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .wfg-popup {
        width: 80%;
        height: 100%
    }

    .wfg-gifts {
        max-height: 100%;
    }

    .wfg-gifts .wfg-items-wrap {
        max-height: 100%;
    }

    .wfg-gift-item {
        width: 141px !important;
    }

    .wfg-popup h2 {
        font-size: 0.9em;
    }

    .wfg-christmas {
        position: absolute;
        top: -44px;
    }

    button.wfg-button {
        margin-bottom: 20px;
        width: 100%;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .wfg-popup {
        width: 84%;
    }
}