/* Colori giocabilita */
.btn-primary {
    background: #2b84c6;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: #005da5;
}
.btn-success {
    background: #85c775;
}
.btn-info {
    background: #71c7d6;
}
.border-primary {
    border-color: #2b84c6!important;
}
.border-success {
    border-color: #85c775!important;
}
.border-info {
    border-color: #71c7d6!important;
}
.badge-primary {
    background: #2b84c6;
}
.badge-success {
    background: #85c775;
}
.badge-info {
    background: #71c7d6;
}


/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
    padding-left: 20px;
    padding-top: 20px;
    background-color: #fff;
}

#content-wrapper {
    min-height: 500px;
}

/* Main cards style */
.card-header {
    display: flex;
}
.card-icon-title {
    width: 20%;    
    text-align: right;
}
.card-title {
    margin-bottom: 0px;
    width: 80%;
}

/* Dashboard card text*/
.ds-c-t {
    padding: 1.25rem;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    margin-bottom: 1rem;
}
/* Dashboard card plot*/
.ds-c-p {
    padding: 1.0rem;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    margin: 0.8rem;
}

.background-overlay {
    background: #000;
    opacity: 0.7;
    width: 100%;
    height: 100%;
    z-index: 10000;
    position: absolute;
    display: none;
}

.main-title-wrap {
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 2px solid #111;
}

/* The side navigation menu */
.sidenav {
  /* height: 100%; 100% Full-height */
  width: 250px; /* 0 width - change this with JavaScript */
  position: absolute; /* Stay in place */
  z-index: 10; /* Stay on top */
  /* top: 48px; */
  left: 0;
  background-color: #fff; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  /* padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  /* margin-left: -15px; */
}

.sidenav .nav-link {
    color: #242424;
}

.sidenav .nav > .nav-item:hover {
    margin-left: 0.8rem;
    transition: 0.5s;
}

.sidenav .dropdown-item:hover {
    background-color: unset;    
}

.sidenav .dropdown-item {
    margin-left: 1rem;
}

/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  /* font-size: 25px; */
  color: #242424;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #0e0e0e;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.dropdown-divider {
    border-top: 2px dashed #2b84c6;
}


/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

.sidenav .nav-header {
    font-weight: bold;
    padding-left: 1.5rem;
    color: #0e0e0e;
}

.hovered {
    background-color: #71c7d675 !important;
    color: #000 !important;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
}

.hovered a {   
    color: #000 !important;
}

/* Footer */
.footer-outer {
    display: flex;
    justify-content: center;    
    border-top: 2px solid #d0547e;
}

.footer-inner {
    padding: 10px;
}


.close-nav-btn {
    display: none;
}

/* General responsive stuff */
@media (max-width: 576px) {

    div.close-nav-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 4px;
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }


    h4 {
        font-size: 1.1rem;
    }
}