

/* MOBILE HEADER
---------------------------------------------------*/
body .page header.mobile{
    display: none;
    position: absolute;
    width: 100%;
    top: 0;
}
body .page header.mobile .wrapper{
    display: block;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px;
    
    background: #000;
    border-bottom: 1px solid #c20000;
    box-shadow: 2px 3px 4px rgba(0,0,0,0.15);
    
    z-index: 100;
}
body .page header.mobile .inner{
    display: block;
    position: relative;
    width: 100%;
    height: 37px;
}
body .page header.mobile .inner .brand,
body .page header.mobile .inner .menu{
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    height: 37px;
    line-height: 37px;
    overflow: hidden;
}
body .page header.mobile .inner .brand{
    display: block;
    position: relative;
    
    right: 57px;
    left: 0;
    
    width: auto;
    max-width: 204px;
    height: 37px;
    margin: 0;

    background-image: url(../images/logo_dimsport_204_46.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;

    text-indent: -9999px;
    overflow: hidden;
}
body .page header.mobile .inner .menu{
    right: 0;
    width: 37px;
    padding: 0;
    margin: 0;
    
    font-size: 22px;
    border: none;
    
    color: #c20000;
    border: 1px solid #c20000;
    background: transparent;
    outline: none;
}


/* MOBILE NAVBAR
---------------------------------------------------*/
.beers-offcanvas-menu{
    padding: 20px;
}

.beers-offcanvas .beers-offcanvas-bar{
    background: #000;
}
.beers-offcanvas-menu a{
    text-decoration: none !important;
}
.beers-offcanvas-menu ul{
    position: relative;
    padding: 0;
    
    list-style: none;
}
.beers-offcanvas-menu > ul{
    margin-bottom: 25px;
}
.beers-offcanvas-menu ul li{
    display: block;
    position: relative;
    line-height: 26px; 
}

.beers-offcanvas-menu .mobile-navbar-main ul {
    margin: 0 auto 35px;
}
.beers-offcanvas-menu .mobile-navbar-main ul li{
    display: block;
    position: relative;
    
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
    line-height: 36px; 
    
    text-transform: uppercase;
    vertical-align: middle;
    
    border-bottom: 1px solid #c20000;
}
.beers-offcanvas-menu .mobile-navbar-main ul li a{
    display: block;
    position: relative;
    line-height: 36px; 
    color: #FFF;
}
.beers-offcanvas-menu .mobile-navbar-main ul li a.active{
    color: #c20000;
}

.beers-offcanvas-menu .mobile-navbar-main ul ul li{
    border-bottom: none;
}
.beers-offcanvas-menu .mobile-navbar-main ul ul li a{
}
.beers-offcanvas-menu .mobile-navbar-main ul ul li:last-child{
    border-bottom: none;
}

.beers-offcanvas-menu .mobile-navbar-second{
    display: block;
    position: relative;
    padding: 0;
    margin-bottom: 25px;
}
.beers-offcanvas-menu .mobile-navbar-second a{
    display: block;
    position: relative;
    font-size: 16px;
    padding: 0 15px 0 0;
}

.beers-offcanvas-menu .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    float: none;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    list-style: none;
    background-color: transparent;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.beers-offcanvas-menu .dropdown-menu a,
.beers-offcanvas-menu .dropdown-menu a:hover {
    padding: 0;
    padding-left: 25px;
    border-bottom: 1px solid #111;
    background: #222;
}

/* scroll top */
[data-top]{
    display: none;
    position: fixed;
    
    width: 37px;
    height: 37px;
    right: -47px;
    bottom: 15px;
    
    color: #c20000;
    border: 1px solid #c20000;
    background: #000;
    overflow: hidden;
    cursor: pointer;
    z-index: 500;
    
    transition: right .5s ease;
}
[data-top] i{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-left: 100%;
    
    text-align: center;
    vertical-align: middle;
    line-height: 35px;
    
    transition: margin-left .5s ease;
}
[data-top].in{
    right: 15px;
}
[data-top].in i{
    margin-left: 0;
}

/* misc */
.table-mobile{
    display: none !important;
}

.loader-wrapper {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    
    background: rgba(0,0,0,0.25);
}
.loader-wrapper .loader{
    display: block;
    position: absolute;
    width: 100%;
    top: 50%;
    margin: -20px 0 0;
    text-align: center;
}
.loader-wrapper .loader .inner{
    display: inline-block;
    position: relative;
    line-height: 22px;
    
    padding: 8px 15px;
    
    background: #FFF;
    border: 1px solid #DDD;
    border-radius: 2px;
}


/*
=====================================================
NOT LARGE
=====================================================
*/

@media (max-width: 1199px) { 
        
    .container,
    body .page .container {
        width: auto !important;
        margin: 0 15px;
    }
    
    body #wrapper {
        display: block;
        position: relative;
        width: 100%;
        min-height: 0;
        
        background-image: none !important;
    }
    body.page-full #wrapper {
        min-height: 100%;
        background-image: url('../images/bg_black.jpg') !important;    
    }
    
    body .page {
        height: auto !important;
        min-width: 0;
    }
    
    /* helpdesk */
    #helpdesk-opener,
    #popup-opener{
        display: none;
    }
    
    /* news */
    #news.container {
        width: 100% !important;
        padding-bottom: 35px;
    }
    #news .condensed-title p{
        text-align: center;
    }
    #news .isotope .filter .filter-btn{
        margin-right: 5px;
        margin-bottom:  5px;
    }
    .isotope .list .item{
        width: 24%;
    }
    
    [data-top]{
        display: block;
    } 



/*
=====================================================
NOT MEDIUM OR LARGE
=====================================================
*/

@media (max-width: 991px) {
    
    /* document */
    * {
        box-sizing: border-box !important;
    }
    
    .container img{
        display: block;
        max-width: 100%;
    }
    .container iframe{
        display: block;
        max-width: 100%;
        margin: auto;
    }
    
    table td{
        padding: 10px;
    }
    
    .form-control {
        height: auto;
        line-height: 22px;
        background: #FFF;
    }
    
    .container,
    body .page .container {
		margin: 0;
    }


    /* logos */
    .logo-dimsport,
    .logo-dimsport-big,
    .logo-dimsport-345-59,
    .logo-dimsport-es-big,
    .logo-dimsport-es-345-59,
    .logo-dimsport-br-big,
    .logo-dimsport-br-345-59,
    .logo-dimsport-usa-big,
    .logo-dimsport-usa-345-59,
    .logo-holdim-big,
    .logo-ecomotive,
    .logo-rapidbike-big,
    
    .tuning-line-solo,
    .tuning-line-solo-big,
    .tuning-line-enjoy,
    .tuning-line-tune-up,
    .tuning-line-save-fuel,
    .tuning-line-maximize,
    .tuning-line-enhance{
        width: 100%;
        background-size: contain;
        background-position: center center;
    }
    
    .logo-dimsport {
        max-width: 259px;
    }
    .logo-dimsport-big,
    .logo-dimsport-es-big,
    .logo-dimsport-br-big,
    .logo-dimsport-usa-big{
        max-width: 508px;
    }
    .logo-dimsport-345-59,
    .logo-dimsport-es-345-59,
    .logo-dimsport-br-345-59,
    .logo-dimsport-usa-345-59 {
        max-width: 345px;
    }
    .logo-holdim-big {
        max-width: 497px;
    }
    .logo-ecomotive {
        max-width: 261px;
    }
    .logo-rapidbike-big{
        max-width: 465px;
    }
    
    .tuning-line-solo{
        max-width: 90px; 
    }
    .tuning-line-solo-big{
        max-width: 176px;
    }
    .tuning-line-enjoy{
        max-width: 168px;
    }
    .tuning-line-tune-up{
        max-width: 265px;
    }
    .tuning-line-save-fuel{
        max-width: 272px;
    }
    .tuning-line-maximize{
        max-width: 403px;
    }
    .tuning-line-enhance{
        max-width:581px;  
    }
    
    
    /* splashpage */
    body.page-splashpage {
        height: auto !important;
        min-height: 1px !important;
    }
    body.page-splashpage #wrapper{
        width: auto;
        height: auto;
    }
    body.page-splashpage header > div {
        width: 100%;
        position: relative;
        text-align: center;
        top: initial;
        right: initial;
        bottom: initial;
        left: initial;
    }
    
    /* splashpage dimsport */
    body.page-splashpage.page-key-02 header{
        width: 100%;
        height: auto;
        top: 0;
        padding: 100px 15px 50px;
        margin: 0;
    }
    body.page-splashpage.page-key-02 header > div.dimsport .prelogo,
    body.page-splashpage.page-key-02 header > div.dimsport .prelogo span{
        text-align: center;
        margin: 0;
    }
    body.page-splashpage.page-key-02 header > div.holdim {
        width: 100%;
        right: 0;
        bottom: 0;
        text-align: center;
    }
    
    body.page-splashpage #dimsport-nav-content,
    body.page-splashpage.page-key-02 #dimsport-nav-content{
        display: block;
        position: relative;
        width: auto;
        height: auto;
        margin: 20px auto 0 !important;
        top: initial;
        right: initial;
        bottom: initial;
        left: initial;
    }
    body.page-splashpage #dimsport-nav-content a{
        display: inline-block;
        position: relative;
        margin: 10px 10px 0!important;
        padding: 0;
        left: initial;
        opacity: 1;
    }
    
    /* splashpage holdim */
    body.page-splashpage.page-key-01 header{
        width: 100%;
        height: auto;
        top: 0;
        padding: 100px 15px;
        margin: 0;
    }
    body.page-splashpage.page-key-01 header > div.holdim,
    body.page-splashpage.page-key-01 header > div.dimsport,
    body.page-splashpage.page-key-01 header > div.ecomotive{
        display: block;
        position: relative;
        width: 100%;
        top: initial;
        right: initial;
        bottom: initial;
        left: initial;
        text-align: center;
    }
    body.page-splashpage.page-key-01 header > div.holdim{
        margin-bottom: 80px;
    }
    
    /* splashpage rapidbike */
    body.page-splashpage.page-key-_03 header{
        width: 100%;
        height: auto;
        top: 0;
        padding: 100px 15px;
        margin: 0;
    }
    body.page-splashpage.page-key-_03 header > div.prelogo,
    body.page-splashpage.page-key-_03 header > div.prelogo span{
        font-size: 14px;
        text-align: center;
        margin: 0;
    }
    body.page-splashpage.page-key-_03 header > div.rapidbike{
        width: 100%;
        height: auto;
        top: 0;
        margin: 0;
    }
    body.page-splashpage.page-key-_03 header > div.dimsport {
        width: 100%;
        right: 0;
        bottom: 0;
        text-align: center;
    }
    
    /* splashpage footer */
    body.page-splashpage footer{
        position: relative;
    }
    body.page-splashpage footer section.top .col-m .news-title,
    body.page-splashpage footer section.top .col-o-r .news-title{
        margin-left: 10px;
    }
    body.page-splashpage footer section.top .col-o-r .news-list{
        max-width: none;
    }
    body.page-splashpage footer section.top {
        height: auto;
        padding: 15px;
        background-color: #d8d9da;
    }
    body.page-splashpage footer section.top .col-m .news-list {
        max-width: auto;
    }
    body.page-splashpage footer section.top .col-m .news-list a, 
    body.page-splashpage footer section.top .col-o-r .news-list a {
        white-space: normal;
    }
    body.page-splashpage footer section.bottom{
        height: auto;
    }
    
    
    /* vehicle-nav-wrapper */
    section.vehicle-nav-wrapper {
        height: auto;
        padding: 15px;
    }
    section.vehicle-nav-wrapper .vehicle-nav,
    section.vehicle-nav-wrapper .vehicle-nav.vehicle-nav-rapidbike {
        width: 100%;
    }
    section.vehicle-nav-wrapper .vehicle-nav .title,
    section.vehicle-nav-wrapper .vehicle-nav.vehicle-nav-rapidbike .title, 
    section.vehicle-nav-wrapper .vehicle-nav ul li figcaption,
    section.vehicle-nav-wrapper .vehicle-nav.vehicle-nav-rapidbike ul li figcaption{
        text-align: center;
    }
    section.vehicle-nav-wrapper .vehicle-nav ul,
    section.vehicle-nav-wrapper .vehicle-nav.vehicle-nav-rapidbike ul{
        padding: 0;
        margin: 0;
        font-size: 0;
        text-align: center;
    }
    section.vehicle-nav-wrapper .vehicle-nav ul li,
    section.vehicle-nav-wrapper .vehicle-nav.vehicle-nav-rapidbike ul li{
        display: inline-block;
        position: relative;
        float: none;
        width: 33.3332%;
        text-align: center;
        padding: 0;
        margin-top: 15px;
    }
    section.vehicle-nav-wrapper .vehicle-nav ul li + li,
    section.vehicle-nav-wrapper .vehicle-nav.vehicle-nav-rapidbike ul li + li{
    }
    section.vehicle-nav-wrapper .vehicle-nav ul li figure,
    section.vehicle-nav-wrapper .vehicle-nav.vehicle-nav-rapidbike ul li figure{
        margin: auto !important;
    }
    body .page .vehicle-nav-wrapper {
        display: block;
        position: relative;
        width: 100%;
        bottom: initial;
    }
    
    /* news */
    #news.container {
        width: 100% !important;
        padding-bottom: 35px;
    }
    #news .condensed-title p{
        text-align: center;
    }
    #news .isotope .filter .filter-btn{
        margin-right: 5px;
        margin-bottom:  5px;
    }
    .isotope .list .item{
        float: none;
        width: 48.5%;
        margin: 0 0 15px;
    }
    
    /* helpdesk */
    #helpdesk-opener,
    #popup-opener{
        display: none;
    }
    
    
    /* header */
    body .page header{
        display: none;
    }
    body .page header.mobile{
        display: block;
    }


    /* wrapper */
    body .page {
        height: auto !important;
        min-width: 0;
    }
    body #wrapper {
        padding-top: 68px;
    }
    body.vehicle-foot #wrapper{
        padding-bottom: 0;
    }
    
    /* page */
    body .page .main .sidebar {
        display: block;
        position: relative;
        float: none;
        width: 100%;
        margin: 0 !important;
        padding: 0;
    }
    body .page .main .sidebar .opener {
        display: block;
    }
    body .page .main .sidebar .navi {
        display: none;
        padding: 15px 0;
        margin-bottom: 0 !important;
    }
    body .page .main .sidebar .navi > li{
        min-height: 34px;
        height: auto;
    }
    body .page .main .sidebar .navi > li > a:hover,
    body .page .main .sidebar .navi > li > a:hover span{
        font-weight: normal;
        background: transparent;    
    }
    
    body .page .main .sidebar .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        float: none;
        min-width: 160px;
        padding: 5px 0;
        margin: 2px 0 0;
        font-size: 14px;
        list-style: none;
        background-color: transparent;
        border: none;
        border-radius: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    body .page .main .sidebar .dropdown-menu a {
        padding: 0;
        padding-left: 25px;
        background: #222;
        color: #FFF;
        line-height: 34px;
        border: none;
    }
    body .page .main .sidebar .dropdown-menu a span{
        border: none !important;
    }

    body .page .main .sidebar .bottom {
        display: none;
    }
    
    /* content */
    body .page .main .content{
        margin: 0;
        min-height: 1px !important;
    }
    body .page .main .content > .inner,
    body .page.page-race .main .content > .inner, 
    body .page.page-rapid .main .content > .inner,
    body .page .main .content.content-full > .inner{
        padding: 15px !important;
    }
    body .page .main .content .content-logo{
        margin: 0 auto 15px;
    }
    
    /* page contact */
    .page-contact .condensed-title{
        margin-top: 25px;
    }
    .page-contact .form-inline input{
        display: block;
        float:left;
        width: 20px;
        height: 20px;
        margin: 0 5px 5px 0;
        vertical-align: middle;
    }
    .page-contact .form-inline label{
        display: block;
        overflow: hidden;
    }
    #contact-form .form-control-wrapper-l,
    #contact-form .form-control-wrapper-r {
        margin: 0 5px;
    }
    
    /* validation engine */
    .formError {
        display: block;
        top: initial !important;
        left: initial !important;
        right: 0;
        text-align: left;
        cursor: pointer;
    }
    .formError .formErrorArrow {
        display: none;
    }
    
    /* footer */
    body .page footer {
        position: relative;
        bottom: 0;
        width: 100%;
        height: auto;
        padding: 15px;
        z-index: 30;
    }
    body .page footer ul.navi{
        padding: 0;
        margin: 0;
    }
    footer section.bottom span {
        display: block;
        padding: 0 15px;
        white-space: normal !important;
    }
    footer section.bottom .languages {
        display: block;
        width: 100%;
        height: auto;
        margin: 15px 0 !important;
    }
    
    /* misc */
    .btn-iscriviti{
        height: 22px;
    }
} 



/*
=====================================================
LARGE
=====================================================
*/

@media (min-width: 1200px) { 

} 



/*
=====================================================
MEDIUM
=====================================================
*/

@media (min-width: 992px) and (max-width: 1219px) { 

} 



/*
=====================================================
SMALL
=====================================================
*/

@media (min-width: 768px) and (max-width: 991px) {
} 



/*
=====================================================
EXTRA SMALL
=====================================================
*/

@media (max-width: 767px) {
    
    .container img,
    .container iframe{
        max-width: 100%;
        height: auto !important;
    }
    
    body.wait .loader-wrapper{
        display: block;
    }

    body .page .main .content img.img-responsive,
    body .page .main .content img.pull-left,
    body .page .main .content img.pull-right,
    body .page .main .content .img-hover{
        display: block;
        float: none !important;
        margin: 0 auto 15px;
    }
    
    .dimsport-race,
    .dimsport-rapidbig,
    .dimsport-rapidbikebig,
    .dimsport-dynobig{
        display: block;
        margin: auto;
    }
    
    /* table logo */
    body .page .main .content .table-logo,
    body .page .main .content .table-logo.condensed,
    
    body .page .main .content .table-layout,
    
    body .page .main .content .table-download,
    
    body .page.page-locations table.locations{
        display: block;
        position: relative;
        margin: 0 auto 15px;
    }
    
    body .page .main .content .table-logo thead,
    body .page .main .content .table-logo tbody,
    body .page .main .content .table-logo tr,
    body .page .main .content .table-logo td,
    
    body .page .main .content .table-layout thead,
    body .page .main .content .table-layout tbody,
    body .page .main .content .table-layout tr,
    body .page .main .content .table-layout td,
    
    body .page .main .content .table-download thead,
    body .page .main .content .table-download tbody,
    body .page .main .content .table-download tr,
    body .page .main .content .table-download td,
    
    body .page.page-locations table.locations thead,
    body .page.page-locations table.locations tbody,
    body .page.page-locations table.locations tr,
    body .page.page-locations table.locations td{
        display: block;
        position: relative;
        width: 100% !important;
        text-align: center;
    }
    
    body .page .main .content .table-logo td + td,
    body .page .main .content .table-layout td + td,
    body .page .main .content .table-download tr + tr{
        margin-top: 15px;
    }
    
    /* table logo */
    body .page .main .content .table-logo td figure{
        margin: auto;
    }
    
    /* table download */
    body .page .main .content .table-download tr td {
        border: none;
        padding: 10px;
    }
    
    /* table misc */
    .table-mobile{
        display: table !important;
    }
    .table-mobile thead td{
        padding: 15px 0 !important;
        text-align: center;
    }
    .table-not-mobile{
        display: none !important;
    }
    
    
    /* vehicle nav */
    
    section.vehicle-nav-wrapper .vehicle-nav .title {
        padding-right: 30px;
        cursor: pointer;
    }
    section.vehicle-nav-wrapper .vehicle-nav .title:after{
        content: '\f0d7';
        display: block;
        position: absolute;
        font-family: 'FontAwesome';
        right: 15px;
        top: 0;
    }
    section.vehicle-nav-wrapper .vehicle-nav.open .title:after{
        content: '\f0d8';
    }
    
    section.vehicle-nav-wrapper .vehicle-nav ul{
        display: none;
        margin-top: 0;
        overflow: hidden;
        transition: margin-top .6s ease;
    }
    section.vehicle-nav-wrapper .vehicle-nav.open ul {
        margin-top: 15px;
    }
    section.vehicle-nav-wrapper .vehicle-nav ul li{
        display: block;
        width: 100%;
        margin: 0;
    }
    section.vehicle-nav-wrapper .vehicle-nav ul li figure{
        display: none;
    }
    section.vehicle-nav-wrapper .vehicle-nav ul li figcaption{
        padding: 0;
        font-size: 18px;
        line-height: 36px;
        border-top: 1px dotted #CCC;
    }
    
    /* figdesc */
    .figdesc li .fig,
    .figdesc li .desc {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    .figdesc li .fig{
        text-align: center;
    }
    
    /* dialog */
    .modal-dialog,
    .modal-dialog .modal-content{
        width: 100% !important;
        margin: 0;
        border-radius: 0;
        padding: 0;
    }
    .modal-header .close {
        position: relative;
        margin:0 auto 15px;
        text-align: center;
        top: initial;
        right: initial;
    }
    .modal-header .condensed-title{
        text-align: center;
    }
    
    /* validation engine */
    .formError {
        display: block;
        position: relative !important;
        float: right;
        top: initial !important;
        left: initial !important;
        margin: 0 0 10px!important;
        text-align: left;
        cursor: pointer;
    }
    .formError .formErrorArrow {
        display: none;
    }
    
    /* tuning */
    .btn-download-pdf {
        margin-bottom: 15px;
    }
    
    #tuning #filter .form-group label {
        display: none;
    }
    #tuning #filter .form-group label,
    #tuning #filter .form-group .form-control-wrapper {
        width: 100%;
        text-align: left;
    }
    #tuning #filter .form-group.form-checkbox label,
    #tuning #filter .form-group.form-checkbox .form-control-wrapper {
        display: inline-block;
    }
    
    /* footer */
    body.page-splashpage footer section.top .inline-middle:before {
        content: none;
    }
    body.page-splashpage footer section.top .col-l,
    body.page-splashpage footer section.top .col-r {
        width: 50%;
        height: auto;
        text-align: center;
    }
    body.page-splashpage footer section.top .col-m,
    body.page-splashpage footer section.top .col-o-r {
        clear: both;
        margin: 0;
        height: auto;
        border: none;
    }
    body.page-splashpage footer section.top .col-m .news-title,
    body.page-splashpage footer section.top .col-o-r .news-title {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-top: 30px;
    }
    
    body .page footer {
        padding: 0;
    }
    body .page footer .col-foot{
        padding: 15px;
        text-align: center
    }
    body .page footer .col-foot:nth-child(2n) {
        
        background-color: #8D8D8D;
    }
}



/*
=====================================================
EXTRA EXTRA SMALL
=====================================================
*/

@media (max-width: 480px) {
    
    .isotope .list .item{
        float: none;
        width: 100%;
        margin: 0 0 15px;
    }
    
    body.page-splashpage.page-key-01 header > div.partners a{
        margin: 0 0 15px !important;
    }
} 


@media (max-width: 350px) {
    [class^="dimsport-racebig"],
    [class*=" dimsport-racebig"],
    [class^="dimsport-rapidbig"],
    [class*=" dimsport-rapidbig"],
    [class^="dimsport-rapidbikebig"],
    [class*=" dimsport-rapidbikebig"],
    [class^="dimsport-dynobig"],
    [class*=" dimsport-dynobig"]{
        zoom:0.60;
        -moz-transform:scale(0.60);
        -moz-transform-origin: 0 0;
    }
} 
