@charset "UTF-8";
/* CSS Document */

:root {
	--color_bg1: #1AA1E3;
}

/*################################ HEADER E MENU ################################*/
@media (max-width: 870px) {
    #logo {
        position: absolute;
        left: calc(50% - 50px);
        top: 0px;
    }
    .header_logo {
        width: 100px;
    }
    .container.menu {
        justify-content: space-between;
        align-items: center;
        height: 50px;
    }
    #menu {
        display: none;
    }
    #header_hamburger {
        display: block;
        width: 24px;
        height: 24px;
        background-image: url(images/icon_hamburger.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        cursor: pointer;
    }
    #header_hamburger_x {
        width: 18px;
        height: 18px;
        background-image: url(images/icon_hamburger_x.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        cursor: pointer;
    }
    #menu.open {
        z-index: 2;
        width: calc(100% + 20px);
        position: absolute;
        top: 61px;
        left: -10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: var(--color_bg1);
        padding: 30px 0;
    }
    .menu_btn {
        margin: 0px;
    }
    .menu_btn:hover,
    .menu_btn.active {
        background-color: rgba(255, 255, 255, 0.16);
        width: 100%;
        color: white;
        text-align: center;
        border-radius: 0px;
    }
    .menu_btn:hover .menu_btn_title {
        padding: 8px 0;
    }
    .menu2_content {
        width: 100%;
        position: inherit;
        border-radius: 0px;
        margin: 0px;
    }
    .menu2_btn {
        text-align: center;
    }
    .header_icons {
        padding: 15px 15px 0 0;
    }
}

/* DA IPAD VERT */
@media (max-width: 767px) {

    /*################################ ELELEMTI: LIBRI ################################*/

    .libro_container {
        flex-direction: column;
    }
    .libro_img {
        width: 100%;
    }
    .libro_content {
        padding: 20px 0;
    }

    /* ########################## ITEMS ########################## */
    .item_content {
        flex-direction: column;
    }
    .item_content_center {
        order: -1;
    }
    .item_content_sx {
        width: 100% !important;
        max-width: none;
        height: 300px;
        margin: 15px 0;
    }
    .item_content_dx {
        width: 100% !important;
        max-width: none;
        height: 300px;
        margin: 15px 0px;
    }
    .item_content_center.right,
    .item_content_center.right h2 {
        text-align: left;
    }
    .item_content.allegati {
        display: flex;
    }
    .item_content.allegati a {
        margin: 15px auto !important;
    }

    /*################################ ELELEMTI: MODULO IMG DX ################################*/

    .modulo_img_container {
        flex-direction: column-reverse;
    }
    .modulo.img {
        width: 100%;
    }
    .modulo.testo {
        width: 100%;
        padding: 30px 15px 10px 15px;
    }
    .modulo.testo.sx,
    .modulo.testo.dx {
        align-items: center;
        text-align: center;
    }
   
}

/* SOLO IPAD VERT */
@media (min-width: 480px) and (max-width: 767px) {
}

/* SOLO MOBILE VERT */
@media (max-width: 479px) {
    .hidden_mobilev { display: none; }


    
}


