//////////////////////    VARIABLES    ////////////////////////////
@import "back_colors";
@import "back_funciones";

// Cabecera
.cabecera_head {
  background: $primary-color;
  -webkit-box-shadow: 0px 0px 60px #ccc;
  box-shadow: 0px 0px 60px #ccc;
  padding: 14px 20px;
  margin: 20px 22px 36px 0;
  @media (max-width: 600px) {
    margin: 0;
  }
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;

  @media (max-width: 600px) {
    position: relative;
    top: 55px;
  }
  
  .cabecera_logo {
    margin-bottom: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    .textFree{
      color: #4da69b;
    }
    img {
      width: 145px;
      height: 100%;
      vertical-align: middle;
    }
    .name{
      position: relative;
      top: 36px;
      right: 60px;
      font-size: 16px;
      color: #fff;
    }
  }
  .bloq_title{
    position: relative;
    right: 30px;
    text-align: right;
    .logoTitle {
      color: #ffffff;
      font-size: 28px;
      font-weight: 600;
      letter-spacing: 1px;
      position: relative;
      top: 5px;
      padding: 0px 5px 10px 15px;
      text-shadow: 1px 1px 1px #b9b9b9;
      -webkit-box-flex: 1;
      -ms-flex-positive: 1;
      flex-grow: 1;
      @media (max-width: 600px) {
        font-size: 20px;
      }
    }
    .plugV{
      position: relative;
      top: 5px;
      color: #ffffff;
      @media (max-width: 600px) {
        display: none;
      }
    }

  }

  .cabecera_info {
    font-size: 14px;
    @media (max-width: 880px) {
      margin-top: 15px;
      width: 100%;
    }
    span {
      padding: 0px 10px;
      border-right: 1px solid #ffffff;
      &:last-child{
        border: none;
      }
    }
    a {
      overflow: hidden;
      outline: none;
      font-weight: 600;
      opacity: 0.8;
      text-decoration: none;
      color: #ffffff;
    }
  }
}


// Tamaño no-image
$width-noImage: 50px;
$height-noImage: 95px;
$pad_ext: 37px;

#menu-posts-tarokkina_free {
  .wp-submenu {
    & li {
      display: none;
    }
    & li:nth-child(2) {
      display: block;
    }
    & li:last-child {
      display: block;
    }
  }
}
.page-title-action {
  display: none !important;
}

.post-type-tarokkina_free {
  ///////////////////////////////////////////////////////////////////



  & .carbon-theme-options > h2,
  h1.wp-heading-inline {
    display: none !important;
  }

  .wrap .page-title-action {
    margin: 5px 0;
    display: inline-block;
  }

  @media only all and (max-width: 850px) {
    .carbon-network #post-body.columns-2 #postbox-container-1.fixed,
    .carbon-theme-options #post-body.columns-2 #postbox-container-1.fixed {
      position: inherit;
    }
  }


  $fondo: #9ba2a6;
  $color1: #fff;
  #menu-posts-tarokkina_free > ul > {
    li {
      position: relative;
      margin-left: 15px;
      padding-left: 5px;
      &::before {
        content: "\f139";
        position: absolute;
        font-family: dashicons;
        top: 6px;
        left: -8px;
        font-size: small;
        padding: 1px;
        color: #9ba2a6;
        border-radius: 50%;
        text-align: center;
        line-height: 15px;
        width: 15px;
        height: 15px;
      }
      a {
        &:hover,
        &:focus {
          -webkit-box-shadow: none;
          box-shadow: none;
        }
      }
    }
  }
  #menu-posts-tarokkina_free > ul > li:nth-child(2) {
    &::before {
      color: $fondo;
    }
  }

  #menu-posts-tarokkina_free > ul > li:nth-child(3) {
    &::before {
      color: $fondo;
    }
  }

  #menu-posts-tarokkina_free > ul > li.current {
    &::before {
      color: #fff;
    }
  }

  .row-actions span.trash a.submitdelete {
    color: $arnelio_color;
  }

  ////////////////////////
}

.footerReview {
  // background: $color-verde;
  // color: #fff;
  padding: 8px;
  a {
    color: $color_wordpress;
  }
}

// Plugins.php

.info_no_tarokina {
  background-color: red;
  color: #fff;
  padding: 4px 6px;
}

.cabecera_info span .btnCardIds{
  background-color: #c51761;
  color: #fff !important;
  padding: 10px 14px;
  border-radius: 4px;
  text-decoration: none;
  &:hover{
    background-color: $color_cartas;
    text-decoration: none;
  }
}

.clear_tooltip{
  position: relative;
  &::before {
    content: attr(data-text);
    position: absolute;
    top: 78px;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    left: 0;
    margin-right: 15px;
    width: 200px;
    padding: 10px;
    border-radius: 10px;
    background: #000;
    color: #fff;
    text-align: center;
    z-index: 1;
    display: none;
  }
  &::after {
    content: "";
    position: absolute;
    left: 60px;
    margin-right: -5px;
    top: 46px;
    -webkit-transform:translateY(-50%);
        -ms-transform:translateY(-50%);
            transform:translateY(-50%);
   
    border:10px solid $color_cartas;
    border-color: $color_cartas transparent transparent transparent;
    z-index: 1;
    display:none;
  }
  &:hover::before, &:hover::after {
    display:block;
  }
}

///////////////////////       ///////////////////////////
// Forzar dirección a la derecha
////////////////////////////////////////////////////////////////

.cabecera_head{
  direction: ltr;
}
