body {
    max-width: 100%;
    margin: 0 auto !important;
}

form {
    width: 81%;
    margin: 0 auto;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

label {
    margin-bottom: 0;
}

header h6 {
    margin-top: 45px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.page-header {
    width: 70%;
    margin: 0 auto;
    display: flex;
}

.fr-toggle--label-left .fr-toggle__label::after {
    top: 0rem;
}

.fr-toggle {
    padding: 0rem !important;
}

.fr-input {
    background-color: #FEFEFE !important;
}

.fr-select {
    background-color: #FEFEFE !important;
}

#left .fr-select-group {
    padding-top: 0 !important;
}

.text-oblig {
    margin-bottom: 40px;
}

.fr-checkbox-group {
    margin-bottom: 1vw;
}

.box-tiny-cdp {
    height: 11vw;
    width: 18vw;
    border: solid 1px #dbdbdb;
    margin: 0 2% 3% 7%;
}

.box-tiny {
    height: 200px;
    width: 400px;
    border: solid 1px #dbdbdb;
    margin: 0 2% 3% 7%;
}

.box-tiny h5{
    margin-top: 16px;
    font-weight: bold;
    color: #000091;
    font-size: 19px;
}

.box-tiny h7{
    font-size: 15px;
}

.box-tiny a{
    bottom: 5px;
    left: 5px;
    font-size: 14px;
}

.logoademe {
    width: 40%;
}

.logofrancerelance {
    width: 16%;
    margin-left: 10px;
}

.sub {
    border: solid 3px #000091;
    background-color: #F4F6FE;
}

.custom-label {
    padding: 0 !important;
    background-color: #E3E3FD !important;
    margin: 5px 10px 30px 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    color: #040493 !important;
}

.custom-checkbox-select {
    background-color: #040493 !important;
    color: #E3E3FD !important;
}

ul input[type="checkbox"] + label::before{
    display: none !important;
}

#banner {
    background-color: #F4F6FE; 
    box-shadow: 0px 15px 10px rgb(136, 136, 136, 20%) inset; 
    padding: 1vw 0 0.5vw 0;
    margin-bottom: 2vw;
}

#banner > h1 {
    text-align: center; 
    color: #000091; 
    margin-top: 0.5vw;
    font-size: 2.4vw;
}

#banner > p {
    text-align: center; 
    margin-bottom: 0.5vw; 
    font-size: 1vw;
}

#left {
    flex: 1;
}

#personalInfo {
    border-radius: 10px; 
    background-color: #F4F6FE; 
    padding: 1vw 3vw 0 3vw;
    margin-left: 7vw;
    margin-right: 1vw;
    min-width: 443px;
    /* max-width: 560px; */
}

.info-adress {

}

#nameInfo {
    display: flex;
    margin-bottom: 0.8rem;
}

#nameDiv {
    flex: 1;
    margin-right: 1vw;
}

#prenomDiv {
    flex: 1;
}

#thematique {
    margin-bottom: 1vw;
}

#adresseInfo {
    display: flex;
    margin-bottom: 0.8rem;
}

#pays {
    flex: 2;
}

#codePostal {
    flex: 1;
}

#Ville {
    flex: 2;
    margin-right: 2vw;
}

#adresse {
    margin-bottom: 0.8rem;
}

#compAdresse {
    margin-bottom: 0.8rem;
}

.submitted {
    display: flex !important;
    margin: 2% auto 12%;
}

#right {
    flex: 1;
}

#toggle {
    margin-right: 7vw;
    max-width: 650px;
}

#laptop {
    margin: 0;
    padding: 0;
    width: 45px;
    height: 40px;
}

#firstLine {
    display: flex;
}

#secondLine {
    display: flex;
    width: 100%;
}

#secondLine .box-tiny {
    width: 100%;
    max-width: 100%;
}

.fr-select-group {
    padding-top: 0.5vw;
}

#thirdLine {
    display: flex;
}

#fourthLine {
    display: flex;
}

.woman-img {
    display: flex;
    margin: 0.5vw auto;
    width: 70%;
}

.confirmationShadow {
    box-shadow: 10px 15px 10px rgb(136 136 136 / 20%) inset;
}

.confirmationSuccess {
    margin-left: 33%;
    margin-right: 33%; 
    padding-top: 5%;
}

.confirmationSuccess h5 {
    color: #004c99; 
    text-align: center; 
    font-color:white; 
    font-size: 2.5vw;
    line-height: 1.1;
    margin: 12% auto;
}

.confirmationSuccess p {
    text-align: center; 
    font-color:white; 
    font-size: 1.5vw; 
    margin: 12% auto;
}

.confirmationError {
    margin-left: 33%; 
    margin-right: 33%; 
    padding-top: 15%;
}

.confirmationError h5 {
    color: red; 
    text-align: center; 
    font-size: 2.5vw;
    line-height: 1.1;
}

.imgblueman {
     z-index: -1;
     max-width: 25%;
     margin-left: 15%;
     margin-top: 5%;
     position: absolute;
}


@media screen and (max-width: 1350px) {

    body {
        max-width: 100%;
        margin: 0 auto !important;
    }

    .box-tiny {
        height: 13.5vw;
        width: 20vw;
    }

    .box-tiny-cdp {
        height: 170px;
        width: 272px;
        border: solid 1px #dbdbdb;
        margin: 0 2% 3% 7%;
    }

    #secondLine .box-tiny {
        width: 40.5vw;
        max-width: 100%;
    }
    
    .box-tiny h5{
        margin-top: 0.3vw;
        font-weight: bold;
        color: #000091;
        font-size: 1.5vw;
    }

    .box-tiny h7{
        font-size: 1.2vw;
    }

    .box-tiny a{
        bottom: 0px;
        left: 5px;
        font-size: 1vw;
    }
}

@media screen and (max-width: 1000px) {

    form {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    header h6 {
        margin-top: 32px;
    }

    .box-tiny {
        height: 185px;
        width: 275px;
        border: solid 1px #dbdbdb;
        margin: 0 auto 2% auto;
    }

    .box-tiny-cdp {
        height: 170px;
        width: 272px;
        border: solid 1px #dbdbdb;
        margin: 0 2% 3% 7%;
    }
    
    .box-tiny h5{
        margin-top: 0.3vw;
        font-weight: bold;
        color: #000091;
        font-size: 20px;
    }
    
    .box-tiny h7{
        font-size: 16px;
    }
    
    .box-tiny a{
        bottom: 5px;
        left: 5px;
        font-size: 14px;
    }

    #banner {
        padding: 1%;
    }

    #banner > h1 {
        font-size: 32px;
    }

    #toggle {
        margin: 0;
        width: 570px;
        max-width: 600px;
    }

    .sub {
        border: solid 3px #000091;
        background-color: #F4F6FE;
    }

    #personalInfo {
        margin-left: 0;
        margin-right: 0;
    }

    #banner > p {
        font-size: 14px;
    }

    #laptop {
        margin: 0;
        padding: 0;
        width: 45px;
        height: 40px;
    }

    #secondLine .box-tiny {
        width: 560px;
        max-width: 100%;
    }

    .logoademe {
        margin-left: 0px;
    }

    .custom-checkbox-select {
        background-color: #040493 !important;
        color: #E3E3FD !important;
    }

    .woman-img {
        display: none;
    }
}

@media screen and (max-width: 620px) {
    
    .page-header{
        width: 100%;
        margin: 0;
    }

    .box-tiny {
        height: 185px;
        width: 275px;
        border: solid 1px #dbdbdb;
        margin: 0 auto 2% auto;
    }

    #secondLine .box-tiny {
        height: 185px;
        width: 275px;
        border: solid 1px #dbdbdb;
        margin: 0 auto 2% auto;
    }

    #firstLine {
        flex-direction: column;
    }

    #thirdLine {
        flex-direction: column;
    }

    #fourthLine {
        flex-direction: column;
    }

    #personalInfo {
        min-width: 355px;
    }
}