/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */


 /* New */

.container {
  clear: both;
  margin-left: auto;
  margin-right: auto;
  max-width: 1440px;
  position: relative;
}


/* Tables */
th {
  background-color: #002145;
  color:#f8f9fa;
  font-size: 14pt;
  font-weight: normal;
  padding: 3px;
}

td {
  padding: 3px 10px;
  text-align: center;
}
td.align-left {
  text-align: left;
}

tr {
  padding: 3px;
}

table.alternate tr:nth-child(odd) {
  background-color: #dee2e6;
}

table.alternate tr:nth-child(even) {
  background-color: #e9ecef;
}



 /* Inherited from HG website */

html { 
  height: 100%; 
  font-family: Calibri, Arial, Helvetica, sans-serif;
}

body {
  position:relative; 
  min-height:100%; 
  margin: 0;
  padding: 0;
  padding-bottom: 50px;   /* Footer height */
  background-color: #f8f9fa;
  font-family: Calibri, Arial, Helvetica, sans-serif;
  font-size: 14pt;
  color: #000;
}

footer
{
  position: absolute; 
  left: 0 ; right: 0; bottom: 0; 
  height: 40px;
  padding-left: 10px;
  padding-top: 10px;
  background-color: #F2F2F2;
font-size: 11pt;
  text-align: center;
}

header {
  background-color: #F2F2F2;
  color: #F2F2F2;
  padding: 15px 40px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

* {
  box-sizing: border-box;
}


h1 {
	margin-top: 0px;
	margin-bottom: 20px;
	font-size: 35pt;
	font-weight: normal;
	color: #558ed5;
}

h2 {
	margin-top: 0;
	font-weight: normal;
	color: #B2B2B2;
	font-size: 22pt;
}


.font-weight-bold {
  font-weight: bold;
}


.alert {
  color: red;
}

.header_logo {
  width: 333px; 
  height: 50px;
}

.notice {
  color: green;
}

/* ----- Menu ----- */

.active {
  background-color: #717171;
}

/* Add a black background color to the top navigation */
.topnav {
  background-color: #002145;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #558ed5;
  color: white;
  font-weight: normal;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
} 

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {
      display: none;
  }
  .topnav a.icon {
      float: right;
      display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {
      position: relative;
  }
  .topnav.responsive a.icon {
      position: absolute;
      right: 0;
      top: 0;
  }
  .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
  }
} 

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

div.field {
  margin-top: 10px;
}

.field p {
  margin-top: 0px;
  margin-bottom: 0px;
}

div.actions {
  margin-top: 10px;
}




/* ----- Icons ----- */

div.svg-sprite {
  width: 0;
  height: 0;
  position: absolute;
  overflow: hidden;
}

svg.icon {
  fill: none;
  stroke: black;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1.2em;
  height: 1.2em;
}

svg.icon-green {
  stroke: green;
}

svg.icon-red {
  stroke: red;
}
