/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@import url('https://fonts.googleapis.com/css?family=Barlow|Montserrat');
body{font-family:"Barlow", sans-serif; line-height: 1.3}
.nav > li > a {font-family:"Montserrat", sans-serif !important; font-size: 14px !important;}
.icon-box-text h2, h3, h4,
.page-wrapper h2, h3, h4 {
        font-family: 'Montserrat';
}
.alt-font{font-family: "Barlow", sans-serif;}
h1,h2,h3,h4,h5,h6,.heading-font, .off-canvas-center .nav-sidebar.nav-vertical > li > a{font-family: "Barlow", sans-serif;}
.alt-font{font-family: "Barlow", sans-serif;}

input, textarea {
    font-weight: 400;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #43483b;
    font-size: 16px;
  }
  ::-moz-placeholder { /* Firefox 19+ */
    color: #43483b;
    font-size: 16px;
  }
  :-ms-input-placeholder { /* IE 10+ */
    color: #43483b;
    font-size: 16px;
  }
  :-moz-placeholder { /* Firefox 18- */
    color: #43483b;
    font-size: 16px;
  }

li {
    margin-bottom: .2em;
}
.button.tertiary {
    background: #a6b492 !important;
    color: #43483b !important;
}

.uppercase, h6, th, span.widget-title {
    letter-spacing: 0;
    font-weight: 500;
    opacity: 1;
    line-height: 1.1;
}
.back-to-top.active {
    color: #a6b492;
}
.icon-menu:before {
    color: #4e6a26;
}
/* header */
#logo img {
    max-height: 120px !important;
}
.header-main {
    height: auto !important;
    padding: 30px 0 60px;
}
.header-bottom {
     position: absolute;
     background: transparent;
     position: absolute;
     width: 100%;
     bottom: -30px;   
}
.has-sticky .stuck .header-bottom {
    bottom: auto;
}
.header-bottom > div {
     background: none;
     padding: 0px;
}
.wide-nav .nav>li {
    background: #4e6a26;
    padding-top: 10px;
    padding-bottom: 10px;
}
.wide-nav .nav>li.featured, .dark .nav-sidebar.nav-vertical>li.featured {
    background: #43483b;
    color: #fff;
}
.nav>li>a {
    color: #fff !important;
}
.nav>li.active>a {
    opacity: .7;
}
.nav-spacing-medium>li {
    margin: 0;
    padding-left: 12px;
    padding-right: 12px; 
}
.header-contant-address {
    padding-left: 30px;
    background: url('img/header-poi-icon.png') left center no-repeat;
    font-family: 'Montserrat';
    font-weight: 600;
}
.header-contant-phones {
    margin-left: 30px;
    padding-left: 30px;
    background: url('img/header-cell-icon.png') left center no-repeat;
    font-family: 'Montserrat';
    font-weight: 600;
}
.header-contant-address strong, 
.header-contant-phones strong {
    color: #4e6a26;
    font-weight: 600;
}
.header-contant-address a, 
.header-contant-phones a {
    color: #43483b;
}
.page-header-wrapper {
    position: relative;
    z-index: 9;
}
.page-header-banner h2,
.portfolio-top .banner h2 {
    font-weight: 600 !important;
    font-size: 38px !important;
}
.page-title .title-breadcrumbs {
    margin-top: 20px;
    margin-bottom: 10px;
}
.breadcrumbs, .breadcrumbs a {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 14px;
    color: #a6b492;
}
.breadcrumbs a:hover {
    color: #4e6a26;
}
.banner + .page-header-wrapper + .page-wrapper {
    padding-top: 0;
}
.footer-1, .footer-2 {
    border: 0;
    padding: 0;
}
.footer-1 {
    margin-top: 0;
}
.footer-2 {
    background-position: left center;
    background-repeat: no-repeat;
    font-size: 14px;
}
.footer-2 input, .footer-2 textarea {
    background: #d3d8cc;
    border-color: #d3d8cc;
    color: #4e6a26;
}
.absolute-footer {
    padding: 15px 0 10px;
    color: #fff !important;
}
.absolute-footer .footer-primary {
    padding: 7.5px 0;
}
.absolute-footer ul {
    border: 0;
}
.absolute-footer ul a {
    color: #fff !important;
    text-transform: none;
    text-decoration: underline;
    font-weight: 600 !important;
    font-size: 14px;
}
/* sections */
.row-divided>.col+.col:not(.large-12) {
    border-color: #a6b492;
}
.section-content h2.custom-section-title {
    text-align: center;
    padding-bottom: 30px;
    color: #4e6a26;
}
.section-content h2.custom-section-title:after {
    content: ' ';
    display: block;
    border: 1px solid #a6b492;
    width: 60px;
    position: relative;
    left: 50%;
    top: 15px;
    margin-left: -30px;
}
.section-intro h2 {
    font-family: "Montserrat";
    font-weight: 600;
    font-size: 26px;
    text-transform: uppercase;
    margin-bottom: 5px;
}  
.slider + .carousel > .flickity-viewport {
    min-height: 125px;
}
.carousel-nav {
    margin-top: 15px;
    display: flex;
}
.carousel-nav .gallery-col {
    width: 25% !important;
    padding: 0;
}
.carousel-nav .gallery-col + .gallery-col  {
    margin-left: 15px;
}
.slider-nav-reveal .flickity-prev-next-button:hover, .slider-nav-reveal .flickity-prev-next-button {
    top: 0;
}
.tabbed-content .nav-pills.nav-vertical li {
    background: #4e6a26;
    opacity: .3;
}
.tabbed-content .nav-pills.nav-vertical li.active,
.tabbed-content .nav-pills.nav-vertical li.active a,
.tabbed-content .nav-pills.nav-vertical li:hover,
.tabbed-content .nav-pills.nav-vertical li:hover a {
        opacity: 1;
}
.tabbed-content .nav-pills.nav-vertical a {
    border-radius: 0;
    font-weight: 600;
    color: #fff;
}
.tabbed-content .nav-pills.nav-vertical a:after {
    content: '';
    display: block;
    float: right;
    font-family: 'fl-icons'
}
.tabbed-content .nav-pills.nav-vertical>li+li {
    border: 0;
    margin-top: 5px;
}
.tabbed-content .nav-pills.nav-vertical+.tab-panels {
    border: 0;
    padding: 0 20px 20px;
}  
.tabbed-content h3, h4 {
    font-family: 'Montserrat';
    margin-bottom: 20px;
}
/* HOME specific */
#main > #content > .slider-wrapper .flickity-slider .banner .bg.bg-loaded:before {
    content: ' ';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(64,64,64, 0.5);
}
#main > #content > .slider-wrapper .flickity-slider .banner h2 {
    font-size: 75px;
}
#main > #content > .slider-wrapper .flickity-slider .banner h5, #main > #content > .slider-wrapper .flickity-slider .banner p {
    font-size: 25px;
    font-weight: 400;
}
.bg-maquinaria {
    background: url('img/maquinaria-especial-bg.jpg') center center no-repeat;
    background-size: cover;
}
/* Servicios */
.section-servicios .row-divided>.col+.col:not(.large-12) {
    border: 0;
}
.section-servicios h5 {
    text-transform: none !important;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.1;
}
/* casos de exito */
.section-casos-de-exito {
    padding-bottom: 0 !important;
}
.section-casos-de-exito .box-text .portfolio-box-title {
    text-transform: none !important;
    color: #a6b492;
    font-size: 30px;
    font-weight: 500;
}
.section-casos-de-exito .box-text .post-meta, .section-casos-de-exito .box-text .post-meta li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.section-casos-de-exito .box-text .post-meta .post-meta-key {
    display: none;
}

/* testimonial */
.section-testimonials .banner {
    opacity: 1 !important;
    background: #fff !important;
}
.section-testimonials .banner > * {
    background: #fff !important;
}
.section-testimonials .banner .star-rating {
    display: none;
}
.section-testimonials .text-box {
    transform: translate(-50%, 0) !important;
    top: 0;
}
.section-testimonials .icon-box-center .icon-box-img {
    margin-bottom: 40px;
}
.testimonial-text {
    font-style: normal !important;
    font-size: 14px;
}
.testimonial-text:before p {
    content: '"';
}
.testimonial-text:after p {
    content: '"';
}

.testimonial-name-divider {
    visibility: hidden;
    display: block;
    height: 0;
}
.testimonial-company {
    color: #a6b492;
    font-weight: 600;
}

/* normativa */
.banner-normativa .text-box {
    padding: 15px;
}
.banner-normativa .text-box h2 {
    font-family: "Montserrat";
    font-weight: 600;
    font-size: 26px;
    line-height: 1.3;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.section-normativa .featured-box h5 {
    text-transform: none;
    color: #a6b492;
    font-size: 21px;
    font-weight: 600;
}
.section-normativa .featured-box p {
    font-weight: 500;
}
.section-normativa .icon-box-left .icon-box-img+.icon-box-text {
    padding-left: 40px;
}


/* QUIENES SOMOS */
.quienes-equipo .box-image{
    margin: 0;
}
.quienes-equipo .social-icons {
    display: none;
}
.quienes-equipo .person-name {
    text-transform: none;
}
.quienes-equipo .person-title {
    text-transform: none;
    color: #a6b492;
    font-size: 1em;
    opacity: 1;
    font-weight: 600 !important;
}
.quienes-equipo h4:after {
    content: ' ';
    display: block;
    width: 30%;
    border-bottom: 1px solid #43483b;
    padding: 15px 0 0;
    margin: 0 0 20px;
}

/* SERVICIOS */
.section-servicios-list h2 {
    color: #4e6a26;
    font-weight: 500;
    font-size: 29px;
}
.section-servicios-list .divider {
    margin: 0 0 .7em !important;
}
.section-servicios-list p strong {
    color: #4e6a26;
}
.section-servicios-list a.button {
    padding-top: 8px;
    padding-bottom: 10px;
}

/* CASOS DE EXITO */
.portfolio-top .page-wrapper {
    padding-bottom: 0;
}

/* QUIERES TRABAJAR */
.section-quieres-trabajar + div {
    margin-top: -30px;
}

/* CONTACTO */
.contact-informacion .icon-box {
    margin-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #43483b;
    max-width: 320px;
}
.contact-informacion .icon-box-img {
    width: 35px !important;
}
.contact-informacion .icon-box-img img {
    width: auto !important;
    max-width: 100% !important;
}
.contact-informacion .icon-box a, .contact-informacion .icon-box p {
    color: #43483b;
    font-weight: 500;
}

/* BLOG */
body.blog .page-wrapper {
	padding-top: 60px;
}

.off-canvas-right.dark .mfp-content, .off-canvas-left.dark .mfp-content {
    background-color: #4e6a26;
}
@media only screen and (max-width: 1054px) {
    .nav > li > a {
        font-size: 12px !important;
    }
    .nav-spacing-medium>li {
        padding-left: 8px;
        padding-right: 7px;
    }
}
@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .header-main {
        padding-bottom: 30px !important;
    }
    #logo {
        margin-right: 0;
        margin-left: 0;
        width: 260px !important;
    }
    #logo a {
        max-width: none !important;
    }
    #logo .header-logo {
        display: none;
    }
    #logo .header-logo-dark {
        display: block !important;
    }
	#main > #content > .slider-wrapper .flickity-slider .banner h2 {
    font-weight: 600 !important;
    font-size: 38px !important;
}

    .section-testimonials .slider-wrapper .flickity-slider > * {
        min-width: 100% !important;
        max-width: auto !important;
    }
    .section-testimonials .flickity-enabled.is-draggable .flickity-viewport {
        max-height: 360px;
    }
    .quienes-after-intro-banner .text-box {
        width: 90% !important;
        top: 20px;
    }
    .quienes-after-intro-banner .text-box .text-inner {
        padding: 10px 15px !important;
    }
    .quienes-equipo .box-image {
        margin: 0 auto 15px;
    }
    /*
    .tabbed-content .nav.nav-vertical {
        flex-flow: row;
        overflow: auto;
        margin-bottom: 15px;
    }
    .tabbed-content .nav-pills.nav-vertical>li+li {
        margin-top: 0;
    }
    .tabbed-content .nav-pills.nav-vertical a {
        white-space: nowrap;
    }
    .tabbed-content .nav-pills.nav-vertical a:after {
        display: inline-block;
        float: none;
        margin-left: 5px;
        content: '';
    }
    */
    .tabbed-content .nav.nav-vertical {
        margin-bottom: 15px;
    }
    .tabbed-content .nav-pills.nav-vertical a:after {
        content: '';
    }
    .banner p {
        font-size: 14px;
    }
    .banner-normativa .text-box {
        width: 100% !important;
    }
    .banner-normativa .text-box h2 {
        font-size: 24px;
    }
    .quienes-after-intro-banner {
        padding-top: 350px !important;
    }
    .quienes-after-intro-banner .bg-fill {
        background-size: 100% !important;
        background-position: 50% 100%;
    }
    .quienes-after-intro-banner .text {
        background: none !important;
    }
    .quienes-after-intro-banner .text .text-inner {
        text-align: center !important;
    }
}
@media only screen and (max-width: 549px) {
    .section-normativa .icon-box-img {
        width: 100% !important;
        max-width: none;
        text-align: center;
        margin-bottom: 20px;
    }
    .section-normativa .icon-box-img img {
        max-width: 80px;
    }
    #main > #content > .slider-wrapper .flickity-slider .banner h2 {
        font-size: 48px;
    }
    #main > #content > .slider-wrapper .flickity-slider .banner h5 {
        font-size: 21px;
    }
    #main > #content > .slider-wrapper .flickity-slider .banner .text-box {
        top: 5% !important;
    }
    .section-normativa .icon-box-left .icon-box-img+.icon-box-text {
        padding-left: 0;
    }
    .section-quieres-trabajar .contact-informacion > .col-inner {
        padding-left: 0 !important;
    }
    .footer-2 .medium-6 .col-inner {
        padding-left: 0 !important;
    }
    .small-columns-2>.col, .small-columns-2 .flickity-slider>.col {
        width: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }
}
