.choice-container {    
    margin-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    transition: 0.15s;
}

.choice-container:not(.choice-container-selected):hover {
    transform: translateY(-2.5px);
}

.choice {    
    display: flex;
    border-radius: 7px;
    transition: 0.15s ease-in;
    border: 1px solid #d1d5db;
}

.choice:hover {
    cursor: pointer;
    box-shadow: 0 2px 2px rgba(11,33,74,0.06),0 -1px 1px rgba(11,33,74,0.03);
}

.choice-content {
    position: relative;
    background-color: #ffffff;
    border-bottom-right-radius: 7px;
    border-top-right-radius: 7px;
    padding: 15px 15px 0;
}

.choice-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: #374151;
    text-align: left;
}

.choice-description {
    font-size: 12px;
    color: #4b5563;
}

.choice-image {
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #374151;
    position: relative;
    background-color: #f9fafb;
    padding: 15px;
}

.choice-image .material-icons-outlined {
    font-size: 36px;
}

.choice-opacity:not(.choice-selected):hover {
    opacity: 0.85;
}

.choice-selected {
    opacity: 1;
}

.indication-container {
    padding-bottom: 20px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.indication-title {
    color: #374151;
    margin-top: 10px;
    margin-bottom: 3px;
    width: 100%;
    font-size: 16px;
}

.indication {
    margin-bottom: 10px;
    font-size: 12px;
    color: #4b5563;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 350px;
}

.subject {
    width: 100%;
    height: 100%;
}

.choice-info-container {
    display: flex;
    justify-content: space-between;
    margin: 4px 0;
}

.choice-info {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 700;
}

.choice-info-rating .material-icons-outlined {
    font-size: 14px;
}

.yellow-star {
    color: #F2C94C;
}

.choice-shortcut {
    display: flex;
    align-items: center;
    color: #4b5563;
    font-size: 12px;
    font-weight: 500;
    transition: 0.15s;
    padding: 6px;
    border-radius: 7px;
}

.choice-shortcut:hover {
    color: var(--primary-color);
}

.choice-shortcut .choice-info-title {
    margin: 5px;
}

.form-container {
    padding-top: 10px;
}


/* ---------- subject ---------- */
.subject-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.subject-group-title {
    color: #bdbdbd;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    padding-bottom: 8px;
    padding-top: 12px;
    display: flex;
    align-items: center;
    width: 100%;
}

.subject-group-title:before {
    content: '';
    height: 1px;
    background-color: #bdbdbd;
    width: 100%;
    margin-right: 10px;
}

.subject-group-title:after {
    content: '';
    height: 1px;
    background-color: #bdbdbd;
    width: 100%;
    margin-left: 10px;
}

#swipe-back-button .subject-group-title {
    display: block;
}


/* ---------- choice-container-selected ---------- */
.choice-container.choice-container-selected {
    width: 100%;
    margin-top: -8px;
    margin-bottom: 10px;
    padding-left: 0;
}

.choice-container-selected .choice {
    box-shadow: none;
    justify-content: center;
}

.choice-container-selected .choice:hover {
    cursor: default;
    box-shadow: none;
}

.choice-container-selected .choice-image {
    background-color: transparent;
    width: 42px;
    height: 42px;
}

.choice-container-selected .choice-content {
    background-color: transparent;
    width: auto;
    margin-left: 5px;
}

.choice-container-selected .choice-title {
    font-size: 13.5px;
    font-weight: 500;
}


/* ---------- mini-choice ---------- */
.mini-choice .choice {
    height: 50px;
}

.mini-choice .choice-image {
    width: 50px;
    min-width: 50px;
}

.mini-choice .choice-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.mini-choice .choice-title {
    font-size: 16px;
    font-weight: 400;
}

.choice-container.mini-choice  {
    width: 100%;
}

@media screen and (min-width: 400px) {
    .choice-container.mini-choice  {
        width: 50%;
    }          
}



/* à mettre localement sur la page */
@media screen and (min-width: 400px) {
    .subject-container .mini-choice .choice-title {
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 110px;
    }
}

