/* Admin Styles */
body{
  /* padding-top: 78px; */
}
.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;
  }
  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;
  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;
  }
}
