/* Version: 2017 July 7 */
/*********** WHOLE PAGE *******************************************************/
.PageStyle {
	max-width: 800px;
	margin:    auto;
	vertical-align: top;
}

div.Logo {
	width : 100px;
	float:  left;
	margin: 5px 25px 15px 5px;
}

div.UofT {
	margin: 5px 5px 5px 200px;
}

div.DeviceInfo {
	float :  right;
	margin:  5px 5px 5px 5px;
	/*border:  2px solid lightgray;
	padding: 5px 5px 5px 5px;*/
}

div.ProjectName {
	font-family: "Times New Roman";
	font-size:   2.5em;
	text-align:  center;
}

.Apply{
	font-weight: bold;
	font-family: "Times New Roman";
	font-size:   125%;
	color:       red;
	background-color: white;
	text-align: right;
}

table.panel{
	text-align: top;
	width:      800px; 
	margin:     5px 5px 5px 5px;
}

.DivStyle{
	margin:         auto;
	vertical-align: top;
}

div.Foot {
	margin:         auto;
	vertical-align: bottom;
}

.progressBar {
	width:          50px;
	margin-left:   -10px;
	vertical-align: 50%;
}

input.UserInput1 {
	width: 40px;
}

input.UserInput2 {
	width: 50px;
}

input.UserInput3 {
	width: 100px;
}

input.LockUser {
	/* placeholder for JS to identify which object to lock */
}

.UserInput4 {
	width: 400px;
	float: left;
}

.DropDownBox1{
	width:  60px;
	height: 21px;
}

.DropDownBox2 {
	width:  100px;
	height: 21px;
}

.DropDownBox3 {
	width:  70px;
	height: 21px;
}

div.ControlBoxBig{
	width:  250px;
	height: auto;
	vertical-align: top;
	/*margin: auto;*/
}

div.ControlBoxSmall{
	width:  250px;
	height: auto;
	vertical-align: top;
	/*margin: auto;*/
}


/********** CONFIGURE/MONITOR SLIDER ******************************************/
/*Thanks to https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_switch*/

	div.page_state_box {
		padding: 5px;
	}

	.switch {
		position: relative;
		display:  inline-block;
		width:    100px;
		height:   34px;
	}

	.switch input {
		display:none;
	}

	.slider {
		position: absolute;
		cursor:   pointer;
		top:    0;
		left:   0;
		right:  0;
		bottom: 0;
		background-color: #ccc;
		-webkit-transition: .4s;
		transition: .4s;
	}

	.slider:before {
		position: absolute;
		content:  "";
		height:   26px;
		width:    26px;
		left:     4px;
		bottom:   4px;
		background-color: white;
		-webkit-transition: .4s;
		transition: .4s;
	}

	input:checked + .slider {
		background-color: #2196F3;
	}

	input:focus + .slider {
		box-shadow: 0 0 1px #2196F3;
	}

	input:checked + .slider:before {
		-webkit-transform: translateX(66px);
		-ms-transform:     translateX(66px);
		transform:         translateX(66px);
	}

	.slider.round {
		border-radius: 34px;
	}

	.slider.round:before {
		border-radius: 50%;
	}

span.slider_label {
	font-size: 1.5em;
}

span.slider_label_left {
	font-size: 1.5em;
	float: left;
}

span.slider_label_right {
	font-size: 1.5em;
	float: right;
}


/********** TTL OUTPUT SLIDER  AND INPUT MONITOR ***********************/
/* Thanks to https://proto.io/freebies/onoff/ */

.ttlout {
	float:            left;
	width:            100px;
	text-align:       center;
	font-weight:      bold;
	font-family:      "Times New Roman";
	font-size:        100%;
  border:           0px;
	background-color: white;
}

.ttlin {
	float:            right;
	width:            100px;
	text-align:       center;
	font-weight:      bold;
	font-family:      "Times New Roman";
	font-size:        100%;
  border:           0px;
	background-color: white;
}

.ttl {
	/* position: relative; */
	width: 100px;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select: none;
	}
    .ttl-checkbox {
        display: none;
    }
    .ttl-label {
        display:  block;
				overflow: hidden;
				cursor:   pointer;
        border:   2px solid #999999;
				border-radius: 20px;
    }
    .ttl-inner {
        display:    block;
				width:      200%;
				margin-left: -100%;
        transition: margin 0.3s ease-in 0s;
    }
    .ttl-inner:before, .ttl-inner:after {
        display:     block;
				float:       left;
				width:       50%;
				height:      20px;
				padding:     0;
				line-height: 20px;
        font-size:   14px;
				color:       white;
				font-family: Trebuchet, Arial, sans-serif;
				font-weight: bold;
        box-sizing:  border-box;
    }
    .ttl-inner:before {
        content:          "HIGH";
        background-color: #34A7C1;
				color:            #FFFFFF;
        text-align:       center;
        /*padding-left: 10px;*/
    }
    .ttl-inner:after {
        content:          "Low";
        background-color: #EEEEEE;
				color:            #999999;
        text-align:       center;
        /*padding-right: 10px;*/
    }
    .ttl-checkbox:checked + .ttl-label .ttl-inner {
        margin-left: 0;
    }
    .ttl-checkbox:checked + .ttl-label {
        right: 0px; 
    }
