* {
    box-sizing: border-box;
}

html{
    height: 100%;
    overflow-x: hidden;
}

a{
    text-decoration: none;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: url('/medias/Pattern-Header-Top-right.svg');
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-size: 800px;
    font-family: 'silka';
}

header, nav{
    height: 100px;
    background: #241F20;
}

#logo{
    height: 60px;
    margin-left: 20px;
    display: inline-block;
}

#menuheader{
    display: inline-block;
    width: 75%;
    padding-left: 30px;
}

#menuheader a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-family: 'silka';
    margin-right: 35px;
    line-height: 25px;
    top: -25px;
    position: relative;
    font-size: 15px;
    text-transform: capitalize;
}

#settings{
    visibility: hidden;
}

.bl1-2, .bl2-2 {
    width: 49%;
    height: auto;
    text-align: center;
    font-family: 'silka';
    border: 1px solid;
    background: white;
    margin: auto;
    margin-top: 20px;
}

span#pourcentage {
    font-weight: 500;
    letter-spacing: -6px;
    margin-top: 10px;
    font-size: 70px;
    margin: auto;
    display: block;
    text-align: center;
}

.bl1 {
    border-top: 6px dotted #f0c700;
    padding: 20px;
}

.blocbit {
    background: #F0C700;
    margin: 5px;
    padding: 10px;
    width: fit-content;
    color: white;
    font-weight: 500;
    text-transform: capitalize;
    display: inline-block;
}

.blocbit a{
    color: white;
    text-decoration: none;
    font-family: 'silka';
    font-weight: 500;
}

h1, h2, h3{
    font-family: 'silka';
    color: #241F20;
    font-weight: 700;
}

.h3, h3{
    font-size: 17px !important;
}

h1.titrebit {
    text-transform: capitalize;
    font-size: 55px;
    margin-left: 50px;
    padding: 20px;
}

div#detailsbit{
    margin-left: 50px;
}

.table {
    box-shadow: 0px 0px 15px #00000073;
    text-align: center;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    width: 90%;
}

td.even {
    background: #f3f3f3 !important;
}

td.outdated {
    background: #a54242;
}

td.updated {
    background: #7daf57;
}

td.forced-update{
    background: #a4bb50 !important;
}

.table a {
    text-decoration: none;
    color: #947f00;
}

form span{
    font-weight: bold;
}

form i{
    font-size: 13px;
}

footer span{
    font-weight: bold;
}

footer {
    background: #241F20;
    color: white;
    padding: 20px;
    position: relative;
    margin-top: 50px;
    bottom: 0;
    display: flex;
    width: 100%;
}

.blocfooter {
    display: inline-block;
    width: 30%;
    margin: auto;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none !important;
    border: 1px solid;
    padding: 6px;
    border-radius: 3px;
}

footer a:hover {
    background: white;
    color: #241f20;
}

.erreur {
    background: white;
    box-shadow: 0px 0px 5px black;
    width: 50%;
    margin-left: 25%;
    padding: 10px;
    margin-right: 25%;
    margin-bottom: 20px;
}

h2.titretab {
    margin-left: 50px;
    text-transform: uppercase;
    display: inline-block;
    width: 100%;
    font-size: 20px;
    margin-top: 10px;
}

.h2, h2{
    font-size: 1.7rem;
}

span.updated {
    width: 20px;
    height: 20px;
    background: #7daf57;
    display: inline-block;
}

span.forced-update {
    width: 20px;
    height: 20px;
    background: #a4bb50;
    display: inline-block;
}

span.deprecated {
    width: 20px;
    height: 20px;
    background: #a54242;
    display: inline-block;
}

.legende {
    text-align: left !important;
    border-radius: 3px;
    margin-left: 20px;
    display: inline-block;
    padding: 10px;
}

span.count-1 {
    display: inline-block;
    background: #ffda00;
    padding: 5px 12px;
    width: fit-content;
    margin-left: 35px;
    height: 25px;
    margin-top: 0px;
    margin-bottom: 20px;
    line-height: 15px;
    color: #241f20;
}

tr.contactinfo{
    height: 40px;
    display: none;
}

#sub-menu{
    display: none;
    list-style: none;
    background: #241F20;
    width: 230px;
    position: absolute;
    top: 40px;
    padding: 25px;
}

#sub-menu a{
    top: 10px;
}

.commentaire {
    width: 25%;
}

.commentaire span {
    font-size: 12px;
    font-family: 'silka';
    text-align: center !important;
}

a#partenaireN {
    width: 100%;
    height: 5px;
    position: absolute;
    margin-top: 25px;
}

iframe{
    display: block;
    margin: auto;
}

span#descpourcentage {
    text-align: center;
    width: 100%;
    margin: auto;
    display: block;
}

.form-check-label{
    margin-right: 15px;
    font-size: 14px;
}

.nav-link{
    color: white;
}

.dropdown-item{
    text-transform: capitalize;
}

span.tip_n2 {
    background: #ffda00;
    padding: 3px;
}

.row.graphs{
    margin-bottom: 20px;
}

.detailtab{
    display: none;
}

span#reveldetail{
    margin: auto;
    display: block;
    border: 1px solid;
    width: fit-content;
    padding: 8px;
    border-radius: 3px;
    background: #241F20;
}

#reveldetail>button{
    text-decoration: none;
    color: white;
    background: none;
    border: none;
}

form.search-station{
    margin: auto;
    width: 95%;
}

td.meta{
    text-transform: capitalize;
}

.table-bordered td, .table-bordered th, .table-bordered thead td, .table-bordered thead th{
    vertical-align: middle;
}

span.validationdate {
    font-size: 12px;
}

span.validationdate.oldverification{
    color: red;
}

.legende .deprecated {
    margin-left: 20px;
}

#comm {
    border: 0;
    background: transparent;
    width: 100%;
    min-width: 300px;
}

textarea{  
    display: block;
    box-sizing: border-box;
    padding: 10px;
    width: 250px;
    font-size: 14px;
    border: 0;
  }

.bcomm{
    display: none;
}

.logindropdown{
    width: 350px;
}

.gestion > h1,.gestion >  h2,.gestion >  h3, .help h1,.help  h2,.help  h3{
    width: 100%;
}

.blocgestion {
    margin: auto;
    width: 100%;
}

.home-search {
    text-align: center;
}

.home-search h2 {
    margin-bottom: 0.35rem;
}

.home-search-intro {
    color: #6c757d;
    margin-bottom: 1.25rem;
}

.home-search-box {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.home-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #241F20;
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 2;
}

.home-search-input {
    width: 100%;
    border: 2px solid #241F20;
    border-radius: 999px;
    padding: 1rem 1.5rem 1rem 3.25rem;
    font-size: 1.05rem;
    font-family: 'silka', sans-serif;
    background: #fff;
    box-shadow: 0 12px 30px rgba(36, 31, 32, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-search-input:focus {
    outline: none;
    border-color: #ffda00;
    box-shadow: 0 16px 36px rgba(36, 31, 32, 0.12);
}

.home-search-results {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #241F20;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(36, 31, 32, 0.12);
    overflow: hidden;
    z-index: 20;
    text-align: left;
    font-family: 'silka', sans-serif;
}

.home-search-item {
    display: block;
    width: 100%;
    padding: 0.85rem 1.25rem;
    text-align: left;
    text-decoration: none;
    color: #241F20;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.35;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    border-radius: 0;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.home-search-item:last-child {
    border-bottom: 0;
}

.home-search-item:hover,
.home-search-item.is-active {
    background: #fff8d6;
    border-left: 4px solid #F0C700;
    padding-left: calc(1.25rem - 4px);
    color: #241F20;
    text-decoration: none;
}

.home-search-item-title {
    display: block;
    font-weight: 600;
    color: #241F20;
}

.home-search-item-meta {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.88rem;
    font-weight: 400;
    color: #6c757d;
}

.home-search-empty {
    padding: 1rem 1.25rem;
    color: #6c757d;
    font-family: 'silka', sans-serif;
}

.blocgestion tr{
    background: white;
}

.blocgestion .form-control{
    width: 100%;
    margin-bottom: 10px;
}

h3.titretab{
    margin-left: 55px;
    display: inline-block;
}

span.tooltipdate{
    display: none;
}

.help img {
    margin: auto;
    max-width: 900px;
    box-shadow: 0px 0px 4px rgb(0 0 0 / 48%);
    margin-bottom: 10px;
    margin-top: 10px;
}

.hide{
    display: none;
}

td:hover > .hide{
    display: block;
}

.preload{
    width: 100%;
    height: 100%;
    background: #333;
    background-image: url('/medias/forme-noire.jpg');
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.preload .logo{
    width: 300px;
    height: 70px;
    font-family: 'silka';
    color: white;
    font-weight: bold;
    margin: 150px 50px 50px auto;
    font-size: 55px;
    text-shadow: -1px 2px 2px #000;
    text-align: center;
}

.loader-frame{
    width: 70px;
    height: 70px;
    margin: auto 80px 0 auto;;
    position: relative;
}

.loader1, .loader2{
    position: absolute;
    border: 5px solid transparent;
    border-radius: 50%;
}

.loader1{
    width: 70px;
    height: 70px;
    border-top: 5px solid azure;
    border-bottom: 5px solid azure;
    animation: clockwisespin 2s linear 3;
}

.loader2{
    width: 60px;
    height: 60px;
    border-left: 5px solid azure;
    border-right: 5px solid azure;
    top:5px;
    left: 5px;
    animation: anticlockwisespin 2s linear 3;
}

@keyframes clockwisespin{
    from{transform: rotate(0deg);}
    to{transform: rotate(360deg);}
}

@keyframes anticlockwisespin{
    from{transform: rotate(0deg);}
    to{transform: rotate(-360deg);}
}

@keyframes fadeout{
    from{opacity: 1;}
    to{opacity: 0;}
}

a.lienvitrine{
    font-size: 12px;
    font-weight: 100;
    display: block;
}

#advancedFilters{
    display: none;
}

#filtersbutton{
    margin-left: 30px;
}

li{
    text-align: left;
}

::marker{
    color: #f0c700;
}

.com-content {
    background: #ffda00;
    padding: 7px;
    text-align: left;
    border-radius: 5px 5px 0;
}

.com-meta {
    font-size: 12px;
    text-align: right;
}

.message {
    margin-bottom: 10px;
}

.commentaires {
    max-height: 130px;
    overflow-x: auto;
    max-width: 500px;
    padding: 3px;
}

.sendcomm {
    background: rgb(227 227 227 / 20%);
    border: 1px solid rgb(128 128 128 / 13%);
}

.com-content.message-scopika {
    background: #d6d6d6;
}

.form-check li {
    list-style: none;
}

/* Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
    .resume{
        display:none;
    }

    body{
        overflow-x: auto;
    }
}

/* Medium devices (tablets, 768px and up)*/
@media (max-width: 1199.98px) { 
    body{
        overflow: visible;
    }
    
    .selectbit{
        display:inline-block;
    }

    .blocbit{
        margin: 10px;
        padding-top: 10px;
        padding-left: 10px;
    }

    .form-check-inline{
        display: block;
    }

    footer a{
        border: none;
    }

    .legende, span.count-1{
        display: none !important;
    }
}

@media print {
    .container {
      width: auto;
    }

    .btn-val, .rowlegende, footer {
        display: none;
    }
    span.tooltipdate{
        display: inline;
    }

    h1.titrebit{
        padding: 0;
    }
  }
  
.progress {
    width: 150px;
    height: 150px !important;
    float: left;
    line-height: 150px;
    background: none;
    margin: 20px;
    box-shadow: none;
    position: relative
}

.progress:after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 12px solid #fff;
    position: absolute;
    top: 0;
    left: 0
}

.progress>span {
    width: 50%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    z-index: 1
}

.progress .progress-left {
    left: 0
}

.progress .progress-bar {
    width: 100%;
    height: 100%;
    background: none;
    border-width: 12px;
    border-style: solid;
    position: absolute;
    top: 0
}

.progress .progress-left .progress-bar {
    left: 100%;
    border-top-right-radius: 80px;
    border-bottom-right-radius: 80px;
    border-left: 0;
    -webkit-transform-origin: center left;
    transform-origin: center left
}

.progress .progress-right {
    right: 0
}

.progress .progress-right .progress-bar {
    left: -100%;
    border-top-left-radius: 80px;
    border-bottom-left-radius: 80px;
    border-right: 0;
    -webkit-transform-origin: center right;
    transform-origin: center right;
    /*animation: loading-1 1.8s linear forwards*/
}

.progress .progress-value {
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: #000;
    font-size: 24px;
    color: #fff;
    line-height: 135px;
    text-align: center;
    position: absolute;
    top: 5%;
    left: 5%
}

.progress.blue .progress-bar {
    border-color: #049dff
}

/* Changer valeur loading pour augmenter pourcentage */
.progress.blue .progress-left .progress-bar {
    /*animation: loading-3 1.5s linear forwards 1.8s*/
}

.progress.yellow .progress-bar {
    border-color: #fdba04
}

.progress.yellow .progress-right .progress-bar {
    /*animation: loading-3 1.8s linear forwards*/
}

.progress.yellow .progress-left .progress-bar {
    animation: none
}

@keyframes loading-1 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg)
    }
}

@keyframes loading-2 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(144deg);
        transform: rotate(144deg)
    }
}

@keyframes loading-3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg)
    }
}

.admin-shell {
    display: flex;
    align-items: stretch;
    min-height: calc(100vh - 100px);
}

.admin-sidebar {
    width: 260px;
    flex: 0 0 260px;
    background: #241F20;
    color: #fff;
    position: sticky;
    top: 100px;
    height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 1.25rem 1rem 2rem;
}

.admin-brand {
    display: block;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.admin-nav-label {
    margin: 1.25rem 0 0.35rem;
    padding: 0 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.admin-nav-link {
    display: block;
    margin-bottom: 0.15rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.4rem;
    color: #fff;
    text-decoration: none;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: #ffda00;
    color: #241F20;
}

.admin-main {
    flex: 1;
    min-width: 0;
    padding: 1.75rem 2rem 3rem;
}

.admin-section {
    max-width: 980px;
}

.admin-card {
    display: block;
    height: 100%;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(36, 31, 32, 0.12);
    border-radius: 0.75rem;
    background: #fff;
    color: #241F20;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(36, 31, 32, 0.05);
}

.admin-card:hover {
    border-color: #ffda00;
    color: #241F20;
}

.admin-card h2 {
    margin-bottom: 0.35rem;
    font-size: 1.15rem;
}

.admin-card p {
    margin: 0;
    color: #6c757d;
}

.admin-log {
    max-height: 220px;
    overflow: auto;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #241F20;
    color: #fff;
    font-size: 0.82rem;
    white-space: pre-wrap;
}

.scopika-exports {
    margin: 0.25rem 0 1.25rem;
    padding: 1.25rem 0;
    border-top: 6px dotted #f0c700;
    border-bottom: 6px dotted #f0c700;
}

.scopika-exports-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
}

.scopika-exports-head h2 {
    margin: 0;
}

.scopika-export-counts {
    margin-top: 1rem;
}

.scopika-export-counts p {
    margin-bottom: 0.75rem;
}

.scopika-export-fields {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1.25rem;
}

.scopika-export-fields .form-label {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.scopika-export-fields .form-control {
    width: 6.5rem;
}

.fiche-link-bits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0 1.25rem;
}

.fiche-link-bits .blocbit {
    margin: 0;
}

.fiche-link-row .form-label {
    grid-area: label;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.fiche-link-ignore {
    grid-area: ignore;
    align-self: center;
    margin: 0;
    padding-left: 1.6rem;
    white-space: nowrap;
}

.fiche-search {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "label ."
        "field ignore"
        "picked .";
    column-gap: 1.5rem;
    align-items: center;
}

.fiche-search .form-control {
    grid-area: field;
}

.fiche-search-menu {
    grid-area: field;
    position: absolute;
    z-index: 30;
    top: calc(100% + 0.25rem);
    left: 0;
    right: 0;
    max-height: 18rem;
    overflow: auto;
    padding: 0.25rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background: #fff;
    box-shadow: 0 0.5rem 1rem rgba(36, 31, 32, 0.15);
}

.fiche-search-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "name id"
        "meta id";
    column-gap: 1rem;
    align-items: center;
    width: 100%;
    padding: 0.45rem 0.65rem;
    border: 0;
    border-radius: 0.25rem;
    background: transparent;
    color: #241F20;
    text-align: left;
}

.fiche-search-item.is-active,
.fiche-search-item:hover {
    background: #fff6cc;
}

.fiche-search-name {
    grid-area: name;
    font-weight: 600;
}

.fiche-search-meta {
    grid-area: meta;
}

.fiche-search-meta,
.fiche-search-empty,
.fiche-search-picked {
    color: #6c757d;
    font-size: 0.85rem;
}

.fiche-search-empty {
    margin: 0;
    padding: 0.45rem 0.65rem;
}

.fiche-search-picked {
    grid-area: picked;
    margin: 0.35rem 0 0;
}

.fiche-search-id {
    grid-area: id;
    justify-self: end;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 767.98px) {
    .admin-shell {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        flex-basis: auto;
        position: static;
    }
}