.createAd {
  border-radius: 8px;

  .cardTitle {
    font-weight: 600;
  }
}

// #page_tabs,#ad_tabs{
//   >div>div>div>div{
//     padding: 5px;
//   }
// }

.selector {
  border: 1px solid #dcdee2;
  border-radius: 4px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  transition: all .3s;
  font-size: 14px;

  &:hover {
    border: 1px solid #1890ff;
  }

  .selectorLabel {
    flex: 1;
    display: inline-block;
    height: 100%;
    padding: 0 10px;
    border-right: 1px solid #dcdee2;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &:hover .selectorLabel {
    color: #1890ff;
    border-right: 1px solid #1890ff;
  }
}

.cardBody {

  margin-top: 24px;

  .content {
    border: 1px solid #f0f0f0;
    box-sizing: border-box;
    border-top: none;

    &>div {
      border-top: 1px solid #f0f0f0;
    }

    .conTitle {
      height: 38px;
      line-height: 38px;
      border-bottom: 1px solid #f0f0f0;
      padding: 0 10px;
      box-sizing: border-box;
      font-weight: 600;
      font-size: 16px;
    }

    .conRightBorder {
      border-right: 1px solid #f0f0f0;
      box-sizing: border-box;
      flex: 1;
    }

    .items {
      &>div {
        height: 380px;
        // padding: 10px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        position: relative;
        overflow: hidden;

        .top {
          height: 24px;
          display: flex;
          font-weight: 600;
          font-size: 15px;
          margin-bottom: 10px;
          justify-content: space-between;
          align-items: center;
          padding: 10px 10px 0;

          &>span {
            font-size: 12px;
            color: rgb(90, 90, 90);
          }

          >a {
            font-size: 12px;
            font-weight: 400;
          }
        }

        .center {
          height: calc(100% - 48px);
          overflow: hidden;
          overflow-y: auto;
          padding: 4px 0;
          box-sizing: border-box;
          padding: 0 10px;

          .centerContent {
            width: 100%;
            min-height: 200px;
            font-size: 12px;
            // span {
            //   color: #3085ff;
            // }
          }

          .acc {
            margin-bottom: 14px;
          }

          .accName {
            margin: 0 0 4px;
          }

          .accCon {
            padding: 8px 5px;
            background-color: rgba(0, 0, 0, .04);
            margin-bottom: 2px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;

            >span.title {
              width: 90%;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
            }

            .close {
              cursor: pointer;
              margin-right: 4px;
              display: none;
              position: absolute;
              right: 4px;
              top: 50%;
              transform: translateY(-50%);
              color: #0e95f6;
              box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
            }

            &:hover {
              background-color: rgba(0, 0, 0, .08);

              &>.close {
                display: inline-block;
              }
            }
          }
        }

        .bottom {
          height: 40px;
          text-align: center;
          line-height: 40px;
          display: flex;
          justify-content: center;
          text-overflow: ellipsis;
          overflow: hidden;
          white-space: nowrap;

          span {
            cursor: pointer;
            color: #108ee9;
          }

          &:hover {
            box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.08);
          }
        }

        .noMaterial {
          position: absolute;
          background-color: rgba(0, 0, 0, .1);
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          width: 100%;
          height: 100%;
          display: flex;
          justify-content: center;
          align-items: center;
          cursor: no-drop;
          color: red;
        }
      }
    }
  }

  .bts {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
    justify-content: flex-end;
  }
}

.popoverContent {
  border: 1px solid #dcdee2;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.5s;
  margin-top: 1px;
  margin-bottom: 5px;

  &:hover {
    border-color: rgb(24, 144, 255);
    box-shadow: 0 0 4px 1px rgba(24, 144, 255, 0.4);
  }
}

.popover {
  max-width: 450px;
  max-height: 150px;
  overflow: hidden;
  overflow-y: scroll;
}

.twoText {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}


.group {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;

  >div {
    flex: 1;

    >img {
      width: 100%;
    }

    >video {
      width: 100%;
    }
  }
}

.otherGroup {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

  .group {
    width: 35%;

    >img {
      width: 100%;
    }

    >video {
      width: 100%;
    }
  }
}
