/* 
 * Copyright (c) 2005-2017 MicroPact, Inc. All Rights Reserved.
 *
 *  /\ /\ \/ /   Always design for the end goal, develop with them in mind
 * / / \ \  /    deploy with a path forward, and success will be more easily achieved
 * \ \_/ /  \
 *  \___/ /\ \                                           - Che de Bruin
 *            
 * This software is the proprietary information of MicroPact, Inc.
 * Use is subject to license terms.
 *
 * Page description: General CSS for the application
 *
 * @author MicroPact, Inc.
 * @since 1.0
 *
 */

 header {
	list-style-type: none;
	margin: 0;
	padding: 0;
	background-color: #fff;
}

header h1 {
	font-size: 1.1rem;
	margin: 0px;
}

header h2 {
	font-size: 1.10rem;
	font-weight: 400;
	margin: 0px;
}

header h3 {
	font-size: .95rem;
	letter-spacing: .02rem;
	font-weight: 300;
	margin: 0px;
	color: #bbbbbb
}

.border-bottom {
	border-bottom-color: var(--main-color-gray);
	border-bottom-style: solid;
	border-bottom-width: 1px;
}

.logo {
	width: 65px
}

.logo svg {
	width: 24px;
	height: 24px;
}

/**
 * Code Editor
 */

.code-editor {
	counter-reset: code-counter;
}

.code-line {
	align-items: center;
	margin-right: 10px;
	transform: translate3d(0, 0, 0);
	padding: 5px 0px;
	min-height: 28px;
}

.code-line-gutter {
	width: 35px;
}

.code-editor .code-line:before {
	counter-increment: code-counter;
    content: counter(code-counter);
	width: 35px;
	height: 100%;
    font-family: monospace;
    font-size: .9rem;
    text-align: right;
	margin-right: 5px;
    background-color: var(--main-color-gray-lighter);
	display: inline-block;
	position: absolute;
	padding: 5px;
}

.code-gutter {
	min-height: 15px;
    min-width: 25px;
	flex-grow: initial;
	justify-content: center;
}

.code-gutter svg {
	align-self: center;
	min-width: 14px;
	min-height: 14px;
	width: 14px;
	height: 14px;
}

.code-indent {
	width: 20px;
}

.code-text {
	/* min-height: 20px;
	padding: 2px 0px 0px 0px; */
}

/**
 * Primary Navigation
 */

.primary-nav-panel {
	height: 100%;
	width: 65px;
	min-width: 65px;
}

.primary-nav-panel li {
	height: 65px;
	width: 65px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0px 5px 0px 5px;
}

.primary-nav-panel li.active {
	background: var(--main-color-active);
}


.primary-nav-panel li:hover {
	background-color: #35383c;
}

/**
 * Secondary Navigation
 */

.secondary-nav-panel,
.propery-panel {
	height: 100%;
	width: 300px;
	min-width: 300px;
	/* border-right: solid 1px var(--main-color-gray-dark); */
}

.secondary-nav-panel-menu {
	/* border-bottom: solid 1px var(--main-color-gray-dark); */
}

.secondary-nav-panel-menu li.active svg path,
.secondary-nav-panel-menu li:hover svg path {
	fill: var(--main-color-blue);
}

.secondary-nav-panel-section,
.property-panel-section {
	padding: 10px;
}

.result-panel-section {
	padding: 5px;
}

.according-panel-section {
	padding: 10px 10px 10px 5px;
}

.secondary-nav-tree h2 {
	padding: 10px;
	font-weight: 600;
	margin: 0px;
	padding: 10px;
	font-size: 1rem;
}

.secondary-nav-tree a {
	vertical-align: middle;
	padding: 8px 0px;
	text-decoration: none;
	font-size: .80rem;
	white-space: nowrap;
}

.secondary-nav-tree > div.level-1 {
	padding-left: 20px;
}

.secondary-nav-tree > div.active {
	box-sizing: border-box;
	border: none;
	background: #d8dbde;
	color: #ffffff;
}

.secondary-nav-tree > div:not(.active):hover {
	background: #f8f8f8;
}

.secondary-nav-tree .spacer:after {
	content: '';
	height: 25px;
	display: block;
}

.secondary-nav-display {

}

.secondary-nav-display li {
	height: 50px;
	min-width: 50px;
	flex-basis: 1px;
	background: var(--main-color-gray-lighter);
	border-top-width: 1px;
    border-top-style: solid;
    border-top-color: var(--main-color-gray);
}

.secondary-nav-display li:last-child {
	flex-grow: 1;
}

.secondary-nav-display li.active {
	background: var(--main-color-white);
	border-top-width: 0px;
}

.secondary-nav-display li svg {
	width: 20px;
	height: 20px;    
	min-width: 20px;
    min-height: 20px;
}

.property-panel-menu li {
	flex-grow: 1;
	flex-basis: 1px;
	margin: 0px 5px 0px 5px;
}

.property-panel-menu li:not(.active) div.arrow-up {
	visibility: hidden;
}

.property-panel-menu li.active div.arrow-up,
.property-panel-menu li:hover div.arrow-up {
	visibility: visible;
}

.property-panel-menu li a:not(.button) {
    font-size: .80rem;
    font-weight: 400;
}

.property-panel-menu li a:not(.button) * {
    flex-grow: 1;
}

.property-panel-menu li svg {
	width: 20px;
	height: 20px;
	min-width: 20px;
    min-height: 20px;
	margin-bottom: 2px;
}

.propery-support-panel {
	position: fixed;
	width: 300px;
	height: 100%;
	right: 300px;
	box-shadow: -5px 5px 10px 0px rgba(0, 0, 0, 0.1);
	display: flex;
}

.content-panel {
	height: 100%;
	width: 100%;
	background-color: #ffffff;
	overflow: auto;
}

.property-panel {
	height: 100%;
	width: 300px;
	min-width: 300px;
}

.property-panel-record {
	padding: 5px 0px 5px 5px;
}

.property-panel-record label {
	color: var(--main-font-primary);

	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 220px;
    display: block;
    align-self: center;
}

.property-panel-record:hover {
	background-color: var(--main-color-gray-lighter);
}

.property-panel-record.active {
	background-color: var(--main-color-gray-light);
}

.property-panel-record-header {
	padding-top: 20px;
}

.modal .menu li,
.modal .listing li {
	padding: 10px;
	
	border-bottom-style: solid;
	border-bottom-color: var(--main-color-gray);
	border-bottom-width: 1px;

	width: 150px;
}

.modal .listing li {
	width: 100%;
}

.modal .menu label,
.modal .listing label {
	font-weight: unset;
	display: block;
}

.modal .menu li label:first-child {
	font-size: 1rem;
	font-weight: 500;
	color: var(--main-color-gray-darkest);
}

.modal .listing li label:first-child {
	font-size: .95rem;
	font-weight: 400;
	color: var(--main-color-gray-darkest);
}

.modal .menu label:last-child,
.modal .listing label:last-child {
	font-size: .8rem;
	font-weight: 300;
	color: var(--main-color-gray-darker);
}

.modal .menu li:hover label:first-child {
	font-size: 1rem;
	color: var(--main-color-blue);
}

.modal .flex > li {
	height: unset;
}

.modal h2 {
	font-size: 1.5rem;
	display: block;
}

.modal a:not(.button) {
	font-size: .9rem;
	color: var(--main-button-hyperlink-primary);
}


/* page container for secondary panel navigation */

div.page-container {
    width: 200px;
    height: 125px;
    border-color: var(--main-color-gray-dark);
    border-style: solid;
    border-width: 1px;
    overflow: hidden;
    margin: 10px;
}

.active > div.page-container {
    border-color: var(--main-color-gray-darker);
    border-width: 1px;
}

div.page-container.cover {
    width: 200px;
    height: 125px;
    position: absolute;
    margin: 10px 0px 0px 0px;
    border: none;
}

div.page-display {
    zoom: 0.3;
}

#pageListPanel div.active {
    background-color: var(--main-color-gray-lighter);
}