* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 100%;
    background: #F1F1F1;
}

*, html {
    --primaryGradient: linear-gradient(93.12deg, #134339 0.52%, #134339 100%);
    --secondaryGradient: linear-gradient(268.91deg, #134339 -2.14%, #134339 99.69%);
    --primaryBoxShadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    --secondaryBoxShadow: 0px -10px 15px rgba(0, 0, 0, 0.1);
    --primary: #134339;
}

/* CHATBOX
=============== */
.chatbox {
  position: fixed;
    position: fixed;
    bottom: -70px;
    right: 10px;
    width: 320px;
    max-width: 80vw;
    height: 692px;
    max-height: 110vh;
    /* background: #f1f1f1; */
    /* border: 1px solid #ccc; */
    /* border-radius: 10px; */
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
}


/* CONTENT IS CLOSE */
.chatbox__support {

   margin-right: 200px;
   position: relative;
    display: flex;
    flex-direction: column;
    background: #eee;
    width: 477px;
    height: 364px;
    z-index: -123456;
    opacity: 0;
    transition: all .5s ease-in-out;
   margin-bottom: -73px !important;
}


.ar_header {
margin-bottom:5px;text-align: right;margin-top:5px;direction: rtl;font-size: xx-large;font-family:Dubai-Bold, sans-serif;

}


.en_header {
text-align:left;margin-bottom:5px;margin-top:5px;direction: ltr;font-size: xx-large;font-family:Dubai-Bold, sans-serif;
}



.chat_container {
    position: fixed;
    top: 70%;
    z-index: 20;
    right: 0;

}

/* CONTENT ISOPEN */
.chatbox--active {
    display: inherit;
    transform: translateY(-40px);
    z-index: 123456;
    opacity: 1;
    height: 600px;

}


.chatbox__button {

    text-align: right;
}


.send__button {
    padding: 9px;
    background: #ef03037a;
    border: blueviolet;
    outline: auto;
    cursor: e-resize;
    margin-right: 10px;
}



.send__button1 {
    padding: 9px;
    background: #ef03037a;
    border: blueviolet;
    outline: auto;
    cursor: e-resize;
    margin-right: 10px;
}


.send__button2 {
    padding: 9px;
    background: #ef03037a;
    border: blueviolet;
    outline: auto;
    cursor: e-resize;
    margin-right: 10px;
}


/* HEADER */
.chatbox__header {
    position: sticky;
    top: 0;
    background: orange;
}

/* MESSAGES */
.chatbox__messages {
    display: flex;
    overflow-y: scroll;
    flex-direction: column-reverse;
}

.messages__item {
    font-size: medium;
    background: orange;
    max-width: 60.6%;
    width: fit-content;
}

.messages__item--operator {
    margin-left: auto;
}

.messages__item--visitor {
    margin-right: auto;
}


/* FOOTER */
.chatbox__footer {
    display: flex;
    position: sticky;
    bottom: 0;
}


.chatbox__support {
   display: inline-grid;
    margin-top: 35px;
    margin-right: 200px;
    background: #f9f9f9;
    height:370px;
    width: 500px;
    z-index: -123456;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* HEADER */
.chatbox__header {
    height: fit-content;
    background: var(--primaryGradient);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 5px 5px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: var(--primaryBoxShadow);
}

.chatbox__image--header {
    margin-right: 75px;
}

.chatbox__heading--header {
    font-size: 1.2rem;
    color: white;
}

.chatbox__description--header {
    font-size: .9rem;
    color: white;
}

/* Messages */
.chatbox__messages {
    zoom:40%;
    padding: 0 20px;
}

.messages__item {
    color: black;
    margin-top: 10px;
    background: #E0E0E0;
   padding: 4px 11px;
    max-width: 70%;
}

.messages__item--visitor,
.messages__item--typing {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.messages__item--operator {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    background: var(--primary);
    color: white;
}

/* FOOTER */
.chatbox__footer {
    height: fit-content;
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 11px 20px;
    background: var(--secondaryGradient);
    box-shadow: var(--secondaryBoxShadow);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-bottom: -69px;
}

.chatbox__footer input {
 text-align-last: right;
    font-size: small;
    width: 90%;
    border: none;
    padding: 8px 2px;
    border-radius: 15px;
    text-align: left;
}

.chatbox__send--footer {
    color: white;
}

.chatbox__button button,
.chatbox__button button:focus,
.chatbox__button button:visited {
    padding: 10px;
    background: #1c171700;
    border: none;
    outline: none;
    cursor: pointer;
}

.hide-bg{
  mix-blend-mode: multiply;
  filter: contrast(1);
}


.hide-bg2{
   display: none;
}

.o_footer {
    background-color: #ffffff !important;
    color: #212529;
}
.button {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

.avatar {
margin-right:
  vertical-align: middle;
  margin-right: -42px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  direction:ltr;
}


.dot {
 margin-top: 33px;
    margin-right: -14px;
    height: 13px;
    width: 13px;
    background-color: #33ff33;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
}



.button {
    width: 31rem;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    outline: none;
    color: #fff;
    background-color: #127551;
    border: none;
    border-radius: 28px;
    width: 41rem;
    width: 50rem;
    margin-top: 2px;
    margin-bottom: 6px;
}




.button:hover {background-color: #3e8e41}

.button:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}


.indot {

    font-size:bold;
    color: #000;
    background-color: #419084;
}



.button2 {

  font-size: 16px;
  text-align: center;
  cursor: pointer;
  outline: none;
  color: #fff;
  background-color: #04AA6D;
  border: none;
  border-radius: 15px;
  box-shadow: 0 9px #999;
  width: 50rem;
  margin-top: 2px;
  margin-bottom: 6px;

}

.button2:hover {background-color: #3e8e41}

.button2:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

.ask_button {

width :170px;
height:200px;

}


.write_button {

width :170px;
height:200px;

}


@media only screen and (max-width: 600px)
{


.chatbox__support {
   display: inline-grid;
    margin-top: 23px;
    margin-right: -8px;
    background: #f9f9f9;
    height:338px;
    width: 287px;
    z-index: -123456;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}



.chatbox__heading--header {
     font-size: 0.7rem;
    color: white;
}

.avatar {
    margin-right: vertical-align: middle;
    margin-right: -30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    direction: ltr;
}

.dot {
    margin-top: 27px;
    margin-right: -14px;
    height: 10px;
    width: 10px;
    background-color: #33ff33;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
}



.ar_header {
margin-bottom:0px;text-align: right;margin-top:5px;direction: rtl;font-size:25px;font-family:Dubai-Bold, sans-serif;

}



.en_header {
text-align:left;margin-bottom:0px;margin-top:5px;direction: ltr;font-size: 25px;font-family:Dubai-Bold, sans-serif;
}



.button {
    width: 31rem;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    outline: none;
    color: #fff;
    background-color: #127551;
    border: none;
    border-radius: 28px;
    width: 41rem;
    width: 25rem;
    margin-top: 2px;
    margin-bottom: 0px;
}


.ask_button {
margin-top: 50px;
width :130px;
height:130px;


}


.write_button {
margin-top: 50px;
width :130px;
height:130px;


}

.send__button {
    padding: 2px;
    background: #ef03037a;
    border: blueviolet;
    outline: auto;
    cursor: e-resize;
    margin-right: 5px;
}

.chatbox__footer input {
    text-align-last: right;
    font-size: xx-small;
    width: 100%;
    border: none;
    padding: 8px 2px;
    border-radius: 15px;
    text-align: left;
}

}







































