.img-connexion {
    background-image: url(../image/connexion-celestia.png) !important;
    width: 50vw !important;
    height: 100%;
    position: absolute !important;
    background-repeat: no-repeat !important;
    left: -30%;
    top: 30%;
    z-index: 99;
}

#connect {
    font-size: 35px;
    color: black;
}

.modalDialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
    text-align: center;
}

.modalDialog:target {
    opacity: 1;
    pointer-events: auto;
}

.modalDialog > div {
    width: 400px;
    position: relative;
    margin: 10% auto;
    padding: 10px 20px 20px 20px;
    border-radius: 10px;
    background: #fff;
    background: -moz-linear-gradient(#f0d3ce, #8e483e);
    background: -webkit-linear-gradient(#f0d3ce, #8e483e);
    background: -o-linear-gradient(#f0d3ce, #8e483e);
}

.validButton {
    margin: 10px;
}

.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}

.close:hover {
    background: #f3a368;
}

html {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    font-family: 'Lato', sans-serif;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
}

.bg-img {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background-image: url(../image/fond-light.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

header {
    margin-bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9)30%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9)70%, rgba(255, 255, 255, 0));
    background-color: rgba(255, 255, 255, 0.4);
    height: 160px;
}


/****************/

/***** menu *****/

/****************/

#container-header {
    display: flex;
    margin: 0 auto;
    /*    margin-bottom: 10px;*/
    width: 80%;
}


/***** Logo *****/

#logo {
    position: relative;
    display: -webkit-box;
    width: 450px;
    /*margin: 0 auto;*/
    margin-top: 10px;
    text-align: -webkit-center;
}


/*
    #logo h1 {
        text-align: center;
        color: darkcyan;
        position: relative;
        margin-left: -50px;
        margin-top: 60px;
        font-size: 30px;
    }
*/

#logo img {
    height: 120px;
}


/***** User *****/

#user-account {
    width: 450px;
    /*    position: absolute;*/
    text-align: -webkit-center;
    /*    right: 280px;*/
}

#user-account img {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    margin-top: 10px;
    border-radius: 50px;
    /*        border: 1px solid black;*/
}

#user-account span {
    position: relative;
    margin-top: 15px;
    background-color: red;
    padding: 1px;
    padding-left: 6px;
    padding-right: 6px;
    top: -71px;
    left: -20px;
    color: white;
    border-radius: 90px;
}


/***** Barre recherche *****/

#search-bar {
    margin-top: 20px;
}

#search-bar .search {
    width: 100%;
}

#search-bar .searchTerm {
    width: 60%;
    border: 1px solid white;
    padding: 5px;
    height: 20px;
    /*        border-radius: 2px;*/
    outline: none;
    color: dimgrey;
}

#search-bar .searchTerm:focus {
    color: black;
}

#search-bar .searchButton {
    position: relative;
    bottom: -2.2px;
    width: 40px;
    height: 32px;
    border: 1px solid dimgrey;
    background: dimgrey;
    text-align: center;
    color: #fff;
    border-radius: 2px;
    cursor: pointer;
    font-size: 20px;
}

#search-bar-sticky {
    position: absolute;
    width: 300px;
    right: 60px;
    top: 40px;
}

#search-bar-sticky .search {
    width: 100%;
}

#search-bar-sticky .searchTerm {
    width: 75%;
    border: 1px solid white;
    padding: 5px;
    height: 20px;
    margin-top: 5px;
    /*        border-radius: 5px;*/
    outline: none;
    color: dimgrey;
}

#search-bar-sticky .searchTerm:focus {
    color: black;
}

#search-bar-sticky .searchButton {
    position: relative;
    bottom: -2.2px;
    width: 15%;
    height: 32px;
    border: 1px solid dimgrey;
    background: dimgrey;
    text-align: center;
    color: #fff;
    border-radius: 2px;
    cursor: pointer;
    font-size: 20px;
}


/***** Menu déroulant user *****/

.dropbtn {
    border: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: -30px;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: rgba(223, 164, 79, 0.2);
}

.dropdown:hover .dropdown-content {
    display: block;
}


/***** Menu Fixe Header *****/

#menu {
    display: -webkit-box;
    margin: 0 auto;
    width: 100%;
    height: 50px;
}

#menu nav {
    margin: 0 auto;
}

#menu li {
    float: left;
    margin: auto;
    padding: 0;
    display: block;
    width: 100px;
    color: dimgrey;
    text-decoration: none;
    padding: 2px;
}

ul#item-up {
    padding: unset;
}

ul#item-up li {
    width: 150px;
    float: left;
    display: block;
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    padding: 8px;
    margin: 0;
    color: black;
    transition: all 0.3s ease;
    position: relative;
}

#menu ul li ul {
    display: none;
    transition: all 0.3 ease;
}

#menu ul li:hover ul {
    transition: all 0.3 ease;
    display: block;
}

#menu li:hover ul li {
    transition: all 0.3 ease;
    float: none;
    border-bottom: none;
}

#menu li ul li {
    width: 100%;
    font-size: 20px;
    text-transform: none;
    padding: 5px;
}

#menu li ul li a {
    text-decoration: none;
    color: black;
}

#menu li ul li a:hover {
    color: #dfa44f;
}

#menu li ul {
    width: 330px;
    position: absolute;
    left: -90px;
    padding: unset;
    top: 40px;
}

ul#item-up li:hover {
    border-bottom: 4px solid rgba(223, 164, 79, 0.8);
    cursor: pointer;
}


/***** Menu apparaissant au scroll *****/

.sticky-menu {
    position: fixed;
    top: 0;
    z-index: 9999;
    text-align: center;
    width: 100%;
    /*    padding-top: 0.5%;*/
    padding-bottom: 0.5%;
    background-color: white;
    display: none;
    /*        border-bottom: 2px solid #E5C100;*/
}

.sticky-menu img {
    margin-top: 5px;
}

.sticky-menu h3 {
    color: darkcyan;
    position: absolute;
    left: 95px;
    top: 15px;
    font-size: 15px;
}

.sticky-menu a {
    color: dimgray;
    text-transform: uppercase;
    /*        border-left: 1px solid black;*/
    padding-top: 5%;
    padding-bottom: 0.5%;
    padding-left: 3%;
    padding-right: 3%;
    text-decoration: none;
}

.sticky-menu a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-weight: bolder;
}


/******************/

/***** footer *****/

/******************/

#mlp-footer {
    position: absolute;
    width: 98%;
    padding-right: 1%;
    padding-left: 1%;
    padding-top: 0.5%;
    padding-bottom: 0.5%;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

#mlp-footer a {
    text-decoration: none;
    text-transform: uppercase;
    color: black;
    font-weight: bolder;
    padding: 15px;
    margin-right: 30px;
    margin-left: 30px;
    transition: all 0.3s ease;
}

#mlp-footer a:hover {
    color: #DFA44F;
}


/***************************/

/***** Boxes main menu *****/

/***************************/

.box-main {
    width: 80%;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
    display: block;
    border-top: 3px solid rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid rgba(0, 0, 0, 0.2);
}

.mb1 {
    display: block;
    text-align: center;
}

.mb1 > div {
    color: dimgray;
    text-align: center;
}

.mb2 h2 {
    color: black;
    text-align: center;
}

.display-event {
    height: 450px;
}

.display-event p {
    padding: 5%;
}

#tags-main {
    background-color: rgba(0, 0, 0, 0.4);
    margin: 0 auto;
    width: 100%;
    height: 30px;
}


/* Test */

p {
    font-size: 22px;
    margin: 0;
}

.contenu {
    padding: 10px;
    width: 70%;
    /*        background: linear-gradient(90deg, rgba(0, 0, 0, 0.2), black, rgba(0, 0, 0, 0.2));*/
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 5%, rgba(255, 255, 255, 0.8) 14%, rgba(255, 255, 255, 0.9) 15%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.9) 85%, rgba(255, 255, 255, 0.8) 86%, rgba(255, 255, 255, 0.6) 95%, rgba(255, 255, 255, 0) 100%);
    margin: 0 auto;
}

.random-box {
    margin: 0 auto;
    width: 100%;
    background-color: transparent;
    border: 1px solid black;
    margin-top: 10px;
    margin-bottom: 10px;
}


/*****************/

/***** TABS ******/

/*****************/

/* Style the tab */

#onglets {
    display: none;
    margin-left: 2%;
}

#onglets li {
    position: relative;
    float: left;
    list-style: none;
    padding: 2px 5px 7px;
    margin-right: 2px;
    border-left: 2px solid rgba(153, 153, 153, 0.2);
    border-right: 2px solid rgba(153, 153, 153, 0.2);
    border-top: 2px solid rgba(153, 153, 153, 0.2);
    border-radius: 5px 5px 0px 0px;
    cursor: pointer;
    /*        background-color: #EEEEEE;*/
    color: dimgrey;
    z-index: 1;
}

#onglets .actif {
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    font-weight: bold;
    z-index: 10;
}

#contenu {
    clear: both;
    position: relative;
    margin: 0 20px;
    padding: 10px;
    border: 2px solid rgba(153, 153, 153, 0.2);
    /*        border-radius: 10px 10px 0px 0px;*/
    z-index: 5;
    top: -2px;
    /*        background-color: #EEEEEE;*/
    color: dimgrey;
    /*        width: 500px;*/
    overflow: hidden;
    /*        border-radius: 15px;*/
}

.mb3 {
    /*        height: 200px;*/
}


/* -------------------------------------------------------------- Slider ---------------------------------------------- */

.mySlides {
    display: none;
    margin: 0 auto;
}

.demo {
    cursor: pointer;
    filter: opacity(0.2);
}


/*
    .demo:hover {
        filter: opacity(0.7);
    }
*/

.mySlides {
    width: 80%;
    height: 550px;
}

.w3-section {
    display: inline-flex;
    text-align: center;
    margin-top: 40px;
    height: 180px;
}

.w3-col {
    /*        display: inline-block;*/
    width: 20%;
    margin: 0.5%;
}


/* texte slider */

.titre-slide {
    position: relative;
    text-align: center;
    top: -555px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    font-weight: 700;
}

.resume-slide {
    position: relative;
    padding: 10px;
    padding-bottom: 25px;
    top: -35%;
    /*        left: 20px;*/
    width: 98%;
    height: 21%;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.9);
}

.resume-slide span {
    position: absolute;
    right: 15px;
    top: 125px;
}

.titre-slide-small {
    font-weight: 700;
    display: initial;
    margin: 0 auto;
    top: -145px;
    padding: 10px;
    /*        background-color: rgba(255, 255, 255, 0.8);*/
}

.tag-slide-small {
    font-size: 12px;
    top: -130px;
}

.tag-slide-small span {
    background-color: rgba(220, 20, 60, 0.7);
    color: white;
    border-radius: 3px;
    padding: 2px;
    display: inline-block;
    margin-bottom: 2px;
}

.perso-slide-small {
    font-size: 22px;
    bottom: 130px;
}

.titre-slide-small,
.tag-slide-small,
.perso-slide-small {
    margin: 0 auto;
    cursor: pointer;
    position: relative;
    width: 90%;
}

/* -------------------------------------------------------------- profil ---------------------------------------------- */

.blocProfil {
    display: table-cell;
    text-align: center;
    /*    margin: 50px;*/
    width: 1%;
}

.blocProfil div {

    margin-bottom: 10%;
}

/* -------------------------------------------------------------- synopsis ---------------------------------------------- */

#synopsis {
    width: 80%;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    border: solid 2px white;
    margin: 0 auto;
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

#synopsis span {
    font-size: 42px;
    text-align: center;
    padding: 10px;
    display: block;
}

#chaptitle {
    width: 80%;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    border: solid 2px white;
    margin: 0 auto;
    padding: 10px;
    margin-bottom: 20px;
}

#chaptitle span {
    display: grid;
    text-align: center;
}
