
/* force scrollbar to show so layout doesn't shift on page load */
html {
   overflow-y: scroll; 
  }

input {
  font-size: 14px; 
  height: 20px;
  }

input.inputTall {
  height: 35px;
  font-size: 14px;
}

.input.hide {
    border-top-style: hidden;
    border-right-style: hidden;
    border-left-style: hidden;
    border-bottom-style: hidden;
    /* background-color: #eee; */
  }

  .input.bold {
    font-weight: bold;
    text-transform: uppercase;
  }

  /* text box width short no border*/
  .input.wshort {
    width: 60px;
    border-style: hidden;
  }

  /* text box width short with border */
  .input.wshortb {
    width: 60px;
  }

  /* text box width medium no border*/
  .input.wmed {
    width: 100px;
    border-style: hidden;
    /* font-size:14px; */
  }

  .input.wmed.mt {
    margin-top:8px;
  }

  /* text box width medium no border - hidden*/
  .input.wmedhide {
    width: 100px;
    background-color: #fff;
    border-style: hidden;
    
  }

  /* text box width medium with border*/
  .input.wmedb {
    width: 100px;
  }

  .input.wmedb.mt {
    margin-top:8px;
  }

  /* text box width long no border*/
  .input.wlong {
    width: 200px;
    border-style: hidden;
  }

  /* text box width long with border*/
  .input.wlongb {
    width: 200px;  }

  
  .input.hide {
      border-top-style: hidden;
      border-right-style: hidden;
      border-left-style: hidden;
      border-bottom-style: hidden;
      /* background-color: #eee; */
    }
  
    .input.bold {
      font-weight: bold;
      text-transform: uppercase;
    }
  
    /* text box width short no border*/
    .input.wshort {
      width: 60px;
      border-style: hidden;
    }
  
    /* text box width short with border */
    .input.wshortb {
      width: 60px;
    }
  
    /* text box width medium no border*/
    .input.wmed {
      width: 100px;
      border-style: hidden;
      /* font-size:14px; */
    }
  
    .input.wmed.mt {
      margin-top:8px;
    }
  
    /* text box width medium no border - hidden*/
    .input.wmedhide {
      width: 100px;
      background-color: #fff;
      border-style: hidden;
      
    }
  
    /* text box width medium with border*/
    .input.wmedb {
      width: 100px;
    }
  
    .input.wmedb.mt {
      margin-top:8px;
    }
  
    /* text box width long no border*/
    .input.wlong {
      width: 200px;
      border-style: hidden;
    }
  
    /* text box width long with border*/
    .input.wlongb {
      width: 200px;
    }

    
  
    .span {
      display: inline-block ;
      font-size: 11pt; 
      height: 20px;
      }
    
    .span.hide {
        border-top-style: hidden;
        border-right-style: hidden;
        border-left-style: hidden;
        border-bottom-style: hidden;
        /* background-color: #eee; */
      }
    
      .span.bold {
        font-weight: bold;
        text-transform: uppercase;
      }
    
      /* text box width short no border*/
      .span.wshort {
        width: 60px;
        border-style: hidden;
      }
    
      /* text box width short with border */
      .span.wshortb {
        width: 60px;
      }
    
      /* text box width medium no border*/
      .span.wmed {
        width: 100px;
        border-style: hidden;
        /* font-size:14px; */
      }
      /* right justify  span labels*/
      .label.rightj {
        width: 55px;
        text-align: right;
      }
    
      .span.wmedspan.mt {
        margin-top:8px;
      }
    
      /* text box width medium no border - hidden*/
      .span.wmedhide {
        width: 100px;
        background-color: #fff;
        border-style: hidden;
        
      }
    
  /* text box width medium with border*/
  .span.wmedb {
    width: 100px;
  }

  .span.wmedbspan.mt {
    margin-top:8px;
  }

  /* text box width long no border*/
  .span.wlong {
    width: 200px;
    border-style: hidden;
  }

  /* text box width long with border*/
  .span.wlongb {
    width: 200px;
  }

  /* set left margin for text boxes*/ 
  .ml {
    margin-left: 5px;
  }

  /* text box width datepicker border*/
  .input.wdateb {
    width: 175px;
   }

   input[readonly] {
    background-color: rgb(253, 253, 253);
  }

  input[type=checkbox] {
    vertical-align: middle;
    position: relative;
    bottom: 1px;
}

.button.win{
      background-color: darkgreen;
      font-style: inherit;
      color: white;
      width: 75px;
  }

  .button.black{
    background-color: black;
    font-style: inherit;
    color: white;
    width: 75px;
}

  .button.loss{
    background-color: darkred; 
    font-style: inherit;
    color: white;
    width: 75px;
}

.button.clear{
  background-color: crimson; 
  font-style: inherit;
  color: white;
  width: 95px;
}


.buttondisabled {
  opacity: 0.65; 
  pointer-events: none;
  cursor: not-allowed;
}

.buttondisabledgrey {
  opacity: 0.65; 
  pointer-events: none;
  color:#888;
}

.buttonenabled {
  pointer-events: auto;
}



* {
  box-sizing: border-box;
}

.column {
  float: left;
  width: 50%;
padding: 15px; 
}
/* commented out the below as it makes the scroll to top button become an oval*/
/*
.left {
  width: 22%;
}

.middle {
  width: 35%;
}

.right {
  width: 35%;
}

  /* Clear floats after the columns */
  .row:after {
    content: "";
    display: table;
    clear: both;
  }

  /* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
      width: 100%;
    }
  }

  /* .textbox{
    width: 300px;
    height: 300px;
    overflow-y: auto;
  } */

  .textbox{
    width: 100%;
    height: 300px;
    overflow-y: auto;
  }

  .symbollookup{
    width: 200px;
    height: 300px;
    overflow-y: auto;
  }

  /*.button {
    background-color: #4caf50;
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 2px 2px;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 4px 8px 0 rgba(8, 8, 8, 0.10);
  }*/

  /*chart styles*/
  .line {
		stroke: blue;
		fill:none;
		stroke-width: 3;
	}
	
	.axis path,
	.axis line {
		fill: none;
		stroke: black;
		shape-rendering: crispEdges;
	}
	
	.axis text {
		font-size: 10px;
		font-family: sans-serif;
	}
	
	.text-label {
		font-size: 10px;
		font-family: sans-serif;
  }
  
  .indicator-plot path.line {
    fill: none;
    stroke-width: 1;
}

.ma-0 path.line {
    stroke: #b4491f;
}

.ma-1 path.line {
    stroke: #aec7e8;
}

.ma-2 path.line {
    stroke: #ff7f0e;
}

/* Draggable Div*/
#netStats {
  position: absolute; /*keep this, important. Style everything else*/
  z-index: 9; /*keeps it on top*/
  background-color: #f1f1f1;
  border: 1px solid #d3d3d3;
  text-align: center;
}

#netStatsheader {
  padding: 10px;
  cursor: move;
  z-index: 10; /*puts header on top of rectangle div*/
  background-color: #2196F3;
  color: #fff;
}

#btn_CloseFloat{
  
    position: absolute;
    right: 2px;
    top: 3px;
    width: 25px;
    height: 25px;
    /*opacity: 0.8;*/
}

/* Linear gauge */

#linear-gauge {

  width: 25%;
  height: 30%;
  }
  
      #linear-gauge.svg-container {
          display: inline-block;
          position: relative;
          width: 100%;
          padding-bottom: 30%; /* aspect ratio */
          vertical-align: bottom;
          overflow: hidden;
      }
      #linear-gauge.svg-content-responsive {
          display: inline-block;
          position: absolute;
          margin-top: 20px;
          left: 0;
      }
      #linear-gauge svg text{
      font-size: 1.2em;
      font-weight: 400;
      font-family: sans-serif;
      }
      .gaugeLabel {
      font-size: 1.5em;
      font-family: sans-serif;
      font-weight: 700;
      fill: white;
      opacity: 0.8;
      }
      .gaugeLabel:hover{
        opacity: 1;
        text-shadow: 1px 1px 5px rgb(75, 75, 75);
        transition: all 0.5s;
      }
  
/* custom styles for table*/
.req {
  font-weight: bold;
}
.fLeft {
  float: left;
}
.fRight {
  float: right;
}
.tRight {
  text-align: right;
}
.tCenter {
  text-align: center;
}
/*
.grid { this may need to be turned back on for the demo page, seems to have no effect on the trade stock chart grid lines
  width: 80%;
  max-width: 940px;
  min-width: 320px;
  margin: 50px auto;
  overflow: hidden;
  height: 260px;
  overflow-y: auto;
  overflow-x: auto;
} */

.swal-text {
  text-align: left;
}
  
/* fontawesome styling */
.fa-chart-line{
  color: #00a6e0;
}
  

/* The Modal (background) */
.modal {
  display: inline; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* 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.1); /* Black w/ opacity */

}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* 15% from the top and centered */
    padding: 10px;
    border: 1px solid #888;
    width: 35%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: rgb(112, 112, 112);
  float: right;
  /*font-size: 38px;*/
  font-size: 38px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

 .tabulator-placeholder {
  margin-left: 25px;
 }

 /* ensures the increment/decrement arrows always display on number input type */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
  opacity: 1;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.blinking {
  animation: blink 1s infinite;
}

/* Highlighted text */
.highlight {
  background-color: #e0f7fa; /* Light cyan background */
  font-weight: bold;
  padding: 2px 5px;
  transition: all 0.3s ease;
}


.pulse {
  animation: pulse 1s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* short and sweet button animator, used on start sim button*/
/* Attention Pulse Effect */
.buttonenabled.attention-pulse {
  animation: pulseCombo 1.5s ease-in-out infinite;
}

@keyframes pulseCombo {
  0% {
    box-shadow: 0 0 0 0 rgba(0,180,0,0.8);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 18px 6px rgba(0,180,0,0.4);
    transform: scale(1.07);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0,180,0,0);
    transform: scale(1);
  }
}


/* Flash background of winLoss when updated */
#txt_WinLoss.flash-update {
  animation: flashWinLoss 0.4s ease;
}

@keyframes flashWinLoss {
  0% {
    background-color: transparent;
    box-shadow: inset 0 0 10px #e2f2ff; /* smaller highlight inside */
    transform: scale(.8);
  }
  50% {
    background-color: transparent;
    box-shadow: inset 0 0 16px #b9e4ff; /* peak glow */
    transform: scale(1.08);
  }
  100% {
    background-color: transparent;
    box-shadow: none;
    transform: scale(1);
  }
}

/* position the auto range toast bottom center */
/* Smooth fade in/out without wiggle */
.swal2-fade-in {
  animation: fadeIn 0.4s ease forwards !important;
}

.swal2-fade-out {
  animation: fadeOut 0.4s ease forwards !important;
}

@keyframes fadeIn {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(20px); }
}

/* Optional: make toast container strictly bottom-center */
/* Make toast wider */
.swal2-toast {
  left: 50% !important;
  bottom: 100px !important;
  transform: translateX(-50%) !important;
  min-width: 350px !important; /* increase width */
  max-width: 600px !important; /* prevent it from getting too wide */
  white-space: nowrap;          /* prevents wrapping */
  overflow: hidden;
  text-overflow: ellipsis;      /* adds "..." if text is too long */
  padding: 10px 20px !important; /* more padding for readability */
}

.tts-select {
  font-size: 14px !important;
  width: 225px !important;
  height: 30px;
  text-transform: uppercase;

  appearance: auto !important;
}

