/* COULEURES FOND */

.button-join,
.button-download,
.button-download-bulletin{
    background-color: var(--color-button-joinus);
}

.footer,
.text-area-footer,
.button-send{
    background-color: var(--color-footer-background);
}

.date-info-page {
    background-color: var(--color-secondary-background);
}
/* COULEURES TEXTES */

.upper-bar,
.upper-bar-left-side,
.upper-bar-text,
.link-stocker{
    color: var(--color-upper-bar-text);
}

.quote-bloc,
.bottompic_quote,
.accueil_titre{
    color: var(--color-quote);
}

.footer-text,
.footer-title,
.footer-text-contact,
.text-area-footer,
.button-send,
.mwt-bloc{
    color: var(--color-footer-text);
}

.button-join,
.button-download,
.button-download-bulletin{
    color: var(--color-button-joinus-text);
}
/* TAILLES TEXTES */

.upper-bar-text {
    font-size: var(--size-upper-bar-text);
}

.upper-bar-right-side {
    font-size: var(--size-upper-bar-link);
}

.quote-bloc {
    font-size: var(--size-quote);
}

.middle-page-title {
    font-size: var(--size-middle-page-title);
}

.middle-page-text,
.mwt-text{
    font-size: var(--size-normal-text);
}

.middle-page-big-title,
.footer-title,
.photo-popup-title{
    font-size: var(--size-middle-page-big-title);
}

.bottompic_quote {
    font-size: var(--size-small-quote);
}

.button-join,
.button-download
.button-download-bulletin{
    font-size: var(--size-button-joinus);
}

.footer-text {
    font-size: var(--size-footer-text);
}

.link-stocker {
    font-size: var(--size-link-stocker);
}

.accueil_titre {
    font-size: var(--size-accueil-titre);
}

.boutique-objet-titre,.boutique-objet-prix{
    font-size: var(--size-boutique-titre);
}

.info-detail-titre {
    font-size: var(--size-info-detail-titre);
}

.info-detail-description {
    font-size: var(--size-info-detail-description);
}

/* CSS */

html, body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.headerpic {
    width: 100%;
    height: 700px;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.upper-bar {
    display: flex;
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.9) 50%, rgba(0,0,0,0.7) 100%);
    z-index: 100;
    justify-content: space-between;
    height: 100px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    padding: 5px;
}

.upper-bar-left-side {
    display: flex;
    align-self: center;
    align-items: center;
}

.upper-bar-right-side {
    margin-right: 100px;
    align-self: center;
}

.flex {
    display: flex;
}

.headerpic-pic {
    margin: 5px;
    width: 200px;
    height: 200px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.upper-bar-text {
    margin: 5px;
    align-self: center;
}

.link-stocker nav {

}

.link-stocker nav ul {
    padding: inherit;
}

.link-stocker nav ul li {
    display: contents;
    margin: 10px;
}

.link-stocker nav ul li a {
    margin: 10px;
    cursor: pointer;
}

.messagePopUp {
    display: none;
    z-index: 500;
    background: white;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 74px;
    min-width: 500px;
    border: 1px solid black;
    color: black;
    padding: 10px;
    border-radius: 7px;
    text-align: center;
    opacity: 0;
    transition: all 800ms;
}

.quote-bloc {
    padding: 20px;
    text-align: -webkit-center;
    font-weight: bold;
}

.top-quote {
    padding-top: 250px;
}

.middle-page-index {
    margin: 20px;
}

.middle-page-pic {
    min-width: 250px;
    height: 250px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: 0 15px 0 15px;
    align-self: center;
}

.block-center {
    display: flex;
    margin: 100px 15% 100px 15%;
}

.block-center-big {
    display: flex;
    margin: 100px 5% 100px 5%;
}

.middle-page-text,
.middle-page-title,
.middle-page-big-title{
    margin: 30px 15px 0 15px;
}

.listed-name {
    margin-top: auto;
    min-width: 200px;
}

.block-stocker {
    display: flex;
    justify-content: space-evenly;
    width: 45%;
}

.arrow-pic {
    min-width: 32px;
    height: 32px;
    margin-right: 15px;
    margin-left: 15px;
    align-self: center;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.block-info {
    display: flex;
}

.button-middle-page,
.button-add-info,
.button-add-folderP{
    text-align: center;
    width: fit-content;
    height: 45px;
    padding: 10px;
    border: 2px solid #BDB6A3;
    margin-top: 20px;
    cursor: pointer;
}

.button-folder-popup-close {
    text-align: center;
    width: 150px;
    height: 45px;
    padding: 10px;
    border: 2px solid white;
    margin-top: 20px;
    cursor: pointer;
    color: white;
	cursor:pointer;
}

.bottompic {
    width: 100%;
    height: 415px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.bottompic_quote {
    margin-top: 140px;
}

.button-join {
    text-align: center;
    width: 150px;
    height: 45px;
    padding: 10px;
    margin-top: 20px;
    cursor: pointer;
}

.button-download,
.button-download-bulletin{
    padding: 10px;
    cursor: pointer;
}

.button-stocker-centered {
    text-align: -webkit-center;
    margin-top: 20px;
}

.footer {
    height: 600px;
    width: 100%;
    padding: 30px;
}

.block-info-footer {
    width: 50%;
    text-align: center;
    padding: 25px;
}

.footer-text {
    margin: 10px;
}

.footer-phone-pic {
    margin-top: 90px;
    height: 45px;
    min-width: 45px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.info-generale-stocker {
    justify-content: space-evenly;
}

.footer-mail-pic {
    min-width: 80px;
    height: 80px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-right: 25px;
}

.footer-title {
    align-self: center;
}

.footer-text-contact {
    text-align: left;
    margin-top: 10px;
}

.footer-infos {
    display: flex;
    padding: 0 10% 0 10%;
}

.button-send {
    text-align: center;
    width: 40%;
    height: 45px;
    padding: 10px;
    margin-top: 20px;
    border: 1px solid white;
    float: right;
    cursor: pointer;
}

.mwt-bloc {
    margin-top: 50px;
    text-align: center;
}

.text-area-footer {
    min-width: 100%;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 0 5px;
    min-height: 25px;
}

.message-footer {
    min-height: 150px;
}

.responsive-arrows-stocker {
    height: 40px;
    display: none;
    justify-content: center;
    margin: 25px;
}

.responsive-arrow-pic {
    min-width: 32px;
    height: 32px;
    margin-right: 15px;
    margin-left: 15px;
    cursor: pointer;
}

.upper-bar-button {
    display: none;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 50px;
    padding: 0;
    vertical-align: top;
    line-height: 47px;
    float: right;
    margin-right: 5px;
    margin-top: 25px;
}

.upper-sidebar {
    display: none;
    position: fixed;
    width: 85%;
    z-index: 20;
    height: 100%;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: transform .2s ease-out;
    color: #555;
}

.open {
    right: 0 !important;
}

.upper-sidebar li {
    display: block;
}

.upper-sidebar-body {
    padding: 16px 8px;
}

.upper-sidebar nav ul li {
    float: none;
}

.upper-sidebar nav ul li a {
    text-decoration: none;
    color: #555;
}

.upper-bar-overlay {
    display: none;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .4);
}

.headerpic2{
    width: 100%;
    height: 500px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: -webkit-center;
}

.secondary-quote {
    padding-top: 230px;
    max-width: 50%;
}

.middle-page-secondary {
    margin: 20px;
    text-align: center;
    place-content: space-around;
}

.array-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    margin: 30px 40px 0 40px;
    width: fit-content;
}

.correspondant-array {
    display: grid;
    margin: 0 5px 0 5px;
    width: fit-content;
}

.reversed {
    flex-direction: row-reverse;
}

.left-bloc-text {
    text-align: left;
    width: -webkit-fill-available;
    position: relative;
}

.center-bloc-text {
    text-align: -webkit-center;
    margin-bottom: 20px;
}

.date-info-page {
    text-align: center;
    width: max-content;
    height: auto;
    padding: 10px;
    border: 2px solid #BDB6A3;
    float: right;
}

.info-detail-date {
    text-align: center;
    width: max-content;
    height: auto;
    padding: 10px;
    border: 2px solid #BDB6A3;
    position: absolute;
    right: 0;
}

.info-detail-header {
    position: relative;
    margin-top: 40px;
}

.agenda-pic {
    min-width: 450px;
    height: 450px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    align-self: center;
}

.photo-stocker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    margin: 50px 15% 10px 15%;
}

.bulletin-stocker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    margin: 50px 15% 10px 15%;
}

.objet-stocker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    margin: 10px 15% 10px 15%;
}

.photo-stocker-folder {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    margin: 15px;
}

.phototheque-photo,.boutique-photo{
    height: 300px;
    margin: 10px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
}

.folder-photo-text {
    color: white;
    text-align: center;
    margin: 5px;
}

.phototheque-folder-photo {
    height: 300px;
    margin: 5px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.phototheque-folder-infos {
    margin: 10px;
}

.phototheque-photo-zoomed,.photo-zoomed{
    height: 80%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-top: 60px;
}

.folder-popup {
    position: absolute;
    padding-top: 100px;
    width: 100%;
    right: 0;
    left: 0%;
    top: 0;
    bottom: 0;
    overflow: auto;
    background-color: var(--color-footer-background);
    border-radius: 3px;
    border-style: solid;
    border-color: #272D2D;
    border-width: thin;
}

.photo-popup {
    position: absolute;
    width: 95%;
    height: 90%;
    right: 2.5%;
    left: 2.5%;
    top: 50px;
    z-index: 4;
    overflow: auto;
}

.dark-background {
    z-index: 3;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.button-popup-close {
    height: 60px;
    width: 60px;
    background-color: rgba(0, 0, 0, 0.7);;
    margin: 10px;
    float: right;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
	cursor:pointer;
}

.phototheque-middle {
}

.main-content {
    overflow: auto;
}

.mentions_corp {
    padding: 100px 20% 0 20%;
}

.accueil_body {
    width: 100%;
    height: 100%;
}

.accueil_titre {
    margin-bottom: 30px;
    font-weight: bold;
}

.accueil_pic {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    text-align: -webkit-center;
    padding: 20px;
}

.accueil_pic_pic {
    height: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.accueil_container {
    height: 100%;
}

.accueil_button {
    height: 60px;
    width: 175px;
    margin-top: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.block-mention {
    min-height: 100px;
    margin: 30px;
}

.bouton_ajout,
.button-update-info,
.bouton_close,
.bouton_close-securite,
.bouton_oui,
.bouton_close_add,
.bouton_ajout_folderP{
    align-self: flex-end;
    border-radius: 5px;
    min-width: 100px;
    width: 20%;
    padding: 5px;
    margin: 5px;
    text-align: center;
    cursor: pointer;
    background-color: #2f3640;
    color: white;
}

.button-delete-info,
.logo-update,
.button-update-info-link
{
    min-width: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-right: 20px;
    margin-left: 20px;
}

.imp,
.popup_imp{
    width: -webkit-fill-available;
}

.info_update-popup,
.info-add-popup,
.folder-photo-add-popup{
    position: absolute;
    padding: 10px;
    width: 80%;
    height: 50%;
    right: 10%;
    left: 10%;
    top: 30%;
    z-index: 4;
    overflow: auto;
    border-width: 1px;
    border: solid;
    background-color: white;
}

.securite-popup {
    text-align: center;
    position: absolute;
    width: 50%;
    right: 25%;
    left: 25%;
    top: 30%;
    z-index: 4;
    overflow: auto;
    border-width: 1px;
    border: solid;
    background-color: white;
}

.popup_field_description,
.field_description {
    min-height: 150px;
}

.part_boutons {
    display: flex;
    place-content: space-between;
}

.info-text {
    margin: 15px;
    max-width: 90%;
    width: -webkit-fill-available;
}

.photo-popup-title {
    color: white;
    text-align: center;
}

.boutique-objet-titre {
    margin: 10px;
}

.logo-up-bar {
    height: 90px;
    width: 90px;
    margin: 5px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.button-read-info {
    height: 50px;
    min-width: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-right: 20px;
    margin-left: 20px;
    align-self: center;
}

.info-detail-image {
    width: auto;
    height: 600px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.info-detail-titre,
.info-detail-description,
.info-detail-image {
    margin-top: 30px;
}

.detail-info-pagination {
    margin-left: 20%;
    margin-right: 20%;
}

.image-info-page,
.titre-info-page{
    cursor: pointer;
}

.block-center-detail {
    margin: 100px 25% 100px 25%;
}

.center-bloc-text {
    text-align: -webkit-center;
    width: -webkit-fill-available;
    position: relative;
}

.form_connexion{
	width: 500px;
	color: white;
	text-align: left;
}

.form_connexion input{
	margin-top:2px;
	margin-bottom:10px;
	width:100%;
	padding-top: 5px;
	padding-bottom: 5px;
}

.messagePopUp{
	display: none;
	z-index: 500;
	background: white;
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	top: 20px;
	min-width: 500px;
	border: 1px solid grey;
	color: grey;
	padding: 10px;
	border-radius: 7px;
	text-align: center;
	opacity:0;
	transition: all 800ms;
}

.messagePopUpRed{
	border: 1px solid #bf2a32 !important;
	color: #bf2a32 !important;
}

@media only screen and (max-width: 1300px) {
    .upper-bar-right-side {
        margin-right: 20px;
    }
}

@media only screen and (max-width: 1150px) {

    .headerpic {
        height: 450px;
    }

    .quote-bloc {
        font-size: var(--size-quote-responsive);
    }

    .top-quote {
        padding-top: 175px;
    }

    .middle-page-index {
        margin: 5px;
    }

    .block-center, .block-center-big {
        margin: 30px 0 30px 0;
        display: block;
    }

    .agenda-pic {
        min-width: 90%;
        margin-bottom: 30px;
    }

    .secondary-quote {
        max-width: 90%;
    }

    .middle-page-title {
        text-align: center;
    }

    .middle-page-text {
        text-align: center;
    }

    .middle-page-pic {
        margin: 30px 15px 30px 15px;
    }

    .block-stocker {
        display: block;
    }

    .block-info {
        max-width: inherit;
    }

    .block-info {
        display: block;
    }

    .middle-page-big-title {
        text-align: center;
    }

    .arrow-pic {
        display: none;
    }

    .middle-bloc-text {
        text-align: -webkit-center;
        margin: 0 100px 0 100px;
    }

    .responsive-arrows-stocker {
        display: flex;
    }

    .footer {
        padding: 5px;
    }

    .footer-infos {
        display: block;
        padding: inherit;
    }

    .block-info-footer {
        padding: inherit;
        width: inherit;
    }

    .footer-phone-pic {
        margin-top: inherit;
    }

    .flex {
        display: inherit;
    }

    .footer-mail-pic {
        margin: inherit;
        margin-top: 50px;
    }

    .footer {
        height: auto;
    }

    .mwt-bloc {
        margin-top: 100px;
    }

    .upper-bar-button {
        display: flex;
    }

    .link-stocker {
        display: block;
        flex-direction: column;
        background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.7) 100%);
        position: fixed;
        top: 0;
        right: -300px;
        bottom: 0;
        z-index: 2;
        transition-duration: 1s;
        width: 250px;
        top: 100px;
    }

    .link-stocker nav ul li {
        display: flex;
    }

    .upper-bar-right-side {
        margin: inherit;
    }

    .link-stocker nav {
        margin-top: inherit;
    }

    .array-container {
        margin: 30px 0 0 0;
    }

    .headerpic-pic {
        width: 100px;
        height: 100px;
    }

    .mentions_corp {
        padding: 100px 5% 0 5%;
    }

    .block-mention {
        margin: 30px 0 0 0;
    }

    .info-text {
        border-bottom: solid;
        border-width: 1px;
        text-align: center;
    }

    .dossier-photo-titre {
        margin-bottom: 50px;
    }

    .detail-info-pagination {
        margin-right: 5px;
        margin-left: 5px;
    }

    .block-center-detail {
        margin: 20px 5% 20px 5%;
    }
}

@media only screen and (max-width: 800px) {
    .middle-bloc-text {
        margin: 0;
    }

    .upper-bar-pic {
        width: 60px;
    }

    .upper-bar-text {
        align-self: center;
    }

    .date-info-page {
        position: initial;
    }

    .secondary-quote {
        padding-top: 170px;
    }

    .photo-stocker,
    .objet-stocker,{
        margin: inherit;
    }

    .bulletin-stocker {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        margin: inherit;
    }

    .accueil_pic {
        padding: 15px;
    }

    .accueil_titre {
        font-size: var(--size-accueil-titre-responsive);
    }

    .accueil_button {
        margin-top: inherit;
    }

    .accueil_pic_pic {
        height: 50%;
    }

    .phototheque-folder-photo{
        height: 100px;
    }

    .middle-page-secondary {
        margin: 0;
    }

    .folder-popup, .photo-stocker-folder{
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .folder-popup {
        height: 100%;
        right: inherit;
        left: inherit;
        width: 100%;
        overflow: auto;
        padding-top: 120px;
        position: fixed;
    }

    .date-info-page {
        float: inherit;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
    }

    .button-download,
    .button-download-bulletin{
        width: inherit;
        padding: 10px 1px 10px 1px;
    }

    .phototheque-photo {
        height: 200px;
    }

    .info-detail-image {
        height: 300px;
    }

    .block-center-detail {
        margin: 20px 0 20px 0;
    }

    .info-detail-date {
        position: inherit;
        right: inherit;
    }

    .bulletin-stocker-row {
        margin: 15px;
    }
}

@media only screen and (max-width:580px){
	.form_connexion{
		width:90%;
	}
}