/* Log in dropdown */
.cbp-spmenu {
  background: #333;
  position: fixed;
}

.cbp-spmenu h3 {
  color: #afdefa;
  font-size: 1.9em;
  padding: 20px;
  margin: 0;
  font-weight: 300;
}

.cbp-spmenu a {
  display: block;
  color: #fff;
  font-size: 1.1em;
  font-weight: 300;
}

.cbp-spmenu-vertical {
  width: 240px;
  height: 100%;
  top: 0;
  z-index: 1000;
}

.cbp-spmenu-vertical a {
  border-bottom: 1px solid #258ecd;
  padding: 1em;
}

.cbp-spmenu-horizontal {
  width: 100%;
  height: auto;
  left: 0;
  z-index: 1000;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  opacity: .9;
}

.cbp-spmenu-horizontal h3 {
  height: 100%;
  width: 20%;
  float: left;
}

.cbp-spmenu-horizontal a {
  float: left;
  width: auto;
  padding: 0.8em;
}

.cbp-spmenu .input-group {
  width: 50%;
}

.cbp-spmenu-top {
  top: -150px;
}

.cbp-spmenu-bottom {
  bottom: -150px;
}

.cbp-spmenu-top.cbp-spmenu-open {
  top: 55px;
}

.cbp-spmenu-bottom.cbp-spmenu-open {
  bottom: 0px;
}

.cbp-spmenu-push {
  overflow-x: hidden;
  position: relative;
  left: 0;
}

.cbp-spmenu-push-toright {
  left: 240px;
}

.cbp-spmenu-push-toleft {
  left: -240px;
}

.cbp-spmenu,
.cbp-spmenu-push {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* --- Carousel --- */
.bb-carousel {
  margin: 20px;
}

.bb-carousel .carousel {
  background: transparent;
  margin-top: 20px;
}

.bb-carousel .carousel-indicators li {
  width: 15px;
  height: 6px;
  background-color: #00f8ff;
}

.bb-carousel .carousel img {
  height: 280px;
}

.bb-carousel .carousel-item {
  text-align: center;
  min-height: 280px;
}

.bb-carousel .carousel-control-prev-icon,
.bb-carousel .carousel-control-next-icon {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background-image: none;
  background-color: #333;
}

.bb-carousel .carousel-control-next-icon:after {
  content: '\f054';
  font-size: 30px;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  display: inline-block;
  color: #fff;
  position: relative;
  top: 4px;
  left: 2px;
}

.bb-carousel .carousel-control-prev-icon:after {
  content: '\f053';
  font-size: 30px;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  display: inline-block;
  color: #fff;
  position: relative;
  top: 4px;
  right: 2px;
}

/* --- Lightbox --- */
.sl-wrapper {
  background-color: rgba(0,0,0,0.75);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  z-index: 99;
}

.sl-wrapper:nth-child(1) {
  display:none;
}

.sl-wrapper .sl-content {
  background-color: transparent;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 0;
  width: 50%;
  max-width: inherit;
  display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.sl-wrapper .sl-content .sl-close::before {
  position: absolute;
  top: -5%;
  right: 0;
  cursor: pointer;
  font-size: 3rem;
  font-family: FontAwesome;
  font-weight: 900;
  text-decoration: inherit;
  color: #fff;
  content: "\f00d";
  background-color: transparent;
  opacity: .65;
  left: 100%;
}

.sl-wrapper .sl-content .sl-close:hover::before {
  opacity: 1;
}

.sl-wrapper .sl-content img {
  max-height: 75vh;
  display: block;
  padding: 0;
  overflow-y: auto;
  margin: 0 auto;
  border-radius: 10px;
}
  
/* --- Cookie Alert --- */
.cookiealert {
  position: fixed;
  width: 100%;
  margin: 0 auto !important;
  z-index: 999;
  transform: translateY(100%);
  transition: all 500ms ease-out;
  color: #ecf0f1;
  background-color: #212327;
  min-height: 1rem;
  border-radius: 0;
  bottom: 0;
  font-size: .8rem;
  font-weight: 300;
  padding: 3rem 0;
  border-top: 2px solid #fff;
  opacity: .95 !important;
}

.cookiealert.show {
  opacity: 1;
  transform: translateY(0%);
  transition-delay: 1000ms;
}

.cookiealert a,
.cookiealert button {
  text-decoration: none;
  color: #fff;
  background-color: #007bff;
  border-radius: 3px;
  padding: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cookiealert button {
    border: none;
    padding: 6px 35px;
}

.cookiealert .acceptcookies {
  margin-left: 10px;
  vertical-align: baseline;
}

.cookiealert .cookiealert-container {
  width: 37%;
  margin: 0 auto;
  text-align: justify;
  letter-spacing: 1px;
}

.cookiealert .cookiealert-container p:nth-child(1) {
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 300 !important;
}

.cookiealert .cookiealert-container p:nth-child(2) {
    font-size: 1rem;
    font-weight: 300;
}

@media (max-width: 991px) {
  .cookiealert .cookiealert-container {
    width: 96%;
  }
}

.cookiealert .cookiealert-container p:nth-child(1) {
  text-transform: uppercase;
}

.cookiealert .btn-primary {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cookiealert .btn-primary:hover {
  background-color: #007bff;
  border-color: #007bff;
}

.cookiealert .cookiepolicy {
  display: inline-block;
}

/* --- Header Searchbox --- */
@keyframes swing {
  0% {
    transform: rotate(0deg);
  }

  10% {
    transform: rotate(10deg);
  }

  30% {
    transform: rotate(0deg);
  }

  40% {
    transform: rotate(-10deg);
  }

  50% {
    transform: rotate(0deg);
  }

  60% {
    transform: rotate(5deg);
  }

  70% {
    transform: rotate(0deg);
  }

  80% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes sonar {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.desktop.page-wrapper .sidebar-wrapper,
  .desktop .sidebar-wrapper .sidebar-brand > a,
  .desktop .sidebar-wrapper .sidebar-dropdown > a:after,
  .desktop .sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a:before,
  .desktop .sidebar-wrapper ul li a i,
  .desktop .page-wrapper .page-content,
  .desktop .sidebar-wrapper .sidebar-search input.search-menu,
  .desktop .sidebar-wrapper .sidebar-search .input-group-text,
  .desktop .sidebar-wrapper .sidebar-menu ul li a,
  .desktop #show-sidebar,
  .desktop #close-sidebar {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.desktop #sidebar .input-group-text::before {
  color: #000 !important;
  font-size: 1rem !important;
  margin-right: 0 !important;
}

.desktop.page-wrapper .theme {
  width: 40px;
  height: 40px;
  display: inline-block;
  border-radius: 4px;
  margin: 2px;
}

.desktop.page-wrapper .theme.chiller-theme {
  background: #1e2229;
}

.desktop.page-wrapper.toggled .sidebar-wrapper {
  right: 0px;
  top: 4rem;
}

.desktop #show-sidebar {
  position: fixed;
  right: 1rem;
  top: .5rem;
  border-radius: 0;
  transition-delay: 0.3s;
  z-index: 9999;
  background-color: transparent;
  border: none;
  outline: none;
  box-shadow: none;
}

.desktop #show-sidebar::before,
.desktop .sidebar-wrapper .sidebar-brand #close-sidebar::before,
.desktop #sidebar .input-group-text::before {
  content: "\f002";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  display: inline-block;
  margin-right: 10px;
  color: #244891;
  font-size: 1.6rem;
}

.desktop.page-wrapper.toggled #show-sidebar {
  right: -45px;
  outline: none;
}

.desktop .sidebar-wrapper {
  width: 23.75rem;
  height: auto;
  max-height: 100%;
  position: fixed;
  top: 0;
  right: -25rem;
  z-index: 9999;
}

.desktop .sidebar-wrapper ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.desktop .sidebar-wrapper a {
  text-decoration: none;
}

.desktop .sidebar-content {
  max-height: calc(100% - 30px);
  height: calc(100% - 30px);
  overflow-y: auto;
  position: relative;
  background-color: #c8ebfa;
  border-bottom-left-radius: 10px;
  padding-bottom: 15px;
  opacity: .97;
}

.desktop .sidebar-content.desktop {
  overflow-y: hidden;
}

.desktop .sidebar-wrapper .sidebar-brand {
  padding: 15px 20px 0;
  display: flex;
  align-items: center;
  position: relative;
}

.desktop .sidebar-wrapper .sidebar-brand > p {
  text-transform: uppercase;
  font-weight: bold;
  flex-grow: 1;
}

.desktop .sidebar-wrapper .sidebar-brand #close-sidebar {
  cursor: pointer;
  font-size: 1.7rem;
  position: absolute;
  right: 20px;
  top: 6px;
}

.desktop .sidebar-wrapper .sidebar-brand #close-sidebar::before {
  content: "\f00d";
  font-size: 1.7rem;
}

.desktop .sidebar-wrapper .sidebar-header {
  padding: 20px;
  overflow: hidden;
}

.desktop .sidebar-wrapper .sidebar-header .user-pic {
  float: left;
  width: 60px;
  padding: 2px;
  border-radius: 12px;
  margin-right: 15px;
  overflow: hidden;
}

.desktop .sidebar-wrapper .sidebar-search > div {
  padding: 10px 20px;
}

/* Image upload */
#upload {
  opacity: 0;
}

#upload-label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  font-size: .8rem;
  color: #000 !important;
}

.image-area {
  /*border: 2px dashed #ccc;
  padding: 1rem;*/
  position: relative;
  /*margin-top: .5rem !important;*/
  width: auto;
  margin: 0 auto;
  max-width: 70%;
}

.image-area::before {
  content: '\f0ee';
  color: #ccc;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  z-index: 1;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
}

.image-area img {
  z-index: 2;
  position: relative;
}

.img-upload .text-white {
  color: #000 !important;
}

.img-upload .font-italic {
  font-style: normal !important;
  font-size: .8rem;
  width: 80%;
  margin: 0 auto;
  line-height: 1.25;
}

.img-upload .fa-cloud-upload:before {
  content: "\f0ee";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
}

.img-upload label.rounded-pill {
  border-radius: 5px !important;
  background-color: #eee;
  border-color: #eee;
  cursor: pointer;
}

.img-upload {
  margin-top: 2rem;
  padding: 0;
}

.img-upload img {
  max-width: 150px;
  max-height: 150px;
}

.img-upload img.mx-auto {
  margin: 0 auto !important;
}

.img-upload .py-2 {
  margin-top: 3rem !important;
  border: 1px solid #85A8D2;
  width: 100%;
  border-radius: 5px !important;
  box-shadow: none !important;
  margin: 0 auto;  
}

.edit-profile .image-area::before {
  font-size: 5rem;
}

.edit-profile .img-upload img {
  max-width: 200px;
  max-height: 200px;
}

.edit-profile .img-upload .py-2 {
  width: auto;
  margin: 0 1rem;
  padding: 0 !important;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
  z-index: 2002;
  opacity: .95;
}
.jsgrid-table .jsgrid-cell button {
    background: transparent;
    font-size: 140%;
    border: none;
    font-weight: 600;
    outline: 0;
}
@media (min-width: 992px) {
  .mobile {
      display: none;
  }
  .desktop {
      display: block;
  }
}

@media (max-width: 991px) {
  .mobile {
      display: block;
  }
  .desktop {
      display: none;
  }
}