.pixel {
  background-color: rgb(236, 236, 236);
  font-size: 14px;
  font-weight: bolder;
  padding: 2px 10px;
  top: -3px;
  position: relative;
  border-radius: 5px;
}

.dropdown {
  &:hover {
    #info-pop {
      display: block;
      position: fixed;
      border-radius: 8px;
      background-color: rgb(255, 255, 255);
      z-index: 9 !important;
      top: 40px;
      right: 10px;
      width: 500px;
      height: 380px;
      box-shadow: 1px 12px 20px rgba(0, 0, 0, 0.3);
    }
    .info-pop-triangle {
      position: absolute;
      top: -10px;
      right: 104px;
      width: 0;
      height: 0;
      z-index: 10 !important;
      border-style: solid;
      border-width: 0 10px 10px 10px;
      border-color: transparent transparent #ffffff transparent;
    }
  }
  #info-pop {
    display: none;
    .list {
      width: 500px;
    }
    .teacher-name {
      color: #24b880;
      font-weight: bolder;
    }
    .info-pop-title {
      color: #575757;
      font-weight: bolder;
      padding-left: 20px;
      line-height: 32px;
    }
    .list-item-info {
      margin-top: -1px;
    }
    .list-item-time {
      margin-top: -1px;
      margin-bottom: -10px;
      color: #8f8787;
      font-size: 12px;
    }
    .score-num {
      position: relative;
      font-weight: bolder;
      top: -1px;
      font-size: 18px;

      color: #24b880;
    }
    .feedback-icon {
      position: relative;
      top: 4px;
      left: 7px;
      font-size: 24px !important;
      color: #24b880;
    }
  }
  .info-badge {
    height: 10px;
    margin-top: 6px;
    padding: 1px 5px;
    background-color: #24b880 !important;
    position: absolute;
    right: 21px;
    border-radius: 50%;
    z-index: 12;
  }
  .list-block {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 0px;
    width: 500px;

    overflow: auto;
  }

  .ivu-scroll-container {
    height: 343px !important;
    padding-bottom: 0px;
    padding-top: 0px !important;
    overflow: auto;
  }
  .ivu-scroll-container .ivu-spin-text {
    color: #24b880;
    font-weight: bolder;
  }
  .ivu-scroll-container .ivu-scroll-loader {
    margin-top: -10px;
  }
}
.profile-dropdown {
  & > p {
    float: right;
    margin-right: 48px;
    font-weight: bold;
  }
  &:hover {
    #profile-pop {
      display: block;
      position: fixed;
      border-radius: 4px;
      background-color: rgb(255, 255, 255);
      z-index: 9 !important;
      top: 40px;
      right: 10px;
      width: 170px;
      height: auto;
      box-shadow: 1px 8px 20px rgba(0, 0, 0, 0.2);
      padding: 2px 0px;
    }
    .profile-pop-triangle {
      position: absolute;
      top: -10px;
      right: 40px;
      width: 0;
      height: 0;
      z-index: 10 !important;
      border-style: solid;
      border-width: 0 10px 10px 10px;
      border-color: transparent transparent #fff transparent;
    }
  }
}
/***個人設定彈窗 */
#profile-pop {
  display: none;
  .profile-pop-item {
    cursor: pointer;
    font-weight: bold;
    padding: 5px 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #575757;
    &:hover {
      background: linear-gradient(-0.75turn, #fafafa, #d4ede1);
      color: #03966a;
      cursor: pointer;
    }
  }
  .profileName {
    margin: 0px 10px;
    margin-bottom: -2px;
    color: #03966a;
  }
  .profile-pop-itemIcon1 {
    font-size: 18px;
    font-weight: bolder;
    position: relative;
    top: 1px;
    margin-right: 6px;
  }
  .profile-pop-itemIcon2 {
    font-size: 18px;
    font-weight: bolder;
    position: relative;
    top: 1px;
    left: 2px;
    margin-right: 6px;
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
  }
}
.myNav {
  position: fixed; /* Set the navbar to fixed position */
  top: 0px; /* Position the navbar at the top of the page */
  width: 100%; /* Full width */
  z-index: 10;
  .ivu-menu-horizontal {
    height: 44px !important;
    padding-top: 4px;
    line-height: 38px !important;
    padding-bottom: 4px;
    .ivu-menu-item {
      float: right !important;
      padding: 0px 20px !important;

      border-bottom: 3px solid transparent !important;
      bottom: 2px;
    }
  }
  .ivu-menu-light.ivu-menu-horizontal .ivu-menu-item-active,
  .ivu-menu-light.ivu-menu-horizontal .ivu-menu-item:hover,
  .ivu-menu-light.ivu-menu-horizontal .ivu-menu-submenu-active,
  .ivu-menu-light.ivu-menu-horizontal .ivu-menu-submenu:hover {
    color: rgb(2, 179, 90) !important;
    border-bottom: 3px solid rgb(2, 179, 90) !important;
    transition: 0.5s;
    bottom: 2px;
  }
  .mytitle {
    padding: 0rem 1rem;
    color: rgb(2, 179, 90);
    font-weight: bolder;
    position: relative;
    color: #24b880 !important;
    font-size: 20px;
    bottom: 1px !important;
    margin-left: 0.1%;
  }
  .avatar-link {
    float: right;
    top: 10px;
    margin: 0px 10px 0 20px;
    // margin-right: 48px;
    cursor: pointer;
  }
  .ivu-avatar.ivu-avatar-circle.ivu-avatar-image.ivu-avatar-default {
    height: 24px !important;
    width: 24px !important;
    margin-top: -6px;
  }
}
.sidebar-toggle {
  padding: 0px 10px;
  position: relative;
  top: -3px;
  left: 10px;
  .menu-icon {
    color: rgb(2, 179, 90) !important;
    cursor: pointer;
  }
  .menu-icon-close {
    color: rgb(105, 105, 105) !important;
  }
}

.myContent {
  margin-top: 40px;
}
.tabIcon1 {
  position: relative;
  font-size: 24px;
  padding-top: 4px;
  left: 2px;
  top: 2px;
}
.tabIcon2 {
  position: relative;
  font-size: 24px;
  padding-top: 4px;
  left: 3px;
}
.tabIcon3 {
  position: relative;
  font-size: 24px;
  top: 2px;
  padding-top: 4px;
}
.tabIcon4 {
  position: relative;
  font-size: 24px;
  top: 0px;
  left: 1px;
  padding-top: 4px;
}
.menubar{
  position: relative !important;
}
.addcoursebtn{
  position: relative;
  font-weight: bolder;
  z-index:20;
  background-color: #64ae16;
  color:white;
  right:20px;
  top:3px;
  
  border:none;
  outline: none;
  border-radius:4px ;
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
  padding:3px 10px !important;
  cursor: pointer;
  line-height: 26px;
  float: right;
  &:hover{
    background-color: Darken(#64ae16,10%);
  }

}
.addcourseinput{
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
  line-height: 26px;
  color: #24b880;
  &::placeholder {
    color: rgb(179, 179, 179);
  }
  float: right;
  top:3px;
  position: relative;
  border:none;
  outline: none;
  border:1px solid rgba(0, 0, 0,0.1);
  padding: 2px 10px;
  right:19px;
  width: 200px
  
}
.clearinput{
  float: right;
  position: relative;
  top:0px;
  right:-170px;
  cursor: pointer;
}
