/* Basic font settings */
body,table {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: 11px;
    color:#000000;
}

/* More body details */
body {
    border: 0px;
    padding: 0px;
    margin: 0px;
    background-color: #99aabb;
    text-align: center; /* Helps centering in ie6 (restored later) */
}

code.tt {
    font-family:'Lucida Console', monospace;
}

/*
 * Links
 */

/* Normal links */
a:link {text-decoration: underline; color: #000000;}
a:visited {text-decoration: underline; color: #222222;}
a:hover {text-decoration: underline; color: #FFFFFF; background-color: #222222;}

/* "Active" links */
a.active:link {font-weight: bold; text-decoration: none; color: #000000;}
a.active:visited {font-weight: bold; text-decoration: none; color: #222222;}
a.active:hover {font-weight: bold; text-decoration: none; color: #FFFFFF; background-color: #222222;}

/* Link separator. Normally a '--' string used to separate related links */
.link_separator { color: #000000; }

form { margin: 0px; padding: 0px; }

.inputText { width: 140px; }
.inputSubmit { }

input[type="text"],input[type="password"] {
    height: 17px;
}

input.width_100 {
    width:100%;
    box-sizing: border-box;
    height: 23px;
}

input[type="submit"] {
    background-color: #DDDDDD;
}
input[type="checkbox"] {
    margin-top: 0px; margin-bottom: 0px
}
input[type="radio"] {
    margin-top: 0px; margin-bottom: 0px;
    vertical-align: middle;
}
select {
    margin: 0px;
}

input[type="radio"] + label {
    vertical-align: middle;
}
input[type="checkbox"] + label {
    vertical-align: top;
}

/* Text adjustments for labels for select buttons (and text inputs).
 * Possibly looks worse in other browser */
.select_label {
    padding-top: 5px;
    padding-bottom: 3px;
    font-weight: bold;
}

a.browse_button {
    border: 2px outset white;
    background-color: #DDDDDD;
    padding: 1px;
    font-size: 12px;
    margin-right: 5px;
    color: #000000;
    text-decoration: none;
}
a.browse_button:visited {text-decoration: none; color: #000000 ;}
a.browse_button:hover   {text-decoration: none; color: #000000; background-color: #DDDDDD;}
a.browse_button:active  {border: 2px inset white; padding-left: 2px; padding-right: 0px; }

/*
 * Headers
 */

/* Page header */
h1 {
        font-size: 17px;
        font-family: Verdana;
        font-weight: bold;
        margin-bottom: 5px;
        margin-top: 0px;
        text-align: left;
}

/* Section header */
h2 {
        font-size: 14px;
        font-family: Verdana;
        font-weight: bold;
        margin-bottom: 3px;
        margin-top: 5px;
}

/* subsection header */
h3 {
        font-size: 12px;
        font-family: Verdana;
        font-weight: normal;
        margin-bottom: 5px;
}

.BodyContainer
{
    clear: both;
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    margin-top: 4px;
    margin-bottom: 4px;
    text-align: left; /* Restore centering hack */
}

.HeaderBlock, .BodyBlock, .MessageBlock
{
    background-color: #bbccee;
    border-bottom: #000000 1px solid;
    border-left: #000000 1px solid;
    border-right: #000000 1px solid;
    border-top: #000000 1px solid;
    margin-bottom: 5px;
}


.notice, .warning, .debug, .error { padding: 5px; }
.warning, .error { color: red; }
.error { font-weight: bold; }
.notice { color: green; }
.info { color: black; }

.ErrorBlock {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
}

.LogoutBlock {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    border: black 1px solid;
    background-color: #bbccdd;
    padding: 20px;
}

.DocBlock, .BodyBlock {
    padding-top: 10px;
    padding-bottom: 10px;
/*    overflow: hidden; */
}

.MessageBlock {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

.small { font-size: 8px; }
.medium { font-size: 10px; }
.note { font-size: 10px; font-style: italic; }

.left { text-align: left; }
.center { text-align: center; }
.right { text-align: right; }

dl.note dt { font-weight: bold; }

a.show_info {
    display: inline-block;
    /* line-height: 7px; check your icon height */
    background:url("../images/plus.png")  center left no-repeat;
    padding-left: 10px;
}

div.progress-container {
  display: inline-block;
  background:#343739;
  height: 10px;
  width: 100px;
  border-radius: 6px;
  overflow: hidden;
}

div.progress-bar {
  display: inline-block;
  height: 30px;
}

.progress_low {
  background: #3da74f;
}
.progress_mid {
  background: #f39c12;
}
.progress_high {
  background: #cc2f1e;
}

/*
 * Header Layout
 */

div.HeaderBlock div.PageTitle {
  margin-top: 5px;
  margin-left: 5px;
  float: left;
  clear: left;
}

div.HeaderBlock div.VendorLogo {
  margin-top: 5px;
  margin-right: 5px;
  float: right;
  clear: right;
}

div.HeaderBlock div.UserInfo {
  margin-bottom: 5px;
  margin-right: 5px;
  float: right;
  clear: right;
  margin-top: 3px;
  font-size: 12px;
}

div.HeaderBlock div.Navigation {
  margin-bottom: 5px;
  margin-left: 5px;
  margin-right: 5px;
  width: 100%;
  float: left;
  clear: left;
  margin-top: 5px;
}

div.HeaderBlock div.Navigation ul {
  margin: 0px;
  padding: 0px;
}

div.HeaderBlock div.Navigation li {
  display: inline;
  list-style-type: none;
  margin: 0px;
}

div.HeaderBlock .Navigation .menu a {
  margin-left: 5px;
  margin-bottom: 5px;
  margin-top: 1px;
  border: 1px solid black;
  background-color: white;
  padding: 3px;
  font-size: 12px;
  text-decoration: none;
  float: left;
}

div.HeaderBlock div.Navigation li.control_on,
div.HeaderBlock div.Navigation li.control_off {
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 0px;
  border: 0px;
  padding: 4px;
  display: block;
  float: right;
  vertical-align: middle;
  background-color: #5099ff;
/*  background-color: #bbccee; */
  text-align: center;
  font-size: 11px;
}

li.control_on {
    font-weight: bold;
}

/* Make the new submit button look like a link */
form.control {
  display: inline;
}
input.control {
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 0px;
  border: 0px;
  padding: 0px;
  background-color: inherit;
  vertical-align: inherit;
  text-align: center;
  text-decoration: underline;
  font-size: 11px;
}
li.control_on input.control {
  font-weight: bold;
}
input.control:hover {
    color: #FFFFFF; background-color: #000000;
    cursor: pointer;
}

div.HeaderBlock div.Navigation a:hover {color: #FFFFFF; background-color: #000000;}

div.HeaderBlock .End {
    clear: both;
}

div.HeaderBlock {
  background-color: #5099ff;
}

/*
 * Tabview stuff
 */

ul.tabs {
  margin: 5px 0px 0px 0px;
  padding: 0px;
  background: url("../images/tab_bottom.gif") repeat-x bottom;
  height: 20px;
}

ul.tabs li {
  display: inline;
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

ul.tabs li a {
  border: 1px solid black;
  margin: 0px 4px 0px 0px;
  padding: 2px 3px 2px 3px;
  font-weight: bold;
  font-size: 10px;
  line-height: 14px;
  float: left;

  background-color: #8888aa;
  display: block;
}

ul.tabs li a.selected {
  border-bottom: 1px solid #bcccee;
  background-color: #bcccee;
}

div.tab_page, div.notab_page, div.Compact {
  border-top: 0px solid black;
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  background-color: #bbccee;
  margin-bottom: 5px;
  padding: 5px;
  clear: left; /* Makes multiple tab rows slightly less ugly */
}

div.tab_page table, div.notab_page table {
    margin-bottom: 5px;
    margin-top: 5px;
}

ul.tabs li a {text-decoration: none; font-size: 12px;}
ul.tabs li  a:link {color: #000000;}
ul.tabs li  a:visited {color: #000000;}
ul.tabs li  a:hover {color: #FFFFFF; background-color: #222222;}

/* page without tabs */
div.notab_page {
    border-top: 1px solid black;
    margin-top: 5px;
}

/*
 * Settings layout
 */


/* Hidden submit button to override default submit action */
.hidden_submit
{
    width:0px;
    height:0px;
    border-width:0px;
    padding: 0px;
    background: none;
}

.section {
/*  border: 1px solid green; */
}

.section_info {
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 15px;
  font-weight: bold;
  font-size: 12px;
  vertical-align: top;
}

.section_info div {
  border-bottom: 1px solid black;
  text-align: left;
  margin-left: 10px;
  margin-right: 10px;
}

.subsection_info {
  width: 15%;
/*  border: 1px solid red; */
  padding: 2px;
/*  font-weight: bold; */
  font-size: 12px;
  vertical-align: top;
  padding-left: 20px;
}

.subsection_contents {
/*  border: 1px solid red; */
    text-align: left;
}

.subsection_separator, .section_separator {
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px dashed black;
  margin-top: 5px;
  margin-bottom: 5px;
}

.section_separator {
  width: 100%;
/*  border-top: 1px solid black; */
  border-top: 0px solid black;
}

.editlist_separator {
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 0;
}

.editlist_separator div {
  border-bottom: 1px solid #aabbdd;
  margin-left: 10px;
  margin-right: 10px;
}

.firmware_recommendation_box {
  display: none;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 10px;
  margin-left: 15px;
  max-width: 45rem;
  background-color: #8baeed;
  padding: 10px;
}

.firmware_recommendation_info_box {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.firmware_recommendation_info_title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 10px 0;
  gap: 2em;
}

.firmware_recommendation_info {
  display: flex;
  align-items: baseline;
  justify-items: flex-start;
  gap: 2em;
}

.firmware_recommendation_info_header {
  width: 21em;
  font-weight: 700;
}

.firmware_recommendation_button {
  padding: 10px;
}

.recommended_firmware_upgrade_button {
  padding: 2px 30px;
  background-color: #DDDDDD;
  box-sizing: border-box;
  border: 2px outset buttonborder;
  border-image: initial;
}

.firmware_recommendation_button a:hover {
  background-color: rgb(23, 23, 23);
  font-weight: 700;
}

div#upgrade_modal {
  width: 100%;
  height: 100vh;
  background-color: rgb(0 0 0 / 40%);
  position: fixed;
  z-index: 1 !important;
  top: 0;
  left: 0;
  display: none;
  justify-content: center;
  align-items: center;
}

div#upgrade_modal .upgrade_modal_box {
  display: block;
  background-color: #fafcff;
  width: 50%;
  top: 30%;
  padding: 20px;
  left: 20%;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

div.upgrade_modal_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3em;
}

div.upgrade_modal_header div {
  display: inherit;
  align-items: center;
  gap: 2em;
}

div.upgrade_modal_info {
  margin-bottom: 4em;
  font-size: 14px;
}

div.upgrade_modal_info div {
  margin-top: 4em;
}

div#modal_footer {
  display: flex;
  justify-content: flex-end;
  gap: 4em;
}

input.confirm_button {
  background-color: #1a79ff;
  color: #f5f5f5;
  font-weight: 800;
}

.upgrade_button {
  padding: 2px 2em;
  box-sizing: border-box;
  border: 0.5px outset buttonborder;
  background-color: #DDDDDD;
}

.width_full {
    width: 100%;
}

.upgrade_button:focus {
  border: 2px solid black;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.firmware_subheader {
  padding-right: 10px;
  font-size: 12px;
  font-weight: bold;
  margin: auto 0;
  width: 25%;
}

.firmware_subheader_info {
  width: 45%;
  padding-right: 10px;
}

body.modal-open {
  pointer-events: none !important;
}

body.modal-open #upgrade_modal {
  pointer-events: auto;
}

/*
 *   New-style tables
 */

.newTable {
  border-collapse: collapse;
  border-bottom: 1px solid black;
}

.responsiveTable {
  width: 60%;
}

.newTable tr.header th  {
  border-bottom: 1px solid black;
}

.newTable tr.extras.first > td, .newTable tr.extras.first > th {
  border-top: 1px solid black;
}

.newTable td {
    text-align: left;
    padding-left: 2px;
    padding-right: 2px;
}

.newTable td.compact {
    padding: 0px;
    margin: 0px;
}

.newTable th {
    text-align: left;
    padding-left: 2px;
    padding-right: 5px;
    font-weight: bold;
}

.newTable.compact {
    margin: 0px;
}

.newTable_footnote {
    border-bottom: none;
}

.newTable_footnote tfoot {
    border-top: 1px solid black;
}

.subsection_contents table {
  margin: 0px;
  padding: 0px;
}

table th
{
    text-align: left;
    font-weight: bold;
}

div.label, span.label, label.label
{
    display: inline;
    text-align: left;
    font-weight: bold;
}

/* Used to vertically align labels to checkboxes which are slighly taller than normal text */
.checkbox_label
{
    display: inline;
    text-align: left;
    font-weight: bold;
    vertical-align: top;
}

/* Table for horizontal grouping */

table.horiz {
  border-collapse: collapse;
}

table.horiz td {
    text-align: left;
    vertical-align: middle;
    padding-left: 1px;
    padding-right: 1px;
    padding-bottom: 2px;
    padding-top: 2px;
}

table.horiz th {
    text-align: left;
    vertical-align: middle;
    padding-left: 2px;
    padding-right: 5px;
    padding-bottom: 2px;
    padding-top: 2px;
    font-weight: bold;
}

table.width100 {
    border: none;
    width: 100%;
}

table.no_cpadding_no_cspacing {
    border: none;
    border-spacing: 0;
}

table.no_cpadding_no_cspacing td {
    padding: 0px;
}

table.no_cpadding_no_cspacing th {
    padding: 0px;
}

table.modem_spacing {
    border: none;
    border-spacing: 5px;
}

table.modem_spacing td {
    padding: 0px;
}

table.modem_spacing th {
    padding: 0px;
}

td.vertical_align_top {
    vertical-align: top;
}

th.vertical_align_top {
    vertical-align: top;
}

td.vtop_padding_right {
    vertical-align: top;
    padding-right: 10px;
}

tbody.extended_settings{
  background-color: #8baeed;
}

td.extended_configuration {
  border-radius: 0px 0px 0px 15px;
}

/* Less space-wasting lists */
ol {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-left: 2em;
}

/* Table with columns of minimal width, but without line breaks */
table.min-col-1 tr td:first-child {
    white-space: nowrap; width: 1px;
}
table.min-col-1 tr th:first-child {
    white-space: nowrap; width: 1px;
}

table.min-col-2 tr td:nth-child(2) {
    white-space: nowrap; width: 1px;
}
table.min-col-2 tr th:nth-child(2) {
    white-space: nowrap; width: 1px;
}

/*
 * For the Status page
 */

.productPicture {
  border: 1px solid black;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5px;
  margin-bottom: 5px;
  display: block;
  text-align: center; /* Helps centering on IE6 */
}

#rt_clock, #rt_clock_tz { font-size: 9px; }

.firmware_notification {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2em;
}

.firmware_notification a {
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}

.iss_bonding_info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.iss_bonding_status_box {
  margin-right: 20px;
}

.iss_bonding_status {
  display: inline-block;
  margin: 0px 5px;
}

.status_ok {
  background-color: #3da74f;
  border-radius: 50px;
  width: 9px;
  height: 9px;
}

.status_degraded {
  background-color: #f39c12;
  width: 5px;
  height: 10px;
  border-radius: 50px;
}

.status_offline {
  background-color: #cc2f1e;
  width: 10px;
  height: 5px;
  border-radius: 50px;
}

/*
 * Disk browsing
 */

.file_sequence_separator {
    border-top: 1px solid #aabbdd;
}

/* used for public keys (nad possibly more)  */
.code {
    font-family: courier, fixed;
    overflow: auto;
    word-wrap: break-word; /* Only works in IE */
}

/* used for public keys in text inputs */
input.key, textarea.key {
    font-family: courier, fixed;
    font-size: 12px;
    overflow: hidden;
    word-wrap: break-word; /* Only works in IE */
    /* border: 0px; */
    background-color:  #bbccee;
}

/* used for certificate, keys and let's encrypt inputs */
input.monospace, textarea.monospace {
	font-family: monospace, courier, fixed;
	font-size: 13px;
}

/*
 * Tooltips
 */
.tooltip {
    position: relative;
}

div.extend_settings{
  display: flex;
  align-items: baseline;
  gap: 1em;
  cursor: pointer;
}

a.tooltip:hover {
    text-decoration: none;
    background-color: transparent;
}

.tooltip .tip {
    display: inline;
    margin-left: -999em;
    margin-top: -999em;
    position: absolute;
}

.tooltip:hover .tip {
    display: inline;
    background: rgb(187, 204, 238);
    border: 1px solid #000000;
    border-radius: 3px 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    padding: 0.4em 0.4em 0.4em 0.4em;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 3px 3px rgba(0, 0, 0, 0.1); -moz-box-shadow: 3px 3px rgba(0, 0, 0, 0.1);
    position: absolute; left: 1em; top: 2em; z-index: 99;
    margin-left: 0;
    margin-top: 0;
    color: #000000;
    white-space: nowrap;
}

.tooltip:hover .tip_bottom {
    top: auto;
    bottom: 100%;
}

/*
 * Mixer tab
 **/
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
div.rel_div { position:relative; text-align:center; vertical-align:top; height:100%; width:100%; margin:0; padding:0;}
.key_input img.thumbnail, .key_output img.thumbnail { position:absolute; top:10px; left:4px;}
div.pip_bg {position:relative; width:116px; height:70px; top:10px; left:4px; border-style: solid; border-color: grey; border-width: 2px; /*background-color: white*/}
.key_pip div.pip_1 {position:absolute; top:0px; left:0px; width:50%; height:50%; background-color: white}
.key_pip div.pip_2 {position:absolute; top:0px; right:0px; width:50%; height:50%; background-color: white}
.key_pip div.pip_3 {position:absolute; bottom:0px; left:0px; width:50%; height:50%; background-color: white}
.key_pip div.pip_4 {position:absolute; bottom:0px; right:0px; width:50%; height:50%; background-color: white}
.key_input .key_name, .key_output .key_name, .key_rec .key_name, .key_pip .key_name {position:absolute; bottom:10px; left:10px; right:10px; margin:auto;}
.key_name {bottom:0; white-space:nowrap;}
.key_name .icon {position:static; margin:0;}
.key_pip {background-color: #040;}
.key_pip.button {background-color: #070;}
.key_pip.selected {background-color: #0f0; font-weight:bold}
.key_input {background-color: #040;}
.key_input.button {background-color: #070;}
.key_input.selected {background-color: #0f0; font-weight:bold}
.key_output {background-color: #007; color: #fff;}
.key_output.selected {background-color: #00f; font-weight:bold}
.key_empty, .key_info {background-color: #222;}
.key_rec {background-color: #000; color:#fff;}
.key_rec img {position:relative; top:30px;}
.key_info .key_name {position:absolute; bottom:50px; left:10px; right:10px; margin:auto; border:1px solid black; background-color:#aa0; padding:1em;}
.button { cursor: pointer; }
.padlock_icon { position: absolute; left: 5px; top: 14px; }

#info {position:absolute; width:450px; height:80px; top:300px; left:0; right:0; margin:auto; padding:1em; border: 2px solid #000; background-color:#bce; text-align:center; z-index:101;}
#pip_off_info { position:absolute; width:120px; height: 100px; top:35px; left:35px; z-index: 100; padding:3em; background-color:#888; border:2px solid black; display:table;}
#pip_off_info div { display:table-cell; vertical-align:middle;}

/* These can be used to hide or remove-hide elements. */
.hidden {visibility:hidden !important;}
.removed {display:none !important;}

/* Chart */
.line-legend {margin-top: 0}
.line-legend li {display: inline; margin-right: 10px;}
.line-legend li span {display:inline-block; position:relative; width:1em; height:1em; }
#chart_legend {margin: 0 auto; display: table}

/* License footnotes */
div.license_footnote {
    text-align: center;
    font-size: 10px;
}

/* API documentation */
#swagger-ui {
    box-sizing: border-box;
    /* overflow-y: scroll; */
    /* overflow: -moz-scrollbars-vertical; */
    border: 1px solid black;
    background-color: #fafafa;
    text-align: left;
    margin: 5px;
    padding: 5px;
}
#swagger-ui *
{
    box-sizing: inherit;
}

/* RESPONSIVE TO MOBILE */
@media screen and (max-width: 800px){
  .firmware_recommendation_box {
    flex-direction: column;
    align-items: baseline;
    max-width: 100%;
  }

  .firmware_recommendation_info_box {
    width: 100%;
  }
}

@media screen and (max-width: 1200px){
  .responsiveTable {
    width: 100%;
  }
}

/* AES67 */
table.soft-borders th, table.soft-borders td {
    border: 1px solid #99AABB;
}
