
@media only screen and (max-width: 350px) {
    
    /* title */
    #id_div_title img {
        height: 30px;
    }

    #id_div_title h4 {
        font-size: 14px;
    }

    #id_title {
        height: 30px;
        margin-top: 30px;
        font-size: 26px;
    }
    /*********/

    /* slide */
    #id_section_slide {
        height: 190px !important;
    }

    .slide, .slide * {
        height: 190px !important;
    }

    #id_text_slide {
        top: 190px !important;
        font-size: 16px !important;
    }
    /*********/

    
}

@media only screen and (max-width: 420px) {
    /* input text di ricerca */
    #id_nav .input_text {
        z-index: 99999 !important;
        bottom: 100px !important;
        height: 50px !important;
        right: 0 !important;
        margin-right: 0 !important;
        border-radius: 0px !important;
        padding-left: 10px;
        padding-right: 10px;
    }
    /*************************/

    /* text notizie */
    #id_section_post #id_div_text {
        font-size: 16px;
    }
    /****************/

    /* text contatti */
    #contatti {
        font-size: 14px;
    }
    /*****************/
}

@media only screen and (max-width: 780px) {

    #id_div_menu ul li:last-child {
        padding-top: 20px !important;
    }

    /* section login */
    #id-form-login, .cls-div-logged-user {
        width: 70% !important;
    }

    /*****************/

    /* section storia */
    #id_div_storia {
        font-size: 14px;
    }
    /******************/

    /* section imgpost */
    #id_section_imgpost {
        height: 200px !important;
    }
    
    #id_section_imgpost .parallax-container {
        height: 200px !important;
    }
    /*******************/

    /* menu */
    #id_div_menu ul {
        display: block;
    }

    #id_div_menu ul li {
        border-bottom: 0 !important;
    }

    /*#id_div_menu ul li {
        z-index : 1;
        position: relative;
        border-bottom: 0 !important;
    }

    #id_div_menu ul li:before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 1px;
        width: 50%;
        border-bottom: 2px solid #c5c5c5 !important;
    }*/

    @-webkit-keyframes animate_menu {
        from {
            width: 0%;
            height: 0px;
            border-bottom-right-radius: 80%;
        }
        to {
            width: 100%;
            height: 260px;
            border-bottom-right-radius: 0%;
        }
    }
    
    @keyframes animate_menu {
        from {
            width: 0%;
            height: 0px;
            border-bottom-right-radius: 80%;
        }
        to {
            width: 100%;
            height: 260px;
            border-bottom-right-radius: 0%;
        }
    }

    @-webkit-keyframes animate_menu_back {
        from {
            width: 100%;
            height: 260px;
            border-bottom-right-radius: 0%;
        }
        to {
            width: 0%;
            height: 0px;
            border-bottom-right-radius: 80%;
        }
    }
    
    @keyframes animate_menu_back {
        from {
            width: 100%;
            height: 260px;
            border-bottom-right-radius: 0%;
        }
        to {
            width: 0%;
            height: 0px;
            border-bottom-right-radius: 80%;
        }
    }
    /********/

    /* slide */
    #id_section_slide {
        height: 250px;
    }

    .slide, .slide * {
        height: 250px;
    }

    #id_text_slide {
        width: calc(100% - 40px);
        height: auto;
        padding: 20px;
        position: relative;
        top: 250px;
        z-index: 0; /* 99998 */
        font-family: 'Roboto-Thin';
        font-size: 18px;
        color: #c5c5c5;
        background-color: #1D1818;
        box-shadow: none;
        text-align: center;
    }
    /*********/

    /* slide2 */
    #id_section_slide2 {
        height: 250px;
    }
    /*********/

    /* section posts */
    #id_section_posts .section_title {
        margin-top: 0px;
    }
    /*****************/

    /* contatti responsabili */
    #id_ul_responsabili {
        display: block;
    }
    /*************************/

    /* index header */
    #id_div_title {
        display: list-item;
        list-style: none;
        /*display: block;
        margin: auto;*/
        width: auto;
    } /*da centrare*/

    #id_btn_search {
        z-index: 99998;
        position: fixed;
        bottom: 0px;
        right: 30px;
        box-shadow: 0px 2px 5px #666;
        background-color: #4a81d4;
    }

    #id_btn_search i {
        color: white !important;
    }

    #id_btn_menu {
        z-index: 99998;
        position: fixed;
        bottom: 0px;
        left: 30px;
        box-shadow: 0px 2px 5px #666;
        background-color: #4a81d4;
    }

    #id_btn_menu i {
        color: white !important;
    }

    #id_nav .input_text {
        z-index: 99998;
        position: fixed;
        bottom: 30px;
        right: 95px;
        background-color: #1d1818;
        margin-right: 10px;
        box-shadow: 0px 2px 5px #666;
        border-radius: 90px;
        font-size: 16px;
        height: 30px;
        color: #c5c5c5;

        /*border: none;
        border-bottom: solid 1px #ffffff;
        outline: none;
        width: 0;
        font-size: 18px;
        float: right;
        padding-top: 60px;
        margin-left: 10px;*/
    }
    /****************/

    /* index footer */
    #id_div_copyright {
        text-align: center;
    }
    /****************/

    /* input candidatura */
    #id_form_candidatura .input_text {
        width: 100%;
    }
    /*********************/
}

@media only screen and (max-width: 1014px) {
    
    #id_a_area_riservata {
        vertical-align: 0 !important;
    }

    #id_div_menu ul li:last-child {
        padding-top: 10px;
    }

}

@media only screen and (max-width: 1100px) {

    /* home */
    #id_section_posts, #id_section_info {
        padding-bottom: 0px;
    }

    .ul_posts, .ul_flex {
        display: block;
    }

    .ul_posts > li, .ul_flex > li {
        margin-bottom: 80px;
    }
    /********/

    /* section commenti */
    .cls-div-spigolo {
        transform: translateY(-45px) !important;
    }

    #id_section_commenti .ul_flex .section_title {
        padding-top: 30px !important;
    }

    #id_section_commenti .ul_flex .cls-div-comment {
        padding-bottom: 20px !important;
    }

    /*****************/

}

@media only screen and (max-width: 1264px) {
    #id_a_area_riservata {
        font-size: 16px !important;
    }
}