#chatwrapper {
  margin: 0;
  padding: 40px 60px;
}
#chat-section {
  width: 100%;
  align-items: center;
  margin: 0;
  padding: 60px;
  border: 0;
}
.chat-listing {
  font-size: 1.7rem;
  line-height: 1.4;
  color: #333;
  margin-top: 40px;
}
.speech_bubble {
  margin: 0 auto 30px;
}

/****** side bar ******/

#chat-wrap{}

#chat-tools{
  margin:20px 0;
}
.navbar-header{

}
.navbar-inverse{
	background:#0f126a;
	background: #E5DFC9 url('/theshed_v4/img/bgShed1.jpg') repeat fixed center top;
}
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus{	
	/*background:#373d8d;*/
	color:darkgoldenrod;
	font-weight: bold;
	background: none;
}
.sidebar-nav{
  padding:10px;
	box-shadow: 3px 3px 9px #888;
  margin: 20px 3px 30px;
}
.sidebar-nav .nav {
display: block;
flex-wrap: none;
padding-left: 0;
margin-bottom: 0;
list-style: none;
}
.sidebar-nav .nav>li {
  position: relative;
  display: block;
}

.sidebar-nav.home{
  background-image: url(https://img.chelseafc.com/image/upload/c_fill,f_auto,fl_lossy,g_auto,q_auto,,h_450/v1/theshed/misc/bg_shirt.jpg);
  color:#fff;
}
.sidebar-nav.away{
  background-image: url(https://img.chelseafc.com/image/upload/c_fill,f_auto,fl_lossy,g_auto,q_auto,,h_450/v1/theshed/misc/bg_shirt_away_small.jpg);
  color:#fff;
}



/**************************  new post box **********************/

.modal-body form{
  width:100%;
  display: block;  
  text-align: center;
}
table.table_post{
  max-width:400px;
  border: 0;
}
table.table_post td{
  border: 0;
}
#postOuter{
  width:95%;  
  margin:20px auto;  
  padding: 10px 20px;
  color:#000;
  font-size:1.3rem;
  font-weight:bold;
  background:#e8e8e8;
  text-align:center;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  box-shadow: 10px 10px 5px #888888;
  border: 1px solid #666;
  display: inline-grid;
  grid-template-columns: 150px auto;
  grid-gap: 20px 10px;
}
#postOuter #postInnerLeft {
  position: relative;
  grid-column: 1 / span 1;
	grid-row: 1 / span 1;
	text-align: center;
  vertical-align:top;
}
#postOuter #postInnerRight {
  position: relative;
  grid-column: 2 / span 1;
	grid-row: 1 / span 1;
	text-align: center;
  vertical-align:top;
}
#postOuter .loggedin, #postOuter .rules, #postOuter .uploadImage {
  clear: both;
  width:100%;
  height:auto;
  text-align:center;
  margin:0px 5px 10px;
}
#postOuter .rules {
  height:auto;
  margin-top:5px;
}
#postOuter .uploadImage {
  height:150px;
}
#postOuter #drop-files {
  background-color:#ddd;
}
  
#postOuter .loggedin img {
  width: 110px;
    border: 0px;
    border-radius: 10px;
}
#postOuter  input[type=text], #postOuter  select, #postOuter  textarea {
  width:90%;  
  height: 50px;
  padding: 8px 12px;
  margin:8px 0px;
  color:#000;
  font-size:1.3rem;
  font-style:normal;
  box-sizing: border-box;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border:1px solid #888;
  /* background-color: #f8f8f8; */
}
#postOuter  input[type=text]{
  height: 40px;
}
#postOuter  textarea {
  height: 12rem;
}

#postOuter  input[type=radio] {
border:0px;
}
#postOuter  input:focus, #postOuter  select:focus, #postOuter  textarea:focus{ 
  background-color:#D3DFFF;
}
#postOuter .initialText { 
  color:#aaa!important;  
  font-style:italic!important;
}
#postOuter  .postButtons {
  margin:0px auto;
}
#postOuter  .postButtons  .hashtags, #postOuter  .postButtons  .postit{
  display:inline-block;
  width:100%;
  margin:10px auto;
  text-align:left;
  vertical-align:top;
}

#postOuter  .postButtons  .postit{
  width:80%;
  text-align:center;
}
#postOuter  .postButtons  .hashtags li{
  list-style: none;
  line-height: 2.2rem;
  float:left;
  margin: 2px 9px; 
  display: inline-block;
}
#postOuter  .postButtons  .hashtags input[type=radio]{
  margin:3px 0px;
  vertical-align: middle;
}
#postOuter .buttonPost, #postOuter .buttonReply { 
  width: 350px;
  padding: 8px; 
  font-size:16px; 
  font-weight:bold;
  margin-bottom:15px;
  box-shadow: 5px 5px 3px #888;
  cursor:pointer;
}
#loggedin{
  text-align: center;
}
#postMessage button{
  width:90%;
  height:45px;
  text-align: center;
  display: block;
}
#charNum{
left: 0;
position: relative;
text-align: left;
/* margin: 0; */
margin-left: 40px;
margin-top: -10px;
font-size: 1rem;
font-style: italic;
}
.special { 
  background:gold;
  color:#000;
  padding: 4px; 
  font-size:11px; 
  font-weight:bold;
  margin:10px;
  box-shadow: 3px 3px 2px #888;
  border: 1px solid #444;
}

#ieUploadButton{ 
  width:80px;
  height:40px;
  white-space: normal;
  font-weight:bold;
  font-size:10px
}
.ieUploadBox{
  display:none;
  background:#bbb;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  border: 2px dashed #000;
  font-size:13px;
}
.ieUploadBox h2{
  margin:0px auto;
}
.ieUploadBox small{
  font-size:9px;
}
#ieUploadResponse{
  display:none;
}


@media (max-width: 1200px) {
#chat-tools .mg-posts-sec-inner .img-small-post{
  float: none;
  margin: 0 auto 12px;
  width: 100%;
}
.mg-blog-category a {
  line-height: 22px;
 }
}

/****** mobile ********/
@media (max-width: 800px) {
  #chat-section {
    padding: 10px;
  }
  .msgAvatar, .msgText, .msgIcons{
    grid-row: 1 / span 1;
  }
  .msgInfo{ text-align: left; }

  #postOuter{
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 20px 10px;
  }
  #postOuter #postInnerLeft {
    grid-column: 1 / span 1;
    grid-row: 2 / span 1;
    display: none;
  }
  #postOuter #postInnerRight {
    position: relative;
    grid-column: 1 / span 1;
    grid-row: 1 / span 1;
    text-align: center;
    vertical-align:top;
  }
  #postOuter .postButtons .hashtags li:first-child{
    display:none;
  }
  #postOuter .loggedin, #postOuter .rules, #postOuter .uploadImage, #postOuter .postButtons .hashtags, #postOuter .postButtons .postit, #postOuter .buttonPost, #postOuter .buttonReply {    
    width:100%;
    font-size:1.2rem;
  }
  #postOuter .postButtons .hashtags li{ margin:2px; font-size:1.1rem; }
  
  #modal_post .modal-content {
    top: 45%;
  }
  #postOuter textarea {
    height: 9rem;
  } 
  #postInnerRight .postMessage{
    margin:0;
  }
  #postOuter input[type=text],
  #postOuter select,
  #postOuter textarea {
    margin: 5px;
  }
  #postOuter input[type=text] {
    height: 35px;
  }
}

#deletepost { display: none;}