@charset "utf-8";
/* intro 문구, 로고 */
.intro{
    padding-top: 56px;
    margin-bottom: 24px;
    text-align: center;
}
.intro h1{
    line-height: 19.2px;
    margin-bottom: 16px;
    font-size:1rem;
}
.intro .main-logo{
    height: 40px;
}
.intro p{
    margin-top: 58px;
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 360px){
    .intro{
        padding-top: 12.555%;
        margin-bottom: 6.666%;
    }
    .intro p{
        margin-top: 12.111%;
    } 
}

/* 문의 타입 선택  */
.tab{
    margin: 0 auto;
    display: block;
    width: 33%;
}
.tab a{
    display: block;
    width: 100%;
    height: 56px;
    padding: 16px 0;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    border-radius: 100px;
    border: 1px solid #EBECEE;
    box-shadow: 0px 4px 12px 0px #4E4F550D;
}
.tab.top{
    width: 100%;
    padding: 0 20px;
    max-width: 980px;
    text-align: center;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    background : #FFFFFF;
    z-index: 3;
}
.tab.top li{
    display: inline-block;
    padding: 2px;
}
.tab.top a{
    font-size: 13px;
    line-height: 20px;
    height: auto;
    color: #A4A8AC;
    padding: 10px 5px;
    box-shadow: none;
    border-radius: 0;
    border: none;
    margin-bottom: 0;
}
.tab.top a.fc-theme01{
    font-weight: 600;
}
/* chat */
.message{
    padding-top: 48px;
}
.message .header-wrap span{
    display: none;
}
.pic{
    display: inline-block;
    vertical-align: top;
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
}
.pic .bot-logo{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
}
.message.bot{
    display: block;
    position: relative;
    padding-left: 44px;
}
.message.bot .header-wrap{
    position: absolute;
    top: 44px;
    left: 0;
}
.message.bot .contents, .message.search .contents{
    display: inline-block;
    padding: 16px;
    border-radius: 18px;
    color: #6A7685;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    width: 80%;
    max-width: 560px;
    margin-bottom: 12px;
}
.contents iframe:not([src^="https://soomgo-gptbot"]) {
    height: auto !important;
    aspect-ratio: 16 / 9;
    width: 100% !important;
    margin: 22px 0px;
}
.message.guide, .message.user{
    text-align: right;
    padding-left: 17.5%;
}
.message p{
    font-weight: 500;
}
.favorite-list{
    margin-top: 20px;
    margin-bottom: -10px;
}
.favorite-list .title{
    display: none;
}
.favorite-list .item{
    display: inline-block;
    margin-bottom: 10px;
    margin-left: 6px;
    padding: 8px 12px;
    border-radius: 8px 8px 0px 8px;
    background: white;
    border: 1px solid #EBECEE;
    box-shadow: 0px 4px 12px 0px #4E4F550D;
    cursor:pointer;
    animation-duration: 0.3s;
    animation-name: fadein;
    transition: transform 0.2s ease;
}
.message.user .contents{
    display: inline-block;
    padding: 16px;
    border-radius: 18px;
    color: #FFF;
    text-align: left;
}
.message .btn-group{
    align-self: bottom;
}

.contents-bottom{
    /*
    margin-bottom: -10px;
    */
    padding-top: 8px;
}

.contents-bottom span{
    font-size: 12px;
    line-height: 20px;
    color: #A4A8AC;
}
.contents-bottom button{
    padding: 6px;
}

/* 질문 입력창 */
.promptWrap{
    display: flex;
    gap: 8px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.promptWrap textarea{
    width: calc(100% - 38px);
    height: 40px;
    max-height: 30vh;
    color: #1C242F;
    border-radius: 20px;
    border: 1px solid #EFF1F5;
    background: #FFF;
    padding: 9px 12px;
}
.promptWrap .promptBtn{
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    background: #FFF !important;
}
.promptWrap .promptBtn i{
    width: 30px;
    height: 30px;
}
.autolist-wrapper{
    display: none;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 12px;
    padding-right: 38px;
}
.autolist {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #FFF;
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px 0 rgba(41, 51, 65, 0.08), 0 0 2px 0 rgba(41, 51, 65, 0.06);
    overflow-y: auto;
    scrollbar-width: thin;
}
.autolist span {
    display: block;
    padding: 12px 0;
    color: #1C242F;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    cursor: pointer;
}
@media (max-width: 961px){
    .autolist-wrapper{
        padding-right: 0px;
        margin-bottom: 0px;
    }
    .autolist {
        border-radius: 12px 12px 0px 0px;
    }
}
.autolist span strong.keyword{
    color: #693BF2;
    font-weight: 600;
}


.fixed-bottom .container{
    padding: 5px 0;
    overflow: hidden;
}
@media (max-width: 600px){
    .fixed-bottom .container{
        padding: 5px 12px;
    }
}
.fixed-bottom button.dp-block{
    margin: 0 auto 16px;
}

.messages .map-wrap{
    padding: 0px;
    border: 0px solid rgba(0,0,0,0.2);
    width: 100%;
    border-radius: 0px;
}
.messages .map{
	height: 240px;
	border:1px solid rgba(0,0,0,0.2);
	border-bottom:0px;
}
.kakao-map-btn {
    height: 37px;
    background: #fff67d;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 0px 0px 15px 15px;
    text-align: center;
    color: #3A1D1D;
    padding-top: 5px;
    font-weight:700;
}
.kakao-map-btn:hover{
	cursor:pointer;
}





.attach-list {
    padding: 0px !important;
    background: transparent !important;
    margin-top: 12px;
/*  
	display: flex;
    flex-direction: row;
 */ 
 	   
 	overflow:auto;
    text-align: center;
    min-width: 82.5%;
    max-width: 100%;
    white-space: nowrap;
    
}

.attach-item {
    border-radius: 30px;
    margin-left: 0px;
    margin-right: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
    transform: scale(1.0);
    height:fit-content;
    margin-bottom:15px;
    cursor:pointer;
    min-width:120px;
}
.attach-video {
    min-width: 300px;
}
.attach-label {
	background-color:white !important;
	border: 1px solid rgba(0,0,0,0.2);
	text-align: center;
	margin:auto;
	color: white;
	border-radius: 10px; 
	width:90%;
	
}
.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    min-width: inherit;
    
    height: inherit;
}
.embed-container iframe{
	min-width: inherit;
    height: inherit;
}
.attach-img-wrapper {
    background: white;
    border-radius: 0px; 
    text-align: center;
    border: 1px solid rgba(0,0,0,0.2);
    height: 140px;
    width:inherit;
    min-width:inherit;
    overflow:hidden;
}
.attach-img-wrapper img {
	height: 140px;
}
.attach-item-label {
    background: #F06967;
    border-radius: 0px 0px 10px 10px;
    padding: 10px;
    text-align: center;
    border-top:0px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    border-left: 1px solid rgba(0,0,0,0.2);
    border-right: 1px solid rgba(0,0,0,0.2);
    width:inherit; 
    color:white;
}
.tab:not(.top) a:hover {
    background: #F6F7F9;
    font-weight: 600;
    color: #494B4D;
}
.gpt-button{
	background-color:white !important;
	color:black;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	border-top-width:1px;
	border-left-width:1px;
	border-right-width:1px;
	border-bottom-width:1px;
	padding-left:30px;
	padding-right:30px;
	text-align: center;
	width: 80%;
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: ellipsis;
}
#label-continue-question{
	font-size: 18px;
    color: rgba(0,0,0,0);
    background-color: rgba(0,0,0,0);
    height: 28px;
    padding: 0px;
    background-size: 28px 28px;
    background-position: left 0px top 0px;
}
#continue-chk-wrapper{
    height: 28px;
    align-self: flex-end;
    margin-left:6px;
}

.attach-youtube-wrapper{
	min-width:300px;
	height:140px;
} 
.attach-item:hover {
    transform: scale(1.0);
}
.attach-item:not(:hover) {
    transform: scale(0.9);
}
.attach-item .map{
    height: 140px;
    border: 1px solid rgba(0,0,0,0.2);
    border-bottom: 0px;
}
.contents table{
    border-collapse: collapse;
    border-radius: 10px;
    border-style: hidden;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}
.contents td {
    border: 1px solid rgba(0,0,0,0.2);
    padding: 5px;
}
.contents th {
    border: 1px solid rgba(0,0,0,0.2);
    text-align: center;
}
  
@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.ext-module-label {
    color: white !important;
    display: inline-block;
    padding: 4px;
    border-radius: 4px 4px 0px 0px;
    font-weight: 600;
}

.ext-module-content{
    display: block;
    width: 100%;
    height: 250px;
    border: 1px solid;
    border-radius: 0px 4px 4px 4px;
    margin-bottom:10px;
    background:white;
    max-width:100%;
}

.ext-module-continue {
    cursor: pointer;
    display: inline-block;
}

.preview-bg{
	position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    z-index: 101;
    background: rgba(0,0,0,0.3);
    display:none;
    
}

.preview-btn-list{
	position: absolute;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    z-index: 103;
}

.preview-img-wrapper{
	width: fit-content;
    height: fit-content;
    margin: auto;
    z-index: 102 !important;
}

.preview-btn-list span {
    padding: 10px 15px 10px 15px;
    background: #70B136 !important;
    color: white;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
}
.preview-btn-list span:last-child {
    margin-right: 20px;
}
@media (max-width: 520px){
	.preview-btn-list{
		position: absolute;
	    width: 100%;
	    display: flex;
	    justify-content: flex-end;
	    margin-top: 0px;
	    bottom:30px;
	    z-index: 103;
	}
	.preview-btn-list span {
	    padding: 10px 15px 10px 15px;
	    background: #70B136 !important;
	    color: white;
	    border-radius: 4px;
	    margin-right: 10px;
	    cursor: pointer;
	}
}
#preview-img{
	transition: width 0.3s ease;
}
.contents h1 {
	font-size: 1.8rem;
}
.contents h2 {
	font-size: 1.6rem;
}
.contents h3 {
	font-size: 1.4rem;
}
.contents h4 {
	font-size: 1.2rem;
}
.contents h5 {
	font-size: 1rem;
}
.contents h1, .contents h2, .contents h3, .contents h4, .contents h5, .contents .content-title {
    color: #1C242F;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
}
.contents h1, .contents h2, .contents h3, .contents h4, .contents h5 {
	margin-top: .5rem;
    margin-bottom: .5rem;
}
.contents h4, .contents h5, .contents .content-subtitle{
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
}
/*
.message.bot .contents p, .message.bot .contents li {
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}
*/
.contents * {
	word-break: break-word;
}
.contents p {
    color: #6A7685;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}
.contents li {
    list-style: disc;
    margin-left: 1rem;
    color: #6A7685;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}
.contents img{
    width: 100%;
    max-width: 100%;
    height: auto;
}
.recommends {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.recommend {
    padding: 15px;
    max-width: 30%;
    text-align: center;
    font-size: 16px;
    display: flex;
    align-items: center;
    border-radius: 7px;
    border: 1px solid #EBECEE;
    box-shadow: 0px 4px 12px 0px #4E4F550D;
}
.recommend a {
    position: relative;
    width: 100%;
    text-wrap: wrap;
}

@media (max-width: 500px){
	.recommends {
	    display: flex;
	    flex-direction: column;
	    justify-content: space-around;
	}
	.recommend {
	    padding: 15px;
	    max-width: 100%;
	    margin-bottom: 10px;
	    text-align: center;
	    font-size: 16px;
	    display: flex;
	    align-items: center;
	    border-radius: 7px;
	    border: 1px solid #EBECEE;
	    box-shadow: 0px 4px 12px 0px #4E4F550D;
	}
}
ul.warn-private {
    list-style-type: circle;
    min-height: 120px;
    max-height: 120px;
    overflow-y: auto;
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 4px;
    margin-top: 11px;
}
.warn-private li {
    list-style-type: disc;
}

span.btn-msg {
    font-weight: 600;
    background: white;
    border: 1px solid;
    border-radius: 4px;
    padding: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
    cursor: pointer;
}
/* .satisfaction-wrapper{
	
    height: fit-content;
    top: 3px;
    position: relative;
    float:right;
    padding: 9px;
    padding-left: 16px;
    width:100%;
	& button{
		height: 14px;
	    padding: 0px;
	    vertical-align: middle;
	    margin-left: 6px;
	    margin-right: 6px;
	    
	    & i{
			color:darkgray;
		}
	}
	& span{
		color:darkgray;
		margin-left:13px;
	}
	& span:first-child{
    	margin-right: 6px;
    	margin-left:0px;
	}
} */
.satisfaction-wrapper{
    height: fit-content;
    top: 3px;
    position: relative;
    padding: 9px;
    padding-left: 16px;
    width:100%;
	& button{
		height: 14px;
	    padding: 0px;
	    vertical-align: middle;
	    margin-left: 6px;
	    margin-right: 6px;
	    
	    & i{
			color:darkgray;
		}
	}
	& span{
		color:darkgray;
		margin-left:13px;
	}
	& span:first-child{
    	margin-right: 6px;
    	margin-left:0px;
	}
}

.dis-satisfaction-form {
    padding: 9px;
    padding-left: 16px;	
}

.dis-satisfaction-form input {
    font-size: 14px;
    padding: 12px 32px 12px 12px;
    height: 42px;	
    cursor: text;
}
.dis-satisfaction-form i {
    position: absolute;
    margin-left: -30px;
    margin-top: 13px;
    color: darkgray;	
    cursor: pointer;
}
.dashed-border{
    border: 1px solid lightgray;
    border-style: dashed;
}
.mt20{
	margin-top:20px;
}

@media (max-width: 415px) {
	.command-button-group div {
		font-size:12px;
	}
}
@media (max-width: 370px) {
	.command-button-group div {
		font-size:10px;
		text-wrap: balance;
	}
}
.message.bot .contents ul,.message.bot .contents ol {
	padding-left: 0px !important;
}
@media (max-width: 375px){
    .message.bot .contents{
        width: 100%;
        max-width: 244px;
    }
}