html,body
{
  height: 100%;
  font-family: 'Kanit', sans-serif;
}
#main_body
{
  min-height: 100%;
  height: auto;
  padding-bottom: 90px;
  margin-bottom: -90px;
}


.top_title
{
  	padding-top: 20px;
  	font-weight: 300;
}

.title_nav_web
{
  
  	height: auto;
  	padding: 20px 0;
  
}

.title_nav_web h1,.title_nav_web h2{
	font-family: 'Roboto',sans-serif;	
	font-weight: 100;
}
.title_nav_web h1{
	font-size: 40px;	
}
@media only screen and (max-width: 992px) {
  .top_title
  {
    display: none;
  }
}

.p5{
  padding: 5px !important;
}
.dropdown-content li > a, .dropdown-content li > span
{
  color: #000;
}
.dropdown-content i.material-icons,i.material-icons.style1 {
  position: relative;
  top: 5px;
}

nav ul li a.icon{
  position: relative;
  top: 10px;
}

nav ul li a.icon i.material-icons
{
  height: 40px;
  line-height: 40px;
}

.card.card-style1 i.material-icons
{
  position: relative;
  top: 6px;
}

.card.card-style1,.card.no-overflow
{
  overflow: inherit;
}

.btn-group  {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.btn-group>.btn:first-child {
    margin-left: 0;
}
.btn-group>.btn {
    position: relative;
    float: left;
}

.codeBox{
  border: #37474f solid 1px;
}
.editorBox
{
  position: relative !important;
  width: 100%;
  height: 100%;
}
.btn-floating-group
{
  padding: 10px;
}

.btn-floating-group .btn-floating
{
  margin: 0 5px;
}

.bgdefinitions,.cdefinitions{
  background: rgba(33,150,243,0.2);
  color: #2196f3;
}
.bgcomment,.ccomment{
  background: rgba(253,216,53,0.2);
  color: #fdd835;
}
.bgquestion,.cquestion{
  background: rgba(244,67,54,0.2);
  color: #f44336;
}
.bgassociation,.cassociation{
  background: rgba(76,175,80,0.2);
  color: #4caf50
}

.fbgdefinitions{
  background: #2196f3;
}
.fbgcomment{
  background: #fdd835;
}
.fbgquestion{
  background: #f44336;
}
.fbgassociation{
  background: #4caf50
}

.bgdefinitions,.bgcomment,.bgquestion,.bgassociation{
  position:absolute;
  border-radius: 4px;
}
.card-definitions
{
  border-top: solid 4px #2196f3;
}
.card-comment
{
  border-top: solid 4px #fdd835;
}
.card-question
{
  border-top: solid 4px #f44336;
}
.card-association
{
  border-top: solid 4px #4caf50;
}

.circle
{
  border-radius: 50%;
}

.side-nav.history li
{
  cursor: pointer;
}

.pointer
{
  cursor: pointer;
}

.side-nav.history a
{
  height: inherit;
  line-height: initial;
  padding: 0;
}

#message_block .fullscreen
{
  position: absolute;
  right: 20px;
  top: 10px;
}
#message_block.fullscreen
{
    max-height: 100% !important;
    height: 100% !important;
}

#message_block .fullscreen i
{
  color: #000;
}
#message_block .fullscreen:hover i
{
  color: #fff;
}

#message_block .fullscreen:hover
{
  background: #37474f;
} 

#message button
{
  position: absolute;
  right: 10px;      
}
#message .input-field input
{
  margin: 0;
}
#message .input-field
{
  float: right;
    margin: 0;
    width: 100%;
    padding-right: 80px;
}
.text-float-bt
{
    position: absolute;
    top: 17px;
    right: 0;
    left: 0;
}
.messages
{
  background: #f3f3f3;
}

.messages .message {
    padding: 10px;
    margin: 4px 0;
    float: left;
    width: 100%;
}

.messages .in .sender {
    float: left;
}

.messages .out .sender {
    float: right;
}
.messages .message .sender {
    margin-right: 10px;
}

.messages .message .sender .avatar {
    border: 1px solid #c2c2c2;
    width: 42px;
    height: 42px;
}
.messages .in .body {
    float: left;
}
.messages .out .body {
    float: right;
    width: 80%;
}
.messages .in .name{
  left: 5px;
}
.messages .out .name{
  right: 5px;
}
.messages .message .body {
    position: relative;
    width: 80%;
}
.messages .out .body .seen,.messages .out .body .content {
    margin-right: 10px;
}
.messages .out .body .seen {
    float: right;
}
.messages .message .name{
  position: absolute;
  z-index: 1;
  top: -15px;
  font-size: 12px;
  font-weight: bold;
}
.messages .message .body .content {
    position: relative;
    padding: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.messages .in .body .content {
    background-color: #c2e8e2;
}
 .messages .out .body .content {
    background-color: #fafafa;
}
.messages .in .body .seen {
    float: left;
}
.messages .message .body .seen {
    margin-top: 2px;
    font-size: 11px;
    color: #bdbdbd;
}

.messages .message .body .content:after {
    content: "";
    position: absolute;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 14px solid black;
    transform-origin: 0 0;
    box-shadow: -3px 3px 3px 0rgba 0, 0, 0, 0.4;
}
.messages .in .body .content:after {
    left: 4px;
    top: -19px;
    border-color: transparent transparent #c2e8e2 transparent;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
}
.messages .out .body .content:after {
    top: 0px;
    right: -3px;
    border-color: transparent transparent #fafafa transparent;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.messages .avatar {
    width: 50px;
    height: 50px;
    background-color: #e6e5eb;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

#vote-block
{
  float: right;
}
#vote-block>div
{
  float: left;
}
.ace_error
{
  background: initial !important;  
}

.ace_tooltip
{
  display: none !important;
}

.avatar-report
{
  vertical-align: middle;
  max-height: 90px;
  border-radius: 50%;
}

.linkHeighlight
{
  cursor: pointer;
  display: block;
}