/* -- Fonts -- */
/* font-family: 'pricedown'; */
* {
    transition: font-size 0.3s ease;
}

body,
html {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #ca50d3;
}

a:hover,
a:focus,
a:active {
    color: #ca50d3;
    text-decoration: none;
}

body {
    padding-top: 128px;
    background-color: #ecf0f1;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    font-family: 'Roboto Condensed', sans-serif;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    min-height: 100vh;
}

p.fl-good,
.box-content p.fl-good,
.credit-fl {
    color: #27ae60;
}

p.fl-bad,
.box-content p.fl-bad {
    color: #c0392b;
}

.alert-good {
    background-color: #2ecc71;
    color: white;
}

.alert-wrong {
    background-color: ##c0392b;
    color: white;
}

.pricedown {
    font-family: 'PriceDown';
}

h2 {
    font-size: 42px;
    display: inline-block;
    width: 100%;
    text-align: center;
    color: #121017;
    margin-top: 0;
    text-transform: uppercase;
    font-family: 'PriceDown';
}

.section-bloc {
    padding: 0 20px 20px;
    margin-top: 0;
}

.row>div {
    background-color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}

/*=== Login ===*/
.login {
    box-sizing: border-box;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.login {
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: auto;
}

.login h1 {
    text-align: center;
    color: #121017;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
    font-family: 'PriceDown';
    text-transform: uppercase;
}

.login form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}

.login form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #121017;
    color: #ffffff;
}

.login form input[type="password"],
.login form input[type="text"] {
    width: 310px;
    height: 50px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
}

.login form input[type="submit"] {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #121017;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}

.login form input[type="submit"]:hover,
.login form input[type="submit"]:focus {
    background-color: #2868c7;
    transition: background-color 0.2s;
    outline: none;
}

/*=== HOME ===*/
body.home {
    background: url(../images/background-home.jpg) no-repeat center center;
    background-size: cover;
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    display: flex;
    flex-flow: column wrap;
    justify-content: space-around;
    text-align: center;
    overflow: hidden;
}

body.home a {
    display: block;
    width: 250px;
    height: 50px;
    background: #121017;
    color: white;
    text-align: center;
    line-height: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 40px auto;
}

body.home a:hover {
    opacity: 0.8;
}

/*=== Header ===*/
.global-header {
    width: 100%;
    height: 128px;
    background: url(../images/header.jpg);
    background-position: center;
    border-bottom: 6px solid #121017;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 200;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}

.global-header img {
    width: 110px;
    height: auto;
    margin-left: 20px;
    margin-top: 6px;
    margin-bottom: 6px;
}


.loggedin-nav {
    margin-right: 30px;
    color: #fff;
    font-size: 18px;
    margin-bottom: 0;
}

.loggedin-nav a {
    color: #fff;
    margin-left: 15px;
}

.profile .section-bloc p {
    font-size: 16px;
    text-align: center;
}

.profile td {
    padding: 10px 20px;
    background-color: #efefef;
    border: 6px solid #fff;
    font-size: 16px;
    min-width: 200px;
}

.profile td:first-child {
    background-color: #121017;
    color: #fff;
    min-width: auto;
}

.profile table {
    margin: auto;
}

/*=== Nav ===*/
.nav-mobile,
.fas.nav-mobile {
    display: none;
}

.nav-left {
    width: 265px;
    height: auto;
    background-color: #121017;
    position: relative;
    left: 0;
    top: 0;
    z-index: 100;
    display: inline-block;
    min-height: calc(100vh - 128px);

}

.nav-left ul {
    list-style: none;
    display: flex;
    flex-flow: column wrap;
    padding: 10px;
}

.nav-left li {
    margin-bottom: 5px;
    width: 100%;
}

.nav-left li:last-of-type {
    margin-bottom: 0;
}

.nav-left ul a {
    display: block;
    width: 100%;
    text-decoration: none;
    padding: 8px 6px 4px;
    color: white;
    font-weight: bold;
    font-size: 15px;
    text-transform: uppercase;
}

.nav-left ul a:hover {
    opacity: 1;
}

.nav-left i {
    min-width: 20px;
    margin-right: 3px;
}

.nav-left ul a.active,
.nav-left ul a:hover {
    background-color: #2f3b6b;
}

p.nav-title {
    display: block;
    padding: 10px 15px 0;
    color: #fff;
    font-family: 'PriceDown';
    font-size: 27px;
    border-top: 4px solid rgb(236 240 241);
}

/*=== Body Content ===*/
.fl-content {
    padding-top: 20px;
    width: calc(100% - 265px);
}

.box-card {
    position: relative;
    background-color: #e3e3e3;
    border: 1px solid #d8d8d8;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.box-avatar,
.box-icon {
    width: 120px;
    background-color: #121017;
    height: auto;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    position: relative;
    z-index: 100;
    overflow: hidden;
    min-height: 120px;
}

.box-avatar img,
.img-event img {
    width: 100%;
    height: auto;
}

.box-icon {
    padding: 0px 15px;
    box-sizing: border-box;
    text-align: center;
}

.box-icon img {
    width: 100%;
    height: auto;
}

.box-title {
    width: 100%;
    background-color: #121017;
    display: flex;
    flex-flow: column;
    justify-content: center;
    height: 50px;
}

.box-title h2 {
    padding: 5px;
    margin: 0;
    font-size: 2rem;
    text-align: center;
    color: white;
}

.box-title.fl-evenement {
    height: auto;
    padding: 0;
}

.box-title.fl-evenement h2 {
    font-family: 'pricedown';
    font-size: 3rem;
}

.box-socials {
    width: 100%;
    text-align: center;
}

.box-socials a:hover {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.box-socials i {
    font-size: 3.5rem;
    line-height: 70px;
}

.box-socials .i-twitch a {
    color: #392e5c;
}

.box-socials .i-discord a {
    color: #7289da;
}

.box-socials .i-steam a {
    color: #11265b;
}

.box-content,
.box-content-full {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    text-align: center;
    width: calc(100% - 125px);
}

.box-content .fl-subtitle {
    font-size: 1.3rem;
    opacity: 0.6;
    margin: 0;
}

.box-content p {
    font-family: 'pricedown';
    font-size: 35px;
    line-height: 40px;
    color: #131313;
    margin-bottom: 0;
    text-transform: uppercase;
}

.box-content span.dollar {
    color: #27ae60;
}

.box-icon i {
    font-size: 4rem;
    color: white;
    text-align: center;
    line-height: 120px;
}

.box-content .fl-permis {
    font-size: 4rem;
    color: black;
}

.fl-permis .permis-ok {
    color: #2980b9;
}

.credit-fl {
    font-size: 3rem;
}

a.box-hover {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #2f3b6b;
    z-index: 200;
    color: white;
    text-align: center;
    font-size: 5rem;
    font-family: 'pricedown';
    text-transform: uppercase;
    pointer-events: none;
    transition: all 0.3s ease;
    overflow: hidden;
    left: -100%;
}

.box-event a.box-hover {
    font-size: 3rem;
}

.box-card:not(.hover-event):hover a.box-hover,
.box-event:hover a.box-hover {
    pointer-events: all;
    left: 0;
}

.box-card a.box-hover.fl-vote {
    background-color: #27ae60;
}

.box-card a.box-hover.fl-rocade {
    background-color: #2980b9;
}

.box-content-full {
    padding: 15px;
    width: 100%;
    flex-flow: row wrap;
}

.box-content-full h3 {
    font-family: 'pricedown';
    width: 100%;
}

.box-event .fl-event {
    background-color: #d6d6d6;
}

.box-content-full .fl-event img {
    height: auto;
}

.box-event {
    overflow: hidden;
}

.fl-event {
    position: relative;
    padding: 15px 15px 50px 15px;
}

.fl-event p.date {
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #2980b9;
    color: white;
}

.fas.arrow-up {
    display: none;
}

span.discord {
    font-weight: bold;
    color: #292841;
}

a.extranet {
    font-weight: bold;
    color: #3498db;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

span.miranda {
    display: inline-block;
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    background-color: #ecf0f1;
    font-size: 18px;
    color: #c0392b;
}

a.extranet:hover {
    font-weight: bold;
    color: #2980b9;
    text-decoration: none;
}

#procedure-gav h2 {
    text-align: left;
    margin-bottom: 50px;
}

#procedure-gav ol {
    margin: 0;
}

#procedure-gav li {
    margin-bottom: 20px;
    padding: 0;
    font-size: 20px;
}

#procedure-gav li ul li {
    margin-bottom: 10px;
}

.arrow-up {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #121017;
    color: #fff;
    padding: 10px;
    border-radius: 500px;
    cursor: pointer;
}

footer {
    background-color: #121017;
    color: #ecf0f1;
    width: 100%;
    padding: 10px;
    text-align: right;
}

footer p {
    margin: 0;
}

.logo-service {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.logo-service img {
    width: 150px;
    height: auto;
}

.edit-user a,
.rapports a.edit {
    color: #afafaf;
    margin: 0 10px;
}

.edit-user a.edit:hover,
.rapports a.edit:hover {
    color: #2980b9;
}

.edit-user a.delete:hover {
    color: #c0392b;
}

.edit-user a.delete.stopped {
    cursor: not-allowed;
}

.edit-user a.delete.stopped:hover {
    color: #afafaf;
}

.edit-user a i,
.rapports a.edit i,
.actions-user a i {
    margin-right: 5px;
}

select#new_grade {
    width: 146px;
    padding: 3px 0px;
}

form.edit-user-form,
form.edit-citoyen-form {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
}

form.edit-user-form select,
form.edit-citoyen-form select {
    width: 140px;
    padding: 3px 0;
    margin-right: 10px;
}

form.edit-user-form input[type="submit"],
form.edit-citoyen-form input[type="submit"] {
    border: 1px solid #121017;
    color: #fff;
    background-color: #121017;
}

form.edit-user-form input[type="submit"]:hover,
form.edit-citoyen-form input[type="submit"]:hover {
    background-color: #2ecc71;
    border-color: #2ecc71;
}

a.add-user,
a.add-citoyen,
a.edit-citoyen {
    padding: 10px 15px;
    background-color: #121017;
    color: #fff;
    float: right;
    margin-bottom: 15px;
}

form.add-user-form,
form.add-citoyen-form {
    float: left;
    width: 100%;
    padding: 15px;
    background-color: #ecf0f1;
    margin-bottom: 15px;
    border-radius: 5px;
}

form.add-user-form input,
form.add-user-form select,
input.info-mdp,
form.add-citoyen-form input,
form.add-citoyen-form select,
input.info-mdp {
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #dedede;
}

input.info-mdp {
    background-color: #fff;
}

form.add-user-form input[type="submit"],
form.add-citoyen-form input[type="submit"],
.password input[type="submit"],
.presence-sipd input[type="submit"],
.citoyen input[type="submit"] {
    background-color: #2ecc71;
    color: #fff;
    border: 1px solid #2ecc71;
    margin-left: 5px;
}

.citoyen input[type="submit"] {
    margin-left: auto;
    padding: 10px 15px;
}

form.add-user-form input[type="submit"]:hover,
form.add-citoyen-form input[type="submit"]:hover,
.password input[type="submit"]:hover,
.presence-sipd input[type="submit"]:hover,
.citoyen input[type="submit"]:hover {
    background-color: #27ae60;
    border-color: #27ae60;
}

.password td:last-child,
.profile-rapport td:last-child {
    position: relative;
}

.password td:last-child a,
.profile-rapport a {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #121017;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.password td:last-child a:hover {
    opacity: 0.6;
}

.password td:last-child a.show-mdp {
    right: 35px;
}

.password td:last-child input.info-mdp {
    width: 60%;
}

input.disabled {
    background-color: #ecf0f1;
    pointer-events: none;
}

.presence-sipd form {
    width: 60%;
    border: 1px solid #efefef;
    background-color: #f7f7f7;
    margin: 30px auto 0;
    padding: 15px;
    border-radius: 10px;
}

.form-group.date-group {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
}

.presence-sipd label {
    width: 100%;
}

.date-group input.form-control {
    width: 150px;
}

.date-group span.separator {
    margin: 0 5px;
}

.form-group.col-group {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}

.form-group.col-group>div {
    width: 49%;
}

.presence-sipd textarea {
    max-width: 100%;
    min-width: 100%;
    max-height: 300px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.rapports table {
    max-width: 100%;
    margin-top: 30px;
    animation: fadeIn 1s ease;
    opacity: 1;
}

.col-md-12.col-lg-12.col-xl-12.popup-form-edit {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: none;
}

.popup-form-edit.presence-sipd form {
    margin-top: 0;
    position: absolute;
    top: 50%;
    left: calc(50% + 132px);
    transform: translate(-50%, -50%);
}

.popup-form-edit i.fas.fa-times {
    color: #121017;
    font-size: 20px;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

.infos .infos-right {
    width: 58%;
    justify-self: flex-end;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
}

.infos {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-bottom: 10px;
}

.infos input,
.infos label {
    width: 100%;
}

.infos>form {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    align-items: flex-end;
}

.infos-left>div {
    width: 45%;
    padding-right: 5px;
}

.infos>form>div.submit-date {
    width: 10%;
    padding-left: 5px;
}

.infos>form>div.submit-date input {
    height: 34px;
    padding: 6px 6px;
    background-color: #2ecc71;
    color: #fff;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.infos>form>div.submit-date input:hover {
    background-color: #27ae60;
}

.infos .infos-right>div {
    padding-left: 5px;
    width: 25%;
}

.infos-left {
    width: 32%;
    display: flex;
    flex-flow: row wrap;
}

.thead-dark tr th {
    background-color: #121017;
    color: #fff;
}

.liste-rapports td.rapport,
#mes-rapports td.rapport {
    white-space: break-spaces;
}

form.add-citoyen-form {
    position: fixed;
    top: 50%;
    left: calc(50% + (265px / 2));
    transform: translate(-50%, -50%);
    z-index: 999;
    width: 60vw;
    height: auto;
    box-shadow: 0 0 0 9999px rgba(0,0,0,0.6);
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

form.add-citoyen-form div.col-form {
    width: calc(50% - 7.5px);
    margin-bottom: 15px;
}

form.add-citoyen-form label {
    color: #121017;
}

form.add-citoyen-form input,
form.add-citoyen-form select {
    width: 100%;
}

form.add-citoyen-form input[type="submit"] {
    width: 50%;
    margin: auto;
}

.close-form {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    font-size: 30px;
    display: inline-block;
    line-height: 1.2;
    color: #000;
    cursor: pointer;
}

.close-form:hover {
    color: #c0392b;
}

table img {
    border-radius: 500px;
}

table td,
table th {
    vertical-align: middle !important;
}

.citoyen form.citoyen-form input, .citoyen form.citoyen-form select {
    display: none;
}

.citoyen form.citoyen-form .row-form .col-form {
    width: calc(50% - 7.5px);
}

.citoyen form.citoyen-form .row-form .col-form p {
    margin-bottom: 0;
}

.citoyen form.citoyen-form .col-form.photo, .citoyen form.citoyen-form .col-form.searched {
    width: 100%;
}

.citoyen form.citoyen-form .col-form.red {
    background-color: #c0392b;
    color: #fff;
    font-size: 22px;
    text-transform: uppercase;
    padding: 15px;
    margin-bottom: 15px;
}

.citoyen form.citoyen-form .col-form label {
    width: 100%;
}

.citoyen form.citoyen-form {
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    justify-content: space-between;
}

.citoyen form.citoyen-form .row-form {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    background-color: #fff;
    margin-bottom: 15px;
}

.citoyen form.citoyen-form .row-form.photo-row {
    width: calc(60% - 7.5px);
}

.citoyen form.citoyen-form .row-form.infos-row {
    width: calc(40% - 7.5px);
    flex-direction: column;
}

.citoyen form.citoyen-form .row-form.info-page .col-form {
    width: 33%;
}

.citoyen form.citoyen-form img {
    max-width: 100%;
    width: 100%;
    border-radius: 5px;
}

.citoyen .row>div.no-bg {
    padding: 0;
    background-color: transparent;
}

.citoyen .row>div.no-bg > div {
    padding: 0;
}

.citoyen .row>div {
    margin-bottom: 30px;
}

.actions-user i {
    color: #2980b9;
}

@media (max-width: 1715px) {
    .box-title h2 {
        font-size: 1.4rem;
    }

    .box-content p {
        font-size: 3rem;
    }

    .credit-fl {
        font-size: 2.5rem;
    }

    .box-content .fl-permis,
    .box-socials i {
        font-size: 2.8rem;
    }

    .box-icon i {
        line-height: 100px;
        font-size: 4rem;
    }

    .box-title {
        height: 35px;
    }

    .box-socials i {
        line-height: 65px;
    }
}

@media (max-width: 1500px) {
    .box-icon i {
        line-height: 80px;
        font-size: 4rem;
    }

    .box-title {
        height: 25px;
    }

    .box-socials i {
        line-height: 55px;
    }

    .box-content p {
        font-size: 25px;
        line-height: 30px;
    }

    .credit-fl {
        font-size: 2rem;
    }

    .box-socials i {
        font-size: 5rem;
    }
}

@media (max-width: 1024px) {
    .box-socials i {
        font-size: 2rem;
    }

}


@media (max-width: 992px) {

    .box-content .fl-permis,
    .box-socials i {
        font-size: 2.5rem;
    }

    body.home img {
        width: 80%;
        height: auto;
    }

    .box-event {
        margin-bottom: 10px;
    }

    .box-socials i {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) and (orientation: landscape) {
    body.home img {
        width: 40%;
        height: auto;
    }
}

@media (max-width: 768px) {
    * {
        transition: left 0.3s ease;
        transition: top 0.3s ease;
    }

    html {
        background-color: #121017;
    }

    body {
        padding-left: 0;
        position: absolute;
        top: 0;
        left: 0;
        margin-top: 0;
        padding-top: 164px;
    }

    body.nav-open {
        overflow-y: hidden;
    }

    .global-header {
        position: absolute;
        z-index: 300;
    }

    .nav-left {
        display: none;
        width: 100%;
        margin-top: 0 !important;
        padding-top: 60px;
         !important;
        position: fixed !important;
        height: 100vh;
        overflow: hidden;
        overflow-y: scroll;
        z-index: 9000;
        transition: height 0s;
        padding-top: 60px !important;
    }

    .nav-left ul a {
        font-size: 20px;
    }

    .box-avatar,
    .box-icon {
        width: 100%;
    }

    .box-avatar {
        height: auto;
    }

    .box-content {
        width: 100% !important;
    }

    .box-socials i {
        font-size: 5rem;
        margin: 15px 0;
    }

    .box-icon i {
        font-size: 8rem;
    }

    .box-icon img {
        width: 60%;
    }

    body.accueil .fl-stream {
        display: none;
    }

    .global-header {
        text-align: center;
    }

    .global-header img {
        margin-left: 0;
    }

    .nav-mobile,
    .fas.nav-mobile {
        display: block;
        font-size: 5rem;
        color: white;
        position: absolute;
        bottom: 10px;
        left: 10px;
        z-index: 500;
    }

    .nav-left .nav-mobile {
        top: 10px;
    }

    .box-title.fl-evenement h2 {
        font-size: 3rem;
    }

    .box-avatar {
        width: 100%;
        height: auto;
    }

    .box-icon {
        width: 100%;
        line-height: 100px;
        height: 100px;
    }

    .box-icon i {
        line-height: 100px;
        font-size: 5rem;
    }

    .box-title {
        height: 35px;
    }

    .box-socials>div {
        margin: 15px 0;
    }

    .box-socials i {
        line-height: 65px;
    }

    .box-content .fl-permis {
        font-size: 5rem;
    }

    .box-content p {
        font-size: 30px;
        line-height: 34px;
    }

    .credit-fl {
        font-size: 4.5rem;
    }

    .box-steam .box-content {
        padding: 0;
    }

    .box-content {
        padding: 10px 0;
        box-sizing: border-box;
    }

    .box-content .fl-subtitle {
        font-size: 2rem;
    }

    .fas.arrow-up {
        display: none;
        position: fixed;
        width: 50px;
        height: 50px;
        background-color: #121017;
        bottom: 5px;
        right: 5px;
        color: white;
        text-align: center;
        z-index: 1000;
        opacity: 0.8;
    }

    .arrow-up:before {
        font-size: 1.8rem;
        line-height: 50px;
    }

    .fl-content {
        width: 100%;
    }

    .row>div {
        float: left;
    }

    .box-card {
        margin-bottom: 30px;
    }

    a.box-hover {
        left: 0;
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .box-socials i {
        font-size: 10rem;
    }
}