
/*html elements******************************************************************/

* {
    box-sizing: border-box;
}
*:before, *:after {
    box-sizing: border-box;
}
body {
    background-color: #fff;
    color: #333;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.42857;
    margin: 0;
    min-width: 515px;
}
a {
    color: #004b99;
    text-decoration: none;
}
a:hover, a:focus {
    color: #2a6496;
    text-decoration: underline;
}
a:focus {
    outline: thin dotted;
    outline-offset: -2px;
}
li {
	list-style-type: none;
	text-align: center;
}
table:not(.otable){
	border-collapse: collapse;
	border-spacing: 0;
	background-color: transparent;
	width: 100%;
	border: 1px solid #ddd;
}
thead:not(.otable){
	border-bottom-width: 2px;
	vertical-align: bottom;
	line-height: 1.42857;
	padding: 8px;
	background-color: #1ABC9C;
}
th:not(.otable){
	text-align: left;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
table:not(.otable) > thead > tr > th,
table:not(.otable) > tbody > tr > th,
table:not(.otable) > tfoot > tr > th,
table:not(.otable) > thead > tr > td,
table:not(.otable) > tbody > tr > td,
table:not(.otable) > tfoot > tr > td {
  line-height: 1.42857;
  padding: 8px;
}
table:not(.otable) > tbody > tr:nth-child(2n) > td {
  background-color: #f6f6f6;
}
#work-orders{
	position: absolute;
}
table.otable{
	position: relative;
	background-color: #E6EBEF;
	border: 1px solid white;
}
thead.otable{
	background-color: lightgray;
}
th.otable{
}
table.otable > tr{
	line-height: 0.5em;
}
table.otable td{
	text-align: center;
}
tbody.otable{
	
}

input[type="text"], input[type="date"], input[type="time"] {
	font-size: 14px;
	padding: 5px;
	border-radius: 5px;
	border: 1px solid #ddd;
}
input[type="checkbox"]{
	margin: 5px 2px;
}

/*common******************************************************************/

.pull-right {
    float: right !important;
    overflow: auto;
    padding-bottom: 4px;/*MDK*/
}
.row{
	width: 100%;
	overflow: auto;
	padding: 7px;
	border-bottom: 1px solid #e6e9ed;
}
.row:last-child{
	border-bottom: none;
}
.form-control[type=number]{
	width:65px;
	text-align: right;
	font-size: 14px;/*MDK*/
}
.form-control[type=date]{
	width:95px;
	text-align: left;
}
.form-control[type=time]{
	width:100%;
	text-align: left;
}
.form-group{
	border: 1px solid #e3e3e3;
	border-radius: 5px;
	min-height: 30px;
	padding: 9px;
}
.vertical-scroll-panel{
	max-height: 250px;
	min-height: 160px;
	max-height: 150px;
	margin-bottom: 10px;
	overflow-y: scroll;
}
.left-half-column{
	width: 50%;
	float: left;
	padding-right: 1%;
}
.right-half-column{
	width: 50%;
	float: right;
	padding-left: 1%;
}
.inline-list-element{
	margin-right: 30px;
}
.light-green{
	background-color: #48C9B0;
	border: none;
}
.dark-green{
	background-color: #5cb85c;
	border-color: #4cae4c;
	color: #fff;
}
.yellow{
    background-color: #f2de05;
    color: #f0ad4e;
}
.red{
    border-color: #fa967f;
    color: #fff;
    background-color: #E74C3C;
}
.blue{
	background-color:#145B8E;
}

/*page elements******************************************************************/


#header{
	min-height: 75px;
	overflow: auto;
	background-color: #E6EBEF;
}
#header button{
	margin: 20px 10px 0 0;
    border: none;
    border-radius: 4px;
    border-color: none;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.42857;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    color: #fff;
    background-color: #1ABC9C;
    padding: 5px 25px;
	letter-spacing: 0.07em;
	transition: all 0.5s ease;
	text-transform: uppercase;

}
#header .buttons-bar{
	margin-bottom: 14px;
}
#header button:hover{
	background-color: #48C9B0;
	}
.flags>img:not(:nth-child(2)){
    opacity: 0.6;
    cursor: pointer;
}
body>.flags{
    margin-top: -12px;
    position: absolute;
    padding-bottom: 0;
    right: 10px;
    padding: 0 5px;
    background-color: #ffffff;
    border-radius: 4px;
}
#page-wrapper {
    padding: 0 15px;
    background-color: #fff;
    overflow: auto;
    min-height:220px;
}
#world-map{
	padding-top: 40%;
	margin: 30px;
	background-image: url("../images/worldmap.png");
	background-size: 100% 100%;
}
#page-wrapper button{
	background-color: #1ABC9C;
	border: none;
	color: #fff;
	-moz-user-select: none;
	background-image: none;
	border-radius: 4px;
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857;
	padding: 6px 12px;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	transition: all 0.5s ease;
}
#page-wrapper button:hover{
	background-color: #48C9B0;
}
span.subpanel-title{
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100%;
    color: #145B8E;
	font-size: 16px;
}

#plot_controls button{
	margin-bottom: 10px;
}
#footer {
    background-color: #f5f5f5;
    border-color: #e7e7e7;
    left: 0;
    right: 0;
    min-height: 70px;
    position: absolute;
    width: 100%;
    padding: 10px 5px 25px;
    min-width: 515px;
}
.brand{
	font-size: 18px;
	font-weight: 300;
	height: 80px;
	line-height: 56px;
	padding: 15px;
}
.logo{
	box-sizing: border-box;
	float: left;
	height: 80px;
	padding: 10px;
	vertical-align: middle;
	border: 0 none;
}
.title{
	border-bottom: 1px solid #eee;
    margin: 20px 0;
	color: #145B8E;
    font-size: 24px;
    font-weight: 700;
	text-transform: uppercase;
}
.tabs{
	width: 100%;
	display: table;
	box-sizing: border-box;
	clear: both;
	border-bottom: 1px solid #ddd;
	list-style: outside none none;
	padding-left: 0;
	content: " ";
	margin-bottom: 0;
}
.tabs > li{
	float: left;
	margin-bottom: -1px;
	display: block;
	position: relative;
}
.tabs > li > a{
	display: block;
	padding: 10px 15px;
	position: relative;
	border-radius: 4px 4px 0 0;
	line-height: 1.42857;
	margin-right: 2px;
	text-decoration: none;
	background-color: #fff;
	background-color: #fff;
    border-radius: 4px 4px 0 0;
    line-height: 1.42857;
	cursor: pointer;
}
.tabs > li a:hover {
	border-color: #eee #eee #ddd;
	background-color: #eee;
	text-decoration: none;
}
.tab-content{
	border: 1px solid #ddd;
	padding: 15px;
	margin-bottom: 10px;
	border-top-width: 0;
}
.tabs > li.active > a, .tabs > li.active > a:hover, .tabs > li.active > a:focus {
    background-color: #fff;
    border-color: #ddd #ddd transparent;
    border-image: none;
    border-style: solid;
    border-width: 1px;
    color: #555;
    cursor: default;
}
.panel{
    border: 1px solid #145B8E;
    border-radius: 4px;
    margin-bottom: 20px;
    min-height: 20px;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: auto;
}
.subpanel:not(:last-child){
    margin-bottom: 20px;
}
.panel h4{
	font-size: 18px;
	font-weight: 500;
	text-transform: uppercase;
}
.panel-header {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    font-size: 18px;
    padding: 10px 15px;
    text-align: center;
    color: #fff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.panel-body{
	padding: 2%;
	overflow: auto;
}

/*Monitor******************************************************************/

.monitor{
	-webkit-column-count: 8;
	-moz-column-count: 8;
	column-count: 8;
	-webkit-column-width: 510px;
	-moz-column-width: 510px;
	column-width: 510px;
	-webkit-column-gap: 10px;
	-moz-column-gap: 10px;
	column-gap: 10px;
}
#status_panel{
	border: none;	
}
#status_message{
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.05em;
}
.monitor>.panel{
	width: 500px;
}
#status_banner{
	background: rgba(0, 0, 0, 0) url("../images/status.gif") repeat scroll 120px 0;
	height: 10px;
    width: 60px;
}
.display{
	background-color: #F3F3F3;
	border: 1px solid #E5E5E5;
	border-radius: 4px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
	margin-bottom: 5px;
	min-height: 20px;
	padding: 9px;
	text-align: right;
	position: relative;
}
.display-value{
	font-size: 50px;
	font-weight: 300;
	line-height: 1.1;
}
.display>.warnings{
	clear: both;
	float: left;
	margin: -30px 3px 3px;
	position: absolute;
	top: 65px;
	left: 4px;
}
.display>.warnings path{
	fill: red;
	color:red;
}
.display-variable{
	float: left;
}
.input-group{
	display: table;
	padding: 0;
	margin: 5px 0;

}
.input-group>input{
	border:0;
	color: #555;
}
.input-group>span{
	padding: 6px 12px;
    font-size: 16px;
    line-height: 1;
    text-align: center;
}
.input-group>span:first-child{
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}
.input-group>span:last-child{
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}
.input-group>span {
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	min-width: 65px;
	padding: 6px 12px;
	text-align: center;
	display: table-cell;
	background-color: #e5e5e5;
}
/*.warning-on.input-group{
	color: red;
}
.warning-on.input-group>span{
	background-color: #ff7e82;
	color:#fff;
}
.warning-on>.input-group{
	background-color: #0ff8e3
}*/

/*Login******************************************************************/
.login-body>.flags{
	margin-bottom:10px;
}
.login-panel{
	position : absolute;    
	width    : 350px;
	left     : calc(50% - 175px);
	top      : 20%;
	border-color: #ddd;
}
.login-body{
	background-color: #fff;
	padding: 15px;
	color: #004b99;
	text-align: center;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 14px;
	line-height: 1.42857;
}
.login-body fieldset{
	border: 0 none;
	margin: 0;
	min-width: 0;
	padding: 0;
	margin: 5px 0;
}
.login-body fieldset input{
	width: 100%;
	transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
	padding: 6px 12px;
	font-size: 14px;
	border-radius: 4px;
	border: 1px solid #ccc;
	margin: 3px 0;
}
.login-panel input[type=submit]{
	padding: 10px 16px;
	font-size: 18px;
	cursor: pointer;
}
/*Reports******************************************************************/

.plot-wrapper > div{
	position: relative;
	background-color: #EFEFEF;
	height: 415px;
	margin-bottom: 12px;
	padding: 10px 160px 10px 10px;
	width: 100%;
	border-radius:5px;
}
.plot{
	width: 100%;
	height: 100%;
	background-color: white;
	border-radius:5px
}
.plot-wrapper .plot_controls{
	position: absolute;
	right: 10px;
	top: 10px;
	width: 140px;
}
.plot-wrapper .plot_controls *{
	position: relative;
}
.plot-wrapper .plot_controls>*{
	margin-bottom: 5px;
}
.plot-wrapper .plot_controls button{
	width: 130px;
}
.plot-wrapper .caption{
	font-weight: bold;
	margin-left: 15px;
	line-height: 35px;
}
.plot-header .caption{
	margin-left: 15px;
	line-height: 25px;
}
.plot-tooltip{
	position: absolute;
	display: none;
	border: 1px solid #fdd;
	padding: 2px;
	background-color: #fee;
	opacity: 0.80;
}

/*Settings******************************************************************/

#operators>table{
	width:800px;
}
#operators td[field=code]{
	width:100px;
}
#operators input[field=fullname]{
	width:400px;
}
#operators input[field=tag]{
	width:220px;
}
#operators > table > tbody > input{
	border-radius: 5px;
}
#thresholds>table{
	width:650px;
}
#thresholds .close_group {
  border-bottom:2px solid #ddd;
}

#shifts>table{
	width:500px;
}

/*Plan******************************************************************/
.disabled{
	opacity: 0.4;
}
.locator{
	position: absolute;
    z-index: 101;
    display: block;
}
li.welder-value:last-of-type{
	border: none;
}
#plant-plan{
	/*position: absolute;*/
	width: calc(100%);
	height: 800px;
	padding-top: 25%;
	background-image: url("../images/factory.png");
	background-size: 100% 100%;
}
li.welder-name{
    border: none;
    border-radius: 4px;
    border-color: none;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    color: #ea6250;
    padding:0 10px;
    letter-spacing: 0.05em;
    font-weight: 700;
}
li.welder-type{
	font-weight: 700;
	color: #34495e;
}
li.welder-value{
	font-weight: 300;
	color: #34495e;
	border-bottom: 1px solid #C4C4C4;
}