H1 {
   margin:auto;
   text-align:center;
}
H2 {
   margin:auto;
   text-align:center;
}
H3 {
   margin:auto;
   text-align:center;
}

.toolbox {
    padding:5px;
    float:left; 
    border:1px solid; 
    border-color:#8E2420;
    width:fit-content;
}

.rfcbutton {
    background: #8E2420;
    color:white;
    border-radius: 5px;
    border-style: none;
    padding:4px;
}

.rig_model {
    float:none;
    overflow:auto;
}


.model_tab {
    width:[% nav.x * 50 + 50 %];
    border-collapse: collapse;
    margin:auto;
    border: 2px solid;
    border-color:#8E2420;
}


.model_tab td, model_tab th {
    font-size:7pt;
    text-align:center;
    vertical-align:top;
    height:50px;
    width:50px;
    border:0px;
    padding:0px;
    background-color:#e6e6e6;
}

.model_cell_top_margin {
    padding-top:1px !important;
    height:49px;
}

.text_device {
    width:48px;
    text-align:center;
    vertical-align:middle;
    display:table-cell;
    padding:0px;
    outline:1px grey solid;
    height:48px;
}

.complex_device {
    height:48px;
    width:48px;
    text-align:center;
    vertical-align:middle;
    display:table-cell;
    outline:1px black solid;
    padding:0px;
    background-color:white;
}

.dev_selector {
    height:15px;
    max-width:45px;
    font-size:7pt
}


.tube_container {
   position:relative;
   top:0;
   left:0;
}

.tube_label {
   position:absolute;
   top:10px;left:0;
   width:50px;
   background-color:transparent;
   display:inline-flex;
   justify-content:center;
}

.devlabel {
   width:fit-content;
   padding-left:3px;
   padding-right:3x;
   margin:auto;
   font-weight:600;
   color:#8E2420;
}


/* logarea on rig_main */

.logarea {
     display:flex;
     justify-content:space-between;
     max-width:90%;
     row-gap:10px;
     column-gap:30px;
     flex-wrap:wrap;
     margin:auto;
}

.child {
     width:600px;
     display:flex;
     gap:5px;
     align-items:center;
}

.logheader {
     text-align:left;
     min-width:90px;
     font-size: 0.9em;
     padding-left:5px;
     padding-right:5px;
     min-height:30px;
     padding-top:10px;
}

.log {
     max-width:600px;
     max-height:120px;
     overflow-y:auto;
}

.log_single {
     max-width:600px;
     padding:5px;
     max-height:50px;
     overflow-y:auto;
}


/* End logarea of rig_main */



/* search browse buttons */
.search-nav-header {
    color:red;
}
.search-nav-btn, .search-nav-btn-act, .search-nav-btn-dots {
    border-style:outset;
    padding:5px;
    border:none;
    font-weight:900;
    background-color: Transparent;
    background-repeat: no-repeat;
    color:black;
    width:50px;
    font-size: 12pt;
}
.search-nav-btn-act {
    color:darkorange;
}
.search-nav-btn-dots {
    color:darkgrey;
}

.search_nav_btn, .search_nav_btn_select, .search_nav_select {
    height: 1.7em;
    background-color: transparent;
    border-radius: 3px;
    border: none;
}

.search_nav_select {
    color: black;
    background-color: white;
}

.search_nav_container {
  display:inline;
  padding:10px;
  text-align:center;
  margin:auto;
  background-color:#e9e9e9;
  margin-top:50px;
}

.search_nav_header {
  text-align:center;
  margin:auto;
  margin-top:40px;
  margin-bottom:20px;
}



.search_nav_btn {
  color:black;
}

.search_nav_btn_select {
  color:white;
  background-color:#505050;
  border-radius:5px;
}
