@import "/css/apps/date-time-picker-component.min.css";

html,body { margin:0; padding:0; }

html { font-size: 16px; scroll-behavior: smooth; xxxscroll-behavior: cubic-bezier(0.42, 1, 0.58, 1); }
* { font-family: Roboto; }
* { margin: 0; padding:0; }

p {
  margin: 1rem 0 1rem 0;
  line-height: 2rem;
}

a { text-decoration:none; }

.container {
  margin: 0 auto;
  max-width: 1280px;
  width: 90%;
}
.container li {margin-left:1rem;}

.padall {
  padding: 1rem 1rem 1rem 1rem;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.col {
  display: flex;
  flex-direction: column;
  flex: 0 ;
}

.c1 { flex-basis: 16.666% }
.c2 { flex-basis: 33% }
.c3 { flex-basis: 50% }
.c4 { flex-basis: 66.666% }
.c5 { flex-basis: 100% }

.middle {position:absolute; top:50%; left:50%; transform: translate(-50%,-50%); }

.bottom-right {position:absolute; bottom:5%; right:5%;  }
.middle-right {position:absolute; bottom:40%; right: 5%; }
.text-centre { text-align: center; }

.gs-offset-top { margin-top:2rem; }
.gs-offset-bot { margin-bottom:2rem; }
.gs-offset-left { margin-left:2rem; }
.gs-offset-right { margin-right:2rem; }

h2 { font-size: 2.2rem; font-weight: 300; }
h3 { font-size: 2rem; font-weight: 300; margin-top: 2rem; }
h4 { font-size: 1.5rem; font-weight: 300; }
h5 { font-size: 1.2rem; margin-top: 2rem; }

.gs-footimg { width: 60%; border-radius:10px; margin-top: 3rem; }

.gs-copyright { text-align:center; font-size: 0.8rem; margin: 1rem 0 1rem 0; }

table.gs-table { }
.gs-table td { padding: 0 1rem 0 1rem; }

video.gs-video {  max-width:640px; max-height:480px; width:100%; height:100%; margin: 1rem 0 2rem 0;}

/* ---------------------------
   IMAGES
   --------------------------- */
img.gs-img {
  border-radius: 6px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

img.gs-img-w {
  border-radius: 6px;
  box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.2), 0 6px 20px 0 rgba(255, 255, 255, 0.19);
}


img.gs-img-small { width: 80%; margin-left:2rem; }
img.gs-img-fl { float:left; margin-left: 10%; }
img.gs-img-fr { float:right; }



@media (max-width: 900px) {
  .row {
    display: block;
  }
  
  img.gs-img-fl { float:none; }
  img.gs-img-fr { float:none; }
  
  .middle-right { position:relative; margin: 0; }
  
}

@media only screen and (max-width: 1200px) {
  .container {
    width: 85%;
  }
  .c2 {
    flex-basis: 50%;
  }
}

/* ---------------------------
   COLOURS
   --------------------------- */
.gs-white { color: #fff; }
.gs-white-bg { background-color: #fff; }
.gs-black { color: #000; }
.gs-black-bg { background-color: #000; }
.gs-grey { color: #444; }
.gs-grey-bg { background-color: #444; }
.gs-lgrey { color: #888; }
.gs-lgrey-bg { background-color: #888; }
.gs-green { color: #040; }
.gs-green-bg { background-color: #040; }
.gs-yellow { color: #ff9; }
.gs-yellow-bg { background-color: #ff9; }
.gs-orange { color: #f90; }
.gs-orange-bg { background-color: #f90; }
.gs-purple { color: #808; }
.gs-purple-bg { background-color: #808; }
.gs-lpurple { color: #b0b; }
.gs-lpurple-bg { background-color: #b0b; }

.gs-link-white { color:#fff; text-decoration: none;} 
.gs-link-white:hover { color:#ddd; } 
.gs-link-black { color:#000; text-decoration: none;} 
.gs-link-black:hover { color:#222; } 


/* ---------------------------
   BUTTONS
   --------------------------- */
.gs-button { 
  display:block;
  height:2rem;
  margin-right:0;
  margin-left:auto;
  padding: 0.2rem;
  background-color: #f90;
  color: #222;
  font-size:1.2rem;
  cursor:pointer;
  border:none !important;
}
.gs-button:hover {
  background-color: #fa0;
}


  
/* ---------------------------
   CARDS
   --------------------------- */
.gs-card { 
  position:relative;
  border: 1px solid #888;
  border-radius:6px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  height: 32rem;
  width: 90%;
  margin: 1rem 0 1rem 0;
}

.gs-card p { }

.gs-card img {
  border-top-left-radius:6px;
  border-top-right-radius:6px;
  width:100%;
  height:40%;
  object-fit: cover;
}
.gs-card-title {
  text-align:center;
  color: #1B5E20;
  font-size: 1.5rem;
}

.gs-card-subtitle {
  text-align:center;
  color: #000;
  font-weight:bold;
  font-size: 1rem;
}

.gs-card-summary {
  line-height: 1.5rem;
  padding: 0 1rem 0 1rem;
  font-size: 1rem;
  max-height:8rem;
  overflow:hidden;
}

.gs-card-action {
  position: absolute;
  bottom:0.5rem;
  right:0.5rem;
}
.gs-card-action button {
  font-size:1rem !important;
  background-color: #080;
  color:#fff;
}

@media (max-width: 800px) {
  .gs-card {
    height: auto;
  }
  .gs-card-summary { font-size: 1rem; }
}

/* ---------------------------
   RESPONSIVE TABLES
   --------------------------- */
table.gs-rtable {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table.gs-rtable caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table.gs-rtable tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}

table.gs-rtable th,
table.gs-rtable td {
  padding: .625em;
  text-align: center;
}

table.gs-rtable th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media screen and (max-width: 800px) {
  table.gs-rtable {
    border: 0;
  }

  table.gs-rtable caption {
    font-size: 1.3em;
  }
  
  table.gs-rtable thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table.gs-rtable tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  table.gs-rtable td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  table.gs-rtable td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table.gs-rtable td:last-child {
    border-bottom: 0;
  }
}

/* ---------------------------
   ACCORDION
   --------------------------- */
.gs-accordion {
  background-color: #f90;
  color: #000;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: center;
  font-size:1.5rem;
  border: none;
  border-radius:6px;
  outline: none;
  transition: 0.4s;
  margin-top:1rem;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.gs-accopen,.gs-accordion:hover {
  color: #fff;
  background-color: #444;
}

/* Style the accordion panel. Note: hidden by default */
.gs-panel {
  padding: 1rem;
  background-color: white;
  overflow: hidden;
}
.gs-hidden {
  display: none;
}

/* ---------------------------
   PARALLAX SCROLLING
   --------------------------- */
.gs-parallax {
  position:relative;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  min-height:100vh;
}

.gs-hero-box {
  width: 30rem;
  height:auto;
  padding: 0.5rem;
  background-color: #629C14;
  font-size:1.2rem;
  border-radius: 10px;
  border: solid 2px #030;
  color:#fff;
  opacity:0.7;
}
.gs-hero-box img {
  float:left;
  height:10rem;
  margin-right:1rem;
}

@media only screen and (max-width: 1000px) {
  .gs-parallax {
    background-attachment: scroll;
    background-size: 100%;
    min-height:50vh;
    width:100%;
  }
  
}    
@media only screen and (max-width: 800px) {
  .gs-hero-box {display: none; }
}

/* ---------------------------
   FORMS
   --------------------------- */
::placeholder {
 color: #000;
}
.ip-text input::placeholder {
  color: #000; font-size: 0.8rem; 
}

div.ip-zipcode { position:absolute; left:-9999999px; }

input:focus, select:focus, textarea:focus, button:focus { outline: none; }

.ip-date {
  position:relative; height:5rem;
  max-width:20rem;
}
.ip-date label { position:absolute; top:0; left:0; font-size:0.8rem; font-weight:bold; }
.ip-date>div { margin-top:1.1rem; width:20rem; }

.ip-text { position:relative; margin-bottom: 1rem;}
.ip-text * { font-size:1rem; }
.ip-text label { position:absolute; top:0; left:0; font-size:0.8rem; font-weight:bold; }
.ip-text input,select,textarea { margin-top:1.1rem; font-size:1.1rem !important; height:2rem; }
.ip-text span { font-size:0.8rem; font-weight:bold; }

.ip-text select,button,input[type=text],input[type=date],input[type=password] {
  border: 1px solid #080 !important;
  border-radius:6px !important;
  padding-left:5px !important;
}

xxinput[type=file] {margin-top:0; background-color:#333; color:#fff; }

.ip-text select:focus,input[type=text]:focus,input[type=date]:focus {
  border: 1px solid #4287f5 !important;
  color: #008;
}

.ip-textarea { width: 90%; height: 10rem; }
div.ip-button { display:inline-block; }
.ip-button button { background-color:#060; color:#fff; border:0; text-align:center; min-width:8rem; height:2rem; }
.ip-button button:hover,input[type=file]:hover { background-color:#080; cursor: pointer; }
.ip-right { margin-left:auto; margin-right:0; }
.ip-left  { margin-right:auto; margin-left:0; }

.ip-help { cursor:pointer; margin-left:5px; color:#080; }
.ip-help:hover { color:#090; }
.fa-circle { color: #000; }
.fa-stack-2x { color: #000; margin-top:6px; font-size: 0.8rem !important; }

span.ip-catsel { padding-left:1rem; font-size:1.0rem; font-weight:bold; }

.ip-chkbox { margin-bottom: 1rem; }
.ip-floatl { float:left; }
.ip-floatl-text { float:left; max-width:90%; padding-left:0.75rem; }

.ip-map { width: 400px; height: 400px; }
.ip-loc { width: 125px; font-size:0.8rem; border:0; border-radius:6px; }
.ip-locname { width: 192px; }

.ip-dropzone {
  position:absolute;
  top:0;
  left:8rem;
  display:block;
  width: 6rem;
  border-radius: 6px;
  border: 2px dashed #040;
  padding:0.4rem;
  margin:1.5rem 0 0 1rem;
  text-align:center;
}
.ip-dropzone-hover { background-color: #080; }

.ip-fupload {
  display: inline-block;
  cursor: pointer;
  background-color:#060; color:#fff; border:0; text-align:center; min-width:8rem; height:2rem;
}
.ip-flist { font-size:0.9rem; margin-top:-0.5rem; }
.ip-file-delete { cursor:pointer; }

.ip-noerr { }
.ip-error { color: #800; }
.ip-errmsg { color: #800; font-size: 0.7rem; font-weight:bold; padding-left:0.5rem; }

/* charts */

.std-chartsize { max-width:600px; max-height:600px; }


#alertmsg {
  color: #fff;
  position:fixed;
  bottom:1px;
  width:100%;
  min-height:4rem;
  padding:1.2rem 0 0 1.2rem;
  font-size: 2rem;
  overflow-wrap: normal;
}

.amok {
  background-color: #080;
}
.amerr {
  background-color: #800;
}
.amwarn {
  background-color: #008;
}
.aminfo {
  background-color: #444;
  font-size:1rem !important;
}

/* The close button */
#alertmsg > .amclose {
  position: absolute;
  top: 5px;
  right: 45px;
  color: #fff;
  font-weight: bold;
  font-size: 1.5rem;
  cursor: pointer;
}

#alertmsg i {
  font-size:3rem;
  padding-right:1rem;
}


/* When moving the mouse over the close button */
#alertmsg > .amclose hover {
  color: black;
}

/* ---------------------------
   SIDE NAV SLIDE OUT MENU
   --------------------------- */

.gs-sidenav {
  height: 100%; /* 100% Full-height */
  width: 300px; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Stay on top */
  top: 0;
  left: -600px;
  background-color: #111;
  color: #fff;
  line-height: 1.5rem;
  overflow-x: hidden;
  padding: 1rem; 
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

/* Position and style the close button (top right corner) */
.gs-sidenav .gs-closebtn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2rem;
  margin-left: 50px;
  cursor:pointer;
}

.gs-sidenav a:hover {
  color: #f1f1f1;
}

 /* Remove default bullets */
ul, .catul {
  list-style-type: none;
}

/* Remove margins and padding from the parent ul */
.catul {
  margin: 0;
  padding: 0;
}

.inset {
  margin-left: 20px;  
}

/* Style the caret/arrow */
.caret, .catspan {
  cursor: pointer;
  user-select: none; /* Prevent text selection */
}

/* Create the caret/arrow with a unicode, and style it */
.caret::before {
  content: "\25B6";
  display: inline-block;
  margin-right: 6px;
}

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.caret-down::before {
  transform: rotate(90deg);
}

/* Hide the nested list */
.nested {
  display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.active {
  display: block;
} 

.catsel {
  color: #060;
}



/* ---------------------------
   MODAL POPUP
   --------------------------- */

.modal {
  position:absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index:999;
}
   
.modal-close {
  display:none;  
}

.modal-closeit {
  color: #000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor:pointer;
}

/* Modal Header */
.modal-header {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

/* Modal Body */
.modal-body {padding: 2px 16px;}

/* Modal Footer */
.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: 10% auto auto auto;
  max-width: 600px;
  padding: 0;
  border: 1px solid #888;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}

/* ======================================== */
/* text rendering classes - used by widgets */
/* ======================================== */

a.reflink { padding: 0 0 0 30px; }

a.xlink {
  color: #060;  
}
a.xlink:hover {
  color: #080;  
}

.hbold {
  font-weight:bold;
  color: #444;
}

div.txtindent {
  padding: 0 0 0 20px;
}

div.emphasis {
  border-left: #040 solid 20px;
  padding-left: 1rem;
  font-weight: bold;
  margin: 0 0 1rem 1rem;
}

div.emphasis-red {
  border-left: #800 solid 20px;
  padding-left: 1rem;
  font-weight: bold;
  margin: 0 0 1rem 1rem;
}

span.indent {
  display: inline-block;
  width: 10px;
  height: 1px;
}

div.xxx {
  display: inline-block;
  float: left;
}


.mdimg {
  max-width:80%;  
}
