/*--- **************************************** ---*/
/*---  ---*/

/*--- Fonts ---*/

@font-face{
    font-family: 'headerfont';
    src: url(../assets/fonts/LinLibertine_aRL.ttf);
}

@font-face{
    font-family: 'crimsontext';
    src: url(../assets/fonts/CrimsonText-SemiboldItalic.ttf);
}

@font-face{
    font-family: 'cambriaMath';
    src: url('../assets/fonts/cambria.ttc');
}

/*--- General elements ---*/

*{
    box-sizing: border-box;
}

body{
    background-color: #736D66;
}

#content{
    width: 80%;
    background-color: #f8f8f8;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3%;
    box-shadow: -0.5px 0.5px 10px black;
    padding-bottom: 2.85%;
    
}

/*- Links -*/

a:link{
    color: white;
}

a:hover{
    color: black;
}

a:active{
    color: blue;
}

a:visited{
    color: white;
}

/*- Titles -*/

h1{
    text-align: center;
    padding-top: 5%;
    font-family: 'crimsontext';
}

/*For "Quest-ce que la foi Baha'ie"*/

#faith{
    padding-top: 2%;
}

h2{
    text-decoration-line: underline;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 3%;
    padding-bottom: 1%;
    font-family: crimsontext;
}

/*For other h2*/

h3{
    text-align: center;
    font-size: 160%;
    margin: 3.8% 0% 3.8% 0%;
    font-family: crimsontext;
}

/*- Text -*/

blockquote{
    color: #0F7DC2;
    text-align: center;
    margin-left: 15%;
    margin-right: 15%;
    margin-top: 2%;
    margin-bottom: 2%;
    font-size: 175%;
    font-family: 'cambriaMath';
    font-style: italic;
}

p{
    text-align: justify;
    margin-top: 2%;
    margin-bottom: 2%;
    padding-left: 8%;
    padding-right: 8%;
    font-family: sans-serif;
    font-size: large;
    overflow: hidden;
}

/*- header.php -*/

header{
    font-size: 300%;
    font-family: 'headerfont';
    color: white;
    margin-top: 1.5%;
    margin-bottom: 1.5%;
}

/*- nav.php -*/

#menu-items{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    font-size: 17px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #404040;
    line-height: 60px;
    height: 60px;
    box-shadow: -0.5px 0.5px 10px black;
}

/*- footer.php -*/

footer{
    width: 80%;
    background-color: #404040;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;
    margin-bottom: 3%;
    padding-top: 0.3%;
    padding-bottom: 0.3%;
    text-align: center;
    color: beige;
    font-size: medium;
    box-shadow: -0.5px 0.5px 10px black;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#facebook{
    margin: 0% 0% 0.75% 95%;
}

@media screen and (max-width: 850px){
    #facebook{
        margin: 0% 0% 1% 85%;
    }
}


/*--- ***** ***** ---*/

/*--- index.php ---*/

/*- Actualité -*/

#actu{
        background-color: #b1aaa4;
        border-style: solid;
        border-width: 2px;
        border-radius: 5px;
    
        margin-left: 10%;
        margin-right: 10%;
        padding: 1.2% 2% 1.2% 1.2%; 
}

.actuLi{
    display: block;
}

#actuFirst{
    margin-bottom: 2%;
}

.actuImg{
    width: 5%;
    border-radius: 50px; /*For 100px height/witdh. If height != width, cannot make a circle..*/
    box-shadow: -0.5px 0.5px 10px black;
    transition: transform 0.2s;
}
.actuImg:hover{
    transform: scale(1.1);
}

@media screen and (max-width: 850px){
    #actu{
        padding: 2.4% 2% 0% 2.4%; 
    }
    #actuFirst{
        margin-bottom: 5%;
    }
    .actuImg{
        width: 12%;
    }
}

/*- Discover -*/

#discover{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    text-align: center;
    margin-top: 1.5%;
}

.discoverImg{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;
    border-radius: 60px; /*For 120px height/witdh. If height != width, cannot make a circle..*/
    box-shadow: -0.5px 0.5px 10px black;
    transition: transform 0.2s;
}

.discoverImg:hover{
    transform: scale(1.1);
}

.discoverButton{
    border-width: 0px;
    border-radius: 3px;
    box-shadow: -0.5px 0.5px 5px #666666;
    background-color: #736D66;
    color: #f8f8f8;
    transition-duration: 0.4s;
}

.discoverButton:hover{
    background-color: #f8f8f8;
    color: #404040;
}

@media screen and (max-width: 850px){
    #discover{
        flex-direction: column;
        padding-left: 0px;
    }
}

li{
    display: inline;
}

#form{
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;
}

.linktotop{
    margin-left: 1%;
}

.enSavoirPlus{
   text-align: right;
   margin-right: 0%;
   font-size: 85%;
   font-family: sans-serif;
   color: #666666;
}

/*------*/

/* Images/Icons */


#fafa{
    display: none;
}

#nbs{
    display: inline-block;
    margin-left: 2%;
    margin-right: auto;
    height: 38px;
    margin-bottom: 0.6%;
}

.separator{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 19%;
    height: auto;
}

.dbuparrows{
    height: 12px;
}

#footerarrow{
    display: block;
    margin-left: 95%;
}

.container{
    position: relative;
    text-align: center;
    color: white;
}

.displayImg{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1%;
    margin-bottom: 1%;
    width: 70%;
    height: auto;
    box-shadow: -0.5px 0.5px 5px #666666;
}

.displayCaption{
    display: none;
    position: absolute;
    bottom: 9px;
    left: 171px;
    background-color: hsla(0, 0%, 0%, 0.57);
    border-radius: 5px;
    padding: 0px 0.76% 0px 0.76%;
    margin: 0% 0% 1.14% 1.9%;
}

.displayImg:hover ~ .displayCaption{
    display: block;
}

.displayCaption:hover{
    display: block;
}

@media screen and (max-width: 850px){
    .displayImg{
        width: 90%;
    }
    .displayCaption{
        display: block;
        position: absolute;
        bottom: 9px;
        left: 19px;
        margin-left: 7.6%;
    }
}

/*/ - @@@@@ - /*/

.mosaic{
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: center;
}

.mosaic>img{
/*margin-left: 5%;*/
    width: 25.1%;
    height: auto;
    margin-bottom: 1%;
    box-shadow: -0.5px 0.5px 5px #666666;
}

/*FLoating images*/
.inlineRight{
    float: right;
    width: 15%; /*To adapt depending on the picture size*/
    margin-left: 1%;
    margin-top: 0.5%;
    margin-right: 1%;
    box-shadow: -0.5px 0.5px 5px #666666;
}

.inlineLeft{
    float: left;
    width: 15%; /*To adapt depending on the picture size*/
    margin-right: 1%;
    margin-left: 1%;
    box-shadow: -0.5px 0.5px 5px #666666;
}

@media screen and (max-width: 850px){
    .inlineLeft{
        width: 30%;
        margin: 0 5% 0 0;
    }
    .inlineRight{
        width: 30%;
        margin: 0 0 0 5%;
    }
}
/*--- strasbourg.php ---*/

#captionCentre{
    float: left;
}

/*--- events.php ---*/

/*
.event{
    border-style: solid;
    border-width: 20px;
    border-image-source: url("../assets/icons/Borders/ornamentalBorder.png");
    border-image-slice: 100;
    margin-left: 0.5%;
    margin-right: 0.5%;
}
*/

.event{
    background-color: #b1aaa4;
    border-style: solid;
    border-width: 2px;
    border-radius: 5px;

    /*border-radius: 5px;*/
    /* Beautiful pattern
    border-image-source: url(../assets/icons/Borders/ornamentalBorder300.png);
    border-image-width: 40px;
    border-image-slice: 50;
    border-image-outset: 6px;
    border-image-repeat: round;
    */

    /* Straight line
    border-image-source: url(../assets/icons/Borders/ornamentalBorder300.png);
    border-image-width: 75px;
    border-image-slice: 95;
    border-image-outset: 6px;
    border-image-repeat: round;
    */

    margin: 1% 10% 1% 10%;
    padding: 1% 2% 2% 2%;
}

.eventTitle{
    font-size: 160%;
    padding-top: 1%;
    padding-bottom: 1%;
    margin: 0 0 0 0;
}

.eventImg{
    float: left;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    margin: 1.52% 1.14% 0% 0%;
    box-shadow: -0.5px 0.5px 10px black;
}

#projectionImg{
    width: 100%;
}

.eventP{
    padding: 0 0 10px 10px;
    margin: 0 0 0 0;
    text-align: justify;
}

.eventButton{
    border-width: 0px;
    border-radius: 3px;
    box-shadow: -0.5px 0.5px 5px #666666;
    margin-top: 1%;
    background-color: #404040;
    color: #f8f8f8;
    transition-duration: 0.4s;
}

.eventButton:hover{
    background-color: #f8f8f8;
    color: #404040;
}

@media screen and (max-width: 850px){
    .event{
        margin-left: 4%;
        margin-right: 4%;
    }
    .eventButton{
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .eventP{
        text-align: center;
    }
    .eventImg{
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}



/*--- contact.php ---*/

#contact{
    width: 35%;
    background-color: #f8f8f8;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3%;
    box-shadow: -0.5px 0.5px 10px black;
    border-radius: 10px;
    padding-top: 0.85%;
    padding-bottom: 2%;
}

/*--- Mobile display ---*/

@media screen and (max-width: 850px){

    #menu-items{
        display: flex;
        flex-direction: column;
        line-height: 200%;
        height: 200%;
    }

    header{
        text-align: center;
        line-height: 100%;
        /*height: 100%;*/
    }

    .menu-item{
        margin-left: 3%;
    }

    #content{
        width: 100%;
        box-shadow: 0 0 0;
        margin-top: 0%;
    }

    p{
        text-align: initial;
    }

    .displayImg{
        position: relative;

    }

    .separator{
        width: 45%;
        height: auto;
    }

    footer{
        width: 100%;
        box-shadow: 0 0 0;
        margin-top: 0%;
        margin-bottom: 0%;
        padding-top: 2%;
        padding-bottom: 2%;
    }

    #contact{
        width: 90%;
        border-radius: 5px;
        padding-bottom: 2.85%;
        margin-bottom: 2%;
    }
}

/*--- **************************************** ---*/

/*--- OLD ---*/
#pdf{
    margin-left: auto;
    margin-right: auto;
}
