.OMSPopWindowElement {
    display: none;
}

.inline-block {
    display: inline-block;
    vertical-align: top;
}

.OMSPopDialogTopAction {
    padding-right: 10px;
    background: #000;
    color: #ffffff;
    height: 30px;
    position: relative;
}

.OMSPopDialogTopActionButton {
    position: absolute;
    top: 2px;
    right: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.OMSPopDialogTopActionButton:hover {
    color: #b09955;
}

.OMSPopDialogBackLayer {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background: #000000;
    z-index: 2222;
    opacity: 0.5;
}

.OMSPopDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -175px;
    margin-left: -175px;
    background: #ffffff;
    z-index: 2223;
}

.ButtonUI {
    cursor: pointer;
    opacity: 0.85;
    text-align: center;
    padding: 5px;
    border-radius: 3px;
    user-select: none;
}

.ButtonUI:hover {
    opacity: 1;
}


.FullScreenLoading {
    z-index: 99999;
    background: #000;
    opacity: 0.5;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: none;
}


/* loading */
.load-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #fff;
    animation: load-icon-frame 2s linear infinite;
    -webkit-animation: load-icon-frame 2s linear infinite;
}

.LineHeight-40 {
    line-height: 40px;
}

.LineHeight-30 {
    line-height: 30px;
}

.LineHeight-20 {
    line-height: 20px;
}

.TextAlignLeft {
    text-align: left;
}

.TextAlignRight {
    text-align: right;
}

.TextAlignCenter {
    text-align: center;
}

.BG-Black {
    background: #000;
}

.FontColor-White {
    color: #fff;
}

.mt-1 {
    margin-top: 1px;
}

.mt-2 {
    margin-top: 2px;
}

.mt-3 {
    margin-top: 3px;
}

.mt-4 {
    margin-top: 4px;
}

.mt-5 {
    margin-top: 5px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.p-1 {
    padding: 1px;
}

.p-2 {
    padding: 2px;
}

.p-3 {
    padding: 3px;
}

.p-5 {
    padding: 5px;
}

.p-10 {
    padding: 10px;
}

.p-20 {
    padding: 20px;
}

.m-5 {
    margin: 5px;
}

.ml-5 {
    margin-left: 5px;
}

.mr-5 {
    margin-right: 5px;
}

.m-10 {
    margin: 10px;
}

.ml-10 {
    margin-left: 10px;
}

.mr-10 {
    margin-right: 10px;
}

.TSize1 {
    font-size: 12px;
}

.TSize2 {
    font-size: 14px;
}

.TSize3 {
    font-size: 16px;
}

.W-50 {
    width: 50px;
}

.W-60 {
    width: 60px;
}

.W-70 {
    width: 70px;
}

.W-100 {
    width: 100px;
}

.W-150 {
    width: 150px;
}

.W-200 {
    width: 200px;
}

.W-250 {
    width: 250px;
}


.FormDiv {
    margin-top: 5px;
    margin-bottom: 5px;
}


.FormDivTitle {
    font-weight: 800;
    margin-bottom: 10px;
}

.MustField {
    color: #f00;
}

/* loading */
.load-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: red;
    animation: load-icon-frame 2s linear infinite;
    -webkit-animation: load-icon-frame 2s linear infinite;
}


.B-10 {
    display: inline-block;
    vertical-align: top;
    width: calc(10% - 2px);
}

.B-15 {
    display: inline-block;
    vertical-align: top;
    width: calc(15% - 2px);
}

.B-20 {
    display: inline-block;
    vertical-align: top;
    width: calc(20% - 2px);
}

.B-25 {
    display: inline-block;
    vertical-align: top;
    width: calc(25% - 2px);
}

.B-30 {
    display: inline-block;
    vertical-align: top;
    width: calc(30% - 2px);
}


.B-33 {
    display: inline-block;
    vertical-align: top;
    width: calc(33% - 2px);
}

.B-35 {
    display: inline-block;
    vertical-align: top;
    width: calc(35% - 2px);
}

.B-40 {
    display: inline-block;
    vertical-align: top;
    width: calc(40% - 2px);
}

.B-45 {
    display: inline-block;
    vertical-align: top;
    width: calc(45% - 2px);
}

.B-50 {
    display: inline-block;
    vertical-align: top;
    width: calc(50% - 2px);
}

.B-60 {
    display: inline-block;
    vertical-align: top;
    width: calc(60% - 2px);
}

.B-70 {
    display: inline-block;
    vertical-align: top;
    width: calc(70% - 2px);
}

.B-75 {
    display: inline-block;
    vertical-align: top;
    width: calc(75% - 2px);
}

.B-85 {
    display: inline-block;
    vertical-align: top;
    width: calc(85% - 2px);
}

.B-90 {
    display: inline-block;
    vertical-align: top;
    width: calc(90% - 2px);
}

.FullWidth {
    width: calc(100% - 2px);
}

.FontWeight-800 {
    font-weight: 800;
}

.FontWeight-700 {
    font-weight: 700;
}

.FontWeight-400 {
    font-weight: 400;
}

.FontWeight-0 {
    font-weight: 0;
}

@keyframes load-icon-frame {
    0% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(90deg);
    }

    50% {
        transform: rotate(180deg);
    }

    75% {
        transform: rotate(270deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes load-icon-frame {
    0% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(90deg);
    }

    50% {
        transform: rotate(180deg);
    }

    75% {
        transform: rotate(270deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.AgentResult {
    width: 100%;
    height: 100%;
    position: relative;
    font-size: 14px;
    background: #1a202c;
}

.AgentRootWindow {
    width: 450px;
    height: 500px;
    position: fixed;
    top: calc(50% - 250px);
    left: calc(50% - 275px);
    background: #eee;
    border: 0px;
    border-radius: 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    z-index: 3;
    background: #fff;
}

.ClientResponse {
    display: inline-block;
    background: #fff;
    border-radius: 5px;
    margin-top: 10px;
    color: #000;
    padding: 10px;
    margin-right: 20px;
}

.AgentResponse {
    display: inline-block;
    background: #fff;
    border-radius: 5px;
    margin-top: 10px;
    color: #000;
    padding: 10px;
    max-width: calc(100% - 20px);
}

.PromptResult {
    height: calc(100% - 50px);
    overflow-y: scroll;
    padding-bottom: 50px;
}

.PromptInput {
    line-height: 20px;
    border: 0px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding-top: 10px;
    padding-bottom: 8px;
    padding-left: 10px;
    padding-right: 30px;
    width: 100%;
    height: 40px;
    position: sticky;
    resize: none;
    border-radius: 5px;
}

.AgentSendBTN {
    position: absolute;
    width: 40px;
    line-height: 30px;
    right: 5px;
    bottom: 15px;
    cursor: pointer;
    text-align: center;
    color: #999;
}

.AgentSendBTN:hover {
    color: #333;
}

.AgentCloseBtn {
    cursor: pointer;
    line-height: 40px;
    width: 30px;
    text-align: center;
    color: #999;
}

.AgentCloseBtn:hover {
    color: #000;
}


.AgentBotContainer { /*小視窗*/
    width: 60px;
    height: 60px;
    position: fixed;
    text-align: center;
    bottom: 100px;
    right: 30px;
    border-radius: 50%;
    z-index: 3;
    cursor: pointer;
    opacity: 0.8;
    background: #fff;
}

.AgentBotContainer:hover {
    opacity: 1;
}

@media screen and (max-width: 475px) {
    .B-90, .B-85, .B-75, .B-70, .B-60, .B-45, .B-50, .B-40, .B-35, .B-33, .B-30, .B-25, .B-20, .B-15, .B-10 {
        display: block;
        width: 100%;
        margin-top: 10px;
    }
}
