/* @import url("admin_tblue.css"); */
@import url("admin_custom_new.css");

.content-wrapper > .content {
  padding: 1rem 0.5rem !important;
}
.disabledrow {
    opacity: .5;
    pointer-events: none;
    cursor: not-allowed;
}
.error-message {
  color: red;
}
.card-body.selected:after {
  background: rgba(0, 0, 0, 0.5);
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
}
.hide {
  display: none !important;
}
.disabledclass {
  opacity: .5;
}
.disabledclass a {
  pointer-events: none;
}
#datatableWrapper .dataTables_filter {
  display: flex;
  justify-content: space-between;
}

#datatableWrapper .dataTables_filter input {
  margin-right: 10px;
}

#datatableWrapper .dataTables_filter select {
  border: 1px solid #aaa;
  border-radius: 3px;
  padding: 5px;
  background-color: transparent;
  margin-left: 3px;
  height: 36px;
}
.multiselect-container > li > a > label {
  padding: 2.5px 10px !important;
  font-weight: normal !important;
  font-size: 14px;
}
.multiselect-container .input-group {
  margin: 5px;
  width: calc(100% - 10px);
}
.platform_section .col-lg-2 {
  margin-bottom: 15px;
}
.borderbottom_ccc {
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
}
.form-group.row.arfields.savear_formgroup.hide,
.savear_formgroup .col-lg-9.hide {
  display: block !important;
}
.create_vives_page .nav-tabs {
  justify-content: space-evenly;
  border: none;
}
.create_vives_page .nav-tabs li.nav-item button.nav-link {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #b4bbc5;
  font-weight: 600;
  gap: 5px;
}
.create_vives_page .nav-tabs li.nav-item button.nav-link > small {
  font-weight: 600;
}
.create_vives_page .nav-tabs li.nav-item button.nav-link > span {
  width: 42px;
  height: 42px;
  background: #b4bbc5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  border-radius: 50%;
}
.create_vives_page .nav-tabs li.nav-item button.nav-link.active > small {
  color: #484848;
  font-weight: 600;
}
.create_vives_page .nav-tabs li.nav-item button.nav-link.active > span {
  background: #484848;
}
.create_vives_page .tab-content {
  padding: 50px 0;
}

.source-items ul {
  margin: 0;
  padding: 0;
  list-style: none;
  li {
    button {
      width: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      z-index: 0;
      padding: 10px;
      flex-direction: column;
      aspect-ratio: 1;
      color: #484848;
      border: 1px solid #d3d3d3;
      border-radius: 4px;
      background-color: #fff;
      font-size: 16px;
      position: relative;
      &:hover, &.active {
        background: linear-gradient(90deg, #d752fe, #00ffde) !important;
        color: #fff;
        &:after {
          content: "";
          background: linear-gradient(164deg, rgba(255, 255, 255, 0.25) 44%, rgba(91, 0, 154, .84));
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          border-radius: .25rem;
          z-index: -1;
        }
        img {
          filter: brightness(0) invert(1);
        }
      }
      span {
        display: inline-block;
        &:first-child {
          height: 70px;
        }
        img {
          height: 100%;
          width: auto;
          object-fit: contain;
        }
      }
    }
  }
}


div.spock-items .row .col-sm-3 a {
  color: black;
}

div.spock-items .row .col-sm-3 a.active .spock-item .spock-box {
  background-color: #0e0e0e;
}
div.spock-items .row .col-sm-3 a.active .spock-item .spock-box .create-right-img::after {
  background-color: rgba(0, 0, 0, 0.5);
}
/*.btn-success {
  color: #fff;
  background-color: #40d1aa;
  border-color: #40d1aa;
  box-shadow: none;
}*/
.input-group {
  .form-control + button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    min-height: 40px;
    padding-inline: 1.75rem;
  }
  .form-control {
    min-height: 40px;
  }
}

.spock-item {
  text-align: center;
  margin: 0 0 40px;
  .spock-box {
    /* width: 60%; */
    max-width: 215px;
    color: #484848;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    background-color: #f0f3f8;
    aspect-ratio: 1;
    margin: 0 auto 15px;
  }
  .spock-txt {
    font-size: 18px;
    font-weight: 600;
  }
}

.create_vives_page {
  .form-check {
    input[type="checkbox"] {
      display: none;
    }
    /*input[type="checkbox"] + label::before {
      content: "\f0c8";
      font-family: "Font Awesome 5 Free";
      position: absolute;
      left: 0;
      top: 0;
      font-weight: 400;
    }*/
    input[type="checkbox"] + label::before {
      content: "\f0c8";
      font-family: "Font Awesome 5 Free";
      position: absolute;
      /* left: -9px; */
      left: 0;
      top: -5px;
      font-weight: 400;
      font-size: 23px;
    }
    input[type="checkbox"]:checked + label::before {
      content: "\f14a";
    }
    .form-check-label {
      opacity: 0.4;
      padding-left: 9px;
    }
    input[type="checkbox"]:checked + .form-check-label {
      opacity: 1;
    }
  }
}

.body-item {
  .btn.btn-sm {
    font-size: 11px;
    width: 24px;
    height: 24px;
    padding: 2px;
    &.btn-secondary {
      background: #b4bbc5 !important;
      border: #b4bbc5 !important;
    }
  }
}

.concepts-item {
  box-shadow: none;
  border: none;
  .btn.btn-sm {
    font-size: 11px;
    width: 24px;
    height: 24px;
    padding: 2px;
    &.btn-secondary {
      background: #b4bbc5 !important;
      border: #b4bbc5 !important;
    }
  }
  .form-check {
    /* font-size: 14px; */
    font-weight: 500;
  }
  .concepts-item-left {
  }
  .concepts-item-right {
    display: flex;
    gap: 8px;
    justify-content: end;
    .input-group {
      input {
        font-size: 8px;
        height: 24px !important;
        padding: 2px;
        min-height: auto;
      }
      .input-group-text {
        font-size: 12px;
        padding: 5px 10px;
        height: 24px;
        font-weight: 600 !important;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
      }
    }
  }
  .concepts-head-right {
    text-align: right;
  }
  .concepts-head {
    margin: 0 0 10px;
  }
  .body-item {
    margin: 0 0 10px;
  }
}
.test-sec {
  .body-item {
    .form-group {
      display: flex;
      gap: 10px;
      font-size: 14px;
      font-weight: 500;
      align-items: center;
      margin: 0;
    }
    input.form-control {
      height: 22px;
      padding: 3px;
      min-height: auto;
      font-size: 13px;
    }
    .concepts-item-left {
      input.form-control {
        width: 50px;
        text-align: left;
      }
      label.form-label {
        font-size: 14px;
        font-weight: 500 !important;
        margin: 0;
      }
    }
  }
}
.languages-sec {
  .card {
    box-shadow: none;
    border: none;
    .card-body {
      padding: 5vw;
    }
    .body-languages {
      .form-check {
        padding-left: 50px;
        margin: 0 0 25px;
        .form-check-label {
          font-size: 20px;
        }
        input[type="checkbox"] + label::before {
          font-size: 30px;
          line-height: 1;
        }
      }
    }
  }
}

.concepts-sec,
.editivx-sec {
  .card {
    box-shadow: none;
    border: none;
  }
}

.create-slider {
  margin: 0 0 20px;
  .create-slider-head {
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 15px;
  }
}
.create-slider-slide {
  .card-checkbox {
    font-weight: normal !important;
    cursor: pointer;
    display: block;
    input[type="checkbox"] {
      display: none;
    }
  }
  .slider03 {
    .card-checkbox {
      input[type="checkbox"]:checked {
        + .card {
          border: 1px solid #40d1aa;
          .card-body {
            background-color: #40d1aa;
            color: #fff;
          }
        }
      }
    }
    .card {
      &:hover {
        border: 1px solid #40d1aa;
        .card-body {
          background-color: #40d1aa;
          color: #fff;
        }
      }
    }
  }
  :is(.slider04, .slider05) {
    .card-checkbox {
      input[type="checkbox"]:checked {
        + .card {
          border: 1px solid #494949;
          .card-body {
            background-color: #494949;
            color: #fff;
          }
        }
      }
    }
    .card {
      &:hover {
        border: 1px solid #494949;
        .card-body {
          background-color: #494949;
          color: #fff;
        }
      }
    }
  }
  .item {
    padding: 3px;
    .card {
      box-shadow: none;
      border: 1px solid rgba(0, 0, 0, 0.125);
      margin: 0;
      .card-body {
        aspect-ratio: 1;
        padding: 5px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        img {
          height: 100%;
          object-fit: contain;
        }
        h6 {
          font-size: 14px;
          margin: 0;
          font-weight: 600;
        }
        p {
          font-size: 12px;
          line-height: normal;
          margin: 0;
        }
      }
    }
  }
  .owl-carousel {
    padding: 0 20px;
  }
  .owl-theme .owl-nav {
    margin: 0;
    button {
      margin: 0;
      position: absolute;
      top: calc(50% - 20px);
      font-size: 55px !important;
      line-height: 1 !important;
      color: rgba(0, 0, 0, 0.5) !important;
      font-weight: 600 !important;
      background: none !important;
      span {
        line-height: 1;
        display: block;
        margin-top: -12px;
      }
      &.owl-prev {
        left: 0;
      }
      &.owl-next {
        right: 0;
      }
    }
  }
}

.concept-cl {
  text-align: center;
  .form-check {
    width: 22px;
    margin: 0 auto;
    .btn {
      width: 22px;
      margin: 0 auto;
      padding: 0;
      cursor: pointer;
      label {
        margin: 0;
        cursor: pointer;
      }
    }
    input[type="checkbox"] + label::before {
      left: 0px;
    }
    .form-edit-label::before {
      position: absolute;
      content: "\f0c8";
      font-family: "Font Awesome 5 Free";
      position: absolute;
      left: 0;
      top: -5px;
      font-weight: 400;
      font-size: 23px;
    }
    .form-edit-label::after {
      content: "\f304";
      font-weight: 900;
      font-family: "Font Awesome 5 Free";
      font-size: 12px;
      position: absolute;
      top: 3px;
      left: 4px;
    }
  }
}
.switchin-sec-pop {
  h5 {
    font-weight: 600;
    color: #000;
  }
  .submit-btn {
    margin: 0 0 30px;
    .btn.btn-primary {
      background: #40d1aa;
      border-color: #40d1aa;
      padding: 7px 60px;
      font-size: 19px;
    }
  }
  .cancel-btn {
    .btn {
      color: #b4bac6;
      text-decoration: underline;
      font-size: 19px;
    }
  }
}
.con-sec-pop {
  .col-sm-6 {
    position: relative;
    padding: 0 15px;
    &:first-child {
      &::after {
        content: "";
        border-right: 1px solid #dee5ed;
        position: absolute;
        right: -1px;
        display: block;
        height: calc(100% - 45px);
        bottom: 0;
      }
    }
  }
}
.right-btn {
  .btn {
    color: #b4bac6;
    text-decoration: underline;
  }
  .btn-primary {
    background: #40d1aa;
    border-color: #40d1aa;
    color: #fff;
    text-decoration: none;
  }
}

.create-right-img {
  aspect-ratio: 1080 / 1920;
  position: relative;
  img[src=""] {
    display: none;
  }
  img {
    aspect-ratio: 1080 / 1920;
    object-fit: cover;
  }
  &::after {
    content: "";
    background: url(../assets/images/over-lap-01.png) no-repeat center center /
      cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
}
