/*  General CSS   */
html {
  height: 100%;
}

body {
  height: 100%;
  font-family: MainFont, Times new roman, Courier new, serif;
	font-size:18px;
  font-weight: 200;
  border: none;
	margin: 0;
  padding:0;
	text-align:center;
	min-height:100%;
  background:#ffffff;
}

h1 {
  font-size: 32px;
  font-weight: 500;
}

h2 {
  font-size: 28px;
  font-weight: 500;
}

h3 {
  font-size: 20px;
  font-weight: 500;
  display: block;
  width: 100%;
  text-align: left;
  margin-top: 10px;
  margin-bottom: 10px;
}

h3.section-h3 {
  font-weight: 700;
}

h4 {
  font-size: 18px;
  font-weight: 500;
}

h5 {
  font-size: 22px;
  font-weight: 500;
  text-decoration: underline;
}

th {
  font-weight: 500;
}

p {
  color: #64707b;
  font-size: 16px;
  font-weight: 300;
  text-align: justify;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  display: block;
}

svg {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
}

.cb {
  clear: both;
  width: 100%;
  height: 0.1px;
  font-size: 0.1px;
}

a.noul {
  text-decoration: none;
}

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

ol.legend {
  counter-reset: list;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 2vw, 20px);
}
ol.legend > li {
  list-style: none;
  counter-increment: list;
}

ol.legend > li::marker {
  content: counter(list, upper-alpha) " - ";
}

/* last column collapsed border fix */
@media print {
    tr:last-child{background:#fff}
}

#main_cont {
  margin-bottom: 20px;
}


/*  Buttons  */
.btn-general {
  display: block;
  border-width: 1px;
  border-radius: 0;
  border-style: solid;
  padding: 5px 20px 5px 20px;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-white {
  border-color: #303030;
  color: #303030;
}

.btn-white:hover,
.btn-white:focus {
  color: #ffffff;
  background-color: #303030;
  text-decoration: none;
}

.btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 22px;
  padding: 3px 15px;
  border-radius: 0;
  display: none;
}

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

.whitespace-nowrap {
  white-space: nowrap;
}


#bg {
  position: relative;
  min-height: 100vh;
}

#content-wrap {
  padding-bottom: 2rem;    /* Footer height */
  width: 100%;
}

#graph-content-wrap {
  padding-bottom: 0;    /* Footer height */
  width: 100%;
}

footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2rem;            /* Footer height */
  background-color: #f0f0f0;
  padding: 5px 0;
  text-align: center;
  font-size: 14px;
  font-weight: normal;
  color: #606060;
}

.info-graph {
  padding: 0 !important;
}


/*--------------------------------------------
              Header
----------------------------------------------*/
a.admin-logo {
  display: table-cell;
  height: 60px;
  margin: 0 auto 0 0;
  padding: 0;
  text-align: left;
  vertical-align: middle;
  color: #303030 !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 22px;
  font-style: normal;
}

a.admin-logo img {
  height: 100%;
}

.logo_title {
  display: inline-block;
}

/*--------------------------------------------
              Navigation
----------------------------------------------*/
.navbar {
  padding: 0 20px !important;
  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  height: 60px;
  background: #f0f0f0;
}

.navbar-nav {
  background: #f0f0f0;
}

.nav-link {
  font-size: 14px;
  font-weight: normal;
  height: 60px;
  padding: 17px 14px !important;
  color: #303030 !important;
  background-color: #f0f0f0;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  background-color: #e0e0e0 !important;
}

.nav-link-short {
  display: inline-block;
  font-size: 14px;
  font-weight: normal;
  height: 60px;
  padding: 18px 5px !important;
  color: #303030 !important;
  background-color: #f0f0f0;
}

.nav-link-short a {
  text-decoration: none !important;
}

.navbar-toggler {
  border: 1px solid #303030 !important;
  border-radius: 0;
  margin: 0 !important;
}

.navbar-toggler-icon {
  background: none !important;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

.navbar-toggler-icon i {
  color: #303030;
  display: block;
}

.navbar-brand {
  height: 60px;
  padding: 15px;
  font-size: 20px;
  color: black;
}

.navbar-brand:hover {
  color: #808080;
}

/*--------------------------------------------
              Login
----------------------------------------------*/
#login_form {
  margin: 10px auto;
}

#login_form table {
  margin: 0 auto;
}

#login_form table th,td {
  margin: 0;
  padding: 3px;
}

#login_form input {
  border: 1px solid #303030;
  padding: 3px 5px;
}


/*--------------------------------------------
              Main
----------------------------------------------*/
#bg {
  padding-top: 80px;
}

img.fullwidth {
  max-width: 100%;
  width: 100%;
}

table.fullwidth {
  width: 100%;
}

table.list {
  margin: 10px 0;
  padding: 0;
  border-collapse: collapse;
  border: 1px solid #606060;
}

table.list th{
  margin: 0;
  padding: 5px;
  border: 1px solid #606060;
  background-color: #f0f0f0;
}

table.list th img{
  max-width:20px !important;
  max-height:24px !important;
}

table.list td{
  margin: 0;
  padding: 2px 5px;
  border: 1px solid #606060;
}

table.sort td {
  cursor: move !important;
}

td.table_img img{
  max-height: 60px;
}

table.ex_list {
  margin-bottom: 20px;
}

a.back {
  display: inline-block;
  width: 200px;
}

a.left {
  display: inline-block;
  width: 200px;
  margin-right: 20px;
}

a.right {
  display: inline-block;
  margin-left: 20px;
  width: 200px;
}

.warning {
  color: #d00000;
}

.error {
  width: 100%;
  display: block;
  padding-top: 15px;
  padding-bottom: 5px;
  text-align: center;
  color: #d00000;
}

.message {
  width: 100%;
  display: block;
  padding-top: 15px;
  padding-bottom: 5px;
  text-align: center;
  color: #00c000;
}


table.borderless {
  border: 0 !important;
}

table.borderless td, table.borderless th{
  border: 0 !important;
}

table.thinborder td, table.thinborder th{
  border: 1px solid #f0f0f0 !important;
}

table.overview {
  margin: 0;
}

table.overview th{
  text-align: left;
  padding: 5px;
}

table.overview td{
  text-align: right;
  padding: 5px;
}

table.overview a{
  color: #606060;
  text-decoration: none;
}

.info-block {
  padding: 10px 10px 30px 10px;
  margin: 15px 0 0 0;
  height: 100%;
}

.info-graph {
  min-height: 90vh;
}

.ct-chart {
  height: 90%;
}

.ct-zoom-rect {
  fill: rgba(200, 100, 100, 0.3);
  stroke: red;
}

.ct-point {
  stroke-width: 0px !important;
}


.chart-block {
  margin: -15px;
}

#my-chart {
  height: 85%;
  width: 95%;
  overflow: hidden;
}

.subhead {
  text-align: center;
  margin: 10px 0;
  width: 100%;
}

.subhead a{
  display: inline-block;
  padding: 5px 15px;
  color: #303030;
}

.subhead a.selected{
  color: #c00000 !important;
}

/*--------------------------------------------
              Forms
----------------------------------------------*/

select {
  border-radius: 0;
  -webkit-appearance: none;
  -webkit-border-radius: 0px;
  background-image: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24' viewBox='0 0 24 24'><path fill='%23444' d='M7.406 7.828l4.594 4.594 4.594-4.594 1.406 1.406-6 6-6-6z'></path></svg>");
  background-position: 100% 50%;
  background-repeat: no-repeat;
  padding: 2px 30px 2px 10px;
  font-weight: 200;
}

.admin_form {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}

.admin_form input {
  border: 1px solid #e0e0e0;
  padding: 3px 5px;
}

.admin_form input.fullwidth {
  width: 100%;
}

.admin_form textarea {
  border: 1px solid #e0e0e0;
  padding: 3px 5px;
  width: 100%;
  resize: none;
}

.admin_form table {
  margin: 0 15px;
  width: 100%;
}

.admin_form table th{
  text-align: left;
}

.admin_form table td{
  text-align: left;
}

.input_text {
  width: 120px;
  font-size: 18px;
  font-weight: 200;
  text-align: center;
}

.input_val {
  width: 60px;
  font-size: 18px;
  font-weight: 200;
  text-align: center;
}

.send_form input[type=button], input[type=submit], input[type=reset]{
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 300;
}

.command-form select{
  border: 0;
  margin: 0 auto;
  padding: 3px 30px 3px 15px;
  width: min(100%, 200px);
  text-align: center;
}

.command-form input{
  border: 1px solid #a0a0a0;
  margin: 0 auto;
  padding: 3px 15px;
  width: min(100%, 200px);
  text-align: center;
}

.command-form input[type=button], input[type=submit], input[type=reset]{
  border: 1px solid #a0a0a0;
  margin: 0 auto;
  padding: 1px 15px;
  text-align: center;
}

.command-input-readonly {
  border: none !important;
  text-align: left !important;;
  color: #a0a0a0;
}

.command-input-placeholder {
  visibility: hidden;
}

.value_error {
  border: 1px solid #c00000;
  background-color: #ffa0a0;
}

/*--------------------------------------------
              Examples
----------------------------------------------*/

.ass_text {
  text-align: justify;
}
.ass_img a{
  display: block;
  width: 100%;
}

.ass_img a img{
  max-width: 100%;
  height: auto;
}

.calc-row{
  margin-bottom: 15px;
}

.calc-col{
  margin-top: 5px;
  margin-bottom: 0;
}

table.result {
  max-width: 100%;
  border: 1px solid #000000;
  border-collapse: collapse;
}

table.result th{
  border: 1px solid #000000;
  padding: 5px;
  background-color: #f0f0f0;
}

table.result td{
  border: 1px solid #000000;
  padding: 5px;
  font-weight: 300;
}

td.td_th {
  font-weight: 500 !important;
  background-color: #f0f0f0;
}




div.grid_container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: minmax(80px, auto);
  grid-gap: 15px;
}

div.grid_container2 {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-auto-rows: minmax(80px, auto);
  grid-gap: 15px;
}

div.grid_container3 {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(80px, auto);
  grid-gap: 15px;
}

div.grid_container4 {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-rows: minmax(80px, auto);
  grid-gap: 15px;
}

div.grid_item {

}

div.grid_col_span2 {
  grid-column: span 2;
}

div.grid_col_span3 {
  grid-column: span 3;
}

div.grid_col_span4 {
  grid-column: span 4;
}

div.grid_col_span6 {
  grid-column: span 6;
}

div.grid_row_span2 {
  grid-row: span 2;
}

div.grid_row_span3 {
  grid-row: span 3;
}

div.content-block {
  width: 100%;
  padding: 15px;
  /*
  border-radius: 5px;
  box-shadow: 3px 3px 5px #a0a0a0; */
  overflow:hidden;
  background-size: cover;
  background-position: center center;
}

div.content-block img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
}

div.content-block2 {
  width: 100%;
  overflow:hidden;
}

div.content-block2 img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
}

div.content-paragraph {
  text-align: justify;
}

div.content-graph {
  min-height: 350px;
}

div.zero-pad {
  padding: 0 !important;
}

div.contact_logos img {
  max-width: min(64px,100%);
}

a.graph_detail {
  display: block;
  text-decoration: none;
  color: #000000;
  margin-top: 24px;
  padding: 4px;
  background-color: #f0f0f0;
}
