.button {
  

  background-color:#f8f9fa;
  color: #f8f9fa;
  border: 2px solid #8f8fc9;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 22px;
  margin: 4px 6px;
}
button {
background-color: #c9c9e5 ;
}
/*button focus removed here*/
.button:focus {
  outline: none !important;
}
button:hover {

background-color: #2d2d5d;
color: white;
border-color: buttonface;
}
.button5 {
 border-radius: 120%;
    width: 50px;
    height: 50px;
    color: #6f5193;
}

.outer {
overflow-y: auto;
height: 735px;
border: 1px  solid black;
cursor: pointer;
}

.outer table {
width: 100%;
position: sticky;
border: 1px solid black;
border-collapse: collapse;

}

.outer table th {
text-align: center;
top: 0;
position: sticky;
background-color: white;
height: 30px;
font-size: 15px;
}

/*start rating css........................*/

#review-add-btn {
width: 30px;
height: 30px;
font-size: 20px;
cursor: pointer;
float: right;
padding-bottom: 20px;
margin-right: 25px;
margin-top: 3px;
border-radius: 15px;
background-color:  buttonface;
color: #6f5193;
}
#review-add-btn:hover {

background-color: #2d2d5d;
color: white;
}

.material-icons {


letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;

}



/* ====================== Review Form ====================== */
#modal {

position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);

z-index: 3;
display: flex;
flex-direction: column;

border: 1px solid #666;
border-radius: 10px;
opacity: 0;
transition: all .3s;
overflow: hidden;
background-color: #6f5193 ;
display: none;
}

#modal.show {
opacity: 1;
display: flex;
}

.modal-overlay {
width: 100%;
height: 100%;
z-index: 2;
background-color: #000;
opacity: 0;
transition: all .3s;
position: fixed;
top: 0;
left: 0;
display: none;
margin: 0;
padding: 0;
color: white;
}

.modal-overlay.show {
display: block;
opacity: 0.5;
}

#modal .close-btn {
align-self: flex-end;
font-size: 1.4em;
margin: 8px 8px 0;
padding: 0 8px;
cursor: pointer;
float: right;
margin-right: 3px;
}

.form {
max-width: 900px;
padding: 0 20px 20px 20px;
}

select,
.rate,
textarea {
background: #f9f9f9;
border: 1px solid #e5e5e5;
border-radius: 8px;
box-shadow: inset 0 1px 1px #e1e1e1;
font-size: 16px;
padding: 8px;
}

input[type="radio"] {
box-shadow: none;
}

.input {
background: #f9f9f9;
border: 1px solid #e5e5e5;
border-radius: 8px;
box-shadow: inset 0 1px 1px #e1e1e1;
font-size: 16px;
padding: 8px;
}

button {
background-color: #a7aebc;

}

button:hover {
background-color: #2d2d5d;
color: white;
border-color: buttonface;
}

button#review-add-btn,
button.close-btn,
button#submit-review-btn {
min-height: 10px;
}

button#submit-review-btn {
font-weight: bold;
cursor: pointer;
padding: 0 12px;
}

.fieldset {
margin-top: 20px;
}

.right {
align-self: flex-end;
}

#review-form-container {
width: 100%;
padding: 0 20px 26px;
color: black;
overflow-y: auto;
}

#review-form-container h2 {
margin: 0 0 0 6px;
}

#review-form {
display: flex;
flex-direction: column;
background: #fff;
border: 1px solid #e5e5e5;
border-radius: 4px;
}

#review-form label,
#review-form input {
display: block;
/* width: 100%; */
}

#review-form label {
font-weight: bold;
margin-bottom: 5px;
}

#review-form .rate label,
#review-form .rate input,
#review-form .rate1 label,
#review-form .rate1 input {
display: inline-block;
}

.rate {
height: 36px;
display: inline-flex;
flex-direction: row-reverse;
align-items: flex-start;
justify-content: flex-end;
}

#review-form .rate>label {
margin-bottom: 0;
margin-top: -5px;
height: 30px;
}

.rate:not(:checked)>input {
top: -9999px;
margin-left: -24px;
width: 20px;
padding-right: 14px;
z-index: -10;
}

.rate:not(:checked)>label {
float: right;
width: 1em;
overflow: hidden;
white-space: nowrap;
cursor: pointer;
font-size: 30px;
color: #ccc;
}

.rate2 {
float: none;
}

.rate:not(:checked)>label::before {
content: '★ ';
position: relative;
top: -10px;
left: 2px;
}

.rate>input:checked~label {
color: #ffc700;
}

.rate>input:checked:focus+label,
.rate>input:focus+label {
outline: -webkit-focus-ring-color auto 5px;
}

.rate:not(:checked)>label:hover,
.rate:not(:checked)>label:hover~label {
color: #deb217;
}

.rate>input:checked+label:hover,
.rate>input:checked+label:hover~label,
.rate>input:checked~label:hover,
.rate>input:checked~label:hover~label,
.rate>label:hover~input:checked~label {
color: #2d2d5d;
}

#submit-review {
align-self: flex-end;
}



/*End rating css........................*/

.form_key {
max-width: 100%;
padding: 18px 20px 20px 20px;
}
.container {
align-content: center;
}

.row {
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -0px;
margin-left: -0px;
}

.chat {
margin-top: auto;
margin-bottom: auto;
}

.card {
height: 420px;
width: 100%;
border-radius: 7px !important;
background-color:#c9c9e5  !important;
}
.card-1 {
height: 290px;
width: 100%;
border-radius: 7px !important;
background-color:#c9c9e5  !important;
}

.card-head {
 /*background-color: rgba(0, 0, 0, 0.1) !important;*/
height: 15px;
/*  margin-top: 10px;
*/  color: #362747;
text-align: center;
font-size: 23px;
width: 100%;/*
padding-bottom: 7px;*/
margin-bottom: 5px;
cursor: pointer;
}
.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding-top: 3px;
}
.type_msg {
background-color: rgba(0, 0, 0, 0.3) !important;
border: 0 !important;
color: white !important;
height: 130px !important;
overflow-y: auto;
}

.type_msg:focus {
box-shadow: none !important;
outline: 0px !important;
}


.card-footer {
border-top: 0 !important;
margin-top: 2px;
height: 90px;
}

.input-group-append {
height: 28PX;
margin-top: 5px;
margin-bottom: 12px;
width: 100%;
font-size: 12px;
}

.attach_btn {
font-size: 15px;
text-align: center;
text-rendering: auto;
color: buttontext;
letter-spacing: normal;
word-spacing: normal;
text-transform: none;
text-indent: 0px;
text-shadow: none;
display: inline-block;
text-align: center;
align-items: flex-start;
background-color: buttonface;
box-sizing: border-box;
border-color: #6f5193;
width: 80%;
border-image: initial;
cursor: pointer;

border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}
::-webkit-file-upload-button:hover
{
background-color: #2d2d5d;
} 

::-webkit-file-upload-button {
background: #8f8fc9;
color: white;
cursor: pointer;
border:none;
height: 28px; 
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}

.send_btn {
position: absolute;
color: black;
margin-left: 30%;
width: 15%;
height: 32px;
font-size: 15px;
cursor: pointer;
border-radius: 4px;
text-rendering: auto;
letter-spacing: normal;
word-spacing: normal;
text-transform: none;
text-indent: 10px;
text-shadow: none;
display: inline-block;
text-align: center;
align-items: flex-start;
background-color: buttonface;
box-sizing: border-box;
border-width: 3px;
border-color: #6f5193;
border-image: initial;
}

.send_btn:hover {
background-color: #2d2d5d;
color: white;
border-color: white;
}


.file_btn {
width: 30%;
margin-left: 1px;
color: white;
font-size: 15px;
text-align: center;

background-color:  #8f8fc9;
border-bottom-right-radius: 5px;
border-top-right-radius: 5px;
cursor: pointer;
padding-top: 2px;
}


.file_btn:hover {
background-color: #2d2d5d;
color: white;
}

.msg_output {
text-align: left;
background-color: buttonface !important;
border: 0 !important;
color: black !important;
width: 100%;
min-height: 180px;
max-height: 200px;
overflow-y: auto;
margin-top: 0px;
border-radius: 5px;
padding: 15px;
}

.msg_output:focus {
box-shadow: none !important;
outline: 0px !important;
}

.card-footer-1 {
border-top: 0 !important;
margin-top: 220px;
height: 45px;
}

.export {
width: 15%;
height: 35px;
font-size: 15px;
cursor: pointer;
border-radius: 4px;
margin-top: 5px;
text-rendering: auto;
color: black;
background-color: buttonface;


}

.export:hover {
background-color:#2d2d5d;
color: white;
}


.dropdown {
position: relative;
display: inline-block;
}
.btnbtn {
border-radius: 4px;
text-rendering: auto;
color: black;
background-color: buttonface;

color: black;
padding: 8.3px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 14px;
cursor: pointer;
}
.btn:hover,
.btn:focus {
background-color: #2d2d5d;
color: white;

}

  .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  padding: 0;
  margin: 0;
  font-size: 12px;
  color: #212529;
  text-align: center;
  list-style: none;
  background-color: buttonface;
  min-width: 100px;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 3px;
   overflow: auto;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 5;
  clear: both;
  font-weight: 400;
  color:black;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  cursor: pointer;

}
.dropdown-item:hover {
background-color: #2d2d5d;
color: white;
}


.button1 {
background-color: white;
color: black;
border: 3px solid #6f5193;
}

.contacts {
list-style: none;
padding: 0;
}

.contacts li {
width: 100% !important;
padding: 5px 10px;
margin-bottom: 15px !important;
}

.active {
background-color: rgba(0, 0, 0, 0.3);
}


.msg_cotainer {
margin-top: auto;
margin-bottom: auto;
margin-left: 10px;
border-radius: 10px;
background-color: rgba(0, 0, 0, 0.1);
padding: 5px;
position: relative;
}

.msg_cotainer_send {
margin-top: auto;
margin-bottom: auto;
margin-right: 10px;
border-radius: 10px;
background-color: rgba(0, 0, 0, 0.1);
padding: 10px;
position: relative;
text-align: right;
}
.copy-btn {

height: 30px;
width: 30px;
border-radius: 5px;
margin-left:30px;
float: left;
margin-top: 4px;


  font-size: 20px;
  cursor: pointer;
  background-color: buttonface;
  color: #6f5193;
}
.copy-btn:hover {

background-color: #2d2d5d;
color: white;
border-color: buttonface;
}

/* width */
::-webkit-scrollbar {
width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px grey;
border-radius: 3px;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #D7DBDD;
border-radius: 3px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #D7DBDD;
}

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


{
.chat .card-head .contacts_body .msg_card_body .msg_card_body_1 .msg_output .card-body .msg_head .chat_box_logo .type_msg .card-footer .input-group-append .input-group-text .file_btn .export .dropbtn .dropdown .dropdown-content .button .button1 {
  height: 100%;
  width: 100%;

}

.card {
  height: auto;
}

.file_btn {
  width: 40%;
  font-size: 8px;
  padding-top: 7px;

}

.send_btn {
  margin-left: 12%;
  font-size: 12px;
  width: 61%;
}

.attach_btn {
  width: 60%;

  
}





.found {
  background-color: #6f5193;
  font-weight: bold;
  color: white;
}
}


@media (min-width: 321px)and (max-width: 360px)


{
.chat .card-head .contacts_body .msg_card_body .msg_card_body_1 .msg_output .card-body .msg_head .chat_box_logo .type_msg .card-footer .input-group-append .input-group-text .file_btn .export .dropbtn .dropdown .dropdown-content .button .button1 {
  height: 100%;
  width: 100%;

}

.card {
  height: auto;
}

.file_btn {
  width: 40%;
  font-size: 12px;
  padding-top: 5px;

}

.send_btn {
  margin-left: 12%;
  font-size: 12px;
  width: 61%;
}

.attach_btn {
  width: 60%;
}




.found {
  background-color: #6f5193;
  font-weight: bold;
  color: white;
}
}


@media only screen and (min-width: 361px) and (max-width: 450px) {

.chat .card-head .contacts_body .msg_card_body .msg_card_body_1 .msg_output .card-body .msg_head .chat_box_logo .type_msg .card-footer .input-group-append .input-group-text .file_btn .export .dropbtn .dropdown .dropdown-content .button .button1 {
  height: 100%;
  width: 100%;

}

.card {
  height:auto;
}

.file_btn {


  width: 35%;
  font-size: 12px;
  padding-top: 5px;

}

.send_btn {
  margin-left: 18%;
  font-size: 12px;
  width: 54%;
}

.attach_btn {
  width: 65%;
}


}

@media only screen and (min-width: 451px) and (max-width: 575px) {
.chat .card-head .contacts_body .msg_card_body .msg_card_body_1 .msg_output .card-body .msg_head .chat_box_logo .type_msg .card-footer .input-group-append .input-group-text .file_btn .export .dropbtn .dropdown .dropdown-content .button .button1 {
  height: 100%;
  width: 100%;
}

.card {
  height: auto;
}

.file_btn {
  width: 30%;
  font-size: 12px;
}

.send_btn {
  margin-left: 12%;
  font-size: 12px;
  width: 62%;
}

.attach_btn {
  width: 70%;
}

}

@media only screen and (min-width: 576px) and (max-width: 767px) {
.chat .card-head .contacts_body .msg_card_body .msg_card_body_1 .msg_output .card-body .msg_head .chat_box_logo .type_msg .card-footer .input-group-append .input-group-text  .export .dropbtn .dropdown .dropdown-content .button .button1 {
  height: 100%;
  width: 100%;
}

.card {
  height: auto;
}

.file_btn {
  width: 20%;
  font-size: 12px;
}

.send_btn {
  margin-left: 12%;
  font-size: 12px;
  width: 62%;
}

.attach_btn {
  width: 70%;
}
}

@media only screen and (min-width: 768px) and (max-width: 999px) {
.chat .card-head .contacts_body .msg_card_body .msg_card_body_1 .msg_output .card-body .msg_head .chat_box_logo .type_msg .card-footer .input-group-append .input-group-text  .export .dropbtn .dropdown .dropdown-content .button .button1 {
  height: 100%;
  width: 100%;

}

.card {
  height: auto;
}

.file_btn {
  width: 30%;
  font-size: 15px;
}

.send_btn {
  margin-left: 12%;
  font-size: 15px;
  width: 62%;
}

.attach_btn {
  width: 70%;
}
}

@media only screen and (min-width: 1000px) and (max-width: 1200px) {
.chat .card-head .contacts_body .msg_card_body .msg_card_body_1 .msg_output .card-body .msg_head .chat_box_logo .type_msg .card-footer .input-group-append .input-group-text  .export .dropbtn .dropdown .dropdown-content .button .button1 {
  height: 100%;
  width: 100%;

}

.card {
  height: auto;
}

.file_btn {
  width: 30%;
  font-size: 15px;
}

.send_btn {
  margin-left: 23%;
  font-size: 18px;
  width: 50%;
}

.attach_btn {
  width: 70%;
}
.outer {

height: 855px;
}
}

@media only screen and (width: 1280px){
.chat .card-head .contacts_body .msg_card_body .msg_card_body_1 .msg_output .card-body .msg_head .chat_box_logo .type_msg .card-footer .input-group-append .input-group-text  .export .dropbtn .dropdown .dropdown-content .button .button1 {
  height: 100%;
  width: 100%;

}

.card {
  height: auto;
}

.file_btn {
  width: 30%;
}

.send_btn {
  margin-left: 23%;
  font-size: 18px;
  width: 50%;
}

.attach_btn {
  width: 70%;
}
.outer{
  height: 825px;
}
}

@media only screen and (min-width: 1400px) {
.chat .card-head .contacts_body .msg_card_body .msg_card_body_1 .msg_output .card-body .msg_head .chat_box_logo .type_msg .card-footer .input-group-append .input-group-text  .export .dropbtn .dropdown .dropdown-content .button .button1 {
  height: 100%;
  width: 100%;

}

.card {
  height: auto;
}

.file_btn {
  width: 30%;
}

.send_btn {
  margin-left: 23%;
  font-size: 18px;
  width: 50%;
}

.attach_btn {
  width: 70%;
}
 .outer{
  height: 775px;
}

}
@media only screen and (min-width: 1920px) {
.chat .card-head .contacts_body .msg_card_body .msg_card_body_1 .msg_output .card-body .msg_head .chat_box_logo .type_msg .card-footer .input-group-append .input-group-text  .export .dropbtn .dropdown .dropdown-content .button .button1 {
  height: 100%;
  width: 100%;

}

.card {
  height: auto;
}
.card-1 {
height: 390px;

}

.file_btn {
  width: 30%;
  font-size: 15px;
}

.send_btn {
  margin-left: 23%;
  width: 50%;
}

.attach_btn {
  width: 70%;
}
 .outer{
  height: 818px;
}
.card-footer-1 {
margin-top: 320px;

}
.msg_output {
min-height: 280px;
max-height: 220px;
}

}

