
.shadow-1 {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.shadow-2 {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.shadow-3 {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.shadow-4 {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.shadow-5 {
  box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
}
#lang_selected {
  p{
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0;
  }
}
.language-dropdown {
  display: inline-block;
  margin: 0 8px;

  .lang-en {
    border-left: 4px solid $themecolor1;
    margin-bottom: 0;

    .flag {
      background-image: url("../images/falgs/1.png");
    }
  }

  .lang-pt {
    border-left: 4px solid $themecolor1;

    .flag {
      background-image: url("../images/falgs/2.png");
    }
  }

  .lang-es {
    border-left: 4px solid #DA4D13;

    .flag {
      background-image: url("../images/falgs/3.png");
    }
  }

  label, ul li {
    display: block;
    width: 42px;
    height: 28px;
    background: #fff;
    padding: 0 !important;
    cursor: pointer;
  }

  ul.lang-list {
    @extend .shadow-1;
    position: absolute;
    display: none;
    opacity: 0;
    z-index: 15;

    li {
      border-bottom: 1px solid #ECECEC;

      &:last-child {
        border-bottom-right-radius: 2px;
        border-bottom-left-radius: 2px;
      }

      &.selected {
        display: none;
      }
    }
  }

  label {
    @extend .shadow-1;
    position: relative;
    border-bottom: 1px solid #ECECEC;
    border-radius: 3px;
    z-index: 2;
  }
  .lang-flag{
    margin-bottom: 0 !important;
  }

  .lang-flag, .lang-list .lang {
    .flag {
      float: left;
      width: 100%;
      height: 100%;
      cursor: pointer;
      background-size: auto 35px;
      background-repeat: no-repeat;
      background-position: center;

      &:hover {
        // transform: scale(1.1);
      }
    }
  }

  &.open {
    ul.lang-list {
      opacity: 1;
      display: block;
      background-color: #fff;
      top: 36px;
      text-align: center;
      padding: 10px 0 0 0;
    }

    label {
      @extend .shadow-2;
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
    }
  }
}

.animate {
  cursor: pointer;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -ms-transition: all .5s;
  -ms-transition: all .5s;
  transition: all .5s;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
}

.lang-flag, .lang-list {
  @extend .animate;
}