/*top*/
.htmlinline{
	display: inline-block;
	border: 1px solid #ddd;
	border-radius: 5px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
	height: 34px;
	width: 100%;
	user-select: none;
}
.htmlrala{
	animation: tileToolbarFadeIn 125ms cubic-bezier(0.4, 0, 1, 1);
    -webkit-animation: tileToolbarFadeIn 125ms cubic-bezier(0.4, 0, 1, 1);
    height: 34px;
    left: -5px;
	position: relative;
    display: block;
}
.htmlabso{
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    left: 45px;
    position: absolute;
    top: -22px;
    background: #fafafa;
	z-index: 30;
}
.htmlcol{
    width: 6.2%;
	height: 35px;
    margin-top: 0px;
    margin-right: 2px;
    display: inline-block;
}
/*bottom*/
.pbtlr{
	padding-bottom: 1rem;
    padding-top: 1em;
	padding-left: 35px;
    padding-right: 35px;
}
.bs{
	background-size: cover;
    display: table;
    position: relative;
    table-layout: fixed;
    width: 100%;
}
.htmlcontent{
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
	background-color: #eee;
	border: 1px solid #ddd;
    margin-top: -34px;
}
.htmlcontent:hover{
	-webkit-box-shadow: 0px 3px 8px -2px #333;
	-moz-box-shadow: 0px 3px 8px -2px #333;
	box-shadow: 0px 3px 8px -2px #333;
	transition: all 0.2s ease-in-out;
}
.editcontent{
	display: table-cell;
    vertical-align: middle;
    width: 100%;
}
.bsfont{
	-webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    vertical-align: top;
    width: 100%;
}
.plrfont{
	padding-left: 0.5%;
    padding-right: 0.5%;
	-webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    width: 100%;
}
.flexfont{
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    position: relative;
    width: 100%;
}
.verticalfont{
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    vertical-align: top;
	max-height: 300px;
	overflow-y: auto;
}
.widthfont{
	width: 100%;
    margin-top: 0;
    margin-bottom: 0;
	background-color: #fff;
	padding: 2px;
    min-height: 200px;
}
.editfont{
    color: rgb(33,33,33);
    font-size: 1rem;
    line-height: 1.55;
	min-height: 1.5em;
	font-variant-ligatures: none;
	margin: 5px 0px;
    outline: none;
    position: relative;
	/*background-color: #fff;*/
	padding: 0px 2px;
	overflow: auto;
}
/*left right*/
.dragrect{
    -webkit-align-items: center;
    align-items: center;
    cursor: move;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    height: 100%;
    left: 0;
    opacity: 1;
    position: absolute;
    top: 0;
    width: 24px;
	background-color: #eee;
}
.dragcontent{
	width: 15px;
	height: 15px;
    padding-left: 7px;
    opacity: 0.6;
    overflow: hidden;
}
.dragdot{
    background: white;
    float: left;
    height: 2px;
    margin: 1px;
    width: 2px;
}
.dragdot:after{
	background: black;
	content: "";
	float: left;
	height: 2px;
	margin: -1px;
	width: 2px;
}
.controlrect{
	-webkit-align-items: center;
    align-items: center;
    cursor: pointer;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    height: 100%;
    right: 0;
    opacity: 1;
    position: absolute;
    top: 0;
    width: 37px;
	background-color: #eee;
}
.controlcontent{
	width: 37px;
	height: 58px;
    opacity: 0.6;
    overflow: hidden;
}
.controlcontent .ct-fa.ct-fa-htmlicons svg:hover{
	fill: #222;
}
/*edit btn*/
.edit_icon{
	border-radius: 100%;
    width: 33px;
    height: 33px;
	margin-left: 10%;
}
.edit_icon:hover{
	background-color: #ddd;
	cursor: pointer;
}
.edit_icon:hover .ct-fa.ct-fa-htmlicons svg{
	fill: #333;
}
.edit_icon .ct-fa.ct-fa-htmlicons svg{
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-left: 7.5px;
	margin-top: 7px;
	fill: #555;
}
.ct-fa.ct-fa-htmlicons svg{
	display: inline-block;
	width: 18px;
	height: 18px;
    margin-left: 0px;
    margin-right: 7px;
    margin-top: 7px;
	fill: #555;
}
/*text size*/
.text_h2{
	font-size: 1.5rem;
	font-weight: 600;
}
.text_h3{
	font-size: 1.375rem;
}
.text_h4{
	font-size: 1.25rem;
}
.text_p{
	font-size: 1rem;
}
/*colorpicker*/
.vc-sketch-field .vc-input__input{
	width: 98%;
}
/*table*/
table.htmledit_table{
    table-layout: fixed;
	border-spacing: 0px;
    width: 100%;
	max-width: 100%;
    color: #333;
    font-size: 1rem;
    background-color: transparent;
}
td.htmledit_td{
    padding: 7px;
    line-height: 1;
    vertical-align: top;
    border: 1px solid #c7c3c3;
}
/*HTML編輯器 檢視頁*/
/*overflow*/
.htmldisplay{
	max-width: 100%;
    overflow-x: hidden;
}
/*img*/
.htmlimg{
	width: auto;
	height: auto;
	max-width: 100%;
}
.verticalfont.widthfont img,
.htmldisplay img{
	width: auto;
	height: auto;
	max-width: 100%;
}
.verticalfont.widthfont table,
.htmldisplay table{
	width: auto;
	height: auto;
	max-width: 100%;
    overflow-x: hidden;
}


.htmldisplay .big {
    font-size: larger;
}

.htmldisplay .small {
    font-size: smaller;
}

.htmldisplay .tt {
    font-family: monospace;
}

.htmldisplay .code {
    font-family: monospace;
}

.htmldisplay .kbd {
    font-family: monospace;
}

.htmldisplay .samp {
    font-family: monospace;
}

.htmldisplay .marker
{
	background-color: Yellow;
}


.htmldisplay #ltr
{
	direction: ltr;
}

.htmldisplay #rtl
{
	direction: rtl;
}