
/*
==================================================
RESPONSIVE
==================================================
*/

@media (max-width: 991px) {
    body{}
    
    #header:before,
    #header:after,
    #home_pompe:after,
    #home_box_news:after,
    .box_news:after,
    #cols:after,
    #cols-r:after,
    .prod-list:after,
    .prod-list .box-wrapper .box:after,
    .boxes:after,
    .news_list .box_news:after,
    .allegato .download:after,
    .allegato.allegato-news .allegato-news-download:after,
    .form_row:after,
    #footer:after {
        content: '';
        
        display: table;
        position: relative;
        
        width: 100%;
        height: 0;
        visibility: hidden;
        clear: both;
    }
    
    #container {
        display: block;
        position: relative;
        width: auto;
        margin: 0 15px;
    }
    
    
    /* header */
    #header {
        position: relative;
        height: auto;
        padding: 15px;
    }
    #logo {
        background-repeat: no-repeat;
        background-position: center left;
    }
    .beers-offcanvas #flags{
        position: relative;
        float: none !important;
        right: initial;
        bottom: initial;
        padding: 10px;
    }
    .beers-offcanvas #search{
        display: block;
        position: relative;
        float: none !important;
        right: initial;
        bottom: initial;
        
        padding: 10px;
    }
    .beers-offcanvas #search form{
        display: block;
        position: relative;
    }
    .beers-offcanvas #search #to_search{
        display: block;
        float: none;
        width: 100%;
        margin: 0;
        height: 30px;
        padding-right: 40px;
    }
    .beers-offcanvas #search input[type="submit"]{
        position: absolute;
        float: none;
        top: 0;
        right: 0;
    }
    
    
    /* menu */
    #menu {
        width: auto;
        height: auto;
        padding: 0;
        margin: 0 15px;
    }
    #menu ul{
        width: auto;
        height: auto;
    }
    #menu ul li > a {
        padding: 10px 5px;
        font-size: 11.5px;
    }
    #menu ul li .submenu {
        width: 100%;
        height: auto;
        
        padding: 15px;
        
        box-sizing: border-box;
    }
    #menu ul li .submenu .group {
        width: 33.333333%;
        box-sizing: border-box;
    }
    
    
    /* slideshow */
    .slider-wrapper {
        margin: 10px 15px;
    }
    
    
    /* home pompe */
    #home_pompe {
        display: block;
        position: relative;
        
        width: auto;
        height: auto;
        margin: 0 15px;
    }
    #home_pompe #home_desc{
        display: block;
        position: relative;
        width: auto;
        min-height: 139px;
        
        padding: 0;
        margin-right: 376px;
    }
    #home_pompe .right{
        display: block;
        position: absolute;
        top: 0;
        right: 0;
    }
    #home_pompe #home_box_pompe_1 {
        margin: 0 15px 0 0;
    } 
    #home_pompe #home_box_pompe_2 {
        margin: 0;
    }
    
    
    /* home box search */
    #home_box_search {
        width: auto;
        height: auto;
        padding: 25px 15px;
        background: #1964ae;
    }
    #home_box_search h1 {
        margin-bottom: 25px;
        text-align: center;
    }
    #form_home_search_app, 
    #form_home_search_sett {
        display: block;
        margin-top: 15px;
        text-align: center;
    }
    
    #form_home_search_app .text, 
    #form_home_search_sett .text,
    #form_home_search_app .input,
    #form_home_search_sett .input,
    #form_home_search_app .sep,
    #form_home_search_sett .sep,
    #home_box_search input[type='submit'],
    #form_home_search_sett input[type='submit'] {
        display: inline-block !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 10px 0 0 !important;
        line-height: 27px !important;
        vertical-align: middle !important;
        box-sizing: border-box;
    }
    
    #form_home_search_app .text, 
    #form_home_search_sett .text {
        width: 150px;
        text-align: left;
    }
    #form_home_search_app .input,
    #form_home_search_sett .input {
        width: 180px !important;
        height: 27px !important;
        padding: 0 !important;
    }
    #form_home_search_app .sep,
    #form_home_search_sett .sep {
        width: 12px;
        background-position: center center;
    }
    #home_box_search input[type='submit'],
    #form_home_search_sett input[type='submit'] {
        width: 100px;
        height: 27px;
        margin: 0 !important;
    }
    
    .styled-select,
    select.select,
    span.select{
        display: block;
        width: 100% !important;
        height: 27px !important;
        line-height: 27px !important;
        margin: 0;
        padding: 0;
        border: none;
        box-sizing: border-box;
    }
    .styled-select {
        background-position: right 5px center;
    }
    select.select {
        margin-right: -5px;
    }
    span.select {
        top: 0;
        left: 0;
        padding-left: 5px;
        padding-right: 15px;
        text-align: left;
    }
    
    
    /* home box news */
    #home_box_news {
        width: auto;
        height: auto;
        padding: 20px 5px;
        margin: 0;
    }
    #home_box_news h1 {
        padding: 0 10px;
        margin: 0 0 25px;
        text-align: center;
    }
    #home_box_news .box_news {
        display: block;
        position: relative;
        width: 50%;
        min-height: 1px;
        
        padding: 0 10px;
        margin: 0 0 15px;
        
        box-sizing: border-box;
    }
    #home_box_news .right {
        margin-top: 25px !important;
        margin-right: 10px;
    }
    
    
    /* content */
    #content {
        display: block;
        position: relative;
        
        width: auto;
        min-height: initial;
        
        padding: 15px 15px 0;
        margin: 0;
    }
    #page_title {
        width: auto;
        height: auto;
        padding: 30px 15px;
        margin: 0;
        background: #1964ae;
    }
    
    
    /* columns */
    #cols,
    #cols-r {
        display: block;
        position: relative;
        float: none;
        
        min-height: initial;
        
        margin-right: -10px;
        margin-left: -10px;
        padding: 0;
        
        background: none;
        
        width: auto;
    }
    
    #cols #col_l,
    #cols #col_r,
    #cols-r #col_l,
    #cols-r #col_r {
        display: block;
        position: relative;
        float: left;
        
        min-height: 1px;
        
        padding: 15px 10px 45px;
        margin: 0;
        
        background: none;
        
        box-sizing: border-box;
    }
    #cols #col_r,
    #cols-r #col_l{
        width: 70% !important;
    }
    #cols #col_l,
    #cols-r #col_r{
        width: 30% !important;
    }
    #cols #col_l:after,
    #cols #col_r:after,
    #cols-r #col_l:after,
    #cols-r #col_r:after{
        content: '';
        
        display: block;
        position: absolute;
        top: 0;
        
        width: 0;
        height: 100%;
        
        border-style: solid;
        border-color: #c3c3c3;
        border-width: 0;
    }
    #cols #col_l:after,
    #cols-r #col_l:after{ 
        right: -1px;
        border-right-width: 1px;
    }
    #cols #col_r:after,
    #cols-r #col_r:after{ 
        left: 0;
        border-left-width: 1px;
    }
    
    
    /* sidebar */
    ul.left_menu {
        display: block;
        position: relative;
        width: auto;
    }
    ul.left_menu > li a {
        word-break: break-word;
    }
    #sidebar .box,
    #sidebar .box.faq {
        display: block;
        position: relative;
        width: auto;
        
        padding: 15px 10px;
    }
    #sidebar .box > h2 {
        margin-top: 0;
    }
    
    
    /* products list */
    .prod-list {
        display: block;
        position: relative;
        width: auto !important;
        
        margin-right: -5px;
        margin-left: -5px;
        
        padding-top: 15px;
    }
    .prod-list .box-wrapper {
        display: block;
        position: relative;
        float: left;
        
        width: 50%;
        min-height: 1px;
        
        padding: 0 5px;
        margin: 0 0 10px 0;
        
        background: none;
        
        box-sizing: border-box;
    }
    .prod-list .box-wrapper:nth-child(2n+1){
        clear: both;
    }
    .prod-list .box-wrapper .box{
        display: block;
        position: relative;
        float: none;
        
        width: auto !important;
        height: auto !important;
        
        padding: 5px;
        margin: 0;
    }
    .prod-list .box-wrapper .box a{
        display: block;
    }
    .prod-list .box-wrapper .box img{
        width: 30%;
        margin: 0 10px 0 0;
    }
    .prod-list .box-wrapper .box .desc{
        overflow: hidden;
    }
    .prod-list .box-wrapper .box h2{
        margin-top: 0;
        word-break: break-word;
    }
    
    
    /* product */
    .table-features {
        display: table !important;
        position: relative;
        width: 100%;
        float: none;
        margin: 0;
        padding: 0;
    }
    .table-features .field{
        width: 100%;
    }
    .table-features .field .label,
    .table-features .field .value{
        display: table-cell;
        position: relative;
        width: auto;
        float: none;
    }
    .table-features .field .label{
        width: 70%;
    }
    .table-features .field .value{
        width: 30%;
    }
    
    
    .boxes {
        display: block;
        position: relative;
        width: auto !important;
        
        margin-right: -5px;
        margin-left: -5px;
        
        padding: 0;
    }
    .boxes .box {
        display: block;
        position: relative;
        float: left;
        
        width: 50%;
        min-height: 1px;
        
        padding: 0 5px;
        margin: 0 0 10px 0;
        
        background: none;
        
        box-sizing: border-box;
    }
    .prod-list .box-wrapper:nth-child(2n+1){
        clear: both;
    }
    .prod-scheda .box h3 {
        padding: 5px;
    }
    .prod-scheda .box .group {
        padding: 5px 5px 15px;
        background-color: #f0f0f0;
    }
    
    
    /* news */
    .news_list .box_news {
        display: block;
        position: relative;
        width: auto !important;
        height: auto;
    }
    .news_list .box_news .img-holder{
        display: block;
        position: relative;
        float: left;
        
        max-height: 150px;
        max-width: 250px;
        
        margin: 0 19px 10px 0;
    }
    .news_list .box_news .img-holder a{
        display: block;
        position: relative;
    }
    .news_list .box_news .img-holder img{
        display: block;
        position: relative;
        float: none;
        width: auto !important;
        max-width: 100% !important;
        max-height: initial;
    }
    
    .news_list .box_news .data {
        background: none;
        width: auto;
        height: auto;
        float: none;
        
        padding: 0;
        margin: 0 0 5px !important;
        
        text-align: left;
    }
    .news_list .box_news .data .giorno,
    .news_list .box_news .data .mese,
    .news_list .box_news .data .anno{
        display: inline-block;
        margin-right: 5px;
        font-size: 13px;
        line-height: 16px;
        vertical-align: top;
        text-transform: lowercase;
    }
    .news_list .box_news .data .mese:first-letter{
        text-transform: uppercase;
    }
    .news_list .box_news .text {
        display: block;
        position: relative;
        width: auto !important;
        float: none;
        
        margin: 0;
        
        overflow: hidden;
    }
    
    
    /* download list */
    .download_list {
        display: block;
        position: relative;
        width: auto !important;
        margin: 0;
        padding-top: 15px;
    }
    .allegato,
    .allegato .titolo,
    .allegato .download,
    .allegato.allegato-news .allegato-news-titolo,
    .allegato.allegato-news .allegato-news-download {
        display: block !important;
        position: relative !important;
        width: auto !important;
        float: none !important;
    }
    .allegato {
        margin: 0 0 10px 0;
    }
    .allegato .titolo,
    .allegato.allegato-news .allegato-news-titolo {
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid #EEE;
        word-break: break-word;
    }
    
    
    /* map */
    #map_canvas {
        display: block;
        position: relative;
        width: auto;
        height: 300px;
        
        margin: 15px 0 10px 0;
    }
    
    
    /* forms */
    .form_row {
        display: block;
        position: relative;
        width: auto;
        
        margin-right: -5px;
        margin-left: -5px;
    }
    .form_row .form_col {
        display: block;
        position: relative;
        float: left;
        
        width: 50%;
        min-height: 1px;
        
        padding: 0 5px;
        margin: 0 0 10px 0;
        
        background: none;
        
        box-sizing: border-box;
    }
    .input{
        display: block;
        position: relative;
        width: 100% !important;
        height: auto!important;
        padding: 5px !important;
        margin: 0 !important;
        line-height: 20px;
        box-sizing: border-box;
    }
    textarea.input{
        padding: 5px !important;
    }

    
    /* footer */
    #footer {
        display: block;
        position: relative;
        width: auto;
        height: auto;
        padding: 50px 5px;
        margin: 0;
    }
    #footer .separator{
        max-width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
    #footer .left,
    #footer .box{
        display: block;
        position: relative;
        width: 20% !important;
        min-height: 1px;
        
        padding: 0 10px;
        margin: 0;
        
        box-sizing: border-box;
    }
    #footer .left{
        width: 40% !important;
    }
    #footer .box ul{
        padding: 0;
        margin: 0;
    }
    #footer .box ul li,
    #footer .box span{
        display: block;
        margin: 0 0 10px 0;
    }
    
    [data-top]{
        display: block;
        position: fixed;
        
        width: 32px;
        height: 32px;
        right: -47px;
        bottom: 15px;
        
        color: #FFF;
        line-height: 30px;
        text-align: center;
        vertical-align: middle;
        background: #1964ae;
        
        border: 1px solid #FFF;
        overflow: hidden;
        cursor: pointer;
        z-index: 70;
        
        box-sizing: border-box;
        transition: right .5s ease;
    }
    [data-top] i {
        display: inline-block;
        width: 12px;
        text-align: center;
        font-size: 16px;
    }
    [data-top].in{
        right: 15px;
    }
}



/*
==================================================
XS: Mobile Lanscape
==================================================
*/

@media (max-width: 767px) {    
    body {}
    
    .hidden-xs {
        display: none !important;
    }
    
    #container {
        margin: 0;
        padding-top: 60px;
    }
    
    
    /* header */
    #header {
        display: none;
    }
    #header-mobile{
        display: block;
    }
    
    
    /* menu */
    #menu {
        display: none;
    }
    
    
    /* slideshow */
    .slider-wrapper {
        margin: 10px 15px;
    }
    .slider-wrapper .slider .slide .slide-holder {
        display: block;
        position:relative;
        top:0;
        right:0;
        width: 100%;
        background: rgb(229, 231,220);
        box-sizing: border-box;
    }
    .slider-wrapper .slider .slide .slide-holder h1,
    .slider-wrapper .slider .slide .slide-holder a{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .slider-wrapper .slider .slide .slide-holder p{
        display: none;
    }
    .slider-wrapper .btn-next,
    .slider-wrapper .btn-prev{
        display: none;
    }
    
    /* home pompe */
    #home_pompe {
        padding-bottom: 30px;
    }
    #home_pompe #home_desc{
        min-height: 1px;
        margin: 0 0 15px;
        text-align: center;
    }
    #home_pompe .right{
        display: block;
        position: relative;
        float: none;
        width: 100%;
        text-align: center;
    }
    #home_pompe #home_box_pompe_1,
    #home_pompe #home_box_pompe_2{
        display: inline-block;
        float: none;
        margin: 0 10px;
        vertical-align: top;
    }
    #home_pompe #home_box_pompe_1 {
        margin: 0 10px 15px;
    }
    
    
    /* home box search */
    #home_box_search {
        
    }
    #home_box_search h1 {
        margin-bottom: 25px;
        text-align: center;
    }
    #form_home_search_app, 
    #form_home_search_sett {
        display: block;
        margin-top: 15px;
        text-align: center;
    }
    #form_home_search_app {
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    #form_home_search_app .text, 
    #form_home_search_sett .text,
    #form_home_search_app .input,
    #form_home_search_sett .input,
    #form_home_search_app .sep,
    #form_home_search_sett .sep,
    #home_box_search input[type='submit'],
    #form_home_search_sett input[type='submit'] {
        display: block !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    
    #form_home_search_app .text, 
    #form_home_search_sett .text{
        text-align: center;
    }
    #form_home_search_app .input,
    #form_home_search_sett .input{
        background: #FFF !important;
    }
    #form_home_search_app .sep,
    #form_home_search_sett .sep {
        display: none !important;
    }
    
    
    
    /* home box news */
    #home_box_news {
        
    }
    #home_box_news h1 {
        padding: 0 10px;
        margin: 0 0 25px;
        text-align: center;
    }
    #home_box_news .box_news {
        width: 100%;
        float: none;
    }
    
    
    /* content */
    #content {
        padding-bottom: 30px;
    }
    #content img.with-inner-border{
        display: block;
        position: relative;
        
        width: auto !important;
        height: auto !important;
        max-width: 100%;
    }
    #page_title {
        padding: 15px;
        margin-bottom: 15px;
    }
    #page_title h1,
    #page_title h2 {
        font-size: 16px;
    }
    .main-photo{
        margin: 0 15px 15px 0;
    }
    .list-counter {
        margin: 0;
    }
    
    /* breadcrumb */
    #breadcrumb {
        display: none;
    }
    
    
    /* columns */
    #cols,
    #cols-r {
        margin-right: 0;
        margin-left: 0;
    }
    
    #cols #col_l,
    #cols #col_r,
    #cols-r #col_l,
    #cols-r #col_r {
        width: 100% !important;
        float: none;
        padding: 0 0 15px;
    }
    #cols #col_l:after,
    #cols #col_r:after,
    #cols-r #col_l:after,
    #cols-r #col_r:after{
        content: none;
        display: none;
    }
    
    
    /* sidebar */
    ul.left_menu {
        margin: 0;
    }
    
    
    /* products list */
    .prod-list {
        margin-right: 0;
        margin-left: 0;
    }
    .prod-list .box-wrapper {
        float: none;
        width: 100%;
        padding: 0;
    }
    
    
    /* product */
    .prod-scheda .left{
        display: block;
        position:relative;
        float: none;
    }
    .prod-scheda .main-photo{
        display: block;
        position:relative;
        float: none;
        
        width: auto !important;
        height: auto !important;
        max-width: 100%;
    }
    .prod-scheda h1 {
        margin-top: 24px;
    }
    .table-features .field .label{
        width: 60%;
    }
    .table-features .field .value{
        width: 40%;
    }
    
    
    .boxes {
        margin-right: 0;
        margin-left: 0;
    }
    .boxes .box {
        float: none;
        width: 100%;
        padding: 0;
    }
    .prod-list .box-wrapper:nth-child(2n+1){
    }
    .prod-scheda .box h3 {
    }
    .prod-scheda .box .group {
    }
    
    
    /* news */
    .data  {
        margin-right: 15px !important;
    }
    .news_list {
        padding-top: 15px;
    }
    .news_list .box_news:first-child {
        padding-top: 0;
    }
    .news_list .box_news .data {
        background: none;
        width: auto;
        height: auto;
        float: none;
        
        padding: 0;
        margin: 0 0 5px !important;
        
        text-align: left;
    }
    .news_list .box_news .data .giorno,
    .news_list .box_news .data .mese,
    .news_list .box_news .data .anno{
        display: inline-block;
        margin: 0;
        font-size: 13px;
        line-height: 16px;
        vertical-align: top;
        text-transform: lowercase;
    }
    .news_list .box_news .data .mese:first-letter{
        text-transform: uppercase;
    }
    .news_list .box_news .img-holder{
        width: 20%;
    }
    
    
    /* forms */
    .form_row {
        margin-right: 0;
        margin-left: 0;
        margin: 0;
    }
    .form_row .form_col {
        float: none;
        width: 100%;
        padding: 0;
        margin-bottom: 10px;
    }
    input.input {
        float: none !important;
    }

    
    /* footer */
    #footer {
        margin: 0;
    }
    #footer .left{
        width: 100% !important;
        padding: 0 15px;
        
        text-align: center;
        
        box-sizing: border-box;
    }
    #footer .box{
        display: none;
    }
}



/*
==================================================
XXS: Mobile Portrait
==================================================
*/

@media (max-width: 480px) {
    
}