body{
	height: 100vh;
	color: white;
	margin: 0;
	font-family: 'custom-light', sans-serif;
	font-size: 14px;
	display: block;
	color: black;
	overflow: auto;

}

 a {
	color: #012a4a;
}

.container{
	display: flex;
	justify-content: center;
	align-items: top;
}

 .links{
 	margin-left: 5px;
 	position: absolute;
 	color: black;
 }

	.side-bar{
		padding-left: 40px;
		position: relative;
	}

	.graphs{
		position: relative;
	}
	.graphs2{
		width: 800px;
		position: relative;
	}

	.input-graphs{
		width:50%;
		padding-right: 20px;
		margin-left: 20px;
		margin-left: 20px;
	}

	.comparison-graph-container {
		width: 100%;
		display: flex;
		-webkit-box-sizing: border-box;
	 	-moz-box-sizing: border-box;
	  box-sizing: border-box;
	}

	.comparison-graph-sidebar {
		width: 180px;
		top: 0;
		position: -webkit-sticky;
  	position: sticky;
  	-webkit-box-sizing: border-box;
	 	-moz-box-sizing: border-box;
	  box-sizing: border-box;
	  overflow-y: auto;
	  overflow-x: hidden;
	  max-height: calc(100vh - 45px);
	}

	.sticky-title {
		width: 100%;
		top: 0;
		position: -webkit-sticky;
  	position: sticky;
  	-webkit-box-sizing: border-box;
	 	-moz-box-sizing: border-box;
	  box-sizing: border-box;
	  overflow-y: auto;
	  overflow-x: hidden;
	  max-height: 50px;
	  background-color: white;
	  z-index: 3;
	}

	.comparison-graph-sidebar-sim {
		width: 180px;
		top: 50px;
		position: -webkit-sticky;
  	position: sticky;
  	-webkit-box-sizing: border-box;
	 	-moz-box-sizing: border-box;
	  box-sizing: border-box;
	  overflow-y: auto;
	  overflow-x: hidden;
	  max-height: calc(90vh - 45px);
	}

	.graph-shortcuts {
		display: block;
		padding-bottom: 10px;
	}

	.comparison-graphs {
		top: 0;
		width: 1000px;
		padding-left: 1em;
		-webkit-box-sizing: border-box;
	 	-moz-box-sizing: border-box;
	  box-sizing: border-box;
	}

	#fixed-expenses-graph {
		max-width: 800px;
	}

	.pme-charts-container.panel {
		max-height: 90vh;
		padding: 0;
	}

	.explainer{
		
	}
	.hidden {
		display:none;
	}
	.offer-header{
		margin-top:10px;
		padding: 10px;
	}
	.input-box{
		padding-top: 10px;

	}
	.delete-button{    
	}
	.collapsible-content{
		display:none;
		overflow: auto;
	}
	.collapsible-trigger{
		cursor: pointer;
	}
	.sub1{
		padding-left: 10px;
	}
	.sub2{
		padding-left:20px;
	}
	.sub3{
		padding-left: 30px;
		overflow: auto;
	}
	.sub4{
		padding-left: 40px;
	}
	.pull-right{
		float: right;
		
	}
	.grid2{
		display: grid;
		grid-template-columns: 50% 50%;

	}




.flex-container{
	display: flex;
	overflow: auto;
}

.side-bar{
	margin-left: 0px;
	position: relative;
	width: 20%;
	}

.graphs{
	position: relative;
}
.graphs2{
	position: relative;
	width: 80%;
}

.main-container{
	width: 100%;
	margin: auto;
	overflow: auto;
	display: grid;
	grid-template-columns: 1fr;
	-webkit-box-sizing: border-box;
 	-moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 45px 40px;
}

.table-cell {
	overflow: auto;
}

.table-container {
	overflow: auto;
	width: 100%;
}

.blank_row {
    height: 15px !important;
    background-color: #FFFFFF;
}

.responsive-table {
	width: 100%;
	-webkit-box-sizing: border-box;
 	-moz-box-sizing: border-box;
  box-sizing: border-box;
}

.flex-right {
  margin-left: auto;
  order: 2;
}

textarea:focus {
	border-color: #468faf;
}

input:focus {
	border-color: #468faf;
}

button{ 
	width: 100%;
	padding: 1px;
	border: 3px ;
	padding: 12px;
	background-color: #012a4a;
	color: white;
 }

 .btn, .btn:active{
 		width: 100%;
	padding: 12px;
	border: 3px ;
	  -webkit-user-select: none; /* Chrome/Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+ */
  user-select: none; /* Standard syntax */
	background-color: #014f86;
	color: white;

 }

 button:hover{ 
	width: 100%;
	border: 3px ;
	background-color: #2c7da0;
	color: white;
 }

 .links{
 	margin-left: 5px;
 	position: absolute;
 	color: black;
 }

tr:nth-child(even), tr:nth-child(even) a:visited{
	background-color: #012a4a;
	color: white;
	overflow: auto;
}

tr {
	color: black;
}

td {
	padding: 5px;
	overflow: auto;
	text-align: left;
}

td a {
	color: red;
}

tr:nth-child(even) td {
	border-color: #012a4a;
}

input, select, textarea {
	padding: 5px;
	-webkit-box-sizing: border-box;
 	-moz-box-sizing: border-box;
  box-sizing: border-box;
  scroll-margin-top: 45px;
}

input[type="text"]  {
	width: 100%;
}

.pb-1 {
	padding-bottom: 1em;
}

.pr-1 {
	padding-right: 1em;
}

.mb-0 {
	margin-bottom: 0!important;
}

.mb-1 {
	margin-bottom: 1em;
}

.mb-2 {
	margin-bottom: 2em;
}

.mt-0 {
	margin-top: 0;
}

.mt-1 {
	margin-top: 1em !important;
}

.mt-2 {
	margin-top: 2em !important;
}

.mx-1 {
	margin-right: 1em;
	margin-left: 1em;
}

.mh-3 {
	min-height: 3em;
}

.half-w {
	width: 50% !important;
}

.full-w {
	width: 100% ;
}

.quarter-w {
	width: 25% !important;
}
.no-wrap {
	white-space: nowrap;
}
.of-a {
	overflow: auto;
}

.w-800 {
	width: 800px;
}

.w-400 {
	width: 400px;
}

.w-600 {
	width: 600px;
}

.panel {
  border: 1px solid #ddd; /* Light gray border */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  border-radius: 4px; /* Rounded corners */
  background-color: #fff; /* White background */
  padding: 15px; /* Padding inside the panel */
  margin: 15px 0; /* Margin around the panel */
  color: black;
  overflow: auto;
}

.panel-header {
  padding: 10px 15px; /* Padding inside the header */
  border-bottom: 1px solid #ddd; /* Light gray border at the bottom */
  background-color: #f8f8f8; /* Slightly gray background */
  font-size: 16px; /* Font size for the header */
  font-weight: bold; /* Bold font for the header */
  border-top-left-radius: 4px; /* Rounded top corners */
  border-top-right-radius: 4px;
  color: black;
}

.panel-footer {
  padding: 10px 15px; /* Padding inside the footer */
  border-top: 1px solid #ddd; /* Light gray border at the top */
  background-color: #f8f8f8; /* Slightly gray background */
  border-bottom-left-radius: 4px; /* Rounded bottom corners */
  border-bottom-right-radius: 4px;
}

.panel h3:first-child ,.panel h2:first-child {
	margin-top: 0;
}

.half-container {
	display: flex;
	overflow: auto;
	-webkit-box-sizing: border-box;
 	-moz-box-sizing: border-box;
  box-sizing: border-box;
}

.half-col {
	width: 50%;
	overflow: auto;
	margin-right: 0.5em;
	margin-left: 0.5em;
	-webkit-box-sizing: border-box;
 	-moz-box-sizing: border-box;
  box-sizing: border-box;
}

.elegant-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Arial', sans-serif;
    background-color: #f8f8f8; /* Light background for contrast */
}

.elegant-table th  {
    background-color: #2a3f5f; /* Dark Blue for headers */
    color: #ffffff; /* White text for headers */
    padding: 10px;
    text-align: left;	
}

.elegant-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd; /* Light border for separation */
}

.elegant-table tr:hover {
    background-color: #d4af37; /* Gold color on row hover */
}

#error_explanation {
	color: red;
}

.error, .red {
	color: red;
}

.green {
	color: green;
}

.scroll-margin {
	scroll-margin-top: 45px;
}

.modal {
  display: block;
  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.4); /* Black w/ opacity */
}

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

.collapsible-title:hover {
	background-color: #012a4a;
	color: white;
}

.collapsible-title {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 0.5em;
}

.reset-zoom-btn, .reset-zoom-btn:hover {
  display: inline-block;
  width: auto;
  float: right;
  padding: 8px;
}

.remove-nested-form, .remove-nested-form:hover  {
	width: auto;
	background-color: red;
	padding: 7px;
	border-radius: 2px;
}

input#referral_link {
	display: inline-block;
	width: 90%;
}

.percent-ex {
	font-size: 1em;
	color: grey !important;
}

.color-select {
	height: 24px;
	padding: 0;
}

.chart-point-form {
	margin-bottom: 10px;
}

.radius-select {
	width: 80px;
}

.comparison-chart {
	max-height: 500px;
}

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

.bg-white {
	background-color: white;
}

.inline-block {
	display: inline-block;
}

.w-auto, .w-auto:hover {
	width: auto;
}

.h-auto, .h-auto:hover {
	height: auto !important;
}

.w200 {
	width: 200px;
}

.ra-form {
	width: 300px;
}

.ra-field {
	display: inline-block;
	width: 145px !important;
	padding: 3px 5px;
	font-size: 16px;
}

.ra-submit{ 
	display: inline-block;
	background: none;
	border: none;
	color: white;
	text-align: center;
	padding: 8px 5px;
	text-decoration: none;
	font-size: 16px;
	font-weight: 700;
}

.ra-submit:hover {
 	background-color: #014f86;
 	color: white;
}

.notice {
  color: green;
}

.alert {
  color: red;
}
.d-none {
	display: none;
}

.inline, .inline:hover {
	display: inline-block;
}

.block {
	display: block;
}

.felx {
	display: flex;
}

.bg-comp-results {
	background-color: lightgrey;
}

.white {
	color: white;
}

.p-7 {
	padding: 7px;
}

.p-15 {
	padding: 15px;
}

.br-2 {
	border-radius: 2px;
}

.field_with_errors {
	display: inline-block;
}

.field_with_errors label {
	color: red !important;
}

.pagy {
  display: flex;
  font-family: sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: rgb(107 114 128);
  & > :not([hidden]) ~ :not([hidden]) {
    --space-reverse: 0;
    margin-right: calc(0.25rem * var(--space-reverse));
    margin-left: calc(0.25rem * calc(1 - var(--space-reverse)));
  }

  a:not(.gap) {
    display: block;
    text-decoration: none;
    border-radius: 0.5rem;
    background-color: rgb(229 231 235);
    padding: 0.25rem 0.75rem;
    color: inherit;
    &:hover {
      background-color: rgb(209 213 219);
    }
    &:not([href]) { /* disabled links */
      cursor: default;
      background-color: rgb(243 244 246);
      color: rgb(209 213 219);
    }
    &.current {
      background-color: rgb(156 163 175);
      color: rgb(255 255 255);
    }
  }

  label {
    white-space: nowrap;
    display: inline-block;
    border-radius: 0.5rem;
    background-color: rgb(229 231 235);
    padding: 0.125rem 0.75rem;
    input {
      line-height: 1.5rem;
      border-radius: 0.375rem;
      border-style: none;
      background-color: rgb(243 244 246);
    }
  }
}
