#accueil {
    margin-bottom: 55px;
}

.accueilTitre h3 {
    color: white;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 1em;
}

.accueilTitre h1 {
    padding-bottom: 30px;
    margin-bottom: 0;
}

.accueilTitre h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 23px;
    height: 10px;
    background-image: url(../images/arrow_white.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

#lexique .container {
    padding: 0 9%;
}

.topLexique {
    margin-bottom: 45px;
}

.topLexique .recherche {
    position: relative;
    width: 230px;
}

.topLexique .recherche::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 16px;
    height: 17px;
    background-image: url(../images/loupe.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.topLexique #recherche {
    font-size: 12px;
    font-weight: 700;
    color: #1B2E64;
    width: 90%;
    padding-bottom: 0.5em;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #1B2E64;
    outline: none;
}

#recherche::placeholder {
    color: #1B2E64;
}

.lettres {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 35px;
}

.lettre {
    font-family: Noe Display, sans-serif;
    font-weight: 700;
    color: #D6D6D6;
    font-size: 18px;
    margin-bottom: 15px;
}

.lettre:not(:nth-child(13)):not(:nth-child(26)){
    margin-right: 12px;
}

.lettre.active {
    color: #1B2E64;
    font-size: 29px;
    line-height: 22px;
}

.contentLexique {
    display: flex;
}

.onglet {
    font-family: Noe Display, sans-serif;
    font-weight: 700;
    color: #1B2E64;
    font-size: 29px;
    border-right: 1px solid #1B2E64;
    padding-right: 1rem;
}

.mots {
    flex-basis: 90%;
    padding-left: 1.5em;
}

.colonne1 {
    margin-bottom: 30px;
}

.mot:not(:last-child) {
    margin-bottom: 30px;
}

.mot h2 {
    color: #1B2E64;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.mot p {
    font-style: italic;
    color: #1B2E64;
    line-height: 1.7;
    font-size: 13px;
    font-weight: 300;
}

/* UI */
 
.ui-autocomplete {
    z-index: 10000;
}

.ui-widget-content {
    background: 0 !important;
}

.ui-menu-item {
    font-family: hero-new, sans-serif;
    color: #1B2E64;
    font-size: 13px;
    padding: 0.5em;
}

.ui-menu-item:nth-child(odd) {
    background-color: #eee !important;
}

.ui-menu-item:nth-child(even) {
    background-color: #fff !important;
}

.ui-menu-item:hover {
    background-color: #006cb5 !important;
    color: #fff;
}

@media (min-width: 48em){
    #accueil {
        margin-bottom: 75px;
    }
    
    .accueilTitre h3 {
        font-size: 1.2em;
    }
    
    .accueilTitre h1:after {
        width: 36px;
        height: 16px;
    }
    
    .accueilTitre p {
        font-size: 1.1em;
    }
    
    .accueilFooter .liensAccueil {
        flex-direction: row;
    }
    
    .accueilFooter .lienAccueil:first-child {
        margin-bottom: 0;
        margin-right: 3em;
    }
    
    .topLexique {
        margin-bottom: 60px;
    }
    
    .topLexique .recherche::after {
        width: 21px;
        height: 22px;
    }
    
    .topLexique #recherche {
        font-size: 14px;   
    }
    
    .lettres {
        margin-top: 50px;
    }
    
    .lettre {
        margin-bottom: 0;
    }
    
    .lettre:nth-child(13){
        margin-right: 12px;
    }
    
    .mots {
        display: flex;
        justify-content: space-between;
    }
    
    .colonne {
        flex-basis: 47%;
    }
    
    .colonne1 {
        margin-bottom: 0;
    }
    
    .mot:not(:last-child) {
        margin-bottom: 40px;
    }
    
    .mot h2 {
        font-size: 16px;
    }
    
    .mot p {
        font-size: 14px;
    }
}

@media (min-width: 80em){
    #accueil {
        margin-bottom: 120px;
    }
    
    .accueilTitre {
        transform: translateY(-30%);
    }
    
    .accueilTitre h1 {
        padding-bottom: 40px;   
    }
    
    .lettre {
        font-size: 29px;
        margin-right: 0;
    }
    
    .lettre.active {
        font-size: 48px;
        line-height: 35px;
    }
    
    .onglet {
        font-size: 48px;
    }
}

@media (min-width: 90em){
    .accueilTitre h3 {
        font-size: 1.5em;
        margin-bottom: 0.5em;
    }
    
    .accueilTitre h1:after {
        width: 44px;
        height: 20px;
    }
}

@media (min-width: 120em){
    #lexique .container {
        padding: 0;
    }
}