/* -- Universal styling -- */

h1 {
    color: #041E42;
    font-family: 'Premier Tech Title Bold';
    font-size: 27px;
    margin-bottom: 0;
}

h2 {
    color: #041E42;
    font-family: 'Premier Tech Title Bold';
    font-size: 20px;
}

p {
    color: #54585A;
    font-size: 12px;
    font-family: 'Premier Tech Text';
}

a, .form-check-label a {
    font-family: 'Premier Tech Text';
    color: #041E42;
}

a:hover, .form-check-label a:hover {
    font-family: 'Premier Tech Text';
    color: #41B6E6;
}

a:clicked, .form-check-label a:clicked {
    font-family: 'Premier Tech Text';
    color: #379BC4;
}

/* -- Font styling-- */

.fs-7 {
    font-size: 18px;
}

.dk-blue, .form-check-label a {
    color: #041E42;
}

.interests {
    font-size: 18px;
}

#consent label {
    color: #54585A;
}

.form-label {
    color: #041E42;
    font-family: 'Premier Tech Text';
}

#selector, #selectlabel, .btn-link {
    color: #041E42;
    text-decoration: underline;
    text-decoration-color: #041E42;
}

.selector-on {
    color: #41B6E6 !important;
    text-decoration: underline;
    text-decoration-color: #41B6E6 !important;
}

.select-col {
    margin-top: 20px;
}

/* -- Header styling -- */

.header, .header_section {
    background-color: #F2F6F8;
}

.logo {
    background-color: #041E42;
}

.logo-row {
    /*box-shadow: 0px 3px 6px #00000029;*/
    box-shadow: 0 1px 9px rgb(0 0 38 / 16%);
    border-bottom: solid 1px rgba(0, 0, 28, .16);
}

.logo-img, .logo-img-footer {
    margin: 25px 30px;
    width: 122px;
}

.logo-text {
    font-family: 'Premier Tech Text';
    padding-top: 25px;
    padding-left: 30px;
    font-size: 17px;
    line-height: 20px;
    /* XD version
    padding-top: 25px;
    padding-left: 12px;
    font-size: 15px;
    */
}

.breadcrumbs, .breadcrumbs a {
    color: #54585A;
    font-size: 12px;
    font-family: 'Premier Tech Text';
}

.breadcrumbs a:hover {
    color: #41B6E6;
}

.title-rows-spacer {
    height: 10px;
}

.title-rows {
    margin-bottom: 27px;
}

.title-text {
    color: #041E42;
    font-family: 'Premier Tech Title Bold';
    font-size: 36px;
    margin-top: 16px;
}

.main-body {
    margin-top: -270px;
}

/* -- Footer styling -- */

.footer {
    background-color: #041E42;
}

.footer_links {
    padding-left: 105px;
    padding-top: 35px;
    font-size: 14px;
    font-family: 'Premier Tech Text';
}

.footer_link {
    color: #FFFFFF;
    text-decoration: none;
    padding-right: 25px;
    letter-spacing: 0.02em;
}

.copyright {
    font-size: 13px;
    color: #8a8d8f;
}

.social-text {
    font-family: 'Premier Tech Title Bold';
    font-size: 15.5px;
    color: #041e42;
    font-weight: 800;
    margin-bottom: 5px;
}

.social-icon {
    /*margin: auto -2px;*/
    text-decoration: none;
}

.social-icon img {
    height: 27px;
    width: 27px;
    text-decoration: none;
}


/* -- Form styling -- */

#country option, #language option {
    background-color: #FFFFFF;
}

.form-control:placeholder-shown, .form-control:focus, .form-select, .form-select:focus {
    font-family: 'Premier Tech Text';
    background-color: #F2F6F8;
    color: #041E42;
    border: 1px solid #8A8D8F;
    border-radius: 0;
}

.form-control {
    font-family: 'Premier Tech Text';
    background-color: #F2F6F8;
    color: #041E42;
    border: 1px solid #F2F6F8;
    border-radius: 0;
}

.form-select {
    font-family: 'Premier Tech Text';
    background-color: #F2F6F8;
    color: #041E42;
    background-image: none;
    height: 40px
}

.custom-selectbox {
    position: relative;
}

.custom-selectbox:after {
    content: " ";
    height: 12px;
    width: 12px;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-size: 12px 12px;
    position: absolute;
    right: 15px;
    top: 13px;
    transition: all 0.15s linear;
}

.custom-selectbox.open:after {
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.form-select.default {
    color: #54585A;
    border: 1px solid #8A8D8F;
    height: 40px;
}

.form-select, .form-select:focus {
    border-radius: 35px;
}

.form-check-input {
    border: 1px solid #54585A;
}

.form-check-input:focus {
    border: 1px solid #54585A;
}

.form-check-input:checked {
    background-color: #041E42;
    border: 1px solid #041E42;
    /*background-image: url(checkbox.svg);
    background-size: 9px 7px;*/
    background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23FFF' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z' clip-rule='evenodd'/></svg>");
    background-size: 18px 18px;
}

.btn {
    color: #54585A;
    font-family: 'Premier Tech Title';
    background-repeat: no-repeat;
    background-size: 10px 10px;
    background-position: 12px center;
    font-size: 16px;
    font-weight: 700;
}

/*#submitBtn {
    font-family: "Premier Tech Title";
    font-size: 1.8rem;
    line-height: 2.7rem;
    box-sizing: border-box;
  }
  .btn, .btn-primary {
    border-radius: 20px;
    display: inline-flex;
    width:fit-content;
    min-height: 40px;
    color: #041E42;
    border: none;
    font-weight: 700;
    text-decoration: none !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 25px;
    min-width: 165px;
    background-color: #41B6E6;
    box-shadow: 0 10px 17px -10px rgba(0,0,0,.5);
    text-align: center;
    transition: background-color .3s ease,box-shadow .3s ease;
  }

  .btn:hover, .btn-primary:hover {
    background-color:#379BC4;
    box-shadow:none;
  }*/

.btn-outline-primary {
    background-image: url("https://image.e.premiertech.com/lib/fe3611717064057d701577/m/1/97e249a1-13d2-4db7-9fb9-8c2d3897ce28.png");
    border: 1px solid #54585A;
    border-radius: 10px;
    padding-left: 30px;
    transition: box-shadow .1s, background-image .15s, background-size .15s, background-position .15s;
}

.btn-check:checked+.btn-outline-primary {
    background-image: url("https://image.e.premiertech.com/lib/fe3611717064057d701577/m/1/bf71366a-ffa6-4125-a925-a795e2dd2acc.png");
    background-size: 15px 15px;
    background-position: 96% center;
    padding-left: 0.75rem;
    padding-right: 30px;
    color: #FFFFFF;
    background-color: #041E42;
    border-color: #041E42;
}

.btn-check:checked+.btn-outline-primary:hover {
    background-size: 17px 17px;
}

.form-check-label {
    font-family: 'Premier Tech Text';
    font-size: 18px;
    color: #041E42;
}

.newsletter-check {
    font-family: 'Premier Tech Text';
    font-size: 18px;
    color: #041E42;
}

.unsub-news {
    color: #041E42;
    text-align: left;
}

.invalid-feedback {
    font-family: 'Premier Tech Text';
}

.btn-primary {
    border-radius: 35px;
    border: none;
    background-color: #41B6E6;
    color: #FFFFFF;
    box-shadow: 0px 3px 6px #00000029;
}

.btn-primary:hover {
    background-color: #379BC4;
    box-shadow: none;
}

.btn-primary:active:focus {
    box-shadow: none !important;
}

.btn-primary:focus {
    background-color: #379BC4;
    box-shadow: none !important;
}

.btn-primary.unavailable, .btn-primary:disabled {
    background-color: #C6E9F7;
    box-shadow: none;
}

.end-15 {
    right: 15% !important;
}

.bottom-5 {
    bottom: 5% !important;
}

/* loading spinner */

#cover-spin {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: none;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#cover-spin::after {
    content: '';
    display: block;
    position: absolute;
    left: 48%;
    top: 40%;
    width: 75px;
    height: 75px;
    border-style: solid;
    border-color: #7f8c9f;
    border-top-color: #041e42;
    border-width: 4px;
    border-radius: 50%;
    -webkit-animation: spin .9s linear infinite;
    animation: spin .9s linear infinite;
}

/* Modal window styling*/

.modal-header {
    border: none;
}

.thanks {
    font-family: 'Premier Tech Title Bold';
    font-size: 36px;
    color: #509A26;
}

.choices {
    font-family: 'Premier Tech Title Bold';
    font-size: 20px;
    color: #041E42;
}

.was-validated .form-check-input:invalid {
    background-color: #B100000D;
    border-color: #B10000;
}

@media only screen and (max-width: 768px) {
    .select-col {
        margin-top: 0;
    }

    .logo-img {
        max-width: 81px;
        padding: 0;
        margin: 22px 24px 22px 21px;
    }

    .logo-text {
        padding-top: 17px;
        padding-left: 20px;
        font-size: 15px;
    }

    .footer_links {
        padding: 10px 0 6px 17px;
        font-size: 12px;
        font-family: 'Premier Tech Text';
        border-bottom: 2px solid #364B68;
    }

    .footer_link {
        color: #FFFFFF;
        text-decoration: none;
        padding-right: 25px;
        letter-spacing: 0.02em;
    }

    .logo-img-footer {
        margin: 16px 18px;
        width: 122px;
        max-width: 83px;
    }
}

@media (hover: hover) and (pointer: fine) {
    #selector:hover, #selectlabel:hover, .btn-link:hover {
        color: #41B6E6;
        text-decoration: underline;
        text-decoration-color: #41B6E6;
    }

    .form-check-input:hover {
        background-color: #041E424D;
        border: 1px solid #041E42;
        /*background-image: url(checkbox.svg);
        background-size: 9px 7px;*/
        background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23FFF' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z' clip-rule='evenodd'/></svg>");
        background-size: 18px 18px;
    }
}

/* -- Custom styling - Ajouté par PT -- */

.fs-5 {
    font-size: 18px !important;
}

.form-control {
    height: 40px;
}

.col-12.formTitle {
    padding-bottom: 30px;
}

.formTitle .contactUsLink {
    color: #41B6E6;
}

.formName input#first_name[type="text"]:disabled, .formLastName input#last_name[type="text"]:disabled, .formEmail input#email_address[type="text"]:disabled {
    font-weight: 600 !important;
    font-size: 18px !important;
    color: #041E42 !important;
    height: max-content;
    margin-top: 5px;
}

.formTitle .contactUsLink:hover {
    color: #379BC4;
}

.formTitle p {
    font-size: 12px !important;
    font-family: 'Premier Tech Text';
    color: #041E42;
    font-weight: 400;
}

.formName .form-control:hover:disabled {
    box-shadow: none !important;
}

.form-check-input:checked[type=checkbox]:hover {
    background-color: #041E42b3;
}

.formLastName .form-control:hover:disabled {
    box-shadow: none !important;
}

.formEmail .form-control:hover:disabled {
    box-shadow: none !important;
}

.formTitle h1 {
    padding-bottom: 20px;
}

.formCountry {
    margin-top: 0;
}

.formTitle p {
    font-size: 18px;
    margin-bottom: 30px;
}

.col-12.formEmail {
    margin-top: 40px;
    margin-bottom: 40px;
}

.formName .form-label, .formLastName .form-label, .formEmail .form-label {
    line-height: 0 !important;
}

.informationText p {
    font-size: 12px;
    font-weight: 400;
    color: #041E42;
}

.preferenceForm {
    padding-right: 0;
    padding-left: 0;
}

.form-select:focus {
    box-shadow: none !important;
    border: none !important;
}

.form-select:focus:hover {
    box-shadow: none !important;
}

.consentCheckbox {
    display: inline;
}

.consentClickHere {
    font-size: 18px;
    color: #41B6E6;
}

.consentClickHere:hover {
    color: #379BC4;
}

form.row.g-3.needs-validation {
    width: 95%;
    margin: auto;
}

.col-sm-12.col-md-6.formName, .col-sm-12.col-md-6.formLastName {
    margin-top: 0;
}

.formName label.form-label.fs-5, .formLastName label.form-label.fs-5, .formEmail label.form-label.fs-5 {
    margin-bottom: 5px;
}

.form-control:disabled, .form-control[readonly] {
    background-color: white;
    opacity: 1;
    border: 0;
    font-weight: 600;
    font-size: 18px;
    color: #54585A !important;
    line-height: 0;
    padding: 0;
}

.form-control:disabled.form-control:hover, .form-select:disabled.form-select:hover {
    border: none !important;
}

.btn-outline-primary:focus, .btn-outline-primary:active:focus, .btn-outline-primary.active:focus {
    box-shadow: none !important;
    outline: none !important;
}

.form-control:hover:placeholder-shown, .form-select.default:hover {
    box-shadow: 0 0 0 2px #8A8D8F !important;
}

.form-control:hover, .form-select:hover {
    box-shadow: 0 0 0 2px #8A8D8F !important;
    margin: 0;
}

@media only screen and (max-width: 768px) {
    .col-sm-12.col-md-6.formLastName {
        margin-top: 40px;
    }
    .btn-outline-primary:hover {
        background-color: #FFF;
        color: #54585A;
        border-color: #54585A;
    }
    .col-sm-12.col-md-6.formLastName {
        margin-top: 40px;
    }
}

@media only screen and (min-width: 768px) {
    .btn-outline-primary:hover {
        border: 1px solid white;
        box-shadow: 0 0 0 2px #54585a !important;
        background-color: #FFF;
        background-size: 12px 12px;
        color: #54585A;
    }
}

.btn-outline-primary:active {
    background-color: #041E424d !important;
    border-color: #041E424d !important;
    color: #54585A !important;
}
