@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Admin Styles */
body{
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: rgb(31, 31, 31);
  /* padding-top: 78px; */
}
body.frontend{
  padding-top: 72px;
}
.accessdenied,
.incorrect,
.noaccountfound {
  background-color: #ffb9b9;
}
.loggedout {
  background-color: #bbffb9;
}
.passwordupdated,
.passwordreset {
  background-color: #ffe882;
}
#admin-grid {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: min-content auto min-content;
  grid-template-areas:
    "admin-nav"
    "main"
    "admin-footer";
  height: 100vh;
}
#admin-grid-2-top-bar {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: min-content min-content auto min-content;
  grid-template-areas:
    "admin-nav"
    "buttons"
    "main"
    "admin-footer";
  height: 100vh;
}
#sidebar {
  display: none;
  grid-area: sidebar;
  background-color: #484848;
  overflow-y: auto;
}
#buttons {
  background-color: #efefef;
  border-radius: 0.5rem;
  padding: 0.5rem;
  border: 1px solid rgb(206, 212, 218);
  margin-left: auto;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}
#main {
  grid-area: main;
  padding: 1rem;
  overflow-y: auto;
}
#admin-nav {
  grid-area: admin-nav;
}
#admin-footer {
  grid-area: admin-footer;
}

/* MCE */
.mce-fullscreen {
  z-index: 1050 !important;
}

/* Carousel Logo placement */
.mini-logo {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 25%;
  z-index: 100;
  text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.74);
}

/* General Stuff */
.vh-100{
  height: 100vh!important; /* Fallback for browsers that do not support Custom Properties */
  height: calc(var(--vh, 1vh) * 100)!important;
}
a {
  text-decoration: none;
}
.img-left {
  float: left;
  max-width: 50%;
  padding: 10px 10px 10px 0px;
  height: auto;
}
.img-right {
  float: right;
  max-width: 50%;
  padding: 10px 0px 10px 10px;
  height: auto;
}

/* Toasty! */
#liveToast.show{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1021;
}
.toast{
  width: 300px;
  margin-left: auto;
  margin-right: 5rem;
  margin-top: 5rem;
}

/* Gallery stuff */
.galpreview{
  overflow:hidden;
  height: 10rem;
  background-repeat: no-repeat;
  background-size:cover;
  background-position:center;
}

/* Table stuff */
table.dataTable tbody td {
  vertical-align: middle;
}

/* Sidebar nav styling */
.sidebar-nav > a.list-group-item.list-group-item-action {
  background-color: #484848;
  border-color: #909090;
  color: white;
}

.sidebar-nav > a.list-group-item.list-group-item-action:focus,
.sidebar-nav > a.list-group-item.list-group-item-action:hover {
  background-color: #000000;
  border-color: #909090;
  color: white;
}
.sidebar-nav > a.list-group-item.list-group-item-action.active {
  background-color: #bbbbbb;
  color: black;
  border-color: #909090;
}

/* Paralax stuff */
.parallax {
  min-height: 360px;
  width: 100%;
  background:scroll;
  background-size: cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.parallax h1 {
  margin: 0;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
  font-family: "Roboto", sans-serif;
  font-size: 2rem;
  margin-bottom: 1.2rem;
  margin-top: 1.2rem;
}

/* Testimonial stuff */
.testimonial-panel{
  width: 100%;
  min-height: 350px;
  background-color: #eee!important;
}

.testimonial-panel footer{
  background-color: #eee!important;
}
@media only screen and (max-width: 576px) {
  .testimonial-panel{
    min-height:600px;
  }
  footer .text-start, footer .text-end{
    text-align: center!important;
  }  
}
.testimonial-overlay {
  text-align: center;
  width: 100%;
  height: 100%;
  position: relative;
}
.testimonial-overlay .blockquote{
  font-size: 22px;
  line-height: 1.67;
  color: black;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.testimonial-overlay .blockquote-footer{
  font-size: 18px;
  line-height: 1.67;
}
.testimonial-overlay cite{
  font-style: normal;
}
.fade {
  transition: opacity 0.4s linear !important;
}
.show {
  opacity: 1!important;
}
.hide {
  opacity: 0!important;
}
@media (min-width: 768px) {
  #admin-grid {
    grid-template-columns: 12rem auto;
    grid-template-rows: min-content auto min-content;
    grid-template-areas:
      "admin-nav admin-nav"
      "sidebar main"
      "admin-footer admin-footer";
  }
  #admin-grid-2-top-bar {
    grid-template-columns: 12rem auto;
    grid-template-rows: min-content min-content auto min-content;
    grid-template-areas:
      "admin-nav admin-nav"
      "sidebar main"
      "admin-footer admin-footer";
  }
  #sidebar {
    display: grid;
    grid-template-rows: min-content auto min-content;
  }
  .parallax{
    background-position: center;
    background-attachment: fixed;
    min-height: 360px;
  }
  .parallax h1{
    font-size: 3rem;
    margin-bottom: 3rem;
    margin-top: 3rem;
  }
}

.pad-bar {
  padding: 3rem 0rem;
}
.text-small {
  font-size: 0.8rem;
  font-weight: 200;
}

.custom-car {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  min-height: 512px !important;
  max-height: 512px !important;
}

.testimonial-custom {
  min-height: 350px;
  background-color: #ebebeb;
}

.blockquote-footer {
  background: none;
}

.image-block {
  width: 85%;
  height: 290px;
  border-radius: 10px;
  margin-top: 25px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.service {
  background-color: #f0f0f0;
  padding: 15px;
  border-radius: 10px;
  transition: 0.3s;
  width: 100%;
}
.custom-bg {
  background-color: #f0f0f0;
  border-radius: 10px;
  width: 100%;
  padding: 1rem;
}
.service:hover {
  scale: 1.03;
  transition: 0.3s;
}
.cladding {
  background-image: url(/images/Cladding.jpg);
}
.fascia {
  background-image: url(/images/gutttering.jpg);
}
.roofing {
  background-image: url(/images/Roofing.jpg);
}
.asbestos {
  background-image: url(/images/asbestosremoval.jpg);
}
.training {
  background-image: url(/images/first-aid.jpg);
}
.asbestos-training {
  background-image: url(/images/asbestos-2.jpg);
}
.asbestos-survey {
  background-image: url(/images/asbestos.jpg);
}

.navbar {
  min-height: 72px;
  font-size: 0.85rem;
}

.team-member {
  height: 350px;
  border: 1px solid #53b415;
  margin: 5px;
  border-radius: 10px;
  padding: 5px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.member {
  background-color: #53b415;
  border: 1px solid #53b415;
  border-radius: 8px;
  width: 100%;
  min-height: 100px;
}
.dean {
  background-image: url(/images/teammembers/dean.jpg);
}
.steve {
  background-image: url(/images/teammembers/steve.jpg);
}
.peter {
  background-image: url(/images/teammembers/peter.jpg);
}
.grant {
  background-image: url(/images/teammembers/grant.jpg);
}
.vincent {
  background-image: url(/images/teammembers/vincent.jpg);
}
.sean {
  background-image: url(/images/teammembers/sean.jpg);
}
.luke {
  background-image: url(/images/teammembers/luke.jpg);
}
.sharon {
  background-image: url(/images/teammembers/sharon.jpg);
}
.darren {
  background-image: url(/images/teammembers/darren.jpg);
}
.john {
  background-image: url(/images/teammembers/john.jpg);
}
.adrian {
  background-image: url(/images/teammembers/adrian.jpg);
}
.lukec {
  background-image: url(/images/teammembers/lukec.jpg);
}
.chris {
  background-image: url(/images/teammembers/chris.jpg);
}

.br-10 {
  border-radius: 10px;
}

.mobile-logo {
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 99;
}
.mobile-mobile {
  position: fixed;
  top: 22px;
  left: 22px;
}
.mobile-email {
  position: fixed;
  top: 22px;
  left: 50px;
  right: 50px;
  margin: auto;
  text-align: center;
}
.mobile-burger {
  position: fixed;
  top: 22px;
  right: 12px;
}