﻿body {
    padding-top: 100px;
    font-family: 'Open_Sans_regular',sans-serif;
}

.no-padding {
     padding-right: 0px; 
     padding-left: 0px;
}

.main-container {
    display: flex;
    min-height: 95vh;
    flex-direction: column;
    justify-content: space-between;
}

@font-face {
    font-family: 'Open_Sans_regular';
    src: url('../webfonts/OpenSans-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lobster';
    src: url('../webfonts/lobster-regular-webfont.woff2') format('woff2'), url('../webfonts/lobster-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../webfonts/Montserrat-Regular.woff2') format('woff2'), url('../webfonts/Montserrat-Regular.woff') format('woff'), url('../webfonts/Montserrat-Regular.ttf') format('ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../webfonts/Montserrat-Bold.woff2') format('woff2'), url('../webfonts/Montserrat-Bold.woff') format('woff'), url('../webfonts/Montserrat-Bold.ttf') format('ttf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Fjalla One';
    src: url('../webfonts/FjallaOne-Regular.woff2') format('woff2'), url('../webfonts/FjallaOne-Regular.woff') format('woff'), url('../webfonts/FjallaOne-Regular.ttf') format('ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Cairo';
    src: url('../webfonts/Cairo-Regular.woff2') format('woff2'), url('../webfonts/Cairo-Regular.woff') format('woff'), url('../webfonts/Cairo-Regular.ttf') format('ttf'), url('../webfonts/Cairo-Regular.eot') format('eot');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Cairo';
    src: url('../webfonts/Cairo-Italic.woff2') format('woff2'), url('../webfonts/Cairo-Italic.woff') format('woff'), url('../webfonts/Cairo-Italic.ttf') format('ttf'), url('../webfonts/Cairo-Italic.eot') format('eot');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Cairo';
    src: url('../webfonts/Cairo-SemiBold.woff2') format('woff2'), url('../webfonts/Cairo-SemiBold.woff') format('woff'), url('../webfonts/Cairo-SemiBold.ttf') format('ttf'), url('../webfonts/Cairo-SemiBold.eot') format('eot');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Cairo';
    src: url('../webfonts/Cairo-SemiBoldItalic.woff2') format('woff2'), url('../webfonts/Cairo-SemiBoldItalic.woff') format('woff'), url('../webfonts/Cairo-SemiBoldItalic.ttf') format('ttf'), url('../webfonts/Cairo-SemiBoldItalic.eot') format('eot');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Cairo';
    src: url('../webfonts/Cairo-Bold.woff2') format('woff2'), url('../webfonts/Cairo-Bold.woff') format('woff'), url('../webfonts/Cairo-Bold.ttf') format('ttf'), url('../webfonts/Cairo-Bold.eot') format('eot');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Cairo';
    src: url('../webfonts/Cairo-BoldItalic.woff2') format('woff2'), url('../webfonts/Cairo-BoldItalic.woff') format('woff'), url('../webfonts/Cairo-BoldItalic.ttf') format('ttf'), url('../webfonts/Cairo-BoldItalic.eot') format('eot');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Cairo';
    src: url('../webfonts/Cairo-Black.woff2') format('woff2'), url('../webfonts/Cairo-Black.woff') format('woff'), url('../webfonts/Cairo-Black.ttf') format('ttf'), url('../webfonts/Cairo-Black.eot') format('eot');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Cairo';
    src: url('../webfonts/Cairo-ExtraLight.woff2') format('woff2'), url('../webfonts/Cairo-ExtraLight.woff') format('woff'), url('../webfonts/Cairo-ExtraLight.ttf') format('ttf'), url('../webfonts/Cairo-ExtraLight.eot') format('eot');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Cairo';
    src: url('../webfonts/Cairo-ExtraLightItalic.woff2') format('woff2'), url('../webfonts/Cairo-ExtraLightItalic.woff') format('woff'), url('../webfonts/Cairo-ExtraLightItalic.ttf') format('ttf'), url('../webfonts/Cairo-ExtraLightItalic.eot') format('eot');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Cairo';
    src: url('../webfonts/Cairo-Light.woff2') format('woff2'), url('../webfonts/Cairo-Light.woff') format('woff'), url('../webfonts/Cairo-Light.ttf') format('ttf'), url('../webfonts/Cairo-Light.eot') format('eot');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Cairo';
    src: url('../webfonts/Cairo-LightItalic.woff2') format('woff2'), url('../webfonts/Cairo-LightItalic.woff') format('woff'), url('../webfonts/Cairo-LightItalic.ttf') format('ttf'), url('../webfonts/Cairo-LightItalic.eot') format('eot');
    font-weight: 300;
    font-style: italic;
}

p {
    font-family: 'Open_Sans_regular',sans-serif;
}

#footer-news, #footer-address {
    font-family: 'Open_Sans_regular',sans-serif;
}

nav.navbar, div.search_panel, .fiche {
    font-family: 'Open_Sans_regular',sans-serif;
}

a.btn, span.badge {
    font-family: 'Open_Sans_regular',sans-serif;
}

h1, h2, h3, h4, h5, h6, th {
    font-family: 'Open_Sans_regular',sans-serif;
}

.img-igd, .id-fiche {
    font-family: 'Open_Sans_regular',sans-serif;
}

@media screen{
    .screen-invisible{
        display:none;
    }
}

@media print {
    a[href]:after { content: none !important; }
    img[src]:after { content: none !important; }

    .print-invisible {
        display:none;
    }

}


a.image-link:visited, a.acte-link:visited {
    color:#777;
}

a.popovers_gq {
    color: black;
}

.sidebar{
	border-left:2px solid #ebebeb;
	padding-left:21px;
}

/* Content list */
    ul .sidebar-list{
	margin:0px; 
	padding:0px 0px 13px 0px; 
	list-style-type:none;
}
ul.sidebar-list li{
	padding-bottom:4px;
	line-height:26px;
}
ul.sidebar-list li a{
	color:#000000;
	text-decoration:none;
}
ul.sidebar-list li a:hover{
	text-decoration:underline;
}

li .content_block img{
	padding:0px;
	margin:0px;
	float:left;
}

li .content_block{
	margin:15px 0px 22px 0px;
	border-bottom:1px solid #ebebeb;
	float:left;
}

li .content_block h4{
	width:485px;
	margin-left:20px;
	float:left;
}

li .content_block p{
	width:485px;
	font-size:14px;
	margin-left:20px;
	float:left;
}

.pf-box-view{
	background-color:#ebebeb;
	margin-bottom:25px;
	padding:12px 12px 13px 12px;
	float:left;
}

.more-button{
	height:29px;
	font-size:16px;
	color:#3e4043;
	text-align:center;
	margin:10px 0px 20px 0px;
	padding:6px 20px 0px 20px;
	background-color:#ebebeb;
	float:right;
}
.more-button a, .more-button a:visited{
	text-decoration:none;
	color:#3e4043;
}

.feedback-box {
    background-color: #F0EAE1;
    box-shadow: inset 0px 3px 6px #00000029;
    padding: 12px;
    border-radius: 11px;
    margin-bottom: 20px;
    height: 265px;
    width: 366px;
    margin-left: auto;
    margin-right: auto;
}

.feedback {
    text-align: center;
    font-style: italic;
    padding-top: 15px;
    color: #51433a;
    font-size: 15px;
}

.person {
    text-align: center;
    font-style: italic;
    color: #51433a;
    font-size: 15px;
}

.feedback-box > i {
    border: 1px solid #eceef0;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
    text-align: center;
    border-radius: 50px;
    margin-bottom: 15px;
    background-color: #fff;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: #C44931;
}

.owl-theme .owl-dots .owl-dot span {
    background: white;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

div.outil {
    border: 12px solid #ebebeb;
    padding: 1em;
    font-weight: bold;
    font-size: medium;
    border-radius: 8px;
}

.red-button {
    background-color: #561414;
    border-color: #561414;
    color: #fff;
    width: 480px;
    margin-bottom: 8px;
}
    .red-button:hover {
        color: #fff;
        filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.4));
    }

.red-button-small {
    color: #fff;
    background-color: #561414;
    border-color: #561414;
    margin-bottom: 20px;
}

    .red-button-small:hover {
        color: #fff;
        filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.4));
    }

.red-button-small-inverted {
    color: #561414;
    background-color: #fff;
    border-color: #561414;
    margin-bottom: 20px;
}
    .red-button-small-inverted:hover {
        color: #561414;
        filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.4));
    }

.lafrance-image {
    height: 270px;
}

.modal-image {
    width: 75%;
}

.registres-drouin-image {
    height: 330px;
}

.necrologe-images{
    height: 240px;
}

.img-thumbnail2 {
    width: 540px;
    height: 540px;
    overflow: hidden;
}

.img-thumbnail2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-thumbnail3 {
    width: 400px;
    height: 300px;
    overflow: hidden;
}

.img-thumbnail3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-thumbnail4 {
    width: 400px;
    height: 230px;
    overflow: hidden;
}

.img-thumbnail4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

div.outil p.outil{
    font-size: x-large;
}

.padding-right-unset {
    padding-right: unset !important;
}

.highlighted-search-term {
    background-color: yellow;
}

    .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 70vw;
}

/* The Close Button */
.close2 {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    display: flex;
    justify-content: right;
}

.close2:hover,
.close2:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.image-link:hover{
    cursor: pointer;
}

.form-group input[type=text],
.form-group select {
    color: black;
    font-weight: bold;
    font-size: larger;
    font-family: 'Open_Sans_regular',sans-serif;
}


.achat .form-group select {
    font-weight: normal;
    font-size: initial;
    font-family: 'Open_Sans_regular',sans-serif;
    text-indent: 0px;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    font-weight: normal;
    font-size: initial;
    font-family: 'Open_Sans_regular',sans-serif;
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    font-weight: normal;
    font-size: initial;
    font-family: 'Open_Sans_regular',sans-serif;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
    font-weight: normal;
    font-size: initial;
    font-family: 'Open_Sans_regular',sans-serif;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    font-weight: normal;
    font-size: initial;
    font-family: 'Open_Sans_regular',sans-serif;
}

::-ms-input-placeholder { /* Microsoft Edge */
    font-weight: normal;
    font-size: initial;
    font-family: 'Open_Sans_regular',sans-serif;
}

::placeholder { /* Most modern browsers support this now. */
    font-weight: normal;
    font-size: initial;
    font-family: 'Open_Sans_regular',sans-serif;
}

@media (min-width: 768px) {
    .adsbygoogle{
        width:400px;
    }
}

@media (min-width: 992px) {
    .adsbygoogle{
        width:728px;
    }

}
@media (min-width: 1200px) {
    .adsbygoogle{
        width:728px;
    }
}

@media (max-width: 992px) {
    .red-button {
        width: 330px;
    }
    .modal-content {
        width: 95vw;
        margin: 15% auto;
    }
    .login-panel {
        width: 100% !important;
    }
}



@media (max-width: 991px) and (min-width: 200px)  {
    .navbar-nav > li > a {
        font-size: small;
        padding-left: 4px;
        padding-right: 4px;
    }
}

.offre-container {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.offre-texte-container {
    width: 62%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.offre-texte-wrapper {
    color: #544339;
    text-align: center;
    width: 440px;
}

.offre-texte-main {
    font-size: 25px;
    font-weight: 500;
}

.offre-texte-sub {
    font-size: 17px;
    margin-top: 15px;
}

.spacing-top-bottom {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* PAGE ABONNEMENTS */

.disclaimer-abonnement {
    line-height: 10px;
    margin-left: 16px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 992px) {
    .disclaimer-abonnement {
        line-height: 10px;
        margin-left: 20px;
        margin-bottom: 20px;
    }
    .price-table-1 {
        flex-direction: column;
    }
}

.hvr-grow {
    display: inline-block;
    vertical-align: middle;
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    transition-duration: 0.3s;
    transition-property: transform;
}

    .hvr-grow:hover,
    .hvr-grow:focus,
    .hvr-grow:active {
        transform: scale(1.1);
    }

.abo-section-1 {
    background-color: #F8F4EE;
}

.abo-section-2 {
    background-color: #F8F4EE;
    padding-bottom: 55px;
}

.abo-section-3 {
    background-color: #F8F4EE;
    padding-bottom: 60px;
}

.abo-section-4 {
    padding-top: 0px;
}

.abo-section-5 {
    padding-top: 80px;
}

.header-image {
    background-image: url('../Pages/images/abonnement/abo-image.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 315px;
}

.custom-quote {
    font-size: 38px;
    color: #C44931;
    font-weight: 900;
    font-family: sans-serif;
}

#price-table-1 {
    display: flex;
    flex-direction: row;
    margin-top: 80px;
}

.price-table-1 {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .price-table-1 > div {
        display: inline-block;
        border: 3px solid #eceef0;
        padding-right: 30px;
        padding-left: 30px;
        padding-top: 23px;
        border-radius: 10px;
        height: 525px;
        text-align: center;
        width: 324px;
        margin: 15px;
        margin-bottom: 5px;
    }

        .price-table-1 > div:hover {
            box-shadow: 0 10px 30px 0 rgba(0,0,0,0.15)
        }

    .price-table-1 .price {
        font-size: 45px;
        font-weight: 700;
        border-top: 2px solid rgba(81, 66, 58, 0.13);
        border-bottom: 2px solid rgba(81, 66, 58, 0.13);
        padding: 30px 0;
        margin: 20px 0;
        margin-bottom: 40px;
        letter-spacing: var(--unnamed-character-spacing-0);
        text-align: center;
        font-family: sans-serif !important;
        letter-spacing: 0px;
        color: #C44931;
    }

    .price-table-1 .free .price {
        font-size: 60px;
        font-weight: 300;
        border-top: 1px solid #eceef0;
        border-bottom: 1px solid #eceef0;
        padding: 20px 0;
        margin: 20px 0
    }

    .price-table-1 .price > small {
        font-size: 16px;
        font-weight: 600;
    }

    .price-table-1 ul {
        list-style-type: none;
        margin: 0 0 40px 0;
        padding: 0
    }

        .price-table-1 ul li {
            margin: 10px 0
        }


    .price-table-1 .pro1 {
        border-color: #C44931;
        background-color: #F8F7F4;
    }

    .price-table-1 .free .hd {
        min-height: 70px;
    }

.yearly-price {
    font-size: 19px;
}

.prices-container {
    display: flex;
    flex-direction: column;
}

.price-suffix {
    font-size: 19px;
    color: #C44931;
    font-family: 'Open_Sans_regular',sans-serif !important;
}

.price-subtext {
    min-height: 50px;
    font-weight: 300;
    line-height: 22px;
}

.prices-renews-disclaimer {
    text-align: center;
    font-style: italic;
    font-size: 11px;
    color: #51433a;
}

.sub-text {
    text-align: center;
    margin-right: 10px;
}

.abonnement-title {
    font-family: 'Open_Sans_regular',sans-serif !important;
    color: #C44931;
    letter-spacing: var(--unnamed-character-spacing-0);
    font-size: 23px;
    font-weight: bold;
    letter-spacing: 0px;
}

.abo {
    color: #51423a;
    font-size: 19px;
}

.purcent-off-price {
    background-color: #C44931;
    color: white;
    position: absolute;
    top: -17px;
    left: 114px;
    width: 100px;
    border-radius: 7px;
    font-size: 22px;
}

.btn-sabonner {
    background-color: #C44931;
    border-color: #C44931;
    color: white;
    width: 210px;
    height: 47px;
    border-radius: 15px;
    padding-top: 4px;
    font-size: 22px;
    font-family: 'Open_Sans_regular',sans-serif !important;
}

.btn-sabonner:hover {
    background-color: white;
    border-color: #C44931;
    border: 2px solid #C44931;
    color: #C44931;
}

.btn-acheter {
    background-color: white;
    border-color: #C44931;
    border: 2px solid #C44931;
    color: #C44931;
}

    .btn-acheter:hover {
        background-color: #C44931;
        border-color: #C44931;
        color: white;
    }



.acc-hd {
    font-size: 16px;
    cursor: pointer;
    position: relative;
    background-color: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 10px 20px;
    color: #1f2229;
    border-radius: 4px;
    margin-top: 5px;
}

.acc-block {
    margin-bottom: 5px
}

.acc-hd-selected {
    font-size: 16px;
    cursor: pointer;
    position: relative;
    padding: 10px 20px;
    background-color: #1f2229;
    color: #fff;
    border-radius: 4px 4px 0 0;
    margin-top: 5px;
}

.acc-content {
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    background-color: rgba(0,0,0,0.02);
    border-radius: 0 0 4px 4px;
    height: 115px;
    margin-top: 0px;
    margin-bottom: 0px;
}


.accordionLink,
.accordionLink:hover,
.accordionLink:focus,
.accordionLink:active {
    text-decoration: none;
    color: #1f2229;
}

.acc-hd-selected .accordionLink,
.acc-hd-selected .accordionLink:hover,
.acc-hd-selected .accordionLink:focus,
.acc-hd-selected .accordionLink:active {
    text-decoration: none;
    color: #fff;
}

.mr-b-40 {
    margin-bottom: 40px
}

.section-orange {
    height: 75vh;
    min-height: 75vh;
    background-color: rgba(205, 64, 49, 0.9);
    display: flex;
    flex-direction: row;
}

.section-orange-left {
    width: 50%;
    height: 100%;
    background: url('../Pages/images/pageabonnement2-07.png') no-repeat center;
    background-size: cover;
}

.section-orange-right {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 145px;
}

.section-orange-zonetexte {
    color: white;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    width: 730px;
    padding-left: 15px;
    padding-right: 15px;
    font-family: 'Cairo',sans-serif;
}

.section-orange-titre {
    font-size: 38px;
    font-weight: bold;
    line-height: 1.1;
    margin-top: 25px;
    padding-bottom: 20px;
    overflow-wrap: break-word;
}

.section-orange-texte {
    font-size: 26px;
    overflow-wrap: break-word;
}

.section-decouverte {
    display: flex;
    flex-direction: row;
    min-height: 75vh;
}

.section-decouverte-left {
    background: url('../Pages/images/lys-right.png') no-repeat left;
    background-size: contain;
    width: 20%;
}

.section-decouverte-right {
    background: url('../Pages/images/lys-left.png') no-repeat right;
    background-size: contain;
    width: 20%;
}

.section-decouverte-center {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-decouverte-zonetexte {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-decouverte-titre {
    width: 80%;
    font-size: 38px;
    font-weight: bold;
    line-height: 1.1;
    margin-top: 50px;
    padding-bottom: 50px;
    color: #c44931;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    overflow-wrap: break-word;
}

.section-decouverte-texte {
    font-size: 25px;
    line-height: 1.3;
    padding-bottom: 80px;
    color: #c44931;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    overflow-wrap: break-word;
}

.btn.section-decouverte-button {
    background-color: #C44931;
    color: white !important;
    font-size: 30px;
    border-radius: 2.25rem;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    padding-bottom: 10px;
}

.btn.section-decouverte-button:hover {
    background-color: white;
    border-color: #C44931;
    border: 2px solid #C44931;
    color: #C44931 !important;
}

.price-table-title {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to bottom, #e8e8e8 0%, #FFFFFF 100%);
}

.price-table-title-text {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-weight: bold;
    font-size: 35px;
}

.commentaires-title {
    max-width: unset;
}

.questions-title h3 {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 35px;
    color: #561414;
    padding-bottom: 35px;
}

@media (max-width: 992px) {
    .section-orange-zonetexte {
        width: 100%;
    }

    .section-orange-right {
        margin-right: unset;
    }

    .section-orange-titre {
        font-size: 32px;
    }

    .section-orange-texte {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .section-orange-left {
        display: none;
    }

    .section-orange-right {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }

    .section-decouverte-titre {
        font-size: 25px;
    }

    .section-decouverte-texte {
        padding-bottom: 35px;
        font-size: 19px;
    }

    .btn.section-decouverte-button {
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .section-decouverte-left {
        display: none;
    }

    .section-decouverte-right {
        display: none;
    }

    .section-decouverte-center {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .section-decouverte {
        height: 60vh;
    }

    .commentaires-title {
        padding-top: 80px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .commentaires-title .title {
        font-size: 35px !important;
    }
}

    /* Page de connexion */
    .connexion-password-box {
        margin-bottom: 5px;
    }

    .connexion-right-section {
        display: flex;
    }

    .connexion-button {
        margin-bottom: unset;
        margin-right: 20px;
    }

    .section-text-center {
        text-align: center;
    }

    .connexion-page-subtitle {
        font-size: 20px;
        margin-bottom: 50px;
    }

    .log-in-url {
        text-decoration: underline;
    }

    /* Confirmation D'abonnement */
    .subscription-confirmation-container {
        display: flex;
        align-items: center;
        text-align: center;
    }

        .subscription-confirmation-container h1 {
            margin-bottom: 40px;
        }

        .subscription-confirmation-container h4 {
            margin-bottom: 40px;
        }

    /* Création de compte */
    .create-user-button {
        color: #fff;
        float: left;
        background-color: #561414;
        border-color: #561414;
        margin-left: -5px;
    }

    .container .row-padding {
        padding-left: 15px;
    }

    .hidden-element {
        display: none !important;
    }

    .element-float-left {
        float: left;
    }

    .pr-2.pb-3.element-float-left label {
        margin-top: .5rem;
    }

    .create-user-container {
        width: 100%;
    }

    .create-user-form {
        display: flex;
    }

    .create-user-left {
        width: 50%;
        border-right: 1px solid black;
    }

    .create-user-left input {
        max-width: 300px;
    }

    .create-user-left-title h3 {
        font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
        font-size: 30px;
        padding-bottom: 25px;
        padding-top: 15px;
    }

    .create-user-right {
        width: 50%;
        border-left: 1px solid black;
        display: flex;
        flex-direction:column;
        align-items: center;
    }

    .create-user-right-title h3 {
        font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
        font-size: 30px;
        padding-bottom: 25px;
        padding-top: 15px;
    }

    .create-user-right a {
        font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
        font-weight: 400;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 10px;
    }

    @media (max-width: 768px) {
        .create-user-form {
            flex-direction: column;
        }

        .create-user-right {
            width: 100%;
            border-left: none;
            margin-top: 25px;
            align-items: unset;
        }

        .create-user-left {
            width: 100%;
            border-right: none;
        }
    }

    /* Page outils */
    .outils-image {
        width: 100%;
        margin-top: 35px;
    }

        .outils-image img {
            display: block;
            width: 100%;
        }

    .outils-category-title {
        font-weight: bold;
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 10px;
        font-weight: bold;
    }

    .outils-category-title-container {
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: -10px;
        background-color: #ebebeb;
    }

    .more-info-button-container {
        text-align: right;
    }

    .button-fixed-size {
        width: 145px;
    }

    .button-fixed-size-larger {
        width: 175px;
    }

    @media (max-width: 992px) {
        .button-container .more-info-button-container {
            text-align: left
        }
    }

    /* Pages d'outils spécifiques */

    .grey-text {
        color: #495057;
    }

        .grey-text:hover {
            color: #495057 !important;
        }

    .nav-item.grey-text .nav-link {
        color: #495057;
    }

        .nav-item.grey-text .nav-link:hover {
            color: #495057;
        }

    .ressemblance-flex-box {
        display: flex;
        padding-left: unset;
    }

    .notice {
        position: relative;
        display: inline-block;
    }

        .notice .icon {
            display: inline-block;
            position: relative;
            transition: all .15s ease;
        }

        .notice .content {
            display: none;
            position: absolute;
            top: 85%;
            left: calc(-175px - 8px);
            width: 450px;
            padding: 10px 12px;
            font-size: 13px;
            line-height: 1.35em;
            color: black;
            background-color: white;
            border-radius: 2px;
            box-shadow: 0 0 10px rgba(0,0,0,.25);
            z-index: 100;
        }

        .notice:hover .icon {
            color: #333;
        }

        .notice:hover .content {
            display: block;
        }

    .ressemblance-checkbox {
        padding-left: 10px;
    }

    .outils-search-buttons-container {
        max-width: 435px;
    }

        .outils-search-buttons-container .btn-outline-secondary {
            height: 48px;
        }

    .margin-top-1rem {
        margin-top: 1rem;
    }

    .dirviewer-tooltipbox {
        margin-top: 50px;
    }

    /* NAVBAR AND FOOTER */
    .titreDansMenu {
        margin-left: 12px;
        color: rgba(0,0,0,.5);
    }

    .custom-toggler .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
    }

    .custom-toggler .navbar-toggler {
        border-color: rgb(255,255,255);
    }

    .dropdown-menu-tools {
        max-height: 91vh;
        overflow-y: auto;
    }

    .dropdown-menu .dropdown-item {
        font-size: 12pt;
    }

    .navbar-lower {
        margin-top: 77px !important;
    }

    .navbar .navbar-collapse.collapse.show .navbar-last-element {
        margin-bottom: 20px !important;
    }

    .navbar .navbar-collapse.collapse.show .nav-right-side {
        border-top: 1px solid rgba(0,0,0,.1);
        margin-top: 5px;
        padding-top: 10px;
    }

    .navbar .navbar-collapse.collapse.show .btn-login {
        margin-left: -4px;
    }

    .navbar-nav .dropdown-toggle::after {
        display: none;
    }

    .navbar-nav .nav-link:hover {
        color: #C44931 !important;
    }

    .navbar .nav-link {
        font-size: 12pt;
    }

    .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
        background-color: unset;
        color: white !important;
        border: 1px solid white;
    }

    .dropdown-menu-tools::-webkit-scrollbar-thumb {
        border-radius: 10px;
        box-shadow: inset 0 0 6px rgba(0,0,0,.3);
        background-color: #737272;
        border: 1px solid #000;
    }

    .navbar-brand img {
        height: 50px;
    }

    .btn-deconnection {
        border-top: 1px solid #D1D1D1;
    }

    .outils-subtitles {
        background-color: #ebebeb;
    }

.login-panel {
    width: 28%;
}

.btn-login {
    background-color: white;
    border-radius: 4px;
    color: black;
    border: 2px solid #C44931;
    margin-right: 10px;
}

    a.btn.btn-login {
        font-family: 'Open_Sans_regular',sans-serif;
        font-size: 11pt;
        font-weight: bold;
    }

    a.btn-login:hover {
        background-color: #C44931;
        color: white;
    }

    .btn-logout {
        background-color: white;
        border-radius: 4px;
        color: darkgrey;
        border: 2px solid lightgrey;
    }

    a.btn-logout:hover {
        background-color: lightgrey;
        color: white;
    }

    .navbar .nav-other {
        margin-left: 20px;
        padding: 0;
    }

    .nav-other {
        display: inline-block;
        vertical-align: middle;
        font-size: 16px;
    }

    .margin-top-bottom-auto {
        margin-top: auto !important;
        margin-bottom: auto !important;
    }

    .footer-section {
        background-color: #ebebeb;
        font-size: 13px;
        padding: 35px 0 30px 0;
        margin-top: 50px;
    }

        .footer-section h6 {
            font-size: 16px;
            /*color: rgba(255,255,255,0.6);*/
            line-height: 1.4;
            font-weight: 400;
        }

        .footer-section a {
            margin-bottom: 3px;
            color: inherit;
            text-decoration: none;
            outline: 0;
            background-color: transparent
        }

    @media (max-width: 768px) {
        .footer-mobile {
            text-align: center;
        }

        #footer-services {
            margin-top: 25px;
        }

        #footer-socials {
            margin-top: 25px;
        }

        #footer-contact {
            margin-top: 25px;
        }

        .navbar-lower {
            margin-top: 181px !important;
        }
    }

    .copyright-section {
        text-align: center;
    }

    .footer-link-spotlight {
        color: #C44931;
        font-weight: bold;
    }

    .navbar .nav-item {
        margin-right: 1rem !important;
        font-weight: 500;
    }

    .navbar {
        min-height: 65px;
        background-color: #561414 !important;
    }

        .navbar .nav-item .nav-link {
            color: white;
        }

    .navbar-btn.btn-login {
        background-color: #561414;
        color: white;
    }

    .nav-right-side {
        margin-left: auto;
        margin-right: unset !important;
    }

    .footer-link:hover {
        text-decoration: underline;
    }

    .pre-footer-div {
        margin-bottom: auto;
    }

    /* closable card */

    .close-icon {
        cursor: pointer;
        margin-right: 5px;
    }

    .card-close-button {
        text-align: right;
        background-color: #81A7B2;
        color: white;
    }

    .closable-card-link {
        color: white;
    }

.closable-card-text {
    margin-left: 15px;
    margin-right: 15px;
    font-size: 19px;
    margin-top: -8px;
}

    .tooltipbox-special-text {
        color: red;
    }

@media (max-width: 870px) {
    .sw-top-banner {
        min-height: unset;
    }
    .closable-card-text {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 18px;
    }
}


.documents-main-section {
    padding-top: 0px;
    height: 600px;
    padding-bottom: 0px;
}

    .documents-section {
        display: flex;
        flex-direction: row;
        justify-content: center;
        background-color: #eae6e0;
        height: 100%;
    }

    .documents-section-left {
        width: 40%;
        background-image: url('../Pages/images/image_documents.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .documents-section-right {
        width: 38%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .documents-section-right .title {
        text-align: center;
        font-family: 'Open_Sans_regular',sans-serif;
        font-weight: 600;
        line-height: 0.9;
        margin-bottom: 55px;
        width: 86%;
    }

    .documents-section-right .title-sub {
        text-align: center;
        font-family: 'Open Sans',sans-serif;
        line-height: 1.2;
        font-size: 20px;
    }

    .outils-main-section {
        padding-top: 0px;
        height: 600px;
        padding-bottom: 0px;
    }

    .outils-section {
        display: flex;
        flex-direction: column;
        background-color: #2c2f36;
        height: 100%;
        align-items: center;
        justify-content: center;
    }

    .outils-section-top {
        height: 30%;
        width: 100%;
        color: #81a7b3;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Open_Sans_regular',sans-serif;
    }

    .outils-section-top .title {
        font-weight: 600;
        text-align: center;
    }

    .outils-section-bottom {
        height: 50%;
        width: 90%;
        display: flex;
        flex-direction: row;
        align-content: center;
    }

    .outils-section-bottom-item {
        display: flex;
        flex-direction: row;
        width: 100%;
    }

    .outils-section-bottom-item-text {
        margin-left: 95px;
        font-size: 17px;
        margin-right: 60px;
    }

    .outils-section-bottom-item-content {
        display: flex;
        flex-direction: column;
        color: white;
    }

    .outils-section-bottom-item-title-icon {
        height: 90px;
        width: 95px;
    }

    .outils-section-bottom-item-title {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .outils-section-bottom-item-title-text {
        font-size: 32px;
        font-weight: bold;
        font-family: 'Open Sans',sans-serif;
    }

    .outils-section-bottom-item-title-icon.icon-item1 {
        background-image: url('../Pages/images/icones-donnees.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .outils-section-bottom-item-title-icon.icon-item2 {
        background-image: url('../Pages/images/icones-recherche.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .outils-section-bottom-item-title-icon.icon-item3 {
        background-image: url('../Pages/images/icones-qualite.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .outils-section-bottom-item-title-icon.icon-item4 {
        background-image: url('../Pages/images/icones-communaute.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .cta-main-section {
        padding-top: 0px;
        height: 345px;
        padding-bottom: 0px;
    }

.cta-section {
    background-image: url('../Pages/images/image_call_to_action.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-homepage-cta {
    background-color: #C44931;
    color: white !important;
    font-size: 30px;
    font-family: 'Open Sans',sans-serif !important;
    padding-bottom: 10px;
}

@media (max-width: 992px) {
    .documents-section-left {
        width: 50%;
    }
    .documents-section-right {
        width: 50%;
    }

    .header-container {
        text-align: center;
    }

    .sub-text-abo {
        
    }
}

@media (max-width: 768px) {
    .documents-section-left {
        display: none;
    }

    .documents-section-right {
        width: 90%;
    }

    .outils-section-top .title {
        font-size: 35px;
    }

    .outils-section-bottom-item {
        width: 100% !important;
    }
}

@media (max-width: 1393px) {
    .outils-section-bottom-item {
        width: 50%;
    }

    .outils-section-bottom {
        flex-wrap: wrap;
    }

    .outils-section {
        padding-top: 50px;
        padding-bottom: 50px;
        min-height: 600px;
    }

    .outils-main-section {
        height: auto;
    }
}

@media (max-width: 1393px) {
    .outils-main-section {
        min-height: 600px;
    }
}


/* Elastic Search */
/* search fields */
.search-page-header {
    height: 30px;
    display: flex;
    flex-direction: row;
    justify-content: right;
    width: 100%;
    align-items: center;
}

.search-page-header .btn {
    margin-right: 20px;
}

.search-page-header .button-details {
    width: unset;
}

.date-fields-container {
    display: flex;
    flex-direction: row;
}

.search-page-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: -50px;
    background-color: #eae6e0;
    min-height: 100vh;
}

.search-page-main-search-container {
    width: 1270px;
    padding-bottom: 30px;
}

.search-page-main-rubriques-container {
    width: 1270px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.rubriques-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 30px;
}

.rubrique-container {
    width: 50%;
    height: 273px;
    border-radius: 10px;
    background-color: #F8F7F4;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 25px;
    padding-top: 20px;
}

.rubrique-container-first-column {
    margin-right: 30px;
}

.rubrique-main-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.rubrique-container-left {
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rubrique-container-right {
    width: 30%;
    display: flex;
    justify-content: center;
}

.rubrique-title {
    color: #561414;
    font-weight: bold;
    font-size: 18px;
    border-bottom: 1px solid;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.rubrique-text {
    font-size: 14px;
}

.rubrique-image {
    height: 170px;
    width: 170px;
    border: 1px solid rgba(86, 20, 20, 0.6);
    opacity: 0.6;
}

.rubrique-quote {
    padding-top: 10px;
    font-size: 13px;
}

.rubrique-link a {
    color: #561414;
}

.search-page-main-search-container-title {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 40px;
}

.search-page-main-search-container-title h1 {
    font-weight: bold;
}

.search-page-main-search-container-fields {
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 5px;
    border-radius: 10px;
}

.search-page-main-search-container-fields-row {
    display: flex;
    flex-direction: row;
    padding-top: 15px;
}

.search-page-main-search-container-fields-row-2 {
    display: flex;
    flex-direction: row;
    padding-bottom: 10px;
}

.search-page-main-search-container-fields-row-1-fields {
    width: 50%;
    padding-right: 25px;
}

.search-page-main-search-container-fields-row-1-birth-field {
    padding-right: 25px;
    display: flex;
}

.search-page-main-search-container-fields-row-1-location-field {
    width: 100%;
    padding-right: 25px;
}

.search-page-main-search-container-fields-row-1-birth-subfield {
    width: 100%;
}

#txtBirthYear {
    border-right: none;
}

.search-fields-invalid {
    display: none;
}

.search-fields-invalid-show {
    display: block !important;
}

.search-fields-invalid-message {
    color: red
}

.search-limit-reached {
    display: none;
}

.search-limit-reached-show {
    display: block !important;
}

.search-limit-reached-message {
    color: red
}

.search-page-main-search-container-fields-single {
    display: flex;
    flex-direction: column;
}

    .search-page-main-search-container-fields-single label {
        font-weight: bold;
    }

    .search-page-main-search-container-fields-single input {
        height: 40px;
        border: 1px solid #561414;
        padding-left: 10px;
    }

    .search-page-main-search-container-fields-single select {
        height: 40px;
        margin-left: 5px;
        border: 1px solid #561414;
        background-color: white;
    }

@media (max-width: 1630px) {
    .search-page-main-search-container {
        margin-left: 50px;
        margin-right: 50px;
    }
    .search-page-main-rubriques-container {
        margin-left: 50px;
        margin-right: 50px;
    }
}



@media (max-width: 1250px) {
    .search-page-main-search-container {
        margin-left: 50px;
        margin-right: 50px;
        width: unset;
    }
    .search-page-main-rubriques-container {
        margin-left: 50px;
        margin-right: 50px;
        width: unset;
    }
    .rubriques-row {
        flex-direction: column;
    }
    .rubrique-container {
        width: unset;
        margin-bottom: 30px;
    }
    .rubrique-container-first-column {
        margin-right: unset;
    }
    .search-page-main-search-container-fields-row-1-location-field {
        padding-right: unset;
    }
}

@media (max-width: 1145px) {
    .search-page-main-search-container-fields-row {
        flex-direction: column;
    }

    .search-page-main-search-container-fields-row-1-fields {
        width: 100%;
        padding-right: unset;
    }

    .search-page-main-search-container-fields-row-1-birth-field {
        flex-direction: column;
    }

    .search-page-main-search-container-fields {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 1000px) {
    .search-result-list {
        flex-direction: column !important;
    }
    .search-result-list-filters {
        width: 100% !important;
        max-height: 40px;
        overflow: hidden;
    }
    .search-result-list-filters.filters-expanded {
        max-height: unset;
    }

    .search-result-list-results {
        width: 100% !important;
    }
}

@media (min-width: 1001px) {
    .show-filters {
        display: none;
    }
    .hide-filters {
        display: none;
    }
}

/* result list*/
.result-item {
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
    justify-content: space-between
}

.result-item-left {
    width: 20%;
    color: #561414;
    opacity: 85%;
}

.result-item-right {
    width: 75%;
}

.filter-row-collection-number {
    padding-left: 15px;
}

.search-result-list {
    background-color: #eae6e0;
    display: flex;
    flex-direction: row;
}

.search-result-list-filters {
    border-radius: 10px;
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 4px;
    padding-bottom: 20px;
    display: none;
    flex-direction: column;
    align-self: flex-start;
    width: 25%;
}

    .search-result-list-filters.filled {
        border: 1px solid #561414;
        margin-bottom: 15px;
        display: flex;
        margin-top: 29px;
    }

.filters-hidden {
    display: none;
}

.show-filters {
    color: black;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

    .show-filters:hover {
        color: #561414;
    }

.hide-filters {
    color: black;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

    .hide-filters:hover {
        color: #561414;
    }

.search-result-list-results {
    width: 75%;
    padding-left: 40px;
}

.search-result-list-results.search-result-list-results-empty {
    width: 100%;
    padding-left: unset;
}

.filter-title {
    padding-top: 15px;
    color: #561414;
}

    .filter-title h5 {
        font-weight: bold !important;
        font-family: 'Open Sans', sans-serif !important;
    }

.filter-row {
    display: flex;
    font-size: 14px;
    margin-bottom: 7px;
    line-height: 21px;
}

.filter-row-collection {
    width: 100%;
    margin-right: 5px;
}

.filter-row-number {
    
}

.filter-clear {
    cursor: pointer;
    font-weight: 700;
    color: #508591;
    font-size: 20px;
    transform: scaleX(1.5);
}

.div-matches-found {
    height: 25px;
    display: flex;
    justify-content: right;
    font-size: 14px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.div-matches-found b {
    padding-right: 5px;
}

.button-details {
    width: 96px;
    height: 30px;
    padding-top: 2px;
    font-weight: bold;
    margin-top: 5px;
    font-family: 'Open Sans', sans-serif !important;
    border-radius: unset;
}

.result-list-subject-name {
    color: #561414;
    font-weight: bold;
    font-size: 18px;
    border-bottom: 1px solid;
    padding-bottom: 8px;
}

.result-list-collection-name {
    color: #561414;
    font-size: 13px;
    padding-bottom: 17px;
    padding-top: 5px;
}

.result-list-info {
    flex-direction: row;
}

.record-container {
    padding: 10px;
    margin-bottom: 15px;
    background-color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.record-container-top {
    display: flex;
    flex-direction: row;
}

.result-opened-date {
    color: #561414;
    font-size: 13px;
}

.record-container-infos {
    display: flex;
    flex-direction: row;
}

.record-container-left {
    width: 88%;
}

.record-container-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 35px;
    padding-left: 10px;
}

.prev-next-button-disabled {
    pointer-events: none;
    color: #d3d3d3;
}

.select-container {
    position: relative;
    display: inline-block;
    width: 58px; /* Adjust width to accommodate both select and arrow div */
    height: 30px;
}

.page-size-dropdown {
    position: absolute;
    width: 62px; /* Width of the select */
    height: 30px; /* Height of the select */
    border: 1px solid #561414;
    background-color: #eae6e0;
    color: #000;
    padding-left: 4px;
    padding-right: 4px;
    text-align: center;
}

.select-arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px; /* Width of the arrow area */
    height: 30px; /* Same height as the select */
    background-color: #561414;
    color: white;
    text-align: center;
    line-height: 30px; /* Center the arrow vertically */
    font-size: 12px;
    user-select: none;
}

/* Default style for the filter link */
#showFilterLink {
    display: none;
}

/* Style for screens smaller than 1000px */
@media (max-width: 1000px) {
    .search-result-list-filters:not(.filled) {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .search-result-list-filters.filled #showFilterLink {
        display: block; /* Show the link when filters are collapsed */
    }
}

/* Style for screens larger than 1000px */
@media (min-width: 1001px) {
    .search-result-list-filters {
        max-height: none; /* Remove the max-height restriction for larger screens */
        opacity: 1;
    }
}

@media (max-width: 1450px) {
    .filter-row {
        flex-direction: row;
    }

    .filter-row-collection {
        width: 100%;
    }

    .filter-row-collection-number {
        
    }

    .filter-row-number {
        
    }

    .search-result-list-filters {
        padding-right: 20px;
        padding-left: 20px;
    }

    .filter-row-collection {
    }
}

@media (max-width: 600px) {
    .record-container-infos {
        flex-direction: column;
    }

    .record-container-top {
        display: flex;
        flex-direction: column;
    }

    .record-container-left {
        width: 100%;
    }

    .record-container-right {
        width: 100%;
        padding-top: 25px;
    }

    .result-item {
        margin-bottom: 10px;
    }

    .search-page-main-search-container {
        margin-left: 20px;
        margin-right: 20px;
    }
    .search-page-main-rubriques-container {
        margin-left: 20px;
        margin-right: 20px;
    }
}

.slider-container {
    position: relative;
}

.slider-container-main {
    display: flex;
    flex-direction: row;
}

.slider-tooltip {
    padding-top: 3px;
}

.slider-value-container {
    display: none;
}

#broadnessRange {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    background: #d3d3d3;
    outline: none;
    z-index: 0;
    position: relative;
}

    #broadnessRange::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 0;
        height: 0;
        background: none;
    }

    #broadnessRange::-moz-range-thumb {
        width: 0;
        height: 0;
        background: none;
    }

.ticks {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    top: 11px;
    z-index: 2;
}

.tick {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #561414;
    box-shadow: 0px 0px 2px #000;
    z-index: 2;
}

.custom-thumb {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border: 5px solid #561414;
    border-radius: 50%;
    top: 5px; /* Adjust this value to vertically center the thumb */
    z-index: 3;
    transition: left 0.3s ease; /* Adding transition for smooth sliding */
}

.slider-tag {
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 5px;
    font-size: 13px;
}

.slider-tag.slider-tag-right {
    padding-right: 10px;
}

    .slider-tag.slider-tag-left {
        padding-left: 0px;
    }

.info-prompt {
    display: flex;
    flex-direction: column;
}

    .info-prompt label {
        margin-left: 15px;
        margin-right: 15px;
    }

.toggleDateRangeBtn,
#toggleDateRange {
    border-top: 1px solid #561414;
    border-right: 1px solid #561414;
    border-bottom: 1px solid #561414;
    border-left: none;
    background-color: white;
}

#toggleDateInfo {
    background-color: white;
    margin-left: 10px;
}

#toggleLocationInfo {
    background-color: white;
    margin-left: 10px;
}

#dateRangeInfos {
    width: 200px;
}

#locationInfos {
    width: 200px;
}

#btnSearch {
    margin-bottom: 10px;
}

.btn-search-row {
    justify-content: space-between;
    margin-bottom: 15px;
    height: 45px;
    flex-direction: row;
    align-items: center;
}

.beta-buttons {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    text-align: right;
    margin-top: 15px;
    margin-bottom: 30px;
}

.beta-buttons-link {
    color: #561414;
}

.record-container.search-no-result {
    background-color: unset;
    text-align: center;
    font-weight: bold;
    padding-top: 20px;
    display: block;
}
/**************/
/* Details pages*/
.details-page-fa {
    width: 20px;
}

.tablinks {
    font-weight: bold;
    color: black;
    margin-right: 20px;
    padding-bottom: 3px;
}

    .tablinks:hover {
        color: initial;
        text-decoration: none;
    }

    .tablinks.active {
        color: initial;
        border-bottom: 2px solid #508591;
    }

.tab-container {
    padding-top: 25px;
    padding-bottom: 20px;
}

#Source.tabcontent {
    font-size: 14px;
    border-top: 1px solid #561414;
    padding-top: 10px;
}

.source-texte-bottom {
    padding-bottom: 20px;
}

.details-page-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: -50px;
    background-color: #eae6e0;
    min-height: 100vh;
}

.details-page-container {
    width: 1270px;
}

.details-page-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 15px;
    background-color: white;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px;
}

.details-page-header-subject {
    border-bottom: 1px solid #561414;
    padding-top: 10px;
}

    .details-page-header-subject h1 {
        font-weight: bold;
    }

.details-page-header-other {
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.details-page-header-buttons {
    display: none;
}

.details-page-header-buttons .button-details {
    color: white !important;
}

.details-page-main-section {
    display: flex;
    flex-direction: row;
    margin-bottom: 15px;
}

.details-page-main-section-left {
    width: 50%;
    background-color: white;
    margin-right: 15px;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 25px;
    padding-bottom: 25px;
    align-self: flex-start;
    border-radius: 10px;
}

.details-page-main-section-right {
    background-color: white;
    padding-left: 25px;
    padding-right: 25px;
    width: 100%;
    margin-bottom: 13px;
    padding-bottom: 25px;
    border-radius: 10px;
}

    .details-page-main-section-right-main {
        width: 50%;
    }

    .details-page-main-section-left-picture {
        width: 100%;
    }

    .details-page-main-section-left-picture img {
        max-width: 100%;
        height: auto;
    }

.details-page-main-section-left-up {
    border-bottom: 1px solid #561414;
    padding-bottom: 25px;
}

.details-page-main-section-left-down {
    padding-top: 10px;
    border-top: 1px solid #561414;
    margin-top: 40px;
}

.carousel-cell {
    width: 100%;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-cell img {
    display: block;
    max-height: 500px;
}

.detailed-result-row {
    border-top: 1px solid #561414;
    padding-bottom: 10px;
    padding-top: 10px;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    justify-content: space-between
}

.detailed-result-row-left {
    width: 30%;
    color: #561414;
    opacity: 85%;
}

.detailed-result-row-right {
    width: 60%;
}

.pagination-container {
    border-top: 1px solid #561414;
    margin-top: 25px;
    padding-top: 10px;
    display: flex;
    flex-direction: row;
}

.pagination-container-left {
    width: 100%;
    justify-content: center;
    display: flex;
}

.pagination-container-right {
    display: flex;
    flex-direction: row;
    align-items: center; /* Align items vertically */
}

.pagination-container-right > span {
    white-space: nowrap; /* Prevent the text from wrapping */
    padding-right: 10px;
}

.page-number {
    color: black;
    margin-right: 20px;
}

    .page-number:hover {
        color: #561414;
    }

    .page-number.selected {
        font-weight: bold;
        border: 1px solid #561414;
        padding-left: 7px;
        padding-right: 7px;
        margin-left: -3px;
        margin-right: 13px;
    }

.pagination-delimiter-right {
    color: #561414;
    border-left: 1px solid #561414;
    margin-right: 10px;
}

.pagination-delimiter-left {
    color: #561414;
    border-left: 1px solid #561414;
    margin-left: 10px;
    margin-right: 20px;
}

@media (max-width: 725px) {
    .pagination-delimiter-right {
        display: none;
    }

    .pagination-delimiter-left {
        display: none;
    }

    #previous-btn {
        display: none;
    }

    #pagination-next-btn {
        display: none;
    }

    #pagination-previous-btn {
        display: none;
    }

    .result-item-left {
        width: 30%;
    }

    #txtBirthYear {
        width: 100%;
    }

    .slider-container {
        width: 100%;
    }

    .search-page-main-search-container-fields-row-1-birth-field {
        padding-bottom: 15px;
    }

    .record-container-infos {
        flex-direction: column;
    }

    .result-list-image {
        padding-top: 25px;
    }

    .search-result-list-results {
        padding-left: 0px;
    }

    .search-page-main-search-container-fields-row-2 {
        flex-direction: column;
    }

    .search-page-main-search-container-fields-row-1-birth-field {
        padding-right: unset;
        padding-top: 20px;
    }

    .rubrique-main-content {
        flex-direction: column;
    }

    .rubrique-container {
        height: unset;
    }

    .rubrique-container-left {
        width: unset;
        padding-bottom: 20px;
    }

    .rubrique-container-right {
        width: unset;
    }

    .rubriques-row {
        padding-bottom: 0px;
    }

    .rubrique-text {
        padding-bottom: 0px;
    }

    .rubrique-link-container {
        padding-top: 30px;
    }
}

main-search-button {
    margin-top: unset;
}

.detailed-page-deceased {
    font-style: italic;
    font-size: 12px;
}

.details-page-hyperlink {
    color: #508591 !important;
}

@media (max-width: 1450px) {
    .details-page-container {
        width: 992px;
    }
}

@media (max-width: 850px) {
    .details-page-container {
        width: 90%;
        margin-left: 10px;
        margin-right: 10px;
    }

    .details-page-main-section {
        flex-direction: column;
    }

    .details-page-main-section-left {
        width: 100%;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .details-page-main-section-right {
        width: 100%;
        margin-bottom: 50px;
        padding-bottom: 50px;
    }

    .details-page-main-section-right-main {
        width: 100%;
    }
}

@media (max-width: 550px) {
    .details-page-container {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}
/****************/

/***PROFILE PAGE***/
.profile-page-content {
    background-color: white;
}
.profile-page-content {
    border-radius: 10px;
}

.profile-page-content {
    padding-left: 30px;
    padding-top: 5px;
    padding-right: 30px;
}

.profile-page-content .tabcontent table {
    margin-left: 15px !important;
    margin-right: unset !important;
    margin-top: 10px;
}

.profile-facturation-button {
    margin-top: 10px;
    margin-bottom: 20px;
}

.profile-facturation-button a {
    margin-left: unset;
}
/******************/

/******************/
/*Advanced Search*/



.advanced-search-container {
    display: none;
}

.advanced-search-container-main {
}

.search-arrow-up {
    display: inline-block;
    transform: rotate(180deg);
    margin-left: 5px;
}

.advanced-filter-option {
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 15px;
    background-color: #f7f7f7;
    border-radius: 15px;
    cursor: pointer;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 3px #00000029;
}

.advanced-filter-option.active {
    border: 1px solid #561414;
    pointer-events: none;
    cursor: default;
}

.advanced-search-relation-label {
    color: #51433a;
    width: 180px;
    display: flex;
    justify-content: right;
    margin-right: 20px;
    margin-bottom: 40px;
}

.as-filter-div {
    display: none;
}

.txtYear {
    border-right: none !important;
    width: 130px;
    border-left: 1px solid #707070 !important;
    border-bottom: 1px solid #707070 !important;
    border-top: 1px solid #707070 !important;
}

.txtLocation {
    border: 1px solid #707070;
}

.txt-indiv {
    color: #51433a;
    width: 330px;
    height: 70px;
}

.exact-check-input {
    height: 12px !important;
    margin-top: 5px;
    box-shadow: 0px 2px 3px #00000029;
    transform: scale(1.3);
}

.exact-check-label {
    margin-top: 5px;
    margin-left: 3px;
    margin-bottom: 7px;
    margin-right: 5px;
    font-weight: normal !important;
    font-size: 12px;
    color: #a09998;
}

.ac-toggle-container {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    text-align: center;
}

.search-toggle-btn {
    color: #561414;
    font-weight: bold;
    text-decoration: none;
    margin-left: 20px;
}
    .search-toggle-btn:hover {
        color: #561414;
        text-decoration: none;
    }

.search-toggle-arrow {
    color: #561414;
    font-weight: normal;
}

.ac-toggle-bar-left {
    display: flex;
    align-items: center;
}

.ra-add-event {
    display: flex;
    align-items: center;
    margin-right: 10px;
    color: #51433a;
}

.ra-add-indiv {
    display: flex;
    align-items: center;
    margin-right: 10px;
    color: #51433a;
}

.ra-annee {
    color: #51433a;
}

.ra-lieu {
    color: #51433a;
    width: 500px;
}

.filter-clear-2 {
    cursor: pointer;
    color: #561414;
    margin-left: 15px;
    margin-bottom: 35px;
}

.ra-add-event-container {
    display: flex;
    margin-bottom: 10px;
}

.ra-add-indiv-container {
    margin-top: 20px;
}

.ra-events-container {
    display: flex;
}

.ra-add-indiv-container {
    display: flex;
    margin-bottom: 10px;
}

.ra-indivs-container {
    display: flex;
}

.ra-added-fields-container {
    display: flex;
    align-items: flex-start;
}

.ra-added-fields-container-left {
    display: flex;
    align-items: center;
}

.ra-search-field-container {
    margin-right: 20px;
}

.ra-search-field {
    border: 1px solid black;
}

.ra-toggleDateRangeBtn {
    border-top: 1px solid #707070;
    border-right: 1px solid #707070;
    border-bottom: 1px solid #707070;
    border-left: none;
    background-color: white;
    color: #a09998;
}

.ra-events-header {
    width: 900px;
}

.ra-annee-header {
    width: 330px;
}

.ra-lieu-header {
    width: 500px;
}

.mobile-as-search-button-container {
    
}

@media (max-width: 590px) {
    .ra-lieu {
        width: 275px;
    }
}

/* Top Banner Sitewide */

.sw-top-banner {
    width: 100%;
    min-height: 60px;
    background-color: #441010;
    border-radius: unset;
    display: none;
    flex-direction: row;
}

.sw-top-banner a {
    color: white;
}
    .sw-top-banner a:hover {
        text-decoration: none;
    }

.nav-main-container {
    display: flex;
    flex-direction: column;
}

.container-with-banner {
    margin-top: unset !important;
}

.container-with-banner-2 {
    margin-top: 60px !important;
}

.card-block.text-center {
    width: 100%;
    margin-top: unset;
    margin-bottom: unset;
    display: flex;
    align-items: center;
    justify-content: center;
}