html {
    height: 100%;
    background-color: rgba(36,44,48,.5);
}

body {
    overflow: hidden;
}


.cx-widget.cx-theme-light .cx-btn-primary {
    margin: 10% 0 0% 0% !important;
    width: 100%;
    background-color: #e20414;
    color: #ffffff !important;
    border-radius: 30px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: bold !important;
    padding: 14px 0 !important;
    max-height: 52px;
    border: 0 !important;
    outline: none !important;
}

.cx-btn:hover {
    text-decoration: underline;
}

.cx-widget.cx-theme-light .cx-btn-default {
    /* width: 60%; */
    margin: 16px 0% 0% 0%;
    width: 100%;
    background-color: transparent;
    color: #ffffff;
    border-radius: 30px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    max-height: 52px;
    padding: 14px 0;
    border: 2px solid #ffffff;
    outline: none !important;
}

.cx-btn-onay {
    margin: 10% 0 0% 0% !important;
    width: 100%;
    background-color: #e20414;
    color: #ffffff !important;
    border-radius: 30px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: bold !important;
    padding: 14px 0 !important;
    max-height: 52px;
    border: 0 !important;
    outline: none !important;
}

.cx-btn-hata {
    margin: 10% 0 0% 0% !important;
    width: 100%;
    background-color: #e20414 !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: bold !important;
    padding: 14px 0 !important;
    max-height: 52px;
    border: 0 !important;
    outline: none !important;
}

.cx-widget.cx-theme-light .cx-titlebar .cx-title {
    color: #444a52;
    font-weight: bold !important;
}

.cx-widget.cx-theme-blue, .cx-widget .cx-container {
    color: #000;
    background: white;
}

.cx-widget {
    border-radius: 20px;
}

    .cx-widget.cx-theme-blue * {
        border-color: white;
    }
    /*.cx-message .cx-participant .cx-you>cx-bubble{
	padding: 0px;
    text-align: right;
    margin-left: 270px;
}
.cx-message .cx-participant .cx-you .cx-NewTextBubble{
	padding: 0px;
    text-align: right;
    margin-left: 270px;
    max-width: 297px;
	
}*/
    .cx-widget.cx-theme-blue.cx-webchat, .cx-widget.cx-theme-blue .cx-webchat {
        background: white;
        // Darker Shade
    }

        .cx-widget.cx-theme-blue.cx-webchat .form input, .cx-widget.cx-theme-blue .cx-webchat .form input {
            background: white;
            // Lighter Shade
        }

    .cx-widget .cx-theme-light .cx-btn-primary {
        color: #fdfdfd;
        border-color: #e20414 !important;
        background: #5081e1;
        background: -moz-linear-gradient(top,#e20414 0,#e20414 100%);
        background: -webkit-linear-gradient(top,#5081e1,#4375d6) !important;
        background: linear-gradient(180deg,#e20414 0,#e20414) !important;
    }

.cx-common-container .cx-titlebar .cx-icon {
    content: url(assets/img/chatbot-ziraat-logo.jpg) !important;
    background-repeat: no-repeat;
    height: 28px !important;
    width: 133px !important;
}

.cx-webchat .cx-menu li.cx-branding-icon {
    display: none;
}

.cx-common-container .cx-titlebar {
    height: 55px !important;
    background: #df0e21 !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 15px 28px !important;
    border-color: #df0e21 !important;
}

.cx-body {
    background: url(assets/img/bot-bg.png) !important;
    padding: 0px !important;
    border-radius: 0 0 20px 20px !important;
    height: 92.4%;
}

.cx-minimized {
    display: none !important;
}

.cx-theme-light .cx-desktop .cx-transcript-view {
    border-radius: 20px 20px 20px 20px !important;
    bottom: 41px !important;
    /*height:74%;*/
    width: 433px;
    right: 32px !important;
    display: block;
    overflow: hidden !important;
}

.cx-webchat .cx-transcript::-webkit-scrollbar {
    display: none !important;
}

::-webkit-scrollbar {
    display: none !important;
}

.cx-message .cx-participant .cx-them .cx-Agent .cx-agent.cx-NewTextBubble {
    background-color: transparent;
}

.cx-end-confirm .cx-btn .cx-btn-primary {
    border: #e20414;
    border-radius: 20px;
    width: 250px;
    height: 40px;
    margin: 50px 60px 70px 70px;
    font-size: large;
}

.cx-avatar-wrapper {
    padding-top: 5%;
}

.cx-message .cx-participant .cx-them .cx-Agent .cx-agent {
    border-radius: 0 15px 15px 15px;
}

.cx-message.cx-participant .cx-bubble {
    margin-left: 0;
}

.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-participant.cx-you .cx-bubble {
    border-radius: 15px 0 15px 15px !important;
    background-color: #dbdbdb;
    overflow-wrap: break-word;
    border: 2px solid white;
}


.cx-send .cx-icon .i18n {
    background: url(assets/img/icon-send.png) !important;
}

.cx-disabled {
    background: url(assets/img/bot-bg.png);
}

.cx-agent-typing {
    max-width: 70px !important;
}

    .cx-agent-typing svg {
        margin-top: 0px !important;
        margin-left: 1px !important;
    }


@media only screen and (min-width: 600) {
    .cx-webchat .cx-transcript .cx-message-group > .cx-message {
        margin-left: 39px;
        background-color: white;
        color: #1d1d1b;
        font-size: 14px;
        line-height: normal;
        display: block;
        max-width: 80%;
    }
}

@media only screen and (max-width: 767px) {
    .cx-transcript {
        height: 82% !important;
    }

    .cx-common-container .cx-titlebar {
        border-radius: 0px !important;
    }

    .cx-theme-light .cx-desktop .cx-transcript-view {
        height: 100% !important;
        width: 100% !important;
        right: 0px !important;
        bottom: 0px !important;
        border-radius: 0px !important;
    }

    .cx-body {
        height: 100% !important
    }

    .cx-widget {
        height: 100% !important;
        width: 100% !important;
        right: 0 !important;
        bottom: 0 !important;
    }

    .cx-webchat .cx-alert > .cx-wrapper {
        height: 100vh  !important;
    }

    .cx-webchat .cx-transcript .cx-message.cx-you {
        margin-left: 50% !important;
        right: 8%;
        float: right;
    }
}

@media only screen and (max-height: 810px) {
    .cx-transcript {
        height: 78% !important;
    }

}

@media only screen and (max-height: 630px) {
    .cx-transcript {
        height: 75% !important;
    }
}

@media only screen and (max-height: 450px) {
    .cx-transcript {
        height: 50% !important;
    }
}

@media only screen and (min-height: 800px) {
    .cx-webchat .cx-alert > .cx-wrapper {
        height: 638px;
    }
}

@media only screen and (max-height: 530px) {
    .cx-transcript {
        height: 50% !important;
    }

    .cx-webchat .cx-transcript .cx-message.cx-them .cx-bubble {
        margin-left: 0px;
    }

    .cx-agent-typing svg {
        margin-left: -39px !important;
    }



    .cx-body {
        height: 92.4%;
    }

    .cx-agent-typing {
        margin-left: 39px !important;
        /* background-color: white; */
        color: #1d1d1b !important;
        font-size: 14px !important;
        line-height: normal !important;
        display: block !important;
        max-width: 50% !important;
    }
