/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
  background-image: url('../img/LRBackground.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  font-family: 'Cantarell Bold', sans-serif;
  font-size: 18px;
}
#topmenu {
  outline-style:solid;
  outline-color:white;
  outline-width:1px;
  float:right;
  background-color:rgba(0,0,0,0.2);
  position:relative;
  right:-10px;
  color:white;
  padding: 5px 5px 5px 5px;
  font-family: 'Cantarell Bold', sans-serif;
}
#makepayment {
    float:right;
    position:relative;
    top:25px;
    right:25px;
    color:black;
    clear:right;
    font-weight:bold;
}
#title {
    position:relative;
    top:35px;
    left:50px;
    width:50%;
    z-index:-99;   
}
#logo {
    position:relative;
    top:10px;
    left:110px;
    width:50%;
    z-index:-99;   
}
#blt {
    font-weight:normal;
}
#alert {
  position: relative;
  top:100px;
  outline-color:darkred;
  outline-width:2px;
  outline-style:solid;
  background-color: rgba(255,255,255,0.99);
  width:45%;
  margin: auto;
  padding: 10px 10px 10px 10px;
  text-align:center;   
}
#privacy {
  position: relative;
  top:50px;
  outline-color:black;
  outline-width:1px;
  outline-style:solid;
  background-color: rgba(255,255,255,0.99);
  width:40%;
  margin: auto;
  padding: 10px 10px 10px 10px;
  text-align:center;
}
#address {
  text-align:center;
}
#boiler {
  font-size:10px;
}
#mainbody {  
  outline-color:black;
  outline-style:solid;
  outline-width:4px;
  position: relative;
  top:80px;
  width:50%;
  background-color: rgba(255,248,248,0.95);
  padding: 50px 100px 50px 100px;
  margin: auto;
  font-size: 16px;  
}
#mainbody::after {
  content: "";
  /*background: url("/images/scales.png");
    background-position: center center;*/
  background-size: cover;
  background-repeat:no-repeat;
  opacity: 1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;   
}
#innerbody img {
  height: 100px;
  width: auto;
  text-align: center;
  float: left;
  padding: 1px 1px 1px 1px;
  border-style: solid;
  border-width: 1px;
  border-color:black;
  margin: 1px 10px 1px 1px;
  clear:both;
}
#columns {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-evenly;
	align-items: stretch;
}
.column {
  float: left;
  width: 50%;
}
.column40 {
  float: left;
  width: 40%;
}
.column60 {
  float: left;
  width: 60%;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other on smaller screens (600px wide or less) */
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
}
#columns img {
  height: 100px;
  width: auto;
  text-align: center;
  float: left;
  padding: 1px 1px 1px 1px;
  border-style: solid;
  border-width: 1px;
  border-color:black;
  margin: 1px 10px 1px 1px;
  clear:both;
}
#terms{
  text-align: center;
}
/* unvisited link */
#topmenu a:link {
  color: white;
  text-decoration:none;
}
/* visited link */
#topmenu a:visited {
  color: white;
  text-decoration:none;
}
/* mouse over link */
#topmenu a:hover {
  color: darkblue;
  text-decoration:none;
}
/* selected link */
#topmenu a:active {
  color: blue;
  text-decoration:none;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

