@import: "project.less";

// Definitions
@color_base			: red; // HEX Value (for backgrounds / shading)
@highlight_01		: #fcfded; // HEX value (for main "pop" color)
@highlight_02		: #88bfe8;
@highlight_03		: #e88891;
@action_green		: #7edba3;
@color_accent_01	: lighten(#8200FF, 25%); // HEX Value (to define brand)
@color_accent_02	: red; // HEX Value (to define brand)

.main-in {
	padding: 100px 0 70px;
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: ~"calc(100% - 170px)";
	overflow: scroll;
}

.page-header {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 60px;
	box-shadow: 0 1px 8px rgba(0, 0, 0, .25);
	z-index: 9998;
}

.page-header .cover {
	box-shadow: inset 1px 0 0 rgba(255, 255, 255, .1);
}

.page-header-spacer {
	width: 100%;
	height: 0;
}

.page-header .left-header,
.page-header .right-header {
	width: 50%;
	float: left;
}

.page-header .right-header {
	text-align: right;
	margin-top: 14px;
}

.page-header h1 {
	font-size: 1.5em;
	text-transform: uppercase;
}

.page-header .button,
.perma-footer .button {
	display: block;
	float: right;
	margin-left: 10px;
}

.button,
.tmpl-light .button {
	font-size: 100%;
	position: relative;
	padding: .5em 2em ~"calc(.5em + 4px)";
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: .075em;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .1);
	color: #333;
	background-color: #ddd;
	border-radius: 2px;
	box-shadow: inset 0 -4px 0 0 rgba(0, 0, 0, .25);
	transition: .1s ease box-shadow, .1s ease padding;
	text-align: center;
}

.button.size-s {
	font-size: 12px;
}

.button.size-l {
	font-size: 20px;
}

.button.wow,
.tmpl-light .button.wow {
	color: #333;
	background-color: @highlight_02;
}

.button.wow:hover,
.tmpl-light .button.wow:hover {
	color: #333;
}

.button:hover,
.tmpl-light .button:hover  {
	color: #333;
	padding: ~"calc(.5em + 4px)" 2em .5em;
	box-shadow: inset 0 4px 0 0 rgba(0, 0, 0, .25);
}

.button.icon-left:before,
.button.icon-right:after {
	display: inline-block;
	position: relative;
	content: "";
	top: 0px;
	margin-bottom: -2px;
	margin-right: 1em;
	width: 1em;
	height: 1em;
	opacity: .8;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	line-height: 1;
}

#add-article.icon-left:before {
	background-image: url("../images/admin-compose.svg");
}

#delete {
	background-color: @highlight_03;
}

#delete.icon-left:before {
	background-image: url("../images/admin-delete-article.svg");
}

.image-upload-button.icon-left:before {
	background-image: url("../images/admin-upload.svg");
}

.article-save.icon-left:before {
	background-image: url("../images/admin-save.svg");
}

.button.article-preview {
	background-color: @action_green !important;
}

.article-preview.icon-left:before {
	background-image: url("../images/admin-preview.svg");
}

#button-collapse-expand {
	padding-left: 1em;
	padding-right: 1em;
}

#button-collapse-expand.expand:before {
	background-image: url("../images/admin-expand.svg");
	margin-right: 0;
	text-align: center;
}

#button-collapse-expand.collapse:before {
	background-image: url("../images/admin-collapse.svg");
	margin-right: 0;
	text-align: center;
}

.nav-spacer {
	position: fixed;
	width: 296px;
	height: 100%;
	z-index: -1;
	transition: .25s ease box-shadow, .25s ease margin-left, .25s ease background-color;
}

.center-the-thing {
	text-align: center;
	margin: 0 auto;
}

.overlay-form {
	display: flex;
	background: rgba(200, 200, 200, .9);
	z-index: 9999;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	opacity: 0;
	pointer-events: none;
	transition: .5s ease opacity;
}

.overlay-form.open {
	pointer-events: auto;
	opacity: 1;
}

.overlay-form .overlay-form-close {
	z-index: 9998;
}

.overlay-form .form {
	position: relative;
	z-index: 9999;
	width: 25%;
	min-width: 280px;
	padding: 40px;
	margin: 0 auto;
	background-color: white;
	border-radius: 2px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
	transform: scale(.9);
	transition: .5s ease transform;
}

.overlay-form.open .form {
	transform: scale(1);
}

.overlay-form .form input:not([type=submit]) {
	display: block;
	box-sizing: padding-box;
	width: ~"calc(100% - 40px)";
	margin: 0 0 20px;
	padding: 10px 20px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2);
}

.overlay-form .form form > :last-child  {
	margin-bottom: 0 !important;
}

input.pkSearch {
	display: block;
	padding: 20px 40px;
	border-radius: 2px;
	background: transparent;
	box-shadow: none;
	margin-left: auto;
	margin-right: auto;
	font-weight: 500;
	background-image: url("../images/admin-search.svg");
	width: ~"calc(100% - 80px)";
	background-repeat: no-repeat;
	background-size: 20px 20px;
	background-position: 0 50%;
	transition: .25s ease background-position, .25s ease background-color, .25s ease background-size, .25s ease box-shadow;
}

input.pkSearch:focus {
	background-image: url("../images/admin-search.svg");
	background-repeat: no-repeat;
	background-size: 12px 12px;
	background-position: 16px 50%;
	background-color: @highlight_01;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
	outline: none;
}

input.pkSearch.confirmed {
	background-image: url("../images/admin-search.svg");
	background-repeat: no-repeat;
	background-size: 12px 12px;
	background-position: 16px 50%;
	color: @action_green;
	background-color: fade(@action_green, 10%);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
	color: #333;
}

.pkSuggestCancel {
	display: none !important;
}

.pkSuggestResultsClose {
	display: block;
}

.success {
	font-weight: 500;
	color: darken(@action_green, 25%);
	padding: 1em 40px;
	font-size: 16px;
	line-height: 1 !important;
	box-shadow: inset 0 0 0 1px @action_green;
	border-radius: 2px;
	background-color: fade(@action_green, 25%);
	margin-bottom: 20px;
}

.success h3 {
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	margin: 0;
	padding: 0;
}

.success a {
	font-weight: 500;
	color: darken(@action_green, 25%);
	text-decoration: underline;
}

h3.errors {
	color: @highlight_03;
	padding: .5em 40px;
	font-size: 16px;
	line-height: 1;
	box-shadow: inset 0 0 0 1px @highlight_03;
	border-radius: 2px;
	background-color: fade(@highlight_03, 25%);
	margin-bottom: 20px;
}

h3.errors li {
	font-weight: 500;
	display: inline;
	list-style: none;
	margin-top: .25em;
}

h3.errors li:before {
	content: " - ";
}

.autofill-wrapper {
	position: relative;
	margin-bottom: 40px;
}

.autofill {
	position: absolute;
	z-index: 9999;
	width: 100%;
	// top: ~"calc(100% - 1px)";
	padding: 1em 0;
	display: none;
	background-color: @highlight_01;
	box-shadow: inset 0 -1px 0 1px rgba(0, 0, 0, .15);
}

.autofill a {
	display: block;
	font-size: 87.5%;
	padding: .25em 40px;
	color: darken(@highlight_02, 10%);
	text-shadow: 0 1px 0 #fff;
	border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.autofill a:last-of-type {
	border-bottom: none;
}

.autofill .pkSuggestResultsClose {
	position: absolute;
	top: 10px;
	right: 10px;
	display: none;
}

#ui-datepicker-div {
	background-color: #fff;
	border: 1px solid black;
}

#project {
	display: block;
	position: relative;
	height: 296px;
	margin: 0 auto 40px;
	text-align: center;
	background-color: #222;
	box-shadow:  0 1px 0 rgba(255, 255, 255, .1);
	font-weight: 700;
	line-height: 1.25;
	color: #efefef;
}

#project.mini {
	padding: 0 40px;
	height: 60px;
}

#project .project-title {
	font-size: 1em;
	line-height: 1;
	padding: 4px 10px 0;
	margin-bottom: 0;
	opacity: 0;
	font-weight: 300;
}

#project .project-url {
	text-align: left;
	margin-left: 70px;
	font-weight: 300;
	font-size: 12px;
	text-transform: lowercase;
	color: grey;
}

#project.mini .project-title {
	text-align: left;
	margin-left: 60px;
	opacity: 1;
}

#project .overlay.cover {
	opacity: .1;
	background: #333;
}

.project-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#project-logo {
	position: absolute;
	top: 0;
	left: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	margin: 0 auto;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 0;
	box-shadow: inset 0 4px 16px rgba(0, 0, 0, .25);
}

.mini #project-logo {
	width: 50px;
	height: 50px;
	margin: 5px 0 0 5px;
	border-radius: 2px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}

#project img.spacer {
	width: 296px;
	pointer-events: none;
	transition: .25s ease width;
}

#project.mini img.spacer {
	width: 60px;
}

header {
	float: left;
	width: 296px;
	background-color: transparent !important;
	transition: .25s ease box-shadow, .25s ease margin-left;
}

header ul {
	padding: 0;
	margin: 0;
}

header ul.sub-nav {
	position: relative;
	pointer-events: none;
	opacity: 0;
	overflow: hidden;
	font-size: 80%;
	transition: .25s ease top, .25s ease opacity, .25s ease background-color, .25s ease margin-top;
}

header ul.sub-nav.closed {
	height: 0px;
	top: 10px;
	margin: -40px 0 40px;
}

header ul.sub-nav:not(.closed) {
	pointer-events: auto;
	opacity: 1;
	top: 0;
	height: 100%;
	margin: 0 0 0;
	box-shadow: inset 0 1px 0 rgba(0, 0, 0, .5);
	background-color: #222;
}

header ul li {
	position: relative;
	list-style: none;
}

header ul li a,
header ul li span.heading {
	display: block;
	cursor: pointer;
	box-sizing: border-box;
	font-weight: 500;
	padding: 10px 20px;
	color: rgba(255, 255, 255, .65);
	box-shadow: inset 0 1px 0 rgba(0, 0, 0, .25);
	border-top: 1px solid rgba(255, 255, 255, .1);
}

header ul li.sub-nav-open a,
header ul li.sub-nav-open span.heading {
	// background: rgba(0, 0, 0, 0.15);
}

header ul li:first-child a,
header ul li:first-child span.heading {
	border-top: none;
	box-shadow: none;
}

header ul.sub-nav li a,
header ul.sub-nav li span.heading {
	border: none;
	box-shadow: none;
	color: rgba(255, 255, 255, .35);
}

header ul li.account > .heading {
	color: fade(@highlight_02, 100%);
	background-image: url("../images/admin-user.svg");
	background-repeat: no-repeat;
	background-position: ~"calc(100% - 20px)" 50%;
	background-size: 16px;
}

header ul li .arrow-container {
	position: absolute;
	top: 1px;
	right: 0;
	width: 56px;
	height: 39px;
	cursor: pointer;
	opacity: .5;
	z-index: 1;
	transition: .1s ease opacity, .1s ease background-color;
}

header ul li.account .arrow-container {
	display: none;
}

header ul li .arrow {
	position: absolute;
	width: 100%;
	height: 100%;
	background: url("../images/arrow-white-down.svg") center center / 14px no-repeat;
}

header ul li .arrow-container:hover {
	opacity: 1;
	background-color: rgba(0, 0, 0, .25);
}

header ul li .arrow-container .arrow {
	transform: rotate(0deg);
	transition: .25s ease transform;
}

header ul li .arrow-container.active .arrow {
	transform: rotate(180deg);
}

.page-wrapper {
	position: relative;
	margin-left: 296px;
	transition: .25s ease margin-left;
}

.page-wrapper .menu-overlay {
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: white;
	opacity: 0;
	z-index: 9997;
	transition: .25s ease opacity;
}

.perma-footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 10px 0;
	pointer-events: none;
	background: rgba(255, 255, 255, .5);
	box-shadow: 0 -1px 0 rgba(0, 0, 0, .1);
}

.perma-footer > * {
	text-align: right;
	pointer-events: auto;
}

footer#main-footer {
	position: static;
	bottom: 0;
	width: 100%;
	height: auto;
	padding: 20px 0;
}

.box-module {
	position: relative;
	border-radius: 2px;
	margin: 0px auto 20px;
	background-color: rgba(0, 0, 0, .05);
	box-shadow: inset 0 0 0 0 rgba(0, 0, 0, .15);
	transition: .25s ease box-shadow, .25s ease background, .25s ease margin;
}

.box-module-container .box-module,
.box-module-container .box-module.open {
	float: left;
	width: ~"calc(50% - 10px)";
	margin-right: 20px;
}

.box-module-container .box-module:nth-of-type(even) {
	margin-right: 0;
}

.box-module.open {
	margin: 0px auto 40px;
	background-color: white;
	box-shadow: 0 4px 4px rgba(0, 0, 0, .15);
}

.box-module .arrow-container {
	position: absolute;
	top: 16px;
	right: 16px;
	opacity: .25;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	transition: .25s ease opacity;
	cursor: pointer;
}

.box-module .arrow-container:hover {
	opacity: .5;
}

.box-module .arrow-container .arrow {
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: url("../images/arrow-black-down.svg");
	background-repeat: no-repeat;
	background-size: 16px;
	background-position: center;
	transition: .25s ease transform;
}

.box-module.open .arrow-container .arrow {
	transform: rotate(180deg);
}

.box-module-content {
	position: relative;
	opacity: 0;
	height: 0;
	overflow: hidden;
	pointer-events: none;
	padding: 0 40px;
	transition: .25s ease padding-top, .5s ease opacity;
}

.box-module.open .box-module-content {
	opacity: 1;
	height: auto;
	overflow: inherit;
	pointer-events: auto;
	padding: 40px;
}

.article-body.box-module.open .box-module-content {
	padding: 0;
}

.box-module-content .button {
	margin-top: 40px;
}

.box-module > h1,
.box-module > h2,
.box-module > h3,
.box-module > h4,
.box-module > h5,
.box-module > h6 {
	font-weight: 500;
}

.box-module:not(.naked) > h1,
.box-module:not(.naked) > h2,
.box-module:not(.naked) > h3,
.box-module:not(.naked) > h4,
.box-module:not(.naked) > h5,
.box-module:not(.naked) > h6 {
	margin: 0;
	padding: 20px 40px;
	border-bottom: 1px solid #efefef;
	transition: .25s ease padding;
}

h1 span {
	display: inline-block;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	margin-right: 20px;
}

h1.article-list span {
	background-image: url("../images/heading-articles.svg");
}

h1.article-edit span {
	background-image: url("../images/heading-edit.svg");
}

h1 span img {
	width: 20px;
}

.box-module.naked {
	background: none;
	padding: 0;
	box-shadow: none;
}

ul.admin-list {
	margin: 0;
	padding: 0;
}

ul.admin-list li {
	font-size: 14px;
	max-height: 36px;
	display: block;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #efefef;
}

ul.admin-list li:last-child {
	border-bottom: none;
}

ul.admin-list li a {
	position: relative;
	display: block;
	overflow: hidden;
	color: grey;
	padding: 10px 0;
	line-height: 1;
	white-space: pre;
	text-overflow: ellipsis;
	transition: .1s ease background-color;
}

ul.admin-list li:hover {
	background-color: @highlight_01;
}

ul.admin-list li span {
	position: relative;
	display: inline-block;
	background-color: #efefef;
	border-radius: 100px;
	color: rgba(0, 0, 0, .5);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
	font-size: 12px;
	padding: 2px 8px;
}

ul.admin-list li span.tag {
	background-color: fade(@action_green, 25%);
	margin-left: 5px;
}

ul.admin-list li span.tag::before {
	content: "# ";
}

ul.admin-list li span.date {
	margin: 0 10px 0 0;
}

ul.admin-list li .list-meta {
	pointer-events: none;
	position: absolute;
	padding: 10px 0 10px 40px;
	top: 0;
	right: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 35px);
}

ul.admin-list li:hover .list-meta {
	background: linear-gradient(90deg, fade(@highlight_01, 0%) 0, fade(@highlight_01, 100%) 35px);
}

// Article Input

.pkm_form input,
.pkm_form textarea,
.pkm_form select {
	display: block;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
	margin: 0 0 40px;
	border: none;
	border-radius: 3px;
	padding: 5px 10px;
	font-weight: normal;
	line-height: 1.5;
}

.pkm_form input.pkSearch {
	box-shadow: none;
	width: ~"calc(100% - 50px)";
	padding: 5px 10px 5px 40px;
	margin-bottom: 0;
}

.pkm_form input[type="file"] {
	padding: 10px;
	background: #ededed;
	box-shadow: none;
	line-height: 1;
	width: ~"calc(100% - 20px)";
}

.pkm_form label {
	display: inline-block;
	color: darken(@highlight_02, 10%);
	background: fade(@highlight_02, 25%);
	text-shadow: 0 1px 0 white;
	border-radius: 1px;
	box-shadow: 0 0 0 5px fade(@highlight_02, 25%);
	font-weight: 500;
	line-height: 1;
	margin-left: 5px;
	margin-bottom: 1em;
}

.pkm_form label::after {
	display: block;
	content: "";
}

.pkm_form select {
	-webkit-appearance: none;
	background-image: url("../images/admin-expand.svg");
	background-position: ~"calc(100% - 10px)" 50%;
	background-size: 12px;
	background-repeat: no-repeat;
	padding-right: 32px;
}

.pkm_form .box-module-content > *:last-child {
	margin-bottom: 0;
}

.pkm_form .edit-article-title {
	font-size: 1.5em;
	width: 768px;
	max-width: ~"calc(100% - 20px)";
}

.pkm_form input:focus,
.pkm_form textarea:focus,
.pkm_form select:focus {
	background-color: @highlight_01;
	outline: none;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
}

.pkm_form .tip {
	font-size: 12px;
	color: rgba(0, 0, 0, .5);
	margin: -30px 0 40px 10px;
}

.pkm_form .image-upload .tip {
	margin: 10px 0 0;
}

.pkm_form textarea {
	display: block;
	height: 4vh;
	width: 768px;
	max-width: ~"calc(100% - 20px)";
	transition: .25s ease background-color;
	font-size: 14px;
}

.pkm_form .edit-article-body {
	height: 12vh;
}

.pkSuggestMultiList > div {
	padding: .25em 0;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.pkSuggestMultiList > div:first-child {
	border-top: 1px solid rgba(0, 0, 0, .1);
}

.pkSuggestMultiList > div a {
	position: relative;
	top: -1px;
	font-weight: bold;
	margin-right: 10px;
	color: @highlight_03;
}

.pkm_form .thumbnail {
	position: relative;
	width: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	border-radius: 2px;
	overflow: hidden;
}

.pkm_form .thumbnail a {
	display: block;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25);
}

.pkm_form .thumbnail img {
	width: 100%;
	pointer-events: none;
}

.article-media fieldset {
	padding: 0;
	margin-bottom: 40px;
	min-width: unset;
}

.homepage-dl fieldset {
	border-bottom: 1px solid #ccc;
}

.homepage-dl fieldset:last-child {
	border-bottom: none;
}

.article-media fieldset .image-upload,
.article-media fieldset .content-float {
	float: left;
	width: ~"calc(50% - 20px)";
	margin-right: 40px;
}

.article-media fieldset .image-upload:nth-of-type(2),
.article-media fieldset .content-float:nth-of-type(2) {
	margin-right: 0;
}

.article-media fieldset .image-upload input,
.article-media fieldset .thumbnail input {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.article-media fieldset .image-upload .thumbnail label,
.article-media fieldset .thumbnails label {
	position: absolute;
	left: 10px;
	bottom: 10px;
	margin-bottom: 0;
}

.article-media fieldset .thumbnails {
	margin-bottom: 40px;
}

.mceEditor.large {
	height: 480px;
}

.mce-tinymce,
.mce-tinymce .mce-panel {
	border: none !important;
}

.mce-tinymce, .mce-tinymce .mce-panel {
	border-bottom: 1px solid rgba(0, 0, 0, .15) !important;
}

.mce-btn-group .mce-btn,
.mce-container {
	background: white !important;
}

.ui-datepicker-calendar td {
	text-align: center;
	background: #efefef;
	box-shadow: inset -1px 1px 0 rgba(0, 0, 0, .1);
}

.ui-datepicker-calendar td.ui-datepicker-current-day {
	background-color: @highlight_02;
}

.ui-datepicker-calendar td a {
	color: rgba(0, 0, 0, .65);
	font-weight: 500;
}

#ui-datepicker-div {
	border: none;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}

.ui-widget-header {
	text-align: center;
	margin-bottom: 10px;
}

.ui-datepicker-title select {
	font-size: 87.5%;
	margin: 10px 5px;
	background: #efefef;
	border: none;
}

.ui-widget-header::after {
	clear: both;
	content: " ";
	display: table;
}

.ui-widget-header a {
	display: block;
	float: left;
	width: 50%;
	padding: 0;
	text-align: center;
}

.ui-widget-header a span {
	font-weight: 700;
	cursor: pointer;
	background: #efefef;
	display: block;
	padding: 4px 0;
}

.ui-datepicker-calendar td a {
	display: block;
	padding: 4px 8px;
}

.mce-flow-layout {
	padding: 0px 28px !important;
}

// Responsive

@media (max-width: 1024px) {

	header .menu-button {
		position: absolute;
		height: 100%;
		width: 40px;
		top: 0;
		right: 0;
		background: url("../images/admin-menu.svg");
		background-size: 16px;
		background-repeat: no-repeat;
		background-position: 50% 14px;
		cursor: pointer;
		z-index: 9999;
	}

	header.active .menu-button {
		height: 40px;
	}

	.page-wrapper .menu-overlay.active {
		pointer-events: all;
		opacity: .75;
	}

	header,
	.nav-spacer {
		position: fixed;
		top: 0;
		margin-left: -256px;
		float: none;
		z-index: 9999;
		background-color: #222;
	}

	.nav-spacer.active {
		background-color: #333;
		box-shadow: 0 0 40px rgba(0, 0, 0, .5);
	}

	header.active,
	.nav-spacer.active {
		margin-left: 0px;
		width: 296px;
		top: 0px;
	}

	header > *:not(.menu-button),
	header #project {
		transition: .25s ease opacity;
	}

	header:not(.active) > *:not(.menu-button),
	header:not(.active) #project {
		opacity: 0;
		pointer-events: none;
	}

	.page-wrapper {
		margin-left: 40px;
	}

	#main-footer {
		display: none;
	}

}

@media (max-width: 768px) {

	.mce-ico {
		font-size: 12px !important;
		width: 12px !important;
		height: 12px !important;
	}

	.mce-flow-layout {
		padding: 0px 9px !important;
	}

	.article-media fieldset .image-upload,
	.article-media fieldset .content-float {
		float: none;
		width: auto;
		margin-right: 0;
	}

	footer#main-footer {
		position: static;
	}

	header {
		min-height: 100%;
		position: absolute;
	}

	.box-module-container .box-module,
	.box-module-container .box-module.open {
		float: none;
		width: auto;
		margin-right: 0;
	}

	.box-module-content,
	.box-module .box-module-content {
		padding: 0 20px;
	}

	.box-module.open .box-module-content {
		padding: 20px;
	}

	.box-module:not(.naked) > h1,
	.box-module:not(.naked) > h2,
	.box-module:not(.naked) > h3,
	.box-module:not(.naked) > h4,
	.box-module:not(.naked) > h5,
	.box-module:not(.naked) > h6 {
		padding: 20px 70px 20px 20px;
	}

	.page-header .left-header {
		width: 65%;
	}

	.page-header .right-header {
		width: 35%;
	}

	#delete,
	#add-article {
		padding-left: 1em;
		padding-right: 1em;
	}

	#delete span,
	#add-article span {
		display: none;
	}

	#delete.button.icon-left:before,
	#add-article.button.icon-left:before {
		margin-right: 0;
	}

	ul.admin-list li {
		max-height: unset;
	}

	ul.admin-list li .list-meta {
		padding: 0;
		background: none;
		position: relative;
		margin-top: 1em;
	}

	ul.admin-list li span.date {
		color: black;
		font-weight: 700;
		padding: 0;
		background: 0;
		box-shadow: none;
		margin-right: 5px;
	}

	ul.admin-list li span.tag::before {
		content: "#";
		opacity: .5;
	}

	ul.admin-list li span.tag {
		line-height: 1;
		margin: 0 10px 5px 0;
		box-shadow: none;
		background: none;
		padding: 0;
		color: darken(@action_green, 15%);
	}

	ul.admin-list li a {
		white-space: normal;
		text-overflow: inherit;
		line-height: 1.5;
	}

}

@media (max-width: 480px) {

	.main-in {
		padding-top: 80px;
		padding-bottom: 50px;
		height: ~"calc(100% - 130px)";
	}

	.page-header h1 {
		position: relative;
		top: 2px;
	}

	.perma-footer {
		background: #ededed;
	}

	.perma-footer .button {
		width: ~"calc(50% - 4em - 5px)";
	}

	.perma-footer .button:last-of-type {
		margin-left: 0;
	}

}
