@keyframes append-animate {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.popup_bkgr {
    position: fixed;
    text-align: center;
    bottom: 0%;
    right: 0%;
    z-index: 10;
    width: 100%;
    animation: append-animate .2s linear;
    transition: opacity 0.3s;
    opacity: 1;
}

.removeFadeOut {
    opacity: 0;
}


/* En tablet i desktop, restringeix l'amplada màxima  */

@media only screen and (min-width: 578px) {
    .popup_bkgr {
        width: 400px;
    }
}

.popup_bkgr .helper {
    display: inline-block;
    height: 100%;
    vertical-align: bottom;
}

.popup_bkgr>div {
    background-image: url("img/servilleta.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /*background-color: #80b5c1;*/
    color: #2e3192;
    display: inline-block;
    height: auto;
    height: 350px;
    width: 90%;
    margin: 20px;
    vertical-align: middle;
    position: relative;
    padding: 15px 5%;
    z-index: 11;
}

.popup_min_bkgr {
    /*background:rgba(0,0,0,.4);*/
    position: fixed;
    text-align: center;
    bottom: 0%;
    right: 0%;
    z-index: 10;
    border-radius: 50%;
    /*width: 400px;*/
    animation: append-animate .2s linear;
    transition: opacity 0.3s;
    opacity: 1;
}

.popup_min_bkgr .helper {
    display: inline-block;
    height: 100%;
    vertical-align: bottom;
}

.popup_min_bkgr>div {
    background-color: #fff;
    box-shadow: 0 0 8px #6666;
    display: inline-block;
    width: 60px;
    height: 60px;
    margin: 20px;
    vertical-align: middle;
    position: relative;
    padding: 10px;
    z-index: 11;
    border-radius: 50%;
    cursor: pointer;
}

.popupCloseButton {
    color: #d5d5d5;
    cursor: pointer;
    display: inline-block;
    font-family: arial;
    font-weight: bold;
    position: absolute;
    top: 40px;
    right: 20px;
    font-size: 25px;
    line-height: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
    z-index: 12;
}

.popupCloseButton:hover {
    background-color: #ccc;
    color: #242424;
}

.trigger_popup_fricc {
    cursor: pointer;
    font-size: 20px;
    margin: 20px;
    display: inline-block;
    font-weight: bold;
}

.overlay {
    position: absolute;
    /* establecer la posición absoluta para el div superpuesto */
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-image: url(img/fum-valoracio.png);
    background-size: contain;
    background-repeat-y: no-repeat;
    opacity: 1;
    /* establecer la imagen de fondo con transparencia y la opacidad */
}

#contingut {
    position: relative;
    z-index: 5;
}

.logo-titol {
    height: 100px;
}

#titol h1 {
    margin-bottom: 0 !important;
    margin-top: 0.25em !important;
    padding: 0 32px;
    font-size: 1.3em;
}


/* FORM ESTRELLES */

#form {
    width: 250px;
    margin: 0 auto;
    height: 50px;
}

#form p {
    text-align: center;
}

#form label {
    font-size: 20px;
}

.popup_bkgr input[type="radio"] {
    display: none;
}

.popup_bkgr label img {
    filter: grayscale(100%);
}

.popup_bkgr .clasificacion {
    direction: rtl;
    unicode-bidi: bidi-override;
    margin-bottom: 0;
}

.popup_bkgr .radioValora:hover img,
.popup_bkgr .radioValora:hover~label img {
    filter: none;
    cursor: pointer;
}

.popup_bkgr input[type="radio"]:checked~label img {
    filter: none;
}

.popup_bkgr #boto-valora {
    background-color: #8bc34a !important;
}

.infoEsmorzar {
    font-weight: bold;
}

#boto-ranquing {
    background-color: #2e3192;
}