@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

body {
  font-family: 'Poppins', sans-serif;
}

/* Admin Styles */
.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;
}

/* Testimonial stuff */
.testimonial-panel{
  width: 100%;
  min-height: 350px;
  background-color: #dddddd;
}
@media only screen and (max-width: 576px) {
  .testimonial-panel{
    min-height:600px;
  }
}
.testimonial-overlay {
  text-align: center;
  width: 100%;
  height: 100%;
  position: relative;
}
.testimonial-overlay .blockquote{
  font-size: 22px;
  line-height: 1.67;
  color: black;
  font-style: italic;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.testimonial-overlay .blockquote-footer{
  font-size: 18px;
  line-height: 1.67;
  font-weight: bold;
}
.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;
  }
}

/* content */

.text {
  font-size: 1rem;
  color: #646464;
  text-align: left;
}
.title {
  font-size: 2rem;
  color: #646464;
  margin: 20px 0px;
  text-align: center;
}
.quote {
  margin: 20px 0px 20px 10px;
  padding: 15px 0px 15px 10px;
  border-left: 3px solid #afafaf;
}
.name {
  font-size: 3rem;
  color: #646464;
  margin: 20px 0px;
  text-align: center;
  border-right: 2px solid #dfdfdf;
  padding-right: 20px;
}
.contact {
  font-size: 2rem;
  color: #70be44;
  margin: 40px 0px;
  text-align: center;
}
.rates {
  font-size: 1.3rem;
  color: #646464;
  text-align: center;
}
.rates-box {
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  padding: 20px;
  margin: 40px 0px 10px 0px;
}
.credit {
  font-size: 0.8rem;
  color: #aaaaaa;
  text-align: center;
  margin: 10px 0px 10px 20px;
}
.detail {
  font-size: 0.8rem;
  color: #aaaaaa;
  text-align: right;
  margin: 10px 0px 10px 20px;
}
.bounds {
  width: 940px;
  margin-left: auto;
  margin-right: auto;
}
.separator {
  height: 2rem;
}
.btn-primary {
  color: #363741 !important;
}
.contact-btn {
  color: #ffffff;
  background-color: #70be44;
  padding: 10px 15px;
  border-radius: 5px;
  transition: 0.5s;
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
}
.contact-btn:hover {
  color: #ffffff;
  background-color: #5a9a37;
  padding: 10px 15px;
  border-radius: 5px;
  transition: 0.5s;
}
.nav-link {
  border-radius: 50px;
  padding: 10px 20px !important;
}
.footer {
  background-color: #e4e4e4 !important;
  padding-top: 20px;
}
.footerlogos {
  float: left;
  /* width: 20%; */
}
.footerlogoslist {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0px 5px !important;
}

@media (max-width:940px) {
  .bounds {
    width: 90%;
  }
  /* .footerlogos {
    width: 20% !important;
  } */
}
@media (max-width:575px) {
  .name {
    text-align: center !important;
    border-right: 0;
    padding-right: 0;
    }
    .text {
      text-align:justify;
    }
    .footer-align {
      text-align: center !important;
    }
}