:root {
  --background-color: #D3D3D3;
  --background-color-footer: #4B4A4B;
  --footer-color: #000000;
  --dropdown-text-color: #AAAAAA;
  --text-color:#000000;
  --footer-text-color: #989898;
  --border-color: #AAAAAA;
  --fonts: Lato;
}

img.resize {
  width:330px;
  position: relative;
  text-align: center;
  display: block;
  left: 0;
  top: 0;
}

body {
  margin: 0;
  padding-top: 0;
  margin: 0;
}

.col_box {
  position: relative;
  left: 0;
  top: 0;
}

.icon_logo {
  position: absolute;
  block-size: 25%;
  top: 28px;
  left: 125px;
}

.icon_title {
  position: absolute;
  top: 95px;
  left: 0px;
  font-family: var(--fonts);
  color: #585856;
  font-size: 19px;
  font-weight: bolder;
  width: 330px;
  text-align: center;
}

.icon_desc {
  position: absolute;
  top: 132px;
  width: 330px;
  font-family: var(--fonts);
  color: #585856;
  font-size: 16px;
  padding-left: 30px;
  padding-right: 30px;
  font-weight:normal;
  text-align: center;
}


.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 10;
}

.footer_hf {
  position: fixed;
  bottom: 0px;
  font-family: var(--fonts);
  display: flex;
  justify-content: flex-start;
  -webkit-box-pack: start;
  align-items: baseline;
  -webkit-box-align: center;
  flex-wrap: wrap;
  background-color: var(--footer-color);
  box-shadow: 0 1px 3px var(--border-color);
  height: 50px;
  width: 100%;
}

.footer-container {
  font-family: var(--fonts);
  display: flex;
  justify-content: flex-start;
  -webkit-box-pack: start;
  align-items: center;
  -webkit-box-align: center;
  flex-wrap: wrap;
  background-color: var(--background-color-footer);
  height: 45px;
  width: inherit;
}

.contact  {
  font-family: var(--fonts);
  color: var(--footer-text-color);
  position: absolute;
  right: 20px;
}

.footer-text {
  font-family: var(--fonts);
  color: var(--footer-text-color);
  margin-left: 1em;
}

.logo_hf {
  display: flex;
  align-items: center;
  height: 55px;
}

.logo_hf_form {
  display: block;
  align-items: center;
  height: 29px;
}

.logo_hf, .logo_hf_form img {
  margin: 0 1em;
}


.footer_img {
  margin-left: auto;
}

.footer_hf .container_hf {
  justify-content: center;
  color: var(--text-color);
  box-shadow: 0 -1px 2px var(--border-color);
}

.col_img {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -ms-flex-positive: 1;
  max-width: 100%;
  position: relative;
  font-family: var(--fonts);
}

.col_img:hover .resize {
  opacity: 0.3;
}

.dashboard > .container-fluid > .row {
  flex-flow: row wrap;
  justify-content: space-evenly;
}

/****************** update 12/03/21 *************/
/************************************************/
/************************************************/



/***** open menu using hamb button *****/

.menu-nav-list {
  list-style: none;
  margin: 0px;
  padding: 0px;
  display: none;
  position: absolute;
  z-index: 15;
  color: var(--background-color);
  top: 0px;
  right: 0px;
  left: 0px;
  bottom: 0px;
  font-size: 1.1875rem;
  background: linear-gradient(
    -63.43deg,
    var(--background-color) 15%,
    var(--background-color) 85%
  );
  text-align: left;
}

.menu-nav-list a:hover {
  color: #F8F8F8;
}

.container a {
  text-decoration: none;
  color: var(--text-color);
}

/***** for dropdown menu ****/

.main-nav {
  flex-grow: 1;
  margin-top: -5px;
  margin-right: -5px;
}

.main-nav li {
  display: inline;
}

.main-nav ul {
  display: flex;
  justify-content: flex-end;
}

.main-nav a {
  padding: 2.8em 2.5em;
  color: var(--text-color);
}

.main-nav a:hover {
  color: rgb(240, 255, 240);
}

.dropdown {
  position: relative;
  display: inline-block;
  font-family: var(--fonts);
}

.dropdown-content {
  display: none;
  position: absolute;
  right: -15px;
  top: 36px;
  font-family: var(--fonts);
  background-color: #DFDFDF;
  font-size:16px;
  text-align: center;
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 0px 0px;
  z-index: 1;
}

.dropdown-content a {
  padding: 12px 16px;
  color: #000000;
  text-decoration: none;
  display: block;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a:hover {
  background-color: #B1B1B1;
  color: #F8F8F8;
}

#nav span:after { /**** dropdown little arrow ****/
  width: 0;
  height: 0;
  border: 0.313em solid transparent;
  border-bottom: none;
  border-top-color: #000000;
  content: '';
  vertical-align: middle;
  display: inline-block;
  position: relative;
  right: -1.200em;
}

.main-header .container, .container {
  font-family: var(--fonts);
  display: flex;
  justify-content: flex-start;
  -webkit-box-pack: start;
  align-items: center;
  -webkit-box-align: center;
  flex-wrap: wrap;
  background-color: var(--background-color);
  box-shadow: 0 1px 2px var(--border-color);
  height: 50px;
  max-width: 100%;
  position: fixed;  /**** <--  this fixes header ******/
  top: 0;
  width: 100%;
  z-index: 10;
}

@media only screen and (max-width: 768px) {

  .main-header .container {
    justify-content: space-between;
    align-items: center;
    justify-items: center;
  }

  .main-nav {    /***** dissapears API Reference & Contact when reducing screen ****/
    display: none;
  }

  /* Hamburger menu button settings & animations */

  .menu span:nth-child(1) {
    top: 0px;
  }

  .menu span:nth-child(2),
  #menu span:nth-child(3) {
    top: 10px;
  }

  .menu span:nth-child(4) {
    top: 20px;
  }

  .menu.open span:nth-child(1) {
    top: 0px;
    width: 0%;
    left: 50%;
  }

  .menu.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .menu.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menu.open span:nth-child(4) {
    top: 0px;
    width: 0%;
    left: 50%;
  }

  .menu {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: end;
    justify-content: flex-end;
    height: 1.5em;
    width: 30px;
    position: relative;
    margin-right: 1em;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    cursor: pointer;
    z-index: 16;
  }

  .menu span {
    display: block;
    position: absolute;
    height: 5px;
    width: 100%;
    background: var(--text-color);
    border-radius: 5px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
  }

  /**** Menu list styling ****/

  .menu-nav-list {
    display: none;
    position: fixed;
    flex-direction: column;
    overflow-y: auto;
    justify-content: center;
    align-items: center;
    line-height: 3;
    text-size-adjust: 100%;
  }

}

.footer-link1 {  /**** style for footer link 1 legal note ****/
  font-family: var(--fonts);
  color: var(--footer-text-color);
  margin-left: 34em;
}

.footer-link2 {  /**** style for footer link cookies ****/
  font-family: var(--fonts);
  color: var(--footer-text-color);
  margin-left: 1em;
}

/************************************************/
/************************************************/
/************************************************/

.dropdown-item a:hover {
  color: rgb(240, 255, 240);
  text-decoration: inherit;
}

li a:hover {
  text-decoration: unset;
}


img {
  vertical-align: middle;
  border-style: none;
}

.dashboard {
  background-color: white;
  padding-top: 50px;
  padding-bottom: 50px;
}

.dashboard h2 {
  font-family: var(--fonts);
  text-align: center;
  font-size: 24px;
}

.footer_hf {
  z-index: 1;
}

.article {
  padding-top: 70px;
  padding-bottom: 70px;
}