/* RDG Customisations */

/* CUSTOM FONTS */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --rdg-red: #ed1c24;
  --rdg-red-subtle: 237, 28, 36, 0.5;

  --rdg-yellow: #ffc53b;
  --rdg-yellow-subtle: 255, 197, 59, 0.5;

  --rdg-green: #5fc4b7;
  --rdg-green-subtle: 95, 196, 183, 0.5;

  --rdg-black: #111111;
  --rdg-black-subtle: #33333350;

  --rdg-grey: #58595b;
  --rdg-grey-subtle: 88, 89, 91, 0.5;

  --rdg-light-grey: #a8a9ac;
  --rdg-light-grey-subtle: 168, 169, 172, 0.5;

  --rdg-header-color: var(--rdg-grey);
  --rdg-sub-header-color: var(--rdg-light-grey);

  --rdg-font-family: 'Exo 2', sans-serif;
  --rdg-font-size: 15px;
}

@media (max-width: 980px) {
  .container {
    width: 95%;
  }
  .et_fixed_nav.et_show_nav #page-container, .et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container {
    padding-top: 10px;
  }
  a.navbar-brand.img-fluid {
    max-width: 70%;
  }
}

w-10 {
  width: 10% !important
}

w-15 {
  width: 15% !important
}

w-20 {
  width: 20% !important
}

html, body, p {
  color: var(--rdg-grey);
  font-family: var(--rdg-font-family) !important;
  font-size: var(--rdg-font-size); !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--rdg-header-color);
  font-family: var(--rdg-font-family);
  line-height: 1.2em;
}

h1 {
  font-size: 1.9em;
  font-weight: 500;
}

h2 {
  font-size: 1.75em;
  font-weight: 500;
}
@media screen and (max-width: 500px) {
  h2 {
    font-size: 1.6em;
  }
}

h3 {
  font-size: 1.6em;
  font-weight: 400;
}

@media screen and (max-width: 500px) {
  h3 {
    font-size: 1.4em;
  }
}

h4 {
  font-size: 1.45em;
  font-weight: 400;
}

@media screen and (max-width: 500px) {
  h4 {
    font-size: 1.2em;
  }
}

h5 {
  font-size: 1.3em;
  font-weight: 400;
}

@media screen and (max-width: 500px) {
  h5 {
    font-size: 1.1em;
  }
}

h6 {
  font-size: 1.15em;
  font-weight: 400;
  line-height: 1.6em;
}

@media screen and (max-width: 500px) {
  h6 {
    font-size: 1.05em;
  }
}

.rdg-quick-link-tagline, .rdg-quick-link-text {
  color: #888;
  font-size: 1.0em !important;
  line-height: 1.4em !important;
}

a.rdg-quick-link:hover {
  background-color: var(--rdg-yellow) !important;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-default {
  cursor: default;
}

a.rdg-link-hover-danger:hover {
  background-color: #B2313B !important;
  border-radius: 3px !important;
  color: #f5f5f5 !important;
}

/* GRAVITY FORMS */
.gform_button, .gform-theme-button {
  color: #ffffff !important;
  border-width: 14px !important;
  border-color: rgba(0, 0, 0, 0);
  border-radius: 4px;
  letter-spacing: 2px;
  font-size: 18px;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  background-color: #5fc4b7;
}

.gform-theme-button .dashicons {
  color: #222222;
}

/* HACK FOR NOW - BBQs file upload control */
#gform_browse_button_8_1, #gform_submit_button_8  {
  font-size: 14px;
  background-color: #d1040c;
}


/* ************** */

/* PLACEHOLDER SHIMMERS https://codepen.io/kianlavi/pen/BzbRZw */
.shimmer-shine {
  background: #f6f7f8;
  background-image: linear-gradient(to right, #f1f7f8 0%, #edeef1 20%, #f1f7f8 40%, #f6f7f8 100%);
  background-repeat: no-repeat;
  background-size: 800px 104px;
  display: inline-block;
  position: relative;

  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeholderShimmer;
  animation-timing-function: linear;

  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-name: placeholderShimmer;
  -webkit-animation-timing-function: linear;
}

shimmer-box {
  height: 104px;
  width: 100px;
}

shimmer-div {
  display: inline-flex;
  flex-direction: column;
  margin-left: 25px;
  margin-top: 15px;
  vertical-align: top;
}

shimmer-lines {
  height: 15px;
  padding: 8px;
  width: 95%;
}

shimmer-photo {
  display: block !important;
  width: 325px;
  height: 100px;
  margin-top: 15px;
}

@keyframes placeholderShimmer {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}

@-webkit-keyframes placeholderShimmer {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}

/* END PLACEHOLDER SHIMMERS */

.blur {
  filter: blur(5px);
}

/* ISOTOPE */

.xgrid-item {
  float: left;
  xheight: 450px;
  margin-bottom: 10px;
  margin-right: 10px;
}

.xgrid-sizer,
.xgrid-item {
  /*width: 450px;*/
  width: 48%;
}
@media only screen and (max-width: 600px) {
  .xgrid-item {
    width: 98%;
  }
}

/*.xgrid-item--width2 { width: 40%; }*/

.xgrid-item--shortx { height: 450px; }

.xgrid-item--tallx { height: 760px; }

/*HEAD OFFICE LANDING*/
.rdg-head-office-landing {
  /*min-height: 90vh;*/
}

.rdg-checklist-item {
  border: 1px solid #fff;
}

.rdg-can-trash:hover {
  border: 1px solid var(--bs-danger);
  background-color: var(--bs-danger-bg-subtle) !important;
}

.rdg-can-trash:hover .rdg-checklist-trash-button {
  color: inherit;
}

.rdg-checklist-trash-button {
  color: transparent;
  z-index: -99999999;
}

.rdg-checklist-trash-button:hover {
  color: #222;
  z-index: 99999999;
}

.item-no-highlight:hover {
  background-color: transparent !important;
}

#main-footer {
  background-color: #333;
}
#footer-bottom {
  background-color: transparent;
  padding: 0;
  text-align: center;
}

#footer-info {
  color: #cccccc;
}

 /*SweetAlert2 - feGaussianBlur background */
body.swal2-shown > [aria-hidden='true'] {
  transition: 0.1s filter;
  filter: blur(3px);
}

/* Sticky footer styles */
/* https://getbootstrap.com/docs/4.0/examples/sticky-footer-navbar/sticky-footer-navbar.css */
html {
  background-color: #1F2124;
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  /*margin-bottom: 60px;*/
}
#main-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
}


html.is-staging {
  border-left: 13px solid orange;
  border-right: 13px solid orange;
  border-bottom: 13px solid orange;
}
