* {
	margin: 0;
	padding: 0;
	box-sizing:border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-size: var(--font-size);
    font-weight: 500;
	line-height: var(--font-line-height);
	color: var(--font-color);
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	background-color: var(--body-bg);
	font-family: var(--font-main);
	min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main{
    min-height: calc(100vh - 400px - var(--header-height));
}

    main p,
    .ck-content p
    {
        margin-bottom: 1em;
        text-align: justify;
    }

.max-width{
    width: var(--section-max-width);
    max-width: 100%;
    margin: 0 auto;
}
.medium-width{
    width: var(--section-medium-width);
    max-width: 100%;
    margin: 0 auto;
}

.main-padding{
    padding:64px;
    width: 100%;
}
.main-padding-ariane{
    padding:0 0 64px 0;
}
.main-padding-ariane-cat{
    padding-top:0;
}

a, a:link, a:visited, a:focus, a:active, a:hover{
	text-decoration:none;
}
a, a:focus, a:active, a:hover{
    color: inherit;
}

h1, h2, h3, h4, h5, h6{
    font-family: var(--font-title);
    font-weight: 700;
}

.col-red{ color:var(--col-red) }
.col-green{ color:var(--col-green) }
.col-grey{ color:var(--col-grey) }
.col-grey-c{ color:var(--col-grey-c) }
.col-blue{ color:var(--col-blue) }

input,
textarea,
select{
	font-size:100%;
	font-family: var(--font-main);
    border: 1px solid rgba(0,0,0,.12); 
	outline: none;
    padding:.8em;
    border-radius: .5em;
}
input:hover,
textarea:hover,
select:hover,
input:focus,
textarea:focus,
select:focus{
	border-color: rgba(var(--col-red-rgb), 0.8);
	outline: 0;
	outline: thin dotted \9;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 12px rgba(var(--col-red-rgb), 0.5);
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 12px rgba(var(--col-red-rgb),.5);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 12px rgba(var(--col-red-rgb),.5);
}

.hidden{
	display:none !important;
}

main .ck-reset_all{
    display: none;
}
.content .ck-content .ck-reset_all{
    display: unset;
}
main .image.ck-widget img{
    max-width: 100%;
    height: auto;
}

button,
a.button{
    display: inline-block;
    background-color: var(--button-bg);
    border-radius: var(--boutons-radius);
    color: var(--button-font);
    padding: .4em 1.5em;
    text-transform: uppercase;
    position: relative;
    font-family: var(--font-special);
    border-width: 0;
    font-size: 100%;
}
    button:hover,
    a.button:hover{
        background-image: linear-gradient(rgb(0 0 0/40%) 0 0);
        cursor: pointer;
    }

    button.clair,
    a.button.clair{
        background-color: white;
        color: var(--button-clair-font);
        font-weight: 600;
    }
    button.clair:hover,
    a.button.clair:hover{
        background-color: var(--col-red);
        color: white;
    }

    button.btn-fa,
    a.button.btn-fa{
        padding-left: 3.2em;
        padding-right: 1.5em;
    }
    button.btn-fa:before,
    a.button.btn-fa:before{
        content: "\f0e0";
        font-family: var(--font-awesome);
        font-weight: 800;
        position: absolute;
        transform: scale(1.25) translateX(-1.5em);
    }

    button.btn-devis:before,
    a.button.btn-devis:before{
        content: "\f0e0";
    }

    button.btn-pdf,
    a.button.btn-pdf{
        background-color: var(--button-bg-grey);
    }
    button.btn-3d,
    a.button.btn-3d{
        background-color: rgb(31, 99, 184);
    }
    button.btn-pdf:before,
    a.button.btn-pdf:before{
        content: "\f019";
    }
    button.btn-3d:before,
    a.button.btn-3d:before{
        content: "\e2dc";
    }

    button.btn-guide,
    a.button.btn-guide{
        background-color: var(--button-bg-yellow);
    }
    button.btn-guide:before,
    a.button.btn-guide:before{
        content: "\f02d";
    }

    button.btn-check:before,
    a.button.btn-check:before{
        content: "\f058";
    }

.bloc-title{
    text-align: left;
    font-size: 180%;
    font-weight: 600;
    font-size: 32px;
    text-transform: uppercase;
    margin-left: 1em;
    border-left:4px solid var(--col-red);
    padding: .1em 0 .1em .5em;
    line-height: 1;
}
.main-title{
    text-align: left;
    font-size: 180%;
    font-weight: 600;
    font-size: 32px;
    text-transform: uppercase;
    margin-left: 1em;
    margin-bottom: 1.5em;
    border-left:4px solid var(--col-red);
    padding: .1em 0 .1em .5em;
    line-height: 1;
}
.round-bloc-container{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
}
    .round-bloc{
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: stretch;
        width: 510px;
        max-width: calc( 33% - 64px );
        margin:64px 32px;        
        height: 510px;
        border-radius: 12px;
        background-color: white;
        position: relative;
        z-index: 1;
    }
    .round-bloc-actus .round-bloc{    
        height: 90%;
    }
    .round-bloc-list .round-bloc:hover{
        background-color: var(--hover-grey);
        border-color: var(--col-red-f);
    }
    .round-bloc-list .round-bloc:hover *{
        color: white;
    }
        .round-bloc-img{
            /*height: 100%;*/
            background-image: url(../img/index-first.jpg);
            background-position: center;
            background-repeat: no-repeat;
            border-radius: 12px 12px 0 0;
            transition: var(--transition-all);

            /*aspect-ratio: 16/10;*/
            height: 69%;
            width: 100%;
            background-size: cover;
        }
        .round-bloc-txt{
            /*height: 40%;*/
            padding: 24px;
        }
            .round-bloc-txt>b>span{
                font-size: 90%;
                line-height: 1.2;
                font-weight: 400;
                color: var(--col-red);
                margin-bottom: .5em;
                display: block;
            }
            .round-bloc-txt h4{
                font-size: 170%;
                line-height: 1;
                font-weight: 700;
                text-transform: uppercase;
            }
            .round-bloc-actus .round-bloc-txt h4{
                font-size: 110%;
                line-height: 1.2;
                font-weight: 700;
                text-transform: unset;
                font-family: var(--font-main);
            }
            .round-bloc-txt p{
                margin-top: 1em;
                color: #808080;
                line-height: 1.4;

                width:100%;
                min-height: 6em;
            }
            .round-bloc-actus .round-bloc-txt p{
                margin-top: .5em;
                overflow: hidden;
                display: -webkit-box;
                -webkit-line-clamp: 5;
                -webkit-box-orient: vertical;
            }


.flex-row{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
}
#actualite-menu-right{
    width: unset;
    border-left:1px solid rgba(0,0,0,.09);
}
#actualite-menu-right .round-bloc{
    max-width: unset;
    width: 450px;
    margin: 64px 0;
}
#actualite-menu-right .round-bloc-img{
    aspect-ratio: 16/9;
}
#actualite-menu-right .round-bloc:first-child{
    margin-top: 0;
}
#actualite .round-bloc.actu-bloc{
    max-width: 100%;
    width: 100%;
    border-right: unset;
    min-height: 70vh;
    margin: 0;
    height: unset;
    justify-content: flex-start;
}
#actualite .round-bloc-img{
    border-radius: 24px 24px 0 0;
    /*min-height: 450px;*/
    aspect-ratio: 16/7;
    width: 100%;
    background-size: cover;
}

/* ACTU */
.actu-container{
    width: 100%;
}
.actu-date{
    font-size: 90%;
    line-height: 1.2;
    font-weight: 400;
    color: var(--col-red);
    margin-top: .8em;
    margin-bottom: .8em;
    display: block;
}
.actu-img{
    border-radius: 12px 12px 0 0;
    aspect-ratio: 16 / 9;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.actu-titre{
    font-size: 200%;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1em;
}

/* ACTU CONTENT */

.actu-container h4 {
    font-size: 160%;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1em;
}
.actu-container img {
    width: 100%;
    height: auto;
}
.actu-container .actu-txt .ck {
    display: none;
}

/* */

.box-shadow{
    box-shadow: var(--box-shadow);
    /*border:1px solid rgba(0,0,0,.3);*/
}

.box-border{
    border:1px solid rgba(0,0,0,.3);
}

.disabled{
    pointer-events: none !important;
    cursor: default !important;
    opacity: .3 !important;
}

.flex-vertical{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: space-evenly;
    align-items: flex-start;
}

/* ARIANE */

#ariane {
    margin-bottom: 1em;
    padding: 1em 2em;
    position: sticky;
    top:var(--header-small-height);
    background-color: white;
    z-index: 50;
}

#ariane a:last-child {
    color: var(--col-red);
}

.header-small #ariane {
    box-shadow: var(--box-shadow);
}