@use '../variables/colours' as *;
// This file sets styles for main HTML elements.
// If it starts to get too large, it would be a good idea to break it into component
// blocks.

html {
  font-size: 0.9rem;
  font-weight: 300;
  position: relative;
  min-height: 100%;
}

/* For sticky footer */
main {
  margin-bottom: 100px;
  margin-top: 30px;
  @media (max-width: 768px) {
    margin-bottom: 420px;
  }
  @media (min-width: 768px) and (max-width: 1000px) {
    margin-bottom: 200px;
  }
}

body{
  padding-bottom: 50px;

  hr {
    border-top: 1px solid #eeeeee;
  }

  .row {
    --bs-gutter-x: 0rem;
  }
  
}

/* footer */
footer {
  position: static;
  bottom: 0;
  margin-top: 20px;
  margin-bottom: -20px;
  width: 100%;
}

/* generic styling */
fieldset {
  border: none;

  input[type="radio"],
  input[type="checkbox"] {
      margin: 0px;
      vertical-align: middle;
  }

  .checkbox,
  .radio {
    margin-top: 0px;
    margin-bottom: 3px;
  }
}

legend {
  border: none;
  font-size: 14px; 
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: capitalize;
}

a {
  color: $color-link-text;
}

h1, h2, h3, h4, h5, h6 {
  /* font-family: "GillSansLight"; */
  color: $color-heading-text;
}


.fas:not(.small) {
  font-size: 1rem;
}

/** Added as Bootstrap 5.2 has dropped  .text-justify class. 
So we added this based on comment 
https://github.com/twbs/bootstrap/pull/29793#issuecomment-1814683346
*/
.text-justify {
  text-align: justify;
  text-justify: inter-word;
}



