// Fonts
@import url('https://fonts.googleapis.com/css?family=Nunito');

// Variables
@import 'variables';

// Bootstrap
//@import '~bootstrap/scss/bootstrap';


.panel-heading+.panel-body  {
  padding: 15px !important;
}
.title-wrapper {
  .page-title {
    display: flex;
    align-items: center;

    height: 50px;
    line-height: 18px;
font-size:2rem;
    color: #555;
    margin: 30px 0 0 15px !important;
    padding: 0  !important;
    font-weight: 700;
    i {
      position: static;
    }
  }

  hr {
    margin:5px 15px 20px 15px;
  }
}


.estro-card {
  box-shadow: 0 1px 3px rgba(0,0,0,.2) !important;
  border: 0 solid #e4e4e4 !important;

  .card-header {
    background-color:#071034 !important;
    padding:10px 15px !important;
    color:white;
    display: flex;
    align-items: center;
    font-size:16px;
    line-height:16px !important;

    i {
      margin-right:5px
    }
  }
  .card-body {
    padding:10px 15px !important;

  }
}

label {
  font-weight:700;
}

.panel-success {
  .panel-heading {
    background: #1abc9c !important;
  }


  button {
    width:100px !important;
    height:40px !important;
  }
}

.edit {
  color:#19b5fe;
  &:hover {
    color:#19b5fe;
    opacity:0.7;
  }
}

.delete {

  display: inline-block;
  button {
    color:$red;
    background-color: transparent;
    border:none;
    padding:0;
    &:hover {
      opacity:0.7;
    }
  }

}


.search {

  .input-group {
    display: flex;
  }
  .input-group-btn {
    height:34px !important;
    width:34px !important;
    display: inline-block;
    button {
      margin: 0;
      height:34px !important;
      background-color:#19b5fe !important;
      border-top-right-radius: 3px;
      border-bottom-right-radius: 3px;
      color:white !important;



    }
  }
}


table {
  thead {
    th {
      background-color: #071034 !important;
      color:white !important;

    }
  }
}

$textColor: #1E2330;
$primary: #19b5fe;

.selectMultiple {
  width: 240px;
  position: relative;
  select {
    display: none;
  }
  & > div {
    position: relative;
    z-index: 2;
    padding: 8px 12px 2px 12px;
    border-radius: 3px;
    font-size: 14px;
    min-height: 34px;
    color: #76838f;
    background-color: #fff;
    background-image: none;
    border: 1px solid #e4eaec;
    transition: box-shadow .3s ease;

    .arrow {
      right: 1px;
      top: 0;
      bottom: 0;
      cursor: pointer;
      width: 28px;
      position: absolute;
      &:before,
      &:after {
        content: '';
        position: absolute;
        display: block;
        width: 2px;
        height: 8px;
        border-bottom: 8px solid #99A3BA;
        top: 43%;
        transition: all .3s ease;
      }
      &:before {
        right: 12px;
        transform: rotate(-130deg);
      }
      &:after {
        left: 9px;
        transform: rotate(130deg);
      }
    }
    span {
      color: #99A3BA;
      display: block;
      position: absolute;
      left: 12px;
      cursor: pointer;
      top: 8px;
      line-height: 28px;
      transition: all .3s ease;
      &.hide {
        opacity: 0;
        visibility: hidden;
        transform: translate(-4px, 0);
      }
    }
    a {
      position: relative;
      padding: 0 24px 6px 8px;
      line-height: 28px;
      color: $textColor;
      display: inline-block;
      vertical-align: top;
      margin: 0 6px 0 0;
      em {
        font-style: normal;
        display: block;
        white-space: nowrap;
      }
      &:before {
        content: '';
        left: 0;
        top: 0;
        bottom: 6px;
        width: 100%;
        position: absolute;
        display: block;
        background: rgba(#E4ECFA, .7);
        z-index: -1;
        border-radius: 4px;
      }
      i {
        cursor: pointer;
        position: absolute;
        top: 0;
        right: 0;
        width: 24px;
        height: 28px;
        display: block;
        &:before,
        &:after {
          content: '';
          display: block;
          width: 2px;
          height: 10px;
          position: absolute;
          left: 50%;
          top: 50%;
          background: $primary;
          border-radius: 1px;
        }
        &:before {
          transform: translate(-50%, -50%) rotate(45deg);
        }
        &:after {
          transform: translate(-50%, -50%) rotate(-45deg);
        }
      }
      &.notShown {
        opacity: 0;
        transition: opacity .3s ease;
        &:before {
          width: 28px;
          transition: width .45s cubic-bezier(.87,-.41,.19,1.44) .2s;
        }
        i {
          opacity: 0;
          transition: all .3s ease .3s;
        }
        em {
          opacity: 0;
          transform: translate(-6px, 0);
          transition: all .4s ease .3s;
        }
        &.shown {
          opacity: 1;
          &:before {
            width: 100%;
          }
          i {
            opacity: 1;
          }
          em {
            opacity: 1;
            transform: translate(0, 0);
          }
        }
      }
      &.remove {
        &:before {
          width: 28px;
          transition: width .4s cubic-bezier(.87,-.41,.19,1.44) 0s;
        }
        i {
          opacity: 0;
          transition: all .3s ease 0s;
        }
        em {
          opacity: 0;
          transform: translate(-12px, 0);
          transition: all .4s ease 0s;
        }
        &.disappear {
          opacity: 0;
          transition: opacity .5s ease 0s;
        }
      }
    }
  }
  & > ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 16px;
    z-index: 1;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    border-radius: 8px;
    transform: translate(0, 20px) scale(.8);
    transform-origin: 0 0;
    filter: drop-shadow(0 12px 20px rgba(#162A5A, .08));
    transition: all .4s ease, transform .4s cubic-bezier(.87,-.41,.19,1.44), filter .3s ease .2s;
    li {
      color: $textColor;
      background: #fff;
      padding: 12px 16px;
      cursor: pointer;
      overflow: hidden;
      position: relative;
      transition: background .3s ease, color .3s ease, transform .3s ease .3s, opacity .5s ease .3s, border-radius .3s ease .3s;
      &:first-child {
        border-radius: 8px 8px 0 0;
        &:last-child {
          border-radius: 8px;
        }
      }
      &:last-child {
        border-radius: 0 0 8px 8px;
        &:first-child {
          border-radius: 8px;
        }
      }
      &:hover {
        background: $primary;
        color: #fff;
      }
      &:after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 6px;
        height: 6px;
        background: rgba(#000, .4);
        opacity: 0;
        border-radius: 100%;
        transform: scale(1, 1) translate(-50%, -50%);
        transform-origin: 50% 50%;
      }
      &.beforeRemove {
        border-radius: 0 0 8px 8px;
        &:first-child {
          border-radius: 8px;
        }
      }
      &.afterRemove {
        border-radius: 8px 8px 0 0;
        &:last-child {
          border-radius: 8px;
        }
      }
      &.remove {
        transform: scale(0);
        opacity: 0;
        &:after {
          animation: ripple .4s ease-out;
        }
      }
      &.notShown {
        display: none;
        transform: scale(0);
        opacity: 0;
        transition: transform .35s ease, opacity .4s ease;
        &.show {
          transform: scale(1);
          opacity: 1;
        }
      }
    }
  }
  &.open {
    & > div {
      .arrow {
        &:before {
          transform: rotate(-50deg);
        }
        &:after {
          transform: rotate(50deg);
        }
      }
    }
    & > ul {
      transform: translate(0, 12px) scale(1);
      opacity: 1;
      visibility: visible;
      filter: drop-shadow(0 16px 24px rgba(#162A5A, .16));
    }
  }
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  25% {
    transform: scale(30, 30);
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(50, 50);
  }
}


.show {
  color: #d89d40;
  display: inline;
  &:hover {
    color: #d8b792;

  }
}

.delete {
  margin:0 4px !important;
}