/**
 * NOTICE OF LICENSE
 *
 * This file is licenced under the Software License Agreement.
 * With the purchase or the installation of the software in your application
 * you accept the licence agreement.
 *
 * You must not modify, adapt or create derivative works of this source code
 *
 * @author    Vladimir Turek
 * @copyright 2010-2018 PrestaAddons
 * @license   LICENSE_EN.txt
 */

div.m4pdf {
	color: #963;
	font-size: 12px !important;
	text-align: left;
	text-transform: none;
	width: 200px;
	clear: both;
	margin: 5px 0;
	padding: 3px 10px 3px 30px;
	border-top: 1px solid #939393;
	border-bottom: 1px solid #939393; }

tr > td > div.m4pdf {
	float: right !important; }

.m4pdf.loading {
	background: #eeeeee url('../img/ajax-loader.gif') no-repeat 9px 4px; }

.m4pdf.ok {
	background: #b7ffb7 url('../img/ok.gif') no-repeat 9px 4px; }

.m4pdf.info {
	background: #c3e787 url('../img/information.png') no-repeat 9px 4px; }

.m4pdf.error {
	background: #ffcbcb url('../img/warning.gif') no-repeat 9px 4px; }

#editor_message_box.m4pdf, #message_box.m4pdf {
	background-color: transparent !important; }

.m4pdflink15 {
	width: 26px;
	height: 26px;
	margin-right: 4px; }

.m4pdflink16 {
	background: url('../logo.png') center / 43px no-repeat scroll padding-box content-box transparent; }

.m4pdflink17 {
	background: url('../logo.png') center / 55px no-repeat scroll transparent; }

/* templates and editor */
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.templates {
	float: left; margin-right: 30px; width: 100%; /* m4pdf 55% */
}
.templates #templatesList {
	overflow-y: auto; overflow-x: hidden; min-height: 250px; height: 250px; margin: 0.6em 0; padding: 5px 0 0 0;
}
.templates #templatesList .title {
	font-size: 1.1em; color: #000; margin-bottom: 5px;
}
.templates #templatesList .notemplate {
	clear: both; margin: 15px 0 15px 0;
}
.templates #templatesList .item {
	min-height: 33px; padding-top: 3px; border: 1px solid transparent;
}
.templates #templatesList .item input[name=template] {
	cursor: pointer; width: 3%; vertical-align: top;
}
.templates #templatesList .item label {
	display: inline-block; width: 96%; text-align: left; margin-bottom: 2px; padding: 2px 0; cursor: pointer;
}
.templates #templatesList .item:hover {
	background-color: #F7F7F7; border: 1px solid #BFBFBF; cursor: pointer;
}
.templates #templatesList .item:hover label {
	color: #000;
}
.templates #templatesList .item span {
	visibility: hidden; margin-left: 35px;
}
.templates #templatesList .item:hover span {
	visibility: visible;
}
.templates #templatesList .item .more {
	padding: 2px 0; margin: 5px 0 0 35px; color: #7F7F7F; display: none;
}
.templates #templatesList a.demo,
.templates #templatesList a.demo:hover{
	color: #D7D7D7;
}
.new_name_div {
	display: none; padding: 10px 0 5px 0;
}
.new_name_div label {
	width: 165px !important; margin-top: 4px; display: inline-block; /* m4pdf no inline-block */
}
.new_name_div label:hover {
	color: #7F7F7F;
}
.new_name_div input[type=text] {
	width: 260px; margin: 2px 0; display: inline-block; /* m4pdf no inline-block */
}
.new_name_div input.templ_file_name,
.new_name_div input#editor_saveas_filename {
	width: 225px;
}
.new_name_div .control_widget {
	clear: both; margin: 8px 0; padding-left: 185px;
}
.new_name_div a.rename_cancel_action,
.new_name_div a.saveas_cancel_action {
	display: inline-block; margin: 5px 20px 0 0;
}
#editor_toolbar .new_name_div {
	clear: both; float: left; margin-left: 7px;
}
#editor_toolbar .new_name_div label {
	display: inline-block; width: 165px !important; text-align: left; margin: 4px 0 2px 0; cursor: pointer;
}
#message_box {
	clear: both; padding: 3px 10px 3px 35px; visibility: hidden; overflow: hidden; margin: 0; height: 24px;
}
#editor_message_box {
	padding: 3px 10px 3px 35px; visibility: hidden; overflow: hidden; margin: 3px 0 0 15px; height: 24px; width: 600px;
}
#editor_title {
	clear: both; overflow: hidden; margin-bottom: 7px;
}
#editor_title #editor_name {
	font-weight: bold;
}
#editor_title #editor_edited {
	visibility: hidden;
}
#editor_title #editor_filename {
	padding: 0 0 0 10px;
}
#editor_toolbar {
	width: 100%; padding: 7px 0; border: 1px solid #DFD5C3; border-bottom: none; background-color: #F9F9F9; float: left; clear: both;
}
#editor_toolbar > input {
	margin-left: 7px;
}
#editor_toolbar > a {
	margin: 7px 7px 0 0;
}
#editor_area {
	position: relative; width: 100%; height: 600px; border: 1px solid #DFD5C3;
}
.ace_editor p,
.ace_editor div,
.ace_editor span {
	font-family: "Monaco","Menlo","Ubuntu Mono","Consolas","source-code-pro",monospace !important;
}
