/*--------------------------------------------------------------
# scroll bar
--------------------------------------------------------------*/


/*definimos el ancho del scroll */

::-webkit-scrollbar {
    width: auto;
}


/*definimos el color de fondo de de la barra de scroll */

::-webkit-scrollbar-track {
    background: #ffffff;
}


/*personalizamos el scroll*/

::-webkit-scrollbar-thumb {
    border-radius: auto;
    background: linear-gradient(180deg, #3a683d 0%, #3a683d 35%, #3a683d 100%);
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
#hero{
    min-height: 730px;
    background-image: url(../img/petrolera/Anglo-24-BannerPrincipaWeb-Petrolera.webp);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 150px;
    display: flex;
    align-items: flex-end;
    background-color: #00736a;
    margin-bottom: -10px;
}
#hero h1{
    color: #fff;
    font-size: 32px;
}
#hero h1 strong{
    font-weight: 700;
    font-size: 48px;
}
#hero img{
    width: 80px;
}

/*--------------------------------------------------------------
# Filosofia
--------------------------------------------------------------*/

#petro-filosofia{
    background-color: #00736a;
    padding: 100px 150px;
}
#petro-filo h2, #petro-filo p{
    color: #fff;
}
#petro-filo.nav.nav-tabs{
    margin-bottom: 20px;
    column-gap: 20px;
}
#petro-filo a.nav-link.active{
    color:#99d764 !important;
    padding-bottom: 10px;
    background-color: transparent !important;
    border-color: transparent !important;
    border-bottom: solid 4px #fff !important;
    font-weight: 700;
}
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: transparent !important;
}
#petro-filo a.nav-link{
    color: #fff !important;
    background-color: transparent;
}
#petro-filosofia .tab-content>.active {
    color: #fff;
}
#petro-filosofia .tab-content>.active{
    padding: 40px 0;
    margin: 0;
}
#petro-filosofia .tab-content>.active img{
    border-radius: 10px;
    width: 100%;
}
#petro-filosofia .tab-content>.active h2 {
    margin: 0;
    padding: 40px 0;
    font-weight: 700;
}

#fil-int{
    padding: 100px;
}
#filosofia{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 30px;
    border: 1px solid #c2dacb;
    border-radius: 10px;
    background-color: #ffffff;
}

#filosofia .fil1{
    width: 30%;
}
#filosofia .fil2{
    width: 70%;
    height: 520px;
    overflow-y: auto;
    padding-right: 40px;
}
#filosofia .nav-pills .nav-link.active{
    background-color: #3a683d;
    padding: 14px 30px;
    width: 80%;
    color: #fff;
    font-weight: 700;
}
#filosofia .nav-link{
    padding: 12px 30px;
    width: 80%;
    color: #000000;
}
#filosofia ::-webkit-scrollbar-track {
    background: transparent;
    border: solid 1px #3a683d;
    border-radius: 50px;
}
#filosofia ::-webkit-scrollbar-thumb {
    border-radius: 50px;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,0) 20%, rgba(58,104,61,1) 20%, rgba(58,104,61,1) 80%, rgba(255,255,255,0) 80%);
}

#filosofia p{
    color: #000000;
}
 #filosofia h2{
    color: #000000;
    font-weight: 700;
}
#filosofia img{
    border-radius: 10px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
#filosofia .tab-content>.active {
    display: block;
    display: flex;
    flex-wrap: nowrap;
    row-gap: 20px;
    flex-direction: column;
}

#cronograma img.crono{
    width: 14px;
    height: auto;
}
#cronograma a{
    background: #99d764;
    width: 44%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: 0 28%;
    padding: 10px 20px;
    border-radius: 10px;
    color: #fff;
    column-gap: 10px;
}
#demo {
    height:100%;
    position:relative;
    overflow:hidden;
  }
  
  
  .green{
    background-color:#6fb936;
  }
  .thumb{
          margin-bottom: 30px;
        }
     
  img.zoom {
      width: 100%;
      height: auto;
      border-radius:5px;
      object-fit:cover;
      -webkit-transition: all .3s ease-in-out;
      -moz-transition: all .3s ease-in-out;
      -o-transition: all .3s ease-in-out;
      -ms-transition: all .3s ease-in-out;
  }
          
   
  .transition {
      -webkit-transform: scale(1.1); 
      -moz-transform: scale(1.1);
      -o-transform: scale(1.1);
      transform: scale(1.1);
  }
      .modal-header {
     
       border-bottom: none;
  }
  .modal-title {
          color:#000;    }
  .modal-footer{
        display:none;  
      }
  .fancybox-nav span {
      visibility: visible !important;
  }

/*--------------------------------------------------------------
# Programas Institucionales
--------------------------------------------------------------*/
#programas {
    padding: 0px 150px  100px;
}
#programas h2 {
    font-weight: 700;
    font-size: 32px;
    padding-bottom: 40px;
}
.card-header.collapsed .card-title{
    font-weight: 400 !important;
    color: #000000;
    text-decoration: none;
    font-size: 24px;
}
.card-header .card-title{
    font-weight: 700;
    font-size: 24px;
}
#programas .card-title:hover{
    text-decoration: none;
}
#programas button.btn.btn-block.text-left{
    font-weight: 600;
}
#programas .card{
    border-left: 0px !important;
    border-right: 0px !important;
    border-radius: 0px !important;
}
#programas .btn-check:focus+.btn, .btn:focus {
    box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 0%) !important;
}
#programas .card-header{
    background-color: transparent;
}
#programas .accordion .card-header:after {
    font-family: 'FontAwesome';  
    content: "\f068";
    float: right; 
    color: #3a683d; 
}
#programas .accordion .card-header.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\f067";
    color: #3a683d;  
}
#programas .accordion>.card>.card-header {
    background-color: transparent;
    border-top: 1px solid #000;
}
.card-header {
    padding: .5rem 1rem;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    border-bottom: 0px solid rgba(0,0,0,.125) !important;
}
.card {
    border: 0px solid rgba(0,0,0,.125) !important;
    border-bottom:1px solid #000 !important;
}

/*--------------------------------------------------------------
# Contacto
--------------------------------------------------------------*/
#proceso{
    padding: 100px 150px;
    background-color: #e9e9e9;
}
#proceso h2 {
    padding-bottom: 30px;
    font-weight: 700;
    font-size: 32px;
    text-align: center;
}
.ingreso{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    border-radius: 15px;
}
.procedimiento, .solicitud{
    width: 50%;
}
.procedimiento{
    background-image: url(../img/petrolera/Anglo-24-FormularioPetrolera.webp);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: end;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 30px;
    color: #fff;
}
.procedimiento a {
    color: #fff;
    text-decoration: none;
    background-color: #99d764;
    padding: 8px 22px;
    width: fit-content;
    border-radius: 8px;
    border: none;
    font-weight: 700;
}
.procedimiento h3 {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 30px;
}
.procedimiento a:hover{
    color: #fff;
    text-decoration: none;
}
#proceso .solicitud{
    background-color: #fff;
    padding: 30px;
}
.solicitud input[type=submit].btn-block {
    color: #fff;
    text-decoration: none;
    background-color: #99d764;
    padding: 8px 22px;
    width: fit-content;
    border-radius: 8px;
    border: none;
    font-weight: 700;
}
button, input, optgroup, select, textarea {
    width: 100%;
    padding: 5px;
    border: rgb(198, 198, 198) 1px solid;
    border-radius: 5px;
}
#proceso form{
    column-gap: 10px;
    row-gap: 20px;
    display: flex;
    flex-direction: column;
}
form textarea{
    resize: none;
    height: 220px;
}
/*--------------------------------------------------------------
# Ubicación
--------------------------------------------------------------*/
#mapa{
    line-height:0 !important;
}
@media(max-width:1200px){
    div.container.d-flex.justify-content-between{
        margin: 0px !important;
    }
}
/*--------------------------------------------------------------
# Tablet 1024PX
--------------------------------------------------------------*/
@media(max-width:1024px){
    #hero{
        padding: 80px 40px;
        min-height: 540px;
    }
    #petro-filosofia {
        padding: 80px 40px;
    }
    #programas {
        padding: 0px 40px 80px;
    }
    #proceso{
        padding: 80px 40px;
    }
    #fil-int {
        padding: 80px 40px;
        }
    
}
/*--------------------------------------------------------------
# TABLET 991PX
--------------------------------------------------------------*/
@media(max-width:991px){
    #filosofia .nav-pills .nav-link.active{
        padding: 12px 10px;
    }
    #filosofia .nav-link{
        padding: 12px 10px;
    }
}
/*--------------------------------------------------------------
# MOVIL 880PX
--------------------------------------------------------------*/
@media(max-width:880px){
    #hero{
        padding: 70px 30px;
    }
    #hero h1{
        font-size: 26px;
    }
    #hero h1 strong {
        font-weight: 700;
        font-size: 30px;
    }
    #petro-filosofia {
        padding: 70px 30px;
    }
    #programas {
        padding: 0px 30px 70px;
    }
    #proceso{
        padding: 70px 30px;
    }
    iframe {
        border: 0;
        height: 300px;
    }
    #filosofia .nav-pills .nav-link.active {
        padding: 14px;
        width: 90%;
        align-content: center;
        align-items: center;
    }
    #filosofia .nav-link {
        padding: 14px;
        width: 90%;
    }
}

/*--------------------------------------------------------------
# MOVIL 760PX
--------------------------------------------------------------*/
@media(max-width:760px){
    #hero{
        padding: 70px 30px;
        min-height: 100vh;
    }
    #hero h1 br{
        display: none;
    }
}

/*--------------------------------------------------------------
# MOVIL 666PX
--------------------------------------------------------------*/
@media(max-width:666px){
    #hero {
        min-height: 400px;
    }
    #filosofia .fil1 {
        width: 100%;
        flex-direction: row !important;
        justify-content: space-between;
    }
    #filosofia .nav-pills .nav-link.active {
        width: 50%;
        font-weight: 700;
    }
    #filosofia .nav-link {
        width: 50%;
    }
    #filosofia .fil2 {
        width: 100%;
        padding-right: 10px;
    }
    #fil-int {
        padding: 70px 4px;
    }
    #filosofia .nav-pills .nav-link.active {
        width: 33%;
        font-weight: 700;
        font-size: 12px;
        text-align: center;
        padding: 8px;
        align-items: center;
        display: flex;
        justify-content: center;
    }
    #filosofia .nav-link {
        width: 33%;
        font-size: 12px;
        text-align: center;
        padding: 8px;
        align-items: center;
        display: flex;
        justify-content: center;
    }
    #filosofia {
        padding: 20px;
        row-gap: 20px;
    }
    .procedimiento, .solicitud {
        width: 100%;
    }
    .procedimiento{
        min-height: 500px;
    }
    .procedimiento h3 {
        font-size: 22px;
    }
    #cronograma a {
        width: 80%;
        margin: 0 10%;
    }    
}