@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');

* {
	box-sizing: border-box;
	outline: none;
}

body {
	background: #EDF0F2;
	width: 100vw;
	height: 100vh;
	min-width: 1000px;
	min-height: 500px;
	margin: 0;
	position: relative;
}

/*/
 * Groups
/*/

#groups {
	width: 75px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: #0E1318;
	font-family: 'Open Sans';
}

#groups .button {
	width: 100%;
	height: 75px;
	display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: .65;
    position: relative;
    cursor: pointer;
    font-size: 10px;
    user-select: none;
}

#groups .button.active {
	opacity: 1;
	background: #2A3039;
}

#groups .button:hover {
	opacity: 1;
}

#groups .button .icon svg {
    display: block;
	width: 100%;
    height: 100%;
	fill: #fff;
}

#groups .button .text {
	padding: 0 4px;
    text-align: center;
	display: block;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    height: 18px;
    line-height: 18px;
    text-overflow: ellipsis;
}

/*/
 * Groups window
/*/

#groups_window {
	width: 250px;
	background: #2A3039;
	left: 75px;
	top: 0px;
	height: 100%;
	position: absolute;
	padding: 15px;
	color: #FFF;
	font-family: 'Open Sans';
	font-size: 13px;
}

#groups_window .title {
	font-weight: bold;
	margin-bottom: 10px;
}

#groups_window .element {
	background: #393F47;
	border-radius: 5px;
	margin-bottom: 10px;
	cursor: pointer;
}

#groups_window .element.by2 {
	width: 50%;
	display: inline-block;
	vertical-align: top;
}

#groups_window .element:hover {
	background-color: #585D64;
}

#groups_window .sep {
	width: 100%;
	margin-bottom: 20px;
}

/*/
 * Settings
/*/

#settings {
	background: #fff;
	border-bottom: 1px solid rgba(14,19,24,.15);
    padding: 7px;
    position: absolute;
    left: 325px;
    width: calc(100vw - 325px);
    top: 0px;
    height: 45px;
}

#settings button {
	border: 0;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 7px;
	padding-bottom: 7px;
	font-size: 15px;
	color: #0e1318;
	border-radius: 4px;
	background: #FFF;
	font-weight: bold;
	display: none;
}

#settings button:hover {
	background-color: rgba(14,19,24,.07);
	cursor: pointer;
}

/*/
 * Settings window
/*/

#settings_window {
	width: 250px;
	background: #FFF;
	left: 75px;
	top: 0px;
	height: 100%;
	position: absolute;
	border-right: 1px solid rgba(14,19,24,.15);
	display: none;
	font-family: 'Open Sans';
	font-size: 13px;
	overflow-y: auto;
}

#settings_window > .title {
	border-bottom: 1px solid rgba(14,19,24,.15);
    padding: 13px;
    height: 45px;
    width: 100%;
    font-size: 15px;
    font-weight: bold;
}

#settings_window .content {
	padding: 13px;
}

#settings_window .content label {
    margin: 8px 0;
    color: rgba(14,19,24,.45);
    font-weight: bold;
    font-size: 13px;
    display: block;
}

#settings_window .content .title {
	font-weight: bold;
	margin-bottom: 10px;
	color: rgba(14,19,24,.45);
}

#settings_window .content .sep {
	width: 100%;
	margin-bottom: 20px;
}

/*/
 * Editor
/*/

#editor {
	width: calc(100vw - 325px);
	height: calc(100vh - 45px);
	left: 325px;
	top: 45px;
	overflow: auto;
	position: absolute;
}

#editor .editor_zoom {
	position: fixed;
	bottom: 50px;
	right: 50px;
}

#editor .background {
	min-width: 1020px;
	width: 100%;
	height: 100%;
	padding: 10px;
}

#editor .background .box {
	width: 1000px;
	background: #fff;
	min-height: 150px;
	margin: 0 auto 0;
	position: relative;
}

/*/
 * PAGES
/*/

#editor .editor_container {
	width: 100%;
	min-height: 100%;
	padding-bottom: 20px;
}

#editor .editor_container .pages-container {
	padding-top: 20px;
}

#editor .editor_container .pages-container .page-container {
	position: relative;
	margin-bottom: 30px;
}

#editor .editor_container .pages-container .page-center {
	background: #FFF;
	margin: 0 auto 0;
	position: relative;
	box-shadow: 0 2px 8px rgb(14 19 24 / 7%);
}

#editor .editor_container .pages-container {
    user-select: none;
    cursor: default !important;
}

#editor .editor_container .editor_addpage {
    display: block;
    border: 0;
    background-color: rgba(64,87,109,.07);
    color: #0e1318;
    transition: background-color .1s linear;
    padding: 0 6px;
    height: 40px;
    box-sizing: border-box;
    border-radius: 4px;
    margin: 0;
    width: 50%;
    min-width: 80px;
    text-align: center;
    font-weight: bold;
    margin: 0 auto 0;
}

#editor .editor_container .editor_addpage:hover {
    background: rgba(57,76,96,.15);
    cursor: pointer;
}
