.background-decid {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.6;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
footer {
    position: sticky;
    bottom: 0px;
}
.emoji {
    font-size: 4em;
    weight: 100;
}
.alt {
    background-color: #f0ffff;
    padding: 5px;
}
details {
    border-style: solid;
    border-radius: 4px;
    border-color: #eee;
    margin: 0 0 1em;
}
summary {
    background: #eee!important;
    border-radius: 4px!important;
    padding: 10px 15px!important;
    outline: 1px dotted #a2aab2!important;
    outline-offset: -4px!important;
}

blockquote {
    padding-left: 10px;
    border-left: 5px solid #eee;
}
cite {
}


@media (max-width: 768px) {
    .carousel-inner .carousel-item > div {
        display: none;
    }
    .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

@media (min-width: 768px) {

    .carousel-inner .carousel-item-right.active,
    .carousel-inner .carousel-item-next {
        transform: translateX(25%);
        //transform: translateX(33.333%);
    }

    .carousel-inner .carousel-item-left.active,
    .carousel-inner .carousel-item-prev {
        transform: translateX(-25%);
        //transform: translateX(-33.333%);
    }
}

.carousel-inner .carousel-item-right,
.carousel-inner .carousel-item-left{
    transform: translateX(0);
}

.articleSource {
    height: 10em;
    display: table;
}

.articleSourceItem {
    display:table-cell;
    vertical-align: middle;
}

.carousel-control-prev
{
    width: auto;
}

.carousel-control-next
{
    width: auto;
}

.carousel-control-prev-icon
{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e")
}

.carousel-control-next-icon
{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e")
}

.navbar-collapse
{
    flex-grow: 0;
}

.accordion-button {
    color: #222!important;
    background-color: #fff!important;
}

.subject-card {
    min-width: 300px;
    max-width: 50%;
}

.reactionCommentaryActive {
    font-weight: bold;
}

.reactionPropositionActive {
    font-weight: bold;
}

.reactionProposition {
    margin-top: .5rem;
    margin-bottom: .5rem;
    display: flex;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.reactionProposition > .badge {
    border-radius: 0.75rem;
    box-shadow: 1px 1px 3px 1px black;
    flex: 1 1 auto;
}

.badge-tresbien {
    background-color: #00B050;
    text-shadow: 0 0 1em black;
}
.badge-bien {
    background-color: #92D050;
    text-shadow: 0 0 1em black;
}
.badge-assezbien {
    background-color: #d6fd85;
    text-shadow: 0 0 1em black;
}
.badge-passable {
    background-color: #FFD966;
    text-shadow: 0 0 1em black;
}
.badge-insuffisant {
    background-color: #ED7D2F;
    text-shadow: 0 0 1em black;
}
.badge-arejeter {
    background-color: #CB031C;
    text-shadow: 0 0 1em black;
}

.sv-matrix__cell {
    min-width: 1em;
    text-align: center;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -60px;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.vertical-center {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.list-group-item {
  background-color: #fffc;
}

.icon_link {
    padding: 0.25rem!important;
    margin: 0.25rem!important;
    font-size: 20px;
}

.icon_commentary_type {
    font-size: 2rem;
}

.decid-beta {
    font: status-bar;
}

.add_item {
    border-width: thick;
}

.card_item {
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    background-origin: content-box, padding-box;
    border: 3px solid rgba(185,122,87,255);
    border-radius: 1.5rem;
    background-color: rgba(238,228,176,1);
}

.card_body {
    overflow: hidden;
    height: 300px;
    text-overflow: ellipsis;
}

.card_title {
    text-align: center;
    background-color: rgba(185,122,87,0.7);
    padding:20px;
}

.card_notification {
    height: 25px;
    width: 25px;
    background-color: red;
    position: absolute;
    border-radius: 50%;
    left: -5px;
    top: -5px;
}

.card_footer {
    border-top: 3px solid rgba(185,122,87,255);
    min-height: 67px;
}

.card_text {
    background-color: #ffffff80;
}

#cookies_consent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 5px;
}

@media (max-width: 768px) {
    #cookies_consent {
        padding-bottom: 80px;
    }
}

.decid-navbar-button {
    text-align: center;
    min-width: 15%;
    text-decoration: none;
    margin-right: auto;
    margin-left: auto
}

.decid-link-index {
    padding: 0;
}

.decid-searchbar {
    max-width: 50%;
}

.decid-searchbar > input {
    padding: .5rem
}

.decid-card {
    text-decoration: none;
    -webkit-user-select: none;
}

.decid-card > div {
    min-height: 200px;
    border-radius: 1em;
    display: flex;
    padding: 10px;
    margin: 25px;
    box-shadow: 2px 2px 3px black;
}

.decid-card-big-img {
    height: 80px;
    margin-right: 20px;
}
.decid-card-small-img {
    height: 65px;
}
.decid-card-center {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-around;
}
.decid-card-right {
    text-align: right;
    margin-bottom: 0px;
}
.decid-card-Débat {
    color: blue;
    font-weight: bold;
}
.decid-card-Proposition {
    color: green;
    font-weight: bold;
}
.decid-card-Sondage {
    color: purple;
    font-weight: bold;
}
.decid-card-Atelier {
    color: orange;
    font-weight: bold;
}
.decid-card-Petition {
    color: maroon;
    font-weight: bold;
}

.decid-dropdown-link {
    position: relative;
    margin-left: 1rem;
    padding: 0;
}

.decid-dropdown-link > span {
    position: absolute;
    bottom: 0px;
    font-size: 1rem;
    right: 0px;
}

.decid-dropdown-item {
    font-size: 0.7rem;
}

.decid-search-proposal {
    overflow: clip;
}

#open-menu {
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: .2rem;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    padding-top: 0px;
    margin-bottom: 5px;
}

main {
    margin-bottom: 80px;
    margin-right: auto;
    margin-left: auto;
}

#menu-overlay {
    width: 100%;
    height: 100%;
    display: none;
    justify-items: center;
    z-index: 1000;
}

#menu-overlay > div {
    margin-right: auto;
    margin-left: auto;
    background: white;
    padding: 20px;
    margin: 5%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 1000px;
    width: 90%;
    text-align: center;
}

#menu-overlay-links {
    margin-top: 1.5rem;
}

.menu-overlay-link {
    text-decoration: none;
    font-weight: 700;
    padding-top: 1rem;
    padding-bottom: 1rem;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    border: 1px solid #dee2e6;
    display: flex;
}

.menu-overlay-category {
    color: black;
    text-decoration: none;
    -webkit-user-select: none;
}
.menu-overlay-category-big {
    max-height: 200px;
    border: black solid;
    border-radius: 1em;
    display: block;
    padding: 10px;
    margin: 25px;
    justify-items: center;
}
@media (max-width: 768px) {
    .menu-overlay-category-big {
        max-height: 500px;
    }
}

.decid-content {
    margin-right: auto;
    margin-left: auto;
    max-width: 800px;
}

.decid-button-zone {
    position: fixed;
    bottom:10px;
    right: 10px;
}

.decid-button-zone > a > img , .decid-navbar-plus > img {
    border-radius: 50%;
}

.decid-navbar-plus {
    width: 15%;
    max-width: 70px;
}

.decid-avatar {
    float: left;
    border-radius: 50%;
    padding: 0;
    margin: 5px;
}

.decid-hidden {
    display: none;
}

.decid-commentary {
    min-height:80px
}

.decid-commentary-response {
    margin-left:10px;
    min-height:65px;
}

.decid-chart {
    justify-self: center;
    max-width: 400px;
    max-height: 400px;
}
