/* Imports */
@font-face {
    font-family: 'geomanistregular';
	    src: url('../fonts/geomanist-regular-webfont.eot');
    src: url('../fonts/geomanist-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/geomanist-regular-webfont.woff2') format('woff2'),
         url('../fonts/geomanist-regular-webfont.woff') format('woff'),
         url('../fonts/geomanist-regular-webfont.ttf') format('truetype'),
         url('../fonts/geomanist-regular-webfont.svg#geomanistregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'geomanistmedium';
    src: url('../fonts/geomanist-medium-webfont.eot');
    src: url('../fonts/geomanist-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/geomanist-medium-webfont.woff2') format('woff2'),
         url('../fonts/geomanist-medium-webfont.woff') format('woff'),
         url('../fonts/geomanist-medium-webfont.ttf') format('truetype'),
         url('../fonts/geomanist-medium-webfont.svg#geomanistregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'geomanistbook';
    src: url('../fonts/geomanist-book-webfont.eot');
    src: url('../fonts/geomanist-book-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/geomanist-book-webfont.woff2') format('woff2'),
         url('../fonts/geomanist-book-webfont.woff') format('woff'),
         url('../fonts/geomanist-book-webfont.ttf') format('truetype'),
         url('../fonts/geomanist-book-webfont.svg#geomanistregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'geomanistlight';
    src: url('../fonts/geomanist-light-webfont.eot');
    src: url('../fonts/geomanist-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/geomanist-light-webfont.woff2') format('woff2'),
         url('../fonts/geomanist-light-webfont.woff') format('woff'),
         url('../fonts/geomanist-light-webfont.ttf') format('truetype'),
         url('../fonts/geomanist-light-webfont.svg#geomanistregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Resets */
* {
	margin: 0px;
	padding: 0px;
	
	box-sizing: border-box;
	
	-webkit-font-smoothing:  antialiased;
}
a {
	text-decoration: none;
}
input:focus,
textarea:focus {
	outline: none;
}

/* Typography */
body {
	font-family: 'geomanistregular';
}
h1 {
	font-family: 'geomanistmedium';
	font-size: 21px;
	color: #000000;
	font-weight: normal;
}
h2 {
	font-family: 'geomanistmedium';
	font-size: 15px;
	color: #2A2A2A;
	font-weight: normal;
}
p {
	line-height: 19px;
	margin-bottom: 19px;
}
p,
.sidebar__label,
.dimensions,
.filename {
	font-family: 'geomanistbook';
	font-size: 13px;
	color: #707070;
}

/* Defaults */
.sidebar,
.page-content {
	padding: 20px;
}
html,
body,
.sidebar,
.page-content,
.container {
	height: 100%;
}
.page-content {
	width: calc(100% - 300px);
	overflow: auto;
	margin-left: 300px;
	min-width: 600px;

	transition: .6s ease;
}
.page-content--expanding {
	width: calc(100% - 500px);
	margin-left: 500px;
}
.columns .half {
	float: left;
	margin-left: 3%;
	width: 48.5%;
}
.columns .half:first-child {
	margin: 0px;
}

/* Header */
#logo {
	display: flex;
	align-content: center;
	justify-content: center;
	padding: 20px 0;
}
#logo img {
	max-width: 80px;
}

/* Login */
.login_body {
	background: #f2f2f2;
	display: flex;
	justify-content: center;
	align-content: center;
}
#login_container {
	max-width: 480px;
	margin: auto;
	text-align: center;
}
#login_container img {
	margin-bottom: 20px;
	display: inline-block;
}
#google_login a {
	opacity: .7;
	display: inline-block;
	max-width: 50%;	
	transition: .3s;
}
#google_login a:hover {
	opacity: 1;
}

/* Section */
.project_page .page-content {
	overflow: scroll;
}
.projects-container {
	display: flex;
	flex-wrap: wrap;
}
.transfer-projects {
	padding: 20px;
	background: #f2f2f2;
	margin-top: 20px;
}
.transfer-projects__attached-project {
	margin-top: 20px;
	display: none;
}
.transfer-projects__project-name {
	display: block;
	font-size: 14px;
}
.project {
	width: 32%;
	margin-bottom: 20px;
	margin-right: 2%;
}
.project:nth-child(3n) {
	margin-right: 0px;
}
.project__image {
	height: 200px;
	background: url('') center center no-repeat;
	background-size: cover;
}
.project__information {
	background: #f2f2f2;
	padding: 20px;
	color: #999;
	font-family: 'geomanistbook';
	font-size: 13px;
}
.project__actions {
	display: flex;
	align-items: center;
	margin-top: 10px;
}
.project__link {
	display: inline-block;
	color: inherit;
	text-decoration: underline;
	margin-right: 10px;
	transition: .3s;
}
.project__actions a:hover {
	color: #2a2a2a;
}
.project__preview {
	width: 24px;
	opacity: .6;
    margin-left: auto;
    margin-right: 0px;
    
	transition: .3s;
}
.project__preview:hover {
	opacity: 1;
}
.project__no-results {
	flex: 1;
    padding: 20px;
    text-align: center;
    background: #f2f2f2;
}
#main_content {
	height: calc(100% - 57px);
	background: #f2f2f2;
	padding: 20px;
	margin-top: 20px;
	position: relative;
	overflow: hidden;
}
.page-content__meta {
	display: flex;
	justify-content: space-between;
	width: 100%;
}
.page-content__title {
	display: flex;
	align-items: center;
}
.page-content__title h1 {
	display: inline-block;
}
.page-content__tools {
	display: flex;
	justify-content: flex-end;
}
.projects-filter {
	padding: 10px;
	background: #f2f2f2;
	margin: 20px 0;
	font-size: 12px;
	font-weight: bold;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.projects-filter__link {
	display: inline-block;
	padding: 10px;
	color: #000;
	
	transition: .6s;
}
.projects-filter__link:hover {
	background: #e8e8e8;
}
.projects-filter__link--active {
	background: #ffe225;
}
#drawing_container {
	height: calc(100% - 20px);
	display: flex;
	justify-content: center;
	align-items: center;
}
#drawing_container img {
	max-height: 100%;
}
#drawing {
	position: relative;
}
.layer_mark {
	display: block;
	height: 24px;
	width: 24px;
	border-radius: 0px 50% 50% 50%;
	text-align: center;
	background: rgba(0,0,0,.8);
	color: #fff;
	padding-top: 2px;
	cursor: move;
	top: 0px;
	left: 0px;
}

/* Navigation */
.navigation ul li {
	list-style-type: none;
}
.navigation ul li a:hover {
	background: #e8e8e8;
}

/* Sidebar */
.sidebar {
	width: 300px;
	position: fixed;
	overflow-y: auto;
	background: #fff;
	overflow-x: hidden;
	padding-bottom: 60px;
	
	transition: width .6s ease;
}
.sidebar--expanding {
	width: 500px;
}
.container__expand {
	position: fixed;
	top: 20px;
	left: 0px;
	width: 44px;
	height: 44px;
	display: block;
	padding: 3px;
	font-size: 11px;
	z-index: 5;
	cursor: pointer;
	background: #FFE124;
}
.container__expand:after {
	background: url('../images/arrow.svg') center center no-repeat;
	content: "";
	display: block;
	width: 44px;
	height: 44px;
	position: absolute;
	left: 0px;
	top: 0px;
	transform: rotate(90deg);
	
	transition: .6s ease;
}
.container__expand--active:after {
	transform: rotate(-90deg);
}
.sidebar > div {
	margin-bottom: 20px;
}
.sidebar > div:first-child {
	margin: 0px;
}
.sidebar__label {
	display: block;
	margin-bottom: 10px;
}
.layer,
.navigation ul li a{
	font-size: 13px;
	margin-bottom: 10px;
}
.layer .layer__title,
.layer .layer__content,
.navigation ul li a {
	display: block;
	padding: 15px;
	transition:  background 0.3s;
}
.layer .layer__title,
.navigation ul li a {
	font-family: 'geomanistmedium';
	color: #000;
	cursor: pointer;
	position: relative;
	background: #f2f2f2;
}
.layer__title:after {
	content: "";
	width: 12px;
	height: 12px;
	background: url('../images/arrow.svg') center center no-repeat;
	position: absolute;
	right: 20px;
	top: 18px;
	background-size: contain;
	transition: .3s;
	transform: rotate(180deg);
	transform-origin: center;
}
.layer--active .layer__title:after {
	transform: rotate(0deg);
}
.layer .layer__content {
	display: none;
}
#layers .layer:first-child .delete_layer {
	display: none;
}
.layer--active .layer__title,
.navigation .active__page,
.navigation .active__page:hover {
	background:#FFE124;
}
.form__label {
	display: block;
	font-size: 11px;
	margin-bottom: 5px;
	color: #2A2A2A;
}
.form__input {
	padding: 15px;
	font-family: 'geomanistbook';
	font-size: 12px;
	color: #2A2A2A;
	background: #F2F2F2;
	border: 0;
	width: 100%;
	margin-bottom: 10px;
	transition: .3s;
	min-height: 10px;
}
.form__select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding: 10px;
	border-radius: 0px;
	border: 0px;
	background: #e8e8e8 url('../images/arrow_down.svg') right 10px center no-repeat;;
	position: relative;
	cursor: pointer;
	font-family: 'geomanistmedium';
}
.form__select--100 {
	width: 100%;
}



/* Custom checkbox */
.form__checkbox-container {
  display: flex;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.form__checkbox-container .form__checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.form__checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}
.form__checkbox-container:hover form__checkbox ~ .form__checkmark {
  background-color: #ccc;
}
.form__checkbox-container .form__checkbox:checked ~ .form__checkmark {
  background-color: #ffe125;
}
.form__checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.form__checkbox-container .form__checkbox:checked ~ .form__checkmark:after {
  display: block;
}
.form__checkbox-container .form__checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid #222;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* TinyMCE */
form > .mce-tinymce {
	margin-bottom: 10px !important;
}

/* Footer */

/* Utilitys */
img {
	max-width: 100%;
	display: block;
}
.clearfix {
	*zoom: 1;
}
.clearfix:before,
.clearfix:after {
	display: table;
	content: "";
	line-height: 0;
}
.clearfix:after {
	clear: both;
}
#overlay {
	position: fixed;
	background: rgba(0,0,0,.8);
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 10;
	display: none;
}
#overlay #publish_interactive {
	padding: 20px;
	background: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	z-index: 20;
}
#overlay.show_overlay {
	display: flex;
}
.download_zip {
	float: right;
}
.btn {
	font-family: 'geomanistbook';
	display: inline-block;
	padding: 10px;
	background: #2a2a2a;
	border: 0px;
	font-size: 13px;
	color: #FFFFFF;
	text-align: center;
	cursor: pointer;
	
	transition: .3s;
}
.btn:hover {
	background: #FFE124;
	color: #2a2a2a;
}
.btn--secondary {
	background: #F2F2F2;
	color: #2a2a2a;
}
.btn--plain-text {
	color: #999;
	background: none;
}
.btn--warning {
	display: block;
	text-align: center;
}
.btn--warning,
.btn--warning:hover {
	color: red;
}
.btn.btn--plain-text:hover {
	text-decoration: underline;
	background: none;
}
.btn--left-space {
	margin-left: 10px;
}
.btn--top-space {
	margin-top: 10px;
}
.btn--right-space {
	margin-right: 10px;
}
.btn--bottom-space {
	margin-bottom: 10px;
}
.white_shadow,
.layer--active {
	box-shadow: 0px 0px 10px rgba(0,0,0,.1);
}
.notification {
	position: fixed;
	right: 40px;
	bottom: 0px;
	background: #f2f2f2 url('') left 20px center no-repeat;
	background-size: 24px;
	color: #2a2a2a;
	padding: 20px;
	padding-left: 60px;
	font-size: 13px;
	display: none;
}
.notification--ok,
.publish_output_link {
	background-color: #01AA99;
	background-image: url('../images/checkmark.svg');
	color: #fff;
}
.publish-settings__url--hiding {
	display: none;
}
.notification--warning {
	background: #F5A623;
}
.notification--danger {
	background: #D0021B;
}
.notification__title,
.notification__description {
	display: block;
}
.notification__title {
	font-family: 'geomanistmedium';
	font-size: 15px;
}
.add-layer {
	position: fixed;
	bottom: 0px;
	padding: 20px 0;
	left: 0px;
	width: 300px;
	
	transition: .6s;
}
.add-layer--expanding {
	width: 500px;
}

/* Custom input type */
.switch {
	position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    top: 8px;
    left: 70px;
}
.switch:before,
.switch:after {
	position: absolute;
	top: 3px;
	left: -130%;
	content: "Unpublished";
	font-family: 'geomanistbook';
	font-size: 13px;
	color: #707070;
}
.switch:after {
	left: auto;
	content: "Published";
	right: -180%;
}
.switch input {
	display:none;
}
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	margin-left: 20px;
	width: 50px;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}
.slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}
input:checked + .slider {
	background-color: #FFE124;
}

input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}
.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}

/* Responsive */
@media(min-width: 1440px) {
	.project {
		width: 23.5%;
	}
	.project:nth-child(3n) {
		margin-right: 2%;
	}
	.project:nth-child(4n) {
		margin-right: 0px;
	}
}
@media(min-width: 1920px) {
	.project {
		width: 18.4%;
	}
	.project:nth-child(4n) {
		margin-right: 2%;
	}
	.project:nth-child(5n) {
		margin-right: 0px;
	}
}

/* Animations */