@font-face{font-family: 'ethnocentric'; src: url('/assets/fonts/ethnocentric rg.ttf') format('truetype');}
@font-face{font-family: 'archivo'; src: url('/assets/fonts/Archivo-Variable.ttf') format('truetype');}

.font-family-archivo {
    font-family: 'archivo';
}

header {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}
#menu {
    width: 100%;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    /* font-size: 14px; */
    -webkit-box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.75);
}
#menu-inline {
    display: none;
    visibility: hidden;
}
#menu-burger {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px 0 0;
}

#title {
    position: relative;
    margin-left: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0px 25px 0px 0px;
    color: white;
}
#title span {
    font-family: 'ethnocentric';
    font-size: 18px;
}
#devel {
    font-size: 8px !important;
    position: absolute;
    right: 10px;
    padding: 3px;
    background-color: #15bf7f;
    border-radius: 60px;
}
[class^="menu-sub-container"] {
    height: 99%;
    display: flex;
    align-items: center;
    margin-left: 25px;
    margin-right: 25px;
}
.menu-sub-container a {
    opacity: 0.50;
}
.menu-sub-container-underline {
    border-bottom: 1px solid #15bf7f;
    opacity: 1;
}
.menu-sub-container:hover a {
    opacity: 1;
}
.menu-tab-title {
    display: none;
}
#header-refresh {
    position: relative;
}
.op-total-running {
    position: absolute;
    right: -15px;
    top: -30px;
    width: 15px;
    height: 15px;
    line-height: 15px !important;
    border: none;
    border-radius: 50%;
    color: white;
    background-color: #F32F63;
    text-align: center;
    font-size: 9px;
    font-family: monospace;
    text-decoration: none;
}
.header-op-container {
    display: none;
    position: absolute;
    margin-top: 15px;
    z-index: 99;
}
.header-op-subdiv {
    display: flex !important;
    justify-content: space-between;
    min-width: max-content;
    margin-bottom: 3px;
    padding: 8px;
    text-align: left !important;
    align-items: center;
}
.header-op-subdiv img {
    height: 18px;
}
#header-refresh-container:hover .header-op-container {
    display: block;
}
#notification-count {
    position: absolute;
    right: -11px;
    top: -12px;
    width: 15px;
    height: 15px;
    line-height: 15px !important;
    border: none;
    border-radius: 50%;
    color: white;
    background-color: #F32F63;
    text-align: center;
    font-size: 9px;
    font-family: monospace;
    text-decoration: none;
}
#userspace {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Les articles constituent le container principal des sections section-left et section-right. */
article {
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: auto 20px auto 20px;
}
.section-left, .section-right {
    width: 100%;
    vertical-align: top;
}

.section-left {
    align-self: flex-start;
}

#title-button-div {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 50px;
}

#title-button-div h3 {
    margin-top: 0;
}

#title-button-container {
    display: flex;
    justify-content: space-between;
}

.close-btn {
    width: 25px;
    cursor: pointer;
}

#repos-list-container {
    width: 100%;
    font-size: 14px;
}

.repos-list-group-select-all-btns {
    display: flex;
    align-items: center;
    margin-left: 330px;
    column-gap: 10px;
}

.repos-list-group-select-all-btns input[type="checkbox"] {
    height: 20px;
    width: 20px;
}

.repos-list-group-flex-div {
    display: grid;
    grid-template-columns: 300px 55px auto auto auto 55px 1fr;
    row-gap: 25px;
    margin-bottom: 12px;
    background-color: #22384F;
    border: 1px solid #24405c;
    border-radius: 20px;
    padding: 15px 4px 15px 4px;
    box-shadow: rgb(0 0 0) 0px 10px 13px -12px, rgb(0 0 0 / 15%) 0px 0px 10px 2px;
}

.repos-list-group-flex-div [class^="item"] {
    padding: 4px 0px 4px 0px;
    position: relative;
}

.repos-list-group-flex-div:hover, .repos-list-group-flex-div:hover .item-desc [type=text] {
    background-color: #182b3e;
    transition-duration: 0.4s;
}

.repos-list-group-flex-div:hover input[type=checkbox] {
    visibility: visible;
}

.repos-list-group-flex-div input[type=checkbox]:hover {
    opacity: 1;
}

.item-repo {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    padding-left: 10px !important;
}

.item-empty-line {
    grid-column-start: 1;
    grid-column-end: -1;
    padding: 10px 0 10px 0 !important;
}

.item-checkbox {
    display: grid;
    grid-template-columns: auto;
    justify-items: flex-end;
    grid-auto-flow: column;
    column-gap: 5px;
    margin-right: 10px;
}

.item-checkbox input[type=checkbox] {
    height: 20px;
    width: 20px;
    vertical-align: baseline;
    opacity: 0.5;
    visibility: hidden;
}

.item-arrow, .item-checkbox, .item-env {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.item-arrow {
    margin-top: 7px;
    margin-right: 1px;
    position: relative;
    width: 40px;
}

.item-arrow span {
    width: 100%;
    position: absolute;
    top: 5px;
    border-top: 1px solid #8A99AA;
}

.item-arrow-up span {
    position: absolute;
    top: -64px;
    left: 15px;
    height: 77.5px;
    width: 30px;
    border-left: 1px solid #8A99AA;
    border-bottom: 1px solid #8A99AA;
    border-bottom-left-radius: 4px;
}

.item-env {
    min-width: 40px;
    padding: 0px !important;
}

.item-env span {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    -webkit-box-shadow: rgb(0 0 0) 0px 10px 13px -12px, rgb(0 0 0 / 15%) 0px 0px 10px 2px;
    box-shadow: rgb(0 0 0) 0px 10px 13px -12px, rgb(0 0 0 / 15%) 0px 0px 10px 2px;
}

.item-repo-version {
    padding: 0px 0px 4px 8px !important;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    column-gap: 6px;
}

.item-snapshot {
    width: 110px;
    padding: 0 0 0 0 !important;
}

.item-date {
    padding: 0 !important;
}

.item-date span {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 12px;
    padding-top: 6px;
    padding-bottom: 6px;
    border-radius: 16px;
    background-color: rgb(46, 54, 58);
    color: white;
    box-shadow: rgb(12 18 20 / 67%) 0px 0px 0px 1px;
}

.item-info {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    justify-content: space-evenly;
    padding: 6px 0 0 0 !important;
    position: inherit !important;
}

.item-info img {
    height: 19px;
    margin-left: 4px !important;
    margin-right: 4px !important;
}

.item-info span {
    font-size: 14px;
    line-height: 0 !important;
}

.item-env-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: flex-start;
    flex-wrap: wrap;
    column-gap: 5px;
    margin-left: 10px;
}

.item-env-info input[type=checkbox] {
    visibility: hidden;
}

.item-desc {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.item-desc [type=text] {
    background-color: #22384F;
    height: 20px !important;
}

.item-desc [type=text]::placeholder {
    visibility: hidden;
}

.item-desc [type=text]:hover::placeholder {
    visibility: visible;
}
.item-task-status {
    margin-left: 15px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 10px;
}

input::placeholder {
    color: #ffffff9e;
}

/* Etiquettes d'environnements */
.env, .last-env, .env-fit, .last-env-fit {
    font-size: 13px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    vertical-align: middle;
    border-radius: 16px;
}
.env, .env-fit {
    background-color: white;
    color: #000000d9;
}
.env-fit, .last-env-fit {
    text-align: center;
    display: block;
}
.env-fit:hover, .last-env-fit:hover {
    background-color: #e6e6e6;
}
.last-env, .last-env-fit {
    color: white;
    background-color: #F32F63;
}
.last-env:hover, .last-env-fit:hover {
    background-color: #dc0044;
}

[class^="label-pkg"] {
    display: block;
    width: 19px;
    height: 19px;
    line-height: 19px !important;
    padding: unset;
    text-align: center;
    border-radius: 50%;
    font-size: 7px;
    font-family: 'archivo';
    box-shadow: rgb(0 0 0) 0px 10px 13px -12px, rgb(0 0 0 / 15%) 0px 0px 10px 2px;
}
.label-pkg-rpm {
    background-color: #5372e7;
}
.label-pkg-deb {
    background-color: #F32F63;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 40px;
    width: auto;
    height: 300px;
    flex-grow: 1;
    margin-top: 200px;
    padding: 40px 25px 50px 25px;
    box-shadow:
     0px 1px 1px 0px rgba(0, 0, 0, 0.5) inset,
     0px 2px 2px 0px rgba(109, 109, 109, 0.2);
    background-color:#182b3e;
}

footer #github img { width: 25px; }

.circle-div-container div {
    display: inline-block;
    vertical-align: middle;
    margin: 5px 10px 5px 0px;
}

.circle-div-container-count, .circle-div-container-count-green, .circle-div-container-count-yellow, .circle-div-container-count-red {
    position: relative;
    border-radius: 50%;
    border: 4px solid #5473e8;
    text-align: center;
    display: inline-block;
    padding: 10px;
    width: 25px;
    height: 25px;
    -webkit-box-shadow: 0px 10px 13px -12px #000000, 0px 0px 10px 2px rgb(0 0 0 / 15%);
    box-shadow: 0px 10px 13px -12px #000000, 0px 0px 10px 2px rgb(0 0 0 / 15%);
}
.circle-div-container-count span, .circle-div-container-count-green span, .circle-div-container-count-yellow span, .circle-div-container-count-red span {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 13.5px;
}
.circle-div-container-count-green { border: 4px solid #15bf7f; }
.circle-div-container-count-yellow { border: 4px solid #ffb536; }
.circle-div-container-count-red { border: 4px solid #F32F63; }

.donut-chart-container {
    width: 120px;
    height: 120px;
    position: relative;
    margin: auto;
}

.donut-chart {
    position: absolute;
    z-index: 20;
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.donut-chart-container .donut-legend {
    position: absolute;
    text-align: center;
    font-size: 13px;
    top: 40%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.donut-legend-title {
    position: absolute;
    text-align: center;
    font-size: 11px;
    top: 30%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.donut-legend-content {
    width: 100%;
    position: absolute;
    text-align: center;
    font-size: 18px;
    top: 60%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.profiles-container {
    columns: 1;
    column-count: 1;
    width: 100%;
}

.profiles-container > div {
    break-inside: avoid;
}

.header-blue, .header-blue-min { background-color: #22384F; }
.header-light-red, .header-light-red-min { background-color: #ff3369 !important; }
.header-light-blue, .header-light-blue-min { background-color: #2b4d6e !important; }

#maintenance-container {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: auto;
    background: #333333d3;
    z-index: 500;
}

#maintenance {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    padding: 30px;
    border-radius: 20px;
    background-color: #112334;
    -webkit-box-shadow: 0px 10px 13px -12px #000000, 0px 0px 10px 2px rgba(0,0,0,0.15);
    box-shadow: 0px 10px 13px -12px #000000, 0px 0px 10px 2px rgb(0 0 0 / 15%);
}

#maintenance p {
    font-size: 14px;
    text-align: center;
}

.hide, .tr-hide, .td-hide {
    display: none;
}

#monitoring-stats-container div {
    height: 250px !important;
}

/* Desktop configuration */
@media (min-width:1500px) {
    #menu {
        justify-content: flex-start;
    }
    #menu-inline {
        height: 100%;
        display: flex;
        visibility: visible;
        justify-content: space-between;
        flex-grow: 1;
    }
    #menu-burger {
        display: none !important;
        visibility: hidden !important;
    }
    .menu-tab-title {
        display: block;
        font-family: 'Archivo';
        font-weight: 600;
        font-size: 16px;
    }

    article {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .section-main {
        flex: 0 0 100%;
    }

    .section-left {
        flex: 0 0 68%;
    }

    .section-right {
        flex: 0 0 29.5%;
    }

    .profiles-container {
        columns: 2;
        column-count: 2;
    }
}