/*!
 * jQuery highlightTextarea
 * Copyright 2014-2015 Damien "Mistic" Sorel (http://www.strangeplanet.fr)
 * Licensed under MIT (http://opensource.org/licenses/MIT)
 */

.highlightTextarea {
  position:relative;
  display: inline-block; /*add*/
  width: 100%;			 /*add*/
}
.highlightTextarea .highlightTextarea-container {
  position:absolute;
  margin:0;
  overflow:hidden;
  background: transparent;
}

.highlightTextarea .highlightTextarea-highlighter {
	position:relative;
	border:none;
	padding:0;
	margin:0;
	color:transparent;
	/*color:green;*/
	cursor:text;
	overflow:hidden;
	white-space:pre-wrap;
	word-wrap:break-word;
	/*line-height: 110%; add*/
}


  .highlightTextarea.debug .highlightTextarea-highlighter {
    color:#f00;
    border:1px solid #f00;
    margin:-1px;
  }
/*
body {
    line-height: 0px;
}
*/
.highlightTextarea mark {
  line-height:inherit;
  /*line-height: 0px;*/
  color:transparent;
  margin:0;
  /*margin: -2px 0px 0px 0px;*/
  padding:0;
  /*padding: -2px 0px 0px 0px;*/
  /*
  height: 8px;
  display: inline-block;
  */
}
.highlightTextarea textarea,
.highlightTextarea input {
  position:absolute;
  left:0;
  top:0;
  resize:none;
  white-space:pre-wrap;
  word-wrap:break-word;
}
.highlightTextarea .ui-wrapper {
  margin:0 !important;
  padding-bottom: 0px !important;
}
.highlightTextarea .ui-resizable-se {
  bottom:0px;
  right:0px;
}
