@import url("./colors.css");

html, body {
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    min-height: 100%;
    min-width: 100%;
    font-family: 'Bebas Neue', cursive;
    background-color: #EBEBEB;
    overflow-x: hidden;
}

.body_container {
}


.navbar_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    padding: 0px 100px;
    background-color: white;
    border-bottom: 5px solid var(--new-blue-color);
}

.navbar_container a {
    text-decoration: none;
}

.navbar_container a:hover {
    cursor: pointer;
}

.navbar_logo {
    width: 200px;
    margin: 15px 0px;
}


.partners-footer-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    height: fit-content;
    background-color: white;
    margin: 0;
    padding-top: 20px;
}

.partners-footer-wrapper img {
    width: 100%;
    height: auto;
}

.footer_img {
    width: 40%;
    object-fit: cover;
    height: 100%;
}

.footer_column {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.footer_a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    padding: 5px;
}

.footer_column a {
    color: black;
    outline: none;
    text-transform: uppercase;
    margin: 0px 10px;
}


h1, h2, h3 {
    font-weight: 400;
    color: var(--blue-color);
}

h3 {
    margin-bottom: 30px;
}

.onglet {
    display: inline-block;
    font-size: 18px;
    padding: 20px;
    color: var(--blue-color);
    white-space: nowrap;
}

.onglet.active {
    background-color: rgba(255, 255, 255, 1) ;
}

.onglet:hover {
    cursor: pointer;
    color: rgba(0, 11, 168, 0.60);
}

.page_container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 100px;
    padding-top: 50px;
}

.logo {
    top: 10px;
    left: 25px;
    width: 105px;
    height: auto;
    margin-bottom: 100px;
    position: absolute;
}

.logo_footer {
    width: 96px;
    height: auto;
    margin-bottom: 25px;
}

.content_container {
    width: 100%;
    padding: 20px;
    background-color: var(--gray-color);
}

.content_container h2 {
    margin-bottom: 50px;
}

.content {
    display: none;
    padding: 5px 25px;
    padding-bottom: 30px;
    background-color: white;
    box-shadow: 1px 1px 4px 1px rgba(67, 67, 67, 0.45);
}

.content.active {
    display: block;
}

.licence_information {
    margin: 10px;
    margin-bottom: 35px;
    padding: 10px;
    border: 1px solid rgba(245, 245, 245, 1);
    position: relative;
}

.licence_information:focus-within {
    border: 1px solid var(--blue-hover-color);
    transition: all ease-in-out 0.25s;
}

.form_title {
    top: -32px;
    left: 10px;
    color: var(--blue-color);
    font-weight: 200;
    background-color: white;
    position: absolute;
}

.container-column {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    max-width: 300px;
    margin-right: 25px;
    margin-top: 25px;
    padding-top: 10px;
    flex: 1 0 18%;
    position: relative;
}

.container-column select {
    max-width: 100%;
}

#adhesion .container_info .container-column, #contrat .container_info .container-column {
    max-width: 20%;
}

.container_info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px;
    padding-top: 0px;
}

.container-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

input[type=text], input[type=date], input[type=mail], input[type=number], select {
    width: 100%;
    min-width: 150px;
    padding: 5px;
    margin-bottom: 3px;
    font-weight: bold;
    outline: none;
    border: none;
    border-bottom: 1px solid rgb(116, 116, 116);
    background-color: transparent;
}

input[type=text]:focus, input[type=date]:focus, input[type=mail]:focus, input[type=number]:focus, select:focus {
    border-bottom: 1px solid var(--blue-color);
    transition: all ease-in-out 0.5s;
}

input[type=text].success, input[type=date].success, input[type=mail].success, input[type=number].success, select.success {
    border-bottom: 1px solid var(--green-color);
    transition: all ease-in-out 0.5s;
} 

input[type=text]:read-only, input[type=date]:read-only, input[type=mail]:read-only, input[type=number]:read-only {
    background-color: var(--back-color);
}

input[type=text].alert, input[type=date].alert, input[type=mail].alert, input[type=number].alert, select.alert {
    border-bottom: 1px solid red;
    transition: all ease-in-out 0.5s;
}

#containerEndContract {
    margin-left: 20px;
}

select:hover {
    cursor: pointer;
}

.input_title {
    top: 0;
    font-size: 12px;
    color: rgb(116, 116, 116);
    /* position: absolute; */
}

.alert, .span_max_carac {
    color: rgba(61, 61, 61, 0.73);
}

.container-column .alert, .span_max_carac {
    font-size: 11px;
}

.span_max_carac {
    right: -5px;
    position: absolute;
}

.alert {
    color: red;
}

.switch {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 350px;
    margin-bottom: 25px;
    padding: 10px;
    text-align: justify;
}

.switch div.container-column {
    padding: 0px;
    margin: 0px;
    max-width: 100%;
}

.switch input[type=checkbox] {
    margin-right: 20px;
}

.switch p {
    margin-top: 5px;
}

.switch:hover ~ [type=checkbox] {
    border: 1px solid var(--blue-color);
    transition: all ease-in 1s;
}

.switch:hover {
    cursor: pointer;
}

.switch p {
    font-size: 12px;
    color: rgb(77, 77, 77);
}

.btn-primary {
    font-size: 16px;
    margin-left: auto;
    padding: 5px 15px;
    color: white;
    background-color: rgba(0, 11, 168, 1);
    border: none;
    outline: none;
}

.btn-primary:hover {
    cursor: pointer;
}

#flex-right span {
    padding-left: auto;
}

.autocomplete {
    display: none;
    justify-content: space-between;
    flex-direction: column;
    top: 52px;
    width: 100%;
    height: auto;
    background-color: white;
    box-shadow: 1px 1px 4px 1px rgba(67, 67, 67, 0.45);
    position: absolute;
    overflow-y: scroll;
    max-height: 250px;
    z-index: 999;
}

.autocomplete.active {
    display: flex;
}

.autocomplete span {
    padding: 15px;
}

.autocomplete span:hover {
    cursor: pointer;
    background-color: rgba(0, 11, 168, 0.15);
}

.questionnaire {
    border-collapse: collapse;
    padding: 5px;
    margin-top: 10px;
    width: fit-content;
    max-width: 1000px;
    background-color: white;
    box-shadow: 1px 1px 4px 1px rgba(67, 67, 67, 0.45);
}

.questionnaire thead td {
    font-size: calc(12px + 50%);
    padding-left: 5px;
    background-color: rgba(195, 199, 255, 0.2);
}

.questionnaire tr {
    border: 1px solid black;
}

.questionnaire tbody td {
    font-size: calc(10px + 50%);
}

.questionnaire .ligne-title {
    background-color: rgba(0, 11, 168, 0.2);
}

.questionnaire .ligne-title td {
    font-size: calc(12px + 50%);
    padding-left: 50px;
}

.black_background {
    top: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    z-index: 998;
}

.container_questionnaire {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hide {
    display: none;
}

.verification.alert {
    display: inline-block;
    font-size: 16px;
    text-align: center;
    margin-bottom: 4px;
}

#container_contract {
    min-width: 250px;
}

.licences_alternatives {
    display: flex;
  }
  
  .licences_alternatives > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 10px;
    padding-bottom: 10px;
    max-width: 550px;
    background-color: var(--gray-color);
  }

  .licences_alternatives > div > p {
    padding: 0px 10px;
    text-align: center;
  }
  
  .licences_alternatives img {
    max-width: 100%;
    height: auto;
    margin-bottom: 5px;
    transition: all ease-in-out 0.4s;
  }

  .licences_element {
    transition: all ease-in-out 0.4s;
  }

.licences_element:hover {
    cursor: pointer;
    transform: scale(1.1);
    -webkit-box-shadow: 0px 10px 13px -7px #000000, 0px 0px 5px 4px rgba(0,0,0,0); 
    box-shadow: 0px 10px 13px -7px #000000, 0px 0px 5px 4px rgba(0,0,0,0);
}

.btn_take, .btn_take2 {
    font-size: 24px;
    margin-left: auto;
    padding: 20px;
    width: 50%;
    color: white;
    background-color: rgb(54, 150, 239);
    text-decoration: none;
    text-align: center;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all ease-in-out 0.2s;
}

.btn_take:hover, .btn_take2:hover {
    text-shadow: rgba(255,255,255,0.8) 0px 0px 45px;
    -webkit-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.9); 
    box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.9);
}

.btn_take2 {
    background-color: rgb(0, 87, 168);
}

.typo {
    font-family: Arial, Helvetica, sans-serif;
    list-style-type: none;
    line-height: 1.2;
    font-weight: bold;
    color: white;
    /* text-shadow: rgba(255,255,255,0.8) 0px 0px 25px; */
}


@media screen and (max-width: 800px) {
    .nav_title {
        visibility: hidden;
    }
    #adhesion .container_info .container-column, #contrat .container_info .container-column {
        max-width: 100%;
    }
}

.step_indication {
    left: 50%;
    color: gray;
    position: absolute;
}

@media (max-width: 1000px) { 
    .socials-wrapper {
        display: none;
    }
    .page_container {
        padding: 25px;
    }
    .navbar_container {
        width: 100%;
    }
    select {
        width: 100%;
    }
    .warning {
        flex-direction: column;
        justify-content: center;
    }
    .licences_alternatives {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 25px;
    }
    #btn_container {
        width: 90%;
        flex-direction: column;
    }
    .btn_take, .btn_take2 {
        width: 100%;
    }
    #pliberte {
        padding-right: 15px;
    }
}
