@charset "UTF-8";
/***********************************************
* 경찰청 / 2021 / STYLE_CSS *
***********************************************/

/*=============================================*/
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) { /* iphone screen */
	.box__drg__message_new {
	    position: fixed;
	    z-index: 120;
	    width: 1px;
	    height: 1px;
	    top: 3%;
	    right: 32em;/* 460px;*/
	    will-change: width;
	    transition: width 0.3s 0s linear;
	}
}
@media only screen and (max-width : 767px){ /* adroid mobile */
	.box__drg__message_new {
	    position: fixed;
	    z-index: 1200;
	    width: 1px;
	    height: 1px;
	    top: 3%;
	    right: 27em;/*370px;*/
	    will-change: width;
	    transition: width 0.3s 0s linear;
	}
}
@media only screen and (min-width : 768px) { /* windows */
	.box__drg__message_new {
	    position: fixed;
	    z-index: 120;
	    width: 1px;
	    height: 1px;
	    top: 5%;
	    right: 28em;/*550px;30%;*/
	    will-change: width;
	    transition: width 0.3s 0s linear;
	}
}


#chatbot_iframe {
    position: absolute;
    display: none;
    width: 430px;/*380px;*/
    height: 82vh; /*70vh;*/
    border-radius: 15px;
    z-index: 999;
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(204, 204, 204);
    box-shadow: #8d93ab 5px 5px 30px;
}
#chatbot_iframe iframe {
    width:100%; height: 77vh/*64vh*/; background-color:#fff; /* box-shadow: #8d93ab 5px 5px 30px; */
}
.hideChat {
    text-align: right;
    z-index: 1000;
    margin: 10px 15px 8px;
}

@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5){
	.chat_bot {
	    position: fixed;
	    bottom: 0;/*1%;*/
	    right: 1.5rem;
	    z-index: 30;
	}
	
}
@media only screen and (max-width : 767px){
	.chat_bot {
	    position: fixed;
	    bottom: 0;/*3%;*/
	    right: 2rem;
	    z-index: 30;
	}
}
@media only screen and (min-width : 768px) {
.chat_bot {
    position: fixed;
    bottom: 0;/*8%;*/
    right: 5rem;
    z-index: 30;
}
}

 /********************** 모바일 화면 **********************/
@media screen and (max-width:640px) {
    .box__drg__message_new {
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        width: auto;
    }
    #chatbot_iframe {
        width: 100%;
        height: var(--vh,100vh);
        border: none;
    }
    #chatbot_iframe iframe {
        height: calc(var(--vh,100vh) - 34px/*48px*/);
    }
}


.chat_bot .chat_wrap {
    z-index: 31;
    position: relative;
    padding-top: 0;
    display: flex;
    flex-direction: column-reverse;
}
.chat_bot .charact {
    z-index: 32;
    width: 70px; /*65, origin 99*/
    height: 110px; /*99 origin 150*/
    left: 115px;
    position: relative;
}
.chat_bot .charact a {
    display: block;
}
.chat_bot .charact a img {
    max-width: 100%;
}
.chat_bot .msg_box {
    z-index: 33;
    position: static;
    top: auto;
    left: auto;
}
.chat_bot .msg_box .msg_cont {
    z-index: 34;
    position: relative;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 38px;
    box-sizing: border-box;
    padding: 12px 0;
    box-shadow: 5px 5px 10px rgb(0 0 0 / 30%);
    display: block;
}
.chat_bot .msg_box .msg_cont:before {
    content: '';
    width: 16px;
    height: 16px;
    position: absolute;
    bottom: -3px;
    left: 130px;
    transform: rotate(-45deg);
    background: #fff;
    z-index: 35;
}
.chat_bot .msg_box .msg_cont p {
    font-size: 16px;
    font-weight: 300;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: -0.8px;
    color: #111111;
    padding: 0 26px;
    text-align: left;
}

.cards_wrap {
    display: inline-block;
    padding: 0 0 0 2rem;
}
.cards_wrap .card {
    width: 32.5rem;
    height: 100%;
    text-align: center;
    border-radius: .5rem;
    color: #fff;
    position: relative;
}
.cards_wrap.owl-carousel .owl-stage-outer .owl-item {
    margin:0 2rem 0 0 !important;
}
.balloon textarea {
    padding: 0;
    width: 100%;
    border: 0;
    background: transparent;
}

.balloon.user textarea {
    color: #fff;
}

