/*
* {
    /*border: 1px solid #bbb;
    -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
*/

* {
    --supergreen: rgb(50,175,100);
}

@import url('https://fonts.googleapis.com/css?family=Roboto:100,400,600');
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono:400,600');

body{
    padding: 0;
    margin: 0;
    min-width: 480px;
}

header, footer{
    width: 100%;
    position: fixed;        
    color: #ccc;
    background: rgb(14, 32, 46);
    z-index: 4;

}
header{
    top: 0;
    height: 100px;
    font-size: 20px;
    font-family: Roboto, sans-serif;
}
footer{
    bottom: 0;
    height: 70px;
    font-size: 18px;
    padding-top: 15px;
    box-sizing: border-box;
}
.footer-row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.footer-right a {
    color: #ccc;
    margin-right: 20px;
}
#topofpage {
    background-image: url("/images/pushdata_background.jpg");
    background-color: rgb(127, 208, 155);
    color: white;
}
.container{
    width: 80%;
    margin: 0 auto; /* Center the DIV horizontally */
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.footer-container{
    width: 80%;
    margin: 0 auto; /* Center the DIV horizontally */
    padding-top: 10px;
    padding-bottom: 10px;
/*    margin-bottom: 20px; */
}
.header-padding {
    padding-top: 100px;
    background-color: rgb(127, 208, 155);
}
.footer-padding {
    padding-bottom: 50px;
}
#dashboard-content {
    color: black;
    font-size: 15px;
    /* min-width: 700px; */
}
#dashboard-header-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}
#dashboard-header {
    font-size: 25px;
    font-style: bold;
    margin: 0 10px;
}
#dashboard-account-status {
    font-size: 12px;
    color: red;
    font-style: italic;
}
#dashboard-accountlevel-upgrade {
    display: flex;
    flex-direction: row;
}
#explorer {
    background-color: #eee;
    border-radius: 20px;
    margin: 10px 20px;
    border: 1px solid #ccc;
    font-size: 15px;
    font-weight: 300;
    font-family: Roboto, sans-serif; 
    text-decoration: none;
}
#explorer-form {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
#explorer h3 {
    padding: 5px 30px;
}
#explorer-form > div {
    margin: 0 5px;
}
.textinput > input {
    font-size: 15px;
    border-radius: 5px;
    padding: 5px;
}
.httpmethod .radiobuttons {
    display: flex;
    flex-direction: column;
    padding-top: 5px;
}
#explorer .textinput {
    display: flex;
    flex-direction: column;
}
#executebutton {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}
#executebutton button{
    width: 150px;
    height: 40px;
    border-radius: 5px;
    margin: 20px;
    cursor: pointer;
    font-size: 13px;
    color: white;
    border: 1px solid rgb(0,150,0);
    background-image: linear-gradient(to bottom, rgba(120,200,120), var(--supergreen));
}
#loginbutton, #logoutbutton {
    float: right;
    cursor: pointer;
    font-size: 11px;
    color: white;
    border: 1px solid rgb(0,150,0);
    background-image: linear-gradient(to bottom, rgba(120,200,120), var(--supergreen));
}
#redarrow{
    margin: 20px auto;
    width: 5%;
    height: 5%;
    min-width: 50px;
    min-height: 50px;
}
#redarrow img{
    object-fit: scale-down;
    max-width: 100%;
    max-height: 100%;
    margin: 20px auto;
    transform: rotate(180deg);
}
#chart1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    height: auto;
    margin: 0 auto;
}
#chart1 img {
    object-fit: scale-down;
    max-width: 100%;
    max-height: 100%;
}
#chart1 div {
    margin: 5px auto;
}
.content {
    color: black;
    font-size: 15px;
    font-weight: 400;
    font-family: Roboto, sans-serif;
    text-decoration: none;
    padding-top: 20px;
}
.content b {
    font-weight: 700;
}
.content h1 {
    font-weight: 500;
    font-size: 35px;
}
.content ul li{
    padding: 5px 0;
}
#blurb {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 20px;
    color: white;
    font-size: 16px;
}
#illustration-container, #illustration-container2 {
    max-width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10px;
}
#illustration-container img, #illustration-container2 img {
    max-width: 100%;
    object-fit: scale-down;
}
#illustration-container2 {
    display: none;
    max-width: 100%;
    padding-bottom: 20px;
}
#pricing-table-box {
    border-radius: 10px;
    width: fit-content;
    width: intrinsic;
    width: -moz-max-content;
    width: -webkit-max-content;
    background-color: #a0a0a0;
}
#pricing-table {
    border-spacing: 0;
}
#pricing-table * {
    padding: 5px 10px;
}
#pricing-table th {
    color: white;
    padding: 7px 10px;
}
#pricing-table td {
    color: black;
    font-weight: bold;
    padding: 7px 10px;
}
#pricing-table tr:nth-child(even) {
    background-color: #d0d0d0;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

nav a{
    text-align: center;
    display: inline-block;
    padding: 10px 20px;
    color: rgb(50,175,100);
}

.logo{
    width: 300px;
    height: auto;
}
.rightside{
    padding: 17px 20px;
    font-size: 14px;
}
.rightside div {
    display: flex;
    flex-direction: row;
    padding: 5px;
}
.rightside div p {
    margin: 4px 8px;
}
.rightside div a {
    float: right;
    padding: 5px;
}
#loginbutton, #logoutbutton {
    float: right;
    border-radius: 3px;
    cursor: pointer;
}
#terminal{
    height: 125px;
    color: rgb(110,235,160);
    font-family: Roboto Mono, monospace;
    background: linear-gradient(to bottom right, #061a2a, #111111); 
    border-radius: 5px;
    box-shadow: 5px 5px 10px gray;
}
#terminal #top-panel{
    height: 25px;
    min-width: 100%;
    background: #000000;
    padding: 4px 0 0 5px;
    font-size: 13px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;    
    box-sizing: border-box;
}
#terminal ul {
    min-width: 100%;
    font-family: 'Roboto Mono', monospace;
    height: 90px;
    font-size: 12px;
    position: relative;
    overflow-y: hidden;
    resize: none;
    padding: 0 5px;
    margin: 5px;
    box-sizing: border-box;
}
#terminal ul li{
    word-break: break-all;
    list-style: none;
}

#user-data-content {
    background-color: #a0a0a0;
    border-radius: 10px;
    border: 1px solid #777;
    margin-bottom: 20px;
}

#user-data-table {
    border: none;
}
#user-data-table td, #user-data-table tr {
    border: none;
    padding: 5px 20px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to bottom,#ccc, #aaa);
  border: 1px solid #888;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 4px;
  bottom: 2px;
  background-image: linear-gradient(to bottom,#fff, #ccc);
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
    background-image: linear-gradient(to bottom, rgba(120,200,120), var(--supergreen));
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--supergreen);
}

input:checked + .slider:before {
  -webkit-transform: translateX(17px);
  -ms-transform: translateX(17px);
  transform: translateX(17px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 20px;
}

.slider.round:before {
  border-radius: 50%;
}

#user-data-table button {
    padding: 5px 7px;
    border: 1px solid rgb(0,150,0);
    margin-right: 5px;
    margin-top: 5px;
    background-image: linear-gradient(to bottom, rgba(120,200,120), var(--supergreen));
    color: #fff;
    cursor: pointer;
}
.dashboard-section {
    padding: 20px;
}
#dashboard-key-tr {
    display: none;
}

#timeseries-table {
    border-spacing: 0;
    border-collapse: collapse;
    margin: 0 auto;
}
#tstable tr:nth-child(even) {
    background-color: #d0d0d0;
}
#tstable tr:nth-child(odd) {
    background-color: #b0b0b0;
}

/*
#timeseries-table {
    border-collapse: collapse;
    margin: 0 auto;
}
*/
#timeseries-table th {
    padding: 12px;
    text-align: left;
    /* background-color: rgb(50,175,100); */
    background-color: #a2a2a2;
    color: white;
    font-size: 15px;
    font-style: bold;
}

#timeseries-table td {
    padding: 12px;
    font-size: 13px;
    color: black;
}

#timeseries-table tr {
    box-sizing: border-box;
}

#timeseries-table tr:nth-child(even){background-color: #f2f2f2;}
#timeseries-table tr:nth-child(odd){background-color: #e2e2e2;}

#timeseries-table tr:hover {background-color: #ccc;}

/*
.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
}

.pagination a.active {
    background-color: rgb(50,175,100);
    color: white;
    border-radius: 5px;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
    border-radius: 5px;
}
*/

#dashboard-chart p {
    display: flex;
    justify-content: center;
    font-size: 12px;
    color: #888;
}
.blinkingCursor {
    font-weight: 100;
    color: transparent;
    -webkit-animation: 1s blink step-end infinite;
    -moz-animation: 1s blink step-end infinite;
    -ms-animation: 1s blink step-end infinite;
    -o-animation: 1s blink step-end infinite;
    animation: 1s blink step-end infinite;
  }
  
  @keyframes blink {
    from, to {
      color: transparent;
    }
    50% {
      color: white;
    }
  }
  
  @-moz-keyframes blink {
    from, to {
      color: transparent;
    }
    50% {
      color: white;
    }
  }
  
  @-webkit-keyframes blink {
    from, to {
      color: transparent;
    }
    50% {
      color: white;
    }
  }
  
  @-ms-keyframes blink {
    from, to {
      color: transparent;
    }
    50% {
      color: white;
    }
  }
  
  @-o-keyframes blink {
    from, to {
      color: transparent;
    }
    50% {
      color: white;
    }
  }

.tooltip {
    position: relative;
    display: inline-block;
/*    padding-bottom: 5px; */
}

/*
.tooltip label {
    border-bottom: 1px dotted black;
}
*/
.tooltip-button {
    position: relative;
    display: inline-block;
    cursor: pointer;    
}

.tooltiptext {
    visibility: hidden;
    width: 250px;
    background-color: black;
    color: rgb(50,175,100);
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    font-size: 13px;
    
    /* Position the tooltip */
    position: absolute;
    /* z-index: 1; */
    z-index: 9;
    bottom: 100%;
    left: 50%;
    margin-left: -40px;
    border: 1px solid green;
}
.tooltiptext a{
    color: #a05555;
}
.tooltiptext span {
    padding-top: 10px;
}
.tooltiptext hr {
    color: var(--supergreen);
    opacity: 0.3;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
}
.tooltip-button:hover .tooltiptext {
    visibility: visible;
}

.tooltip li {
    text-align: left;
}

/******************/
/* Login lightbox */
/******************/


 /* Bordered form */
 .modal form {
    border: 3px solid #f1f1f1;
}

/* Full-width inputs */
.modal input[type=text], .modal input[type=password], .modal textarea {
    width: 100%;
    padding: 6px 8px;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
    font-size: 15px;
}

.modal label {
    padding-top: 12px;
    padding-bottom: 4px;
    display: block;
}

.modal-error {
    color: red;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    width: 80%;
    font-style: italic;
}
#error-modal {
    z-index: 8;
}
#input-modal {
    z-index: 7;
}
#login-modal {
    z-index: 6;
}

/* Set a style for all modal buttons */
.modal button {
    padding: 14px 20px;
    margin: 8px 0;
    cursor: pointer;
    width: 100%;
}

.spinner {
    display: none;
}

button {
    cursor: pointer;
    font-size: 13px;
    color: white;
    border: 1px solid rgb(0,150,0);
    border-radius: 3px;
    background-image: linear-gradient(to bottom, rgba(120,200,120), var(--supergreen));
}

.disabled-button {
    cursor: default;
    font-size: 13px;
    color: white;
    border: 1px solid rgb(0,150,0);
    border-radius: 3px;
    background-image: linear-gradient(to bottom, rgba(120,200,120), var(--supergreen));
    opacity: 0.5;
}

/* Add a hover effect for buttons */
button:hover {
    opacity: 0.5;
}

/* Extra style for the cancel button (red) */
.modal .cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
    border: 1px solid rgba(150,150,150);
    background-image: linear-gradient(to bottom, rgba(200,200,200), rgba(170,170,170));

}

/* Center the avatar image inside this container */
.modal .imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
}

/* Avatar image */
.modal img.avatar {
    width: 40%;
    border-radius: 50%;
}


#upgrade-modal img {
    width: 10%;
}
#upgrade-modal button {
    padding: 8px 12px;
}
#upgrade-modal-table {
    border-spacing: 0;
    width: 90%;
    padding-top: 20px;
}
#upgrade-modal-table td {
    padding: 0 10px;
}
#upgrade-modal-table th {
    padding-top: 10px;
}
#upgrade-modal-table div {
    text-align: center;
    font-style: italic;
}

/* Add padding to containers */
.modal .modal-container {
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-content: center;
}

/* The "Forgot password" text */
.modal span.psw {
    float: right;
    padding-top: 16px;
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    .modal span.psw {
        display: block;
        float: none;
    }
    .modal .cancelbtn {
        width: 100%;
    }
}

 /* The Modal (background) */
 .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 5; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
    font-family: Roboto, sans-serif;
    font-weight: 200;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5px auto; /* 15% from the top and centered */
    border: 1px solid #888;
    width: 50%; /* Could be more or less, depending on screen size */
}

.modal-content2 {
    background-color: #fefefe;
    margin: 5px auto; /* 15% from the top and centered */
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    /* Position it in the top right corner outside of the modal */
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

/* Close button on hover */
.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)}
    to {-webkit-transform: scale(1)}
}

@keyframes animatezoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
} 


.center {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 10px;
}

.pagination {
    display: inline-block;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
}

.pagination a.active {
    background-color: rgb(50,175,100);
    color: white;
    border-radius: 5px;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
    border-radius: 5px;
}


#dashboard-link-div {
    max-width: 80%;
    font-size: 20px;
    margin: 40px auto;
    padding: 20px;
    background-color: green;
    color: black;
    border-radius: 5px;
    word-wrap: break-word;
}
#dashboard-link-div span a {
    word-break: break-all;
}

#highcharts-parent {
    position: relative;
    padding-top: 40%;
}
#highcharts-container {
    /* height: 400px; */
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
}


@media screen and (max-width: 890px) {
    #explorer-inner {
        position: relative;
        top: -40px;
        height: 290px;
    }
    #explorer-form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #explorer-form > div {
        padding: 5px 0;
    }
    .httpmethod .radiobuttons {
        display: flex;
        flex-direction: column;
    }
    #highcharts-parent {
        padding-top: 60%;
    }
    #dashboard-link-div {
        font-size: 17px;
    }
    #user-data-table {
        font-size: 15px;
    }
    #dashboard-content {
        word-wrap: break-word;
    }
    .breakable-text {
        word-wrap: break-word;
        word-break: break-all;
    }
    #timeseries-table .hideable-td {
        font-size: 12px;
    }
    .content {
        font-size: 14px;
        padding-top: 15px;
    }

}

@media screen and (max-width: 800px) {
    #timeseries-table .hideable-td {
        font-size: 11px;
    }
    footer{
        font-size: 14px;
    }
}

@media screen and (max-width: 750px) {
    #timeseries-table .hideable-td {
        font-size: 10px;
    }
    footer{
        font-size: 13px;
    }
}

@media screen and (max-width: 700px) {
    #timeseries-table .hideable-td {
        font-size: 10px;
    }
    footer{
        font-size: 12px;
    }
}

@media screen and (max-width: 650px) {
    .logo {
        width: 250px;
    }
    #highcharts-parent {
        padding-top: 80%;
    }
    #dashboard-link-div {
        font-size: 14px;
    }
    #dashboard-header-content {
        flex-direction: column;
    }
    #user-data-table {
        font-size: 14px;
    }
    #timeseries-table td, #timeseries-table th {
        padding: 11px;
        font-size: 12px;
    }
    .rightside {
        font-size: 14px;
    }
    .dashboard-section {
        padding: 8px;
    }
    button {
        font-size: 12px;
    }
    #timeseries-table .hideable-td {
        font-size: 10px;
    }
    .content {
        font-size: 13px;
        padding-top: 10px;
    }
    #blurb {
        flex-direction: column;
        padding-bottom: 10px;
    }
    #blurb div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #blurb #illustration-container {
        display: none;
    }
    #blurb div #illustration-container2 {
        display: flex;
    }
    .footer-right a {
        padding: 15px;
    }
}

@media screen and (max-width: 600px) {
    .logo {
        width: 200px;
    }
    #highcharts-parent {
        padding-top: 100%;
    }
    #dashboard-link-div {
        font-size: 13px;
    }
    #user-data-table {
        font-size: 13px;
    }
    #user-data-table .hideable-td {
        display: none;
    }
    #user-data-table td, #user-data-table tr {
        padding: 5px 15px;
    }
    #timeseries-table td, #timeseries-table th {
        padding: 10px;
        font-size: 13px;
    }
    .rightside {
        font-size: 13px;
    }
    .dashboard-section {
        padding: 8px;
    }
    button {
        font-size: 12px;
    }
    #timeseries-table .hideable-td {
        display: none;
    }
    .content {
        font-size: 12px;
        padding-top: 5px;
    }
    .footer-left{
        display: none;
    }
    footer{
        font-size: 11px;
    }

}

@media screen and (max-width: 550px) {
    .logo {
        width: 150px;
    }
    #highcharts-parent {
        padding-top: 120%;
    }
    #dashboard-link-div {
        font-size: 12px;
    }
    #user-data-table {
        font-size: 12px;
        padding: 7px;
    }
    #user-data-table td, #user-data-table tr {
        padding: 5px 8px;
    }    
    #timeseries-table td, #timeseries-table th {
        padding: 9px;
        font-size: 13px;
    }
    .rightside {
        font-size: 12px;
    }
    .dashboard-section {
        padding: 6px;
    }
    button {
        font-size: 12px;
    }
    .content {
        font-size: 11px;
    }
    .footer-right a {
        padding: 5px;
    }
}

@media screen and (max-width: 500px) {
    .logo {
        width: 120px;
    }
    #highcharts-parent {
        padding-top: 120%;
    }
    #dashboard-link-div {
        font-size: 11px;
    }
    #user-data-table {
        font-size: 11px;
        padding: 5px;
    }
    #user-data-table td, #user-data-table tr {
        padding: 5px;
    }    
    #timeseries-table td, #timeseries-table th {
        padding: 8px;
        font-size: 13px;
    }
    .rightside {
        font-size: 11px;
    }
    .dashboard-section {
        padding: 5px;
    }
    button {
        font-size: 11px;
    }
    .content {
        font-size: 14px;
    }
}


.anchor { padding-top: 100px; }