@import "../../../utils/theme/colorVariable.scss";
.search-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.pagetitle {
    display: flex;
    align-items: center;
    h3 {
        // padding-right: 20px;
        // border-right: 2px solid #3e3c6b;
        // margin-right: 15px;
        // border-radius: 3px;
    }
    img {
        width: 25px;
        cursor: pointer;
    }
}
.w-100 {
    width: 100%;
    position: relative;
    .input-linkimg {
        input {
            width: calc(100% - 80px);
            padding-right: 70px;
        }
    }
    .input-video-linkimg {
        input {
            width: calc(100% - 50px);
            padding-right: 40px;
        }
    }
    .link-img {
        img {
            width: 30px;
            border-radius: 3px;
            position: absolute;
            top: 6px;
            right: 4px;
        }
        .link {
            padding-left: 7px;
            color: $Pink;
            position: absolute;
            top: 6px;
            right: 40px;
        }
    }
    .link-cdn {
        padding-left: 7px;
        color: #DF166A;
        position: absolute;
        top: 6px;
        right: 10px;
    }
}

.my-text {
    width: calc(100% - 20px) !important;
}

.mat-button.mat-primary {
    background-color: #3f51b5 !important;
    color: #fff;
    margin-left: 15px;
}

select {
    option {
        color: #000;
    }
}

.inputsearch {
    min-width: 200px;
}

mat-icon {
    cursor: pointer;
}

.loading {
    font-size: 20px;
    color: white;
}

.formwrapper {
    select {
        width: 100%;
        option {
            color: #000000;
        }
    }
    .select-box {
        span {
            right: 15px;
        }
    }
}

.videos_link {
    img {
        height: 70px;
        width: 70px;
        border-radius: 10px;
    }
}

.Question {
    border: 1px solid #595690;
    border-radius: 4px;
    padding: 10px;
    width: calc(100% - 20px) !important;
    label {
        margin: 0 0 10px 0;
        color: #d7779b;
    }
    textarea {
        border: none;
        border-radius: 0;
        padding: 0;
        background: none;
        width: 100%;
        color: $popupText;
    }
}

.transcripts {
    color: $popupText;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: block;
    margin: 15px 0 10px;
}
.topic-div {
    border: 1px solid $popupBorder;
    position: relative;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s;
    .main-transcript {
        display: flex;
        align-items: center;
    }
    .transcript-topic {
        width: 95%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px 0;
        input {
            background: $chptBg;
            border: 1px solid $chptBorder;
            border-radius: 4px;
            padding: 10px;
            width: calc(100% - 35px);
            color: $chptText;
            resize: none;
        }
    }
    .transcript-delete {
        width: 5%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: $chptBg;
        min-height: 65px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        margin-left: 10px;
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
    }
    .add-new {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 25px;
        height: 25px;
        border-radius: 100%;
        border: 1px solid $Pink;
        display: flex;
        align-items: center;
        justify-content: center;
        background: $chptBg;
        cursor: pointer;
        opacity: 0;
        bottom: -14px;
        span {
            color: $Pink;
        }
    }
    &:hover {
        border: 1px solid $chptBorder;
        background: $chptHover;
        .transcript-delete {
            background: $chptHover;
        }
        .add-new {
            opacity: 1;
        }
    }
}
.transcript-div {
    border: 1px solid $chptBorder;
    position: relative;
    min-height: 100px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s;
    .main-transcript {
        display: flex;
        align-items: center;
    }
    .transcript-textaria {
        width: 75%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px 0;
        textarea {
            background: $chptBg;
            border: 1px solid  $chptBorder;
            border-radius: 4px;
            padding: 10px;
            width: calc(100% - 35px);
            color: $chptText;
            min-height: 60px;
            resize: none;
            scrollbar-width: thin;
            // scrollbar-color: #343560 #090f2f;
        }
    }

    .transcript-input {
        width: 20%;
        input {
            background: $chptBg;
            border: 1px solid $chptBorder;
            border-radius: 4px;
            padding: 10px !important;
            width: calc(100% - 35px) !important;
            color: $chptText;
            text-align: center;
            margin: 4px 0;
            &::-webkit-inner-spin-button,
            &::-webkit-outer-spin-button {
                -webkit-appearance: none;
                margin: 0;
            }
        }
    }
    .transcript-delete {
        width: 5%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: $chptBg;
        min-height: 83px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        margin-left: 10px;
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
    }
    .add-new {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 25px;
        height: 25px;
        border-radius: 100%;
        border: 1px solid $Pink;
        display: flex;
        align-items: center;
        justify-content: center;
        background: $chptBg;
        cursor: pointer;
        opacity: 0;
        bottom: -14px;
        span {
            color: $Pink;
        }
    }
    &:hover {
        border: 1px solid $chptBorder;
        background: $chptHover;
        .transcript-delete {
        background: $chptHover;
        }
        .add-new {
        opacity: 1;
        }
    }
}

.w-qrurl {
    width: 85%;
    .coolQRCode {
        height: 70px;
        width: 70px;
    }
}
.cutome-modal {
    .cutome-modal-content {
        .modal-body {
            .formwrapper {
                .w33 {
                    width: 30%;
                }
            }
            .no-data {
                text-align: center;
                font-size: 15px;
                color: $Black;
                padding: 15px;
            }
        }
    }
}
::ng-deep tr.mat-header-row th {
    &:first-child {
        min-width: 50px;
        width: 50px;
    }
    &:nth-child(2) {
        min-width: 110px;
        width: 110px;
    }
    &:nth-child(3) {
        min-width: 160px;
        width: 160px;
    }
    &:nth-child(4) {
        min-width: 200px;
        width: 200px;
    }
    &:nth-child(5) {
        min-width: 240px;
        width: 240px;
    }
    &:nth-child(6) {
        min-width: 180px;
        width: 180px;
    }
    &:nth-child(7) {
        min-width: 150px;
        width: 150px;
    }
    &:nth-child(8) {
        min-width: 90px;
        width: 90px;
    }
    &:nth-child(9) {
        min-width: 90px;
        width: 90px;
    }
    &:last-child {
        min-width: 50px;
        width: 50px;
    }
}
::ng-deep tr td.mat-cell {
    &:first-child {
        min-width: 50px;
        width: 50px;
    }
    &:nth-child(2) {
        min-width: 110px;
        width: 110px;
    }
    &:nth-child(3) {
        min-width: 160px;
        width: 160px;
    }
    &:nth-child(4) {
        min-width: 200px;
        width: 200px;
    }
    &:nth-child(5) {
        min-width: 240px;
        width: 240px;
    }
    &:nth-child(6) {
        min-width: 180px;
        width: 180px;
    }
    &:nth-child(7) {
        min-width: 150px;
        width: 150px;
    }
    &:nth-child(8) {
        min-width: 90px;
        width: 90px;
    }
    &:nth-child(9) {
        min-width: 90px;
        width: 90px;
    }
    &:last-child {
        min-width: 50px;
        width: 50px;
    }
}
.rearrange-table {
    .trrow {
        &:hover {
            border-color: #7b35a7 !important;
            box-shadow: 0px 0px 22px -5px #7b35a7;
            background: #1f2352 !important;
        }
    }
}
::ng-deep .mat-paginator-container {
    padding: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    .mat-icon-button {
    background: $paginationBtnBg !important;
    border-radius: 5px !important;
    border: 1px solid $paginationBtnBorder !important;
    margin: 0 5px !important;
    cursor: pointer;
    color: $paginationBtnText !important;

        &:hover {
      border: 1px solid $PaginationBtnHover !important;
      color: $PaginationBtnHover !important;
    }
    }

    .mat-paginator-page-size-label {
    color: $paginationText !important;
    font-size: 14px !important;
  }

    .mat-paginator-range-label {
        color: $paginationNo;
        width: 140px;
        font-size: 14px !important;
    }
}
