* {
    margin: 0;
    padding: 0;
}

a {
    color: #000000;
}

body {
    font-family: helvetica, sans-serif;
    font-size: 10pt;
    line-height: 105%;
    background-color: #DDDDDD;
    padding: 0 5px;
}

table {
    border-collapse: collapse;
    border: 1px solid #000000;
    background-color: #eeeeee;
    color: #000000;
    border-spacing: 1px;
    padding: 1px;
    margin-top: 3px;
    display: inline-table;
}

th, td {
    vertical-align: top;
    text-align: left;
    padding: 2px;
    border: 1px solid #aaaaaa;
    word-wrap: break-word;
    font-size: 9pt;
}

pre {
    font-family: helvetica, sans-serif;
    font-size: 9pt;
    overflow: auto;
    max-height: calc(100vh - 500px);
    min-height: 400px;
}



.menu, .submenu {
    margin: auto -5px;
    font-size: 13pt;
    font-weight: bold;
    padding: 5px;
    background-color: #263148;
    color: white;
}
.submenu {
    font-size: 11pt;
}

.menu a, .submenu a {
    text-decoration: none;
    color: white;
    font-weight: 100;
}

.menu select {
    text-decoration: none;
    color: white;
    font-weight: 100;
    border:  0px;
    padding: 0px;
    margin: 0px;
}

.menu {
  padding: 0 0 10px 0;
}

.active-menu, .active-submenu {
    background-color: #566178;
}

.warning-menu {
    background-color: red;
}

.header-row {
  display: flex;
  margin-bottom: 10px;
}

.header-fniot-logo {
  width: 20%;
  padding: 0 3%;
  align-self: center;
}
.header-fniot-logo svg {
}

.header-eufund {
  background: #ffffff;
  color: #253149;
  width: 80%;
  line-height: 1.2;
  align-self: stretch;
}
.header-eufund-row {
  display: flex;
  height: 100%;
}
.header-eufund-logo {
  width: 50%;
  padding: 0 5%;
  align-self: center;
}

.header-eufund-text {
  color: #263148;
  font-weight: 200;
  align-self: center;
  padding: 10px;
}
.header-eufund-text p {
  margin: 0;
}
.header-eufund-text p.small-title {
  font-size: 0.8em;
}
.header-eufund-text p.small {
  font-size: 0.75em;
}

.header-eufund-text strong {
  font-weight: 800;
}

@media screen and (max-width: 960px) {
  .header-row, .header-eufund, .header-fniot-logo, .header-eufund-logo, .header-eufund-row {
    display: block;
    width: 100%;
    text-align: center;
  }
}

.forms {
    background-color: #ddd;
    border: 1px solid #000000;
    padding: 5px;
    margin: 5px 0px 5px 0px;
    display: inline-table;
}

.up {}

.down {
    background-color: #FF0000
}

.unknown {
    background-color: #808080
}

.join {
    background-color: #00aaff
}


.bottom {
    margin-top: 10px;
    border-top: 1px solid #000000;
    padding-top: 5px;
}

.code {
    margin: 5px;
    background-color: black;
    color: #0f0;
    padding: 5px;
    font-family: monospace;
}

.fields {
    margin: 5px;
    background-color: #ccc;
    color: #00f;
    padding: 5px;
}

.op {
    color: #f00;
    font-weight: bold;
}

ul {
    margin-left: 13px;
}
.hidden_form {
    display: none;
}
#hidden_form_panel {
    display: none;
}
input[readonly="readonly"] {
    opacity: 0.8;
    background: #cccccc;
}

span#server-display-time {
    float: right;
}

.bottom {
  background: #263148;
  color: white;
  padding: 5px;
  margin: 10px -5px 0 -5px;
  height: 100px;
}

.page-content {
  padding: 20px;
  margin: auto -5px;
  /* background: white; */
#  min-height: calc(100vh - 135px);
  min-height: calc(100vh - 350px);
  /* width: calc(100% - 40px); */
  /* overflow-x: scroll; */
}

table {
  border: none;
  background: none;
}
table.mods-list-table {
  width: 100%;
}
tr {
    border: solid 1px black;
}
table:not(.packets-table) tr {
  border: solid 1px transparent;
}
table:not(.packets-table) tr:nth-child(2n):not(.alert-danger):not(.alert-info) {
  background-color: rgba(0,0,0,0.1);
}
tr.multicast {
}
tr.multicast td {
  background-color: rgba(0,0,255,0.1);
}
table:not(.packets-table) td, table:not(.packets-table) th {
  border: none;
  vertical-align: middle;
}
table.table-valign-top td, table.table-valign-top th {
  vertical-align: top;
}
button, input[type="submit"] {
  background-color: white;
  font-weight: 800;
  border: 1px solid white;
  padding: 5px;
  width: 100%;
  text-align: center;
  cursor: pointer;
}

button.inline, input.inline[type="submit"] {
    width: auto;
}

input[type="submit"] {
  background-color: rgb(6, 103, 166);
  border: 1px solid rgb(6, 103, 166);
  color: white;
}

input[type="submit"]:disabled {
  background-color: rgb(128, 128, 128);
  border: 1px solid rgb(6, 103, 166);
  color: white;
}

button.button-active, button:hover, button:focus {
  border: 1px solid rgb(6, 103, 166);
  color: rgb(6, 103, 166);
}

button.button-auto {
  width: auto;
}

span.collection {
  background: #fad003;
  color: #333;
  padding: 3px 6px;
  font-size: 11px;
  border-radius: 12px;
}

.colapse-content {
  display: none;
}

.forms td, .forms th {
  width: 33%;
}

/* multicast */
.multicast-group-list, .vmi-gw-list {
  margin: 20px 0px;
  text-align: left;
}
.multicast-group-list:after {
  content: "";
  display: block;
  clear: both;
}

.multicast-group-list .multicast-group {
  background: #f0f0f0;
  display: inline-block;
  text-decoration: none;
  padding: 10px;
  margin: 5px;
  /* float: left; */
  width: calc(25% - 30px);
  max-width: 280px;
  box-shadow: 0 0 0 #f00 inset;
  transition: box-shadow 0.2s;
}
.multicast-group-list .multicast-group:hover {
  box-shadow: 0 2px 0 #f00 inset;
}
@media screen and (max-width: 900px) {
  .multicast-group-list .multicast-group {
    width: calc(33% - 30px);
  }
}
@media screen and (max-width: 700px) {
  .multicast-group-list .multicast-group {
    width: calc(50% - 30px);
  }
}
@media screen and (max-width: 480px) {
  .multicast-group-list .multicast-group {
    width: calc(100% - 30px);
  }
}
.multicast-group-name {

}
.multicast-group-info {
  margin-top: 1em;
  margin-bottom: 1.5em;
}
.multicast-group-id {
  font-size: 0.8em;
}
.multicast-group-fw {
  font-size: 0.8em;
}
.multicast-group-mod-list {
}
.multicast-options-group,
.multicast-options-module {
  display: none;
}
/* SIngele multicast group view */
.multicast-mod-list table {
  width: 100%;
}
/* end of multicast */

/* WS activity page */
#page-ws_activity input {
    padding: 5px;
}

#page-ws_activity form {
    margin-bottom: 10px;
}

#alert-box {
  position: fixed;
  top: 50px;
  right: 50px;
  max-width: 300px;
}

.footer-logo {
  height: 50px;
}

.footer-logo svg {
  height: 100%;
}

ul.search {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;

/*    background-color: #263148;*/
    color: white;
}

li.search, li.active, li.disabled {
  float: left;
}


li.search a {
  display: block;
/*  color: white;*/
  text-align: center;
  padding: 8px;
  text-decoration: none;
  border: 1px solid lightgray;
}


li.active a {
  display: block;
  color: white;
  text-align: center;
  padding: 8px;
  text-decoration: none;
  border: 1px solid lightgray;
  background-color: #263148;
}

li.disabled a {
  display: block;
  text-align: center;
  padding: 8px;
  text-decoration: none;
  border: 1px solid lightgray;
  background-color: lightgray;
}

.collapsibleList li{
  list-style-image : url('button.png');
  cursor           : auto;
}

li.collapsibleListOpen{
  list-style-image : url('button-open.png');
  cursor           : pointer;
}

li.collapsibleListClosed{
  list-style-image : url('button-closed.png');
  cursor           : pointer;
}
