$colViolet: #803588;

#subNav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 0px;
    margin-bottom: 10px;

    a {
        text-align: center;
        border: 1px solid $colViolet;
        height: 40px;
        line-height: 40px;
        text-decoration: none;
        border-radius: 3px;

        &:first-child {
            font-weight: bold;
        }
    }
}

#result2 .fTaux,
#result2 #top5 {
    display: inline-block;
    text-align: center;
    border: 1px solid $colViolet;
    height: 40px;
    line-height: 40px;
    text-decoration: none;
    padding: 0 10px;
    margin: 0px;
    cursor: pointer;
    border-radius: 3px;
    margin: 0px 2px;

    &:first-child {
        font-weight: bold;
    }
}
.filtreContrat2 {
    display: inline-block;
}
#top5 {
    color: $colViolet;
    &:hover {
        background-color: $colViolet;
        color: white;
    }
}
.top5A {
    background-color: $colViolet;
    color: white !important;
}
#fTPlus {
    display: none !important;
}
#typeContrat-button {
    width: auto;
    float: right;
    width: 200px;
    padding: 11px 0px;
    // height: 40px;
    // line-height: 40px;
}
#typeContrat-menu {
    top: -41px;
}
#choixOffre {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    margin-top: 10px;
    margin-bottom: 10px;
    span:first-child {
        border-left: 1px solid $colViolet;
    }
    span {
        border-top: 1px solid $colViolet;
        border-bottom: 1px solid $colViolet;
        border-right: 1px solid $colViolet;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
        text-align: center;
        margin: 0px;
        height: 40px;
        line-height: 40px;
        width: 100%;
        position: relative;
        cursor: pointer;

        p {
            margin: 0px;
            i {
                font-size: 10px;
            }
        }
    }
    .offreSl {
        background-color: $colViolet;
        color: white;
    }
    small {
        position: absolute;
        top: 50%;
        left: 50%;
        line-height: 15px;
        transform: translate(-50%, 5px);
        font-size: 10px;
    }
}

.model2 {
    background-color: #e9f1fa;
    margin-bottom: 10px;
    //
}
.compagnie2 {
    display: grid;
    grid-template-columns: 2fr 3fr 3fr;
    grid-template-rows: 2fr 0.5fr;
    grid-column-gap: 30px;
    grid-row-gap: 8px;
    min-height: 160px;
    padding: 8px;
    background-color: #e9f1fa;
    border-radius: 4px;
    margin-bottom: 10px;
    .propositionContrat {
        background-color: white;
        display: grid;
        grid-template-columns: 3fr 2fr;
        grid-template-rows: repeat(4, 1fr);
        grid-column-gap: 8px;
        grid-row-gap: 8px;
        color: $colViolet;
        padding: 7px 10px;
    }
    .pNom1,
    .pVal1 {
        font-size: 21px;
    }
    .pNom1,
    .pNom4 {
        font-weight: bold;
    }
    .pNom4,
    .pVal4 {
        color: black;
        font-size: 16px;
    }

    .pVal1,
    .pVal2,
    .pVal3,
    .pVal4 {
        text-align: right;
        font-weight: bold;
    }
    .propositionContrat-b {
        // background-color: rgb(187, 185, 71);
        display: grid;
        grid-template-columns: 2fr 3fr 3fr;
        grid-template-rows: 1fr;
        grid-column-gap: 8px;
        grid-row-gap: 8px;
        align-items: center;

        .pDetail,
        .pImport,
        .pictoDroite,
        .envoiDevis,
        .pEspace {
            background-color: $colViolet;
            text-align: center;
            vertical-align: middle;
            color: white;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 4px;
            cursor: pointer;
            a {
                color: white;
                text-decoration: none;
            }
        }
    }
    .caracteristiqueContrat {
        // background-color: #0271f083;
        display: grid;
        grid-template-columns: 3fr 2fr;
        grid-template-rows: repeat(4, 1fr);
        grid-column-gap: 8px;
        grid-row-gap: 8px;
        padding: 10px;
    }
    .ccVal1,
    .ccVal2,
    .ccVal3 {
        text-align: right;
        font-weight: bold;
    }
    .ccVal1 {
        color: $colViolet;
    }
    .caracteristiqueContrat-b {
        display: flex;
        align-items: center;
        font-size: 12px;
        text-decoration: underline;

        a{
            color: black;
        }
    }
    .identificationContrat {
        // background-color: blue;
    }
    .identificationContrat-b {
        position: relative;
        // background-color: rgb(0, 255, 34);
        // min-height: 70px;
        display: flex;
        // justify-content: center;
        align-items: center;
        p {
            width: 80%;
            text-align: center;
            position: relative;
            margin: 0px;
        }
        p:after {
            font-family: "Font Awesome 6 Free";
            content: "!";
            color: red;
            border: 2px solid red;
            width: 25px;
            height: 25px;
            line-height: 20px;
            text-align: center;
            border-radius: 15px;
            position: absolute;
            top: 50%;
            right: 0px;
            transform: translateY(-50%);
            opacity: 0;
        }
    }
    .logoComp {
        width: 80%;
        background:
            url("../img/compagnies/allianz.png") no-repeat,
            #fff;
        background-size: 150px;
        background-position: center center;
        height: 150px;
        border-radius: 4px;
    }
    .ccFormalites {
        font-weight: bold;
        color: $colViolet!important;
        position: relative;
        padding-left: 20px;
        a {
            color: #803588!important;
        }
        a:before {
            position: absolute;
            left: 0px;
            top: 3px;
            font-family: "Font Awesome 6 Free";
            content: "\f019";
            display: inline-block;
            padding-right: 3px;
            vertical-align: middle;
            font-weight: 900;
        }
    }
    // .ccFormalites{
    //     grid-area: 4 / 1 / 5 / 2;
    // }
    // .ccFormalites{
    //     grid-area: 4 / 1 / 5 / 2;
    // }
}
