/* QUERIES FOR IPAD/TABLETPC  PORTRAIT AND LANDSSCAPE */
@media only screen and (max-width: 1100px), only screen and (min-device-width: 768px) and (max-device-width: 1100px) {
    
    ._header_content {
        width: 720px;
    }
    
    ._header_content .left {
        float: left;
        width: 20%;
    }
    ._header_content .right {
        float: left;
        width: 80%;
        padding-top: 15px;
    }
    
    ._header_content ul li a {
        display: block;
        padding: 0px 10px;
        line-height: 30px;
        height: 30px;
        color: white;
    }
    
    .page {
        width: 720px;
    }
    
    .bPopup {
        width: 70%;
    }
    
    .buttons_container a {
        display: block;
        margin-bottom: 10px;
        padding: 10px !important;
    }
    
    .tabella_prezzi_col_left {
        float: none;
        width: 100%;
        padding-right: 0px;
        margin-bottom: 40px;
    }

    .tabella_prezzi_col_right {
        float: none;
        width: 100%;
        padding-left: 0px;
    }
    
    
    
}


@media only screen and (max-width: 767px), only screen and (max-device-width: 480px), only screen and (max-width: 767px) { 
    
    
    ._header_content {
        width: 90%;
    }
    
    ._header_content .left {
        float: none;
        width: 100%;
        text-align: center;
    }
    
    ._header_content .left img {
        width: 30%;
    }
    
    ._header_content .right {
        float: none;
        width: 100%;
    }
    
    ._header_content ul {
        text-align: center;
    }
    
    ._header_content ul li {
        display: block;
    }
    
    
    
    
    
    .page {
        width: 90%;
    }
    
    #logo img {
        max-width: 70%;
    }
    
    
    .grid_list li {
        width: 80%;
        float: none;
        margin: auto;
    }
    
    
    .bPopup {
        width: 90%;
    }
    
    
    .ar_login_wrapper {
        width: 90%;
    }
    
    
    
    
    .tabella_prezzi_container,
    .ordini_attivi_table_container {
        overflow-x: auto;
        padding: 20px 0px !important;
    }
    
    
    .tabella_prezzi,
    .ordini_attivi_table {
        border: 20px solid white;
    }
    
    
}