/* shared */
body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #363636;
    margin-bottom: 32px;
}

h1, h2, h3, h4, h5, h6 { font-weight: bold }

h2 { font-size: 30px; }

h3 { font-size: 26px; font-weight: 500; }

p { margin: 1em 0; line-height: 22px; }

a:hover, a:focus {
    font-weight: 500;
    text-decoration: none;
    color: inherit;
}

::selection { background: #F07D00; color: #fff; }
::moz-selection { background: #F07D00; color: #fff; }

.btn-orange {
    background-color: #F07D00;
    color: #fff; }

.btn-orange:hover, .btn-orange:focus {
    background-color: #D26E00;
    color: #fff; }

/* dryve */

#programm button.btn, #programm button, a.btn {
    border-radius: 0;
    border: 0;
    font-weight: 500;
}

#programm button.btn {
    text-align: center; }

#achse {
    position: static;
    margin: 0.5em auto;
    /* height: 200px; */
    z-index: 20;
}

#achse .affix-container.affix-activated.affix-bottom,
#achse .affix-container.affix-activated.affix-top {
    position: relative;
}

#achse .affix-container {
    z-index: 20;
}

#achse .affix-container.affix-activated {
    padding-bottom: 10px;
    background-color: #fff;
    background: linear-gradient(to bottom, #fff 95%, transparent 100%);
}

@media (min-height: 500px) {
    #achse .affix-container.affix.affix-activated {
        top: -60px;
        position: fixed;
        width: 100%;
    }
}

#achse span {
    text-align: center;
    display: block;
    margin: 0.5em auto;
}

.achse-container {
    position: relative;
    margin: 0;
}

#schlitten {
    position: absolute;
    z-index: 2;
    top: 68px;
    left: 6.1038%;
    width: 118px;
    height: auto;
}

#measuring-tape img {
    width: 100%;
    height: auto;
}

#programm {
    margin: 20px 0;
    border: 3px solid #4A4A4A;
    border-radius: 4px;
}

#programm .frame {
    background:#4a4a4a;
    padding: 3px;
}

#programm .frame .circle {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: #F07D00;
    margin-left: 4px;
}

#programm .title {
    display: block;
    height: 60px;
    background-color: #848484;
    clear: both;
    line-height: 60px;
    margin-bottom: 10px;
    font-size: 12px;
}

#programm .title .icon.igus-logo {
    float: left;
    margin-top: 10px;
    margin-right: 20px;
    width: 80px;
    height: 40px;
}

#programm .title .name {
    float: left;
    font-size: 160%;
}

#programm .title button {
    background-color: #F07D00;
    margin-top: 15px;
    margin-left: 10px;
    color: #fff;
    float: right;
}

#programm .frame-content {
    display: flex;
}

#programm .nav-tabs {
    flex: 0 0 170px;
}

#programm .tab-content {
    padding-left: 40px;
    padding-right: 10px;
    flex: 1 1 auto;
    overflow: hidden;
}

#programm ul.nav li {
    margin-bottom: 5px;
}

#programm ul.nav a {
    color: #000;
    background-color: #d0d1d3;
    margin-bottom: 0;
    padding: 6px 15px;
    font-size: 12px;
    line-height: 20px;
    height: 44px;
}

#programm ul.nav a span {
    position: relative;
    top: -12px;
    left: 5px;
}

#programm ul.nav .icon {
    display: inline-block;
    width: 32px;
    height: 32px;
}

#programm ul.nav a:hover, #programm ul.nav li.active a {
    background-color: #f90;
    font-weight: normal;
}

#programm ul.nav li.active a::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 0px;
    border-style: solid;
    border-width: 22px 0px 22px 30px;
    border-color: transparent transparent transparent #f90;
}

#programm .nav-tabs .info {
    background-color: #d0d1d3;
    width: 100%;
    font-size: 12px;
    margin: 0;
    padding: 10px 0;
    margin-bottom: 5px;
}

#programm .nav-tabs .info ul {
    width: 100%;
    list-style: none;
    padding-left: 10px;
    margin: 0;
}

#programm .nav-tabs .info li {
    margin-bottom: 10px;
}

#programm .nav-tabs .info li:last-child {
    margin-bottom: 0;
}

#programm #status {
    margin-bottom: 0;
}

#programm #leds span {
    margin-right: 5px;
}

#programm #leds .circle-green::before {
    background-color: #6dbf40 !important;
}
#programm #leds .circle::before {
    content: '';
    display: inline-block;
    border: 2px solid #e9f4e2;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    background-color: #BBB;
    margin-bottom: 2px;
}
#programm #leds .circle::before {
    vertical-align: middle;
}

#programm #status label {
    width: 85px;
    margin-bottom: 0;
}

.tab-pane {
    overflow: auto;
}

.tab-pane.demo {
    position: relative;
    max-height: 650px;
}

.tab-pane.demo img {
    opacity: 0.6;
}

#fahrprofile {
    width: 100%;
}

#fahrprofile p { margin: 0.5em 0; }

#fahrprofile .col-sm-3:first-child {
    padding-left: 0;
}

#fahrprofile .col-sm-3:last-child {
    padding-right: 0;
}

#fahrprofile .buttons button {
    width: 100%;
    margin-bottom: 0.2em; }

#fahrprofile table {
    font-size: 14px;
}

#fahrprofile .table-hover>tbody>tr.active,
#fahrprofile .table-hover>tbody>tr.selected {
    background-color: #F07D00;
    color: #fff;
}

/*
#fahrprofile .table-hover>tbody>tr:hover {
	background-color: rgba(240,125,0,0.5);
	color: #fff;
}
*/

#fahrprofile .table-hover>tbody>tr:hover input {
    /* background-color: rgba(255,255,255,0.3); */
}

#fahrprofile table thead tr {
    font-weight: 700;
    background: #f3f3f3;
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0,#eee),color-stop(1,#fff));
    background: -ms-linear-gradient(bottom,#eee,#fff);
    background: -moz-linear-gradient(center bottom,#eee 0,#fff 100%);
    background: -o-linear-gradient(#fff,#eee);
    -moz-background-clip: padding-box;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-border-radius: -1px -1px 0 0;
    border-radius: -1px -1px 0 0;
}

#fahrprofile table tbody td {
    padding: 0;
    position: relative; }

#fahrprofile table tbody td span {
    padding: 0 5px; }

#fahrprofile table tbody tr:nth-child(odd) {
    background-color: rgb(208, 209, 211); }

#fahrprofile table tbody td, #fahrprofile table tbody th {
    vertical-align: middle;
    background-color: inherit; }

#fahrprofile table tbody th {
    cursor: default;
}

#fahrprofile table input, #fahrprofile table select {
    width: 100%;
    padding: 5px;
    border: 0;
    background-color: transparent;
    /* background-color: rgba(0,0,0,0.1); */
    color: inherit;
    outline: 0;
}

#fahrprofile select:checked,
#fahrprofile select:hover {
    color: #000
}

#fahrprofile table td.error input {
    background-color: red;
    color: #fff;
    font-weight: bold;
}

#fahrprofile table tbody .glyphicon {
    position: absolute;
    top: 6px;
    right: 0;
    font-size: 18px;
    color: #fff;
    display: none;
    background-color: red;
}

#fahrprofile table tbody td.error .glyphicon {
    display: block;
    z-index: 4;
}

#errors ul {
    padding-left: 30px;
    margin-top: 10px;
}

p.alert {
    margin: 0;
}

#fahrprofile .info {
    margin-bottom: 0.5em; }

#fahrprofile .info p {
    font-style: italic; }

#fahrprofile h4 {
    font-size: 16px;
}

#graph_canvas {
    width: 100% !important;
    height: 200px !important;
    margin-right: 10px;
    margin-top: 10px;
}

#graph_canvas input[type=text] {
    display: none !important;
}

#graph_canvas .dygraph-label {
    font-style: italic;
    font-size: 14px;
}

#log {
    max-height: 200px;
    overflow: scroll;
}



.flip-glyphicon {
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
}

.teach .btn-group-justified {
    margin-bottom: 0.5em;
}

.teach .btn-group-justified span {
    font-size: 2em;
    vertical-align: middle;
}



@media (max-width: 991px) {
    .teach .btn-group-justified span {
        font-size: 1.3em; }
}
