/*@import url("http://netdna.bootstrapcdn.com/bootstrap/3.0.0-wip/css/bootstrap.min.css");*/

body {
    padding: 0 !important;
}

.btn {
    font-size: 14px;
}

.statusbox {
    border: 1px solid grey;
    box-shadow: 0 0 5px grey;
    font-size: 12px;
    font-weight: bold;
    padding: 1px;
    text-align: center;
    /* initially al boxes are grey */
    background-color: lightgrey;
}

.statusbox-small {
    border: 1px solid grey;
    box-shadow: 0 0 5px grey;
    font-size: 12px;
    font-weight: bold;
    padding: 1px;
    text-align: center;
    /* initially al boxes are grey */
    background-color: lightgrey;
    /*width: max-content;*/
    margin-right: 5px;
    width: 89%;
    margin-left: 5px;
}

.status-box-margin {
    margin-left: 10px;
    margin-right: 10px;
}

.fix-panel-hight {
    height: 220px;
}

.control-title {
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
}

.control-title-large {
    font-size: 14px;
    text-align: center;
    font-weight: 500;
}

.ro-text {
    font-size: 12px;
    height: 24px;
}

.panel-row-seperator-systemstate {
    height: 45px;
}

.panel-row-seperator {
    height: 35px;
}

.panel-row-seperator-medium {
    height: 22px;
}

.panel-row-seperator-small {
    height: 15px;
}

.panel-row-seperator-x-small {
    height: 8px;
}

.displayline {
    margin-bottom: 5px;
}

.displayline-padding-left {
    margin-bottom: 5px;
    padding-left: 10px;
}

.label-sm-spectra {
    font-size: 12px;
    padding-top: 3px;
    white-space: nowrap;
}

.label-xs-spectra {
    font-size: 12px;
    padding-top: 1px;
    overflow-wrap: initial;
    padding-left: 4px;
}

.input-sm-spectra {
    height: 24px;
    padding: 5px 0px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.input-xs-spectra {
    height: 18px;
    padding: 2px 2px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 1px;
}

.no-padding-left {
    padding-left: 3px; /*only small padding between next element */
}

.no-padding-right {
    padding-right: 0px;
}

.small-padding-left {
    padding-left: 5px;
}

.standard-padding-left {
    padding-left: 0px;
    padding-right: 0px;
}

.extended-padding-left {
    padding-left: 15px;
}

.standard-padding-right {
    padding-right: 15px;
}

.extended-padding-right {
    padding-right: 25px;
}

.gray-tooltip + .tooltip > .tooltip-inner {
    background-color: #4b5a7f;
}

.gray-tooltip + .tooltip > .tooltip-arrow {
    border-bottom-color: #4b5a7f;
}

.tooltip-inner {
    min-width: 200px; //the minimum width
white-space:pre-wrap;
}

.sf_button_padding {
    padding-top: 1px;
    padding-bottom: 1px;
}

.plotly-graph {
    float: left;
    margin-top: 0px;
    margin-right: 10px;
    width:100px;
    height:220px;
    border: 1px solid grey;
    box-shadow: 0 0 5px grey;
}

.plotly-graph-narrow {
    float: left;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    width:90px;
    height:220px;
    border: 1px solid grey;
    box-shadow: 0 0 5px grey;
}

.plotly-reference-graph {
    margin: 0px;
    padding: 0px;
    width:540px;
    height:320px;
    border: 1px solid grey;
    box-shadow: 0 0 5px grey;
}

.plotly-spectrum-graph {
    margin: 0px;
    padding: 0px;
    width:930px;
    height:405px;
    border: 1px solid grey;
    BOX-SHADOW: 0 0 5px grey;
}

.plotly-spectrum-graph-big {
    margin: 0px;
    padding: 0px;
    width:1124px;
    height:500px;
}

.plotly-trend-chart {
    margin: 0px;
    padding: 0px;
    width: 1124px;
    height:390px;
    border: 1px solid grey;
    BOX-SHADOW: 0 0 5px grey;
}

.plotly-trend-chart-medium {
    /*margin: 0px;*/
    /*padding: 0px;*/
    height: 350px;
    /*border: 1px solid grey;*/
    /*BOX-SHADOW: 0 0 5px grey;*/
}

.plotly-trend-chart-big {
    margin: 0px;
    padding: 0px;
    width: 1124px;
    height:450px;
    border: 1px solid grey;
    BOX-SHADOW: 0 0 5px grey;
}

#iframe-container {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
}

.alarm-table {
    margin: 0px;
}

.table-small {
    font-size: 12px;
    line-height: 1.2;
}
/**************************************************
 BOOTSTRAP SPECIALIZATIONS
 **************************************************/

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: #4b5a7f !important;
}

.panel-default {
    margin-bottom: 5px;
    border-color: #ddd;
}

.panel-heading {
    padding: 5px 10px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 12px;
    color: inherit;
}

.panel-body {
    padding: 10px;
}

.panel-body-trend {
    padding-top: 3px;
    padding-bottom: 0px;
    padding-left: 10px;
    padding-right: 10px;

    height: 44px; /* ONLY FOR WEBSERVER */

    background-color: #f5f5f5;
}

.modal-dialog {
    margin: 30px auto;
}

.modal-dialog-small {
    position: relative;
    width: 600px;
    margin: 30px auto;
}

.modal-dialog-very-small {
    position: relative;
    width: 300px;
    margin: 30px auto;
}

.table>tbody>tr.danger>td,
.table>tbody>tr.danger>th,
.table>tbody>tr>td.danger,
.table>tbody>tr>th.danger,
.table>tfoot>tr.danger>td,
.table>tfoot>tr.danger>th,
.table>tfoot>tr>td.danger,
.table>tfoot>tr>th.danger,
.table>thead>tr.danger>td,
.table>thead>tr.danger>th,
.table>thead>tr>td.danger,
.table>thead>tr>th.danger {
    background-color: red;
}

connection {
    border: 2px solid #000000;
}
.connected {
    display: grid;
}

.disabled-link {
    pointer-events: none;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f5f5f5;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: lightgrey;
}

.bg_row_selected {
    background-color: #4a5a7e !important;
    opacity: 0.5  !important;
    color: white;
    font-size: 11px;
}

#spectra_store_spectra_chooser_table td {
    font-size: 10px;
}


#main_panel_analytical_results.row .row:first-child > .col-lg-1 {
    padding-left: 2px;
}

#service_start_reference_scan_button_link {
    display: block;
}

#service_start_control_scan_button_link {
    display: block;
}

#plc_set_manual_button a {
    display: block;
}

#plc_light_on_off_button a {
    display: block;
}

.hidden {
    display: none;
}

.nav-item.active {
    background-color: #d8d9db;
}

.nav-item {
    line-height: 55px;
}

.nav-link {
    white-space: nowrap;
}

nav {
    border-bottom-width: 1px !important;
    border-bottom-color: #dfdfdf;
    border-bottom-style: solid;
}

.navbar {
    padding: unset !important;
}

.navbar-brand > img {
    width: 205px;
}

.login-button {
    margin: unset;
    font-size: 20px;
    padding-left: 20px;
}

.pull-right {
    float: right;
}

/*#============================================*/

.lang-menu {
    margin-top: 9px;
    margin-left: 14px;
    float: right;
}
.lang-menu .selected-lang {
    display: flex;
    justify-content: space-between;
    line-height: 2;
    cursor: pointer;
}
.lang-menu .selected-lang {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url(../images/flags/en.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.lang-menu ul {
    margin: 0;
    padding: 0;
    display: none;
    background-color: #fff;
    border: 1px solid #f8f8f8;
    position: absolute;
    top: 43px;
    /*right: 0px;*/
    width: 145px;
    border-radius: 5px;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}


.lang-menu ul li {
    list-style: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
}

.lang-menu ul li a {
    text-decoration: none;
    width: 135px;
    padding: 5px 10px;
    display: block;
}

.lang-menu ul li:hover {
    background-color: #f2f2f2;
}

.lang-menu ul li a:before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    vertical-align: middle;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
}

.de:before {
    background-image: url(../images/flags/de.png);
}

.en:before {
    background-image: url(../images/flags/en.png);
}

.zh:before {
    background-image: url(../images/flags/zh.png);
}

.ja:before {
    background-image: url(../images/flags/ja.png);
}

.lang-menu:hover ul {
    display: block;
}
