/*
    DEMO STYLE
*/

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
body {
  font-family: 'Poppins', sans-serif;
  background: #fafafa;
}

/*
p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1em;
  font-weight: 300;
  line-height: 1.7em;
  color: #999;
}
*/

a,
a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
  width: 250px;
  position: fixed;
  top: 0;
  left: -250px;
  height: 100vh;
  z-index: 999;
  color: #fff;
  transition: all 0.3s;
  overflow-y: scroll;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
  background-color: #0091B9 !important;
}

#sidebar.active {
  left: 0;
}

#dismiss {
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  background: #004E9B;
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

#dismiss:hover {
  background: #fff;
  color: #0091B9;
}

.overlay {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  top: 0;
}
.overlay.active {
  display: block;
  opacity: 1;
}

#sidebar .sidebar-header {
  padding: 13px;
  background: #0091B9;
}

#sidebar ul.components {
  padding: 0;
}

#sidebar ul p {
  color: #fff;
  padding: 10px;
}

#sidebar ul.components li a,
#sidebar li.btn-toggle span{
  padding: 13px;
  display: block;
  cursor: pointer;
  color: #FFFFFF;
  background-color: #004E9B;
}

#sidebar ul.components li a:hover {
  color: #0091B9;
  background: #fff;
}

#sidebar ul.components li.active>a,
#sidebar ul.components li.active>a[aria-expanded="true"] {
  color: #fff;
  background: #6d7fcc;
}

#sidebar ul.components li.active>a[data-toggle="collapse"] {
  position: relative;
}

#sidebar .dropdown-toggle::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

#sidebar ul ul a {
  font-size: 1rem !important;
  padding-left: 20px !important;
  background: #0091B9;
}

ul.CTAs {
  padding: 20px;
}

ul.CTAs a {
  text-align: center;
  font-size: 0.9em !important;
  display: block;
  border-radius: 5px;
  margin-bottom: 5px;
}

a.download {
  background: #fff;
  color: #7386D5;
}

a.article,
a.article:hover {
  background: #6d7fcc !important;
  color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
  width: 100%;
  padding: 0px 20px 20px 20px;
  min-height: 100vh;
  transition: all 0.3s;
  /*position: absolute;*/
  right: 0;
}

/* -----------
Ajustements
 ------------- */
#userDropdown {
  /*bottom*/
  position: fixed;
  bottom: 0px;
}

#dropdownMenuButton1 {
  width:235px;
  text-align: left;
  padding: 5px;
  margin: 0px 10px 0px 10px;
  background-color: transparent;
  border: none;
  color: #FFFFFF !important;
}

ul.dropdown-menu.show {
  background-color: #FFF;
  padding: 0px;
  border:none;
  box-shadow: 0px 0px 2px #666;
}

ul.dropdown-menu.show > li > a {
  font-size: 1rem !important;
  padding: 5px 10px 5px 10px;
  text-decoration: none;
}

ul.dropdown-menu.show > li:first-child {
  margin-top: 10px;
}

ul.dropdown-menu.show > li:last-child {
  margin-bottom: 10px;
}

#sidebarCollapse {
  margin:0px 20px 0px 20px;
}

.btn-menu {
  --bs-btn-color: #FFF;
  --bs-btn-bg: #004E9B;
  --bs-btn-border-color: #004E9B;
  --bs-btn-hover-color: #FFF;
  --bs-btn-hover-bg: #0091B9;
  --bs-btn-hover-border-color: #0091B9;
  --bs-btn-focus-shadow-rgb: 11, 172, 204;
  --bs-btn-active-color: #FFF;
  --bs-btn-active-bg: #004E9B;
  --bs-btn-active-border-color: #004E9B;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #FFF;
  --bs-btn-disabled-bg: #0dcaf0;
  --bs-btn-disabled-border-color: #0dcaf0;
}

a.dropdown-item {
  cursor: pointer;
}

/**************************
** MAIN MENU
 *************************/
@media (max-width: 992px) {
  #navbarMainMenu {
    margin-top: 5px;
  }

  #navbarMainMenu a.nav-link {
    margin-left: 30px;
  }
}

/**************************
** SUBMENU Dropdown
 *************************/
.subMenuButton .dropdown-item.active,
.subMenuButton .dropdown-item:active {
  color: #333333;
  text-decoration: none;
  background-color: #CCCCCC;
}