/* Custom Stylesheet */
/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */

nav ul a,
nav .brand-logo {
    height: 90%;
    top: 5%;
}

p {
    line-height: 2rem;
}

textarea {
    resize: none;
    height: 7em;
}

.warning {
    max-width: 100%;
    width:100%;
}

.warning .section {
    width:80%;
    margin: 0 auto;
    color: white;
    text-align: center;
}

.btn, .btn-large {
    /* border-radius: 6px; */
    transition-duration: 0.4s;
}
.btn:hover, .btn-large:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px 0 rgba(32,33,36,0.78);
}

.button-collapse {
    color: #26a69a;
}

.parallax-container {
    min-height: 300px;
    line-height: 0;
    height: auto;
    color: rgba(255, 255, 255, .9);
}

.parallax-container-min-height {
    min-height: 380px;
}

.parallax-container .section {
    width: 100%;
}

.icon-block {
    padding: 0 15px;
}

.icon-block .material-icons {
    font-size: inherit;
}

footer.page-footer {
    margin: 0;
}

.black-text-shadow {
    text-shadow: 1px 1px 8px rgb(45, 45, 45);
}

.justify {
    text-align: justify;
}

#subtitle {
    margin: 30px 0;
}

#error {
    color: red;
}

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: relative;
    opacity: 1;
}

/* For 2 logos: set it to 1380 */
@media only screen and (max-width: 1380px) {
    .petit-ecran {
        display: none;
    }
}

/* For 2 logos: set it to 1380 */
@media only screen and (min-width: 1380px) {
    .moyen-ecran {
        display: none;
    }
}

/* For 2 logos: set it to 1100 */
@media only screen and (max-width: 1000px) {
    .moyen-ecran {
        display: none;
    }
}

#post-form *:not(.link_display) {
    color: unset;
    font-size: large;
}

.modal {
    max-height: 80%;
    width: 60%;
}

#confirmationModal {
    text-align: center;
    width: fit-content;

    top: 50% !important;
    transform: translateY(-50%) !important;

    .title {
        margin: 2rem;
    }
}

#infosCompetencesModal ul li {
    list-style-type: disc !important;
    margin-left: 25px;
}

.field-wrapper {
    margin: 1em 0;
    display: flex;
    flex-direction: column;
}

.checkbox-wrapper {
    display: flex;
    align-items: start;
    gap: 0.5em;
    text-align: justify;

    input {
        margin-top: 7px;
    }
}

label:not(:has(+ input, + div.select-wrapper)) {
    padding-bottom: 0.5em;
}

label:has(+ *[required], + div.select-wrapper select[required])::after,
label[required]::after,
label.required::after {
    content: " *";
    color: #0091ea;
}

.errorlist {
    color: red !important;
    line-height: 1em;
}

.rif .section a {
    margin: 1vh 5vw;
}
