/* ---------------------------------------------
   vars & fonts
*/

:root {
  --sbgrn: #baf553;
  --sbgry: #7a7a7a;
}

@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400;
    src: local("IBM Plex Sans"), local("IBMPlexSans"), url("/fonts/IBMPlexSans-Regular-Latin1.woff") format("woff");
    unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02
}

@font-face {
    font-family: 'Inconsolata';
    font-style: normal;
    font-weight: 700;
    src: local("Inconsolata"), url("/fonts/Inconsolata-Bold.woff2") format("woff2");
}


body {
    font-family: 'IBM Plex Sans';
}

body p {
    font-size: 1.45em;
}

h1, h4, h6 {
    font-family: 'IBM Plex Sans';
}

h2, h3, h5 {
    font-family: Inconsolata;
}


h1 { font-size: 38pt; }
h2 { font-size: 30pt; }
h3 { font-size: 26pt; }
h4 { font-size: 22pt; }
h5 { font-size: 20pt; }
h6 { font-size: 16pt; }



/* ---------------------------------------------
   body layout & styles
*/

/*body, div {
    border: 1px solid white;
}*/

body {
    height: 100%;
}

h1,h3,h4,h5.h6 {
    clear: both;
}

h2 {
    clear: left;
}

body div h3 {
    margin-bottom: 5px;
}

div#content {
    border-radius: 10px;
    padding: 10px 50px;
    background: white;
}

.content, .outline {
    max-width: 1600px;
    margin: auto;
    padding: 10px 50px;
}

.page-content {
    max-width: 70%;
}

div#company {
    font-size: 9pt;
}

#sblogo {
    floaat: left;
    max-width: 350px;
}

hr.sbgrn {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid var(--sbgrn);
    margin: 16px 0;
    padding: 0;
}

.enquire {
/*    padding: 30px;
    border-radius: 10px;*/
    color: black;
    background: silver;
    text-indent: 10px;
    clear: both;
}

#enquire-methods {

}

.contact-method {
    width: 4em;
    display: inline-block;
    font-weight: bold;
}


div:has(>h4) {
    min-width: 410px;
    max-width: 420px;
    float: right;
    clear: right;
    margin-left: 20px;
}

a {
    color: var(--sbgrn);
}

.topnav .icon {
    display: none;
}

#header-contact {
    float: left;
    width: 250px;
    background: var(--sbgry);
    border-radius: 10px;
    line-height: 1.4em;
    clear: both;
    padding: 10px 20px;
    margin: -10px 0 20px 0;
}

#header-contact .header-contact-link {
    font-weight: bold;
    text-decoration: none;
    vertical-align: top;
}

#header-contact .header-contact-link:hover {
    text-decoration: underline;
}

#header-contact .header-contact-title {
    font-weight: bold;
    font-family: Inconsolata, fixed;
    color: white;
}

div#content.content figure {
    margin-left: 0;
    margin-right: 0;
}

#header-contact {
    float: right;
    margin-top: 1px;
}

.page-contact-us-boxout {
    background: var(--sbgrn);
    min-width: 420px;
    font-family: 'IBM Plex Sans';
    border-radius: 10px;
    float: right;
    align: center;
    color: black;
    margin-left: 30px;
}

div.page-contact-us-boxout p {
    text-align: center;
    align: center;
}

div.page-contact-us-boxout p a {
    color: black;
    font-size: 2em;
    padding: 50px;
    text-decoration: none;;
}

body p a {
    color: black;
}

body p a:hover {
    text-decoration: underline;
}


div h4 {
    margin-bottom: auto;
    background: black;
    color: var(--sbgrn);
    text-indent: 10px;
    font-family: inconsolata;
    padding: 10px;

}

div ul.org-ul.body-list {
    font-size: 1.3em;
}

body #footer-links {
    font-size: 0.7em;
    margin: 20px auto;
    width: 450px;
}

body #footer-links a {
    color: gray;
    text-decoration: underline;
}

body #footer-links a:hover {
    color: gray;
    text-decoration: none;
}


div ul.org-ul.page-links {
    font-family: inconsolata, fixed;
    font-size: 1.3em;
    list-style-type: decimal-leading-zero;
    color: var(--sbgrn);
    background: black;
    padding: 20px;
    list-style-position: inside;
    margin-top: 0;
}

div ul.org-ul li a {
    text-decoration: underline;
}

div ul.org-ul li a:hover {
    text-decoration: none;
}


.page-links {
    font-size: 1.7em;
}

ul.also-see {
    background: gray;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 0;
    font-size: 1.3em;
}


ul.page-bullets {
    margin-top: 0;
    font-size: 1.3em;
}

.banner-img {
    align: center;
    width: -moz-available;
    width: -webkit-fill-available;
    max-height:
}

/* ---------------------------------------------
   navigation
*/

div.topnav {
   min-height: 51px;
 /* Add a black background color to the top navigation */
  background-color: #333;
  /*overflow: hidden;*/
  border: 0;
  font-family: Inconsolata;
}

/* Style the links inside the navigation bar */
div.topnav ul {
    border-left: 1px white;
}

div.topnav ul li {
  overflow: hidden;
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 12px 16px;
  font-size: 1.6em;
}


div.topnav ul li a{
    text-decoration: none;
    font-size: 1.5em;
}


/* Add an active class to highlight the current page */
.active {
  background-color: red;
  color: white;
}


/* Add a grey background to dropdown links on hover */
div.topnav ul li:has(ul) a:hover {
  background-color: #ddd;
  color: black;
}

#attribution-table, #attribution-table td {
    border-bottom: 1px solid silver;
}

div:has(> table.body-list) {
    overflow: scroll;
}

/* .dropdown replaced */
/* Dropdown container - needed to position the dropdown content */
div.topnav ul li:has(ul) .org-ul {
    padding-left: 0;
    float: left;
    margin-top: 20p;
    position: absolute;
    overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
div.topnav ul li:has(ul) {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 12px 16px;
  background-color: inherit;
  font-family: inherit;
  /*margin: 0;*/
}

/* Style the dropdown content (hidden by default) */
.topnav.div ul.org-ul li > ul.org-ul li {
  display: none;
  /*position: absolute;*/
  background-color: #333;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  padding-left: 10px;
}

/* Style the links inside the dropdown */
div.topnav ul li:has(ul) ul li {
  float: none; /* was left */
  text-decoration: none;
  display: block;
  text-align: left;
  font-size: 0.83em;
  clear: both;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
div#navmenu.topnav ul.nav1 li:hover ul.org-ul li {
  display: block;
}

.highlight-reverse {
    background: var(--sbgrn);
    width: fit-content;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.emergency-info {
    background: #e33;
    text-size: 3em;
    font-weight: bold;
    color: black;
    text-indent: 0;
    font-size: 3em;
    width: fit-content;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

h3#heading-enquire {
    display: inline-block;
    width: 48%;
    margin-bottom: 50px;
    vertical-align: top;
}

/* adjust clearances */
h3:not(#heading-enquire) {
    display: inline-block;
}

div.enquire div {
    width: 50%;
    display: inline-block;
    border: 0;
    margin: 15px auto;
    border-radius: 10px;
    background: #777;
}

div.enquire div ul {
    list-style-type: none;
    font-size: 1.3em;
}

div.enquire div ul li {
    list-style-type: ;
}


/* responsive media queries */

/* 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 ul:not(:first-child), .topnav ul li ul {
        display: none;
    }

  .topnav a.icon {
      float: right;
      display: block;
      font-size:25px;
      margin-top: 10px;
      margin-right: 10px;
      text-decoration: none;
      position: relative;
  }

  #sblogo {
      max-width: 250px;
  }

  h1 {
      font-size: 34pt;
  }
}


/* responsive/mobile layouts */
@media screen and (max-width: 811px) {

    div.topnav ul li:has(ul) {
        font-size: 0.9em;
    }

}

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

    div#content {
        padding: 0;
    }

    .content, .outline {
        padding: 0;
    }


    div.topnav ul li:first-child {
        font-size: 17px;
    }

  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive ul li a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive ul {float: none;}
  .topnav.responsive ul {position: relative;}
   .topnav.responsive ul {
    display: block;
    width: 100%;
    text-align: left;
    clear: both
  }

  #content.content {
      clear: both;
  }

  .topnav.responsive ul li:not(:first-child) {
      display: none;
  }

  .topnav.responsive ul.divider  {
      display: none;
  }

  .topnav.responsive ul li ul li {
      display: none;
  }

  .desktop {
      display: none;
  }

  #header-contact {
      display: none;
  }

  .else-read {
      display: none;
  }

  .page-contact-us-boxout {
      width: 100%;
  }

  div.page-contact-us-boxout p a {
      padding: 0;
  }

  h3#heading-enquire {
      width: 100%;
      margin-bottom: 0;
  }

  div.enquire div {
      width: 100%;
      border-radius: 0;
  }



}

/* narrower screens */
@media screen and (max-width: 414px) {

    div:has(> h4) {
        min-width: 100%;
        margin-left: 0;
    }

    div.enquire div ul {
        font-size: 1.2em;
        text-indent: 0;
        padding-left: 5px;
    }

    div#navmenu ul li:has(ul) .org-ul > li {
        display: none;
    }

    div#navmenu.topnav ul.nav1 li:hover ul.org-ul li {
        display: none;
    }

}

@media screen and (min-width: 600px) {

    div.topnav ul:first-child {
        display: none;
    }

    .menulast {
        display: none;
    }

    .page-contact-us-boxout {
        clear: right;
    }


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