/* ------------------------------ ELEMENTS COMMUNS FIXES ---------------------------- */

/* ----------------------------------------------------------------------------------------------------------- */


/* --------------------------------- HEADER / NAVBAR--------------------------------- */
.header-navbar {
    width: 100%;
    margin: 0px;
    display: flex;
}

.btn-burger-navbar {
    height: 50px;
    width: 50px;
    cursor: pointer;
    margin: 12px;
    border: 1px solid #1e5385;
    display: none;
}

@media (max-width: 575px) {
    .btn-burger-navbar {
        display: block;
    }
}

#header-collapse {
    position: absolute;
    z-index: 3200;
    right: -5px;
    cursor: pointer;
    margin-top: 5px !important;
    padding: 4px 4px 4px 4px;
}

.header-left {
    width: 60%;
    padding: 0;
}

.header-left-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    box-shadow: inset 0px -5px 14px rgb(0 0 0 / 15%);
}

.header-left-top,
.header-right-top {
    height: 120px;
    z-index: 20;
    position: relative;
    background: white;
}

.header-left-logo {
    display: flex;
    justify-content: center;
    padding: 0px;
}

@media (min-width: 580px) {
    .header-left-logo {
        max-width: 25%;
    }
}
@media (min-width: 992px) {
    .header-left-logo {
        max-width: 33%;
    }
}

.header-left-text {
    font-size: 22px;
    min-width: 145px;
    padding: 0.25rem;
    padding-left: 1rem;
    margin-left: 0.25rem;
}

@media (max-width: 1439px) {
    .header-left-text {
        font-size: 18px;
    }
}

@media (max-width: 1110px) {
    .header-left-text {
        font-size: 15px;
    }
}
@media (max-width: 860px) {
    .header-left-text {
        font-size: 15px;
    }
}

.header-left-text p{
    font-style: italic;
}

.header-left-bottom {
    display: flex;
    align-items: center;
}

.header-left-bottom,
.header-right-bottom {
    height: 45px;
}

.header-right-top {
    background: url('../images/global/AdobeStock_84448630-2.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: end;
}

.header-right-bottom {
    background-color: #f8f8f8;
    box-shadow: inset 0px -5px 14px rgb(0 0 0 / 15%);
}

.header-right {
    width: 55%;
    position: absolute;
    right: 0;
    z-index: 1;
    -webkit-clip-path: polygon(0 0, 100% 0%, 200% 100%, 10% 100%);
    clip-path: polygon(0 0, 100% 0%, 100% 200%, 8% 100%);
    z-index: 20;
}

.navbar-nav {
    padding-left: 6vw;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
}


@media (max-width: 1439px) {
    .header-left-top,
    .header-right-top {
        height: 90px;
    }
}


@media (max-width: 1023px) {
    .header-left-top,
    .header-right-top {
        height: 80px;
    }
    .header-left-bottom,
    .header-right-bottom {
        height: 35px;
    }
    .navbar {
        padding: 0;
    }
    .nav-link {
        font-size: 13px;
    }
}



/* En dessous de 860px 
   On adapte la barre de navigation en supprimant l'image pour laisser plus de place au texte.
*/
@media (max-width: 860px) {
    .header-left {
        width: 100%;
    }
    .header-right {
        width : 100%;
    }
    .header-right-top {
        background: none !important;
    }
}
/* En dessous de 580px 
   On adapte le logo pour que le texte passe a coté.
*/
@media (max-width: 580px) {
    .header-left-logo {
        width: 25% !important;
    }
    .header-left-bottom{
        height: auto !important;
    }
    .header-right {
        -webkit-clip-path: none; 
        clip-path: none;
    }
}

@media (max-width: 575px) {
    .header-right-bottom {
        height: 0px;
        overflow: hidden;
    }

    .menu-home {
        padding-top: 100px;
    }
}

@media (min-width: 575px) {
    .header-right-bottom {
        height: auto;
    }
}

/* ------------------ SUPERPOSITION MENU / CONTENU DE PAGES ----------------- */

.page-content-top-adapt {
    margin-top: -45px;
}

@media screen and (max-width: 1023px) {
    .page-content-top-adapt {
        margin-top: -35px;
    }
}


/* ------------------ MENU DE GAUCHE - ETAPES TARIFICATION ------------------ */

ol.left-nav-list {
    position: relative;
    right: -22px;
    list-style-type: none;
}

.left-nav-list a.left-nav-active {
    color: #fff;
    font-weight: 600;
}

.left-nav-list a span.left-nav-numb,
.left-nav-list a span.left-nav-dot {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 991px) {
    .left-nav-sel-steps {
        background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
        height: 50px !important;
        padding: 0 85px !important;
        position: fixed;
        bottom: 0;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.25);
    }
    ol.left-nav-list {
        right: 0;
        margin-bottom: 0;
    }
    .left-nav-subtitle {
        display: none;
    }
    .left-nav-list-item-nb {
        padding: 10px;
    }
    .left-nav-list-item-nb>a span.left-nav-numb,
    .left-nav-list-item-nb>a.left-nav-active span.left-nav-numb {
        padding: 0;
        border-radius: unset;
        border: none;
        color: #9b9b9b;
        font-size: 18px;
        font-weight: 500;
        background-color: unset;
        margin-left: 0;
        margin-right: 5px;
        width: auto;
        height: auto;
        box-shadow: none;
    }
    .left-nav-list-item-nb>a.left-nav-active span.left-nav-numb {
        color: #1e5385;
        font-size: 17px;
        font-weight: 500;
        background-color: transparent;
    }
    .left-nav-list-item-nb>a span.left-nav-numb:after {
        content: "-";
        padding-left: 3px;
    }
    .inactive-dots~ol {
        display: none !important;
    }
    .left-nav-list-item-dot>a span.left-nav-dot {
        width: 10px;
        height: 10px;
        background-color: #fff;
        border: 1.2px solid #1e5385;
        margin-left: 10px;
        margin-right: 5px;
    }
    .left-nav-list-item-dot>a.left-nav-active span.left-nav-dot {
        width: 10px;
        height: 10px;
        background-color: #1e5385;
        border: none;
        margin-left: 10px;
        margin-right: 5px;
    }
    .left-nav-title {
        font-size: 11px;
        color: #ffffff;
    }
    .left-nav-list a.left-nav-active .left-nav-title {
        margin-right: 10px;
    }
    .left-nav-list a.left-nav-active .left-nav-subtitle,
    .left-nav-list a.left-nav-active .left-nav-title {
        display: block;
        font-weight: 600;
        font-size: 11px;
        color: #1e5385;
        line-height: 1;
        text-align: left;
    }
}

@media screen and (max-width: 768px) {
    .left-nav-list a.left-nav-active .left-nav-title {
        margin-right: unset;
    }
    .left-nav-list a.left-nav-active .left-nav-title {
        display: none;
    }
}

.switch label {
    cursor: pointer;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 14px;
}

.switch label input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch label {
    cursor: pointer;
}

.switch label .lever {
    position: relative;
    display: inline-block;
    margin: 0 0.2rem;
    /* margin-right: .625rem; */
    vertical-align: middle;
    content: "";
    border-radius: 0.9375rem;
    background-color: #fff;
    border: #21384e solid 1px;
    width: 3rem;
    min-width: 40px;
    height: 1.5rem;
    -webkit-transition: background 0.3s ease;
    transition: background 0.3s ease;
}

.switch label .lever:after {
    position: absolute;
    top: calc(0.75rem - 0.45rem);
    left: calc(0.75rem - 0.48rem);
    display: inline-block;
    content: "";
    background: linear-gradient( 180deg, rgba(141, 198, 63, 0.67) 0%, #8dc63f 32.81%, #699629 100%);
    border-radius: 1.3125rem;
    width: calc(1rem - 3px);
    height: calc(1rem - 3px);
    -webkit-transition: left 0.3s ease, background 0.3s ease, -webkit-box-shadow 1s ease;
    transition: left 0.3s ease, background 0.3s ease, -webkit-box-shadow 1s ease;
    transition: left 0.3s ease, background 0.3s ease, box-shadow 1s ease;
    transition: left 0.3s ease, background 0.3s ease, box-shadow 1s ease, -webkit-box-shadow 1s ease;
}

.switch label input[type="checkbox"]:checked+.lever:after {
    left: 1.8rem;
}

.switch label .label_switch.active {
    font-weight: 700;
}


/* --------------------------- OVERRIDE BOOTSTRAP --------------------------- */

.custom-switch.two-state {
    padding-left: 0px;
}

.custom-switch.two-state .custom-control-label:first-child {
    margin-right: 30px;
}

.custom-switch.two-state .custom-control-label:last-child {
    margin-left: 30px;
}

.custom-switch.two-state .custom-control-label:first-child:before,
.custom-switch.two-state .custom-control-label:first-child:after {
    display: none;
}

.display-5 {
    font-size: 2rem;
    line-height: 1.2;
}

.display-6 {
    font-size: 1.2rem;
    line-height: 1.2;
}

.display-7 {
    font-size: 1rem;
    line-height: 1;
}

.full-width-input-form>* {
    width: 100% !important;
}


/**** CONTENU TARIFICAITON  ****/

input.w-small {
    width: 80px;
}

.row_gestion_nb_assure label {
    font-size: 18px;
    font-weight: bold;
}

.row_gestion_nb_assure label+div.custom-control {
    margin: 3px 0 0 10px;
}
.row_gestion_pet_title label {
    font-size: 18px;
    font-weight: bold;
    padding-right: 10px;
}

.row_gestion_pet_title label+div.custom-control {
    margin: 3px 0 0 10px;
}

.row_gestion_pet_name label {
    font-size: 18px;
    font-weight: bold;
    padding-right: 10px;
}

.row_gestion_pet_name label+div.custom-control {
    margin: 3px 0 0 10px;
}

.row_gestion_pet_gender label {
    font-size: 18px;
    font-weight: bold;
    padding-right: 10px;
}

.row_gestion_pet_gender label+div.custom-control {
    margin: 3px 0 0 10px;
}

.row_gestion_pet_icad label {
    font-size: 18px;
    font-weight: bold;
    padding-right: 10px;
}

.row_gestion_pet_icad label+div.custom-control {
    margin: 3px 0 0 10px;
}

.row_gestion_pet_vaccination label {
    font-size: 18px;
    font-weight: bold;
    padding-right: 10px;
}

.row_gestion_pet_vaccination label+div.custom-control {
    margin: 3px 0 0 10px;
}

/**** PANNEAU TARIFICATION  ****/

.top-nav-search.active {
    top: 0px;
}

.top-nav-search {
    -webkit-transition: top 0.3s ease;
    transition: top 0.3s ease;
    top: -1000px;
    position: absolute;
    width: 100%;
    background: url(../images/tarification_en_cours/fond-recherche.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 100;
}

.top-nav-search form {
    width: 100%;
}

.top-nav-search-button {
    transform: rotate(270deg);
    left: -82px;
    top: 40vh;
    z-index: 20;
}

@media screen and (max-width: 1439px) {
    .left-nav-sel-steps,
    .left-nav-search {
        height: calc(100vh - 90px);
    }
}

@media screen and (max-width: 1023px) {
    .left-nav-sel-steps,
    .left-nav-search {
        height: calc(100vh - 80px);
    }
}

@media (max-width: 991px) {
    .modal-dialog {
        max-width: 700px;
    }
}


/* ------------------------------ GAMIFICATION ------------------------------ */

.top-left-gamification {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    top: 0;
    left: 0;
}

.style-user-score:before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    position: relative;
    background: url(../images/tarification/stats.png) no-repeat center;
    background-size: contain;
}

.style-percentage-total span {
    font-size: 15px;
    padding-left: 5px;
}

.style-user-score:hover,
.style-percentage-total:hover {
    transform: scale(1.03) translateY(0.5px);
}

.statut img {
    width: 22px;
    height: 22px;
    margin-left: 5px;
    margin-top: -3px;
}

.form-control.w-70 {
    width: 70%;
}

.col_bordered_blue {
    border: 1px solid #21384e;
    border-radius: 5px;
}

form#simulation_form {
    overflow-y: scroll;
    position: relative;
    padding-bottom: 0vh;
    padding-bottom: 5vh;
}

.need_at_least_multiple_assures_chck.hideLabel span {
    display: none;
}

.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before {
    background-color: rgb(192 193 194 / 50%) !important;
}

/* .col_row_option_couple_deces.medium {
    max-height: 130px;
}

.col_row_option_couple_deces:not(.medium) {
    max-height: 155px;
} */

.ml-custom {
    margin-left: 2.3rem !important;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 1);
    z-index: 100;
}

.overlay .page-preloader-spin {
    position: absolute;
    left: 40%;
    top: 40%;
    z-index: 1001;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #1e5385;
    -webkit-animation: PreloaderSpin 2s linear infinite;
    animation: PreloaderSpin 2s linear infinite;
}

.overlay .page-preloader-spin:before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #2181c0;
    -webkit-animation: PreloaderSpin 3s linear infinite;
    animation: PreloaderSpin 3s linear infinite;
}

.overlay .page-preloader-spin:after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #366f95;
    -webkit-animation: PreloaderSpin 1.5s linear infinite;
    animation: PreloaderSpin 1.5s linear infinite;
}

@-webkit-keyframes PreloaderSpin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes PreloaderSpin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.container_fluid.container_simulation {
    padding-right: 50px;
}

@media screen and (max-width: 992px) {
    .top-left-gamification {
        position: fixed;
        flex-direction: row-reverse;
        right: 0;
        left: unset;
    }
    .style-user-score {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 15px;
    }
    .style-percentage-total {
        margin-right: -10px;
        left: 0;
        padding-left: 10px;
        padding-right: 20px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 15px;
    }
}

@media screen and (max-height: 850px) {
    form#simulation_form {
        padding-bottom: 20vh;
    }
}

@media screen and (min-width: 992px) {
    .lg-no-padding {
        padding: 0px;
    }
    .pt-custom-garantie {
        padding-top: 0.35rem !important;
    }
}

@media screen and (min-width: 1450px) and (max-width: 1599px) {
    .container_fluid {
        max-width: 1400px;
    }
    .fix-top-height {
        max-height: 85px;
    }
}

@media screen and (min-width: 1600px) {
    .container_fluid {
        max-width: 1600px;
    }
    .container_fluid.container_simulation {
        max-width: 1850px;
        padding-right: 50px;
    }
    .fix-top-height {
        max-height: 105px;
    }
    .col-gl-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.page-content-top-adapt:not(.aide_active) i.fa-question-circle {
    display: none;
}
.page-content-top-adapt:not(.aide_active) i.fa-circle-play {
    display: none;
}

.col_recap_bordered_blue {
    border-bottom: 3px solid #4A6683;
    border-top: 3px solid #4A6683;
    border-left: 3px solid #4A6683;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
