
:root {
    --color: #a3a3a3;
    --backgroundColor: #222224;
    --backgroundSectionColor: #121316;
}
html, body {
    background: var(--backgroundColor);
    color: var(--color);
    font-family: arial;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100vh;
}

h1 {
    background: var(--backgroundSectionColor);
    box-shadow: 0rem 0.1rem 0.1rem 0rem #27272b;
    font-size: 21px;
    margin: 0rem 0rem 2.3rem;
    padding: 1.1rem;
    display: flex;
    justify-content: space-between;
}

h1 > div {
    display: flex;
    flex-grow: 1;
    align-items: center;
}

h1 button {
    padding: 0;
    display: flex;
}

h1 img {
    height: 100%;
}

.refreshBtn {
    margin-left: 0.5rem;
    height: 1.4rem;
}

main {
    margin: 0 1.1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color);
}

/**
 * SCROLL
 */
.horizontalScroll::-webkit-scrollbar {
    background: transparent;
    border-radius: 2rem;
    display: block;
    height: 4px;
    width: 100%;
}

.scroll::-webkit-scrollbar {
    background: transparent;
    border-radius: 2rem;
    display: block;
    height: 100%;
    width: 4px;
}

.horizontalScroll::-webkit-scrollbar-thumb,
.scroll::-webkit-scrollbar-thumb {
    background: #cecece;
    border-radius: 2rem;
}

/**
 * HOME - header
 */
.header-list {
    text-align: right;
}

/**
 * HOME - filtre
 */
.filterBtn {
    text-decoration: underline;
}

.filterBtn img {
    vertical-align: middle;
    width: 0.9rem;
}

.filterBtn span {
    vertical-align: middle;
}

.application-list .groups {
    margin-left: 1.2rem;
    margin-bottom: 1rem;
}

/**
 * HOME - liste
 */
.list {
    overflow: auto;
    flex-grow: 1;
    width: calc(100% - 0rem);
}

.list-line {
    background: var(--backgroundSectionColor);
    border-radius: 3px;
    margin: 0.4rem 0;
    padding: 0.9rem 0.7rem;
}

.list-line-header {
    display: flex;
    justify-content: space-between;
}

.list-line-header .date {
    margin-bottom: 0.3rem;
    display: inline-block;
    margin-right: 0.5rem;
    font-weight: bold;
}

.list-line-header span {
    color: #fff;
    padding: 0.1rem 0.4rem;
    border-radius: 0.3rem;
    margin: 0 0.2rem;
    font-size: 13px;

}

.message {
    margin-top: 0.1rem;
}

.list-line-footer {
    text-align: right;
    font-size: 12px;
    margin-top: 0.6rem;
}


.detailBtn {
    text-decoration: underline;
}

/**
 * MODAL
*/
.backgroundModal,
.backgroundParamModal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #1b1b1b;
    opacity: 0.7;
}

.bottomModal {
    z-index: 1;
    position: fixed;
    bottom: 0;
    background: var(--backgroundSectionColor);
    width: calc(100% - 1.6rem);
    border-top-left-radius: 4rem;
    border-top-right-radius: 4rem;
    margin: auto;
    left: 0;
    right: 0;
    padding: 0px 1.7rem 1.7rem;
    box-sizing: border-box;
}

.bottomModal h2 {
    text-align: center;
}

.checkbox-list label ~ label {
    margin-left: 2.2rem;
}

.checkbox-list label input,
.checkbox-list label span {
    vertical-align: middle;
    cursor: pointer;
}

/**
 * Paramètres
 **/
.paramSection {
    background: var(--backgroundSectionColor);
    box-shadow: 0.1rem 0rem 0.6rem 0.2rem #29213b;
    box-sizing: border-box;
    height: 100%;
    padding: 0 1rem;
    position: fixed;
    right: 0;
    width: 21rem;
}

.paramSection.hide {
    display: none;
}

.paramSection h2 {
    text-decoration: underline;
}


.paramSection .applicationList {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.paramSection li {
    background: var(--backgroundColor);
    margin: 0.7rem 0;
    padding: 0.7rem 0.8rem;
}

.paramSection li div {
    font-weight: bold;
    margin-bottom: 0.4rem;
}
.paramSection li span {
    font-size: 0.9rem;
}

.paramSection li select {
    border-radius: 0.3rem;
    font-size: 0.9rem;
    padding: 0.1rem 0.6rem;
}
