/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  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 */
  -webkit-animation-name: fadeIn; /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
}

/* Modal Content */
.modal-content {
  position: fixed;
  bottom: 0;
  background-color: #fefefe;
  height: calc(100% - 60px);
  max-width: 1240px;
  overflow: scroll;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s;
  margin-left: 2%;
  margin-right: 2%;
}

.modal-content:after {
  content: "";
  display: table;
  clear: both;
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #717e82;
  color: white;
}

.modal-body {
  padding: 0;
}

.modal-body:after {
  content: "";
  display: table;
  clear: both;
}

.modal-footer {
 padding: 2px 16px;
 background-color: #AC1A40;
 color: white;
}

/*.modalrow {
  display: flex;
}

.modalcolumn {
  flex: 49%;
} */

.modalcolumn {
  float: left;
  width: 49%;
}

/* Clear floats after the columns */
.modalrow:after {
  content: "";
  display: table;
  clear: both;
}

/* Add Animation */
@-webkit-keyframes slideIn {
  from {bottom: -300px; opacity: 0} 
  to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
  from {bottom: -300px; opacity: 0}
  to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

.wrapper {
  width: 100%;
  clear: both;
}
.chart-container {
  height: 400px;
  width: 100%;
}
.chart-text {
  width: 100%;
  padding-right: 0;
}

@media screen and (min-width: 56.25rem) {
  .chart-container {
  position: relative;
  float: right;
  height: 400px;
  width: 50%;
  }
  .chart-text {
  position: relative;
  float: left;
  width: 45%;
  padding-right: 4%;
  }
}

/**tab content wrapper
.wrapper {
	width: 100%;
}
.chart-container {
	height: 400px;
	width: 100%;
}
.chart-text {
	width: 100%;
	padding-right: 0;
	}

@media screen and (min-width: 56.25rem){
	.chart-container {
		position: relative;
		float: right;
		height: 400px;
		width: 50%;
	}
	.chart-text {
		position: relative;
		float: left;
		width: 50%;
		padding-right: 4%;
	}
} **/


/* Tabs in the modal */
 /* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
	font-family: Raleway, sans-serif;
	font-size: 1em;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
  content: "";
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 0 16px 8px 16px;
  border: 1px solid #ccc;
  border-top: none;
} 

.tabcontent:after {
  content: "";
  display: table;
  clear: both;
}

/**table styles**/
table, th, td {
    border: 1px solid #dedede;
}
table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 1.75em;
    table-layout: fixed;
    /*width: 100%; */
}
td, th {
	vertical-align: top;
	font-size: 0.9em;
	line-height: 1.4;
}