#logo {
    position: fixed;
    right: 0; top:0; left:0;
    z-index: 5;
    background-color: #fcfcfc;
    padding: 20px 0;
    background-color: white;
}

#logo img {
    display: block;
    width: 122px;
    margin: auto;
}

footer {
    margin-top: 15px;
    padding-top: 55px;
    background-color: #F7F8F8;
}

footer .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    margin-right: auto;
    margin-left: auto;
}

@media screen and (min-width: 700px) and (max-width: 1250px) {
    footer .wrapper {
        width: 100%;
        padding-right: 50px;
        padding-left: 50px;
    }
}

@media screen and (max-width: 700px) {
    footer .wrapper {
        width: 100%;
        padding-right: 25px;
        padding-left: 25px;
    }
}

@media screen and (min-width: 1250px) {
    footer .wrapper {
        width: 1100px;
    }
}

footer .logo {
    width: 180px;
}

footer .logo img {
    width: 100%;
}

footer .container-links {
    width: 100%;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 50px;
    padding-bottom: 35px;
    display: flex;
    justify-content: space-between;
}

footer .container-links ul {
    padding-left: 0;
}

footer .container-links ul li {
    width: 200px;
    list-style: none;
}

footer .container-links ul li:first-child {
    font-family: "Gilroy";
    font-size: 18px;
    line-height: 28px;
    color: #181818;
    margin-bottom: 30px;
}

footer .container-links ul li:not(:first-child) a {
    text-decoration: none;
    font-family: "Gilroy";
    font-size: 14px;
    line-height: 18px;
    color: #4F4F4F;
    transition: all 0.25s ease;
}

footer .container-links ul li:not(:first-child) a:hover {
    color: #000;
}

footer .container-links ul li:nth-child(1n+3) {
    margin-top: 25px;
}

footer .container-links ul li .container-sn {
    display: flex;
}

footer .container-links ul li .container-sn .sn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #243A51;
    transition: all 0.25s ease;
}

footer .container-links ul li .container-sn .sn:not(:last-child) {
    margin-right: 20px;
}

footer .container-links ul li .container-sn .sn img {
    width: 13px;
    height: 13px;
}

footer .container-links ul li .container-sn .sn:nth-child(1):hover {
    background-color: #00AAEC;
}

footer .container-links ul li .container-sn .sn:nth-child(2):hover {
    background-color: #4460A0;
}

footer .container-links ul li .container-sn .sn:nth-child(3):hover {
    background-color: #007EBB;
}

footer .foot {
    position: relative;
    padding: 25px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .foot:before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #D1D1D1;
}

footer .foot .container-lg {
    position: relative;
}

footer .foot .container-lg .lg {
    cursor: pointer;
    display: flex;
    align-items: center;
}

footer .foot .container-lg .lg img {
    width: 22px;
    height: 16px;
    margin-right: 15px;
}

footer .foot .container-lg .lg span {
    font-family: "Gilroy";
    font-size: 16px;
    line-height: 24px;
    color: #4F4F4F;
    color: #181818;
    margin-right: 25px;
}

footer .foot .container-lg .lg svg {
    width: 6px;
    height: 4px;
    transition: all 0.25s ease;
}

footer .foot .container-lg .dropdown {
    position: absolute;
    padding: 11px 11px 11px 25px;
    display: none;
    left: -25px;
    bottom: calc(100% + 24px);
    box-shadow: 0 23px 40px 0 rgba(0, 7, 16, 0);
    background-color: #FFF;
}

footer .foot .container-lg .dropdown .lg:first-child {
    margin-bottom: 12px;
}

footer .foot .container-lg.active .lg svg {
    transform: rotateZ(180deg);
}

footer .foot .container-lg.active .dropdown {
    display: block;
}

footer .foot p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Gilroy";
    font-size: 12px;
    line-height: 16px;
    color: #4F4F4F;
}

@media screen and (max-width: 700px) {
    footer .container-links {
        padding: 0px;
        margin-top: 60px;
        flex-flow: row wrap;
    }

    footer .container-links ul {
        width: 45%;
        margin-bottom: 30px;
    }

    footer .container-links ul li {
        width: initial;
    }

    footer .foot {
        flex-flow: row wrap;
    }

    footer .foot .container-lg {
        margin: auto;
    }

    footer .foot p {
        margin-top: 16px;
        text-align: center;
        width: 100%;
        position: initial;
        transform: initial;
    }
}

#register {
    margin-top: 65px;
    position: relative;
}

#register hr {
    position: absolute;
    top: -11px;
    left: 0px;
    right: 0px;
    border: 4px solid #253A51;
    z-index: 5;
    border-radius: 10px 0 0 0;
}

#register .messages ul {
    margin: 20 px 0;
}

#register .messages li {
    text-align: center;
}

#register .alert-success {
    color: var(--correct-color);
}

#register .alert-danger, form .errorlist {
    color: var(--incorrect-color);
    font-size: 1rem;
}

#steppedform {
    max-width: 800px;
    margin: auto;
}

#steppedform input, #steppedform textarea {
    padding: 2px;
    border-bottom: 1px solid #d3d3d3;
}

#steppedform  .form-group {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-flow: row nowrap;
}

#steppedform .form-group div {
    flex: 1 1 0;
    max-width: 45%;
}

#steppedform .form-group label span {
    font-size: 0.95rem;
}

#steppedform .form-group label img {
    max-width: 60%;
    margin: 20px auto 0 auto;
}

#steppedform #step3 .form-group label {
    margin: 0 5px;
    text-align: center;
    padding: 10px;
    border: 1px solid #d3d3d3;
}

#steppedform input[type="file"] {
    display: none;
}

.formstep {
    justify-content: space-between;
    align-items: stretch;
    flex-flow: row nowrap;
}

.formstep [class$="part"] {
    width: 50%;
    position: relative;
    padding-bottom: 100px;
    min-height: 500px;
}

.formstep .leftpart :not(img), .formstep .rigthpart {
    padding: 25px;
}

.formstep .leftpart {
    background-position: left bottom;
    overflow: hidden;
    bottom: 0px;
}

.formstep .leftpart span {
    font-size: 0.95rem;
}

.formstep label {
    margin-top: 10px;
    display: block;
    font-size: 1.1rem;
}

.formstep input, .formstep textarea {
    width: 100%;
    max-height: 150px;
    resize: none;
    font-size: 1.1rem;
}

.stepbuttons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-flow: row nowrap;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 20px;
    min-height: 50px;
}

.stepbuttons span, .stepbuttons button, .stepbuttons a, #steppedform .stepbuttons input {
    display: inline-block;
    flex: 1 1 150px;
    max-width: 45%;
    padding: 14px 16px;
    cursor: pointer;
    line-height: 22px;
    border-radius: 50px;
    text-align: center;
    font-weight: bold;
    transition: all 250ms ease;
    font-size: 1rem;
}

.stepbuttons .prevstep {
    border: 2px solid #253A51;
}

.stepbuttons .nextstep, .stepbuttons .endstep {
    background-color: #FF3C3C;
    color: #FFFFFF;
}

.stepbuttons a {
    background-color: #253A51;
    color: #FFFFFF;
    max-width: 60%;
}

.paginate {
    text-align: center;
}

.paginate a {
    margin: 0 5px;
}

.sep-start::before, .sep-end::before {
    content: "...";
}

.modal-outer {
    z-index: 5;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.modal-outer:not(.active) {
    display: none;
}

.modal-outer.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-outer > .modal-inner {
    max-width: 800px;
    margin: auto;
    padding: 30px 60px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-inner .svgcross {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    color: rgb(126, 126, 126);
    background-color: #FFF;
    border-radius: 20px;
    z-index: 10;
}

#ratings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: row nowrap;
}

#ratings button {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-flow: row nowrap;
    flex: 1 1 0;
    max-width: 40%;
    padding: 10px 0;
    background-color: white;
    font-weight: normal;
    font-size: 1rem;
    cursor: pointer;
}

#ratings figure {
    width: 30%;
}

@media screen and (max-width: 800px) {
    a.c-button.c-button--hightlight.c-button--inscription {
        display: block;
    }

    main#register .formstep {
        flex-flow: column nowrap;
    }

    main#register .formstep [class$="part"] {
        width: auto;
        min-height: auto;
    }

    main#register .formstep .leftpart {
        padding-bottom: 40px;
    }
}