body {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #eee;
  background-image: url("/static/css/ba.gif");
}
.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
#inputRegPassword {
  margin-bottom: -1px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.log {
  background-color: rgba(255, 255, 255, 0.6);
  width: 70%;
  margin: 0 auto;
}
.log a {
  text-decoration: none;
}
.log-header {
  margin-top: 10px;
  text-align: center;
}
.be3-avtr {
  float: left!important;
  width: 120px;
}
.be3-avtr img {
  margin-top: 3px;
  width: 50px;
}
.be3-status {
  margin-left: 130px;
}
.be3-status-text {
  padding-left:10px;
  padding-right:20px;
  margin-left: 10px;
  margin-top: 5px;
}
.be3-status-header {
  margin-left: 10px;
}
.status-page {
  width: 50%;
  margin: 0 auto;
  background-color: #fff;
  padding: 10px;
}
.us {
  padding-left: 8px;
  background:#f8f8f8;
  margin-bottom: 5px;
  border-radius: 2px;
  text-align: left;
}
.bottom-nav {
  padding-top: 10px;
}
.bottom-nav a {
  text-decoration: none;
}
.c-pass {
  margin-right: 5px;
}
.be3-clear {
  width: 100%;
  height: 1px;
}
.be3full {
  width: 100%;
}
.scont {
  background-color:#f8f8f8;
  padding-top:5px;
  padding-left:5px;
  padding-right:5px;
  padding-bottom:5px;
  height:83px;
  word-wrap:break-word;
}

/* NEW */

.be-status {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
}
.be-avatar {
  float: left;
  display: table;
  width: 90px;
  height: 90px;
  border: 1px solid #e7e7e7;
  border-radius: 4px;
}
.be-avatar-img {
  padding: 5px;
  display: table-cell;
  vertical-align: middle;
  position: relative;
}
.be-stat-mleft {
  margin-left: 100px;
}
.be-name {
  font-size: 20px;
  font-weight: bold;
  padding-left: 5px;
  padding-right: 5px;
}
.be-name span, textarea {
  display: inline-block;
}
.be-id {
  font-size: 14px;
  color: #66757f;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
}
.be-pt-ff-data {
  /*border-bottom: 1px solid #e7e7e7;*/
}
.be-pt-ff-cont {
  display: inline-block;
  text-align: center;
  margin-right: 5px;
}
.be-pf {
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
}
.be-in-head {
  color: #8899a6;
}
.be-in-cont {
  font-size: 14px;
  font-weight: bold;
}
.icon-shop {
  padding: 15px;
  margin-top: -25px;
}
.be-ul {
	max-height: 300px;
	overflow: auto;
	margin-top: 0;
	margin-bottom: 0;
}
.be-each-shop {
	height: 50px;
}
#sMelonPts {
  font-weight: bold;
}
#iSect {
 font-weight: bold; 
}
#sMelonPts-f {
  font-weight: bold;
}
#iSect-f {
 font-weight: bold; 
}
#enText {
  width: 90%;
  display: inline-block;
  resize: none;
  padding: 0px;
  height: 30px;
  font-size: 20px;
}
#esText {
  resize: none;
}
#eStat {
  margin-left: 20px;
  padding-right: 20px;
  word-wrap: break-word;
  width: 100%;
}
.eStatCont {
  padding-top: 10px;
  border-top: 1px solid #e7e7e7;
}
#status_control {
  text-align: right;
}
#bimg {
  width:100%;
}
.be-each {
  display: inline-block;
  border: 1px solid black;
  margin: 3px;
}
.be-each-f {
  display: inline-block;
  border: 1px solid black;
  margin: 3px;
}
.be-each-img {
  /*margin-right: 5px;*/
  height: 40px;
}
.be-each-img-f {
  /*margin-right: 5px;*/
  height: 40px;
}
.be-each-item {
  text-align: center;
  padding: 2px;
}
#ePagi {
  text-align: center;
  word-wrap: break-word;
  margin-bottom: 10px;
}
.avatar-option {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 15px;
}
#ep {
  color: #66757f;
  font-weight: bold;
}
#be-avatar-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  color: white;
  padding-top: 40%;
}
.be-modal {
  max-height: 300px;
  overflow-y: auto;
  margin-top: 20px;
}
.send-form {
  display: none;
  border: 1px solid transparent;
  background-color: #f8f8f8;
  border-color: #e7e7e7;
  text-align: center;
  margin-left: 30%;
  margin-right: 30%;
  margin-top: 5px;
  border-radius: 4px;
  padding: 10px;
}

.send-form input {

}

/* icon shop adjustment */

#be-nIcons span {
  margin-top: 20px;
}
#be-pIcons span {
  margin-top: 20px;
}
#be-pIcons-f span {
  margin-top: 20px;
}
#be-iconShop {
  float: right;
  font-weight: bold;
  background: #FFFFFF;
  border: 1px solid #337ab7;
  border-radius: 4px;
  padding-left: 3px;
  padding-bottom: 3px;
  padding-top: 4px;
  padding-right: 4px;
  text-decoration: none;
}
#be-iconShop-f {
  float: right;
  font-weight: bold;
  background: #FFFFFF;
  border: 1px solid #337ab7;
  border-radius: 4px;
  padding-left: 3px;
  padding-bottom: 3px;
  padding-top: 4px;
  padding-right: 4px;
  text-decoration: none;
}
/* end icon shop adjustment */

/* END NEW */

/* MEDIA QUERY START */
@media only screen and (max-width : 1199px) {
  .status-page {
    width: 60%;
    margin: 0 auto;
    background-color: #fff;
    padding: 10px;
  }
}

@media only screen and (max-width : 991px) {
  .status-page {
    width: 80%;
    margin: 0 auto;
    background-color: #fff;
    padding: 10px;
  }
}

@media only screen and (max-width : 768px) {
  .status-page {
    width: 80%;
    margin: 0 auto;
    background-color: #fff;
    padding: 10px;
  }
}

@media only screen and (max-width : 670px) {
  .status-page {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    padding: 10px;
  }
}

@media only screen and (max-width : 545px) {
  .status-page {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    padding: 10px;
  }
  .be-avatar {
    margin: auto;
    float: none;
    display: table;
    width: 110px;
    height: 110px;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
  }
  .be-stat-mleft {
    margin-left: 0px;
  }
  .be-pt-ff-data {
    text-align: center;
    border-top: 1px solid #e7e7e7;
    padding-top: 5px;
  }
  .be-pt-ff-cont {
    width: 105px;
    /*background-color: red;*/
    display: inline-block;
    text-align: center;
    margin-right: 5px;
  }
  .be-name {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 10px;
  }
  .be-id {
    text-align: center;
    font-size: 14px;
    color: #66757f;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    margin-top: 5px;
    margin-bottom: 10px;
  }
}

@media only screen and (max-width : 480px) {
  .be3-status-text {
    padding-left:10px;
    padding-right:20px;
    margin-left: 10px;
    margin-top: 5px;
  }
  .status-page {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    padding: 10px;
  }
  .be3-avtr {
    float: none!important;
    width: 220px;
    margin: 0 auto;
  }
  .be3-status {
    margin-left: 0px;
  }
  .be3-hcontainer {
    margin-top: 20px;
  }
  .log {
    background-color: rgba(255, 255, 255, 0.6);
    width: 100%;
    margin: 0 auto;
  }
  #ncont {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    word-wrap: break-word;
  }
  #eStat {
    word-wrap: break-word;
    margin-left: 0px;
    padding-right: 0px;
    width: 100%;
  }
  .send-form {
    display: none;
    border: 1px solid transparent;
    background-color: #f8f8f8;
    border-color: #e7e7e7;
    text-align: center;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 5px;
    border-radius: 4px;
    padding: 10px;
  }
  /* NEW */
  
}

/*New Design*/
/* CSS talk bubble */
.talk-bubble-him {
  margin-left: 9%;
  float: left;
  margin-top: 2%;
  position: relative;
  width: 70%;
  height: auto;
  border-radius: 4px;
}
.talk-bubble-you {
  margin-right: 13%;
  float: right;
  margin-top: 2%;
  position: relative;
  width: 70%;
  height: auto;
  border-radius: 4px;
}
.border{
  border: 8px solid #666;
}
.round{
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;

}

/* Right triangle placed top left flush. */
.tri-right.border.left-top:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: -40px;
  right: auto;
  top: -8px;
  bottom: auto;
  border: 32px solid;
  border-color: #666 transparent transparent transparent;
}
.tri-right.left-top:after{
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: -20px;
  right: auto;
  top: 0px;
  bottom: auto;
  border: 22px solid;
  border-color: #e6e6e6 transparent transparent transparent;
}

/* Right triangle, left side slightly down */
.tri-right.border.left-in:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: -40px;
  right: auto;
  top: 30px;
  bottom: auto;
  border: 20px solid;
  border-color: #666 #666 transparent transparent;
}
.tri-right.left-in:after{
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: -20px;
  right: auto;
  top: 38px;
  bottom: auto;
  border: 12px solid;
  border-color: #e6e6e6 #e6e6e6 transparent transparent;
}

/*Right triangle, placed bottom left side slightly in*/
.tri-right.border.btm-left:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: -8px;
  right: auto;
  top: auto;
  bottom: -40px;
  border: 32px solid;
  border-color: transparent transparent transparent #666;
}
.tri-right.btm-left:after{
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 0px;
  right: auto;
  top: auto;
  bottom: -20px;
  border: 22px solid;
  border-color: transparent transparent transparent lightyellow;
}

/*Right triangle, placed bottom left side slightly in*/
.tri-right.border.btm-left-in:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 30px;
  right: auto;
  top: auto;
  bottom: -40px;
  border: 20px solid;
  border-color: #666 transparent transparent #666;
}
.tri-right.btm-left-in:after{
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 38px;
  right: auto;
  top: auto;
  bottom: -20px;
  border: 12px solid;
  border-color: lightyellow transparent transparent lightyellow;
}

/*Right triangle, placed bottom right side slightly in*/
.tri-right.border.btm-right-in:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: 30px;
  bottom: -40px;
  border: 20px solid;
  border-color: #666 #666 transparent transparent;
}
.tri-right.btm-right-in:after{
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: 38px;
  bottom: -20px;
  border: 12px solid;
  border-color: lightyellow lightyellow transparent transparent;
}
/*
  left: -8px;
  right: auto;
  top: auto;
  bottom: -40px;
  border: 32px solid;
  border-color: transparent transparent transparent #666;
  left: 0px;
  right: auto;
  top: auto;
  bottom: -20px;
  border: 22px solid;
  border-color: transparent transparent transparent lightyellow;

/*Right triangle, placed bottom right side slightly in*/
.tri-right.border.btm-right:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -8px;
  bottom: -40px;
  border: 20px solid;
  border-color: #666 #666 transparent transparent;
}
.tri-right.btm-right:after{
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: 0px;
  bottom: -20px;
  border: 12px solid;
  border-color: lightyellow lightyellow transparent transparent;
}

/* Right triangle, right side slightly down*/
.tri-right.border.right-in:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -40px;
  top: 30px;
  bottom: auto;
  border: 20px solid;
  border-color: #666 transparent transparent #666;
}
.tri-right.right-in:after{
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -20px;
  top: 38px;
  bottom: auto;
  border: 12px solid;
  border-color: #b3ecff transparent transparent #b3ecff;
}

/* Right triangle placed top right flush. */
.tri-right.border.right-top:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -40px;
  top: -8px;
  bottom: auto;
  border: 32px solid;
  border-color: #666 transparent transparent transparent;
}
.tri-right.right-top:after{
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -20px;
  top: 0px;
  bottom: auto;
  border: 20px solid;
  border-color: lightyellow transparent transparent transparent;
}

/* talk bubble contents */
.talktext{
  padding: 1em;
  text-align: left;
  line-height: 1.5em;
}
.talktext p{
  /* remove webkit p margins */
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
}


.message-him{
  background-color:#e6e6e6;
}

.message-you{
  background-color:#b3ecff;
}

#chat-conv .user-time{
  float: right;
  font-size: 10px;
}


div#chat-box .form-control{
  border-radius: 0px !important;
}

div#chat-box #msg{
  width: 80% !important;
  border-color: #337ab7;
  height: 53px;
  margin-left: 2px;
}

div#chat-box  #send-msg {
  width: 19.2%;
  margin-top: -46px;
  margin-left: -3px;
  height: 54px;
}


.btn-back {
    display: inline-block;
    position: absolute;
    z-index: 1;
    padding: 0 10px 0 30px;
    line-height: 44px;
    text-shadow: 0 -1px #4d4d4d;
    color: #FFFFFF;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 12px;
}
.btn-back:before {
    content: '';
    
    position: absolute;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    left: 20px;
    right: 0;
    height: 34px;
    margin-top: 5px;
    z-index: -1;
    
    border: 1px solid #808080;
    border-bottom-color: #808080;
    border-top-color: #4d4d4d;
    border-left-width: 0;
    border-radius: 5px;
    
    background: #808080;
    background-image: -webkit-linear-gradient(top, #b3b3b3, #4d4d4d);
    background-image: -moz-linear-gradient(top, #b3b3b3, #4d4d4d);
    background-image: -ms-linear-gradient(top, #b3b3b3, #4d4d4d);
    background-image: -o-linear-gradient(top, #b3b3b3, #4d4d4d);
    background-image: linear-gradient(top, #b3b3b3, #4d4d4d);
    
}

.btn-back:after {
    content: '';
    
    position: absolute;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    left: 11px;
    height: 27px;
    width: 26px;
    top: 8px;
    z-index: -2;
    
    border: 1px solid #FFF;
    border-top: 0 transparent;
    border-right: 0 transparent;
    border-bottom-color: #808080;
    border-left-color: #4d4d4d;
    border-radius: 7px 5px 5px 7px;
    
    background: #808080;
    background-image: -webkit-linear-gradient(135deg, #b3b3b3, #4d4d4d);
    background-image: -moz-linear-gradient(135deg, #b3b3b3, #4d4d4d);
    background-image: -ms-linear-gradient(135deg, #b3b3b3, #4d4d4d);
    background-image: -o-linear-gradient(135deg, #b3b3b3, #4d4d4d);
    background-image: linear-gradient(135deg, #b3b3b3, #4d4d4d);
    
    -webkit-transform: rotate(45deg);
       -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
         -o-transform: rotate(45deg);
            transform: rotate(45deg);
}


.btn-back:hover:before {
    background-image: -webkit-linear-gradient(top, #b3b3b3 -25%, #4d4d4d 75%);
    background-image: -moz-linear-gradient(top, #b3b3b3 -25%, #4d4d4d 75%);
    background-image: -ms-linear-gradient(top, #b3b3b3 -25%, #4d4d4d 75%);
    background-image: -o-linear-gradient(top, #b3b3b3 -25%, #4d4d4d 75%);
    background-image: linear-gradient(top, #b3b3b3 -25%, #4d4d4d 75%);
}
.btn-back:hover:after {
    background-image: -webkit-linear-gradient(135deg,#b3b3b3 -25%, #4D4D4D 75%);
    background-image: -moz-linear-gradient(135deg,#b3b3b3 -25%, #4D4D4D 75%);
    background-image: -ms-linear-gradient(135deg,#b3b3b3 -25%, #4D4D4D 75%);
    background-image: -o-linear-gradient(135deg,#b3b3b3 -25%, #4D4D4D 75%);
    background-image: linear-gradient(135deg,#b3b3b3 -25%, #4D4D4D 75%);
}


.btn-back:active:before,
.btn-back:active:after {
    background: #4D4D4D;
    box-shadow: inset 0px 1px 0px #4d4d4d;
}
.btn-back:active:after {
    box-shadow: inset 1px 1px 0px #4d4d4d;
}

#chat-user .user-information {
  padding: 6px;
  background-color: rgb(51, 122, 183);
  border-bottom: 1px solid rgba(11, 4, 4, 0.43);
  border-top: 1px solid;
  box-shadow: 1px 10px 5px #888888;
  color: #ffffff;
}

.modal-header h4{
  margin-top:1px;
  margin-bottom: 1px;
}

.chat-box-base{
  background:rgb(247, 247, 247);
}

#messenger-container.modal-body{
  padding:0px !important;
}
