/* 
Plugin Name:     BLM
Description:     Maquetador de Blacklight
Author:          Ingenima
Template:        blacklight
Version:         1.19.0
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# General
  ## Shadows
# Primaries
  ## Image
# Cards
# List
# Datos
# Group List
# Logos
# Navs
# Icons
# Desplegable
# Timeline

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

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

/*****
## Shadows
*****/

.blm-shadow {
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.05);
    -moz-box-shadow:0 0 10px rgba(0,0,0,.05);
    box-shadow: 0 0 10px rgba(0,0,0,.05);
}

.blm-shadow-2 {
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.1);
    -moz-box-shadow:0 0 10px rgba(0,0,0,.1);
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}

/*--------------------------------------------------------------
# Primaries
--------------------------------------------------------------*/

/*
  ## Image
*/

.blm-img {
  max-height:350px;
}
/*--------------------------------------------------------------
# Cards
--------------------------------------------------------------*/

.blm-card {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border:none;
    -webkit-transition: ease-in-out .35s;
    -o-transition: ease-in-out .35s;
    transition: ease-in-out .35s;
    min-height:auto !important;
    height:100%;
}

.blm-card img {
    max-width:100px;
    max-height:70px;
}

.blm-card .dummy-container h2 {
    font-size:24px;
    margin-bottom:0;
}

.blm-card .dummy-container p {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Datos
--------------------------------------------------------------*/

.blm-dato:last-child {
    border-right: none;
}

.blm-dato h3 {
    font-weight:bold;
    font-size:30px;
} 

.blm-dato p {
    margin-bottom:0;
}

/*--------------------------------------------------------------
# List
--------------------------------------------------------------*/

.blm ul {
    margin: 0;
}

.blm li  {
    list-style: none;
    padding:10px 0;
}

/* Step 1: Common Properties: All required to make icons render reliably */
.blm li::before  {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  position:absolute;
}

/* Step 2: Reference Individual Icons */
.blm li::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f058";
  left:25px;
}

/*--------------------------------------------------------------
# Group List
--------------------------------------------------------------*/

.blm-glist .list-group-item:last-child {
    margin-bottom: 0;
    border-bottom-right-radius:0;
    border-bottom-left-radius:0;
}

.blm-glist .list-group .list-group-item {
  border:none;
  outline:none;
  color:#666 !important;
  border-bottom:3px solid #666; 
  margin-bottom:10px;
  font-weight:bold;
}

.blm-glist .list-group .list-group-item.active {
  background-color:#fff;
  color:#000 !important;
  border-bottom:3px solid #000;
}

.blm-glist .list-group .list-group-item:hover {
  background-color:#fff;
}

.blm-glist svg {
  position:absolute;
  right:0;
  top:15px;
  font-size:15px;
}

/*--------------------------------------------------------------
# Logos
--------------------------------------------------------------*/

.blm-logos img {
    max-width:100px;
    max-height:45px;
}

/*--------------------------------------------------------------
# Navs
--------------------------------------------------------------*/

@media only screen and (min-width: 767px) {

  .blm-navs .nav-item img {
      max-width:100px;
      max-height:50px;
      position:relative;
      z-index:9;
  }

  .blm-navs .nav-item:focus img {
      filter: grayscale(100%);
  }

  .blm-navs .nav-item-texto:focus:after {
      background-color:#000;
      z-index:9;
  }

  .blm-navs .nav-item:focus:after {
      -webkit-transition: all .3s ease;
      -moz-transition: all .3s ease;
      -ms-transition: all .3s ease;
      -o-transition: all .3s ease;
      transition: all .3s ease;
  }

  .blm-navs .nav-item:after {
      content:"";
      height:70px;
      width:70px;
      position:absolute;
      border-radius:50px;
      top:-12px;
      transform:translateX(-35px);
  }

  .blm-navs .nav-item {
      text-align:center;
  }

  .blm-navs .nav-item p {
      margin-top:20px;
  }

}

/*--------------------------------------------------------------
# Icons
--------------------------------------------------------------*/ 

.blm-icons {
  margin-bottom: 40px;
}

.blm-icons img {
  max-width: 90px;
  margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Desplegable
--------------------------------------------------------------*/

.blm-accordion {
    background-color: #000;
    border: 2px solid #000;
}

.blm-accordion .heading a,
.blm-accordion .heading a:hover {
    color:#fff;
}

/* Reset style */
.blm-accordion .heading a,
.blm-accordion .heading a:active,
.blm-accordion .heading a:focus {
    width:100%;
    text-align:left;
    outline:none !important;
    border:none;
    box-shadow: none;
}

.blm-accordion .heading .btn {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
  -webkit-align-items: center;
    align-items: center;
    font-weight:bold;
    white-space: normal;
    text-align:left;
}

.blm-accordion svg {
    height:15px;
    width:15px;
    -webkit-transition: all 0.25s 0s ease-in-out;
    -moz-transition: all 0.25s 0s ease-in-out;
    -o-transition: all 0.25s 0s ease-in-out;
    transition: all 0.25s 0s ease-in-out;
    -ms-transform: rotate(0deg) !important;
    -webkit-transform: rotate(0deg) !important;
    transform: rotate(0deg) !important;
    transform-origin:center center;
    fill:#fff;
}

.blm-accordion .heading .btn:not(.collapsed) svg {
    -ms-transform: rotate(180deg) !important;
    -webkit-transform: rotate(180deg) !important;
    transform: rotate(180deg) !important;
    transform-origin:center center;
    -webkit-transition: all 0.25s 0s ease-in-out;
    -moz-transition: all 0.25s 0s ease-in-out;
    -o-transition: all 0.25s 0s ease-in-out;
    transition: all 0.25s 0s ease-in-out;
    height:15px;
    width:15px;
}

/*--------------------------------------------------------------
# Timeline
--------------------------------------------------------------*/

.blm-timestart {
  position:relative;
  counter-reset: section; 
}

.blm-timestart .row {
  position:relative;
}

/* Circulo */
.blm-timestart .row::before {
  content:'';
  position:absolute;
  right:calc(50% - 43px);
  top:calc(50% - 43px);
  background-color:#000;
  width:86px;
  height:86px;
  border-radius:50%;
  text-align:center;
  color:#fff;
  font-size:30px;
  font-weight:bold;
  z-index:1;
  vertical-align: -50%;
}

/* Contador */
@media only screen and (min-width: 767px) {
 
  .blm-timestart .row::after {
    counter-increment: section; 
    content: counter(section);
    position:absolute;
    top:calc(50% - 20px);
    text-align:center;
    right:0;
    left:0;
    z-index:99;
    font-size:30px;
    font-weight:bold;
    color:#fff;
  }

  /* Linea */
  .blm-timestart .row .blm-timecol::before {
    background-color:#000;
    content:'';
    width:2px;
    position:absolute;
    right:50%;
  }

  /* Linea de primer elemento */
  .blm-timestart .row:nth-child(1) .blm-timecol::before {
    height:50%;
    top:50%;
  }

  /* Linea de elementos del medio */
  .blm-timestart .row .blm-timecol::before {
    height:100%;
    top:0;
  }

  /* Linea de ultimo elemento */
  .blm-timestart .row:last-child .blm-timecol::before {
    height:50%;
    top:0%;
  }
  
}

/* Card de timeline */
.blm-timeprocess {
  border-radius:20px;
  width:100%;
  max-width:330px;
}

.blm-timeprocess img {
  margin-bottom:20px;
  max-width:60px;
}

.blm-timeprocess ul {
  padding-left:10px;
}