
@font-face {
	font-family: FontAwesome;
	src: url('fonts/FontAwesome.otf');
}
@font-face {
	font-family: Roboto-Regular;
	src: url('fonts/Roboto-Regular.ttf');
}

html {
	font-size: 100%;
}
body {
	font-family: Roboto-Regular, Veradana, Helvetica;
	line-height: 1.6;
	max-width: 1200px;
	margin: 0 auto;
}
section {
	margin: 40px 10px;
} 
h2, h4 {
	margin: 20px 0px;
}
a {
	color: #888;
	text-decoration: none;
	cursor: pointer;
}
a:hover, a:focus, a:active {
	text-decoration: underline;
}

a.btn {
	color: #FFFFFF;
	background-color: #009879;
	border-radius: 10px;
	text-align: center;
	padding: 10px;
}

.header {
	margin-top: 25px;
}
.header .menu {
	margin-bottom: 20px;
}
.menu {
	text-align: right;
}
.menu a {
	display: inline-block;
	margin-left: 20px;
	cursor: pointer;	
}

#popup {
	position: fixed;
	left: 40%;
	top: 0;
	display: none;
	background-color: #c7ecc1;
	width: 320px;
	padding: 10px;
	text-align: left;
	z-index: 2;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

.error:before {
    font-family: 'FontAwesome';
	font-size: 1.5rem;
	line-height: normal;
    display: inline-block;
    content: '\f071';
	color: #ec2222;
	margin-right: 10px;
}
.success:before {
    font-family: 'FontAwesome';
	font-size: 1.5rem;
	line-height: normal;
    display: inline-block;
    content: '\f058';
	color: #009879;
	margin-right: 10px;
}
.tab {
	position: relative;
}
.tab-resizer {
	position: absolute;
	right: 0;
	top: 0;
}
.tab-header,
.tab-resizer {
	display: flex;
}
.tab-header > div,
.tab-resizer > div {
	width: 80px;
	padding: 2px 8px;
	font-size: 0.875rem;
	color: #888;
	background-color: #fafafa;
	cursor: pointer;
	border: 1px solid #ddd;
}
.tab-header > div.open,
.tab-resizer > div.open {
	font-weight: bold;
}
.tab-content {
	height: 400px;
	width: 100%;
	border-top: 1px solid #ddd;
}
.tab-content > div {
	height: 100%;
	width: 100%;
	border: none;	
	text-align: center;
}
.tab-content textarea,
.tab-content iframe {
	height: 100%;
	width: 100%;
	border: none;
	margin: 0 auto;
	border-bottom: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
}
.tab-content textarea {
	padding: 10px;
}
.tab-content > div {
	display: none;
}
.tab-content > div.open {
	display: block;
}


textarea#output { 
	width: 100%; 
	height: 300px; 
	box-sizing: border-box;	
}	

.font-select > a > span {
	color: #888;
}
#fonts .font {
	color: #888;
	margin-left: 15px;
	position: relative;
}

.media {
    border-bottom: 1px solid #ddd;
	margin: 0px auto 40px;
	background-color: #f1f1f1;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.media .title {
    padding: 12px 15px;
    background-color: #009879;
    color: #ffffff;
    text-align: left;
	position: relative;
    border-bottom: 1px solid #ddd;
	border-top-right-radius: 8px;
	border-top-left-radius: 8px;
}
.selector {
	display: flex;
	align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 12px 15px;
}
#selector-header.selector {
	border: none;
}
#selector-header.selector:hover {
	background-color: transparent; 
}
#selector-header.selector .col {
	color: #aaa;
	background-color: transparent; 
	font-size: 0.875rem;
}
#selector-header.selector .col.selector-properties {
	padding-left: 21px;
}
.selector .col {
	flex-basis: 10%;
}
.selector .col.selector-name {
	flex-grow: 1;
	position: relative;
}
.selector .col.selector-text {
	flex-grow: 6;
	background-color: #fee;
}
.selector .col.selector-text .preview {
	background-color: #fff;
}
.selector .col.selector-properties {
	flex-grow: 3;
	padding-left: 10px;
}
.selector .col.selector-properties {
}
.selector .property {
	display: flex;
	position: relative;
}
.selector .property-name {
	padding-left: 4px;
	margin-right: 4px;
	min-width: 140px;
}
.selector .property-name,
.selector .property-value {
	line-height: 1.375rem;
}
.selector .property-name:after {
	content: ":";
}

.selector:hover,
.selector.active {
	background-color: #fafafa;
}
.property:hover,
.property.active {
	background-color: #f1f1f1;
}

.actions {
}
.actions-e,
.actions-d {
	position: absolute;
	right: 0;
	top: 0;
}
.actions a {
	display: inline-block;
	margin-right: 12px;
}

.actions-a a {
	margin: 4px;
}

.actions a:before,
a.toggle:before {
    font-family: 'FontAwesome';
	font-size: 1.5rem;
	line-height: normal;
    display: inline-block;
	cursor: pointer;	
}

a.toggle {
    display: inline-block;
	margin-left: 12px;
	color: #fff;
}
a.toggle:before {
    content: '\f106';
	transition: all 0.2s ease;
}
a.toggle.collapsed:before {
	transform: rotate(-180deg);
}

.actions a.add:before {
    content: '\f055';
}
.actions a.edit:before {
    content: '\f14b';
}
.actions a.delete:before {
    content: '\f1f8';
}
.actions a.submit:before {
    content: '\f058';
	color: #009879;
}
.actions a.close:before {
    content: '\f057';
	color: #A55;
}

.media .actions-a a,
.media .actions-e a {
	color: #009879;
}
.media .title .actions-e {
	top: 13px;
}
.media .title .actions a {
	color: #fff;
}
.media .actions-a a:hover,
.media .actions-e a:hover,
.media .title .actions a:hover {
	color: #fbc02d;
}


.selector .actions-a,
.actions-e,
.font .actions-d,
.active .property:not(.active):not(:hover) .actions {
	visibility: hidden;
}
.selector:hover .actions-a,
.selector:hover .selector-name .actions-e,
.property:hover .actions-e,
.media .title:hover .actions-e,
.font:hover .actions-d,
.active .actions {
	visibility: visible;
}

.actionform {
	position: absolute;
	display: none;
	background-color: #c7ecc1;
	width: 380px;
	padding: 10px;
	text-align: left;
	z-index: 1;
	color: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}
.selector-properties .actions-e .actionform,
.media .title .actions-e .actionform  {
	top: 100%;
	right: 0;
}

.actionform h3 {
	font-size: 0.875rem;
	font-weight: bold;
	margin: 4px;
}
.actionform input {
	display: inline-block;
	width: 125px;
	padding: 4px 8px;
	margin-right: 4px;
    font-size: 1.0rem;
}
.actionform input.error {
	background-color: #fcc;
}
.actionform input[type=file] {
	width: 300px;
}
.actionform a {
	margin-left: 8px;
	margin-right: 0px;
}

.selection-wrapper {
	position: relative;
	display: inline-block;
	margin: 0;
	padding: 0;
}
.selection-list {
	border: 1px solid #aaa;
	max-height: 150px;
	width: 143px;
	overflow-y: auto;
	background-color: #fff;
	z-index: 5;
	position: absolute;
	left: 0;
	top: 100%;
	display: none;
}
a.selection-item {
	padding: 2px 8px;
	margin-left: 0px;
	display: block;
	color: #888 !important;
}
a.selection-item:hover {
	text-decoration: none;
	background-color: #f1f1f1;
}

.clearfix:before, 
.clearfix:after { 
	content: ""; 
	display: table; 
}
.clearfix:after { 
	clear: both; 
}
.clearfix { 
	*zoom: 1; 
}
.right {
	float: right;
	text-align: right;
}
.left {
	float: left;
	text-align: left;
}