/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

/* ================= HEADER ====================== */




* {
    margin: 0;
    padding: 0;
}

a, a:link, a:hover, a:active {
    text-decoration: none;
}


.text_capitalize {
    text-transform: capitalize !important;
}



/* ========================*/
/*          header         */
/*=========================*/

.container-header {
    background-color : #dadada;
    position: relative;
    margin-top: 30px;
    margin-bottom: 20px;
    padding: 7px 0;

}

.navbar-logo img {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}

.header-navbar {
    
    display:-webkit-box;
    
    display:-ms-flexbox;
    
    display:flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    width: 87%;
    margin: auto;

}

.header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    width: calc(100% - 144px);
}

.header-logo-search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width: 80%;
}

#logo-text {
    display: block;
    height: 50px;
}

.header-logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    font-size: 23px;
    padding-left: 5px;
}

.header-logo-forces {
    width: 100%;
    color: #6a747b;
    height: 20px;
}

.header-logo-libre {
    width: 100%;
    color: #c02025;
    height: 20px;

}

.header-logo-forces, .header-logo-libre {
    /* font-family: 'Poppins', sans-serif; */
    font-weight: 600;
}


.header-search-by-input, .header-block-search-more-options {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.header-block-search-more-options a {
    margin: auto;
}

.header-search-by-input {
    margin: auto;
    width: 400px;
    height: 40px;
}

.header-search-input {
    vertical-align: middle;
    border-radius: 4px 0 0 4px;
    border: solid 1px #163d82;
}

input {
    font-weight: bold;
    color: #163d82;
    padding-left: 15px;
    font-size: 15px !important;
}

.header-search-input::-webkit-input-placeholder {
    color: #163d82;
    opacity: 0.8;
    font-size: 18px;
    font-weight: lighter;
    /* margin-left: 20px; */
    /* padding-left: 10px; */
}

.header-search-input::-moz-placeholder {
    color: #163d82;
    opacity: 0.8;
    font-size: 18px;
    font-weight: lighter;
    /* margin-left: 20px; */
    /* padding-left: 10px; */
}

.header-search-input:-ms-input-placeholder {
    color: #163d82;
    opacity: 0.8;
    font-size: 18px;
    font-weight: lighter;
    /* margin-left: 20px; */
    /* padding-left: 10px; */
}

.header-search-input::-ms-input-placeholder {
    color: #163d82;
    opacity: 0.8;
    font-size: 18px;
    font-weight: lighter;
    /* margin-left: 20px; */
    /* padding-left: 10px; */
}

.header-search-input::placeholder {
    color: #163d82;
    opacity: 0.8;
    font-size: 18px;
    font-weight: lighter;
    /* margin-left: 20px; */
    /* padding-left: 10px; */
}

.input-for-header-search {
    width: calc(100% - 40px);
}

.header-search-loupe , .loupe-block-home{
    display: inline-block;
    position: relative;
    width: 40px;
    height: 100%;
    vertical-align: middle;
    background-color: #163d82;
    border-radius: 0 5px 5px 0;
}

.header-search-loupe img, .loupe-block-home img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

.header-search-more-options {
    font-size: 20px;
    text-decoration: underline !important;
    color: #163d82 !important;
}

.header-block-search-more-options {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

@media only screen and (max-width: 1250px) {
    .container-header {
        margin-top: 0;
        padding: 20px 0 7px 0;
        margin-bottom: 0;
    }

    .navbar-logo img {
        left: 0;
    }
    .header-logo-search {
        width: 70%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
    #logo-text {
        width: 100%;
        height: 30px;
    }
    .header-logo {
        width: 95%;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
    }
    .header-logo-forces {
        padding-right: 10px;
        text-align: right;

    }

    .header-block-search-more-options {
        -webkit-box-align: end;
            -ms-flex-align: end;
                align-items: flex-end;
    }
    .header-block-search-more-options a {
        margin: 0;
    }

}

@media only screen and (max-width: 1065px) {
    .header-navbar {
        width: calc(100% - 200px);
        margin-left: 158px;
        margin-right: 42px;
        
        -webkit-box-pack: left;
        
            -ms-flex-pack: left;
        
                justify-content: left;
    }
    .header {
        width: 100%;
    }

    .header-logo {
        display: block;
        width: auto;
        padding: 0;
    }

    .header-logo-search {
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
    }

    .header-logo-forces, .header-logo-libre {
        display: inline;
        margin: 0;
        padding: 0;
    }
    .header-search-by-input {
        margin: 0;
    }

    

}

@media only screen and (max-width: 870px) {

    .header-navbar {
        width: calc(100% - 17vw);
        margin-left: 17vw;
        /* margin-right: 20px; */
    }
    
    .header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .header-logo-search {
        width: 100%;
    }
    .navbar-logo img {
        top: 5px;
        left: 5px;
        width: 15vw;
        min-width: 70px;
        -webkit-transform: translate(0);
            -ms-transform: translate(0);
                transform: translate(0);
    }

    .header-logo {
        width: 100%;
        font-size: 3vw;
    }

    #logo-text {
        height: auto;
    }

    .header-search-by-input {
        width: 80%;
    }

    .header-search-input {
        width:80%;
    }


}

@media only screen and (max-width: 650px) {
    .container-header {
        padding-top : 10px;
    }

    .header-search-by-input {
        height: 35px;
    }
}

@media only screen and (max-width: 500px) {

    .header-navbar {
        /* font-size: 2vw; */
        margin-left: 90px;
    }

    .header-search-by-input {
        height: 30px;
    }

    .header-search-more-options {
        font-size: 15px;
    }
}


/* ========================*/
/*        #page_marin      */
/*=========================*/

/* ====== IDENTIFICATION ====== */

/*
https://fonts.googleapis.com/css?family=Arvo&ver=3.3.7
color: #494949; OU #777777 ????
font-family: "Arvo", Arial, sans-serif;
line-height: 26px; OU 22px ?????
font-size: 15px;
font-weight: 400 !important;
word-warp: break-word;
font-falily: "Dosis", Arial, sans-serif;

*/

.contenu-fiche {
    width: 75vw;
    min-width: 1015px;
    margin: 60px auto auto;
}

.contenu-fiche>* {
    margin-top: 10px;
    /* font-family: "Arvo", Arial, sans-serif; */
    line-height: 20px;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
}

.contenu-fiche header {
    width: 100%;
    line-height:normal;
    margin-bottom: 40px;
}

.titre_detail, 
.date, 
.decoration, 
.source, 
.document {
    color: #6a747b;
}

.contenu_detail, 
.contenu_event {
    color: #494949;
}

.date-union {
    display: none;
}

.contenu-fiche h1, 
.contenu-fiche h2 {
    font-family: "Dosis", Arial, sans-serif;
}

.bloc-identification-for-marin, 
.bloc-events-for-marin, 
.bloc-description-for-marin, 
.bloc-sources-for-marin, 
.bloc-decorations-for-marin, 
.bloc-documents-for-marin {
    /* font-family : "Roboto", Arial, sans-serif; */
    margin-bottom: 20px;
    font-style : normal;
    color : #494949; 
    font-size: 15px;
}

.contenu-fiche {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: 40px auto auto;
    /* max-width: 1110px;a vérifier */

    /* font-size: 18px */
    font-size: 15px
}

.bloc-identification-for-marin {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    position: relative;
    /* align-items: flex-start; */
    width: 70%;
    /* min-height: 400px; */
}

.bloc-events-for-marin {
    /* display: flex; */
    /* flex-direction: column; */
    width: 100%;
    padding-top: 5px;
}

.figure-marin-fiche {
    position: relative;
    margin:auto;
    width: 300px;
    height: 400px;
    overflow: hidden;
}

.img-marin-fiche{
    position: absolute;
    top: 50%;
    left:50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 100%;
}

.container_event, 
.container_informations_principales {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    /* flex-direction: column;// mobile */
    margin : 0;
}

.container_event {
    /* height: auto; */
    /* align-self: stretch; */
    max-width: 100%;
}

.container_informations_principales p, 
.container_event p, 
.container_event span, 
.decoration p, 
.list_decorations ul, 
.source p, 
.list_sources ul, 
.document p {
    margin: 5px 0;
}
.titre_detail, 
.date, 
.contenu_event, 
.contenu_detail, 
.decoration , 
.source , 
.list_source ul, 
.document , 
.list_documents  {
    padding: 0 15px;
}

.titre_detail {
    /* min-width:300px;  */
    text-align: right;
    background-color: #EFF0F0;
    /* background-color : rgb(106,116,124); */
}

.date{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    min-width:300px; 
    /* width:100%;//mobile  */
    background-color: #f6e9d7;
}

.date-union {
    display: none;
}

/* .date .date_debut_event , .date .date_fin_event {
    width : 50%;
} */


.contenu_event p:nth-child(1){
    margin-bottom: 0;
}
.contenu_event p:nth-child(2){
    margin-top: 0;
}
.annotation {
    font-style: italic;
}

.bloc-description-for-marin {
    padding : 20px auto;
}

.bloc-description-for-marin ul, 
.bloc-description-for-marin ol {
    padding-left : 40px;
}




/*===== SOURCE ====== */
.bloc-decorations-for-marin , 
.bloc-sources-for-marin, 
.bloc-documents-for-marin{
    width: 100%;
}

.container_decorations, 
.container_sources,  
.container_document {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width: 100%;
}

.titre_detail, 
.date, 
.decoration, 
.source, 
.document {
    min-width:300px; 
    text-align: right;
    
}
.decoration {
    background-color: #ffe6e2;
}

.source {
    background-color: #dedede;
}

.list_decorations, 
.list_sources {
    padding-left: 30px;
}

.list_decorations li, 
.list_sources li {
    padding-bottom:  2px ;
}

.list_decorations a, 
.list_sources a {
    text-decoration: underline;
    color: #163d82;
}

.document {
    background-color: #ffe6e2;
}

.list_documents {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.upload-fiche-img {
    height: 147px;
    width: 147px;
    margin-right: 10px;
}

.upload-fiche-img a {
    display: inline-block;
    height: 147px;
    width: 147px;
    text-align: center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 147px 147px;
    background-color: #464646;
}

.bloc-documents-for-marin span {
    padding-bottom: 7px;
    padding-right: 5px;
}

.upload-fiche-img span {
    display: inline-block;
    width: 96%;
    height: 34px !important;
    position: relative;
    top: 103px;
    /* line-height: 2em; */
    color: #fff;
    font-size: 12px;
    background-color: rgba(0, 0, 0, .6);
}

.upload-fiche-doc {
    display: inline-block;
    width: 136px;
    height: 136px;
    margin-right: 10px;
    padding: 4px;
    text-align: center;
    border: 3px solid #d3d5d5;
    background-color: #f1f1f1;
}

.upload-fiche-doc span{
    width: 100%;
    display: inline-block;
    padding-top: 30%;
    text-align: center;
    font-size: 14px;
}



@media screen and (max-width: 1015px) {
    .contenu-fiche {
        min-width: 95%;
    
    }

    .contenu-fiche>* {
        -webkit-box-ordinal-group : 4;
            -ms-flex-order : 3;
                order : 3;
    }

    .contenu-fiche header {
        -webkit-box-ordinal-group: 2;
            -ms-flex-order: 1;
                order: 1;
        width: 55%
    }

    .portrait {
        -webkit-box-ordinal-group : 3;
            -ms-flex-order : 2;
                order : 2;
        width: 45%;
    }
    .figure-marin-fiche {
        width: 150px;
        height: 200px;
    }

    .img-marin-fiche {
        max-width : 100%;
    }

   .bloc-identification-for-marin {
       width : 100%;
       min-height: inherit;
       margin-top: 20px;
   
   }

}

@media screen and (max-width: 750px) {

    .contenu-fiche {
        min-width : 95%;
        width: 95%;
        /* padding: 10px; */
    }

    .titre_detail, .date, .decoration, .source, .document {
        min-width: 40%;
    }

    
}

@media screen and (max-width: 630px) {

    .contenu-fiche header {
        -webkit-box-ordinal-group: 2;
            -ms-flex-order: 1;
                order: 1;
        width: 100%
    }

    .portrait {
        -webkit-box-ordinal-group : 3;
            -ms-flex-order : 2;
                order : 2;
        width: 100%;
    }

    .figure-marin-fiche {
        width: 300px;
        height: 400px;
    }

    .container_informations_principales, .container_event, .container_decorations, .container_sources, .container_document {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }
    .container_informations_principales p, .container_event p, .container_event span, .decoration p, .list_decorations ul, .source p, .list_sources ul, .document p {
        margin: 0;
    }

    .date {
        display: inline-block;
    }

    .date-union {
        display: inline;
    }

    .titre_detail, .date, .decoration, .source, .document {
        /* min-width: 100%; */
        text-align: left;
        padding-top: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .titre_detail, .date, .contenu_event, .contenu_detail, .decoration, .source, .list_source ul, .document, .list_documents {
        /* padding : 0 5px ; */
        width: 100%;
    }

    .contenu_detail, .contenu_event {
        padding-bottom: 10px;
    }

    .contenu_detail, .contenu_event, .list_decorations , .list_sources , .list_documents {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .list_decorations ul , .list_sources ul {
        margin-left: 20px;
        padding-bottom: 10px;
    }

    .date-union {
        display: inline;
    }

    .bloc-description-for-marin {
        padding: 0 10px;
    }

    .contenu_detail {
        background-color: #EFF0F0;
    } 
    .contenu_event {
        background-color: #f6e9d7;
    } 
    .list_decorations {
        background-color: #ffe6e2;
    } 
    .list_sources {
        background-color: #dedede
    } 
    .list_documents {
        background-color: #ffe6e2;
    }
}




/* ========================*/
/*        #page_home        */
/*=========================*/


#bck_home {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left:0;
    z-index: -1;
    background-image: url('/i-image_home.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}

/* .img-src-after-768 {
    display: none;
} */

/* .block-in-page-home {
    background-color: white;
    width: 720px;
    height: 270px;
    margin-bottom: 200px;
    padding: 25px;
    border-radius: 5px;
} */

.all-block-in-page-home {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: absolute;
    top:50%;
    left: 50%;
    margin: auto;
    padding: 25px;
    padding-bottom: 40px;
    width: 720px;
    max-width: 80%;
    border-radius: 5px;
    background-color: white;
    transform: translate(-50%, -50%);
}

.title-in-block-home {
    font-weight: 600;
    /* width: ; */
    font-size: 22px;
    padding-bottom: 4.5px;
}

.underline-title-in-block-home {
    border-top: 2px solid #c82f25;
    width: 65%;
    padding-bottom: 15px;
}

.text-in-block-home {
    padding-bottom: 40px;
    color: black;
    font-size: 18px;
}

.two-input-in-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.header-search-by-input.search-home {
    width: 50%;
    margin: 0;
    margin-bottom: 40px;
}

.header-search-input.search-input-block {
    width: 95%;
}

.text-before-advanced-search-block-home {
    width: 40%;
    margin-left: 30px;
    font-size: 18px;
    color: black;
}

.text-before-advanced-search-block-home p {
    line-height: 40px;
}

.advanced-search-block-home {
    color: #c82f25;
    font-weight: bold;
    text-decoration: underline !important;
    font-size: 18px;
}

@media only screen and (max-width: 900px) {
    .header-search-by-input.search-home {
        width: 100%;
        margin: auto;
        margin-bottom: 40px;
        justify-content: center;
    }

    .header-search-input.search-input-block {
        width: 60%;
    }

    .text-before-advanced-search-block-home {
        width: 100%;
        margin: auto;
        text-align: center;
    }
}

@media only screen and (max-width: 360px) { 
    #bck_home {
        display: flex;
        width: 100vw;
        height: 15vh;
        position: static;
        z-index: 0;
        background-position: center bottom 130px;
    }

    .all-block-in-page-home {
        position: static;
        border-radius: 0px;
        transform: translate(0, 0);
    }
}

