body{
    font-family: sans-serif;
}
.photo-form {
    width: 400px;
    max-width: calc(100vw - 34px);
}

.photo-form .lieu {
    background: #333;
    height: 220px;
    margin: 0 -15px 0 -15px;
    position: relative;
}

.wnd>.box>div>h3:empty {
    display: none;
}

.photo-form .top.position:before {
    background: url(../img/localiser.svg) no-repeat center center/contain;
    transform: rotate(-23deg);
    filter: invert(1);
    opacity: 0.4;
}

.photo-form .top.info:before {
    background: url(../img/discuter.svg) no-repeat center center/contain;
    transform: rotate(-23deg);
    opacity: 0.4;
}

.photo-form .top {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

.photo-form .top>* {
    flex: 1;
}

.photo-form .top:before {
    content: "";
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.photo-form .lieu>.search>input {
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    width: 260px;
    background: #fff;
    font-size: 16px;
    padding: 7px;
    max-width: calc(100vw - 80px);
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transform: translateX(-100px);
    opacity: 0;
    will-change: transform,opacity;
    transition: transform 0.3s,opacity 0.2s;
    outline: none;
}

.photo-form .lieu>.search>input:focus {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
}

.photo-form .lieu>.search>input:focus+a {
    opacity: 0;
    transform: translateX(100px);
}

.photo-form .lieu>.search>a {
    will-change: transform,opacity;
    transition: transform 0.3s,opacity 0.2s;
    cursor: pointer;
    width: 32px;
    height: 32px;
    background: #cb6896 url(../img/search.svg) no-repeat center center/16px;
    border-radius: 50%;
    display: block;
}

.photo-form .lieu>.search {
    position: absolute;
    right: 10px;
    top: 10px;
}

.photo-form .lieu>.map {
    height: 100%;
}

.leaflet-control-attribution {
    display: none;
}

.photo-form .lieu>.adresse {
    padding: 3px 10px;
    display: block;
    font-size: 12px;
    text-align: center;
    color: #666;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgb(255 255 255 / 75%);
    z-index: 100;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.leaflet-control-zoom.leaflet-bar.leaflet-control {
    display: none;
}

.photo-form h3 {
    font-weight: normal;
    margin-bottom: 0;
    font-size: 16px;
    margin-top: 0;
}

.photo-form h3+p {
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.2em;
}

.photo-form textarea {
    outline: none;
    background: #f1f1f1;
    border: none;
    resize: none;
    width: 100%;
    height: 100px;
    padding: 5px;
    font-family: sans-serif;
    font-size: 12px;
    border-radius: 4px;
    box-sizing: border-box;
}

.photo-preview {
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-bottom: 10px;
}

.photos>.is_loading {
    width: 64px;
    height: 64px;
    margin: 20px auto;
    background-size: 100%!important;
}

.photo-preview .is_loading {
    width: 64px;
    height: 64px;
    margin: 40px auto;
    background-size: 100%!important;
}

.ccp a {
    text-decoration: none;
}

.ccp p {
    text-align: justify;
}

.ccp {
    font-family: 'Open Sans',Arial;
}

.ccp h2 {
    font-family: 'Lobster',sans-serif;
    font-size: 24px;
    text-align: center;
}

.ccp>.photos {
    display: flex;
    padding: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.ccp>.photos>.photo-item {
    width: 160px;
    height: 160px;
    position: relative;
    margin: 4px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
    max-width: calc((100vw - 70px) / 2);
}

.ccp>.photos>.photo-item>.photo {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #333;
    cursor: pointer;
    position: relative;
}

.ccp>.photos>.photo-item>a {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 24px;
    height: 24px;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
}

.ccp>.photos>.photo-item>a:before,.ccp>.photos>.photo-item>a:after {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    background: #fff;
}

.ccp>.photos>.photo-item>a:before {
    transform: rotate(45deg);
}

.ccp>.photos>.photo-item>a:after {
    transform: rotate(-45deg);
}

.ccp .tools>a.add:before {
    content: "";
    height: 100px;
    display: block;
    background: url(../img/image-gallery.svg) no-repeat center center/contain;
}

.ccp .tools>a.add {
    width: 240px;
    text-align: center;
    margin: 30px auto;
    display: block;
    font-size: 20px;
    cursor: pointer;
}

.to-accept~* {
    display: none!important;
}

.ccp>.photos[data-count="2"]~.tools {
    display: none;
}

.accept>input+* {
    flex: 1;
}

.accept>input {
    margin-right: 10px;
}

.accept {
    display: flex;
    align-items: center;
}

.ccp>.photos>.photo-item>.photo>.commune {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 4px;
    z-index: 10;
    color: #fff;
    pointer-events: none;
    font-size: 12px;
}

.ccp>.photos>.photo-item>.photo:before {
    pointer-events: none;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(180deg,transparent,rgba(0,0,0,0.7));
}

@keyframes animVote1{
    0%{transform:scale(1);}
    35%{transform:scale(1.2);}
    55%{transform:scale(0.90);}
    60%{transform:scale(1);}
}
a.vote-link {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    will-change:transform;
    cursor: pointer;
    border:solid 1px rgba(0,0,0,.9);
}
a.vote-link.voted{animation:animVote1 0.5s linear;}
a.vote-link.voted:before{filter:none;opacity:1;animation:animVote1 0.5s 0.2s linear;}

a.vote-link:before {
    content: "";
    display: block;
    background: url(../img/heart.svg) no-repeat center center/contain;
    position: absolute;
    left: 10px;
    top: 10px;
    right: 10px;
    bottom: 10px;
    filter:grayscale(1);
    opacity:0.5;
    will-change:transform, opacity, filter;
    
}
.map-location{
    height:300px;
}
.intro form>input{
    margin-bottom: 15px;
}
.intro form{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ccp>.photos>.photo-item>.photo>.pseudo {
    position: absolute;
    left: 0;
    top: 0;
    padding: 4px;
    color: #fff;
    pointer-events: none;
    font-size: 12px;
    text-shadow: 0 0 5px #000, 0 0 15px #000;
}
.wnd img+textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: sans-serif;
    resize: none;
    background:#f1f1f1;
    border: solid 1px #cdcdcd;
    margin-top: 10px;
    padding:4px;
    height:60px;
}
a.logout {
    display: inline-block;
    background: #cb0b0b;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    line-height: 1;
    border-radius: 4px;
    position: fixed;
    right: 10px;
    top: 10px;
}
.bottom {
    position: fixed;
    background: #fff;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    padding: 4px;
    box-shadow: 0 0 10px rgb(0 0 0 / 30%);
}

.bottom>a {
    color: #000;
    display: inline-block;
    border: solid 1px #000;
    padding: 5px 10px;
    font-weight: 500;
}
.content-spage{
    margin-bottom: 80px;
}
.bottom>a.back {
    position: relative;
    padding-left: 34px;
}

.bottom>a.back:before {content: "";position: absolute;width: 6px;height: 6px;border-top: solid 2px #000;border-left: solid 2px #000;transform: rotate(-45deg);left: 15px;top: 50%;margin-top: -4px;}