/*    最小時のボタン背景色    */
.embeddedServiceHelpButton .helpButton .uiButton {
    /*background-color: #fd9a00;*/
    font-family: "Arial", sans-serif;
}

/*    chatbot用    */
.chat-window-message .link-style-staff {
    display: none;
}
.embeddedServiceCloudHelpButton,
.embeddedServiceHelpButton {
    margin-top: 10px;
    position: relative;
    top: auto;
    left: auto;
    z-index: 0;
}
.embeddedServiceCloudHelpButton .helpButton,
.embeddedServiceHelpButton .helpButton {
    height: auto;
    width:auto !important;
    position: relative;
    bottom: auto;
    right: auto;
}
.embeddedServiceCloudHelpButton .helpButton .uiButton,
.embeddedServiceHelpButton .helpButton .uiButton {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 12px 30px 12px 45px;
    background-color: #000;
    border: none;
    border-radius: 100px;
    box-shadow: none;
    text-align: left;
    font-family: "Arial", sans-serif;
    font-size: 14px;
    line-height: 1.2;
    position: relative;
    cursor: pointer;
}
@media only screen and (min-width: 768px) {
    .embeddedServiceCloudHelpButton .helpButton .uiButton:hover,
    .embeddedServiceHelpButton .helpButton .uiButton:hover {
        opacity: .8;
    }
    .embeddedServiceCloudHelpButton .helpButton.helpButtonDisabled .uiButton:hover,
    .embeddedServiceHelpButton .helpButton .uiButton.helpButtonDisabled:hover {
        opacity: 1;
    }
}
.embeddedServiceCloudHelpButton .helpButton .uiButton::after,
.embeddedServiceHelpButton .helpButton .uiButton::after {
    content: '';
    display: block;
    width: 8px;
    height: 100%;
    background: url(/user_data/packages/responsive/_asset/img/chat/arrow1.svg) center center no-repeat;
    background-size: 100%;
    position: absolute;
    top: 0;
    right: 15px;
}
.embeddedServiceCloudHelpButton .helpButton .embeddedServiceIcon,
.embeddedServiceHelpButton .helpButton .embeddedServiceIcon {
    display: flex!important;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    margin: 0;
    position: absolute;
    top: calc(50% - 15px);
    left: 5px;
}
.embeddedServiceCloudHelpButton .embeddedServiceIcon::before,
.embeddedServiceHelpButton .embeddedServiceIcon::before {
    font-family: "embeddedserviceiconfont";
    font-size: 1.25em;
    content: attr(data-icon);
    speak: none;
    color: #fff;
    text-rendering: auto;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.embeddedServiceCloudHelpButton .helpButton .uiButton .helpButtonLabel,
.embeddedServiceHelpButton .helpButton .uiButton .helpButtonLabel {
    justify-content: flex-start;
}
.embeddedServiceCloudHelpButton .helpButton .uiButton .helpButtonLabel .message,
.embeddedServiceHelpButton .helpButton .uiButton .helpButtonLabel .message {
    font-size: 14px;
    line-height: 1.2;
}
.embeddedServiceCloudHelpButton .assistiveText,
.embeddedServiceHelpButton .assistiveText {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
}

    /*    最小時のメッセージ背景色    */
.embeddedServiceSidebarButton {
    background-color: #fd9a00;
    font-family: "Arial", sans-serif;
}

    /*    メッセージ色    */
.uiOutputRichText {
    color:#000000;
}

    /*    チャットを開始ボタンの背景色    */
.uiButton:focus {
    outline: 1px solid #fd9a00;
}

    /*    最小時のメッセージ    */
.message {
    background-color: transparent;
    border-style: none;
    color:#ffffff;
        font-size:14px; /** 1.2em **/
    padding:0;
    border-width:0;
}

    /*    姓名逆表示    */    
label[for="FirstName"] {
    position: relative;
    left: 142px
}
input[id="FirstName"] {
    position: relative;
    left: 142px
}
label[for="LastName"] {
    position: relative;
    right: 142px
}
input[id="LastName"] {
    position: relative;
    right: 142px
}

    /*    ケース件名の入力欄非表示設定    */
label[for="Subject"] {
    display:none;
}
input[id="Subject"] {
    visibility:hidden;
}

/* add 2022.1.11 */
input[id="ChatDispMessage__c"] {
    visibility:hidden;
}

/* add 2023.3.29 START */
.inputSplitName.embeddedServiceSidebarFormField{
    display:none;
}

input[id="ChatDispMessagePriv__c"] {
    visibility:hidden;
}
/* add 2023.3.29 END */

/** 調整用 **/
.embeddedServiceCloudHelpButton .embeddedServiceIcon::before,
.embeddedServiceHelpButton .embeddedServiceIcon::before{
	font-size: 15px;
	content: url(/user_data/packages/responsive/_asset/img/chat/staff2.svg);
    width: 30px;
    height: 30px;
}

.embeddedServiceHelpButton .uiButton{
	width: 150px;
	max-width: 15em;
}

/*
.embeddedServiceHelpButton .helpButton,
.embeddedServiceSidebar.layout-docked .dockableContainer{
	right: 80px;
}
*/

.embeddedServiceSidebar .required:before{
    content:none;
}

@media screen and (max-width:420px) { 
	.embeddedServiceSidebar label[for="FirstName"],
	.embeddedServiceSidebar input[id="FirstName"] {
	    position: relative;
	    left: 108%;
	}
	.embeddedServiceSidebar label[for="LastName"],
	.embeddedServiceSidebar input[id="LastName"] {
	    position: relative;
	    right: 108%;
	 }
}

.embeddedServiceSidebarMinimizedDefaultUI.helpButton .content{
	background-color: var(--lwc-colorBackgroundAlt2Darken20,#fd9a00);
	color: var(--lwc-colorTextButtonBrand,rgb(255, 255, 255));
	border-top: var(--lwc-colorBackgroundAlt2Darken20,#fd9a00);
}

.embeddedServiceSidebarMinimizedDefaultUI.helpButton .content{
	background-color: var(--lwc-colorBackgroundAlt2Darken20,#fd9a00);
	color: var(--lwc-colorTextButtonBrand,rgb(255, 255, 255));
	border-top: var(--lwc-colorBackgroundAlt2Darken20,#fd9a00);
}

.embeddedServiceSidebarMinimizedDefaultUI {
	min-width: auto;
	max-width: 15em;
	width: 135px;
	right: 80px;
}

.embeddedServiceHelpButton,
.dockableContainer.showDockableContainer .minimizeButton{
	display:none;
}


#chat-window .embeddedServiceHelpButton{
	display:block;
}






/** chat IE**/
@media all and (-ms-high-contrast: none){

	.embeddedServiceSidebar.layout-docked .dockableContainer.showDockableContainer{
		background:#fff;
		width:320px;
		height:500px;
	}

	.embeddedServiceSidebarButton{
		background:#fd9a00 !important;
	}

}

