* {
	box-sizing: border-box;
}

.jmeToolbarBtn {
	background-color: #ffffff;
	color: #888;
	padding: 16px;
	font-size: 16px;
	border: none;
	cursor: pointer;
}

.jmePanel {
	display: flex;
	flex-wrap: wrap;
	max-width: 880px;
	height: auto;
	background: #dadada;
	font-family: Arial, Helvetica, sans-serif;
}
.jmeToolbar {
	padding: 3px;
	display: flex;
	flex-wrap: wrap;
	height: auto;
	flex-grow: 0.0;
	background: #fff;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 0px solid #ccc;
	width: 100%;
}

.jmeContent {
	height: 480px;
	overflow: auto;
	flex-grow: 1.0;
	border: 1px solid #dadada;
	background: #fafafa;
	tabindex: 0;
	focusable: true;
}
.jwordSvg
{
}
.jmeDropdownBtn {
	width: 32px;
	height: 26px;
	padding: 2px;
	border: 1px solid white;
	margin: 2px;
	color: #888;
}

.jwordToolbarBtn {
	width: auto;
	height: auto;
	padding: 5px;
	font-size: 10pt;
	color: #888;
	border: 1px solid white;
	margin: 2px;
	background: transparent;
}

.jmeColorButton {
	width: 18px;
	height: 18px;
	padding: 0px;
	background-color: #000;
	border: 1px solid #dadada;
	float: left;
}

.jmeColorText {
	float: left;
	width: 90px;
}

.jwordToolbarBtn:hover, .jwordToolbarBtn:focus {
	background-color: #ddd;
}

.jmeDropdownBtn:hover, .jmeDropdownBtn:focus {
	background-color: #ddd;
}

.jmeDropdown {
	position: relative;
	display: inline-block;
}

.jmeDropdown-content {
	display: none;
	position: absolute;
	padding: 3px;
	/*width: 150px;*/
	min-width: 150px;
	max-height: 600px;
	overflow: auto;
	box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.2);
	background: #ffffff;
	z-index: 1;
}

.jmeDropdown-content a {
	color: #888;
	width: 24px;
	height: 24px;
	padding: 2px 2px;
	margin: 2px 2px;
	text-decoration: none;
	display: inline-block;
	border: 1px solid white;
	background: url("icons.png") no-repeat;
}
.jmeDropdown-content a.jmeDisabled{
	color: #ccc;
}
.jmeDropdown-content a.iconf {
	width: 44px;
	height: 24px;
}

.jmeDropdown-content a.jmeListItem{
	width: 164px;
	height: auto;
	padding: 3px 3px;
	background: none;
}

.jmeBtnChecked {
	background: #bbb;
}

.jmeDropdown-content a.colorIcon {
	width: 16px;
	height: 16px;
	padding: 0px 0px;
	background: none;
}

.jmeDialogHeader {
	position: relative;
	left: 0;
	top: 0;
	padding: 5px;
	width: 100%;
	height: 30px;
	font-size: 12pt;
	background-color: #555;
	color: #fff;
}

.jmeDialogContent {
	padding: 20px;
}
/* The Modal (background) */
.jmeModal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0, 0, 0); /* Fallback color */
	background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.jmeModal-content {
	background-color: #fefefe;
	margin: auto; 
	/*padding: 5px;*/
	border: 1px solid #888;
	width: 400px;
}

.jmeButton {
	background-color: #ddd;
	border: none;
	padding: 6px;
	border-radius: 5px;
	min-width: 60px;
}

.jmeButton:hover {
	background-color: #ccc;
}

/* The Close Button */
.jmeClose {
	color: #aaaaaa;
	float: right;
	font-size: 20px;
	font-weight: bold;
}

.jmeClose:hover, .jmeClose:focus {
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}

.jmeDropdown a:hover {
	border: 1px solid #b0b0ff;
}

.jmeDropdown hr {
	border: 1px solid #ddd;
}

.jmeDropdown a.jmeListItem:hover {
	background: #f0f0ff;
}

.jmeShowMenu {
	display: block;
}

.jmeFormElement {
	width: 100%;
	padding: 5px;
}

.jmeFormGroup {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.jmeFormGroupHeader {
	width: 100%;
	display: inline-block;
	margin-top: 15px;
	margin-left: 3px;
	margin-bottom: 5px;
	padding-bottom: 2px; border-bottom : 1px solid #aaa;
	color: #000;
	border-bottom: 1px solid #aaa;
}

div.jmeFormElement input[type=text], div.jmeFormElement input[type=number], div.jmeFormElement select, div.jmeFormElement textarea {
	width: 100%;
	padding: 3px;
	border: 1px solid #ccc;
	border-radius: 2px;
	resize: vertical;
}

.jmeFormElement>label {
	display: inline-block;
	margin-bottom: 3px;
	color: #555;
}

.jmeFormElement>div {
	width: 100%;
	padding: 3px;
	resize: vertical;
}

@media screen and (max-width: 500px) {
	.jmeToolbar {
		height: 128px;
	}
}

@media screen and (max-width: 377px) {
	.jmeToolbar {
		height: 160px;
	}
}