body { height: 100vh; } .main-box { margin: 0 !important; .btn-box { .vb-btn { padding: 8px 20px; font-size: 16px; position: relative; .tag { --w: 20px; display: flex; justify-content: center; align-items: center; font-size: 12px; width: var(--w); height: var(--w); position: absolute; top: 4px; right: 4px; transform: translate(50%,-50%); background: red; color: #fff; border-radius: 15px; &:empty { display: none; } &.tag-lg { --w: 25px; } } } } .carousel { display: flex; flex-direction: column; position: unset; padding: 0 10px; .carousel-inner { width: 100%; position: unset; padding: 0 10px; .carousel-item { position: unset; padding: 0 10px; } } .carousel-indicators { margin: 0; z-index: 10; position: relative; top: auto; bottom: auto; left: auto; right: auto; align-items: flex-end; li { color: #fff; height: 100%; width: auto; text-indent: 0; background: none; border-radius: 0; margin: 0; padding: 0; border: none; position: relative; display: none; cursor: default; img { cursor: pointer; position: absolute; width: 40px; right: -50px; top: 50%; transform: translateY(-50%); } &.active { display: flex; font-size: 100%; display: flex; margin: 0; padding: 0; border: none; } } } .groups { position: absolute; left: 50%; transform: translateX(-50%); top: 100%; width: 300px; padding: 5px 0; display: none; flex-direction: column; background: #fff; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; z-index: 10; .group { font-size: 16px; padding: 10px; color: #36536D; font-weight: 400; cursor: pointer; } &.active { background: rgba(9, 75, 136, 0.1); } &:hover { font-weight: 600; } } } } .question-list-box { display: none; position: absolute; top: 70px; right: 30px; width: 625px; background: #fff; z-index: 2; border-radius: 10px; padding: 10px 0; .question-header { padding: 0 15px; display: flex; width: 100%; align-items: center; justify-content: space-between; margin-bottom: 15px; .title { position: relative; font-size: 22px; font-weight: 600; padding-left: 15px; &:before { position: absolute; content: ""; display: block; width: 5px; height: 15px; background: #03aebc; border-radius: 3px; left: 0px; top: 50%; transform: translateY(-50%); } } .btn { cursor: pointer; margin: 0; } } .question-body { width: 100%; max-height: 600px; overflow-y: auto; padding: 0 15px 5px; display: flex; flex-direction: column; height: 450px; overflow-y: auto; .question-item { display: flex; padding: 10px; margin: 5px 0; border-radius: 10px; border: 1px solid #ddd; background: #EFF6FD; padding: 10px 0; font-size: 14px; .img { display: flex; justify-content: center; padding: 8px; svg { --w: 40px; width: var(--w); height: var(--w); } } .content { padding: 0 10px; width: 100%; .question { display: flex; justify-content: space-between; .text { color: #36536D; font-weight: 600; } .group { height: 25px; justify-content: center; align-items: center; display: flex; margin-left: 10px; font-size: 12px; padding: 0 5px; border-radius: 3px; background: rgba(69, 133, 204, 0.1); border: 1px solid #094888; color: #094B88; white-space: nowrap; } } .answers { display: flex; flex-direction: column; border-radius: 5px; .answer { padding-top: 8px; color: #36536D; .title { font-size: 18px; padding-right: 5px; } &.anwser-empty { width: 100%; color: #aaa; } } } } } .empty { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; flex-direction: column; font-size: 14px; font-weight: 600; margin-top: -30px; img { width: 80px; height: 84px; } .text { margin-top: 10px; color: #aaa; } } } }