#container {
    background-color: #9E2B46;
    color: #FFF;
}
@media (min-width : 500px) { #container { padding: 190px 60px 90px; } }
@media (max-width : 499px) { #container { padding: 125px 15px 45px; } }

/*---------------------------------------------------------------------------------------------------------------*/

#container > .title {
    text-transform: uppercase;
    font-family: "Anton";
}
#container > .title > span {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFF;
}
@media (min-width : 500px) {
    #container > .title {
        font-size: 77px;
        line-height: 66px;
    }
    #container > .title:not(:last-child) { margin-bottom: 35px; }
}
@media (max-width : 499px) {
    #container > .title {
        line-height: 43px;
        font-size: 50px;
    }
    #container > .title:not(:last-child) { margin-bottom: 65px; }
}

/*---------------------------------------------------------------------------------------------------------------*/

#container > .description {
    margin-bottom: 65px;
    
    font-size: 13px;
    line-height: 21px;
}

/*---------------------------------------------------------------------------------------------------------------*/

#join-form {
    position: relative;
    max-width: 675px;
}

#join-form > div:not(.spinner):not(.response):not(:first-child) { margin-top: 22px; }

#join-form > .field,
#join-form > .row,
#join-form > .spinner,
#join-form > .response { transition: opacity .4s ease-out; }
#join-form > .spinner,
#join-form > .response { display: none; }

#join-form > .spinner {
    position: absolute; top: 50%; left: 50%;
    height: 100px; width: 100px;
    
    background-image: url("../../images/icons/spinner.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    
    animation: spinner 1.5s linear 0s infinite;
    pointer-events: none;
}
@keyframes spinner {
    0%   { transform: translate(-50%, -50%) rotate(0deg); }
    50%  { transform: translate(-50%, -50%) rotate(180deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

#join-form > .response {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 400px;
    padding: 20px;
    
    border: solid 1px #FFF;
    
    text-align: center;
}

#join-form.sending > .field,
#join-form.sending > .row { opacity: 0; }


#join-form .field { position: relative; }
#join-form .field > label.required:after {
    content: "*";
    margin-left: 5px;
}

#join-form > .row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#join-form > .row > .field { flex: 0 0 calc(50% - 10px); }

#join-form .text-field {}
#join-form .text-field > label,
#join-form .textarea-field > label {
    display: block;
    
    margin-bottom: 16px;
    
    text-transform: uppercase;
    line-height: 7px;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 4px;
}
#join-form .text-field > input,
#join-form .textarea-field > textarea {
    display: block; width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    
    background: none;
    border: solid 1px;
}
#join-form .text-field > input { height: 42px; }
#join-form .textarea-field > textarea {
    height: 150px;
    padding-top: 12px;
    padding-bottom: 12px;
}

#join-form .file-field,
#join-form .checkbox-field { position: relative; }
#join-form .file-field > input,
#join-form .checkbox-field > input {
    position: absolute; top: 0; left: 0;
    display: block; height: 0; width: 0;
    opacity: 0;
    pointer-events: none;
}
#join-form .file-field > label,
#join-form .checkbox-field > label {
    position: relative;
    display: block;
}

#join-form .checkbox-field > label {
    padding-left: 22px;
    margin-top: -10px;
}
#join-form .checkbox-field > label:before {
    content: "";
    position: absolute; top: 50%; left: 0; transform: translateY(-50%);
    display: block; height: 7px; width: 7px;
    padding: 3px;
    
    background-clip: content-box;
    border: solid 1px;
}
#join-form .checkbox-field > input:checked + label:before { background-color: #FFF; }
#join-form .checkbox-field > label > a { text-decoration: underline; }

#join-form .file-field { flex: 0 0 auto !important; }
#join-form .file-field > label {
    height: 100%;
    padding: 0 30px;
    
    background-color: transparent;
    border: solid 1px #FDFE71;
    
    text-transform: uppercase;
    line-height: 48px;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 4px;
    color: #FDFE71;
}
#join-form .file-field > label:hover {
    background-color: #FDFE71;
    color: #000;
}
#join-form .file-field > label:empty:before { content: "Ajouter mon CV"; }

