/*!
Theme Name: P66 LATAM
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: p66-latam
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

P66 LATAM is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* 404 */

.error-title{
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: #E00109;
}

.display-5 {
    font-size: 1.75rem;
}

.error-404{
    min-height: calc(100vh - (83px + 297px));
}



/* general */

body {
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

.uppercase {
    text-transform: uppercase;
}

.light {
    font-weight: 300;
}

p {
    line-height: 1.5;
}

.white {
    color: #FFFFFF;
}

/* end general */

/* All banners for internal pages */

.parallax {
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-banner-container {
    height: 300px;
}

.parallax.contacto {
    background-image: url("./img/contactus-banner-top.jpeg");
}

.parallax.otros-productos-interna {
    background-image: url("./img/otherproducts-banner-top.jpeg");
}

.parallax.quienes {
    background-image: url("./img/aboutus-banner-top.jpeg");
}


/* end All banners for internal pages */


/* navigation */

.vertical-line {
    width: 1px;
}

nav .btn {
    font-weight: 600;
    color: #FFFFFF;
    font-family: 'Barlow Condensed', sans-serif;
    border: 1px solid transparent;
    padding: .8125rem 1.25rem;
    font-size: 1.0625rem;
    line-height: 1.6;
    border-radius: .375rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

nav .btn:hover {
    color: #161c2d;
    text-decoration: none;
}

nav .btn:focus {
    outline: 0;
    box-shadow: none;
}

nav .btn-primary {
    color: #fff;
    background-color: #E00109;
    border-color: #E00109;
    box-shadow: none;
}

nav .btn-primary:hover {
    color: #fff;
    background-color: #E00109;
    border-color: #E00109;
}

nav .btn-sm {
    padding: .5625rem 1rem;
    font-size: 1.0625rem;
    line-height: 1.3;
    border-radius: .375rem;
}

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.navbar-light .navbar-nav .nav-link {
    color: #000000;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: #E00109;
}

.navbar-nav .nav-link {
    font-weight: 600;
}

.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
    outline: 0;
}

.navbar-nav .dropdown>.dropdown-menu {
    display: block!important;
}

.dropdown .dropdown-menu {
    padding: 0;
    border-collapse: collapse;
    border: none;
}

.dropdown-menu {
    border-top-right-radius: .23rem!important;
    border-top-left-radius: .23rem!important;
    border-bottom-right-radius: .23rem!important;
    border-bottom-left-radius: .23rem!important;
}

.lift {
    transition: box-shadow .25s ease, transform .25s ease;
}

.lift:focus,
.lift:hover {
    box-shadow: 0 1rem 2.5rem rgba(22, 28, 45, .1), 0 .5rem 1rem -.75rem rgba(22, 28, 45, .1)!important;
    transform: translate3d(0, -3px, 0);
}

.dropdown-link {
    color: inherit;
}

.dropdown-link:hover {
    color: inherit;
    text-decoration: none;
}

.dropdown-item {
    padding: 12px;
    border: none;
}

.dropdown-item.active,
.dropdown-item:hover:first-child {
    border-top-right-radius: .23rem;
    border-top-left-radius: .23rem;
}

.dropdown-item.active,
.dropdown-item:hover:last-child {
    border-bottom-right-radius: .23rem;
    border-bottom-left-radius: .23rem;
}

.navbar-brand {
    margin: 0;
}


/* end navigation */


/* Footer */

footer {
    background-color: #000000;
    font-size: 12px;
    color: #FFFFFF;
    padding: 27px 0 17px;
    border-top: 7px solid #E00109;
}

.ruler {
    width: 100%;
    content: '';
    height: 1px;
    display: block;
    background-color: #616161;
    margin: 15px 0;
}

a.legal {
    color: #FFFFFF;
}

a.legal:hover {
    text-decoration: none;
    color: #FFFFFF;
}

.location {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    color: #a8a4a4;
    font-size: 0.1em;
}

.location2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    color: #a8a4a4;
    font-size: 0.1em;
}

.phone-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    color: #a8a4a4;
    font-size: 2em;
    position: relative;
}

.phone-number a {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    color: #a8a4a4;
    position: relative;
    vertical-align: middle;
}

footer a, footer h5{
	color: #ffffff !important;
}

.phone-number a:hover {
    text-decoration: none;
    color: #a8a4a4;
}

/* a.email-address {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    color: #a8a4a4;
    font-size: 1.5em;
    position: relative;
} */

.email-address a {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    color: #a8a4a4;
    font-size: 1.75em;
    position: relative;
}

.email-address a:hover {
    text-decoration: none;
    color: #a8a4a4;
}

footer img.partner-logo {
    width: 140px;
}


/* img.phillips66-logo{
      width: 140px;
    } */


/* End Footer */


/* Products Page */

.mapouter {
    position: relative;
    text-align: right;
    height: 290px;
    width: 290px;
}

.gmap_canvas {
    overflow: hidden;
    background: none!important;
    height: 290px;
    width: 290px;
}

p.features-table-head {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    color: #414345;
    font-size: 1rem;
    letter-spacing: .25px;
}

.table td,
.table th {
    padding: .5rem .75rem;
    vertical-align: top;
    border-top: none;
}

.table td {
    padding-top: calc(.5rem + 4px);
}

.product-division-line {
    border-top: 1px solid #606060;
}

.card {
    background-color: #FFFFFF;
    background-clip: border-box;
    border: 0px;
    border-radius: none;
}

.card .card-header {
    background-color: #FFFFFF;
    border: 1px 0px;
    border-color: #606060;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.card .card-header a:after {
    content: "";
    position: relative;
    top: 6px;
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    float: right;
    transition: transform .25s linear;
    -webkit-transition: -webkit-transform .25s linear;
}

.card .card-header a {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1em;
}

.card .card-header a[aria-expanded="true"] {
    background-color: #FFFFFF;
    color: #E00109;
    border-radius: 0;
}

.card .card-header a[aria-expanded="true"]:after {
    content: "\2212";
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.card .card-header a[aria-expanded="false"]:after {
    content: "\002b";
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.card-header a:hover {
    text-decoration: none;
}

.page-title-container {
    background-color: #FFFFFF;
    color: #E00109;
}

.page-title-container h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-style: italic;
    font-weight: 800;
    font-size: 3em;
    letter-spacing: 1px;
}

h3.product-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    color: #606060;
}

h4.regular-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    color: #E00109;
    font-size: 2em;
}

h5.product-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    color: #606060
}

p.product-type {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    color: #606060;
}

a.product-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    color: #E00109;
    text-decoration: none;
}

.filter-item {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
}

.btn-custom {
    margin: 0 12px;
}

.main-content {
    padding: 50px 0;
}

.filters-group {
    display: inline-block;
}

.industry-icon {
    width: 90px;
}

.form-check-label {
    cursor: pointer;
}

input:checked+label {
    font-family: 'Barlow Condensed', sans-serif;
    color: #E00109;
    font-weight: 600;
}

input+label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    color: #606060;
}

.industry-select {
    font-size: 1.5em;
}

.category-select {
    font-size: 1.2em;
}


/* End Products Page */


/* Home */

.main-banner {
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.secondary-banner {
    background-repeat: no-repeat;
    overflow: hidden;
}

.main-banner {
    background-image: url("./img/home-banner-top.jpeg");
}

.secondary-banner {
    background-image: url("./img/home-banner-bottom.jpeg");
}

/* .main-banner-container{
      height: 400px;
    } */

/* .secondary-banner-container{
      height: 300px;
    } */

.banner-title-container {
    /* max-width: 50%; */
    margin: auto;
    float: left;
    color: #E00109;
    margin-left: 18px;
}

.banner-title-container h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-style: italic;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline;
    background-color: #FFFFFF;
    box-shadow: 18px 0px 0 0px #FFFFFF, -18px 0px 0 0px #FFFFFF;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

a.cst-btn {
    text-decoration: none;
    color: #FFFFFF!important;
}

.cst-btn-primary {
    color: #FFFFFF;
    background-color: #E00109;
    border-color: #E00109;
}

.cst-btn-primary:hover {
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
    /* box-shadow: 0px 0px 18px 0px rgba(0,0,0,0.5); */
    /* text-shadow: 0px 0px 5px rgba(0,0,0,0.5); */
}

.cst-btn {
    font-weight: 600;
    color: #FFFFFF;
    font-family: 'Barlow Condensed', sans-serif;
    border: 1px solid transparent;
    padding: .5625rem 1rem;
    font-size: 1.0625rem;
    line-height: 1.3;
    border-radius: .375rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.headline h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    color: #E00109;
}

.headline h3 span {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    color: #000000;
}

/* End Home */

/* Home Carousel */

.carouselfeat {
    position: relative;
}

.carousel-indicators {
    position: absolute;
    bottom: calc(-14px - 14px);
    z-index: 20;
    width: inherit;
    list-style: none;
    text-align: left;
    margin-bottom: 0;
}

.carousel-indicators li {
    position: relative;
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 14px;
    text-indent: -999px;
    border-radius: 12px;
    cursor: pointer;
    background-color: #999999
}

.carousel-indicators li.active {
    background-color: #525252
}

/* End Home Carousel */

/* Ubicaciones */

#ubicaciones{
    padding-top: 35px;
    padding-bottom: 35px;
    text-align: center;

}

#ubicaciones h1{
    font-weight: bold;
    text-transform: uppercase;
}

#ubicaciones h2{
    padding-top: 25px;
    color: #E00109;
    font-weight: bold;
}

.ubicaciones-galsa{
    max-width: 360px;
}

.ubicacion{
    margin: 15px 25px;
    min-height: 360px;
}

.ubicacion p{
/*    color: #E00109;*/
    font-weight: bold;
    font-size: 20px;
    min-width: 360px;
}

.social-icons li {
       display: inline;
       margin-right: 10px;
}

.social-icons i {
   color: white; /* Color de los iconos, se puede cambiar */
}


/* End Ubicaciones */


/* ------------------------------------------------------------------------------------------------------------- */


/* ------------------------------------------------------------------------------------------------------------- */


/* ------------------------------------------------------------------------------------------------------------- */


/* ------------------------------------------------------------------------------------------------------------- */


/* Media Queries */


/* ------------------------------------------------------------------------------------------------------------- */


/* ------------------------------------------------------------------------------------------------------------- */


/* ------------------------------------------------------------------------------------------------------------- */


/* ------------------------------------------------------------------------------------------------------------- */


/* xs (landscape phones, 576px and up) */

@media (max-width: 575px) {
    body {
        /* background-color: red; */
    }
    .col-xs-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .text-sm-two-columns {
        column-count: 1;
        column-gap: none;
        column-width: 100%;
    }
    /* navigation */
    .custom-logo {
        width: 100%!important;
        max-width: 100px!important;
        height: auto!important;
    }
    nav img.partner-logo {
        width: 100px;
    }
    img.phillips66-logo {
        width: 100px;
    }
    .navbar-nav .nav-item {
        padding: .5rem .5rem .5rem 0.3rem;
    }
    .navbar-nav .nav-item+.nav-item {
        border-top: 2px solid #DEDEDE;
    }
    .dropdown-menu {
        background-color: transparent;
    }
    .dropdown-item.active,
    .dropdown-item:hover {
        color: #E00109;
        text-decoration: none;
        background-color: transparent;
        border: none;
    }
    .dropdown-item {
        padding: 5px;
        /* border: none; */
    }
    /* end navigation */
    /* home */
    .banner-title-container.main h2 {
        font-size: 2em;
        line-height: 1.9rem;
    }
    .brands .partner-logo img {
        height: 23px;
    }
    .headline h3 {
        font-size: 1.45rem;
    }
    .headline h3 span {
        font-size: 1.45rem;
    }
    /* banners */
    .main-banner-container {
        height: 400px;
    }
    .banner-title-container.secondary h2 {
        font-size: 1.35em;
        line-height: 1.1rem;
    }
    .banner-title-container {
        max-width: 100%;
    }
    .secondary-banner-container {
        height: 330px;
    }
    .pl-2,
    .px-2 {
        padding-left: .0rem!important;
    }
    .parallax.main-banner, .parallax.secondary-banner {
        background-attachment: scroll!important;
    }
    .main-banner {
        background-position: 50% 100%!important;
    }
    .secondary-banner {
        background-position: 50% 100%!important;
    }
    .secondary-banner {
        background-size: 160%;
    }
    .parallax.quienes, .parallax.contacto, .parallax.otros-productos-interna {
        background-attachment: scroll!important;
        background-size: cover;
    }
    .parallax.contacto {
        background-position: 50% 10%;
    }
    
    .parallax.otros-productos-interna {
        background-position: 50% 50%;
    }
    
    .parallax.quienes {
        background-position: 50% 90%;
    }
}


/* sm (landscape phones, 576px and up) */

@media (min-width: 575px) {
    /* body{
          background-color: plum;
      } */
    .text-sm-two-columns {
        column-count: 2;
        column-gap: 50px;
        column-width: 50%;
    }
    /* navigation */
    .custom-logo {
        width: 100%!important;
        max-width: 140px!important;
        height: auto!important;
    }
    nav img.partner-logo {
        width: 140px;
    }
    img.phillips66-logo {
        width: 140px;
    }
    .navbar-nav .nav-item {
        padding: .5rem .5rem .5rem 0.3rem;
    }
    .navbar-nav .nav-item+.nav-item {
        border-top: 2px solid #DEDEDE;
    }
    .dropdown-menu {
        background-color: transparent;
    }
    .dropdown-item.active,
    .dropdown-item:hover {
        color: #E00109;
        text-decoration: none;
        background-color: transparent;
        border: none;
    }
    /* end navigation */
    /* home */
    .banner-title-container.main h2 {
        font-size: 4em;
        line-height: 3.9rem;
    }
    .brands .partner-logo img {
        height: 33px;
    }
    .headline h3 {
        font-size: 1.75rem;
    }
    .headline h3 span {
        font-size: 1.75rem;
    }
    /* banners */
    .main-banner-container {
        height: 400px;
    }
    .banner-title-container.secondary h2 {
        font-size: 2em;
        line-height: 1.9rem;
    }
    .banner-title-container {
        max-width: 50%;
    }
    .secondary-banner-container {
        height: 330px;
    }
    .pl-2,
    .px-2 {
        padding-left: .0rem!important;
    }
    .parallax.main-banner, .parallax.secondary-banner {
        background-attachment: scroll!important;
    }
    .main-banner {
        background-position: 50% 100%;
    }
    .secondary-banner {
        background-position: 50% 100%;
    }
    .secondary-banner {
        background-size: 160%;
    }
    .parallax.quienes, .parallax.contacto, .parallax.otros-productos-interna {
        background-attachment: scroll!important;
        background-size: cover;
    }
    .parallax.contacto {
        background-position: 50% 10%;
    }
    
    .parallax.otros-productos-interna {
        background-position: 50% 50%;
    }
    
    .parallax.quienes {
        background-position: 50% 90%;
    }
}


/* md (tablets, 768px and up) */

@media (min-width: 768px) {
    /* body{
          background-color: olive;
      } */
    /* navigation */
    .navbar-nav .nav-item+.nav-item {
        border-top: none;
    }
    .dropdown-menu {
        background-color: #FFFFFF;
    }
    .dropdown-item.active,
    .dropdown-item:hover {
        color: #fff;
        text-decoration: none;
        background-color: #E00109;
        border: none;
    }
    /* end navigation */
    .parallax.main-banner, .parallax.secondary-banner {
        background-attachment: fixed!important;
    }
    .main-banner {
        background-position: 50% 40%;
    }
    .secondary-banner {
        background-position: 50% 40%;
    }
    .secondary-banner {
        background-size: cover;
    }
    .parallax.quienes, .parallax.contacto, .parallax.otros-productos-interna {
        background-attachment: fixed!important;
        background-size: cover;
    }
    .parallax.contacto {
        background-position: 50% 10%;
    }
    
    .parallax.otros-productos-interna {
        background-position: 50% 0%;
    }
    
    .parallax.quienes {
        background-position: 50% 0%;
    }
}


/* lg (desktops, 992px and up) */

@media (min-width: 992px) {
    /* body{
          background-color: moccasin;
      } */
    /* navigation */
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
    .navbar-nav .dropdown-menu {
        box-shadow: 0 1.5rem 4rem rgba(22, 28, 45, .25);
    }
    .navbar-nav .dropright>.dropdown-menu {
        display: block!important;
    }
    .navbar-nav .dropdown-menu {
        z-index: 1030;
        transition: all .2s ease-in-out;
        transition-property: opacity, visibility, transform;
        transform-origin: top center;
        visibility: hidden;
        opacity: 0;
    }
    .navbar-nav .dropdown>.dropdown-menu {
        left: 5%;
        transform: translate3d(-5%, 10px, 0);
    }
    .navbar-nav .dropright>.dropdown-menu {
        transform: translate3d(0, 10px, 0);
    }
    .navbar-nav .dropdown:hover>.dropdown-menu,
    .navbar-nav .dropright:hover>.dropdown-menu {
        visibility: visible;
        opacity: 1;
    }
    .navbar-nav .dropdown:hover>.dropdown-menu {
        transform: translate3d(-5%, 0, 0);
    }
    .navbar-nav .dropright:hover>.dropdown-menu {
        transform: translate3d(0, 0, 0);
    }
    .parallax.quienes, .parallax.contacto, .parallax.otros-productos-interna {
        background-attachment: fixed!important;
        background-size: cover;
    }
    .parallax.contacto {
        background-position: 50% 10%;
    }
    
    .parallax.otros-productos-interna {
        background-position: 50% 0%;
    }
    
    .parallax.quienes {
        background-position: 50% 90%;
    }
}

/* xl (large desktops, 1200px and up) */

@media (min-width: 1200px) {
    /* body{
          background-color: green;
      } */
      .parallax.quienes, .parallax.contacto, .parallax.otros-productos-interna {
        background-attachment: fixed!important;
        background-size: cover;
    }
    .parallax.contacto {
        background-position: 50% 60%;
    }
    
    .parallax.otros-productos-interna {
        background-position: 50% 25%;
    }
    
    .parallax.quienes {
        background-position: 50% 60%;
    }
}

/* xxl (large desktops, 1400px and up) */

@media (min-width: 1400px) {
    /* body{
          background-color: green;
      } */
      .parallax.quienes, .parallax.contacto, .parallax.otros-productos-interna {
        background-attachment: fixed!important;
        background-size: 100%;
    }
    .parallax.contacto {
        background-position: 50% 60%;
        background-size: cover;
    }
    
    .parallax.otros-productos-interna {
        background-position: 50% 30%!important;
    }
    
    .parallax.quienes {
        background-position: 50% 50%;
    }

    .main-banner {
        background-position: 50% 50%;
    }

    .page-banner-container {
        height: 500px;
    }
    .main-banner-container {
        height: 500px;
    }
    .site-main{
        min-height: calc(100vh - (297px + 83px));
    }
    
}

/* Prueba de partner logos */

/* .brands .partner-logo img {
    margin: 25px;
    margin-top: 0px;
} */