/* botones */

  /* texto en cuerpo */

.link-destacado{
  background: #457b9d70;
  color: #686868;
  padding: 0 4px;
  transition: all 0.3s;
}

.link-destacado:hover{
  background: none;
  color: #686868;
  text-decoration: underline;
}

/* eol texto en cuerpo */

  /* boton negro */
  
  .botonblack,
  .botonwhite {
    display: inline-block;
    text-align: center;
    font-weight: bold;
    padding: 1.5rem 2.5rem;
    margin: 5px 10px 5px 0;
    line-height: 1;
    border-radius: 5rem;
    position: relative;
    z-index: 0;
    text-decoration: none;
    font-family: var(--font);
    overflow: hidden;
  }
  
  .botonblack{
    background: var(--colorblack);
    color: var(--colorWhite);
  }
  
  .botonwhite{
    color: var(--colorblack);
    border: 2px solid var(--colorblack);
  }
  
  .botonblack:before,
  .botonwhite:before{
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 50%;
    transform-origin: 50%;
    -webkit-transition-property: transform;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform,-webkit-transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
  }
  
  .botonblack:before {
    background:var(--color-custom1-enlace);
  }
  
  .botonwhite:before {
    background:var(--colorblack);
  }
  
  .botonblack:hover:before,
  .botonwhite:hover:before,
  .botonblack:focus:before,
  .botonwhite:focus:before{
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  
  .botonwhite:hover,
  .botonwhite:focus{
    color: var(--colorWhite);
  }
  
  /* eol boton negro */
  
  a.boton1, a.boton2, a.boton3, 
  a.boton1c, a.boton2c, a.boton3c,
  [class^="botonr"], [class*=" botonr"]{
    font-weight: normal;
    text-decoration: none;
    display: inline-block;
    margin: 5px 0 5px 0;
    border-radius: 3px;
    border: 2px solid transparent;
    transition: all .2s ease-in-out;
  }
  
  a.boton1, a.boton2, a.boton3{
    background-color: var(--colorWhite);
    color: var(--color-custom1-fondo);
    border: 2px solid var(--color-custom1-enlace);
  }
  
  a.boton1c, a.boton2c, a.boton3c,
  [class^="botonr"], [class*=" botonr"]{
    color: var(--colorWhite)!important;
    background-color: var(--color-custom1-fondo);
  }
  
  [class^="botonr"], [class*=" botonr"]{
    border-radius: 50px;
  }
  
  a.botonr1p, a.botonr2p, a.botonr3p{
    --color-custom1-fondo:var(--color-ppal);
  }
  
  a.botonr1s, a.botonr2s, a.botonr3s{
    --color-custom1-fondo:var(--color-sec);
  }
  
  a.boton1c:focus,
  a.boton1c:hover,
  a.boton2c:focus,
  a.boton2c:hover,
  a.boton3c:focus,
  a.boton3c:hover{
    background: 0 0;
    border-color: var(--color-custom1-fondo);
    color: var(--color-custom1-fondo)!important;
  }
  
  a.boton1, a.boton1c, [class^="botonr1"], [class*=" botonr1"]{
    padding: 5px 20px;
  }
  
  a.boton2, a.boton2c, [class^="botonr2"], [class*=" botonr2"]{
    padding: 7px 22px;
  }
  
  a.boton3, a.boton3c, [class^="botonr3"], [class*=" botonr3"]{
    font-size: 18px;
    padding: 14px 27px;
    font-weight: bold;
  }
  
  a.boton1:hover, a.boton2:hover, a.boton3:hover{
    background-color: #E5E5E5;
  }
  
  /* boton flecha */
  
  a.button.arrow{
    box-sizing: border-box;
    outline: 0;
    font-family: var(--font);
    padding: 16px 40px;
    font-size: 22px;
    border-radius: 1.6rem;
    font-weight: bold;
    background-color: var(--color-custom1-enlace);
    box-shadow: 0 4px 0 rgba(0,0,0,0.15), 0 4px 0 var(--color-custom1), 0 4px 6px rgba(0,0,0,0.45);
    cursor: pointer;
    border: none;
    color: #fff;
    margin: 2rem 0;
    display: inline-block;
    line-height: 3.7rem;
  }
  
  a.button.arrow:hover {
    transition: all 0.2s;
    transform: translateY(4px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.45);
  }
  
  a.button.arrow:after{
    content: "\e900";
    margin-left: 15px;
    font-weight: bold;
    top: 1px;
    font-size: 19px;
  }
  
  /* eol boton flecha */
  
  /* eol botones */
  
  /* avisos enlaces */
  
  /* novedad1 */
  
  a.novedad1,
  a.novedad2,
  a.nuevo{
    position: relative;
  }
  
  a.novedad2,
  a.nuevo{
    display: inline-flex!important;
    justify-content: flex-start;
    padding-left: 44px!important;
  }
  
  a.novedad1:after{
   content: "N";
   background: var(--colorRed);
  }

  a.novedad1:hover:after {
    content: "nuevo";
    background: var(--colorRed);
   }

   span.proximamente, a.proximamente, a.destacado{
    position: relative;
  }

  a.proximamente:after,
  span.proximamente:after{
    content: "P";
    background: purple; 
  }

  a.proximamente:hover:after,
  span.proximamente:hover:after {
    content: "Proximamente";
    background: purple; 
  }

  a.destacado:after{
    content: "D";
    background: orange; 
  }

  a.destacado:hover:after {
    content: "Destacado";
    background: orange; 
  }
  

  a.novedad2:before,
  a.nuevo:before{
    content: "NEW";
    background: var(--colorRed);
   }


  a.novedad1:after,
  a.proximamente:after,
  a.destacado:after,
  span.proximamente:after  {
    position: absolute;
    width: 1.8rem;
    height: 1.8rem;
    line-height: 1.7;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    border-radius: 2rem;
    font-size: 10px;
    font-weight: bold;
    color: var(--colorWhite);
    text-align: center;
    text-transform: uppercase;
    transition: right 0s, width 0.6s;
  }

  a.proximamente:after,
  span.proximamente:after{
    font-size: 10px;
  }
  
  a.novedad1:hover:after,
  a.proximamente:hover:after,
  a.destacado:hover:after,
  span.proximamente:hover:after   {
    width: auto;
    height: auto;
    padding: 1px 9px;
    font-size: 10px;
    color: var(--colorWhite);
    text-transform: uppercase;
    transition: width 0.6s, right 0s;
  }

  a.novedad1:hover:after{
    right: -6.5rem;
  }

  a.proximamente:hover:after,
  span.proximamente:hover:after {
    right: -110px;
  }

  a.destacado:hover:after {
    right: -8.5rem;
  }
  
  a.novedad2:before,
  a.nuevo:before{
    position: absolute;
    line-height: 1.7rem;
    border-radius: 0.2rem;
    font-size: 10px;
    color: var(--colorWhite);
    text-align: center;
    text-transform: uppercase;
    transition: right 0.4s, width 0.6s;
    padding: 0px 6px;
    margin-right: 8px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    margin-left: -40px;
    top: 4px;
  }

.menu a.nuevo{
  padding-left: 2.5rem !important;
  align-items: center;
}

.menu a.nuevo:before{
  position: relative;
  margin-left: 0;
  top: 0;
}
  
  /* end novedad1 */
  
  /* eol avisos enlaces */

  /* enlace ficheros */

a.file{
    padding-left: 25px;
}
a.file[href$=".docx"], a.file[href$=".doc"] {
  background: url('../../img/icons/icon-doc.png') left center no-repeat;
}
a.file[href$=".xlsx"], a.file[href$=".xls"] {
  background: url('../../img/icons/icon-xls.png') left center no-repeat;
}
a.file[href$=".pdf"] {
  background: url('../../img/icons/icon-pdf.png') left center no-repeat;
}
a.file[href$=".png"], a.file[href$=".jpg"], a.file[href$=".gif"] {
  background: url('../../img/icons/icon-gif.png') left center no-repeat;
}
a.file[href$=".odt"], a.file[href$=".ods"] {
  background: url('../../img/icons/icon-odt.png') left center no-repeat;
}
a.file[href$=".ppt"], a.file[href$=".pptx"] {
  background: url('../../img/icons/icon-ppt.png') left center no-repeat;
}

/* eol enlace ficheros */

/* más botones */

a.ask,
a.info{
  position: relative;
  display: inline;
}

a.ask:before{
    content: "?";
    background: var(--colorAzul-enlace);
    position: relative;
    line-height: 1.8rem;
    font-size: 18px;
    font-weight: bold;
    color: var(--colorWhite);
    text-align: center;
    text-transform: uppercase;
    padding: 2px 8px;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    border-radius: 5rem;
}

a.info:before{
    content: "i";
    background: rgb(22, 142, 186);
    position: relative;
    line-height: 1.8rem;
    font-size: 18px;
    font-style: italic;
    font-family: serif;
    font-weight: bold;
    color: var(--colorWhite);
    text-align: center;
    padding: 3px 10px 3px 9px;
    margin-right: 8px;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    border-radius: 5rem;
}

p ~ a.ask:before,
p ~ a.info:before{
    margin-left: 0;
}

/* eol más botones */



