/*  Document   : AutoFeria Popular
    Created on : 22/06/2016
    Author     : Hendry Martinez
    email      : hmartinez@pizelex.com
    Web        : www.hendrymartinez.com
    Description: Purpose of the stylesheet follows.
*/

/*-- Screen extra large --*/
@media (max-width: 1199px) {
    .sidebar-info-car li, 
    .sidebar-info-car li a, 
    .sidebar-model-car li {
        font-size: 16px;
    }
    .sidebar-info-car li div, 
    .sidebar-model-car li div {
        min-width: 75px;
        max-width: 75px;
    }
    .wrap-navigation .opt {
        font-size: 12px;
    }
    #block-1 .block-img img {
        max-width: 415px;
    }
    .wrapper-popular table td {
        font-size: 22px;
    }
}

/*-- Screens medium and large --*/
@media (min-width: 768px) {
    body {
        padding-top: 189px;
    }
    .header {
        width: 100%;
        position: fixed;
        top: 0;
        z-index: 2;
    }
    .navbar-collapse {
        padding: 0;
    }
    .nav > li:first-child a {
        padding-left: 0;
    }
    .wrap-navigation .opt:first-child {
        border-bottom-left-radius: 10px;
    }
    .wrap-navigation .opt:last-child {
        border-bottom-right-radius: 10px;
    }
    .wrap-navigation .opt a.active:after {
        content: "";
        width: 0;
        height: 0;
        position: absolute;
        left: 50%;
        bottom: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 5px solid #ECEAEA;
    }
    .block-result {
        overflow: hidden;
        max-height: 235px;
    }
    .featured {
        margin-bottom: 30px;
    }
}
/*-- Screen large --*/
@media (min-width: 992px) and (max-width: 1199px) {
    .wrap-slideshow div.block-1 {
        width: 340px;
    }
    .wrap-slideshow div.block-2 {
        width: 240px;
        top: 180px;
        margin-left: -128px;
    }
    .wrap-slideshow div.block-3 {
        width: 355px;
        top: 0;
    }
    .wrap-slideshow [class^="block-"] {
        min-height: 215px;
    }
    .wrap-slideshow .bubble {
        bottom: 243px;
    }
    .share li {
        font-size: 10px;
    }
    div.list-description li {
        font-size: 12px;
    }
    .block-title h2 {
        font-size: 90px;
    }
    .featured .block-info {
        margin-top: -50px;
    }
}

/*-- Screen medium --*/
@media (min-width: 768px) and (max-width: 991px) {
    body {
        padding-top: 173px;
    }
    .wrap-slideshow div.block-1 {
        width: 265px;
    }
    .wrap-slideshow div.block-2 {
        width: 190px;
        top: 200px;
        margin-left: -90px;
    }
    .wrap-slideshow div.block-3 {
        width: 255px;
        bottom: 88px;
    }
    .wrap-navigation .opt {
        font-size: 9px;
    }
    .block-img img {
        max-width: 190px;
    }
    .btn-nav {
        min-width: 100px;
    }
    .menu-tabs {
        width: 200px;
    }
    .news-block {
        padding: 35px;
        background-color: #eceaea;
    }
    .news-block .row {
        margin: 0 -15px;
    }
    .block-title h2 {
        font-size: 70px;
    }
    .featured .block-info {
        margin-top: -50px;
    }
}

/*-- Screen small and medium --*/
@media (max-width: 991px) {
    .top-info,
    .block-main {
        text-align: center;
    }
    .header h1 {
        text-align: center;
        padding-bottom: 15px;
    }
    .dropdown-menu td {
        display: block;
    }
    .dropdown-menu td {
        vertical-align: top;
        border-left: none;
    }
    .type td {
        display: table-cell;
    }
    .info-block {
        border-left: none;
        border-top: 25px solid transparent;
    }
    .info-block img {
        bottom: 10px;
        z-index: 1;
    }
    .info-block:first-child img {
        right: 45px;
    }
    .chip,
    .block-related {
        margin-bottom: 20px;
    }
    .wrap-search select {
        margin-bottom: 10px;
    }
    .sidebar-model-car li div,
    .sidebar-info-car li div {
        margin: 0;
        float: right;
        text-align: right;
        max-width: initial;
    }
    .sidebar-model-car li div:first-child,
    .sidebar-info-car li div:first-child {
        float: left;
        text-align: left;
    }
    .dealer {
        padding: 20px 30px;
    }
    .modal-content-box,
    .box-modal h2{
        padding: 20px
    }
    .box-modal .row label, 
    .box-modal .row span,
    .box-modal h2{
        font-size: 18px;
        line-height: 27px;
    }
    .banner {
        display: none;
    }
    .block-list-title {
        font-size: 16px;
    }
    .block-main h1 {
        font-size: 60px;
    }
    .wrap-popular li:before {
        font-size: 50px;
    }
    .wrap-popular {
        margin: auto -15px;
    }
}

/*-- Screen small --*/
@media (max-width: 767px) {
    body {
        overflow-x: hidden;
    }
    .top-info a,
    .search button,
    .info-news:before,
    .top-info li:last-child,
    .wrap-slideshow label,
    .dropdown.open > a:after,
    #carousel-featured .carousel-control {
        display: none !important;
    }
    .search {
        margin-bottom: 15px;
    }
    .from-to > div {
        padding: 0;
    }
    .signature {
        text-align: right;
    }
    div.sidebar,
    .block {
        padding: 0 15px;
    }
    .wrap-navigation .opt {
        border-top: 1px solid #35b8cf;
        text-align: left;
    }
    .wrap-navigation .opt a {
        padding: 20px 0 15px 50px;
        background-position: 15px;
        background-size: 26px;
        font-size: 17px;
    }
    .block-img img {
        width: 100px;
        height: auto;
    }
    .block-title {
        font-size: 22px;
    }
    .benefits {
        min-height: initial;
    }
    .benefits .block-title {
        padding: 20px 0 0;
        background: none;
        line-height: initial;
    }
    .benefits .block-list {
        padding-left: 20px;
    }
    .wrap-tabs > div {
        margin-bottom: 20px;
        padding: 0;
    }
    .title-tab {
        margin-top: 20px;
    }
    .info-news,
    div.block-mobile,
    .block-mobile .slick-slide {
        min-height: 0;
    }
    .block-mobile .bubble {
        bottom: initial;
        opacity: 1;
        visibility: visible;
        top: 70px;
    }
    .block-mobile img {
        margin-top: 200px;
    }
    .video:before {
        background-size: 40px;
    }
    .btn-search a {
        margin: 0 0 15px;
    }
    .wrap-steps {
        width: 70px;
        margin: 20px auto;
    }
    .wrap-steps li {
        float: none;
        margin: 20px 0;
    }
    .featured-caption h2,
    .category {
        font-size: 14px;
        line-height: 20px;
    }
    .block-ltr .img-news {
        float: none;
    }
    .img-news img {
        width: 100%;
        height: auto;
        display: block;
    }
    .news-block {
        padding: 15px;
    }
    .block-title h2 small {
        font-size: 16px;
    }
    .block-title h2 {
        font-size: 48px;
    }
    .wrap-article,
    .featured .block-info {
        margin-top: -35px;
    }
    .wrapper-popular table td {
        padding: 10px;
        font-size: 13px;
    }
    .info-result {
        padding: 15px 30px;
    }
    .block-large,
    .block-small {
        margin-bottom: 30px;
    }
    .landing > .row {
        margin-bottom: 0;
    }
}

/*-- Screen extra small --*/
@media (max-width: 479px) {
    .type td {
        display: block;
    }
    .type ul {
        padding: 0;
    }
    .sidebar-info-car li div:first-child {
        margin-bottom: 10px;
        text-align: left;
    }
    .price-us span {
        width: 100%;
        display: block;
    }
    div.list-description li {
        font-size: 12px;
    }
    .block-featured img {
        width: auto;
        height: 170px;
    }
    .featured .block-info {
        margin-top: -25px;
    }
    .block-caption {
        padding: 10px;
    }
    .block-caption h3 {
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 8px;
    }
    .block-caption p {
        font-size: 12px;
    }
    .block-caption .btn-more {
        font-size: 12px;
        padding-right: 15px;
        background-size: 10px;
    }
    .block-large .block-info:after{
        min-height: 130px;
    }
    .wrapper-popular table td {
        padding: 8px;
        font-size: 11px;
    }
    .block-header h1 img {
        max-width: 200px;
    }
}
