body {
    background-color: white;
    /* background:-webkit-linear-gradient(315deg,#73a5ff,#5477f5);
    background:linear-gradient(135deg,#008CBA,gray); */
    overflow-x: hidden;
    overflow-y: scroll;
    margin: 0px;
}

#particles-js canvas {
  display: block;
}

#particles-js {
  position: absolute;
  width: 96%;
  height: 1500px;
  z-index: 4;
}

XML {
  display: none;
}

#editor {
margin: auto;
/* height: 900px; */
width: 100%;
}

#viewEditor {
margin: auto;
height: 350px;
width: 100%;
}

#viewLogger {
margin: auto;
height: 350px;
width: 100%;
}

#blocklyDiv {
  /* height: 480px; */
  /* width: 600px; */
  position: static;
}

#btnStart{
  position: relative;
  z-index: 4;
}

 /* Tooltip */

 .tooltipCustom {
  position: relative;
  display: inline-block;
  /* border-bottom: 1px dotted black; */
}

.tooltipCustom .tooltiptextCustom {
  visibility: hidden;
  width: 320px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -160px;
}

.tooltipCustom .tooltiptextCustom::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.tooltipCustom:hover .tooltiptextCustom {
  visibility: visible;
}

/* End Tooltip */

input[type=nameText] {
width: 100%;
padding: 12px 20px;
margin: 0px 0px;
box-sizing: border-box;
border: none;
background-color: #008CBA;
background-position: 10px 10px;
background-repeat: no-repeat;
color: white;
resize: none;
font-size: 28px;
-webkit-appearance: none;
}

input[type="file"] {
    display: none;
}

.demo {
  position: relative;
  z-index: 5;
}

.base {
  padding: 8px;
  text-align: center;
  margin: auto;
}

.auth {
  padding: 8px;
  text-align: center;
  margin: auto;
}

.downloadCard {
  padding: 8px 8px 128px 8px;
  text-align: center;
  margin: auto;
}

.main {
    margin-left: 160px; /* Same as the width of the sidenav */
    padding: 0px 0px;
}

.label {
    background-color: none;
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 0px;
}

.label_margin {
  margin-right: 5px;
}

.button {
    background-color: #008CBA;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 0px;
    width: 160px;
    cursor: pointer;
}

.button_center_avatar {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-width: 0px;
  padding: 0px;
}

.button:hover {
  background-color: #111;
  color: white;
}

.button_generic {
    background-color: #008CBA;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 8px;
    cursor: pointer;
}

.button_login {
    background-color: #008CBA;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 8px;
    cursor: pointer;
}

.button_guest_login {
  width: 225px !important;
  margin-bottom: 20px;
}

.navButton {
  background-color: #343a40;
  border: none;
}

.themeToggler-btn {
  background-color: #343a40;
}

/* Reset Pass */

#resetFormBtn1 {
  display: inline-block;
}

#resetForm2 {
  display: none;
}

/* End Reset Pass*/

/* The Chart  */

#backtestChart {
  position: relative;
  margin: auto;
  height: 80vh;
  width: 80vw;
}

/* End Chart */

/* Table */

td, th {
  border: 1px solid #999;
  padding: 0.5rem;
  text-align: left;
}

/* End Table */

/* The Overlay (background) */

.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(0,0,0); /* Black fallback color */
  background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.overlay::-webkit-scrollbar {
  display: none;
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 15%; /* 25% from the top */
  /* width: 100%; /* 100% width */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
  margin-bottom: 30px;
  color: white;
}

.overlay-warning {
  margin-left: 10%;
  margin-right: 10%;
  color: #856404;
  background-color: #fff3cd;
  padding: 5px;
}

.overlay-header {
  text-align: center;
}

#overlay-symbols {
  border-style: solid;
  border-color: #ccc;
  border-width: 2px;
  color: #856404;
  background-color: #fff3cd;
  word-wrap: break-word;
  padding: 5px;
  margin-left: 10%;
  margin-right: 10%;
}

#overlay-invalid {
  border-style: solid;
  border-color: #ccc;
  border-width: 2px;
  color: #856404;
  background-color: #fff3cd;
  word-wrap: break-word;
  padding: 5px;
  margin-left: 10%;
  margin-right: 10%;
}

#overlay-results {
  padding: 5px;
}

#overlay-logs {
  border-style: solid;
  border-color: #ccc;
  border-width: 2px;
  word-wrap: break-word;
  overflow-y: scroll; 
  height:500px;
  padding: 5px;
}

.overlay-label{
  text-align: left;
}

.overlay-field {
  text-align: left;
  width: 100%;
  margin-bottom: 10px;
}

.overlay-chart {
  position: relative;
  margin: auto;
  height: 80vh;
  width: 80vw;
  /* margin-left: 10%;
  margin-right: 10%; */
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

#overlay-symbols-warning {
  display: none;
}

/* when the width of the screen is wider than 500px, apply the following css rules */
@media screen and (min-width: 500px) {

  .overlay-form {
    position: relative;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    margin: 0 auto;
    width: 280px;
    margin-bottom: 30px;
  }

  .overlay-btn {
    width: 280px;
  }

  #overlay-table {
    width: 100%;
  }

  #overlay-results {
    float: left;
    margin-left: 50px;
    width: 45%;
  }

  #overlay-logs {
    float: right;
    margin-right: 50px;
    width: 45%;
  }

}

/* When the widht of the screen is less than 480 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-width: 480px) {

  .overlay-form {
    position: relative;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    margin-left: 15%;
    margin-right: 15%;
    margin-bottom: 30px;
  }

  .overlay a {
    font-size: 20px
  }

  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
  
  .overlay-btn {
    width: 100%;
  }

  #overlay-table {
    width: 100%;
  }
  #overlay-logs {
    margin: 5px;
  }
  
}

/* End Overlay */

/* Blockly Custom Dialog */

#customDialog {
  background-color: rgb(221, 221, 221);
}

.customDialogTitle{
  color: #111;
}

.customDialogMessage {
  color: #111;
  margin-bottom: 20px;
}

#customDialogInput {
  width: 100%;
}

.customDialogButton {
  width: 100px !important;
  margin-right: 4px !important;
}

/* End Blockly Custom Dialog */

/* Switch Config */

/* The switch - the box around the slider */
.switch {
  align-self: center;
  position: relative;
  display: inline-block;
  width: 140px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The Publish slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

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

  /* Rounded sliders */

.slider.round {
  border-radius: 34px;
}

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

  /* End rounded Sliders */

.slider:after
{
 content:'Private';
 color: black;
 display: block;
 position: absolute;
 transform: translate(-50%,-50%);
 top: 50%;
 left: 50%;
 font-size: 16px;
 font-family: Verdana, sans-serif;
}

input:checked + .slider:after
{
  content:'Public';
  color: white;
}

/*-------- END Switch -------*/

/* MFA */

.mfa-container{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mfa-validation{
  height: 30px;
  width: 120px;
}

.mfa-btn{
  width: 140px;
  margin: 8px;
}

/* END MFA */

.myAccount-container{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recovery-btn{
  margin: 8px;
}

.lblMyAccount {
  display: flex;
  justify-content: space-around;
}

.stripe-btn {
  background-color:#6772E5;
  color:#FFF;
}

.form_field {
    border: table_gray;
    color: gray;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 0px;
    cursor: pointer;

}

/* Start Publish Modal */

.publishLabel {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 8px;
}

.publishSpacing {
  margin-left: 8px;
}

.publishInfo {
  margin-left: 4px;
  margin-bottom: 4px;
}

@media (min-width: 500px) {

  #userName {
    height: 48px;
    width: 445px;
  }

  #price {
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 8px;
  }

  #shortDesc {
    height: 100px;
    width: 445px;
  }

  #longDesc {
    height: 100px;
    width: 445px;
  }

}

@media (max-width: 480px) {

  #userName {
    height: 48px;
    width: 245px;
  }

  #shortDesc {
    height: 100px;
    width: 245px;
  }

  #longDesc {
    height: 100px;
    width: 245px;
  }

}

/* End Publish */

/* Bot Market Cards */


.botMarketMain {
  display: flex;
  align-items: flex-start;
}

.botMarketImg {
  padding-right: 8px;
  display: inline-block;
}

.botMarketText {
  padding-right: 8px;
  font-size: 12px;
  text-align: left;
  display: inline-block;
}

.botMarketPayBtn {
  background-color:#00e68a;
  color:#FFF;
}


/* End Bot Market Cards  */

/* Bot Market Modal  */

#botModal-form {
  white-space: pre-wrap;
}

/* End Bot Market Modal */

.basic_padding {
    padding: 8px;
}

.plans_padding {
  padding: 32px;
}

.center {
  text-align: center;
}

.left {
  text-align: left;
}

.center_image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 32px;
}

.center_gif {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 32px;
}

.center_avatar {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footerLink {
  color: gray;
}

.footerLink:hover {
  color: gray;
}

.plans-header {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
}

.terms_header {
  text-align: center;
  padding: 25px;
}

.form-wrap {
    width: 35%;
    margin: 0 auto;
}

.footer {
    background-color: black;
    color: gray;
    height: auto;
    padding: 128px 20px 228px 20px;
}

.pBotName {
  border: none;
  padding: 10px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 8px;
  cursor: pointer;
}

.sidenav {
  height: 100%; /* Full-height: remove this if you want "auto" height */
  width: 160px; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #008CBA; /* For black use #111 */
  overflow-x: hidden; /* Disable horizontal scroll */
  overflow: hidden; /* Disable vertical scroll */
  padding-top: 20px; /* i dont know but its probably important */
}

.content {
  padding-top: 16px;
}

.stickyTop {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
}

.stickyBottom {
  position: fixed;
  bottom: 0;
  width: 100%;
}

.planNav {
  padding-left: 0;
  padding-bottom: 56px;
}

.emailInput {
  padding-left: 20%;
  padding-right: 20%;
}

.search-bar {
  width: 80%;
}

.search-btn:hover {
  background: #ccc;
}

#email {
  text-align: center;
}

.logo {
  padding: 4px;
}

@media (min-width: 500px) {

  .baseCard {
    text-align: center;
    width: 50%;
    margin-top: 30px;
  }

  .marketCard {
    text-align: center;
    width: 80%;
    margin-top: 30px;
  }

  .faqCard {
    text-align: center;
    width: 70%;
    margin-top: 30px;
  }

  .tutCard {
    text-align: center;
    width: 90%;
    height: auto;
    margin-top: 30px;
  }

  .emailCard {
    text-align: center;
    width: 90%;
    height: auto;
    margin-top: 30px;
  }

  .bottomBar {
    display: none
  }

}

@media (max-width: 500px) {
  .sidenav {
    display: none;
  }

  .main {
    margin-left: 0px; /* Same as the width of the sidenav */
    padding: 0px 0px;
  }

  .button {
    width: 225px;
    padding: 10px 0px;
  }

  .label {
    padding: 0px 10px;
  }

  .basic_padding {
    padding: 0px;
  }

  .bottomBar {
    display: inline;
    float: none !important;
    text-align: center !important;
  }

  .modal .modal-body {
   overflow-y: scroll !important;
   max-height: 350px !important;
 }

 .tutCard {
   padding-top: 56px !important;
 }

}

hr {
  margin-left: 50px;
  margin-right: 50px;
}

.buy-with-crypto {
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
  width: 100% !important;
}

.checkout-button-plan {
  background-color:#6772E5;
  color:#FFF;
  padding:8px 12px;
  border:0;
  border-radius:4px;
  font-size:1em;
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
  width: 100%;
  margin-bottom: 10px;
}

.btn-free {
  margin-top: 50px;
}

.btn {
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
}

.btn-outline-danger {
  margin-left: 15px !important;
  margin-right: 10px !important;
}

.btn-outline-secondary {
  margin-left: 15px !important;
  margin-right: 10px !important;
}
.card {
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
}

.jumbotron {
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
}

.modal-content {
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
  background-color: #008CBA !important;
}

.modal-dialog {
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
}

.modal-header {
  color: white;
}

.modal-body {
  background-color: white !important;
  text-align: center;
}

.modal-footer {
  background-color: white !important;
}

.terms {
	text-align: center;
  margin-left: 100px;
  margin-right: 100px;
}

.tabcontent {
  display: none;
}

/* Style the tab */
.tabTut {
  float: left;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  width: 30%;
  height: 300px;
}

/* Style the buttons inside the tab */
.tabTut button {
  display: block;
  background-color: inherit;
  color: black;
  padding: 22px 16px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tabTut button:hover {
  background-color: #ddd;
}

/* Create an active/current "tab button" class */
.tabTut button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabTutContent {
  float: left;
  padding: 0px 12px;
  border: 1px solid #ccc;
  width: 70%;
  border-left: none;
  height: 300px;
  display: none;
}

.toastify {
  padding:12px 20px;
  color:#fff;
  display:inline-block;
  box-shadow:0 3px 6px -1px rgba(0,0,0,.12),0 10px 36px -4px rgba(77,96,232,.3);
  background:-webkit-linear-gradient(315deg,#73a5ff,#5477f5);
  background:linear-gradient(135deg,#008CBA,gray);
  position:fixed;
  opacity:0;
  transition:all .4s cubic-bezier(.215,.61,.355,1);
  border-radius:2px;
  cursor:pointer;
  text-decoration:none;
  max-width:calc(50% - 20px);
  z-index:2147483647
}

.toastify.on {
  opacity:1
}

.toast-close {
  opacity:.4;
  padding:0 5px
}

.toastify-right {
  right:15px
}

.toastify-left {
  left:15px
}

.toastify-top {
  top:-150px
}

.toastify-bottom {
  bottom:-150px
}

.toastify-rounded {
  border-radius:25px
}

.toastify-avatar {
  width:1.5em;
  height:1.5em;
  margin:0 5px;
  border-radius:2px
}

.loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  display: table;
  position: relative;
  margin: 0 auto;
  top: calc(50% - 24px);
}

.loaderSm {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 2s linear infinite;
  display: table;
  position: relative;
  margin: 0 auto;
  top: calc(50% - 24px);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media only screen and (max-width:360px){
  .toastify-left,
  .toastify-right{
    margin-left:auto;
    margin-right:auto;
    left:0;
    right:0;
    max-width:fit-content
  }
}
