/*------------------------LIGHTBOX----------------------------*/


/*body {
    margin: 0;
}

.crop {
    display: grid;
    grid-template-columns: repeat(3, 200px);
    justify-content: center;
    align-content: center;
    grid-gap: 10px;
    height: 100vh;
}

.crop img {
    width: 200px;
    height: 200px;
    cursor: pointer;
}

#lightbox {
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    display: none;
}

#lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox img {
    max-width: 90%;
    max-height: 80%;
    padding: 4px;
    background-color: black;
    border: 2px solid white;
}*/

.modal-content {
    background-color: #004676 !important;
}

.concours-photos {
    margin: 10px;
    text-align: center;
}

.concours-photos h2 {
    margin-top: 25px;
}

#perso-svg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
}

.concours-photos #concours,
.concours-photos .buttons,
h2 {
    font-family: 'Arial', arial, sans-serif;
}

.concours-photos .participant {
    background-color: #ffffff;
    border: 4px solid #eeeeee;
    display: inline-block;
    width: 30%;
    margin: 15px;
    padding: 0;
}

#info-perso {
	text-align: center;
	color: #09538a;
	margin-bottom: 25px;
}
.concours-photos .crop {
    width: 100%;
    height: 240px;
    overflow: hidden;
    margin: 0 auto;
}

.concours-photos .photo {
    width: 100%;
}

.concours-photos .buttons {
    width: 100%;
    text-align: center;
}

.concours-photos .buttons button {
    background-color: #004676;
    color: #ffffff;
    width: 33%;
    text-align: center;
    border: none;
    padding: 32px 0;
    font-size: 1.2em;
    text-transform: uppercase;
    cursor: pointer;
    margin: 0 auto;
}

.concours-photos #concours {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    margin-top: 64px;
}

.concours-photos #concours p {
    margin: 4px;
}

.concours-photos h2 {
    color: #004676;
    text-align: center;
}

.concours-photos .btn-voter {
    background-color: #004676;
    color: #ffffff;
    width: 100%;
    text-align: center;
    border: none;
    padding: 8px 0;
    font-size: 1em;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-showConcourDescription {
    background-color: #0099ff;
    color: #ffffff;
    width: 100%;
    text-align: center;
    border: none;
    padding: 8px 0;
    font-size: 1em;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-showConcourDescription:hover,
.btn-voter:hover {
	background-color: #156194;
}
.btn-participant{
    background-color: #f45038 ;
}
.btn-participant:hover{
    background-color: #df5c48;
}
.btn-participant a {
    color: #fff;
}
.btn-participant a:hover {
    color: #fff;
    text-decoration: none;
}

#voirToutesPhotos{
    background-color: #f45038;
}
#voirToutesPhotos:hover{
    background-color: #df5c48;
}
#voirToutesPhotos a {
    color: #fff;
}
#voirToutesPhotos a:hover {
    color: #fff;
    text-decoration: none;
}
#modalTextConcourBody {
    padding: 20px;
}

.showConcourDescription {
    background-color: #0099ff;
    color: #ffffff;
    width: 100%;
    text-align: center;
    border: none;
    padding: 8px 0;
    font-size: 1em;
    cursor: pointer;
}

#partager {
    margin-top: 10px;
    margin-bottom: 10px;
}

#partager span {
    color: #004676;
    font-size: 1.2em;
    text-transform: uppercase;
}

.concours-photos .success {
    background-color: #59c559;
}

.concours-photos .selected-theme {
    background-color: #0099ff !important;
}

.modal-backdrop {
    display: none;
}

.modal-dialog-scrollable .modal-content {
    max-height: 80% !important;
}

#modalCheckAndVote {
    z-index: 2 !important;
}

.close {
    background-color: #0099ff;
    display: flex;
    justify-content: end;
    border: none;
    color: #fff;
}


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


/* Responsive */


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

@media screen and (max-width: 1010px) {
    .concours-photos .buttons button {
        display: block;
        width: 100%;
        margin: 0 auto;
        margin-bottom: 4px;
    }

    .concours-photos .participant {
        margin: 0 auto;
        margin-bottom: 16px;
        width: 48%;
    }
}

@media screen and (max-width: 415px) {
    .concours-photos .participant {
        width: 100%;
        margin: 0 auto;
    }
}

.g-recaptcha>div {
    width: initial !important;
    text-align: center;
}