@import url(https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i);

* {
    border: 0;
    margin: 0;
    padding: 0;
    font-family: "Open Sans";
}

html, body {
    background-color: #363636;
    height: 100%;
    width: 100%;
}

#header {
    height: 60px;
    width: 100%;
    padding: 15px 15px;
    box-sizing: border-box;
    border-bottom: 1px solid #666666;
}

#body {
    height: calc(100% - 60px);
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

#body > li {
    display: none;
    height: 100%;
    width: 100%;
}

div.valign {
    display: table;
    height: 100%;
    width: 100%;
}

div.valign > div.wrapper {
    display: table-cell;
    height: 100%;
    width: 100%;
    vertical-align: middle;
}

ul.layout {
    width: 100%;
    height: 100%;
    list-style: none;
    font-size: 0;
}

ul.layout > li {
    width: 100%;
    height: 100%;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
}

ul.layout.half > li {
    width: 50%;
}

ul.layout > li.right {
    text-align: right;
}

ul.layout > li.padding {
    padding: 10px 15px;
}

h1 {
    font-family: "Lato";
    font-size: 20px;
    font-weight: 400;
    color: #EEEEEE;
    box-sizing: border-box;
}

h2 {
    font-size: 15px;
    font-weight: 300;
    color: #EEEEEE;
    box-sizing: border-box;
    text-align: left;
}

h2.placeholder {
    color: #555555;
}

h3,
a.h3 {
    font-size: 12px;
    font-weight: 400;
    color: #999999;
    box-sizing: border-box;
    text-align: left;
}

h5 {
    font-size: 10px;
    font-weight: 600;
    color: #fc814a;
    box-sizing: border-box;
    text-align: left;
    margin-bottom: 3px;
}

h6 {
    font-size: 12px;
    font-weight: 400;
    color: #000000;
    box-sizing: border-box;
    text-align: left;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

ul.link {
    display: none;
    list-style: none;
    font-size: 0;
}

ul.link > li {
    display: inline-block;
    margin-left: 17px;
}

a {
    font-family: "Lato";
    font-size: 15px;
    font-weight: 300;
    color: #EEEEEE;
    box-sizing: border-box;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

a.button {
    position: relative;
    font-size: 13px;
    margin-right: 10px;
    padding: 5px 9px;
    border-radius: 3px;
    background-color: #444444;
    border: 1px solid #333333;
    text-decoration: none;
    color: #BBBBBB;
}

a.button.selected {
    background-color: #555555;
    color: #FFFFFF;
}

a.button:hover {
    background-color: #555555;
    color: #FFFFFF;
}

form {
    position: relative;
    display: inline-block;
}

form.fullwidth {
    width: 100%;
    text-align: left;
    box-sizing: border-box;
}

form > div.button {
    text-align: right;
}

form div.field {
    width: 100%;
    display: block;
    vertical-align: top;
}

form.error input {
    background-color: #fab0b0 !important;
}

label:not(.checkbox) {
    display: inline-block;
    padding: 5px 11px;
    font-family: "Lato";
    font-size: 15px;
    font-weight: 400;
    color: #EEEEEE;
    box-sizing: border-box;
    min-width: 125px;
    text-align: left;
}

input[type=text],
input[type=number],
input[type=password] {
    padding: 7px 10px;
    font-family: "Open Sans";
    font-size: 15px;
    font-weight: 400;
    color: #212121;
    box-sizing: border-box;
    margin-bottom: 12px;
    min-width: 225px;
    border-radius: 2px;
}

textarea {
    padding: 7px 10px;
    font-family: "Open Sans";
    font-size: 15px;
    font-weight: 400;
    color: #212121;
    box-sizing: border-box;
    margin-bottom: 12px;
    width: 100%;
    height: 100px;
    border-radius: 2px;
}

form.fullwidth input[type=text],
form.fullwidth input[type=number],
form.fullwidth input[type=password] {
    margin-bottom: 0;
}

form.fullwidth label {
    padding: 5px 2px;
    min-width: auto;
}

form.fullwidth div.field {
    padding: 10px 12px 0 12px;
    box-sizing: border-box;
}

form.fullwidth input[type=text],
form.fullwidth input[type=number],
form.fullwidth input[type=password] {
    width: 100%;
}

button {
    padding: 7px 10px;
    font-family: "Lato";
    font-size: 15px;
    color: #212121;
    background: #AAAAAA;
    border-radius: 2px;
}

form label.checkbox {
    position: relative;
    height: 32px;
    width: 273px;
    vertical-align: top;
    margin-left: 12px;
}

form label.checkbox > input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

form label.checkbox > span {
    position: absolute;
    top: 10px;
    left: 0;
    height: 18px;
    width: 18px;
    border-radius: 3px;
    box-sizing: border-box;
    background-color: #E6E6E6;
    border: 1px solid #D6D6D6;
    transition: 0.15s background-color;
}

form label.checkbox:hover > span {
    background-color: #D6D6D6;
}

form label.checkbox input:checked ~ span {
    background-color: #0171A9;
    border: 1px solid #0171A9;
}

form label.checkbox input:disabled:checked ~ span {
    opacity: 0.65;
}

form label.checkbox > span:after {
    content: "";
    position: absolute;
    display: none;
}

form label.checkbox > input:checked ~ span:after {
    display: block;
}

form label.checkbox > span:after {
    left: 5px;
    top: 1px;
    width: 4px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

button:hover {
    background: #999999;
    transition: 0.25s background-color;
    cursor: pointer;
}

select {
    width: 100%;
    font-family: "Open Sans";
    font-size: 15px;
    font-weight: 400;
    color: #212121;
    padding: 5px 7px;
}

select option.placeholder {
    display: none;
}

div.form-error {
    display: none;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -30px;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    color: #e98181;
}

form.error div.form-error {
    display: block;
}

div.text-list {
    border-bottom: 1px solid #444444;
    padding: 10px 0;
}

.flex {
    width: 100%;
    display: inline-flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
}

.flex.flex-column {
    flex-direction: column !important;
    height: 100%;
}

.flex.flex-row {
    flex-direction: row !important;
}

.flex > * {
    flex: 1 1 auto;
}

div#log_header,
div#decode_header {
    width: 100%;
    padding: 8px 0;
    flex: 0;
    box-sizing: border-box;
    margin-bottom: 5px;
}

.connection-status {
    font-weight: 600;
    padding-right: 24px;
    position: relative;
        color: #eb9d41;
}

.connection-status::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 50%;
    right: 0;
    margin-top: -8px;
    border-radius: 100%;
    background-color: #eb9d41;
}

.connection-status.disconnected::after {
    background-color: #ff5959;
}

.connection-status.connected::after {
    background-color: #57c441;
}


.connection-status.disconnected {
    color: #ff5959 !important;
}

.connection-status.connected {
    color: #57c441;
}

.connection-status a.reconnect {
    text-decoration: underline;
}


div#log_controls,
div#decode_controls  {
    background-color: #DDDDDD;
    width: 100%;
    height: 40px;
    padding: 10px;
    text-align: right;
    box-sizing: border-box;
}

div#log_controls > a,
div#decode_controls > a {
    color: #777777;
    font-weight: 400;
    font-size: 14px;
    margin-left: 14px;
}

div#log_controls > a.hidden,
div#decode_controls > a.hidden {
    display: none;
}

div#log_body,
div#decode_body  {
    height: calc(100% - 40px);
}

div#log_body > ul,
div#decode_body > ul {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    height: calc(100% - 40px);
    background-color: #DDDDDD;
    padding: 0 14px 14px 14px;
    list-style: none;
    font-size: 0;
    box-sizing: border-box;
    overflow-y: scroll;
    overflow-x: hidden;
}

div#log_body > ul.hidden,
div#decode_body > ul.hidden {
    display: none;
}

div#log_body > ul > li,
div#decode_body > ul > li {
    width: 100%;
    border: 1px solid #C6C6C6;
    border-bottom: 1px solid #CCCCCC;
    border-top: 0;
    box-sizing: border-box;
    background-color: #FFFFFF;
    padding: 12px 15px;
    border-left: 7px solid #FFFFFF;
}

div#log_body > ul.loading::after,
div#decode_body > ul.loading::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 40px;
    background-image: url('/public/images/spinner_hd.gif');
    opacity: 0.65;
}

div#log_body > ul.loading > li,
div#decode_body > ul.loading > li {
    opacity: 0.5;
}

div#log_body > ul > li.request,
div#decode_body > ul > li.request {
    border-left-color: #0171a9;
}

div#log_body > ul > li.error,
div#decode_body > ul > li.error {
    border-left-color: #f65454;
}

div#log_body > ul > li.lora,
div#decode_body > ul > li.lora {
    border-left-color: #fc814a;
}

div#log_body > ul > li.decoder,
div#decode_body > ul > li.decoder {
    border-left-color: #363636;
}

div#log_body > ul > li:last-child,
div#decode_body > ul > li:last-child {
    margin-bottom: 10px;
}

div#log_body > ul > li.open,
div#decode_body > ul > li.open {
    margin-bottom: 10px;
}

div#log_body > ul > li > ul.header,
div#decode_body > ul > li > ul.header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    font-size: 0;
    list-style: none;
    cursor: pointer;
}

div#log_body > ul > li > ul.header > li,
div#decode_body > ul > li > ul.header > li {
    flex: 1 1 auto;
    font-size: 13px;
    font-family: "Lato";
    font-weight: 600;
    color: #333333;
    box-sizing: border-box;
    text-align: left;
}

div#log_body > ul > li.error > ul.header > li,
div#decode_body > ul > li.error > ul.header > li {
    color: #f65454 !important;
}

div#log_body > ul > li > ul.header > li.time,
div#decode_body > ul > li > ul.header > li.time,
div#log_body > ul > li > ul.header > li.type,
div#decode_body > ul > li > ul.header > li.type,
div#log_body > ul > li > ul.header > li.action,
div#decode_body > ul > li > ul.header > li.action {
    flex: 0 1 100px;
}

div#log_body > ul > li > ul.header > li.action,
div#decode_body > ul > li > ul.header > li.action {
    background-image: url('/public/images/arrow_down.svg');
    background-position: center right;
    background-size: 13px;
    background-repeat: no-repeat;
}

div#log_body > ul > li.open > ul.header > li.action,
div#decode_body > ul > li.open > ul.header > li.action {
    background-image: url('/public/images/arrow_up.svg');
}

div#log_body > ul > li > ul.body,
div#decode_body > ul > li > ul.body {
    display: none;
    width: 100%;
    font-size: 0;
    list-style: none;
    margin-top: 4px;
    overflow: hidden;
}

div#log_body > ul > li > ul.body > li,
div#decode_body > ul > li > ul.body > li {
    font-size: 12px;
    font-family: "Lato";
    font-weight: 400;
    color: #333333;
    box-sizing: border-box;
    text-align: left;
    border-bottom: 1px solid #DDDDDD;
    padding: 10px 5px;
    word-wrap: break-word;
}

div#log_body > ul > li > ul.body > li:last-child,
div#decode_body > ul > li > ul.body > li:last-child {
    border-bottom: 0;
}

ul.button {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    list-style: none;
    font-size: 0;
}

ul.button > li {
    flex: 1 0 auto;
    flex-basis: 0;
    font-size: 14px;
    font-family: "Lato";
    font-weight: 400;
    color: #FFFFFF;
    box-sizing: border-box;
    padding: 10px;
    background-color: #444444;
    min-width: 110px;
    margin: 10px;
    border: 1px solid #333333;
    border-radius: 2px;
    cursor: pointer;
}

ul.button > li.disabled {
    /* background-color: transparent;
    border: 0;
    padding-bottom: 12px; */
    color: #AAAAAA;
    cursor: auto;
}

ul.button > li:not(.disabled):hover {
    background-color: #555555;
    transition: 0.25s background-color;
}

ul.multi-content > li:not([data-default=default]) {
    display: none;
}

pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

.string {
    color: #299F96;
}

.number {
    color: #CC3680;
}

.boolean {
    color: #B58900;
}

.null {
    color: #B58900;
}

.key {
    color: #268BD2;
}

/* ------ SWAL ------ */

.swal2-title {
    font-size: 20px !important;
    font-weight: 500 !important;
    margin-bottom: 14px !important;
}

.swal2-content {
    font-size: 15px !important;
    font-weight: 300 !important;
    margin-bottom: 7px !important;
}

.swal2-content input {
    width: 94%;
    border: 1px solid #8D97A5;
    background-color: #FFFFFF;
    border-radius: 3px;
    padding: 8px;
    font-size: 14px;
    font-weight: 300;
    box-sizing: border-box;
}

button.swal2-confirm:not([disabled]) {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #FFFFFF !important;
    padding: 9px 13px !important;
    background-color: #0171A9 !important;
    border-radius: 3px !important;
    transition: 0.15s background-color !important;
    cursor: pointer !important;
    margin: 0 5px !important;
}

.swal2-icon-warning button.swal2-confirm:not([disabled]) {
    background-color: #ff8181 !important;
    outline-color: #ff8181 !important;
}

button.swal2-confirm[disabled] {
    height: 26px !important;
    border: 0 !important;
    border-radius: 0 !important;
    animation: none !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 5px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 40px !important;
    background-image: url('/public/images/loader/0171a9/spinner_40.gif') !important;
}

button.swal2-cancel {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #353535 !important;
    padding: 9px 13px !important;
    background-color: #CCCCCC !important;
    border-radius: 3px !important;
    transition: 0.15s background-color !important;
    cursor: pointer !important;
    margin: 0 5px !important;
}

button.swal2-cancel:hover {
    background-color: #CCCCCC !important;
}

/*.*/
