/* prevent scroll on page */
/*
html,body{
	overflow: hidden;
	background-color: #fff;
}*/

/*pages bars*/
.bars{
	position: absolute;
	top: 250px;
	left: 0;
	z-index: 1;
	opacity: 1;
}

.bars:hover{
	opacity: 1;
}

.bar{
	cursor: pointer;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-right: 0px;
	padding-left: 12px;
	overflow: hidden;
	margin-top: 12px;
	width:30px;
	height: 30px;
	transition: 1s;
	background-color :#2c4a52;
	color:white;
	border-radius:0 10px 10px 0px;
}
.bar:hover{
	width:200px;
}
.bar:hover + .bar-title{
	width:200px;
}
.bar-title{
	display: flex;
	align-items: center; 
	float: left;
	width:0px;
	height: 30px;
	white-space: nowrap; 
}
.bar-icon{
	display: flex;
	align-items: center; 
	float: right;
	width: 30px;
	height: 30px;
	border-radius: 0 0 0 10px;
}
.bar-icon > span{
	margin: auto;
}

/* pages container */
.page_container{
	overflow: hidden;
	border-radius : 10px;
	padding 			: 5px;
}
#main_container{
	margin-left: 25px;
	/*width: 100%;
	height: 100%;*/
}
/* download link */
.download-span:hover{
	cursor: pointer;
	color: blue;
}

/* net view  Visualization*/
.glyphicon-chevron-left,
.glyphicon-chevron-right,
.glyphicon-chevron-up,
.glyphicon-chevron-down{
	color: #aaa;
}

/* fix size of internal pages */
#net_view,#net_edit,#net_sim{
	width: 100%;
	height: 100%;
}

.bars.net{
	margin-top: 15px;
	top:0;
	left: 0;
	z-index: 2;
}
.bars.user{
	top:0;
	left: 0;
	z-index: 5;
}

.bars.user .bar.signin{
	transition: height 0.1s, width 0.1s;
}
.bars.user .bar.signin:hover{
	width : 300px;
	height: 180px;
	transition: width 0.1s, height 0.1s;
}

.signin-form{
	padding: 4%;
	width: 90%;
	margin-top : 25px;
}
.signin-form>input{
	margin-top: 5px;
}
.bars.net .bar{
	transition: height 0.5s, width 0.5s 0.4s;
	background-color: #537072;
	border: 2px #ddd ridge;
}

.bars.net .bar .section{
	background-color: #537072;
}

/*.bars.net{
	width: 100%;
}*/
.bars.net .bar:hover{
	width : 400px;
	height: 500px;
	transition: width 0.5s, height 0.5s 0.4s;
}

.bars.net .bar.timecurves:hover{
	width : 700px;
	height: 700px;
	transition: width 0.5s, height 0.5s 0.4s;
}
.bars.net .bar.distancecurves:hover{
	width : 400;
	height: 500px;
	transition: width 0.5s, height 0.5s 0.4s;
}
.bars.net .bar.senstivity:hover{
	width : 800px;
	height: 700px;
	transition: width 0.5s, height 0.5s 0.4s;
}

.bars.net .bar.senstivity *:hover + .bars.net .bar.senstivity{
	width : 800px;
	height: 700px;
	transition: width 0.5s, height 0.5s 0.4s;
}


.bars.net .bar.simconfig:hover{
	width : 600px;
	height: 500px;
	transition: width 0.5s, height 0.5s 0.4s;
}

.bars.net .bar.simconfig *:hover + .bars.net .bar.simconfig{
	width : 600px;
	height: 500px;
	transition: width 0.5s, height 0.5s 0.4s;
}


.bars.net .bar *:hover + .bars.net .bar{
	width : 300px;
	height: 500px;
	transition: width 0.5s, height 0.5s 0.4s;
}

.bar .section{
	padding: 10px;
	width: 90%;
	background-color: #fff;
	margin-top : 40px;
	height:85%;
}
.scrolled-x{
	overflow-x: scroll;
}
.scrolled{
	overflow-y: scroll;
	overflow-x: hidden;
}
.scrolled::-webkit-scrollbar {
	width: 10px;
}
.scrolled::-webkit-scrollbar-track {
	box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
	border-radius: 10px;
}
.scrolled::-webkit-scrollbar-thumb {
	border-radius: 10px;
	box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

#marey_lines_div.scrolled::-webkit-scrollbar {
	display: none;
}
#zone_time_div.scrolled::-webkit-scrollbar {
	display: none;
}

/*#marey_lines_div.scrolled::-moz-scrollbar {
	display: none;
}
#zone_time_div.scrolled::-moz-scrollbar {
	display: none;
}*/


.hazy{
	opacity:0.4;
}

#net_view,#net_edit{
	width: 100%;
}

/* parts inside net_view  */
#map_div{
	width 	: 30%;	
	float 	: left;
}
#schedule_div{
	width 	: 70%;
	float 	: right;
	/*border: 1px solid red;*/
}
#mini_schedule_div{
	border: 1px solid #537072;
}
#overlay-res,#overlay-sim{
	position: absolute;
	background-color: lightsteelblue;
	margin:1%;
	width:95%;
	height:95%;
	opacity: 0.6;
	z-index:200;
	border-radius: 10px;
}
.data_section{
	display: none;
}

.element_details{
	position: absolute;
	background-color: lightsteelblue;
	margin-left: 20%;
	padding: 0.5%;
	width:60%;
	overflow: hidden;
	/*height:70%;*/
	opacity: 0.9;
	z-index:200;
	border-radius: 10px;
}

.overlay-content{
	position: relative;
	float: left;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-20%);
	text-align: center;
}

/*legend>span.fa.fa-edit{
color:seagreen;
}*/


/* Net Schedule layout */
/*#schedule_div{
	border: 1px solid red;
}*/

#map_div{
	border: 1px solid #537072;
}

#schedule_zone{
	float: left;
	width: 27.5%;
	/*border: 1px dotted #00f;	*/
}

#schedule_marey{
	float: right;
	width: 62.5%;
	/*border: 1px dotted #00f;	*/
}
#mini_schedule_div{
	float 	: right;
	width 	: 10%;
	height:100%;
	/*border: 1px solid red;*/
}


#zone_chart_div{
	height: 20%;
	border: 1px solid #537072;
}
#zone_signal_div{
	height: 3%;
	/*border: 1px dotted #0ff;*/
}

#zone_time_div{
	height: 77%;	
	border: 1px solid #537072;
}

#marey_header_div{
	width: 100%;
	border: 1px solid #537072;
	height: 5%;
	transition: 1s;
}
#marey_ruler_div{
	width: 100%;
	border: 1px solid #537072;
	height: 15%;
	transition: 1s;
}

#marey_signal_div{
	height: 3%;
}

#marey_header_div:hover{
	height: 20%
}
#marey_header_div:hover + #marey_ruler_div{
	height: 0%
}
#marey_lines_div{
	width: 100%;
	border: 1px solid #537072;
	height: 77%;
}

/* schedule path selection */
#path_selected{
	cursor: pointer;
	display: flex;
	align-items: center; 
	padding: 5px;
	background-color: lightgray;
	border-radius: 10px;
	height: 40px;
	width:100%;
	overflow: hidden;
}
#path_selected:hover{
	background-color:#8e9b97;
	width: 200%;
}
.path_list{
	height: 150px;
	overflow-y: scroll;
}
.path_item{
	display: flex;
	align-items: center; 
	cursor: pointer;
	padding: 5px;
	margin-top: 5px;
	border-radius: 10px;
	height: 40px;
	width:100%;
}
.path_item:hover{
	border: 2px red solid;
	color: blue;
	font-weight: bold;
	background-color: orange;
}
.path_item.selected{
	border: 4px red solid;
	font-weight: bold;
	background-color: orange;
}
.path_item:nth-child(odd){
	background-color:#8e9b97;
}
.path_item:nth-child(even){
	background-color: lightblue;
}

/* styles for svg */
svg{
	width: 100%;
	height: 100%;
}

/*.path_layer{
	transition: opacity 0.1s;
}*/


/* font color for path radio buttons */
md-radio-button > div.md-label > span{
	color: black;	
}


/* NET EDIT PAGE STYLE */
/* style net_edit page */
#nettree_div{
	padding-left: 30px;
	padding-right: 5px;
}
.details-btn{
	width:20%;
	height:20px;
	margin:auto;
	text-align: center;
	color: #66F;
	background-color:#8e9b97;
	border-radius: 5px;
}
.details-btn span{
	font-weight: bold;
	margin: auto;
	height: 20px;
	width: 30px;
}

.top-row{
	border-top: 2px#8e9b97 outset;
}
.bottom-row{
	border-bottom: 2px#8e9b97 outset;
}
td 
{
	text-align:center; 
	vertical-align:middle;
}
.table-item{
	padding-left: 5px;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	border-radius: 10px;
	background-color: #f4ebdb;
	margin-top: 10px;
}

legend.set-margin{
	clear: both;
	width: 50%;
	margin-left: 20px;
}

.progress-striped.active.progress.ng-isolate-scope{
	margin:0;
}
legend{
	margin:1px;
}

md-checkbox,md-select,md-input-container{
	margin: 0 !important;
	padding: 0 !important; 
}

.md-color-picker-input-container .md-color-picker-preview{
	margin-top: -20px;
}
.md-color-picker-input-container .md-color-picker-input,
.md-color-picker-input-container .md-icon-button,
.md-color-picker-input-container .md-input-container{
	display: none;
}

.rzslider.nolabels {
	margin-top: 15px;
}

.table-item fieldset{
	padding:5px; 
	width:100%;
	border:2px solid #537072;
	border-radius: 10px;
}
fieldset .section{
	margin-top: 10px;
}

.ng-invalid,.ng-empty{
	border-color: red !important;
}

legend span {
color:#537072;
}

/*span.fa-plus{
	background-color: #8e9b97;

}*/
/*
#net_edit > div.col-md-10 > div > div > div:nth-child(1) > section.row.section > div:nth-child(4) > div > div.col-md-9 > div > span.rz-pointer.rz-pointer-min
*/
/* restye some objects to save space */
span.rz-pointer.rz-pointer-min,span.rz-pointer.rz-pointer-max{
	margin-top: 8px;
	width: 16px;
	height: 16px;
}
span.rz-pointer.rz-pointer-min::after,span.rz-pointer.rz-pointer-max::after{
	margin-top: -8px;
	margin-left: -8px;
}


.net_selected{
	background-color:#8e9b97;
}
.net_loaded{
	background-color: #8e9b97;
}

.tooltip.focused{
	background-color: lightblue;
	padding: 2px;
	border-radius:3px;
	border:1px blue solid;
	font-weight: bold;
}



#marey_signal_div{
	padding-left:20px;
	padding-right:20px;
}



.stroke-width-input{
	padding:0;
	height:30px;
}

#path-name{
	font-weight: bold;
}


.footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0rem;
  text-align: center;
}
.footer>div {
background-color: #efefef;
}


.about-modal{
	margin:auto;
	width:1000px
}


