/*
============================================================
MD 
============================================================
*/

@media (max-width : 1199px) {
    body{}
    
    
    
    
    /* TREADING BLOCK
    ----------------------------------------------------*/
    .treading-block {
        margin:0 0 15px 0;
    }
    .treading-block .detail-wrap .detail-content h3  {
        font-size: 22px;
    }
    
    .detail-wrap .detail-content .detail-bar{
        overflow: hidden;
        font-size: 0;
    }
    .detail-wrap .detail-content .detail-bar li{
        margin: 0 2px 2px 0 !important;
        padding: 0 4px;
        line-height: 38px;
    }
    
    
    /* PAGE TITLE
    ----------------------------------------------------*/
    .pagetitle {
        height: 185px;
        margin: 0 0 15px 0;
    }
    
    .pagetitle h1, .pagetitle h2, .pagetitle h3,
    .pagetitle h4, .pagetitle h5, .pagetitle h6 {
        font-size: 32px;
        margin: 30px 0 15px;
        padding: 0 30px;
    }
    .pagetitle p {
        padding: 0 30px;
    }
    
    
    /* FILTER BLOCK
    ----------------------------------------------------*/
    ul.filter {
        margin-right: -15px;
    }
    ul.filter > li {
        display: block;
        position: relative;
        margin: 0;
    }
    ul.filter > li.col-1 {
        width: 25%;
    }
    ul.filter > li.col-2 {
        width: 50%;
        margin-bottom: 15px;
    }
    
    ul.filter > li form,
    ul.filter > li .form {
        display: block;
        position: relative;
        width: auto;
        margin-right: 15px;
    }
    ul.filter > li form input,
    ul.filter > li .form select,
    ul.filter > li.autocomplete input[type="text"] {
        width: 100%;
    }
    ul.filter > li.autocomplete  {
        padding-right: 15px;
    }
    .chosen-container {
        display: block;
        position: relative;
        min-width: inherit;
        width: auto;
    }
    .autocomplete .autocomplete-result-wrapper{
        width: 100%;
    }
    
    
    /* GRID LIST
    ----------------------------------------------------*/
    
    /* filter */
    .grids .grids-filter li{
        font-size:15px;
    }
    .grids .grids-filter li a {
        padding:0 10px;
    }
    
    /* container */
    .grids .grids-container .grids-item .grids-content .grids-title .expo-title{
        font-size: 20px;
    }
    
    
    /* LOGO
    ----------------------------------------------------*/
    #logo a{
        width: 400px;
        height: 53px;
    }
    
    
    /* MENU
    ----------------------------------------------------*/
    #menu .menu li a{
        display: block;
        
        padding: 12px 5px 17px;
        margin: 0;
        font-size: 10px;
        font-weight: normal;
    }
    
    
    /* 404
    ----------------------------------------------------*/
    #error404-left h1,
    #error404-left h1 i{
        font-size: 58px;
    }
    
}


@media (min-width : 992px) and (max-width : 1199px) {
    body {}
    
    
    header .menu .nav li a {    
        padding: 0 15px 6px;
        font-size: 13px;
        line-height: 44px;
    }
    


    /* BIG SLIDER
    ----------------------------------------------------*/
    .slider-big .slider-main {
        width: 75%;
    }
    .slider-big .slider-main .slider-main-inner .slide .slide-content .title{
        font-size: 36px;
        line-height: 42px;
    }
    .slider-big .slider-aside {
        width: 25%;
    }
        
}

@media (min-width : 1200px) and (max-width : 1215px) {
    header .menu .nav li a {    
        padding: 0 20px 6px;
        /*font-size: 13px;
        line-height: 44px;*/
    }
}


/*
============================================================
SM
============================================================
*/

@media (max-width: 991px) {
    body{}
    
    
    /* WRAPPER
    ----------------------------------------------------*/
    #wrapper {
        margin-top: 70px;
    }
    body.ps-active #wrapper{
        margin: 0;
    }
    
    
    /* HEADER
    ----------------------------------------------------*/
    body.menu-open {
        overflow: hidden;
    }
    header{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        
        width: 100%;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        
        z-index: 100;
    }
    body.menu-open header{
        height: 100%;
        background: rgba(0,0,0,0.9);
        overflow-y: scroll;
    }
    header .header-content {
        padding-top: 10px;
        padding-bottom: 10px;
        background: #FFF;
        transition: box-shadow .6s ease;
    }
    header.header-shadow .header-content{
        box-shadow: 0 2px 6px rgba(0,0,0,0.2); 
    }
    header .header-content .header-main {
        position: relative;
        margin: 0 65px 0 0;
        height: 50px;
        padding: 0;
        line-height: 50px;
    }
    header .header-content .header-main .brand {
        display: inline-block;
        position: relative;
        width: 100%;
        max-width: 300px;
        height: 40px;
        margin: 0;
        background-size: 100%;
        background-position: center left;
        vertical-align: middle;
    }
    header .header-content .header-main .mo-social {
        display: none;
    }
    header .header-content .menu{
        display: none;
        float: none;
        background: #FFF;
        margin: 10px 0 0;
    }
    header .header-content .menu ul {
        position: relative !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    header .header-content .menu ul ul {
        background-color: #DDD;
        margin-top: 0 !important;
    }
    header .header-content .menu li{
        display: block;
        position: relative;
    }
    header .header-content .menu li a{
        display: block;
        padding: 10px 15px !important;
        font-size: 12px;
        font-weight: bold;
        line-height: normal;
    }
    header .header-content .menu li{
        display: block;
        float: none;
    }
    header .header-content .menu li:first-child{
        margin-left: 0;
    }
    
    header .header-content .nav.nav-language {
        margin-top: 0;
        margin-bottom: 0;
    }
    
    
    /* MENU
    ----------------------------------------------------*/
    #menu-trigger {
        display: block;
        position: relative;
        float: right;
        width: 50px;
        height: 50px;
        line-height: 50px;
        color: #FFF;
        background: #370100;
        text-align: center;
        cursor: pointer;
    }
    
    
    /* POST
    ----------------------------------------------------*/
    .post-single .post-single-head .back {
        display: none;
    }
    .post-single .post-single-head h3 {
        font-size: 28px;
        line-height: 36px;
        margin: 0 0 10px;
    }
    
    
    /* 404
    ----------------------------------------------------*/
    #error404-left{
        margin-bottom: 30px;
    }
    #error404-right .panel{
        margin-top: 0;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    body{}
    
    
    h1,h2,h3 {
        font-size: 30px;
    }
    
    
    /* LIST VIDEO
    ----------------------------------------------------*/
    .list-video .video-item,
    .post .post-links .list-video .video-item{
        display: block;
        position: relative;
        float: left;
        width: 50%;
    }
    .list-video .video-item .video-item-inner,
    .post .post-links .list-video .video-item .video-item-inner{
        margin: 0 8px;
    }
    .list-video .video-item:nth-child(2n+1),
    .post .post-links .list-video .video-item:nth-child(2n+1){
        clear:both;
    }


    /* BIG SLIDER
    ----------------------------------------------------*/
    .slider-big {
        padding-bottom: 15px;
        margin-bottom: 15px;
        border-bottom: 4px solid #370100;
    }
    .slider-big .slider-main{
        float:none;
        width: 100%;
    }
    .slider-big .slider-main .slider-main-inner .slide .slide-content .title{
        font-size: 36px;
        line-height: 42px;
    }
    .slider-big .slider-aside{
        display: none;
    }
    
    
    /* TREADING BLOCK
    ----------------------------------------------------*/
    .treading-block .detail-wrap .detail-content h3  {
        font-size: 22px;
    }
    
    
    /* PAGE TITLE
    ----------------------------------------------------*/
    .pagetitle {
        height: 185px;
        margin: 0 0 15px 0;
    }
    
    .pagetitle h1, .pagetitle h2, .pagetitle h3,
    .pagetitle h4, .pagetitle h5, .pagetitle h6 {
        font-size: 22px;
        margin: 30px 0 15px;
        padding: 0 30px;
    }
    .pagetitle p {
        padding: 0 30px;
    }
    
    
    /* POST
    ----------------------------------------------------*/
    .post .post-media .post-media-main-wrap.has-aside{
        width: 100%;
        float: none;
    }
    .post .post-media .post-media-aside-wrap{
        display: none;
    }
    
    
    /* GRID LIST
    ----------------------------------------------------*/
    
    /* filter */
    .grids .grids-filter li{
        font-size:15px;
    }
    .grids .grids-filter li a {
        padding:0 10px;
    }
    
    /* container */
    [class*="block-grid-"].no-wrap{
        margin: 0 -8px;
    }
    .large-block-grid-3 > li{
        width: 50%;
        padding: 0 8px 16px
    }
    
}



/*
============================================================
XS 
============================================================
*/

@media (max-width: 767px) {
    body{}
    
    
    h1,h2,h3 {
        font-size: 22px;
    }
    
    
    /* WRAPPER
    ----------------------------------------------------*/
    header,
    #main{
        max-width: 767px;
    }
    .row .row {
        margin: 0 -10px;
    }
    .columns {
        padding: 0 10px;
    }
    
    
    /* MENU
    ----------------------------------------------------*/
    #menu .menu-trigger{
        padding: 5px 10px;
        
    }
    #menu .menu li a{
        padding: 10px;
    }
    
    
    /* FORMS
    ----------------------------------------------------*/
    form .radio-ui label {
        padding: 0 7px;
    }
    
    ul.filter > li.autocomplete {
        padding-right: 0;
    }
    
    
    /* ASIDE
    ----------------------------------------------------*/
    aside.widget.widget-black{
        padding: 20px;
    }
    aside.widget .button {
        text-align: center;
    }
    
    
    /* LIST VIDEO
    ----------------------------------------------------*/
    .list-video .video-item,
    .post .post-links .list-video .video-item{
        display: block;
        position: relative;
        float: none;
        width: 100%;
    }
    .list-video .video-item .video-item-inner,
    .post .post-links .list-video .video-item .video-item-inner{
        margin: 0 0 15px;
    }
    .list-video .video-item:nth-child(2n+1),
    .post .post-links .list-video .video-item:nth-child(2n+1){
        clear:none;
    }
    

    /* BIG SLIDER
    ----------------------------------------------------*/
    .slider-big {
        padding-bottom: 15px;
        margin-bottom: 15px;
        border-bottom: 4px solid #370100;
    }
    .slider-big .slider-main{
        float:none;
        width: 100%;
    }
    .slider-big .slider-main .slider-main-inner .slide .slide-image{
        overflow: hidden;
    }
    .slider-big .slider-main .slider-main-inner .slide .slide-image img{
        display: block;
        position: relative;
        width: auto;
        max-width: none;
        height: 350px;
    }
    .slider-big .slider-main .slider-main-inner .slide .slide-content{
        padding: 15px;
    }
    .slider-big .slider-main .slider-main-inner .slide .slide-content .title{
        font-size: 22px;
    }
    .slider-big .slider-aside{
        display: none;
    }
    .owl-controls {
        bottom: 15px;
        right: 10px;
    }
    .owl-theme .owl-controls .owl-dots .owl-dot span {
      width: 8px;
      height: 8px;
    }
    
    
    /* TREADING BLOCK
    ----------------------------------------------------*/
    .treading-block {
        margin:0 0 15px 0;
    }
    .treading-block .detail-wrap .detail-content h3  {
        font-size: 22px;
    }
    .detail-wrap .detail-content .detail-bar{
        overflow: hidden;
        font-size: 0;
    }
    .detail-wrap .detail-content .detail-bar li{
        margin: 0 2px 2px 0 !important;
        padding: 0 4px;
        line-height: 38px;
    }
    
    
    /* TITLE
    ----------------------------------------------------*/
    .title-line,
    .homepage .title-line {
        margin-bottom: 15px;
    }
    .title-line span {
        padding-right: 10px;
        line-height: 40px;
        font-size: 18px;
    }
    .title-line.bike:after{
        content: none;
    }
    
    
    /* PAGE TITLE
    ----------------------------------------------------*/
    .pagetitle {
        height: auto;
        margin: 0 0 15px 0;
    }
    
    .pagetitle h1, .pagetitle h2, .pagetitle h3,
    .pagetitle h4, .pagetitle h5, .pagetitle h6 {
        font-size: 22px;
        margin: 15px 0;
        padding: 0 15px;
    }
    .pagetitle p {
        padding: 0 15px;
    }
    .pagetitle p:empty {
        display: none;
    }
    .pagetitle .backurl {
        display: none;
    }
    .pagetitle .breadcrumb {
        display: none
    }
    .pagetitle .condensed-breadcrumb {
        display: block;
    }
    
    
    /* FILTER BLOCK
    ----------------------------------------------------*/
    ul.filter * {
        box-sizing: border-box;
    }
    ul.filter {
        width: 100%;
        margin: 0 0 15px;
    }
    ul.filter > li {
        display: block;
        position: relative;
        float: none;
        width: 100%;
        margin: 0 0 15px;
    }
    ul.filter > li.col-1,
    ul.filter > li.col-2 {
        width: 100%;
    }
    
    ul.filter > li:last-child {
        margin: 0;
    }
    ul.filter > li input,
    ul.filter > li form,
    ul.filter > li .form,
    ul.filter > li select {
        width: 100%;
    }
    
    
    /* POST
    ----------------------------------------------------*/
    .post .post-aside {
        width: 100%;
        float: none;
        margin: 0 0 15px 0;
        padding: 15px; 
    }
    .post .post-aside .post-aside-author  {
        display: none;
    }
    .post .post-aside {
        white-space: nowrap;
        overflow: hidden;
        overflow-x: scroll;
    }
    .post .post-aside .post-aside-row {
        display: inline-block;
        width: auto;
        min-width: 80px;
        padding: 0 10px 0 10px;
        font-size: 11px;
    }
    .post .post-aside .post-aside-row  i{
        display: block;
        position: relative;
        font-size: 24px;
        line-height: 24px;
        height: 24px;
        margin-bottom: 5px;
    }
    .post .post-thumb{
        display: block;
        position: relative;
        width: auto;
        margin: 0 0 15px 0;
        float: none;
        text-align: center;
    }
    .post .post-thumb a,
    html.no-touch .post .post-thumb a:hover{
        display: inline-block;
        position: relative;
        margin: 0 auto;
    }
    .post .post-content {
        padding-top: 0 !important;
        margin-bottom: 30px;
    }
    .post .post-content .post-text p.lead {
        font-size: 18px;
        line-height: 24px;
    }
    .post .post-content .post-text p {
        line-height: 24px;
    }
    
    .post-list.post-list-condensed .post .post-thumb{
        float:left;
        width: 80px;
        margin: 0 10px 10px 0;
    }
    .post-list.post-list-condensed .post .post-content .post-title {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 10px;
    }
    .post-list.post-list-condensed .post .post-content .post-text {
        font-size: 13px;
        line-height: 20px;
    }
    .post-list.post-list-condensed .post .post-content .post-links .button {
        padding: 2px 6px;
        margin: 0;
    }
    .post-single .post-single-head h3 {
        font-size: 22px;
        line-height: 28px;
        margin: 0 0 10px;
    }
    .post-single .post-single-head h6 {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    
    /* GRID LIST
    ----------------------------------------------------*/
    
    /* filter */
    .grids .grids-filter li{
        font-size:13px;
    }
    .grids .grids-filter li a {
        padding:0 10px;
    }
    .expo-title{
        font-size: 22px;
    }
    
    
    /* FOOTER
    ----------------------------------------------------*/
    footer {
        font-size: 14px;
        line-height: 22px;
        text-align: center;
    }
    footer .mo-social {
        text-align: center;
    }
    
    
    /* CONTACT
    ----------------------------------------------------*/
    .contact-map-info {
        width: auto;
        height: auto;
        float: none;
        margin: 15px 0 0;
    }
    
    
    /* 404
    ----------------------------------------------------*/
    #error404-left{
        padding: 0;
        text-align: center;
    }
    #error404-right{
        padding: 0;
    }
    #error404-right .panel{
        width: 100%;
        margin-right: 0;
    }
    
    
    /* ATL
    ----------------------------------------------------*/
    .atl .title-line{
        margin-bottom: 15px !important;
    }
    .atl .atl-item img {
        margin-bottom: 5px;
    }
    
    
    /* MISC
    ----------------------------------------------------*/
    
    .pagination li {
        display: inline-block;
        padding: 0;
        margin: 0 5px 5px 0;
    }
    .list-inline-separed label, 
    .list-inline-separed li {
        padding: 0 5px;
    }
}


@media (min-width: 480px) and (max-width: 767px) {
    body{}
    
    
    h1,h2,h3 {
        font-size: 28px;
    }
    
    
    /* LIST VIDEO
    ----------------------------------------------------*/
    .list-video .video-item,
    .post .post-links .list-video .video-item{
        display: block;
        position: relative;
        float: none;
        width: 100%;
    }
    .list-video .video-item .video-item-inner,
    .post .post-links .list-video .video-item .video-item-inner{
        margin: 0 0 15px;
    }
    .list-video .video-item:nth-child(2n+1),
    .post .post-links .list-video .video-item:nth-child(2n+1){
        clear:none;
    }
    
    
    /* TREADING BLOCK
    ----------------------------------------------------*/
    .treading-block .detail-wrap .detail-content h3  {
        font-size: 18px;
        line-height: 24px;
    }
    
    
    /* PAGE TITLE
    ----------------------------------------------------*/
    .pagetitle {
        height: auto;
        margin: 0 0 15px 0;
        padding: 15px;
    }
    
    .pagetitle h1, .pagetitle h2, .pagetitle h3,
    .pagetitle h4, .pagetitle h5, .pagetitle h6 {
        font-size: 22px;
        margin: 15px 0;
        padding: 0 15px;
    }
    .pagetitle p {
        padding: 0 15px;
    }
    .pagetitle p:empty {
        display: none;
    }
    .pagetitle .backurl {
        display: none;
    }
    .pagetitle .breadcrumb {
        display: none
    }
    .pagetitle .condensed-breadcrumb {
        display: block;
    }
    
    
    /* POST
    ----------------------------------------------------*/
    .post .post-thumb{
        width: 200px;
    }
    
    
    /* GRID LIST
    ----------------------------------------------------*/
    
    /* filter */
    .grids .grids-filter li{
        font-size:13px;
    }
    .grids .grids-filter li a {
        padding:0 10px;
    }
    
    /* container */
    [class*="block-grid-"].no-wrap{
        margin: 0 -8px;
    }
    .large-block-grid-3 > li{
        width: 50%;
        padding: 0 8px 16px
    }

    /* ATL
    ----------------------------------------------------*/
    
    .partnersAtl > ul > li{
        width: 33.333333%;
        margin-bottom: 15px;
    }
    .partnersAtl > ul > li:nth-child(3n):after {
        content: none;
    }
    .partnersAtl > ul > li:last-child {
        margin-bottom: 0;
    }
    
    
    /* PARTNERS
    ----------------------------------------------------*/
    
    .partners > ul > li{
        width: 33.333333%;
        margin-bottom: 15px;
    }
    .partners > ul > li:nth-child(3n):after {
        content: none;
    }
    .partners > ul > li:last-child {
        margin-bottom: 0;
    }
}


@media (max-width: 600px) {
    body{}
    
    
    .detail-wrap {
        padding: 10px;
    }
    .detail-wrap .detail-content {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

}


@media (min-width: 480px) and (max-width: 600px) {
    body{}
    
    
    /* TREADING BLOCK
    ----------------------------------------------------*/
    .detail-wrap .detail-content .detail-bar {
        display: none;
    }
}


@media (max-width: 480px) {
    body{}
    
    
    .contact-map-info {
        padding: 15px;
    }
    .contact-map-info .close {
        top: 15px;
        right: 15px;
    }
    #bikefriendly-list .post-list .post .post-content .post-links a {
        display: block;
    }
    #bikefriendly-list .post-list .post .post-content .post-links a + a {
        margin-top: 10px;
    }
    #bikefriendly-list .post-list .post .post-content .post-links .separator {
        display: none;
    }

    /* ATL
    ----------------------------------------------------*/
    
    .partnersAtl > ul > li{
        width: 50%;
        margin-bottom: 15px;
    }
    .partnersAtl > ul > li:nth-child(2n):after {
        content: none;
    }
    .partnersAtl > ul > li:last-child {
        margin-bottom: 0;
    }
    
    
    /* PARTNERS
    ----------------------------------------------------*/
    
    .partners > ul > li{
        width: 50%;
        margin-bottom: 15px;
    }
    .partners > ul > li:nth-child(2n):after {
        content: none;
    }
    .partners > ul > li:last-child {
        margin-bottom: 0;
    }

}