html, body, h1, h2 {
font-family: "Roboto", Arial, Helvetica, sans-serif;
}

h1 {
font-size:2.em;
font-weight: 200;
color: #BC1741;
line-height: 1.3;
}

h2 {
font-size:1.4em;
font-weight: 500;
color: #262626;
line-height:1.3;
}

:root {
--f7-range-label-size: 20px;
--f7-range-label-font-size: 18px;
--f7-range-label-font-weight: 400;
--f7-range-label-font-weight: normal;
--f7-range-label-size: 40px;
--f7-range-knob-size: 10px; 
}

.sheet-backdrop {
z-index: 11001;
}

.link.action-button.main-menu {
    border-radius: 16px; 
    background-color: white; 
    height: 72px; 
    width: 360px;
    justify-content: space-between;
    overflow: hidden;
    margin: 0 0.5rem 0.5rem 0.5rem;
}

.link.action-button.main-menu .menu-number {
    font-size: 1.3rem;
    color: #BC1741;
    text-align: center;
    border: 2px solid #BC1741;
    border-radius: 32px;
    width: 32px;
    height: 32px;
}

.link.action-button.main-menu .menu-title-container {
    padding: 8px;
    width: calc(100% - 120px); /* 2x8px + img 96px + 8px margin number */
    text-align: left;
}

.link.action-button.main-menu .menu-title {
    font-size: 1.4rem;
    line-height: 1.4rem;
    color: #3b3838;
}

.link.action-button.main-menu .menu-img {
    height: 72px; 
    width: 96px;
    overflow: hidden;
}

#loginPage-login {
    width: 93%;
    margin: auto;
}

#carbone-title {
    text-align: center;
    background: url('/img/fond-degrade-rouge.png');
    height: 200px;
    width: calc(100% - 32px);
    padding: 16px;
}
#carbone-title p {
    font-size: 18px;
    font-family: "Museo Slab", sans-serif;
}
#carbone-title h1 {
    font-size: 32px;
}
#carbone-title h1, #carbone-title p {
    color: white;
    margin: 0;
}
#carbone-title-result {
    background:url('/img/graine_blanc.png'); 
    background-size: 250px;
    background-repeat: no-repeat; 
    background-position: center; 
    position: relative; 
    text-align: center; 
    font-size: 18px; 
    height: 250px;
    margin-top: 40px;
}
#carbone-title-result p {
    font-size: 14px;
    color: black;
}

#carbone-entree-sortie {
    background-image: url('/img/champ2.png');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 64px;
    
    text-align: center; 
    padding: 20px; 
    margin-top: 140px;
}

#carbone-entree-sortie p {
    line-height: 26px;
    margin: 0;
}
#carbone-entree-sortie #ui_entree p:nth-child(1),
#carbone-entree-sortie #ui_sortie p:nth-child(1) {
    font-size: 24px;
}
#carbone-entree-sortie #ui_entree p:nth-child(2),
#carbone-entree-sortie #ui_sortie p:nth-child(2) {
    font-size: 20px;
}
#carbone-entree-sortie #ui_entree p:nth-child(3),
#carbone-entree-sortie #ui_sortie p:nth-child(3) {
    font-size: 16px;
}

#carbone-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-around;
    align-items: center;
}

#carbone-buttons button {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

#popup_dialog_pdf .list ul:before,
#popup_dialog_pdf .list ul:after {
    background: none !important;
}

#popup_dialog_pdf .list .item-title {
    font-size: 17px !important;
    color: #212121 !important;
}

@media (min-width: 1024px) {
    .popup:not(.popup-tablet-fullscreen) {
        width: 90vw !important;
        /* height: 90vh !important; */
        left: 0 !important;
        top: 0 !important;
        margin-left: 5vw !important;
        margin-top: 5vh !important;
    }
}

.panel.panel-left {
    min-width: 320px;
}

#CULT_ble_only_container.hide-div {
    display: none;
}

.charte-container .item-checkbox {
    width: calc(100% - 16px);
}