/* fonts */
@font-face {
    font-family: Caracteres;
    src: url('Caracteres L1.ttf');
}


/* page */
* {
    box-sizing: border-box;
}

body {
    background-color: #4d5256;
    position:relative;
    font-family: 'Lato', 'Trebuchet MS', Arial;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin:0;
    padding-bottom: 100px;
}

.page_body {
    min-height: 100vh;
}

h1, h2, h3, h4 {
    border: none;
    margin: 0;
    padding: 0;
    color: white;
    width:100%;
}

a, a:hover, a:visited, a:active {
    color: inherit;
    text-decoration: none;
}

a:link {
    text-decoration: none;
}

select {
    width: 100%;
    font-size:1.1rem;
    transition: linear 0.2s;
    font-family: inherit;
    border-radius: 10px;
    border: 2px solid #14181f;
    padding: 8px 15px;
    background-color: #14181f;
    color:white;
    -webkit-appearance: none;
}

select:focus {
    transition: linear 0.2s;
    outline: none;
    border: 2px solid #399F35;
}

input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="number"], input[type="time"] {
    width: 100%;
    font-size: 1.1rem;
    transition: linear 0.2s;
    font-family: inherit;
    border-radius: 10px;
    border: 2px solid #14181f;
    background-color: #14181f;
    color:white;
    padding: 8px 15px;
    -webkit-appearance: none;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="date"]:focus, input[type="number"]:focus, input[type="time"]:focus {
    transition: linear 0.2s;
    outline: none;
    border: 2px solid #399F35;
}

/* Change the white (input autofill) to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #14181f inset;
    box-shadow: 0 0 0 30px #14181f inset;
    -webkit-text-fill-color: white;
    color: white;
}

textarea {
    width: 100%;
    font-size:1.1rem;
    transition: linear 0.2s;
    font-family: inherit;
    border-radius: 10px;
    border: 2px solid #14181f;
    padding: 8px 15px;
    background-color: #14181f;
    color:white;
    -webkit-appearance: none;
    resize: vertical;
}

textarea:focus {
    outline: none;
    transition: linear 0.2s;
    border: 2px solid #399F35;
}

input[type="submit"], button, .label_button {
    width: 100%;
    transition: linear 0.2s;
    font-family: inherit;
    border-radius: 10px;
    padding: 8px 15px;
    font-size: 1.1rem;
    border: 2px solid #566881;
    cursor: pointer;
    background-color: #566881;
    color: white;
    -webkit-appearance: none;
    text-align: center;
}

input[type="submit"]:hover, button:hover, .label_button:hover {
    transition: linear 0.2s;
    color: white;
    background-color: #333E4D;
    /*border-color: #47566b;*/
    outline: none;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #2e3542;
}

::-webkit-scrollbar-track:horizontal {
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #808080;
    border: 3px solid #2e3542;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: white; 
}

.vote_desc {
    color: white;
}

/* header */
.header {
    width: 100%;
    position:relative;
    z-index:0;
}

.header-bar {
    width:100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #49c149;
    align-items: stretch;
    padding:15px;
    z-index:1;
    gap: 15px;
}

.header-bar-assoc {
    width:100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #b53471;
    align-items: stretch;
    padding:15px;
    z-index:1;
}

.header-bar-dark {
    background-color: #286d28;
}

.header-toolbar {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #15181E;
    align-items: stretch;
    padding: 10px;
    z-index: 1;
    flex-wrap: wrap;
}

.header-brand {
    width: 170px;
}

.header-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    color: white;
    box-sizing: border-box;
    gap: 15px;
}

.header-nav-item {
    color: white;
    font-size: 1rem;
    padding: 10px 20px;
    transition: linear 0.2s;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    background-color: #399F35;
    border-radius: 5px;
}

.header-nav-square {
    display: flex;
    flex-direction: column;
    width: 75px;
    height: 60px;
    text-align: center;
    justify-content: flex-end;
    background-color: #399F35;
    border-radius: 5px;
}

.header-nav-icon {
    font-size: 20px;
}

.header-nav-text {
    font-size: 12px;
    margin: 5px 0;
    /* font-weight: bold; */
}

.header-nav-chip {
	width: 0;
	position: relative;
	height: 0;
}

.header-nav-chip-count {
	position: absolute;
	top: -55px;
	font-size: 10px;
	padding: 2.5px 2.5px;
	background: #49c149;
	color: white;
	font-weight: bold;
	border-radius: 20px;
	right: -70px;
	min-width: 17.5px;
}

.header-nav-item-assoc {
    color: white;
    font-size: 1rem;
    padding: 10px 20px;
    transition: linear 0.2s;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    background-color: #833471;
    border-radius: 5px;
    margin: 0 5px;
}

.header-nav-item:hover {
    background-color: #35af35;
    transition: linear 0.2s;
}

.header-universal-toolbar, .header-contextual-toolbar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    color: white;
    box-sizing: border-box;
    gap: 10px;
}

.header-toolbar-item, .card-nav-actions-button {
    color: white;
    font-size: 1rem;
    padding: 5px 10px;
    transition: linear 0.2s;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    border-radius: 5px;
    font-weight: bold;
}

.toolbar-item-disabled, .card-nav-actions-button-disabled {
    pointer-events: none;
    color: #4D5256 !important;
}

.header-nav-item .fas, .header-toolbar-item .fas, .header-nav-item .fa-solid, .header-toolbar-item .fa-solid, .card-nav-actions-button .fa-solid {
    margin-right: 10px;
}

.header-toolbar-item:hover, .card-nav-actions-button:hover {
    transition: linear 0.2s;
    background-color: #4D5256;
}

@media screen and (max-width: 900px) {
    .header-bar {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .header-nav {
        flex-grow: 1;
    }
    
    .header-universal-toolbar, .header-contextual-toolbar {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 1200px) and (min-width: 900px) {
    .header-nav-item {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    
    .header-universal-toolbar, .header-contextual-toolbar {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (orientation: landscape) {
    .hideInLandscape {
        display: none !important;
    }
}

@media screen and (orientation: portrait) {
    .header-bar {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .collapsable {
        display: none !important;
    }

    .collapse-margin {
        margin-right: 0px !important;
    }

    .header-nav {
        flex-grow: 1;
        max-width: 255px;
    }

    .header-toolbar {
        padding-top: 0;
    }

    .header-nav-item, .header-toolbar-item {
        margin-top: 10px;
    }
    
    .header-universal-toolbar, .header-contextual-toolbar {
        width: 100%;
        justify-content: center;
    }
}

/* footer */
.footer {
    height: 90px;
    box-sizing: border-box;
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    background-color: #15181e;
    color: grey;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding:15px;
}
.footer-section-row{
    display:flex;
    flex-direction: row;
    align-items: center;
}
.footer-section-col{
    padding:15px;
    display:flex;
    flex-direction: column;
    align-items: center;
}
.footer-image {
    height:50px;
    width:auto;
    object-fit: cover;
}

@media screen and (orientation: portrait) {
    .footer {
        flex-direction: column;
        height: 190px;
    }

    .footer-section-row {
        flex-direction: column;
    }

    body {
        padding-bottom: 200px;
    }

    #login_body {
        padding: 0;
    }
}

/* login.php */
#oobe_body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.36);
    background-repeat: no-repeat;
    background-position: 50% 95%;
    background-size: cover;
    padding-bottom: 0 !important;
}

#login_body {
    padding-bottom: 0 !important;
}

#login-main {
    background-color: rgba(0, 0, 0, 0.36);
    background-size: cover;
    background-position: 50% 95%;
    width: 100vw;
    height: 100vh;
    display: flex;
}

#login-pane {
    background-color: rgba(0, 0, 0, .7);
    backdrop-filter: blur(5px);
    padding: 20px;
    width: 25vw;
    height: auto;
    margin-left: 20vw;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-self: center;
}

#login-pane .service-message {
    background: #464b53;
    border-radius: 20px 20px 10px 10px;
    padding: 8px 15px;
    border: 2px solid #464b53;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1rem;
}

#login-pane .service-message b {
    color: #49c149;
}

#login-pane .service-message p {
    margin: 0;
    color: white;
}

#login-form input {
    margin-bottom: 10px;
}

#login-form button {
    border-radius: 10px 10px 20px 20px;
}

.status_message {
    display: block;
    padding: 8px 15px;
    font-size: 1.1rem;
    border-radius: 20px 20px 10px 10px;
    border: 2px solid #464b53;
    background: #464b53;
    color: white;
    margin-top: 20px;
    margin-bottom: 10px;
}

.status_message_dev {
    border-radius: 10px;
    margin-top: 0;
}

#login-pane a, #login-pane a:hover, #login-pane a:visited {
    color: #49c149;
    white-space: nowrap;
    text-decoration: underline;
}

@media (max-width: 1366px) {
    #login-pane {
        width: 50vw;
    }
}

@media (max-width: 768px) {
    #login-pane {
        width: 100vw;
        border-radius: 0;
        margin-left: 0;
    }
}

#oobe_window {
    background-color: rgba(0, 0, 0, 0.7);
    width: 100vw;
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
    padding: 0;
}

@media screen and (orientation: landscape) {
    #login_window {
        position: fixed;
    }
}

.oobe_box {
    width: 75vw;
    min-width: 800px;
    max-width: 1000px;
    background-color: #15181e;
    color: white;
    border-radius: 15px;
    box-shadow: 0 0 10px #00000055;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 70vh;
    min-height: 400px;
    overflow: hidden;
    
}

.oobe_main p {
    font-size: 1.075rem;
    margin: 0;
}

.oobe_side {
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    background-color: white;
}

.oobe_main {
    height: 100%;
    width: 80%;
    padding: 30px;
    overflow: hidden;
}

.oobe_content {
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(0);
    opacity: 1;
    transition: all .5s ease-in-out;
}

.oobe_ver {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 10px;
    margin: 0;
    color: rgba(255, 255, 255, .1);
    font-size: .75rem;
}

.colored_button, .colored-button {
    background-color: #49c149;
    border-color: #49c149;
    transition: all .2s linear;
}

.colored_button:hover, .colored-button:hover, .colored-button:focus {
    background-color: #399F35;
    border-color: #399F35;
}

.oobe_actions {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.oobe_actions button {
    width: auto;
}

.slideOutRight {
    animation: slideoutright .5s;
}

.slideOutLeft {
    animation: slideoutleft .5s;
}

.slideInRight {
    animation: slideinright .5s;
}

.slideInLeft {
    animation: slideinleft .5s;
}

.light_input, .light-input {
    background-color: #464b53 !important;
    border-color: #464b53 !important;
}

.light_input:focus, .light-input:focus {
    transition: linear 0.2s;
    outline: none;
    border: 2px solid #399F35 !important;
}

.anim_vibrate {
    animation: vibrate 1s;
}

@keyframes slideoutright {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideoutleft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideinright {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideinleft {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes vibrate {
    0% {
        transform: translateY(0px);
    }

    20% {
        transform: translateY(10px);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(10px);
    }

    80% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@supports ((-webkit-backdrop-filter: blur(5px)) or (backdrop-filter: blur(5px))) {
    .login  {
        background-color: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(5px);
    }

    #oobe_window {
        background-color: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(5px);
    }
}

.login-title {
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.login-title img {
    height: 75px;
    margin: 20px 0;
}

.login_copyright {
    display: block;
    position: fixed;
    right: 15px;
    bottom: 15px;
    text-align: left;
    background-color: rgba(0, 0, 0, .7);
    color: white;
    border-radius: 15px;
    padding: 15px;
    font-size: .8rem;
}

@supports ((-webkit-backdrop-filter: blur(5px)) or (backdrop-filter: blur(5px))) {
    .login_copyright  {
        background-color: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(5px);
    }
}

.msg_success {
    background-color: #399F35;
    border-color: #399F35;
}

.msg_error {
    background-color: #c23616;
    border-color: #c23616;
}

.msg_info {
    background-color: #2980b9;
    border-color: #2980b9;
}

.card ul {
    margin: 0;
}

.hidden {
    display: none !important;
}

#redirection {
    display: block;
    margin-bottom: 0;
    margin-top: 10px;
    text-align: center;
    background: #464b53;
    padding: 8px 15px;
    border-radius: 10px 10px 20px 20px;
    color: white;
}

#redirect {
    display: flex;
    margin-bottom: 0;
    margin-top: 10px;
    text-align: center;
    justify-content: center;
}

@media screen and (orientation: portrait) {
    #login_html, #login_body {
        height: 100%;
    }

    .login_copyright {
        width: 100vw;
        left: 0;
        bottom: 0;
        position: absolute;
        border-radius: 0;
    }

    .login {
        width: 100vw;
        border-radius: 0;
    }

    .login img {
        width: 50vw;
    }

    .login input[type="text"], .login input[type="password"], .status_message {
        width: 100%;
    }
}

/* Accueil & Documentation */
.accueil_content, .doc_content {
    width: 90%;
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    justify-content: space-between;
}

.accueil_main, .doc_main {
    width: 100%;
}

/*.accueil_sidebar, .doc_sidebar {
    width: 35%;
}

.accueil_sidebar h2, .doc_sidebar h2 {
    color: white;
    margin-bottom: 10px;
}

.mon_casier, .mon_casier:visited {
    background-color: #2E3542;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 5px;
    color: white;
    font-weight: bold;
    display: flex;
    transition: .2s ease-in-out;
    justify-content: center;
}

.discussion_button, .discussion_button:visited {
    color: white;
    background-color: #2E3542;
    padding: 5px 15px;
    border-radius: 10px;
    margin-bottom: 5px;
    color: white;
    font-weight: bold;
    display: flex;
    transition: .2s ease-in-out;
}

.discussion_button:hover, .mon_casier:hover {
    color: white;
    background-color: #399F35;
    transition: .2s ease-in-out;
}*/

.home_head {
    display: flex;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.33);
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: darken;
    height: 400px;
    background-position-y: 75% !important;
    justify-content: space-between;
}

.welcome {
    width: 90vw;
    height: 50%;
    margin-left: 5vw;
    font-size: 1.2rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-shadow: 0 3px 6px black;
}

.connected_users p {
    display: block;
    width: fit-content;
    font-size: .75rem;
    font-weight: bold;
    text-shadow: none;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(21, 24, 30, .75);
    backdrop-filter: blur(5px);
	margin-bottom: 5px;
    text-transform: uppercase;
}

.connected_users_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

.connected_user {
	display: block;
	font-size: 1rem;
	text-shadow: none;
	padding: 5px 10px;
	border-radius: 20px;
	backdrop-filter: blur(5px);
	background-color: rgba(77, 82, 86, .75);
}

.home_quickacess {
    width: auto;
    margin-right: 5vw;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.online {
    background-color: #399F35 !important;
}

.online_indicator {
    width: 10px;
    height: 10px;
    max-height: 10px;
    display: block;
    background-color: #4D5256;
    align-self: center;
    border-radius: 5px;
    margin-right: 10px;
}

.section_title {
    border-bottom: 2px solid #282B31;
}

.section_content {
    margin: 20px;
}

.news {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#home-top-cards {
	display: grid;
	grid-template-columns: 3fr 1fr;
	gap: 40px;
    position: relative;
    top: -220px;
    margin-bottom: -200px;
}

#home-top-cards h2 {
    margin-bottom: 20px;
}

#home-links, #home-news {
	padding: 20px;
    box-shadow: rgba(37, 40, 43, 0.2) 0px 8px 24px;
    border-radius: 20px;
}

#home-news {
	background: rgba(77, 82, 86, .75);
	backdrop-filter: blur(5px);
}

#home-links {
	background: rgba(21, 24, 30, .75);
	backdrop-filter: blur(5px);
}

.home-links-items {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.home-links-items a {
	color: white !important;
	padding: 10px;
	border-radius: 10px;
	cursor: pointer;
	transition: linear 0.2s;
	display: block;
	font-size: 1.05rem;
	font-weight: bold;
}

.home-links-items a i {
	width: 40px;
    margin-left: 5px;
}

.home-links-items a:hover {
	background: rgba(73, 193, 73, 0.5);
}

.no_content {
    color: white;
    font-style: italic;
}

.no-data {
    font-style: italic;
}

.search-layout {
	display: grid;
	grid-template-areas: "vehicle network" "vehicle operator";
    grid-template-columns: 1fr 1fr;
}

.search-layout-vehicles {
	grid-area: vehicle;
}

.search-layout-networks {
    grid-area: network;
}

.search-layout-operators {
    grid-area: operator;
}

.search-layout-networks form, .search-layout-operators form {
    display: flex;
}

.new-id-layout {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas: "bus tram rvh" "net net rnet" "op op rop";
    gap: 8px;
}

.new-id-bus {
    grid-area: bus;
}

.new-id-tram {
    grid-area: tram;
}

.new-id-network {
    grid-area: net;
}

.new-id-operator {
    grid-area: op;
}

.recycle-id-vehicle {
    grid-area: rvh;
}

.recycle-id-network {
    grid-area: rnet;
}

.recycle-id-operator {
    grid-area: rop;
}

.image-card {
    display: flex;
    flex-direction: column;
    height: 125px;
    color: white;
    text-decoration: none;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 15px;
    border-radius: 8px;
    background-blend-mode: darken;
    background-color: rgba(0, 0, 0, .45);
    gap: 5px;
}

.image-card-title {
	font-size: 1.25rem;
	text-shadow: 0 0 5px rgba(0, 0, 0, .45);
}

.image-card-subtitle {
	text-transform: uppercase;
	font-size: .75rem;
	color: #b8b8b8;
}

@media screen and (max-width: 900px), screen and (orientation: portrait) {
    .search-layout {
        display: grid;
        grid-template-areas: "vehicle" "network" "operator";
        grid-template-columns: 1fr;
    }

    .search-layout .input_large {
        width: 150px !important;
    }

    .search-layout .input_xlarge {
        width: 305px !important;
    }

    #home-top-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.search .section_content form, .form .section_content form {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.search .input_short, .input_short {
    width: 110px !important;
    margin-right: 5px;
    margin-bottom: 5px;
}

.search .input_large, .input_large {
    width: 200px !important;
    margin-right: 5px;
    margin-bottom: 5px;
}

.date_selector, .input-date {
    width: 300px;
}

.search .input_xlarge, .input_xlarge {
    width: 405px !important;
    margin-right: 5px;
    margin-bottom: 5px;
}

.input_mlarge {
    width: 225px !important;
    margin-right: 5px;
    margin-bottom: 5px;
}

.search_popup form {
    display: flex;
    flex-wrap: wrap;
}

.square_button_container {
    /*height: 100%;*/
    margin-right: 5px;
    margin-bottom: 5px;
}

.square_button {
    width: 100%;
    padding: 8px 10px;
}

button .fas, .label_button .fas, button .fa-solid, .label_button .fa-solid {
    margin-right: 10px;
}

.square_button .fas, .square_button .fa-solid {
    margin-right: 0;
}

.free_ids .section_content, .quick_access .section_content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.filter_section .section_content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.free_id_button, .free_id_button:visited, .quick_access_button, .quick_access_button:visited {
    border: 2px solid #566881;
    background-color: #566881;
    padding: 8px 15px;
    border-radius: 10px;
    margin-bottom: 5px;
    margin-right: 5px;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    transition: .2s ease-in-out;
}

.frosted_button, .frosted_button:visited {
    background-color: #56688188;
    backdrop-filter: blur(5px);
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    transition: .2s ease-in-out;
}

.frosted_button:hover, .frosted_button:focus {
    background-color: #566881ff;
    color: white;
}

.free_id_button {
    width: 100px;
}

.a_button, .a_button:visited {
    border: 2px solid #566881;
    background-color: #566881;
    padding: 8px 15px;
    border-radius: 10px;
    margin: 5px;
    color: white;
    font-weight: bold;
    display: flex;
    transition: .2s ease-in-out;
}

.free_id_button:hover, .a_button:hover, .quick_access_button:hover {
    background-color: #333E4D;
    color: white;
}

.quick_access_selected {
    background-color: #333E4D !important;
}

.page_selector {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.document {
    background-color: #2E3542;
    border-radius: 15px;
    padding: 15px;
    color: white;
    margin-bottom: 20px;
}

.article {
    background-color: #2E3542;
    border-radius: 15px;
    color: white;
    display: flex;
    flex-direction: column;
}

.article_header {
    background-color: #399f35;
    border-radius: 15px 15px 0 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.election_bgc {
    background-color: #b53471 !important;
}

.article_header .fas, .article_header .fa-solid {
    font-size: 3rem;
    margin: 10px;
}

.article_header h3 {
   font-size: 1.25rem; 
   width: auto;
   align-self: center;
   margin: 0 10px;
}

.article_main {
    margin: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 0 auto;
}

.actions_section {
    margin-top: 15px;
}

.document_desc {
    margin: 10px;
}

.document_author {
    font-style: italic;
    margin: 0;
}

.article_button, .document_button, .see_more_button, .small_button {
    background-color: #399F35;
    padding: 5px 8px;
    border-radius: 5px;
    display: inline-block;
    font-size: 0.9rem;
    margin-right: 5px;
    color: white !important;
    cursor: pointer;
}

.align_right {
    display: flex;
    justify-content: flex-end;
}

.article_button .fas, .document_button .fas, .document_button .fab, .article_button .fa-solid, .document_button .fa-solid, .document_button .fa-brands, .small_button .fa-solid, .article_button .fa-regular {
    margin-right: 8px;
}

.see_more_button .fa-solid {
    margin-left: 8px;
}

.document_header {
    display: flex;
}

.document_header img {
    height: 42px;
}

.document_header div {
    margin-left: 10px;
}


.team-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    overflow: hidden;
    color:white;
    gap: 50px;
}

.counterItem {
    height: fit-content;
    display: grid;
    align-items: center;
    grid-template: 
        "icon count"
        "icon label";
    grid-template-columns: 1fr 4fr;
    gap: 0 10px;
}

.counterIcon {
    font-size: 2.75rem;
    grid-area: icon;
    text-align: center;
}

.counterNumber {
    font-size: 1.33rem;
    grid-area: count;
    margin-top: 5px;
}

.counterLabel {
    font-size: .8rem;
    grid-area: label;
    margin-bottom: 5px;
}

@media screen and (max-width: 1200px) and (min-width: 900px) {
    #home-top-cards {
        grid-template-columns: 2fr 1fr;
    }

    .counterIcon {
        font-size: 2.5rem;
    }
    
    .counterNumber {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 900px), screen and (orientation: portrait) {
    .accueil_content, .doc_content {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .accueil_main, .accueil_sidebar, .doc_main, .doc_sidebar {
        width: 90%;
    }

    .search .input_large, .form .input_large {
        width: 225px;
    }

    .search .input_xlarge, .form .input_xlarge {
        width: 80vw;
    }

    .input_xlarge {
        width: 100% !important;
    }

    .date_selector {
        width: 100% !important;
    }

    .discussions_list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .discussion_button {
        width: calc(50% - 5px);
        margin-top: 10px;
        padding: 15px 20px;
        align-self: center;
        word-wrap: break-word;
    }

    .online_indicator {
        margin-right: 10px;
    }

    .welcome {
        font-size: 1rem;
    }

    .article {
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .news {
        grid-template-columns: 1fr;
    }

    .connected_users p {
        font-size: .6rem;
    }

    .connected_user {
        font-size: .75rem;
    }

    .team-stats {
        gap: 20px;
    }

    .counterIcon {
        font-size: 2rem;
    }
    
    .counterNumber {
        font-size: 1rem;
    }

    .counterLabel {
        font-size: .75rem;
    }

    .counterItem {
        grid-template-columns: 0fr 1fr;
    }
}

/* Generic page */
#page_title {
    margin: 20px 0;
}

.page_content {
    width: 90%;
    margin-top: 20px;
}

/* Profile page */
.bio_textarea {
    margin-bottom: 5px;
    width: 400px;
}

.form .section_content form {
    flex-direction: column;
}

#charcount {
    margin-top: 0;
    color: white;
    margin-left: 7.5px;
}

.profile_image_preview {
    width: 200px;
    height: auto;
    padding: 15px;
    background-color: white;
    border-radius: 15px;
    margin-bottom: 15px;
    object-fit: contain;
}



@media screen and (max-width: 900px), screen and (orientation: portrait) {
    .profile_image_preview {
        width: 100%;
    }
}

/* Suggestions page */
.card_table .section_content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card {
    background-color: #2E3542;
    border-radius: 15px;
    padding: 15px;
    color: white;
    width: calc(50% - 10px);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.card_with_logo {
    background-color: #2E3542;
    border-radius: 15px;
    color: white;
    width: calc(50% - 10px);
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.card_small {
    background-color: #2E3542;
    border-radius: 15px;
    color: white;
    width: calc(calc(100% - 40px) / 3);
    display: flex;
    flex-direction: row;
}

.small_card_table {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 20px;
    gap: 20px;
}

.card_small img {
    min-width: 130px;
    max-width: 130px;
    min-height: 130px;
    background: white;
    padding: 15px;
    border-radius: 15px 0 0 15px;
    object-fit: contain;
}

.card_content {
    padding: 15px;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card_content p {
    margin: 0;
}

.card_actions {
    margin-top: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.light_card {
    background-color: #566881;
}

.sugg_actions, .doc_actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.green_button {
    background-color: #399f35;
}

.square_button_container .green_button {
    background-color: #399f35;
}

.square_button_container .green_button:hover {
    border-color: #49c149;
    background-color: #333E4D;
}

.red_button {
    background-color: #c23616;
}

.card p {
    margin-top: 0;
}

.sugg_actions {
    display: flex;
    flex-direction: row;
}

.sugg_title, .card_title {
    font-weight: bold;
    margin: 0;
    margin-bottom: 5px;
}

.map_card_title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
}

.card-title {
    margin: 0;
}

.card-title-inline {
    margin: 0;
    margin-left: 6px;
}

.card-title-parent {
    color: #808080;
}

.card-title-parent .fa-solid {
    margin: 0px 10px;
}

.map_card_color_indicator {
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 10px;
    margin-right: 5px;
}

.sugg_infos {
    display: flex;
    flex-direction: row;
    margin: 10px;
}

.sugg_content {
    margin: 10px;
    word-wrap: break-word;
    flex-grow: 1;
}

.sugg_infos a {
    text-decoration: underline;
}

@media screen and (max-width: 900px), screen and (orientation: portrait) {
    .card {
        width: 100%;
    }

    .card_with_logo {
        width: 100%;
    }

    .sugg_infos {
        flex-direction: column;
    }

    .small_card_table {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .card_small {
        width: 100%;
    }
    
    .card_small img {
        min-width: 75px;
        max-width: 75px;
        min-height: 75px;
    }
}

/* Doublons */
.doublon {
    margin-bottom: 30px;
}

/* Dossiers */
.dossier_button, .dossier_button:visited, .card_button, .card_button:visited {
    display: block;
    background-color: #2E3542;
    border-radius: 15px;
    padding: 15px;
    color: white;
    margin-bottom: 20px;
    transition: .2s ease-in-out;
}

.dossier_button:hover, .card_button:hover {
    color: white;
    background-color: #399F35;
    transition: .2s ease-in-out;
}

.dossier_author {
    color: white;
    font-style: italic;
    margin-bottom: 0px;
    margin-top: 5px;
}

.dossier_button .fas, .card_button .fas, .dossier_button .fa-solid, .card_button .fa-solid {
    margin-right: 10px;
}

.input_list_edit, .input_edit_help {
    display: flex;
    flex-direction: row;
}

.input_fullwidth {
    width: 100%;
    margin-right: 5px;
    margin-bottom: 5px;
}

.input_grow {
    width: auto;
    flex-grow: 1;
}

.input_autowidth {
    width: auto;
    flex-grow: 0 !important;
}

.date_selector_fullwidth {
    width: 100% !important;
}

label {
    margin-top: 10px;
    margin-bottom: 5px;
    color: white;
    font-weight: bold;
    display: block;
}

.button_disabled, .button_disabled:hover, .input_disabled, .input_disabled:hover, .input_disabled:focus {
    background-color: transparent !important;
    color: #808080 !important;
    cursor: not-allowed;
}

/* tables */
table {
    width: 100%;
    overflow: hidden;
    margin: 5px 0 10px 0;
    border-collapse: collapse;
    border-radius: 8px;
}
tr {
    background-color: #343c4b;
    color: white;
}
table tr:nth-child(2n+1) {
    background-color: #1f242d;
}
td {
    font-size: 0.9rem;
    padding: 6px;
    text-align: center;
}

.parc-head-cell {
    background-color: #399F35 !important;
}

.primary-head-cell {
    background-color: #49c149 !important;
}

.parc-links-section {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.vehicle_table {
    margin-bottom: 30px;
}

.en-service {
    color: #49c149;
}

.preserve {
    color: #feca57;
}

.reforme {
    color: #a6a6a6;
}

.a-venir {
    color: #3498db;
}

/*.fa-info-circle {
    font-size: 0.85rem;
    color: #3498db;
    margin-left: 3.5px;
    background: inherit;
    cursor: help;
}*/

.cell a {
    text-decoration: underline;
}

.cell a:hover {
    text-decoration: none;
}

.cell-button {
    padding: 0px;
    cursor: pointer;
}

.cell-button a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 5px;
}

.cell-status-icon {
    width: 30px !important;
    cursor: help;
}

.empty-table {
    font-style: italic;
    color: #cccccc;
}

@media screen and (max-width: 900px), screen and (orientation: portrait) {
    table {
        max-width: 100%;
        font-size: medium;
    }

    .doublon, .vehicle_table {
        overflow-x: auto;
    }
}

/* Search */
.network_result, .exploitants_result, .operator_result, .cover_result {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.network-item, .operator-item {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.1rem;
    background-color: white;
    text-align: center;
    color:black;
    padding: 16px;
    border-radius: 10px;
}

.network-item-container, .operator-item-container {
    display: flex;
    height: 150px;
    width: 25%;
    padding: 8px;
}

.cover-item-container {
    display: flex;
    width: calc(50% - 15px);
    aspect-ratio: 3;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 70%;
    position: relative;
    margin: 7.5px;
}

.cover-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    width: 100%;
    box-sizing: border-box;
    color: white;
}

.cover-item-text {
    margin: 0;
    font-size: .75rem;
    text-align: left;
    text-shadow: 2px 2px 4px black;
}

.network-item-image {
    max-height: 100%;
    max-width: 100%;
}

.networks-list, .operators-list {
    height: 0px;
    overflow: hidden;
    scroll-behavior: smooth;
    font-size: medium;
    display: flex;
    flex-wrap: nowrap;
    margin-top: 10px;
    width: 100%;
    transition: height 0.4s;
    flex-direction: column;
    text-align: center;
}

.operator-item .group {
    height: 40%;
    max-width: 100%;
    margin-bottom: 10px;
}

.operator-item-text {
    font-size: .9rem;
}

.operator-group-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: nowrap;
}

.ancient-network, .ancient-operator {
    background-color: #FFF2BD;
    filter: sepia(1);
}

.unknown-network, .unknown-operator {
    background-color: #14181f;
    color: #757575;
    font-style: italic;
}

.donotuse-network {
    background-color: #c23616;
    color: #b48d84;
    font-style: italic;
}

.card_nav_content {
    display: flex;
    justify-content: space-between;
}

.card_nav_column {
    flex-grow: 1;
    width: 33%;
    padding: 0px 10px;
    padding-top: 5px;
}

.card-nav-actions-container {
    background-color: #15181e;
    padding: 15px;
    margin: 0 -15px -15px -15px;
    border-radius: 0 0 0 15px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.card-nav-actions {
    display: flex;
    gap: 10px;
}

.button-carto:hover {
    background-color: #ff9f43;
}

.button-infos:hover {
    background-color: #399f35;
}

/*.button-carto:hover {
    background-color: #feca57;
}*/

.card-nav-actions .button-selected {
    background-color: #4D5256;
}

.sector-tag {
    padding: 2px 5px;
    border-radius: 0 5px 0 5px;
    font-weight: bold;
    width: fit-content;
    width: -moz-fit-content;
    margin-bottom: 5px;
    font-size: .75rem;
}

.popup_content #sector-preview {
	display: flex;
	flex-wrap: wrap;
}

.sector_section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sector_section #sector-preview {
	display: flex;
	flex-wrap: wrap;
}

.sector_section .connected_user {
    color: white;
}

.sector-tag-infos {
    background-color: #399f35;
    background: linear-gradient(180deg, #399f35 0%, #49c149 100%);
}

.sector-tag-carto {
    background-color: #ff9f43;
    background: linear-gradient(180deg, #ff9f43 0%, #feca57 100%);
}

.sector-tag-default {
    background-color: #878787;
}

.vehicle_card_info {
    margin: 0;
    margin-bottom: 5px;
}

.link {
    text-decoration: underline !important;
}

.vehicle_card_logo_card {
    display: flex;
    justify-content: center;
}

.small_title_container {
    display: flex;
    justify-content: space-between;
}

#sector_preview {
    display: flex;
    flex-wrap: wrap;
}

#sector_preview p {
    margin: 2.5px;
}

#sector_preview i {
    margin-left: 5px;
}

.vehicle_card_fa_logo {
    font-size: 40px;
    margin: 0;
    margin-right: 10px;
    align-self: center;
}

.vehicle_card_logo_card .vehicle_card_info {
    margin: 0;
    align-self: center;
    font-weight: bold;
}

@media screen and (max-width: 900px), screen and (orientation: portrait) {
    .network-item-container, .operator-item-container {
        flex-direction: column;
        width: calc(100% - 40px);
    }

    .operator-group-item {
        justify-content: center;
    }

    .card_nav_content {
        flex-direction: column;
    }
    
    .card_nav_column {
        width: 100%;
    }

    .card-nav-actions-container {
        flex-direction: column;
        border-radius: 0 0 15px 15px;
    }

    .card-nav-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .sector-tag {
        align-self: center;
    }
}

/* Gestion vh */
#vh_infos .form_body, .three-col-form .form-body {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

#vh_infos .form_footer, .three-col-form .form-footer {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.label-optional {
	font-size: .75rem;
	text-transform: uppercase;
	color: #cccccc;
	margin-left: 5px;
}

.form_footer_element, .form-footer-element {
    margin: 0 15px;
}

#form_vh_submit {
    align-self: flex-end;
}

#form_vh_submit div button {
    margin-bottom: 0;
}

.vh_info_col, .form-col {
    width: 30%;
}

.vertical_separator, .vertical-separator {
    width: 2px;
    background-color: #808080;
}

.input_with_unit {
    display: flex;
    flex-direction: row;
    border: 2px solid #14181F;
    border-radius: 10px;
    font-size: 1.1rem;
    color: white;
    background-color: #14181F;
    transition: linear 0.2s;
}

.unit_text {
    padding: 8px 15px;
    width: auto;
    height: 100%;
}

.input_unit, .input_unit:focus {
    border: none !important;
    margin: 0;
}

.multi_input {
    background-color: #14181F;
    display: flex;
    flex-direction: row;
    border: 2px solid #14181F;
    border-radius: 10px;
    transition: linear 0.2s;
}

.multi_input_element, .multi_input_element:focus {
    border: none !important;
    margin: 0;
    flex-grow: 1;
}

.input_with_unit:focus-within, .multi_input:focus-within {
    transition: linear 0.2s;
    outline: none;
    border: 2px solid #399F35;
}

.multi_input:focus-within .multi_input_separator {
    background-color: #399F35;
    transition: linear 0.2s;
}

.multi_input_separator {
    border: 1px solid #808080;
    background-color: #808080;
    transition: linear 0.2s;
    border-radius: 1px;
    margin: 7.5px 0;
}

.radio_selector {
    display: flex;
    flex-direction: row;
    border: 2px solid #14181F;
    border-radius: 10px;
    font-size: 1.1rem;
    color: white;
    background-color: #14181F;
    transition: linear 0.2s;
    flex: 1 1 auto;
    overflow: hidden;
}

.radio_option, .radio_option_vote {
    display: flex;
    flex: 1 1 0px;
}

.radio_selector .radio_option input[type="radio"], .radio_selector .radio_option_vote input[type="radio"], .checkbox input[type="checkbox"] {
    display: none;
}

.radio_label, .checkbox_label {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    font-weight: normal;
    padding: 8px 15px;
    margin: 0;
    transition: linear 0.2s;
    cursor: pointer;
    border-radius: 8px;
}

.multi_input_element button {
    border: none;
    background-color: transparent;
    color: white;
    -webkit-appearance: none;
}

.multi_input_element button:hover {
    outline: none;
    border: none;
    background-color: transparent;
    color: white;
    -webkit-appearance: none;
}

.multi_input_element button .fa-solid {
    margin: 0;
}

.recent-searches {
	display: flex;
	gap: 8px;
	margin: 8px 0;
}

.recent-search-result {
	text-decoration: underline !important;
}

.checkbox {
    padding-left: 2px;
}

.radio_selector .radio_option input[type="radio"]:checked + label, .checkbox input[type="checkbox"]:checked + label {
    border-radius: 8px;
    background-color: #49c149;
    transition: linear 0.2s;
}

.cell input[type="radio"] {
    display: none;
}

.cell input[type="radio"] + label {
    text-decoration: none;
    color: lightgray;
    transition: linear 0.2s;
    cursor: pointer;
    margin: 0;
}

.cell input[type="radio"]:checked + label {
    text-decoration: underline;
    color: #399F35;
    transition: linear 0.2s;
}

.radio_selector .radio_option_vote input[type="radio"]:checked + label {
    background-color: #b53471;
    transition: linear 0.2s;
}

.pictures_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.picture_actions input, .pict_action_row input {
    margin-bottom: 5px;
    margin-right: 5px;
}

.picture_holder img {
    width: 100%;
    margin-bottom: 15px;
    border: 0px solid transparent;
    border-radius: 10px;
    cursor: zoom-in;
}

.img_preview_container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
}

.img_preview_container div {
    display: flex;
    justify-content: center;
}

.img_preview {
    max-width: 100%;
    max-height: 100%;
    cursor: zoom-in;
    border-radius: 15px;
}

.jumbo {
    max-width: 65% !important;
    max-height: 95% !important;
}

.picture_actions {
    display: flex;
    flex-direction: column;
}

.pict_action_row {
    display: flex;
    flex-direction: row;
}

.two_buttons_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    width: 100%;
}

.no_bottom_margin {
    margin-bottom: 0px !important;
}

.collapsable_top_margin {
    margin-top: 10px !important;
}

.no_top_margin {
    margin-top: 0px !important;
}

.no_left_margin {
    margin-left: 0px !important;
}

.no_right_margin {
    margin-right: 0px !important;
}

.no_top_margin {
    margin-top: 0px !important;
}

.no_vertical_margin {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.no_horizontal_margin {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

.picture_holder {
    width: calc(20% - 20px);
    margin-right: 10px;
    margin-left: 10px;
}

.square_button_container .label_button {
    margin: 0px;
}

#add_picture {
    align-self: center;
    align-items: center;
}

.card_bottom_text {
    margin-bottom: 0;
    margin-top: 15px !important;
    text-align: center;
}

.lines_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.line_selector, .line_manager {
    overflow-y: auto;
}

.line_selector_item {
    padding: 3px 8px;
    font-weight: bold;
    border-radius: 5px;
    margin: 3px !important;
    background-color: white;
    height: 32px;
    align-self: center;
    cursor: pointer;
    color: #15181E;
    border: 3px solid transparent;
    transition: border .2s ease-in-out;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.line_affect_preview {
    padding: 3px 8px;
    font-weight: bold;
    border-radius: 5px;
    margin: 3px !important;
    background-color: white;
    height: 32px;
    align-self: center;
    color: #15181E;
    border: 3px solid transparent;
    transition: border .2s ease-in-out;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.line_selector_selected {
    border-color: #49C149;
}

.line_selector_actions {
    display: flex;
    margin-top: 10px;
}

.network_selector, .operator_selector, .cover_selector {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

.network_selector .network_result, .operator_selector .operator_result, .cover_selector {
    overflow-y: auto;
    overflow-x: hidden;
}

.full_width {
    width: 100%;
}

.cursor_pointer {
    cursor: pointer;
}

.network_search, .operator_search {
    display: flex;
    justify-content: center;
}

.line_image {
    padding: 0px;
    height: 32px;
}

.affect_network_form {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    height: fit-content;
    background-color: #2E3542;
    border-radius: 15px 15px 0px 0px;
    padding: 15px;
    padding-top: 5px;
}

.old_format_label {
    font-style: italic;
    color: #808080;
    font-size: .75rem;
    cursor: help;
}

.affect_operator_form, .num_parc_form, .histo_immat_form, .depot_form, .route_form {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.affect_lines_list {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    height: fit-content;
    flex-direction: column;
}

.affect_lines_div {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.affect_lines_div > * {
    margin-right: 5px !important;
}

.swap_lines_button {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.swap_lines_button i {
    padding: 7.5px;
    background-color: transparent;
    border-radius: 7.5px;
    cursor: pointer;
    transition: ease-in-out 0.2s;
}

.swap_lines_button i:hover, .swap_lines_button i:focus {
    background-color: #15181e;
}

.affect_lines_list .inline_button {
    margin-left: 15px;
    margin-bottom: 10px;
}

.affect_operator, .num_parc, .histo_immat, .depot, .module_container, .route {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-top: 5px;
}

.affect_network {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    padding: 0;
    background-color: #14181f;
}

.affect_line_form {
    display: flex;
    flex-direction: column;
    background-color: #2e3542;
    padding: 15px;
    border-radius: 15px;
    margin: 0 15px;
}

.affect_line_form > .affect_lines_info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.margin_right {
    margin-right: 5px;
}

.popup_buttons {
    display: flex;
    width: 100%;
    justify-content: space-around;
}

.margin_top {
    margin-top: 5px;
}

.affect_network_form .square_button_container, .affect_line_form .square_button_container, .affect_operator .square_button_container, .num_parc .square_button_container, .histo_immat .square_button_container, .depot .square_button_container, .route .square_button_container {
    align-self: flex-end;
    height: auto;
}

.depot {
    display: flex;
    flex-direction: column;
}

.input_xshort {
    max-width: 97px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.thin_separator {
    width: 2px !important;
}

.card_button {
    width: fit-content;
    padding: 7px;
    padding-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.inline_button {
    width: fit-content;
    padding: 7px;
    cursor: pointer;
    font-size: .9rem;
    margin-top: 10px;
    border-radius: 7px;
    transition: linear 0.2s;
}

.inline_button .fas, .inline-button .fa-solid {
    margin-right: 7px;
}

.inline_button:hover {
    background-color: #399F35;
}

.vh_networks {
    margin-bottom: 10px;
}

.delete_dialog {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.delete_dialog button {
    margin-right: 0;
    margin-top: 15px;
}

.quicknav_tr td {
    width: calc((1/11) * 100%);
}

.cell_button a {
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: block;
}

.current_vh_cell {
    background-color: #15181E;
    font-weight: bold;
}

.banner_message {
    padding: 15px;
    background-color: #343C4B;
    border-radius: 15px;
    color: white;
    margin-bottom: 15px;
}

.info_banner {
    background-color: #2980b9;
}

.error_banner {
    background-color: #c23616;
}


.banner_message p {
    margin: 0;
}

.banner_title {
    font-weight: bold;
    padding-bottom: 15px;
    font-size: 1.2rem;
}

.banner_title .fas, .banner_title .fa-solid {
    margin-right: 15px;
}

.page-button {
    cursor: pointer;
    padding: 4px 6px;
    font-size: .9rem;
    background-color: #15181E;
    color: white;
    border-radius: 4px;
    margin: 4px 2px 0px 2px;
}

.current-page {
    color: #15181E;
    background-color: white;
}

.compo_popup {
    overflow-y: auto;
}

.compo_module_amount {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.module_container {
    flex-direction: column;
}

.module_general_div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

@media screen and (orientation: landscape) {
    .no_bottom_margin_landscape {
        margin-bottom: 0px !important;
    }
}

@media screen and (max-width: 900px), screen and (orientation: portrait) {
    #vh_infos .form_body, .three-col-form .form-body {
        flex-direction: column;
    }
    
    .vh_info_col, .form-col {
        width: 100%;
    }
    
    .vertical_separator, .vertical-separator {
        display: none;
    }

    .form-footer-element, .form_footer_element {
        width: 100%;
        margin: 0;
    }

    .picture_holder {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .pictures_list {
        flex-direction: column;
    }

    .affect_lines_list, .affect_network_form {
        width: 100%;
        max-width: none;
    }

    .affect_line_form {
        flex-wrap: wrap;
    }

    .affect_network {
        flex-direction: column;
    }
}

@media screen and (max-width: 1600px) and (min-width: 900px) {
    .picture_holder {
        width: calc(25% - 20px);
        margin-right: 10px;
        margin-left: 10px;
    }

    .affect_line_form {
        flex-wrap: wrap;
    }
}

/* Gestion réseau */
.card_nav_section {
    background-color: #2E3542;
    border-radius: 15px;
    color: white;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.card_nav_text {
    padding: 15px;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.network_name {
    padding-bottom: 10px;
}

.quick_nav {
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
}

.card_logo_smallmargin {
    min-height: 150px;
    max-height: 190px;
    width: fit-content;
    width: -moz-fit-content;
    max-width: 20vw;
    background: white;
    padding: 10px;
    border-radius: 0 15px 15px 0;
    display: flex;
}

.card_logo_smallmargin img {
    min-height: 70px;
    max-height: 130px;
    max-width: calc(20vw - 20px);
    object-fit: contain;
}

.card_logo {
    min-height: 120px;
    max-height: 150px;
    width: fit-content;
    width: -moz-fit-content;
    max-width: 20vw;
    background: white;
    padding: 30px;
    border-radius: 0 15px 15px 0;
    display: flex;
}

.card_logo img {
    min-height: 30px;
    max-height: 90px;
    max-width: calc(20vw - 60px);
    object-fit: contain;
	width: 100%;
}

.navcard-member .card_logo img {
	border-radius: 50%;
	aspect-ratio: 1;
	object-fit: cover;
	box-shadow: 2px 2px 10px 3px rgba(0, 0, 0, .2);
}

.navcard-member-sectors {
	display: flex;
	gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.pill {
	background-color: #399F35;
	padding: 2px 10px;
	border-radius: 20px;
	font-weight: bold;
	font-size: .75rem;
	text-transform: uppercase;
}

.pill-secondary-text {
	color: rgba(255, 255, 255, .5);
	margin-left: 5px;
}

.network_logo_preview {
    height: 120px;
    padding: 15px;
    background-color: white;
    border-radius: 15px;
    margin-bottom: 15px;
    width: fit-content;
    object-fit: contain;
}

.net_lines_list {
    display: flex;
    flex-direction: column;
}

.cat_picto {
    padding: 3px 8px;
    font-weight: bold;
    border-radius: 5px;
    margin: 0;
    margin: 3px;
    padding: 3px;
    background-color: white;
    height: 32px;
    align-self: center;
    color: #15181E;
}

.net_lines_list .line_category {
    margin-bottom: 10px;
}

.cat_title_div, .subcat_title_div, .cat_line_div {
    display: flex;
    flex-direction: row;
    background-color: #2E3542;
    border-radius: 15px;
    padding: 5px;
    color: white;
    font-weight: bold;
}

.cat_title_div p, .cat_line_div p {
    margin: 0;
    width: 100%;
    font-size: 1.1rem;
    padding: 10px;
}

.subcat_title_div p {
    margin: 0;
    width: 100%;
    font-size: 0.9rem;
    font-style: italic;
    padding: 10px;
}

.line_category > p:first-child {
    margin: 0;
    width: 100%;
    font-size: 1.1rem;
    font-weight: bold;
}

.cat_line_div {
    margin: 10px;
}

.line_subcategory > p:first-child {
    margin: 0;
    width: 100%;
    font-size: 0.9rem;
    font-style: italic;
    font-weight: bold;
}

.line_cat_actions {
    display: flex;
}

.cat_lines {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 0 !important;
}

.line_cat_action {
    margin-left: 10px !important;
    border-radius: 10px;
    cursor: pointer;
    transition: linear 0.2s;
}

.line_cat_action:hover {
    background-color: #15181E;
}

.cat_lines, .line_subcategory {
    margin: 10px;
}

.line_icon_cat {
    height: 40px;
    border: 4px solid white;
    background-color: white;
    border-radius: 5px;
    margin-left: 2px;
}

.network-type-park{
    display: grid;
    grid-gap: 20px;
    grid-template-areas:
        "network-type-park-vehicles network-type-park-trains";
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.network-type-park-container{
    background-color: #0d283b;
    border-radius:8px;
    width: 100%;
    aspect-ratio: 3;
    min-height: 185px;
    max-height: 250px;
}

.network-type-park-content{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 70%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.network-type-park-filter{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.network-type-park-title{
    font-size: 2rem;
}

.network-type-park-section{
    display: flex;
}

@media screen and (max-width: 1300px) {
    .network-type-park{
        display: flex;
        flex-direction: column;
    }
    .network-type-park-content{
        width: 100%;
    }
}

.link-button-large {
    background-color: #49c149;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    display: block;
    transition: 0.2s linear;
    margin-right: 10px;
    position: relative;
    color: white;
}

.link-button-large:hover{
    background-color: #399F35;
    transition: 0.2s linear;
    color: white;
    cursor: pointer;
}

.link-button-large:last-child{
    margin-right: 0px;
}

.link-button-large:active {
    background-color: #399F35 !important;
}

a, a:hover, a:visited, a:active {
    color: inherit;
    text-decoration: inherit;
}

@media screen and (max-width: 900px), screen and (orientation: portrait) {
    .card_nav_section {
        flex-direction: column-reverse;
    }
    .network_name {
        text-align: center;
    }
    .quick_nav {
        flex-direction: column;
    }
    .quick_access_button {
        width: 100%;
    }
    .card_logo {
        height: 120px;
        width: 100%;
        max-width: 100%;
        border-radius: 15px 15px 0 0;
        justify-content: center;
    }
    .card_logo img {
        height: 60px;
        max-width: 100%;
    }
    .navcard-member .card_logo img {
        height: 60px;
        width: 60px;
    }
    .network_logo_preview {
        width: 100%;
    }
    .network_park_cover_section_div {
        flex-direction: column;
    }
    .network_park_cover {
        margin: 7.5px 0;
        width: 100%;
    }
    .navcard-member-sectors {
        justify-content: center;
    }
}

/* Spinner */
.spinner_container {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    margin-bottom: 15px;
}

.loading_spinner::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: relative;
    left: 0px;
    top: 0px;
    height: 60px;
    width: 60px;
    border-radius: 30px;
    border: 5px solid transparent;
    border-top-color: #399F35;
    animation: spinner 1s cubic-bezier(.45,.2,.55,.7) infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Chat */
.chat_image {
    max-width: 100%;
}

.message_content p {
    margin: 0;
}

.received_msg .message_content, .sent_msg .message_content {
    background-color: #4D5256;
    padding: 10px;
    border-radius: 10px;
    max-width: 50%;
    width: fit-content;
    color: white;
}

.owner_msg .message_content {
    background-color: #15181E;
}

.sent_msg {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
}

.message_infos {
    color: white;
    margin-bottom: 2px;
    margin-left: 5px;
    margin-right: 5px;
    font-size: .9rem;
}

.chat {
    background-color: #808080;
    padding: 15px;
    border-radius: 15px;
    height: 75vh;
    overflow-y: scroll;
    overflow-x: hidden;
    display: flex;
    flex-direction: column-reverse;
}

.chat_file {
    font-weight: bold;
}

.chat_file .fas, .chat_file .fa-solid {
    margin-right: 10px;
}

.send_msg {
    display: flex;
    margin-top: 20px;
    justify-content: space-between;
}

.send_chat {
    display: flex;
    flex-direction: row;
}

.send_chat .quick_nav {
    height: fit-content;
}

/* === UI Components === */
/* Toast */
#toast_holder {
    position: fixed;
    bottom: 0;
    left: 15px;
    z-index: 10;
}

.toast {
    min-width: 20vw;
    display: flex;
    background-color: #15181EEE;
    border: 0px solid transparent;
    border-radius: 15px;
    padding: 15px;
    color: white;
    box-shadow: 3px 3px 10px #00000055;
    margin-bottom: 15px;
    font-size: 1.1rem;
    max-width: calc(100vw - 40px);
    transition: transform .5s ease-in-out;
}

@supports ((-webkit-backdrop-filter: blur(5px)) or (backdrop-filter: blur(5px))) {
    .popup_content  {
        background-color: #15181EDD;
        backdrop-filter: blur(5px);
    }
}

.toast_icon {
    margin-right: 10px;
    align-self: center;
}

.toast p {
    margin: 0px;
    align-self: center;
    font-weight: bold;
}

.anim_slide {
    transform: translateY(calc(100% + 15px));
    transition: none;
}

.anim_slide_down {
    transform: translateY(calc(-1 * (100% + 15px)));
    transition: none;
}

/* Popup */
#popup_holder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000055;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 5;
}

.popup_header {
    display: flex;
    flex-direction: row;
}

.popup_header h1 {
    margin: 0;
    margin-right: 50px;
    font-size: 1.5rem;
}

.popup_header .close_btn {
    display: block;
    font-size: 1.5rem;
    align-self: center;
    padding: 5px 10px;
    border-radius: 5px;
    transition: .2s ease-in-out;
    cursor: pointer;
}

.popup_header .close_btn:hover {
    background-color: #4D5256;
}

.popup_content {
    max-width: 60%;
    max-height: 75%;
    align-self: center;
    background-color: #343c4bee;
    color: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 0 10px #00000055;
    display: flex;
    flex-direction: column;
}

@supports ((-webkit-backdrop-filter: blur(5px)) or (backdrop-filter: blur(5px))) {
    .popup_content  {
        background-color: #343C4BAA;
        backdrop-filter: blur(5px);
    }
}

.popup_content h3 {
    margin: 10px 0;
}

.search_popup {
    overflow-y: auto;
}

.error_code {
    font-family: 'Source Code Pro',monospace;
    background-color: #4D5256;
    padding: 5px;
    border-radius: 5px;
}

@media screen and (max-width: 900px), screen and (orientation: portrait) {
    .popup_content {
        max-width: 95%;
        max-height: 90%;
        align-self: center;
        color: white;
        padding: 15px;
        border-radius: 15px;
        display: flex;
        flex-direction: column;
    }
}

.slidePopupIn {
    animation: slidepopupin .21s ease-out;
}

.slidePopupOut {
    animation: slidepopupout .21s ease-out;
}

@keyframes slidepopupin {
    from {
        transform: translateY(20%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slidepopupout {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(20%);
        opacity: 0;
    }
}


/* FIREFOX ONLY */
@-moz-document url-prefix() {
    .network_logo_preview, .card_logo {
        width: auto !important;
    }
}

/* error.php */
.http_error_code {
    display: flex;
    justify-content: center;
}

.http_error_code h1 {
    font-family: 'Lato', 'Trebuchet MS', Arial, sans-serif;
    width: auto;
    align-self: center;
    margin-right: 50px;
    font-size: 5rem;
}

.http_error_code img {
    max-height: 100px;
    max-width: 500px;
}

.http_error_message {
    text-align: center;
    margin-top: 50px;
    font-size: 2rem;
}

.http_error_description {
    text-align: center;
    margin-top: 50px;
    color: white;
    font-size: 1.25rem;
}

.http_error_back_button {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 50px;
}



@media screen and (orientation: portrait) {
    .http_error_code {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .http_error_code h1 {
        margin-right: 0;
        margin-bottom: 25px;
    }
}

/* CARTO */
.fade_out {
    animation: fadeout 1s;
}

@keyframes fadeout {
    0% {
        opacity: 1;
        display: inherit;
    }

    99% {
        opacity: 0;
        display: inherit;
    }

    100% {
        opacity: 0;
        display: none;
    }
}

.display_none {
    display: none !important;
}

.map_container {
    position: relative;
    height: 66.6vh;
    border-radius: 8px;
}

.page_content.map_container {
	height: 90vh;
}

.carto_add_stop_layout, .side-by-side-layout {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin: 20px 0;
}

.carto_panel {
    width: 50%;
}

.flex-grow-1 {
    flex-grow: 1;
    width: 100%;
}
.flex-grow-2 {
    flex-grow: 2;
    width: 100%;
}
.flex-grow-3 {
    flex-grow: 3;
    width: 100%;
}

.map-side-panel, .side-by-side-panel-card {
    background-color: #2E3542;
    border-radius: 15px;
    padding: 15px;
    color: white;
    display: flex;
    flex-direction: column;
    height: 66.6vh;
}

.member-panel-card {
    background-image: url('https://cdn.tc-infos.fr/heroes/005.webp');
    padding: 0;
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

.sector-referer-panel-card {
    background-color: #2E3542;
    border-radius: 15px;
    padding: 15px;
    color: white;
    display: flex;
    flex-direction: column;
    background-image: url('https://cdn.tc-infos.fr/heroes/005.webp');
    padding: 0;
    background-size: cover;
    background-position: center;
}

.member-panel-card .background-filter {
	backdrop-filter: blur(20px);
	width: 100%;
	height: 100%;
	padding: 15px;
	border-radius: 15px;
	background-color: rgba(0, 0, 0, .6);
	border: 1px solid rgba(150, 150, 150, .25);
    display: grid;
    grid-template-areas:
        "head head"
        "bio misc"
        "roles roles";
    gap: 15px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 0fr;
}

.sector-referer-panel-card .background-filter {
    backdrop-filter: blur(20px);
	width: 100%;
	height: 100%;
	padding: 15px;
	border-radius: 15px;
	background-color: rgba(0, 0, 0, .6);
	border: 1px solid rgba(150, 150, 150, .25);
    display: grid;
    grid-template-areas: "dept referers";
    gap: 15px;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 1fr;
}

.sector-dept {
	grid-area: dept;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
    justify-content: center;
}

.dept-indicator {
    display: grid;
    grid-template-areas:
        "ref label"
        "ref name";
    grid-template-columns: 0fr 1fr;
}

.dept-indicator h3 {
	grid-area: ref;
	font-size: 3rem;
	margin: 0;
	margin-right: 10px;
}

.dept-indicator .dept-label {
	grid-area: label;
	text-transform: uppercase;
	font-size: .75rem;
	color: rgba(255, 255, 255, .75);
	margin: 0;
	align-self: end;
}

.dept-indicator .dept-name {
    grid-area: name;
    color: white;
    font-size: 1.5rem;
    margin: 0;
}

.sector-referers {
	grid-area: referers;
	display: flex;
	gap: 15px;
	flex-direction: row;
	flex-wrap: wrap;
    align-content: center;
}

.sector_popup {
	display: flex;
	flex-direction: column;
}

.referer-card {
	display: grid;
	grid-template-areas:
        "image name"
        "image pill";
    grid-template-columns: 0fr 1fr;
    height: fit-content;
    border-radius: 30px 5px 5px 30px;
    padding: 5px;
    transition: linear .2s;
}

.referer-card:hover {
	background-color: rgba(255, 255, 255, .25);
	border-radius: 30px 5px 5px 30px;
}

.referer-card img {
    grid-area: image;
    width: 50px;
    height: 50px;
    border-radius: 30px;
    margin-right: 10px;
    object-fit: cover;
}

.referer-card h4 {
    grid-area: name;
    font-size: 1.5rem;
}

.referer-card .pill {
    grid-area: pill;
    width: fit-content;
}

.pill-referer {
    background-color: #2779b0;
}

.pill-member {
    background-color: #49c149;
}

.member-head {
    display: flex;
    justify-content: center;
    gap: 10px;
    grid-area: head;
    align-items: center;
}

.member-panel-card h3 {
    width: fit-content;
    font-size: 2rem;
}

.member-head img {
    aspect-ratio: 1;
    border-radius: 100%;
    height: 60px;
    object-fit: cover;
}

.activity-indicator {
	margin: 0;
	text-transform: uppercase;
	font-size: 12.5px;
	font-weight: bold;
	color: rgba(255, 255, 255, .5);
	margin-top: 2px;
}

.activity-circle {
	position: relative;
	top: -1px;
	margin-right: 5px;
	color: rgba(255, 255, 255, .5);
}

.member-desc {
    grid-area: bio;
}

.member-panel-card h4 {
	font-size: 1.33rem;
}

.member-panel-card p {
	margin: 5px 0;
	color: rgba(255, 255, 255, .75);
}

.member-info {
    grid-area: misc;
}

.member-info p {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.member-roles {
	display: flex;
	justify-content: space-around;
	grid-area: roles;
	align-items: center;
	gap: 15px;
    flex-wrap: wrap;
}

.member-roles .member-role-card {
	flex-grow: 1;
	width: 30%;
	padding: 10px;
    border-radius: 5px;
	height: 50px;
	text-align: center;
	align-items: center;
	display: flex;
}

.member-role-card .role-label {
	width: 100%;
}

.role-bureau-gradient, .role-rh-gradient {
    background: rgb(137,137,137);
    background: linear-gradient(135deg, rgba(137,137,137,1) 0%, rgba(217,217,217,1) 100%);
    color: black;
}

.role-tech-gradient {
    background: rgb(57,223,117);
    background: linear-gradient(135deg, rgba(57,223,117,1) 0%, rgba(134,226,167,1) 100%);
    color: black;
}

.role-pci-gradient, .role-pcc-gradient {
    background: rgb(223,186,57);
    background: linear-gradient(135deg, rgba(223,186,57,1) 0%, rgba(224,222,107,1) 100%);
    color: black;
}
.role-com-gradient {
    background: rgb(202,53,181);
    background: linear-gradient(135deg, rgba(202,53,181,1) 0%, rgba(182,99,183,1) 100%);
    color: black;
}

.role-contrib-gradient {
	background: #3498db;
	background: linear-gradient(135deg, #3498db 0%, #7db5db 100%);
	color: black;
}

.side-panel-title {
    display: flex;
}

.inline-back-button {
    padding: 5px;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 8px;
    margin-right: 8px;
    position: relative;
    top: 1.5px;
    transition: linear 0.2s;
    background-color: #00000000;
    cursor: pointer;
}

.inline-back-button:hover {
    background-color: #4D5256ff;
}

.side-panel-title h3 {
    align-self: center;
}

.scrollable-stop-table tr td:first-child {
    width: 20%;
}

.scrollable-stop-table tr td:nth-child(3) {
    width: 20%;
}

.scrollable-stop-table tr td:last-child {
    width: 35px;
}

.scrollable-table-content {
    overflow-y: auto;
    max-height: calc(66.6vh - 30px);
    border-radius: 0 0 8px 0;
}

.scrollable-table table {
    border-radius: 0;
}

.scrollable-table {
    margin: 0;
    max-height: 66.6vh;
    border-radius: 8px;
    overflow: hidden;
}

.scrollable-table table {
    margin: 0 !important;
}

.fa-margin-right {
    margin-right: 3px;
}
.fa-margin-left {
    margin-left: 3px;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: #15181e !important;
    color: white !important;
    font-family: 'Lato', 'Trebuchet MS', Arial, sans-serif;
}

.leaflet-control-layers-base > label > span > span {
    color: black;
}

.section_title_new {
    display: flex;
}

.section_title_new h2 {
    width: auto;
    align-self: end;
}

.section_title_new .section_title_actions_container {
    flex-grow: 1;
    border-bottom: 2px solid #808080;
    margin-left: 10px;
    margin-bottom: 4px;
    margin-right: 20px;
    display: flex;
    justify-content: flex-end;
}

.section_title_new .section_title_action {
    padding: 5px;
    color: white;
    border: none;
    border-radius: 8px 8px 0 0;
    min-width: 30px;
    height: 30px;
    margin-left: 5px;
    text-align: center;
    cursor: pointer;
    transition: linear 0.2s;
}

.section_title_new .section_title_action:hover {
    background-color: #808080;
    transition: linear 0.2s;
}

/* Spaces navigation */
.spaces_options {
    display: flex;
    flex-direction: row;
}

.space_button {
    width: 30%;
    height: 150px;
    background-color: #15181e;
    color: white;
    border-radius: 15px;
    margin: 5px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    padding: 15px;

    cursor: pointer;
}

.space_button:hover, .space_button:visited {
    color: white;
}

.space_name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: bold;
}

@media screen and (orientation: portrait) {
    .side-by-side-layout {
        flex-direction: column;
    }
    .member-panel-card .background-filter {
        grid-template-areas:
            "head head"
            "bio bio"
            "misc misc"
            "roles roles";
        grid-template-rows: 1fr 1fr 1fr 0fr;
    }

    .sector-referer-panel-card .background-filter {
        grid-template-areas: 
            "dept"
            "referers";
        grid-template-columns: 1fr;
    }

    .sector-referers {
        justify-content: center;
    }

    .carto_add_stop_layout {
        flex-direction: column;
    }

    .reverse-in-portrait {
        flex-direction: column-reverse;
    }

    .carto_panel {
        width: 100%;
    }

    .filter_section .section_content div {
        width: 100%;
    }
}

/* Hide Calendar Icon In Chrome */
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

.inline-line-logo {
	height: 32px;
	background-color: white;
	border: 3px solid transparent;
	margin: 0px;
	border-radius: 5px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: max-content;
    gap: 3px;
}

.inline-line-logo img {
	height: 26px;
}

.inline-line-logo p {
    margin: 0px;
	height: 26px;
    padding: 3px 8px;
    border-radius: 5px;
    background-color: white;
    color: black;
    align-self: center;
    font-weight: bold;
}

/* INBOX */
.inbox_section {
	display: grid;
	grid-template-areas: "inbox-filter-panel inbox-main-panel inbox-preview-panel";
	grid-template-columns: 1fr 2fr 2fr;
	gap: 15px;
    min-height: 750px;
    height: 90vh;
}

#inbox-filter-panel {
	background: #15181e;
	padding: 15px;
	border-radius: 15px;
	display: grid;
	grid-template-rows: 1fr 0fr 0fr;
	gap: 15px;
	grid-area: inbox-filter-panel;
	height: 90vh;
    min-height: 750px;
}

#inbox-filter-panel h3 {
	margin-bottom: 15px;
}

.inbox-filter-apply-button {
    margin-top: 15px;
}

#inbox-box-selector {
	display: flex;
	flex-direction: column;
	gap: 5px;
	overflow-y: auto;
}

.inbox-box-selector-option {
	display: flex;
	justify-content: space-between;
	padding: 15px;
    border-radius: 15px;
    cursor: pointer;
	transition: linear 0.2s;
}

.box-option-title, .box-option-icon {
	font-weight: bold;
	color: white;
	margin: 0;
}

.box-option-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.box-option-unread {
	background-color: #49c149;
	display: block;
	width: 40px;
	border-radius: 15px;
	color: #15181e;
	font-weight: bold;
	font-size: 15px;
	margin: 0;
	text-align: center;
	align-self: center;
	justify-content: center;
}

#inbox-parameters {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 5px;
}

.box-selector-option-selected, .inbox-box-selector-option:hover {
	background: #4d5256;
}

.filter-option-label .fa-regular, .filter-option-label .fa-solid {
	margin-left: 7.5px;
}

.inbox-box-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.filter-option-label {
	padding: 5px 10px;
	margin: 0;
	border-radius: 7.5px;
	background-color: #4d5256;
	font-weight: inherit;
    transition: linear 0.2s;
    cursor: pointer;
}

.filter-option-input:checked + .filter-option-label {
    background-color: #49c149;
}

.filter-option-input {
	display: none;
}

#inbox-main-panel {
	display: flex;
	flex-direction: column;
	gap: 5px;
    overflow-y: auto;
    grid-area: inbox-main-panel;
}

#preview-panel-empty, .report-list-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 20px;
	height: 100%;
	color: white;
}

#preview-panel-empty .fa-solid, .report-list-empty .fa-solid {
    font-size: 4rem;
}

#preview-panel-empty h3, .report-list-empty h3 {
    font-size: 2rem;
}

#preview-panel-empty p, .report-list-empty p {
    margin: 0;
    font-style: italic;
	color: lightgray;
}

.inbox-date-separator {
	color: white;
	font-size: 15px;
	font-weight: bold;
	margin-top: 15px;
	margin-bottom: 5px;
}

.inbox-element {
	background-color: #2e3542;
	padding: 15px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
	transition: linear 0.2s;
}

.inbox-element:hover {
	background-color: #15181e;
}

.inbox-element p {
	margin: 0;
}

#selected-inbox-element {
    background-color: #15181e;
}

.message-info {
    color: white;
}

.message-info a {
    text-decoration: underline;
}

.message-info a:hover {
    text-decoration: none;
}

.message-info .fa-solid {
    margin: 0 5px;
    color: lightgray;
    font-size: .7rem;
}

.inbox-element h4 .fa-solid {
	margin: 0 5px;
}

.message-tags {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.message-tag-element {
	border: 1px solid white;
	padding: 1px 4px;
	color: white;
	border-radius: 5px;
	background-color: rgba(255, 255, 255, .25);
	font-size: 12.5px;
}

.tag-pending, .tag-yellow {
    color: rgb(254, 202, 87);
    border-color: rgb(254, 202, 87);
    background-color: rgba(254, 202, 87, .25);
}

.tag-processed, .tag-green {
    color: rgb(73, 193, 73);
    border-color: rgb(73, 193, 73);
    background-color: rgba(73, 193, 73, .25);
}

.tag-rejected, .tag-red {
    color: rgb(194, 54, 22);
    border-color: rgb(194, 54, 22);
    background-color: rgba(194, 54, 22, .25);
}

.tag-error, .tag-blue {
    color: rgb(52, 152, 219);
    border-color: rgb(52, 152, 219);
    background-color: rgba(52, 152, 219, .25);
}

.tag-bug, .tag-pink {
    color: rgb(231, 29, 115);
    border-color: rgb(231, 29, 115);
    background-color: rgba(231, 29, 115, .25);
}

.message-tag-element .fa-solid {
    margin-left: 5px;
}

.clickable-tag {
    cursor: pointer;
}

.preview-details-div {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.preview-details-div .message-tags {
    margin-top: 0;
}

#inbox-preview-panel {
	background: #2e3542;
	border-radius: 15px;
	color: white;
	display: grid;
	grid-template-rows: 1fr 0fr;
	overflow: hidden;
    height: 90vh;
    min-height: 750px;
    grid-area: inbox-preview-panel;
}

#preview-panel-main {
    height: calc(90vh - 70px);
    min-height: 680px;
    display: flex;
    flex-direction: column;
}

#preview-panel-main a {
	text-decoration: underline;
}

#preview-panel-main a:hover {
	text-decoration: none;
}

#preview-panel-main h3 {
	margin-bottom: 15px;
}

#preview-panel-main p {
	margin: 0;
    overflow-wrap: anywhere;
}

.preview-details-div, .preview-message-div {
    margin: 15px;
}

.preview-message-div {
    overflow-y: auto;
}

.vehicle-preview {
	background-color: #15181e;
	background-size: cover;
	background-position: center;
}

.vehicle-preview .background-filter {
	backdrop-filter: blur(5px);
	padding: 15px;
}

#preview-panel-actions {
    padding: 15px;
    background-color: #15181e;
}

.vehicle-preview-id {
    font-size: 10px;
    color: lightgray;
    text-transform: uppercase;
    font-weight: bold;
}

.preview-side-by-side {
	display: grid;
	grid-template-columns: 1fr 0fr 1fr;
	gap: 15px;
	margin-top: 15px;
}

.preview-side-by-side-details p {
	display: flex;
	justify-content: space-between;
}

.preview-side-by-side-details {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

#preview-panel-main .network-and-operator {
	display: flex;
    flex-direction: column;
    gap: 5px;
}

.light-gray-text {
	color: lightgray;
}

.light-gray-text a {
	color: auto;
}

.action-button-big {
	text-decoration: none !important;
	padding: 10px 15px 10px 9px;
	align-self: center;
	text-align: center;
	border-radius: 10px;
	font-weight: bold;
	cursor: pointer;
    transition: linear 0.2s;
    display: flex;
    flex-direction: row;
    gap: 7.5px;
    justify-content: center;
}

.action-button-big * {
    align-self: center;
}

.action-button-big:hover {
    background-color: #4d5256;
}

.preview-side-by-side-actions {
	display: grid;
	gap: 15px;
	grid-template-columns: 1fr 1fr;
}

#preview-panel-actions {
	display: grid;
	gap: 15px;
	/*grid-template-columns: 1fr 1fr 1fr;*/
    grid-template-columns: 1fr 1fr;
}

.button-green {
    background-color: rgb(73, 193, 73);
}

.button-red {
    background-color: rgb(232, 65, 24);
}

.button-blue {
    background-color: rgb(52, 152, 219);
}

.button-green:hover {
    background-color: rgb(57, 159, 53);
}

.button-red:hover {
    background-color: rgb(194, 54, 22);
}


@media screen and (max-width: 900px) {
    .inbox_section {
        grid-template-areas: "inbox-filter-panel" "inbox-preview-panel" "inbox-main-panel";
        grid-template-columns: 1fr;
        min-height: auto;
        height: auto;
    }

    #inbox-preview-panel {
        height: 90vh;
    }

    #inbox-preview-panel:has(#preview-panel-empty) {
        display: none;
    }

    .preview-side-by-side {
        grid-template-columns: 2fr 0fr 1fr;
    }

    .preview-side-by-side .vertical_separator {
        display: block;
    }
}


.cat-picto-holder, .line-picto-holder {
    height: 32px;
	padding: 3px;
    background-color: white;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: max-content;
}

.cat-picto-holder img, .line-picto-holder img {
    height: 100%;
}

.category-lines {
	display: flex;
	width: fit-content;
	gap: 2px;
	margin-top: 5px;
}

.line-picto-text {
    height: 100%;
    padding: 3px 8px;
    font-weight: bold;
    margin: 0;
    border-radius: 5px;
    font-size: 16px;
}

.button-blue:hover {
    background-color: rgb(41, 128, 185);
}

@keyframes blinker {
    50% {
      opacity: 0.1;
    }
  }
  
.retrofit-card form {
    display: grid;
    grid-template-areas: "energy motor" "euro bv" "date date" "save del";
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

#retrofit-energy {
    grid-area: energy;
}
#retrofit-motor {
    grid-area: motor;
}
#retrofit-euro {
    grid-area: euro;
}
#retrofit-bv {
    grid-area: bv;
}
#retrofit-date {
    grid-area: date;
}
#retrofit-save {
    grid-area: save;
}
#retrofit-del {
    grid-area: del;
}