#barchart, #gaugechart {
	display: block;
	overflow: hidden;
    text-align: left;
    float: left;
}

#barchart {
	margin: 75px auto auto 25px;
	height: 83%;
	width: 30%;
}

#gaugechart {
	height: 500px;
	width: 100%;
}

#hist_chart {
	padding-top: 200px;
}

#gaugediv {
	display: block;
	float: left;
	width: 50%;
	position: relative;
	margin: 75px auto auto 60px;
}

#gaugetitle {
	font-family: Segoe UI Light;
	text-align: center;
}

#candlechart {
	margin: 40px 25px auto 25px;
}

.amcharts-panels-div {
	height: 475px !important;
}


#dash_div, #candle_div {
	display: none;
	width:80%;
	height: 100%;
	float: right;
}

/*** Styling for Dropdown menu ***/
#dropdown_div {
	display: none;
	width: 140px;
	z-index: 999;
	position: absolute;
	left: 100px;
	margin-top: 10px;
}

/* Dropdown Button */
.dropbtn {
    background-color: white;
    color: grey;
    font-size: 30px;
    border: 1px solid #d6dfe0;
	border-radius: 4px;
	border-left-width: thick;
	border-left-color: #b5f5f9;
	border-left-style: inset;
    cursor: pointer;
	text-align: left;
	font-family: Segoe UI Light;
	outline: none;
	width: 200px;
}
/* Dropdown Content */
.dropdown-content {
	font-size: 18px;
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
	text-align: left;
}
.dropdown-content a:hover, .dropdown-content .active_view {
	color: #9797ff;
	font-size: 19px;
}
.show {display:block;}

/* Slider Styling */
/* collapsible divs */

#goal_div, #stop_div {
	overflow: hidden;
	height: 0px;
	transition: height 0.5s;
}

#stop_div {
	margin-top: 10px;
}

.slider-label {
    display: block;
    margin-top: 15px;
    margin-bottom: -27px;
    font-weight: 500;	
}
.slider_value {
	border: 1.5px solid #2497e3;
    padding: 5px;
    margin-left: 7px;
    border-radius: 6px;
    background-color: #a1d0ff;
    box-shadow: 1px 1px 5px 0px #003531;
    font-family: Segoe UI Light;
    font-weight: 100;
	display: inline-block;
    width: 40px;
    text-align: center;
}

input[type=range] {
  -webkit-appearance: none;
  margin-top: 35px !important;
  width: 75%;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 75%;
  height: 5px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #000000;
  background: #2497E3;
  border-radius: 1px;
  border: 0px solid #000000;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 0px 0px 0px #000000;
  border: 1px solid #2497E3;
  height: 18px;
  width: 18px;
  border-radius: 25px;
  background: #A1D0FF;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #2497E3;
}
input[type=range]::-moz-range-track {
  width: 75%;
  height: 5px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #000000;
  background: #2497E3;
  border-radius: 1px;
  border: 0px solid #000000;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 0px 0px 0px #000000;
  border: 1px solid #2497E3;
  height: 18px;
  width: 18px;
  border-radius: 25px;
  background: #A1D0FF;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 75%;
  height: 5px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #2497E3;
  border: 0px solid #000000;
  border-radius: 2px;
  box-shadow: 0px 0px 0px #000000;
}
input[type=range]::-ms-fill-upper {
  background: #2497E3;
  border: 0px solid #000000;
  border-radius: 2px;
  box-shadow: 0px 0px 0px #000000;
}
input[type=range]::-ms-thumb {
  box-shadow: 0px 0px 0px #000000;
  border: 1px solid #2497E3;
  height: 18px;
  width: 18px;
  border-radius: 25px;
  background: #A1D0FF;
  cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
  background: #2497E3;
}
input[type=range]:focus::-ms-fill-upper {
  background: #2497E3;
}

/*** Goal and Stop checkboxes ***/
/* Goal */
.goalswitch {
	margin-top: 10px;
    position: relative; width: 134px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.goalswitch-checkbox {
    display: none;
}
.goalswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 20px;
}
.goalswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.goalswitch-inner:before, .goalswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.goalswitch-inner:before {
    content: "GOAL";
    padding-left: 10px;
    background-color: #34AAC7; color: #99EEFF;
}
.goalswitch-inner:after {
    content: "NO GOAL";
    padding-right: 10px;
    background-color: #F03838; color: #FF9C9C;
    text-align: right;
}
.goalswitch-switch {
    display: block; width: 20px; margin: 5px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 100px;
    border: 2px solid #999999; border-radius: 20px;
    transition: all 0.3s ease-in 0s; 
}
.goalswitch-checkbox:checked + .goalswitch-label .goalswitch-inner {
    margin-left: 0;
}
.goalswitch-checkbox:checked + .goalswitch-label .goalswitch-switch {
    right: 0px; 
}

/* STOP */
.stopswitch {
	margin-top: 10px;
    position: relative; width: 134px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.stopswitch-checkbox {
    display: none;
}
.stopswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 20px;
}
.stopswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.stopswitch-inner:before, .stopswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.stopswitch-inner:before {
    content: "STOP LOSS";
    padding-left: 10px;
    background-color: #34AAC7; color: #99EEFF;
}
.stopswitch-inner:after {
    content: "NO STOP";
    padding-right: 10px;
    background-color: #F03838; color: #FF9C9C;
    text-align: right;
}
.stopswitch-switch {
    display: block; width: 20px; margin: 5px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 100px;
    border: 2px solid #999999; border-radius: 20px;
    transition: all 0.3s ease-in 0s; 
}
.stopswitch-checkbox:checked + .stopswitch-label .stopswitch-inner {
    margin-left: 0;
}
.stopswitch-checkbox:checked + .stopswitch-label .stopswitch-switch {
    right: 0px; 
}

/* Stop TYPE */
.stoptype {
	margin: auto;
    position: relative; width: 150px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.stoptype-checkbox {
    display: none;
}
.stoptype-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 0px;
}
.stoptype-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.stoptype-inner:before, .stoptype-inner:after {
    display: block; float: left; width: 50%; height: 22px; padding: 0; line-height: 22px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.stoptype-inner:before {
    content: "TRADITIONAL";
    padding-left: 5px;
    background-color: #648E99; color: #FFFFFF;
}
.stoptype-inner:after {
    content: "TRAILING";
    padding-right: 5px;
    background-color: #648E99; color: #FFFFFF;
    text-align: right;
}
.stoptype-switch {
    display: block; width: 16px; margin: 3px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 124px;
    border: 2px solid #999999; border-radius: 0px;
    transition: all 0.3s ease-in 0s; 
}
.stoptype-checkbox:checked + .stoptype-label .stoptype-inner {
    margin-left: 0;
}
.stoptype-checkbox:checked + .stoptype-label .stoptype-switch {
    right: 0px; 
}
/**********************/