/* Copyright (C) 2023 Exiis-Lab Co., Ltd. All Rights Reserved. */

/* /////全UIタイプ共通設定///// */

html,body { height: 100%; }
body { margin: 0 auto; font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; overflow-x: hidden; overflow-y: hidden; }
input[type="button"] { appearance: none; }
input[type="text"] { appearance: none; }
.viii_header_box h1 { padding: 3px; margin: 5px auto; }
.viii_container { height: 100%; display: flex; flex-direction: column; }
.viii_headerArea { width: 100%; flex: 0 0 auto; }
.viii_chatArea { flex: 1 1 auto; overflow-y: scroll; }
.viii_chatArea-wrap { padding-bottom: 10px; }
#viii_input { background: #999999; padding: 10px; clear: both; flex: 0 0 auto; }
#viii_input_txt { display: flex; }
#viii_sendMessage { width: 75%; margin-right: 10px; background-color: #ffffff; color: #333333; padding: 7px 7px; border-radius: 2px; box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1),0 0 2px rgba(0,0,0,0.2); flex: 1 1 auto; }
.viii_submit_btn { 
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; 
    font-weight: bold;
    border: 0;
    text-decoration: none;
    cursor: pointer;
    flex: 0 0 auto;
}
.viii_submit_btn:hover { opacity: 0.8; }
#viii_evalComment { display: inline-block; height: 45px; margin: 10px 10px 10px 10px; vertical-align: middle; }
.viii_evalComment_submit_btn {
    display: inline-block;
    margin: 10px 10px 10px 10px;
    background: #179be5;
    color: #ffffff;
    font-size: 14px;
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-weight: bold;
    border: 0;
    text-decoration: none; 
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    flex: 0 0 auto;
}
.viii_evalComment_submit_btn:hover { opacity: 0.8; }
#viii_eval_comment { display: none; padding: 5px; list-style: none; margin: 10px auto; background: #ffffff; border-radius: 3px; border: 1px solid #d1d1d1; }
#viii_eval_comment p { text-align: center; color: #333; margin: 3px; }
.viii_evalComment_submit_btn:hover { background: #179be5; }
.viii_chat_user_box { position: relative; display: flex; flex-direction: row-reverse; text-align: left; overflow: hidden; padding: 5px 17px; z-index: 1; }
.viii_userBaloon { min-width: 30%; font-size: 12px; display: inline-block; background: #c8edfc; color: #000; border-radius: 10px; padding: 10px; text-align: left; min-height: 18px; box-shadow: 0 8px 5px -5px #999; overflow-wrap:break-word; word-break:break-word; }
.viii_userBaloon:after { content: ""; display: block; width: 0; height: 0; border: 7px solid transparent; border-left: 15px solid #c8edfc; position: absolute; right: 0px; }
#viii_imgArea { z-index: 0; position: relative; display: none; }
img { border: 0; margin: 0; padding: 0; }
.viii_chat_bot_Area { position: relative; display: flex; text-align: left; overflow: hidden; padding: 5px 12px; z-index: 1; }
.viii_botAnswer_box { min-width: 60%; }
.viii_botBaloon { position: relative; display: inline-block; background: #fff; color: #333333; border-radius: 10px; text-align: left; min-height: 18px; box-shadow: 0 8px 5px -5px #999; margin: 0px 20px 0px 0px; overflow-wrap:break-word; word-break:break-word; }
.viii_botBaloon:after { content: ""; display: block; width: 0; height: 0; border: 7px solid transparent; border-right: 15px solid #fff; position: absolute; left: -20px; }
a { color: #0099ff; text-decoration: none; }
/* ChatGPT送信ボタン */
.viii_submit_btn02 {
  margin-left: 5px;
  background: #00a26a;
  border: 0;
  text-decoration: none;
  padding: 2px 5px;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border-radius: 2px;
  cursor: pointer;
  flex: 0 0 auto;
  background: linear-gradient(to bottom, #15b577, #00a26a);
  box-sizing: border-box;
}
.viii_submit_btn02:hover {
  background: #00a26a;
}
.viii_gpttxt_box {
  border-top: 1px dashed #ccc;
  width: 100%;
  margin-top: 5px;
  padding: 3px;
  font-size:10px;
  text-align: right;
}
#viii_submit_btn02 svg {
  width: 23px;
  height: 23px;
  pointer-events: none;
}
#viii_submit_btn02 path {
  fill: #fff;
  cursor: pointer;
  pointer-events: fill;
  transition: all 0.1s ease;
}

/* 回答評価メッセージ送信ボタンの紙飛行機アイコン */
#viii_evalComment_submit_btn svg {
  width: 15px;
  height: 15px;
  pointer-events: none;
}
#viii_evalComment_submit_btn path {
  fill: #fff;
  cursor: pointer;
  pointer-events: fill;
  transition: all 0.1s ease;
}

/* ChatGPT他の回答を見るボタン*/
#btn_gpt_rp_area {
  display: none;
}

.viii_btn_gpt_rp a {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 80%;
  margin: 3px auto;
  padding: 7px 25px;
  border: 1px solid #777;
  border-radius: 5px;
  background-color: #fff;
  color: #555;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 600;
  box-sizing: border-box;
  word-break: break-all;
}

.viii_btn_gpt_rp a::after {
    position: absolute;
    right: 0.8em;
    transform: translateY(-50%);
    transform-origin: left;
    width: 1.4em;
    height: .5em;
    background-color: #777;
    clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
    content: '';
    transition: transform .3s;
}
.viii_btn_gpt_rp a:hover::after {
    transform: translateY(-50%) scaleX(1.4);
}

/* ChatGPT回答時のファイル名表示箇所 */
.viii_file_list{
	margin-top: 5px;
	width: 100%;
	vertical-align: middle;
}

.viii_file_list_txt{
	padding-bottom: 5px;
	font-weight: 500;
	vertical-align: top;
}

/* ChatGPT回答時のファイル名アイコンカラー */
.viii_icon_pdf {
  color: #dc3545;
  text-decoration: none;
	margin-right: 3px;
	
}

.viii_icon_ppt {
  color: #dc3545;
  text-decoration: none;
	margin-right: 3px;
}

.viii_icon_excel {
  color: #198754;
  text-decoration: none;
	margin-right: 3px;
}

.viii_icon_word {
  color: #1476b2;
  text-decoration: none;
	margin-right: 3px;
}

.viii_icon_txt {
  color: #777777;
  text-decoration: none;
	margin-right: 3px;
}

/* ChatGPT回答時のページリンクスタイル */
nav.viii_page_num ul{
  margin: 0 ;
  padding: 0px 0px 0px 20px ;
  display: flex;
}
nav.viii_page_num li{
  padding:0 5px;
  list-style: none;
  display: inline-block;
}
nav.viii_page_num a{
  text-decoration: none;
  color:#1842d5;
}
nav.viii_page_num a.current{
  text-decoration: underline;
}
nav.viii_page_num a:hover{
  text-decoration: underline;
}

.viii_select_Area { display: flex; text-align: left; overflow: hidden; z-index: 1; }
.viii_select_box { background-repeat: no-repeat; background-size: contain; }
.viii_select { color: #fff; background: #3e75c6; border-radius: 6px; padding: 5px 15px; text-decoration: none; cursor: pointer; overflow-wrap:break-word; word-break:break-word; }
.viii_select:hover { opacity: 0.8; }
#jumpbtn { display: none; }
.viii_jump_btn a { width: 80%; background: linear-gradient(to bottom, #f1f1f1, #d5d5d5); border: 1px solid #d1d1d1; color: #555; font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; padding: 7px; margin: 10px auto; display: block; border-radius: 3px; text-align: center; vertical-align: middle; text-decoration: none; }
.viii_jump_btn a:hover { background: #d5d5d5; }
#viii_eval_box p { text-align: center; color: #333; margin: 3px; }
#viii_eval_box { display: none; width: 90%; min-height: 65px; padding: 5px; list-style: none; margin: 10px auto; background: #ffffff; border-radius: 3px; border: 1px solid #d1d1d1; }
.viii_btn_evalbox { display: flex; justify-content: center;}
.eval_btn_item { margin: 5px; }
#evaluation_positive_btn { display: block; padding: 3px; text-decoration: none; width: 100px; margin: 1px; text-align: center; border-radius: 3px; cursor: pointer; }
#evaluation_positive_btn:hover { opacity: 0.8; }
#evaluation_negative_btn { display: block; padding: 3px; text-decoration: none; width: 100px; margin: 1px; text-align: center; border-radius: 3px; cursor: pointer; }
#evaluation_negative_btn:hover { opacity: 0.8;}
.viii_footerArea { background-color: #777; border: 1px solid #777; color: #ffffff; margin: 0px auto; text-align: center; width: 100%; flex: 0 0 auto; }
p.viii_footer_box { line-height: 35px; margin: 0px auto; }
.ui-autocomplete { max-height: 50%; overflow-y: auto; overflow-x: none; border-radius: 8px; border: 3px solid #3481C7; background-color: #2495d3; width: 85%; word-break: break-word; overflow-wrap: break-word; position: relative !important; z-index: 100; opacity: 0.9; display: none; }
.ui-autocomplete ul { height: auto !important; width: 100% !important;}
.ui-autocomplete li { list-style: none; line-height: 1.4; width: 100% !important; position: relative; }
.ui-autocomplete li a { color: #fff; display: block; padding: 5px 5px 5px 0px; cursor: pointer; }
.ui-autocomplete li a:hover { background-color: #4baae0; }
.ui-autocomplete li::before { display: block; position: absolute; top: 10px; left: -20px; width: 5px; height: 5px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); content: ""; }
.ui-helper-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
#viii_select_category { background: #e9e9e9; padding: 10px; border-top: 1px solid #cccccc; clear: both; flex: 0 0 auto; }
select { background-color: white; border: 1px solid #cccccc; border-radius: 4px; display: inline-block; font: inherit; line-height: 1.5em; padding: 0.5em 3.5em 0.5em 1em; width: 100%; color: #333; margin: 0; box-sizing: border-box; appearance: none; }
select.viii_select_cate { background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc); background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em; background-size: 5px 5px, 5px 5px, 1px 1.5em; background-repeat: no-repeat; }
select.viii_select_cate:focus { background-image: linear-gradient(45deg, #2495d3 50%, transparent 50%), linear-gradient(135deg, transparent 50%, #2495d3 50%), linear-gradient(to right, #ccc, #ccc); background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, calc(100% - 2.5em) 0.5em; background-size: 5px 5px, 5px 5px, 1px 1.5em; background-repeat: no-repeat; border-color: #2495d3; outline: 0; }
.viii_select_cate_btn { color: #FFFFFF; background: #0baa8b; border-radius: 6px; padding: 5px 15px; margin-bottom: 5px; text-decoration: none; cursor: pointer; overflow-wrap:break-word; word-break:break-word; }
.viii_select_cate_btn:hover { opacity: 0.8; }
@media all and (min-width:0\0) and (min-resolution: .001dpcm) { 
    select { background-color: white; border: 1px solid #cccccc; border-radius: 4px; display: inline-block; font: inherit; line-height: 1.5em; padding: 0.5em 0.5em 0.5em 1em; width: 100%; color: #333; margin: 0; box-sizing: border-box; appearance: none; }
    select.viii_select_cate { background-image: transparent; background-position: bottom 10px right 20px; }
    select.viii_select_cate:focus { background-image: transparent; }
    .viii_select_cate_btn_Area { padding: 5px 20px 5px 65px; }
}
.loadingBackground {
	background-color: #575757;
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translateX(-50%)
	translateY(-50%);
	width: 100px;
	height: 100px;
	border-radius: 10px;
	z-index: 10;
	display: none;
}
.findoc_spinner { font-size: 10px; width: 1em; height: 1em; border-radius: 50%; text-indent: -9999em; animation: findoc_spinner_rotation 1.1s infinite ease; transform: translateZ(0); position: sticky; top: 50%; left: 40%; }
@keyframes findoc_spinner_rotation { 0%,100% { box-shadow: 0em -2.6em 0em 0em #70a0ff, 1.8em -1.8em 0 0em rgba(176,224,255, 0.2), 2.5em 0em 0 0em rgba(176,224,255, 0.2), 1.75em 1.75em 0 0em rgba(176,224,255, 0.2), 0em 2.5em 0 0em rgba(176,224,255, 0.2), -1.8em 1.8em 0 0em rgba(176,224,255, 0.2), -2.6em 0em 0 0em rgba(176,224,255, 0.5), -1.8em -1.8em 0 0em rgba(176,224,255, 0.7); }12.5% { box-shadow: 0em -2.6em 0em 0em rgba(176,224,255, 0.7), 1.8em -1.8em 0 0em #70a0ff, 2.5em 0em 0 0em rgba(176,224,255, 0.2), 1.75em 1.75em 0 0em rgba(176,224,255, 0.2), 0em 2.5em 0 0em rgba(176,224,255, 0.2), -1.8em 1.8em 0 0em rgba(176,224,255, 0.2), -2.6em 0em 0 0em rgba(176,224,255, 0.2), -1.8em -1.8em 0 0em rgba(176,224,255, 0.5); }25% { box-shadow: 0em -2.6em 0em 0em rgba(176,224,255, 0.5), 1.8em -1.8em 0 0em rgba(176,224,255, 0.7), 2.5em 0em 0 0em #70a0ff, 1.75em 1.75em 0 0em rgba(176,224,255, 0.2), 0em 2.5em 0 0em rgba(176,224,255, 0.2), -1.8em 1.8em 0 0em rgba(176,224,255, 0.2), -2.6em 0em 0 0em rgba(176,224,255, 0.2), -1.8em -1.8em 0 0em rgba(176,224,255, 0.2); }37.5% { box-shadow: 0em -2.6em 0em 0em rgba(176,224,255, 0.2), 1.8em -1.8em 0 0em rgba(176,224,255, 0.5), 2.5em 0em 0 0em rgba(176,224,255, 0.7), 1.75em 1.75em 0 0em #70a0ff, 0em 2.5em 0 0em rgba(176,224,255, 0.2), -1.8em 1.8em 0 0em rgba(176,224,255, 0.2), -2.6em 0em 0 0em rgba(176,224,255, 0.2), -1.8em -1.8em 0 0em rgba(176,224,255, 0.2); }50% { box-shadow: 0em -2.6em 0em 0em rgba(176,224,255, 0.2), 1.8em -1.8em 0 0em rgba(176,224,255, 0.2), 2.5em 0em 0 0em rgba(176,224,255, 0.5), 1.75em 1.75em 0 0em rgba(176,224,255, 0.7), 0em 2.5em 0 0em #70a0ff, -1.8em 1.8em 0 0em rgba(176,224,255, 0.2), -2.6em 0em 0 0em rgba(176,224,255, 0.2), -1.8em -1.8em 0 0em rgba(176,224,255, 0.2); }62.5% { box-shadow: 0em -2.6em 0em 0em rgba(176,224,255, 0.2), 1.8em -1.8em 0 0em rgba(176,224,255, 0.2), 2.5em 0em 0 0em rgba(176,224,255, 0.2), 1.75em 1.75em 0 0em rgba(176,224,255, 0.5), 0em 2.5em 0 0em rgba(176,224,255, 0.7), -1.8em 1.8em 0 0em #70a0ff, -2.6em 0em 0 0em rgba(176,224,255, 0.2), -1.8em -1.8em 0 0em rgba(176,224,255, 0.2); }75% { box-shadow: 0em -2.6em 0em 0em rgba(176,224,255, 0.2), 1.8em -1.8em 0 0em rgba(176,224,255, 0.2), 2.5em 0em 0 0em rgba(176,224,255, 0.2), 1.75em 1.75em 0 0em rgba(176,224,255, 0.2), 0em 2.5em 0 0em rgba(176,224,255, 0.5), -1.8em 1.8em 0 0em rgba(176,224,255, 0.7), -2.6em 0em 0 0em #70a0ff, -1.8em -1.8em 0 0em rgba(176,224,255, 0.2); }87.5% { box-shadow: 0em -2.6em 0em 0em rgba(176,224,255, 0.2), 1.8em -1.8em 0 0em rgba(176,224,255, 0.2), 2.5em 0em 0 0em rgba(176,224,255, 0.2), 1.75em 1.75em 0 0em rgba(176,224,255, 0.2), 0em 2.5em 0 0em rgba(176,224,255, 0.2), -1.8em 1.8em 0 0em rgba(176,224,255, 0.5), -2.6em 0em 0 0em rgba(176,224,255, 0.7), -1.8em -1.8em 0 0em #70a0ff; }}
ul.simple_search { list-style: none; padding: 5px 2px; border: solid 1px #aaaaaa; background-color: white; }
ul.simple_search li { position: relative; color: #0b51ce; margin-bottom:5px; padding-left: 15px; padding-right: 5px; line-height: 30px; font-weight: bold; border-bottom: 1px solid #aaaaaa; display:flex; font-size: 14px; text-overflow: ellipsis;  white-space: nowrap; }
ul.simple_search .li_header { color: #000; border:none; padding-left: 5px; }
ul.simple_search .li_footer { border:none; margin: 0; }
ul.simple_search li .file_name{ padding-left:10px; }
ul.simple_search .li_header a, ul.simple_search .li_footer a { text-decoration:underline; }
ul.simple_search li a { color: #0b51ce; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.text-danger { --bs-text-opacity: 1; --bs-danger-rgb: 220, 53, 69; color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important; }
.text-blue { --bs-text-opacity: 1; --bs-blue: #1476b2; color: var(--bs-blue) !important; }
.text-success { --bs-text-opacity: 1; --bs-success-rgb: 25, 135, 84; color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important; }
.text-dark { --bs-text-opacity: 1; --bs-dark-rgb: 33, 37, 41; color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important; }
.me-1 { margin-right: 0.25rem !important; }

/*類似Q提示メッセージ*/
.viii_simq_disp_txt{ border-bottom: 1px dashed #999; margin-bottom: 5px; }

/*マージン関連*/
.viii_mb_1em { margin-bottom: 1em; }
.viii_mb_2em { margin-bottom: 2em; }
.viii_mb_3em { margin-bottom: 3em; }
.viii_mb_5 { margin-bottom: 5px; }
.viii_mb_10 { margin-bottom: 10px; }
.viii_mb_30 { margin-bottom: 30px; }
.viii_mt_5 { margin-top: 5px; }
.viii_mt_10 { margin-top: 10px; }
.viii_mt_30 { margin-top: 30px; }
.viii_ml_5 { margin-left: 5px; }
.viii_ml_10 { margin-left: 10px; }
.viii_ml_30 { margin-left: 30px; }
.viii_mr_5 { margin-right: 5px; }
.viii_mr_10 { margin-right: 10px; }
.viii_mr_30 { margin-right: 30px; }

/* /////タイプ別固定値 : 別Window型///// */

.viii_header_box { 
    margin: 0px auto; text-align: center; 
}

.viii_header_box h1 { font-size: 100%;}
#viii_sendMessage { font-size: 14px; }
.viii_submit_btn {
    font-size: 14px;
    padding: 7px 20px;
    text-align: center;
    vertical-align: middle;
    display: block; 
    border-radius: 4px;
    width: 18%; 
}
#viii_evalComment { width: 70%; }
.viii_evalComment_submit_btn {
    padding: 7px 20px;
    border-radius: 4px;
    width: 18%;
    min-width: 65px;
}
#viii_eval_comment { width: 70%; }
#viii_eval_comment p { font-size: 87.5%; }
.viii_chat_user_box { margin: 12px 0; }
.viii_userBaloon { max-width: 90%; }
.viii_userBaloon:after { top: 15px; }
.viii_chat_bot_Area { margin: 20px 0 0px; }
.viii_chat_bot_Area .viii_select_box { background-repeat: no-repeat; width: 100px; height: 86px; padding-top: 10px; background-size: contain; flex: 0 0 auto; }
.viii_botAnswer_box { margin-left: 10px; max-width: 75%; }
.viii_botBaloon { font-size: 14px; padding: 15px; }
.viii_botBaloon:after { top: 20px; }
.viii_btn_gpt_rp a { font-size: 14px; }
.viii_select_Area { margin: 0 0 10px; padding: 5px 12px; }
.viii_select_box { width: 100px; height: 86px; padding-top: 10px; flex: 0 0 auto; }
.viii_botSelects { margin-left: 20px; }
.viii_select { font-size: 14px; margin-bottom: 5px; }
.viii_jump_btn a { font-size: 14px; }
#viii_eval_box p { font-size: 87.5%; }
#evaluation_positive_btn { font-size: 13px; }
#evaluation_negative_btn { font-size: 13px; }
p.viii_footer_box { font-size: 74%; }
.ui-autocomplete { font-size: 96%; }
select { font-size: 14px; }
.viii_select_cate_btn { font-size: 14px; }
@media all and (min-width:0\0) and (min-resolution: .001dpcm) { 
    select { font-size: 14px; }
}

/* /////Caiwa Robot Manager 設定項目///// */
.viii_headerArea { background-color: #00a7e7; color: #333333; border: 1px solid #333333; }
.viii_chatArea { background: #ebf6ff; }
.viii_submit_btn { background: #179be5; color: #ffffff; }
.viii_submit_btn:hover { background: #179be5; }
#evaluation_positive_btn { border: 1px solid #ff704e; color: #ffffff; background-color: #ff704e; }
#evaluation_negative_btn { border: 1px solid #4e70ff; color: #ffffff; background-color: #4e70ff; }
