body > #main-container {
  padding-top: 50px;
}
#main-container  > .container-fluid{
  display: block;
  padding-top: 20px;    
  padding-left: 20px;
  padding-right: 20px;
}

#background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background-image: url(/assets/images/header.jpg);
  background-position: top;
  background-size: cover;
}

#background-container .background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-color: rgba(91, 3, 123, 0.6);
}


/* nav styles
-------------------------------------------------- */
.navbar-brand {
  display: flex;
  align-items: center;
}
.navbar-brand>img {
  padding-right: 10px;
}
@media (min-width: 768px) {
  nav .navbar-right > li:last-child {
    margin-right: 15px;
  }
}
@media (max-width: 767px) {
  .navbar-nav.navbar-right span.navbar-text {
    display: block;
    padding: 10px 15px;
    margin: 0;
  }
}


/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  margin-bottom: 80px;
}
#footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 78px;
  margin: 0;
  background-color: rgba(204, 204, 204, 0.1);
  border-top: 1px solid rgba(153, 153, 153, 0.2);
}
#footer  p.text-muted {
  padding: 10px 0;
  margin: 0;
  line-height: 20px;
}


/* Side nav styles
-------------------------------------------------- */
@media (min-width: 768px) {
  /*
  body.sidenav-on.sidenav > #main-container{
    transition: margin-left 0.8s ease;
  }
  body.sidenav-on.sidenav #footer{
    transition: left 0.8s ease;
  }
  body.sidenav-on.sidenav .sidenav{
    transition: margin-left 0.8s ease;
  }
  */
  body.sidenav-on.sidenav > #main-container {
    margin-left: 250px;
  }
  body.sidenav-on.sidenav #footer {
    left: 250px;
  }
  body.sidenav-on.sidenav .sidenav {
    margin-left: 0px;
  }
  
  .navbar.sidenav {
    margin-left: -250px;
    z-index: 1;
    position: absolute;
    width: 250px;
    height: 1200px;
    border-radius: 0;
  }
  .navbar.sidenav ul {
    width: 100%;
  }
  .navbar.sidenav li {
    display: block;
    width: 100%;
  }
  .navbar.sidenav  .navbar-nav>li {
    border-bottom: 1px solid rgba(204, 204, 204, 0.2);
  }
  .navbar.sidenav .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    box-shadow: none;
    border-radius: 0;
    border: none;
  }
}
@media (max-width: 767px) {
  .navbar.sidenav {
    border: none;
    margin-bottom: -10px;
    box-shadow: none;
    margin: 0 -15px;
  }
  .navbar.sidenav .navbar-nav {
    margin: 0;
  }
}

/* Callout styles
-------------------------------------------------- */
.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
    background-color: #fff;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout+.bs-callout {
    margin-top: -5px;
}
.bs-callout-default {
    border-left-color: #777;
}
.bs-callout-default h4 {
    color: #777;
}
.bs-callout-primary {
    border-left-color: #428bca;
}
.bs-callout-primary h4 {
    color: #428bca;
}
.bs-callout-success {
    border-left-color: #5cb85c;
}
.bs-callout-success h4 {
    color: #5cb85c;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}

/* Ajax loader styles
-------------------------------------------------- */
#ajaxLoader {
    filter: alpha(opacity=50);
    opacity: .5;
}
#ajaxLoader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
    display: none;
}
#ajaxLoader-content {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -50px;
  margin-left: -50px;
  width: 100px;
  height: 100px;
}

/* Back to top styles
-------------------------------------------------- */
.back-to-top {
  background: none; 
  margin: 0;
  position: fixed; 
  bottom: 0;
  right: 0;
  width: 70px; 
  height: 70px; 
  z-index: 1032;
  display: none;
  text-decoration: none;
}
.back-to-top i {
  font-size: 60px;
}

/* Maintenance styles
-------------------------------------------------- */
#maintenance {  
  margin-top: 20px;
}

#maintenance #main-card {
  margin-top: 6em;
}

#maintenance #maintenance-logo {  
  margin-top: -80px !important;
}

#maintenance img {
  max-width: 160px;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* navbar scroll functions
-------------------------------------------------- */
/*
@media (max-width: 767px) {
  .navbar {
    transition: top 0.8s ease;
  }
  .navbar-hide {
    top: -120px;
  }
}
*/

.navbar {
  transition: top 0.8s ease;
}
.navbar-hide {
  top: -120px;
}

/* modal vertical center trick
-------------------------------------------------- */
/*
body.modal-open .modal {
  display: flex !important;
  height: 100%;
} 

body.modal-open .modal .modal-dialog {
  margin: auto;
}
*/

/* modal perso
-------------------------------------------------- */
#alertModal .modal-content {
  background-color: rgba(0, 0, 0, 0.7);
}

#alertModal .modal-body {
  color: #ffffff;
}

#alertModal .modal-body p:last-child {
  margin-bottom: 0px;
}

#alertModal .close {
  color: #ffffff;
}

/* glass style
-------------------------------------------------- */
/* From https://css.glass */
.glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* AOS debug
-------------------------------------------------- */
.aos-container-debug {
  overflow-x: hidden;
  overflow-y: hidden;
}