/*  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.
*/

#carousel-featured img {
    width: 100%;
    height: auto;
    display: block;
}
.carousel-control {
    margin: 0;
}
.featured-caption {
    left: 0;
    right: 0;
    bottom: 0;
    text-align: left;
    position: absolute;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
}
.featured-caption h2 {
    color: #fff;
    margin: 5px 0;
    font-size: 35px;
    max-width: 645px;
    font-weight: 700;
}
.wrapper-popular td div,
.img-block-small,
.block-featured,
.block-info {
    position: relative;
}
.category {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 5px; 
    padding: 7px 7px 3px;
    text-transform: uppercase;
    background-color: rgba(0, 193, 213, 0.66);
}
.opt-more,
.block-large .btn-more {
    color: #00c1d5;
    display: inline-block;
    padding-right: 20px;
    margin-bottom: 20px;
    background: url('../img/arrow-more.png') right 2px no-repeat;
    background-size: 15px;
}
#carousel-featured .left.carousel-control {
    background: url('../img/btn-prev.png') center no-repeat;
}
#carousel-featured .right.carousel-control {
    background: url('../img/btn-next.png') center no-repeat;
}

/*-- begin main nav --*/
.navbar-main .navbar-nav>li> a {
    cursor: pointer;
    color: #01568d;
}
.opt-menu.active:after,
.opt-menu a.active:after {
    width: 0;
    left: 50%;
    height: 0;
    content: "";
    bottom: -23px;
    margin-left: -5px;
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #1E699A;
}
.navbar-form {
    margin: 0;
    padding: 0;
}
.navbar-form input {
    height: 50px;
    border: none;
    outline: none;
    border-radius: 0;
    padding-left: 60px;
    background: url('../img/icon-search.png') 20px 10px no-repeat #e0e1e1;
    max-width: 160px;
}
.navbar-form input:focus {
    box-shadow: none;
}
.navbar-form input::-webkit-input-placeholder {
    color: #01568d;
    text-transform: uppercase;
}

.navbar-form input:-moz-placeholder { /* Firefox 18- */
    color: #01568d;
    text-transform: uppercase;
}

.navbar-form input::-moz-placeholder {  /* Firefox 19+ */
    color: #01568d;
    text-transform: uppercase;
}

.navbar-form input:-ms-input-placeholder {  
    color: #01568d;
    text-transform: uppercase;
}
.btn-nav {
    border: none;
    outline: none;
    color: #01568d;
    border-radius: 0;
    font-weight: 700;
    position: relative;
    margin-left: -4px;
    min-width: 160px;
    padding: 15px 20px;
    background: #00c1d5;
    text-transform: uppercase;
}
.btn-nav:hover {
    background: #00c1d5;
}

/*-- begin menu item --*/
.wrap-menu-item {
    width: 100%;
    margin-top: 20px;
    border-top: 3px solid #1e699a;
    background-color: rgba(255,255,255,.9);
}
.wrap-menu-item td {
    vertical-align: top;
}
.menu-tabs {
    width: 300px;
    background-color: rgba(204,204,204,.8);
}
.menu-tabs ul {
    margin: 0;
    padding: 0;
}
.menu-tabs li {
    display: block;
    cursor: pointer;
    color: #01568d;
    text-transform: uppercase;
    padding: 20px 20px 20px 30px;
}
.menu-tabs li:hover,
.menu-tabs li.active {
    background-color: #fff;
}
.menu-tabs li:first-child {
    padding-top: 20px;
}
.menu-items {
    padding: 20px;
}
.menu-items img,
.block-result img {
    width: 100%;
    height: auto;
    display: block;
}
.menu-items h3 {
    color: #126194;
    font-size: 13px;
    margin: 10px 0 0;
    text-align: center;
}
.block-submenu {
    margin: 0;
    padding: 0;
}
.block-submenu li {
    display: block;
    color: #1e699a;
    line-height: 14px;
    margin-top: 17px;
    padding-left: 18px;
    background: url('../img/menu-vignette.png') left top no-repeat;
}
.block-car:first-child,
.block-submenu li:first-child {
    margin-top: 0;
}
.block-car {
    text-align: center;
    margin-top: 20px;
}
.block-car img {
    width: auto;
    display: block;
    max-width: 95px;
    margin: 0 auto 5px;
}

/*-- begin mobile navigation --*/
.nav-mob {
    overflow: hidden;
}
.nav-normal,
.nav-cars {
    float: left;
    width: 50%;
    color: #01568d;
    font-weight: 900;
    box-sizing: border-box;
    text-transform: uppercase;
    padding: 15px 15px 15px 60px;
    background: url('../img/nav-gray.png') 15px center no-repeat #fff;
}
.nav-cars {
    background: url('../img/nav-white.png') 15px center no-repeat #00c1d5;
}
.panel-group,
.panel-group .panel,
.panel-group .panel + .panel {
    margin: 0;
    border: none;
}
.submenu-item > a,
.submenu-item span {
    display: block;
    padding: 15px;
    color: #01568d;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #e7e7e7;
}
.submenu-item ul,
.submenu-item .well {
    margin: 0;
    padding: 0;
    border-radius: 0;
}
.submenu-item ul li {
    display: block;
    padding: 15px;
    background-color: #ddd;
    border-top: 1px solid #ECE9E9;
}

/*-- BEGIN HOME NEWS --*/
.img-news img {
    width: 100%;
    display: block;
    height: 280px;
}
.img-news,
.info-news {
    padding: 0;
}
.info-news {
    padding: 20px;
    position: relative;
    min-height: 280px;
    box-sizing: border-box;
}
.block-ltr .img-news {
    float: right;
}

.info-result:before,
.block-rtl .info-news:before,
.block-ltr .info-news:before {
    width: 0;
    top: 50%;
    height: 0;
    content: "";
    right: -10px;
    display: block;
    position: absolute;
    margin-top: -10px;
    border-left: 10px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}
.info-result:before,
.block-rtl .info-news:before {
    right: auto;
    left: -20px;
    border-right: 10px solid #fff;
    border-top: 10px solid transparent;
    border-left: 10px solid transparent;
    border-bottom: 10px solid transparent;
}
.block-ttb .info-news:before {
    width: 0;
    left: 50%;
    height: 0;
    content: "";
    top: -10px;
    position: absolute;
    margin-left: -10px;
    border-bottom: 10px solid #fff;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}
.news-block .row {
    background-color: #fff;
}
.info-news p {
    margin: 30px 0;
}
.info-news h3 {
    color: #01568d;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
}
.btn-news {
    color: #00c1d5;
}

/*-- begin popular --*/
.wrap-popular {
    padding: 20px 20px 0;
    background-color: #012169;
    margin: -113px -15px 0 -15px;
}
.wrap-popular h3 {
    margin: 0;
    color: #fff;
    display: block;
    padding: 10px;
    font-size: 26px;
    text-align: center;
    text-transform: uppercase;
}
.wrap-popular li {
    color: #fff;
    display: block;
    position: relative;
    font-weight: 700;
    border-top: 1px solid #013b60;
    padding: 20px 10px 20px 70px;
}
.item-tab:first-child,
#footer-menu li:first-child a,
.wrap-popular li:first-child {
    border-top: none;
}
.wrap-popular li:before {
    top: 10px;
    left: 10px;
    display: block;
    color: #536899;
    font-size: 65px;
    font-weight: 700;
    position: absolute;
    content: attr(data-label);
}
.wrap-popular ul {
    padding: 0;
    margin: 0;
}
.wrap-popular li a {
    display: inline-block;
    margin: 0px;
}
.block-related a,
.wrap-popular li span {
    display: block;
}

/*-- begin footer --*/
.wrap-footer {
    padding: 40px 0;
    background-color: #122e4b;
}
.block-logo p {
    color: #fff;
    font-size: 14px;
    margin: 20px 0 10px;
}
.block-logo > a > img {
    width: 100%;
    height: auto;
}
.wrap-social a {
    width: 32px;
    height: 32px;
    overflow: hidden;
    text-align: center;
    margin-right: 10px;
    display: inline-block;
    border-radius: 100%;
    background-color: #fff;
}
.wrap-social img {
    width: 32px;
    height: auto;
    display: block;
}
#footer-menu {
    margin: 0;
    padding: 0;
}
.wrap-footer h4 {
    color: #fff;
}
#footer-menu li {
    display: block;
}
#footer-menu li a {
    color: #fff;
    display: block;
    padding: 10px 0;
    border-top: 1px solid #fff;
    text-transform: uppercase;
}
.ads img {
    width: 100%;
    height: auto;
    margin: 10px auto;
    max-height: 141px;
}
.footer-signature,
.footer-signature a {
    color: #9d9791;
    font-weight: 700;
    padding-top: 30px;
}
.landing > .row {
    margin-bottom: 30px;
}

/*-- begin sidebar --*/
.sidebar-side {
    padding: 20px;
    margin-top: 25px;
    min-height: 300px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}
.sidebar-side .wrap-popular {
    margin: 0 0 20px;
}
.sidebar-side .wrap-popular li:before {
    top: 5px;
    font-size: 57px;
}
.btn-tabs,
.item-tab,
.block-social,
.wrapper-popular {
    overflow: hidden;
}
.btn-tabs {
    margin-bottom: 10px;
}
.item-tab {
    border-top: 1px solid #ebeaea;
}
.btn-tabs > span {
    float: left;
    width: 50%;
    color: #000;
    display: block;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 15px;
    background-color: #f1f2f2;
    border-top: 4px solid transparent;
}
.btn-tabs .active {
    background-color: #fff;
    border-top: 4px solid #00c4d8;
}
.block-tabs {
    border: 1px solid #ebeaea;
    margin-bottom: 20px;
}
.img-tab,
.info-tab {
    float: left;
    padding: 15px 10px;
    box-sizing: border-box;
}
.img-tab {
    width: 30%;
}
.info-tab {
    width: 70%;
}
.img-tab img,
.banner-side img {
    width: 100%;
    height: auto;
    display: block;
}
.item-tab a {
    color: #000;
}
.info-tab h4 {
    margin: 0;
    font-size: 14px;
}
.info-tab span {
    display: block;
    color: #757575;
    font-size: 12px;
    margin-top: 10px;
}
.banner-side {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
}
/*-- begin social block --*/
.block-social {
    margin: 20px 0;
    background-color: #dbdbdb;
}
.block-social > div {
    float: left;
    color: #898989;
    font-weight: 700;
    text-align: center;
    line-height: 50px;
    background-color: #dbdbdb;
}
.label-social {
    padding: 0 20px;
}
.opt-social a {
    float: left;
    display: block;
    text-align: center;
    padding: 15px 20px;
    border-left: 1px solid #898989;
}
.opt-social img {
    width: 20px;
    display: block;
    margin: 0 auto;
}

/*-- begin block title --*/
.block-title h2 {
    color: #00c8db;
    font-size: 120px;
    font-weight: 700;
}
.block-title h2 small {
    display: block;
    color: #00c8db;
    font-size: 36px;
}

/*-- begin block info --*/
.block-large a {
    color: #fff;
}
.block-large,
.block-small,
.block-related a {
    box-shadow: 0 0 15px rgba(0,0,0,.2);
}
.featured {
    box-shadow: none;
}
.featured .block-info {
    margin-top: -70px;
}
.block-small img,
.block-info img {
    width: 100%;
    height: auto;
    display: block;
}
.block-large .block-info:after {
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    position: absolute;
    min-height: 200px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.65+100 */
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
}
.block-caption {
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 20px;
    position: absolute;
}
.block-small .opt-more,
.block-large .btn-more,
.wrap-article div > p {
    margin-bottom: 0;
}
.block-small a:hover,
.block-large a:hover,
.btn-load-more:hover {
    text-decoration: none;
}
.info-block-small {
    padding: 15px;
    background-color: #fff;
    min-height: 193px;
}
.block-small h3 {
    margin: 0 0 10px;
    color: #01568d;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
}
.block-small p {
    color: #000;
    font-size: 12px;
}
.block-caption h3 {
    margin-top: 10px;
}
.img-block-small .category {
    bottom: 0;
    position: absolute;
}
.btn-load-more {
    color: #fff;
    width: 100%;
    display: block;
    padding: 10px;
    font-size: 18px;
    text-align: center;
    margin-bottom: 25px;
    background-color: #00c8db;
}

/*-- begin article --*/
.wrap-article {
    position: relative;
    margin-top: -100px;
    background-color: #fff;
    padding: 40px 20px 20px;
}
.wrap-article video,
.wrap-article object,
.wrap-article iframe,
.info-popular img,
.info-popular video,
.info-popular object,
.info-popular iframe {
    width: 100%;
}
.title-article {
    color: #01568d;
    font-size: 35px;
    font-weight: 700;
    line-height: 45px;
    margin-bottom: 30px;
}
.title-article span {
    color: #8f8f8f;
    display: block;
    font-size: 18px;
    font-style: italic;
    line-height: 25px;
}
.wrap-article p {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 20px;
}
.category-article {
    top: 15px;
    color: #fff;
    left: -10px;
    position: absolute;
    padding: 5px 15px;
    text-transform: uppercase;
    background-color: #00c1d5;
}
.category-article:before {
    left: 0;
    width: 0;
    height: 0;
    content: "";
    display: block;
    bottom: -10px;
    position: absolute;
    border-top: 10px solid #008b99;
    border-left: 10px solid transparent;
}

/*-- begin related block --*/
.wrapper-related {
    margin: 20px 0;
}
.title-related {
    color: #fff;
    padding: 10px;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    background-color: #00c8db;
}
.block-related img {
    width: 100%;
    height: auto;
    display: block;
}
.block-related h3 {
    margin: 0;
    padding: 20px;
    color: #01568d;
    font-size: 18px;
    font-weight: 700;
    background-color: #fff;
    line-height: 24px;
}
.opt-more-related {
    color: #fff;
    display: block;
    text-align: center;
    background-color: #00c1d5;
}
.opt-more-related span {
    display: inline-block;
    padding: 15px 25px 15px 0;
    background: url('../img/arrow-white.png') right center no-repeat;
}

/*-- begin popular block --*/
.wrapper-popular {
    margin-bottom: 20px;
}
.info-popular {
    box-sizing: border-box;
}rapper-popular table {
    width: 100%;
    background-color: #012169;
}
.wrapper-popular table td {
    width: 10%;
    cursor: pointer;
    color: #536899;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    display: table-cell;
    padding: 5px 20px 0;
    background-color: #012169;
    border-left: 1px solid #0036b1;
}
.wrapper-popular td.active div:after {
    left: 50%;
    content: "";
    bottom: -7px;
    display: block;
    position: absolute;
    margin-left: -10px;
    border-top: 10px solid #00c8db;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}
.wrapper-popular table td.active {
    color: #fff;
    background-color: #00c8db;
}
.wrapper-popular table td:first-child{
    border-left: none;
}
.caption-popular {
    padding: 20px;
    background-color: #f6f6f6;
}
.caption-popular h3 {
    margin-top: 0;
    color: #01568d;
    font-size: 30px;
    line-height: 40px;
}

/*-- begin result block --*/
.title-page {
    color: #00c1d5;
    font-size: 35px;
    margin-bottom: 0;
}
.block-result {
    margin-top: 25px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}
.info-result {
    padding: 15px 30px 15px 0;
}
.info-result h3 {
    color: #01568d;
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
}
.info-result:before {
    left: -35px;
}
