.mainContainer {
  max-width: 800px;
  margin: auto;
}

img {
  max-width: 100%;
}

.inbox_people {
  background: #f8f8f8 none repeat scroll 0 0;
  float: left;
  overflow: hidden;
  width: 40%;
  border-right: 1px solid #c4c4c4;
}

.inbox_msg {
  border: 1px solid #c4c4c4;
  clear: both;
  overflow: hidden;

}

.top_spac {
  margin: 20px 0 0;
}


.recent_heading {
  float: left;
  width: 40%;
}

.srch_bar {
  display: inline-block;
  text-align: right;
  width: 60%;

}

.headind_srch {
  padding: 10px 29px 10px 20px;
  overflow: hidden;
  border-bottom: 1px solid #c4c4c4;
}

.recent_heading h4 {
  color: #05728f;
  font-size: 21px;
  margin: auto;
}

.srch_bar input {
  border: 1px solid #cdcdcd;
  border-width: 0 0 1px 0;
  width: 80%;
  padding: 2px 0 4px 6px;
  background: none;
}

.srch_bar .input-group-addon button {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
  padding: 0;
  color: #707070;
  font-size: 18px;
}

.srch_bar .input-group-addon {
  margin: 0 0 0 -27px;
}

.chat_ib h5 {
  font-size: 15px;
  color: #464646;
  margin: 0 0 8px 0;
}

.chat_ib h5 span {
  font-size: 13px;
  float: right;
}

.chat_ib p {
  font-size: 14px;
  color: #989898;
  margin: auto
}

.chat_img {
  float: left;
  width: 11%;
}

.chat_ib {
  float: left;
  padding: 0 0 0 15px;
  width: 88%;
}

.chat_people {
  overflow: hidden;
  clear: both;
}

.chat_list {
  border-bottom: 1px solid #c4c4c4;
  margin: 0;
  padding: 18px 16px 10px;
}

.inbox_chat {
  height: 550px;
  overflow-y: scroll;
}

.active_chat {
  background: #ebebeb;
}

.incoming_msg_img {
  display: inline-block;
  width: 7%;
  float: right;
  padding-left:4px;
}
.outgoing_msg_img {
  display: inline-block;
  width: 7%;
  float: left;
}

.received_msg {
  overflow: hidden;
  float: right;
  min-width: 15%;
  margin-right:2px;

}

.received_withd_msg p {
  background: #87ed7f none repeat scroll 0 0;
  border-radius:3px;
  color: white;
  font-size: 14px;
  margin: 0;
  padding: 13px 13px 13px 12px;
  width: 100%;
  font-weight: bold;
}

.time_date {
  color: #747474;
  display: block;
  font-size: 12px;
  margin: 8px 0 0;
}

.received_withd_msg {
  width: 95%;
}
.text-center{
  text-align: center;
  background-color: #fd7300;
  color:white;
  padding: 5px 0px 5px 0px;
  cursor: pointer;
}
.mesgs {
  float: left;
  padding-top: 30px;
  width: 100%;
  background-size: 180px;
}

.sent_msg>p {
  background: #fd7300 none repeat scroll 0 0;
  border-radius: 3px;
  font-size: 14px;
  margin: 0;
  color: #fff;
  padding: 13px 10px 13px 12px;
  width: 100%;
}

.options_P{
  background: #fd7300 none repeat scroll 0 0;
  font-size: 14px;
  margin: 0;
  color: #fff;
  width: 100%;
}

.outgoing_msg {
  display: inline-block;
  padding: 0 0 0 10px;
  vertical-align: top;
  width: 90%;
}




.input_msg_write{
  background-color: white;
}
.input_msg_write>input[type="text"] {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
  color: #4c4c4c;
  font-size: 15px;
  min-height: 48px;
  width: 100%;
}

.type_msg {
  border-top: 1px solid #c4c4c4;
  position: relative;
}

.msg_send_btn {
  background: #05728f none repeat scroll 0 0;
  border: medium none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  height: 33px;
  position: absolute;
  right: 0;
  top: 11px;
  width: 33px;
}

.messaging {
  padding: 0 0 0px 0;

}

.msg_history {
  height: 400px;
  overflow-y:auto;

}


.nextButton{
  float: right;
}
.dateInput{
  margin-bottom:10px;
  width:180px;
  padding-bottom:5px
}
.textareaInput{
  width: 60%;
  height: 80px;
}

.sendForm{
  display: inline-block;
  margin-top:10px;
  position: absolute;
  right: 0;
  top: -5px;

}
.sendForm>input[type=button]{
  background-color: #fd7300;
  color: #f8f8f8;
  border-radius: 2px;
  width: 100px;
  height: 40px;
  border:none;
  cursor: pointer;
}


.checkMultipleSelection{
  font-size: 12px;
  display: block;
  margin-bottom: -10px;
  text-decoration: underline;
}
.warningMessages{
  width:100%;
  height: 30px;
  background-color: #fc6d7a;
  padding: 5px 10px 10px 10px;
  position: relative;
}
.messageOnTheScreen{
  color:white;
}
.closeMessage{
  position: absolute;
  right: 0px;
  top:0px;
  color:black;
  background-color: white;
  width: 20px;
  border-radius: 10px;
  padding: 4px;
}
@media only screen and (min-width: 200px) {
  .sent_msg {
    /* float: left; */
    min-width: 30%;
    margin-left: 20px;
  }

}
@media only screen and (min-width: 300px) {
  .sent_msg {
    /* float: left; */
    min-width: 30%;
    margin-left: 25px;
  }

}
@media only screen and (min-width: 350px) {
  .sent_msg {
    /* float: left; */
    min-width: 30%;
    margin-left: 25px;
  }

}
@media only screen and (min-width: 400px) {
  .sent_msg {
    /* float: left; */
    min-width: 30%;
    margin-left: 35px;

  }


}
@media only screen and (min-width: 500px) {
  .sent_msg {
    /* float: left; */
    min-width: 30%;
    margin-left: 10px;
    float: left;
  }

}
@media only screen and (min-width: 600px) {
  .sent_msg {
    /* float: left; */
    min-width: 30%;
    margin-left: 10px;
    float: left;

  }

}

@media only screen and (min-width: 650px) {
  .sent_msg {
    min-width: 10%;
    margin-left:10px;
    float: left;
  }
  .outgoing_msg_question {

    text-transform: uppercase;
  }
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .sent_msg {
    min-width: 10%;
    margin-left:10px;
    float: left;
  }
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 992px) {
  .sent_msg {
    min-width: 10%;
    margin-left:10px;
    float: left;

  }
  .outgoing_msg_question {

    text-transform: uppercase;
  }
}
@media only screen and (min-width: 1200px) {
  .sent_msg {
    min-width: 10%;
    margin-left:10px;
    float: left;
  }
  .outgoing_msg_question {

    text-transform: uppercase;
  }

}





/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .sent_msg {
    min-width: 10%;
    margin-left:10px;
    float: left;
      }
  .outgoing_msg_question {

    text-transform: uppercase;
  }
}