.bot {
    /*z-index: 99;
    right: 0;
    bottom: 50%;
    display: block;
    position: relative;*/
    
    display: block;
	width: 225px;
    position: fixed;
    right: 0px;
    bottom: 175px;
	z-index: 99;
    
}

.bot_box{
    position: absolute;
    width: 100%;
    /*top: 105px;*/
    /*right: 60px;*/
    right: 30px;
    /*background-color:#CA66A3;
    border-radius: 20px;*//*角の丸み*/
}

.bot_box img{
	width: 100%;
}

.bot_icon{
    position: absolute;
    top: 2px;
}


.chat_header img{
	top:10px;
	left:10px;
	position:absolute;
	z-index:999;
}


.bot_text {
    width:310px;
    margin: 5px 0px 0px 40px;
    color: #fff;
    font-size: 16px;
}

.chat_text {
    z-index: 99;
    right: 25px;
    bottom: 35px;
    display: block;
    position: fixed;
}
.chat_text {
    background-color: #fff;
    /*
    color: #178efe;
    */
    border: solid 1px #34A1D3;
    border-radius: 25px;
    overflow: hidden;

}
.chat_footer {
    display: none;
    margin: 20px 10px;
}

*.chat_footer input{
    -webkit-box-sizing: unset;
    -moz-box-sizing: unset;
    box-sizing: unset;
}

.chat_footer input{
	width: calc(100% - 75px);
    border-radius: 4px;
    border: 1px solid #9E9E9E;
    font-family: Arial;
    font-size: 12px;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 20px;
    padding: 5px;
}
.chat_footer button{
    color: #fff;
    font-size: 12px;
    line-height: 30px;
    min-width: 50px;
    background: #2196F3;
    text-align: center;
    border: 0;
    border-radius: 5px;
}
.botui-message-content{
	/*background-color: #909AA9;*/
	background-color: #aeaeae;
	color: #fff;
	line-height: 20px;
}

.botui-message-content a {
	color: #0000EE;
	text-decoration: underline;
}

.botui-message-content.human {
	/*background-color: #178efe;*/
	background-color: #34a1d3;
}

.botui-actions-buttons-button {
	color: #34a1d3;
    border: solid 3px #34a1d3;
	border-radius: 25px;
	background: #fff;
}
.chat_header {
	text-align: right;
	background-color:#84C1E0;
	/*border-radius: 25px 25px 0 0;*/
	border-radius: 23px 23px 0 0;
	position:relative;
	height:56px;
}

.chat_header p{
	font-size:20px;
	color:#fff;
	display:inline-block;
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
}

#panel-btn{
  display: inline-block;
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  margin-right: 10px;
    margin-top: 10px;
}
#panel-btn-icon{
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
/*  height: 2px;*/
  margin: -1px 0 0 -7px;
  background: #2196F3;
  background: #ffffff;
  transition: .2s;
}
#panel-btn-icon:before, #panel-btn-icon:after{
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 2px;
  background: #2196F3;
  background: #ffffff;
  transition: .3s;
}
#panel-btn-icon:before{
  margin-top: -6px;
}
#panel-btn-icon:after{
  margin-top: 4px;
}
#panel-btn #panel-btn-icon:before, #panel-btn #panel-btn-icon:after{
  margin-top: 0;
}
#panel-btn #panel-btn-icon:before{
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
#panel-btn #panel-btn-icon:after{
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}
.botui-actions-container{
	padding: 0px 20px;
	padding-bottom: 20px;
}
button.botui-actions-buttons-button{
  margin-top: 0px;
}

.end_bottom{
	position: absolute !important;
    top: 0px !important;
}

@media screen and (max-width:768px) {
.bot{
	width: 200px;
}
.bot_box{
	right:10px;
	top:0px;
}

	.bot_box img{
		width:100%;
		height:auto;
	}
	
}
@media only screen and (max-width: 599px) {

	.bot {
	    /*right: 5px;*/
	    bottom: 130px;
		/*position:absolute;*/
		/*top:0;*/
	}
	.bot_box {
        width: 170px;
	    top: 0;
	    height: 40px;
	    right: 0;
	}
	.bot_icon {
	    top: -9px;
	}
	.bot_text {
	    font-size: 10px;
	    width: 200px;
	}
	.bot_box + img {
		width: 50px;
	}
	.chat_text {
	    right: 15px;
	    bottom: 10px;
        width: 90%;
        height: 400px;
	}
	.botui-app-container {
	    width: 100%;
	    /*height: calc(100% - 100px);*/
		height: calc(100% - 60px);
	}
	

	.chat_footer {
    margin: 20px 10px;
    position: absolute;
    bottom: 0;
    width: 95%;
}
}
@media only screen and (max-width:360px) {
	.chat_header p {
    transform: translate(-40%,-50%);
}
}
@media only screen and (max-width:320px) {
	.chat_header p {
    font-size: 18px;
}
.botui-app-container {
    height: calc(97% - 100px);
}
}