@font-face {
	font-family: mah;
	src: url(../fonts/mah.eot);
	src: url(../fonts/mah.eot#iefix) format("embedded-opentype"), url(../fonts/mah.woff2) format("woff2"), url(../fonts/mah.woff) format("woff"), url(../fonts/mah.ttf) format("truetype"), url(../images/mah.svg#mah) format("svg");
	font-weight: 400;
	font-style: normal
}

[class^=icon-]:before, [class*=" icon-"]:before {
	font-family: mah;
	font-style: normal;
	font-weight: 400;
	speak: never;
	display: inline-block;
	text-decoration: inherit;
	width: 1em;
	margin-right: .2em;
	text-align: center;
	font-variant: normal;
	text-transform: none;
	line-height: 1em;
	margin-left: .2em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale
}

.icon-pause:before {
	content: "\e800"
}

.icon-lightbulb:before {
	content: "\e803"
}

.icon-undo:before {
	content: "\e807"
}

.icon-spin1:before {
	content: "\e808"
}

.icon-cancel-circled2:before {
	content: "\e809"
}

.icon-calendar:before {
	content: "\e80a"
}

.icon-note-beamed:before {
	content: "\e80b"
}

.icon-resize-full-alt:before {
	content: "\e80d"
}

.icon-volume-low:before {
	content: "\e80e"
}

.icon-loop:before {
	content: "\e812"
}

.icon-cog:before {
	content: "\e813"
}

.icon-trash-empty:before {
	content: "\e815"
}

@font-face {
	font-family: editor;
	src: url(../fonts/editor.eot);
	src: url(../fonts/editor.eot#iefix) format("embedded-opentype"), url(../fonts/editor.woff2) format("woff2"), url(../fonts/editor.woff) format("woff"), url(../fonts/editor.ttf) format("truetype"), url(../images/editor.svg#editor) format("svg");
	font-weight: 400;
	font-style: normal
}

[class^=icon-editor-]:before, [class*=" icon-editor-"]:before {
	font-family: editor;
	font-style: normal;
	font-weight: 400;
	speak: never;
	display: inline-block;
	text-decoration: inherit;
	width: 1em;
	margin-right: .2em;
	text-align: center;
	font-variant: normal;
	text-transform: none;
	line-height: 1em;
	margin-left: .2em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale
}

.icon-editor-down-small:before {
	content: "\e800"
}

.icon-editor-left-small:before {
	content: "\e801"
}

.icon-editor-right-small:before {
	content: "\e802"
}

.icon-editor-up-small:before {
	content: "\e803"
}

.icon-editor-trash:before {
	content: "\e804"
}

.icon-editor-cancel-alt:before {
	content: "\e805"
}

.icon-editor-ok:before {
	content: "\e810"
}

.icon-editor-list-add:before {
	content: "\e832"
}

.icon-editor-docs:before {
	content: "\f0c5"
}

button, select {
	background-image: linear-gradient(to bottom, #e4e4e4, #f7f7f7);
	border: 1px solid #afafaf;
	font-family: Montserrat, "Open Sans", sans-serif;
	font-size: inherit
}

input[type=radio] {
	font-size: inherit;
	width: .9em;
	height: .9em;
	vertical-align: middle
}

p {
	margin: 0;
	padding: 0
}

.hidden {
	display: none
}

.link {
	cursor: pointer
}

.section--main .overlay {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10000;
	background-color: var(--main-bg-color);
	opacity: 1;
	max-height: 100%;
	font-size: .9em
}

@media only screen and (min-width: 700px) {
	.overlay {
		font-size: 1.1em
	}
}

@media only screen and (min-width: 1000px) {
	.overlay {
		font-size: 1.2em
	}
}

@media only screen and (min-width: 1900px) {
	.overlay {
		font-size: 1.2em
	}
}

@media only screen and (min-width: 2200px) {
	.overlay {
		font-size: 2em
	}
}

@media only screen and (max-height: 500px) {
	.overlay {
		font-size: .9em
	}
}

.overlay .overlay-popup {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-height: 98%;
	max-width: 98%;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid #707070;
	background-color: var(--dialog-background-color);
	line-height: 1.2em;
	padding: 1.5em 2em;
	display: flex;
	flex-direction: column;
	border-radius: 12px;
	box-shadow: 12px 14px 16px #00000080
}

@media only screen and (min-width: 2200px) {
	.overlay .overlay-popup {
		border-radius: 30px
	}
}

@media only screen and (min-width: 1900px) {
	.overlay .overlay-popup {
		max-height: 80%;
		max-width: 80%
	}
}

@media only screen and (max-width: 1000px) {
	.overlay .overlay-popup {
		padding: 1.5em
	}
}

@media only screen and (max-width: 280px) {
	.overlay .overlay-popup {
		padding: 1.5em 1em
	}
}

.overlay .close {
	right: 8px;
	top: 8px;
	position: absolute;
	color: #a9a9a9;
	cursor: pointer;
	padding: 3px;
	border-radius: 6px
}

.overlay .close i {
	font-size: 1.2em
}

.overlay .close:hover {
	color: #707070
}
