﻿@media screen and (min-width: 1690px) {
    .divalert {
        position: absolute;
        right: 0;
        top: 1rem;
        z-index: 9999;
    }

    .alert-main {
        display: grid;
        grid-template-columns: 3rem auto 3rem;
        gap: 0.8rem;
        height: 6rem;
        width: 27rem;
        border-radius: 0.3rem 0 0 0.3rem;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 0.2rem 0.6rem;
        margin-bottom: 0.6rem;
    }

    .alert-main-body-text {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 0.7rem;
        font-weight: 500;
        color: var(--colorGray);
    }

    .alert-main-body {
        display: grid;
        grid-template-rows: 2rem auto;
        margin-left: 0.3rem;
    }

    .alert-close {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
    }

        .alert-close > span {
            display: block;
            color: var(--colorGray);
            font-family: var(--fuenteLight);
            font-size: 1.8rem;
            cursor: pointer;
        }

    /* ALERT SUCCESS ----------------------------------------------------*/

    .alert-main-success {
        border-left: 0.3rem solid var(--colorgreen);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-success-icon {
        background-image: url('../svg/icon-success_alert.svg');
        background-repeat: no-repeat;
        background-size: 2.2rem 2.2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-success-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--colorgreen);
    }

    /* ---------------------------------------------------------------------- */



    /* ALERT alert----------------------------------------------------*/

    .alert-main-alert {
        border-left: 0.3rem solid var(--color3B);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-alert-icon {
        background-image: url('../svg/icon-alert_alert.svg');
        background-repeat: no-repeat;
        background-size: 2.2rem 2.2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-alert-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--color3B);
    }

    /* ---------------------------------------------------------------------- */


    /* ALERT warning----------------------------------------------------*/

    .alert-main-warning {
        border-left: 0.3rem solid var(--colorred);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-warning-icon {
        background-image: url('../svg/icon-warning_alert.svg');
        background-repeat: no-repeat;
        background-size: 2.2rem 2.2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-warning-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--colorred);
    }
    /* ---------------------------------------------------------------------- */

    /* ALERT warning----------------------------------------------------*/

    .alert-main-info {
        border-left: 0.3rem solid var(--color1);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-info-icon {
        background-image: url('../svg/icon-info_alert.svg');
        background-repeat: no-repeat;
        background-size: 2.2rem 2.2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-info-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--color1);
    }

    /* ---------------------------------------------------------------------- */

}

/* Schermi Desktop o Portatili */
@media screen and (min-width: 1280px) and (max-width: 1689px) {
    .divalert {
        position: absolute;
        right: 0;
        top: 1rem;
        z-index: 9999;
    }

    .alert-main {
        display: grid;
        grid-template-columns: 3rem auto 3rem;
        gap: 0.8rem;
        height: 6rem;
        width: 27rem;
        border-radius: 0.3rem 0 0 0.3rem;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 0.2rem 0.6rem;
        margin-bottom: 0.6rem;
    }

    .alert-main-body-text {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 0.7rem;
        font-weight: 500;
        color: var(--colorGray);
    }

    .alert-main-body {
        display: grid;
        grid-template-rows: 2rem auto;
        margin-left: 0.3rem;
    }

    .alert-close {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
    }

        .alert-close > span {
            display: block;
            color: var(--colorGray);
            font-family: var(--fuenteLight);
            font-size: 1.8rem;
            cursor: pointer;
        }

    /* ALERT SUCCESS ----------------------------------------------------*/

    .alert-main-success {
        border-left: 0.3rem solid var(--colorgreen);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-success-icon {
        background-image: url('../svg/icon-success_alert.svg');
        background-repeat: no-repeat;
        background-size: 2.2rem 2.2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-success-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--colorgreen);
    }

    /* ---------------------------------------------------------------------- */



    /* ALERT alert----------------------------------------------------*/

    .alert-main-alert {
        border-left: 0.3rem solid var(--color3B);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-alert-icon {
        background-image: url('../svg/icon-alert_alert.svg');
        background-repeat: no-repeat;
        background-size: 2.2rem 2.2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-alert-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--color3B);
    }

    /* ---------------------------------------------------------------------- */


    /* ALERT warning----------------------------------------------------*/

    .alert-main-warning {
        border-left: 0.3rem solid var(--colorred);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-warning-icon {
        background-image: url('../svg/icon-warning_alert.svg');
        background-repeat: no-repeat;
        background-size: 2.2rem 2.2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-warning-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--colorred);
    }
    /* ---------------------------------------------------------------------- */

    /* ALERT warning----------------------------------------------------*/

    .alert-main-info {
        border-left: 0.3rem solid var(--color1);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-info-icon {
        background-image: url('../svg/icon-info_alert.svg');
        background-repeat: no-repeat;
        background-size: 2.2rem 2.2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-info-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--color1);
    }

    /* ---------------------------------------------------------------------- */

}

/* Tablet in modalità horizontal */
@media screen and (min-width: 737px) and (max-width: 1279px) {
    .divalert {
        position: absolute;
        right: 0;
        top: 1rem;
        z-index: 9999;
    }

    .alert-main {
        display: grid;
        grid-template-columns: 3rem auto 2rem;
        gap: 0.8rem;
        height: 6rem;
        width: 22rem;
        border-radius: 0.3rem 0 0 0.3rem;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 0.2rem 0.6rem;
        margin-bottom: 0.6rem;
    }

    .alert-main-body-text {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 0.7rem;
        font-weight: 500;
        color: var(--colorGray);
    }

    .alert-main-body {
        display: grid;
        grid-template-rows: 2rem auto;
        margin-left: 0.3rem;
    }

    .alert-close {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
    }

        .alert-close > span {
            display: block;
            color: var(--colorGray);
            font-family: var(--fuenteLight);
            font-size: 1.5rem;
            cursor: pointer;
        }

    /* ALERT SUCCESS ----------------------------------------------------*/

    .alert-main-success {
        border-left: 0.2rem solid var(--colorgreen);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-success-icon {
        background-image: url('../svg/icon-success_alert.svg');
        background-repeat: no-repeat;
        background-size: 2rem 2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-success-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--colorgreen);
    }

    /* ---------------------------------------------------------------------- */



    /* ALERT alert----------------------------------------------------*/

    .alert-main-alert {
        border-left: 0.3rem solid var(--color3B);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-alert-icon {
        background-image: url('../svg/icon-alert_alert.svg');
        background-repeat: no-repeat;
        background-size: 2.2rem 2.2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-alert-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--color3B);
    }

    /* ---------------------------------------------------------------------- */


    /* ALERT warning----------------------------------------------------*/

    .alert-main-warning {
        border-left: 0.3rem solid var(--colorred);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-warning-icon {
        background-image: url('../svg/icon-warning_alert.svg');
        background-repeat: no-repeat;
        background-size: 2.2rem 2.2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-warning-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--colorred);
    }
    /* ---------------------------------------------------------------------- */

    /* ALERT warning----------------------------------------------------*/

    .alert-main-info {
        border-left: 0.2rem solid var(--color1);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-info-icon {
        background-image: url('../svg/icon-info_alert.svg');
        background-repeat: no-repeat;
        background-size: 2rem 2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-info-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1rem;
        font-weight: bold;
        color: var(--color1);
    }

    /* ---------------------------------------------------------------------- */

}

/* Tablet in modalità verticale */
@media screen and (min-width: 481px) and (max-width: 736px) {
    .divalert {
        position: absolute;
        right: 0;
        top: 1rem;
        z-index: 9999;
    }

    .alert-main {
        display: grid;
        grid-template-columns: 3rem auto 2rem;
        gap: 0.8rem;
        height: 5rem;
        width: 22rem;
        border-radius: 0.3rem 0 0 0.3rem;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 0.2rem 0.6rem;
        margin-bottom: 0.6rem;
    }

    .alert-main-body-text {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 0.7rem;
        font-weight: 500;
        color: var(--colorGray);
    }

    .alert-main-body {
        display: grid;
        grid-template-rows: 2rem auto;
        margin-left: 0.3rem;
    }

    .alert-close {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
    }

        .alert-close > span {
            display: block;
            color: var(--colorGray);
            font-family: var(--fuenteLight);
            font-size: 1.5rem;
            cursor: pointer;
        }

    /* ALERT SUCCESS ----------------------------------------------------*/

    .alert-main-success {
        border-left: 0.2rem solid var(--colorgreen);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-success-icon {
        background-image: url('../svg/icon-success_alert.svg');
        background-repeat: no-repeat;
        background-size: 2rem 2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-success-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--colorgreen);
    }

    /* ---------------------------------------------------------------------- */



    /* ALERT alert----------------------------------------------------*/

    .alert-main-alert {
        border-left: 0.3rem solid var(--color3B);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-alert-icon {
        background-image: url('../svg/icon-alert_alert.svg');
        background-repeat: no-repeat;
        background-size: 2.2rem 2.2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-alert-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--color3B);
    }

    /* ---------------------------------------------------------------------- */


    /* ALERT warning----------------------------------------------------*/

    .alert-main-warning {
        border-left: 0.3rem solid var(--colorred);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-warning-icon {
        background-image: url('../svg/icon-warning_alert.svg');
        background-repeat: no-repeat;
        background-size: 2.2rem 2.2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-warning-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--colorred);
    }
    /* ---------------------------------------------------------------------- */

    /* ALERT warning----------------------------------------------------*/

    .alert-main-info {
        border-left: 0.2rem solid var(--color1);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-info-icon {
        background-image: url('../svg/icon-info_alert.svg');
        background-repeat: no-repeat;
        background-size: 2rem 2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-info-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1rem;
        font-weight: bold;
        color: var(--color1);
    }

    /* ---------------------------------------------------------------------- */

}


/* Smartphone o piccoli Tablet */
@media screen and (max-width: 480px) {
    .divalert {
        position: absolute;
        right: 0;
        top: 1rem;
        z-index: 9999;
    }

    .alert-main {
        display: grid;
        grid-template-columns: 3rem auto 2rem;
        gap: 0.8rem;
        height: 6rem;
        width: 22rem;
        border-radius: 0.3rem 0 0 0.3rem;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 0.2rem 0.6rem;
        margin-bottom: 0.6rem;
    }

    .alert-main-body-text {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 0.7rem;
        font-weight: 500;
        color: var(--colorGray);
    }

    .alert-main-body {
        display: grid;
        grid-template-rows: 2rem auto;
        margin-left: 0.3rem;
    }

    .alert-close {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
    }

        .alert-close > span {
            display: block;
            color: var(--colorGray);
            font-family: var(--fuenteLight);
            font-size: 1.5rem;
            cursor: pointer;
        }

    /* ALERT SUCCESS ----------------------------------------------------*/

    .alert-main-success {
        border-left: 0.2rem solid var(--colorgreen);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-success-icon {
        background-image: url('../svg/icon-success_alert.svg');
        background-repeat: no-repeat;
        background-size: 2rem 2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-success-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--colorgreen);
    }

    /* ---------------------------------------------------------------------- */



    /* ALERT alert----------------------------------------------------*/

    .alert-main-alert {
        border-left: 0.3rem solid var(--color3B);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-alert-icon {
        background-image: url('../svg/icon-alert_alert.svg');
        background-repeat: no-repeat;
        background-size: 2.2rem 2.2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-alert-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--color3B);
    }

    /* ---------------------------------------------------------------------- */


    /* ALERT warning----------------------------------------------------*/

    .alert-main-warning {
        border-left: 0.3rem solid var(--colorred);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-warning-icon {
        background-image: url('../svg/icon-warning_alert.svg');
        background-repeat: no-repeat;
        background-size: 2.2rem 2.2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-warning-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--colorred);
    }
    /* ---------------------------------------------------------------------- */

    /* ALERT warning----------------------------------------------------*/

    .alert-main-info {
        border-left: 0.2rem solid var(--color1);
        padding: 0.2rem;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .alert-main-info-icon {
        background-image: url('../svg/icon-info_alert.svg');
        background-repeat: no-repeat;
        background-size: 2rem 2rem;
        background-position: 0.8rem 50%;
    }

    .alert-main-body-info-title {
        display: flex;
        align-items: center;
        font-family: var(--fuenteLight);
        font-size: 1rem;
        font-weight: bold;
        color: var(--color1);
    }

    /* ---------------------------------------------------------------------- */

}
