/* --- Bootstrap redefinitions --- */
area {
	cursor: pointer;
}

.h-90 {
	height: 90%!important;
}

.h-10 {
	height: 10%!important;
}

a[onclick]:not([href]):not([tabindex]) {
	color: #0056b3;
	text-decoration: underline;
	cursor: pointer;
}

.text-prewrap {
	white-space: pre-wrap;
}

.text-primary > a {
	text-decoration: underline;
}

/* --- Header style --- */
.firstHead {
	background-color: #6c757d;
       font-size:1.5rem;
      color: white;
}

.secondHead {
	background-color: #789;
}

#rail {
	padding-top: 0.2em;
	padding-bottom: 0.2em;
}

.timeLine, .timeLineHome {
	background-color: #DCDCDC;
	display: inline-block;
	position: relative;
	margin-left: 0.5%;
	height: 30px;
	vertical-align: middle;
}

.timeLine::after, .timeLineHome::after {
	border-left: 20px solid;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	content: '';
	position: absolute;
	right: -20px;
	color: #DCDCDC;
	z-index: 2;
    top:0;
}

.timeLine::before {
	border-right: 20px solid;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	content: '';
	position: absolute;
	display: flex;
	color: #789;
	transform: rotate(180deg);
}

.timeLineText {
	color: white;
	font-weight: bold;
	font-family: Arial;
	font-size: 11;
	padding-left: 5px;
}

.timeLineLinkLabelHome, .timeLineLinkLabel {
	color: black;
}

.timeLineLinkLabel:hover, .timeLineLinkLabelHome:hover {
	color: blue;
	cursor: pointer;
}

.timeLineLinkLabelLast {
	color: #6495ED;
}

.timeLineIcon {
	margin-left: 15px;
}

.projectLabel {
	font-weight: bold;
	margin-left: 1%;
}

/* Search style */
.wrapper {
	width: 100%;
}

#sidebar {
	width: 250px;
	position: fixed;
	margin-right: -250px;
	top: 0;
	right: 0;
	height: 100vh;
	z-index: 999;
	background: #A9A9A9;
	color: #fff;
	transition: all 0.3s;
	margin-left: -250px;
}

#sidebar.active {
	margin-right: 0;
}

#sidebar .sidebar-header {
	margin-top: 5%;
	margin-left: 5%;
	background: #A9A9A9;
}

#sidebar ul.components {
	padding: 20px 0;
	border-bottom: 1px solid #47748b;
}

#sidebar ul p {
	color: #fff;
	padding: 10px;
}

#sidebar ul li a {
	padding: 10px;
	font-size: 1.1em;
	display: block;
}

#sidebar ul li a:hover {
	color: #7386D5;
	background: #fff;
}

#sidebar ul li.active>a, a[aria-expanded="true"] {
	color: #fff;
	background: #6d7fcc;
}

.dropdown-toggle::after {
	display: block;
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
}

.searchLabel {
	margin-top: 2%;
	margin-left: 5%;
}

.tipue_search_content_text {
	margin-bottom: 3%;
}

/* Main content style */
#content {
	width: 100%;
	min-height: 100vh;
	transition: all 0.3s;
	right: 0;
}

#content.active {
	width: calc(100% - 250px);
}

/* Help style */
#navModal {
	position: fixed;
	width: 15%;
	left: 0;
	margin-left: 3%;
}

#navModal.active {
	margin-left: 2%;
}

#propsModal {
	position: fixed;
	width: 10%;
	right: 0;
	margin-right: 3%;
}

#viewModal.active {
	margin-right: 100px;
	margin-left: -100px;
}

#propsModal.active {
	margin-right: calc(3% + 250px);
}

#searchModal {
	position: fixed;
	width: 10%;
	right: 0;
	margin-right: 1%;
	display: none;
}

#searchModal.active {
	display: block;
}

#navModal,
#propsModal,
#viewModal,
#searchModal {
//	height: 25%;
}

#railModal {
	position: fixed;
	width: 30%;
	top: 0;
	margin-right: 1%;
	left: 0;
	margin-left: 13%;
	margin-top: 2%;
}
