* {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    /*outline-color: #009688;*/
}
html, body {
    height: 100%;
}

body {
    font: normal 14px / 20px "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    background: #E0F2F1;/*# E3F2FD;*/
    color: #000;

}
/*
a {
    color: #303030;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}*/
.clear-both {
    clear: both;
}
.left {
    float: left;
}
.right {
    float: right;
}
.note {
    border-bottom: 1px dashed silver;
}
/*
.working{
    border-style: dotted;
    border-color: #D80E0E;
    border-width: 1px;
}
.mbtn {
    background: #3498db;
    background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
    background-image: -moz-linear-gradient(top, #3498db, #2980b9);
    background-image: -ms-linear-gradient(top, #3498db, #2980b9);
    background-image: -o-linear-gradient(top, #3498db, #2980b9);
    background-image: linear-gradient(to bottom, #3498db, #2980b9);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-family: Arial;
    color: #ffffff;
    font-size: 14px;
    padding: 8px 10px 8px 10px;
    text-decoration: none;
    border: none;
    margin-left: 10px;
}

.mbtn:hover {
    background: #3cb0fd;
    background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
    background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
    text-decoration: none;
}


#machine_info, #patient_info {
    float: left;
    background-color: #332836;
    color: #ffffff;
    padding-top: 16px;
    height: 32px;
    width: 100%;    
    padding-left: 5px;
    margin: auto;
    overflow:hidden;
}
#machineName{
    line-height: 32px;
    
    color:blueviolet;
}
#machine_id {
    width: 400px;
    margin-right: 20px;
}
#update_button{
    width: 160px;
    margin-right: 20px;
}
#body_part {
    margin-top: 10px;
    margin-right: 25px;
}
*/
#main-wrapper {
    padding: 5px;
    height: calc(100% - 10px);
}
#port-picker {
    float: left;
    height: 20px;
    margin-bottom: 5px;
}
#port-picker li {
    float: left;
}
#port-picker select {
    height: 20px;
    line-height: 20px;
    float: left;
    margin-right: 5px;
    border: 1px solid silver;
}
#port-picker #port {
    width: 120px;
}
#port-picker #baud {
    width: 80px;
}
#port-picker #delay {
    width: 60px;
}
#port-picker a {
    float: left;
    display: block;
    width: 80px;
    height: 18px;
    border: 1px solid silver;
    line-height: 18px;
    text-align: center;
}
#port-picker a.connect {
    margin-right: 10px;
    color: white;
    font-weight: bold;
    background-color: #be2222;
}
#port-picker a.connect:hover {
    text-decoration: none;
    background-color: #ea3131;
}
#port-picker a.connect.active {
    background-color: #0fab16;
}
#port-picker a.connect.active:hover {
    background-color: #13d81d;
}
#port-picker .auto_connect {
    position: absolute;
    margin-top: 4px;
}
/*
#options {
    float: right;
    margin-right: 25px;
    width: 20px;
    height: 20px;
    background-image: url('./images/ic_settings_24px.svg');
    background-position: -1px -1px;
    opacity: 0.6;
}

#options:hover {
    opacity: 0.70;
}
#options.active {
    opacity: 0.70;
}
#options.active:hover {
    opacity: 0.85;
}
*/ 
/*
#pt-group input:focus ~ #pt-results { display: block }
*/
#pt-results {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0;
    margin: 0;
    width:81%;
    border-width: 1px;
    border-style: solid;
    border-color: #cbcfe2 #c8cee7 #c4c7d7;
    border-radius: 3px;
    background-color: #fdfdfd;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fdfdfd), color-stop(100%, #eceef4));
    background-image: -webkit-linear-gradient(top, #fdfdfd, #eceef4);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#pt-results li { display: block }

#pt-results li:first-child { margin-top: -1px }

#pt-results li:first-child:before, #pt-results li:first-child:after {
    display: block;
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    left: 50%;
    margin-left: -5px;
    border: 5px outset transparent;
}

#pt-results li:first-child:before {
    border-bottom: 5px solid #c4c7d7;
    top: -11px;
}

#pt-results li:first-child:after {
    border-bottom: 5px solid #fdfdfd;
    top: -10px;
}

#pt-results li:first-child:hover:before, #pt-results li:first-child:hover:after { display: none }

#pt-results li:last-child { margin-bottom: -1px }

#pt-results a {
    display: block;
    text-decoration: none;
    position: relative;
    margin: 0 -1px;
    padding: 6px 40px 6px 10px;
    color: #808394;
    font-weight: 500;
    text-shadow: 0 1px #fff;
    border: 1px solid transparent;
    border-radius: 3px;
}

#pt-results a:hover {
    text-decoration: none;
    color: #fff;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.3);
    border-color: #2380dd #2179d5 #1a60aa;
    background-color: #338cdf;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #59aaf4), color-stop(100%, #338cdf));
    background-image: -webkit-linear-gradient(top, #59aaf4, #338cdf);
    background-image: -moz-linear-gradient(top, #59aaf4, #338cdf);
    background-image: -ms-linear-gradient(top, #59aaf4, #338cdf);
    background-image: -o-linear-gradient(top, #59aaf4, #338cdf);
    background-image: linear-gradient(top, #59aaf4, #338cdf);
    -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 1px rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 1px rgba(0, 0, 0, 0.08);
}
#pt-results .osoid, #pt-results .globalId {
    display: none;
}
#options-window {
    display: none;
    position: fixed;
    right: 5px;
    top: 68px;
    padding: 5px;
    line-height: 24px;
    border: 1px solid #004d40;
    background-color: white;
    color:#009688;
    font-size: 17px;
    text-align: left;
    z-index: 10;
}
#options-window input {
    float: left;
    
    margin-top: 3px;
    margin-right: 5px;
}
#log {
    margin-bottom: 4px;
    height: 48px;
    border: 1px solid #004d40;
    background-color: white;
    overflow-y: scroll;
}
#log .wrapper {
    padding: 5px;
    -webkit-user-select: text;
}
#log a {
    font-weight: bold;
}
#log a:hover {
    text-decoration: underline;
}
#log p:nth-child(even){
    background-color: white;
}
#log p:nth-child(odd){
    background-color: #E0F2F1;
}
#tabs {
    position: absolute;
    width: 100%;
    /*margin-top: 1px;*/
    z-index: 2;
}
#tabs li {
    float: left;
    margin-right: 5px;
    border: 1px solid #004d40;
    border-bottom: 0;
}
#tabs li.active {
}
#tabs li.active a {
    height: 31px;
    background-color: white;
}
#tabs li.active a:hover {
    background-color: white;
    cursor: default;
}
#tabs li.active a.unlocked {
    color: teal;
}
#tabs li.active a.unlocked:hover {
    opacity:1;
    background-color: white;
}
#tabs li a {
    display: block;
    height: 30px;
    padding: 6px 14px 6px 14px;
    font-weight: bold;
    /*
    color: #848484;  inactive/locked 
    background-color: #d0d0d0;*/
    color: #aaa;
    background-color: #009688;
    text-decoration: none;
    transition:.2s ease-out;
}
#tabs li a:hover {
    /*text-decoration: none;*/
}
#tabs li a.unlocked {
    color: #fff;
}
#tabs li a.unlocked:hover {
    opacity:0.7;
    /*background-color: #acacac;*/
}
#content {
    position: relative;
    margin-top: 35px;
    padding-top: 1px;
    height: calc(100% - 156px);  /*- (port picker, log, tab) height:100%;*/
    
    background-color: white;
    border: 1px solid #004d40;
    overflow-y: auto;
    overflow-x: auto;
    z-index: 1;
}
.tab_therapy .back {
    display: block;
    position: absolute;
    bottom: 10px;
    height: 28px;
    line-height: 28px;
    padding: 0 15px 0 15px;
    text-align: center;
    font-weight: bold;
    border: 1px solid silver;
    background-color: #ececec;
}
.tab_therapy .back:hover {
    background-color: #dedcdc;
}
.oso_web {
    width:100%;
    height:443px;
}