:root {
    --dopawards-primary:#C7AC85;
    --dopawards-secondary:#202F62;
    --dopa-primary: #FFF;
    --dopa-secondary: #0a8043;
    --dopa-radius: 8px;
}

body {
    background-color: var(--dopawards-secondary);
    font-family: “Helvetica Neue”, Helvetica, Arial, sans-serif;
    margin: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

main {
    -height: 80vh;
}

iframe {
    border: none;
    width: 100vw;
    margin-right: auto;
    margin-left: auto;
    display: block;
    height: 90vh;
}
p {
    color: var(--dopawards-primary);
}
.animOpenInput {
    display: block;
    padding: 15px;
    border-radius: 15px;
    border: none;
    width: 100%;
    margin: auto;
    height: 150px;
    border: 1px solid #FF0000;
}
#newsfeedPostModal {
    position: fixed;
    top: -100vh;
    height: 100vh;
    -height: -webkit-fill-available;
    width: 100vw;
    z-index: 15;
    background-image: linear-gradient(135deg, #00A3DE, #69C0C7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: top 1s ease-out;
}

#animationContainer {
    background-color: var(--dopawards-secondary);
    width: 40%;
    border-radius: var(--dopa-radius);
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

#activityTitle {
    color: var(--dopawards-primary);
}
#activityTypeContainer {
    min-height: 200px;
}

.answerButton {
    border-radius: var(--dopa-radius);
    background-color: var(--dopawards-primary);
    color: var(--dopawards-secondary);
    border: 1px solid var(--dopawards-secondary);
}

.answerButton:hover, .answerButton:active {
    background-color: var(--dopawards-secondary);
    color: var(--dopawards-primary);
    border: 1px solid var(--dopawards-secondary);
}

#submitAnswer{
    background-color: var(--dopawards-primary);
    color:  var(--dopawards-secondary);
    border: 1px solid var(--dopawards-primary);
}



.live {
    justify-content: center;
}


.photo-newsfeed {
    display: flex;
    justify-content: center;
}


newsfeed-item {
    background-color: #EAE8E8;
    -max-width: 380px;
    width: 340px;
    margin-right: auto;
    margin-left: auto;
    border-radius: 2px;
    padding: 10px;
    color: black;
    margin-bottom: 20px;
}

.feed-item-body {
    padding: 25px;
    height: 240px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-top: 5px;
}

#addPicture {
    margin-bottom: 15px;
    width: 340px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--main);
    color: white;
    padding: 15px;
    display: block;
    border:none;
    font-size: 18px;
    border-radius: 2px;
}

#addPicture>span {
    margin-left: 10px;
}

#newsfeedPostModal {
    position: fixed;
    top: -100vh;
    height: 100vh;
    -height: -webkit-fill-available;
    width: 100vw;
    z-index: 15;
    background-image: linear-gradient(135deg, #43153A, #202F62);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: top 1s ease-out;
}

#newsfeedPostModalWrapper {
    width: 100%;
    max-width: 350px;
    margin-right: auto;
    margin-left: auto;
}
.newsfeed-post-form-main {
    background-color: white;
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 1rem;
}
.newsfeed-post-add-img-wrapper {
    margin-top: 1rem;
}
#newsfeedAddImgInput {
    color: transparent;
    background-color: white;
    height: 30px;
}

#newsfeedAddImgInput::-webkit-file-upload-button {
    visibility: hidden !important;
    -webkit-appearance: none;
    width: 0;
    border: none;
    margin: 0;
    padding: 0;
    height: 0;
}
#newsfeedAddImgInput::file-selector-button{
    visibility: hidden !important;
    -webkit-appearance: none;
    width: 0;
    height: 0;
    border: none;
    margin: 0;
    padding: 0;
}

#newsfeedAddImgInput::before {
    /* content: 'Télécharger une photo '; */
    content: '+ Prendre une photo ';
    color: black;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    /* background: var(--synergie-pink); */
    border: 1px solid white;
    border-radius: 25px;
    padding: 5px 5px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    font-weight: 400;
    font-size: 1rem;
    /* margin-bottom: 1rem; */
}

#newsfeedPostMessageBtn {
    background-color: white;
    outline: none;
    border: 2px solid white;
    border-radius: 25px;
    padding: 5px 5px 5px 40px;
    width: 100%;
    font-size: 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#newsfeedPostMessageBtn>span, #newsfeedPostMessageBtn>i {
    display: block;
    color: var(--main);
}

#newsfeedPostMessageBtn>span {
    flex-grow: 1;
    text-align: left;
}

#newsfeedPostMessageBtn>i {
    font-size: 40px;
    color: var(--dopa-secondary);
}

#newsfeedPostCloseBtn {
    width: 40px;
    height: 40px;
    margin-left: auto;
    text-align: right;
    display: flex;
    justify-content: end;
    align-items: center;
    color: var(--dopa-secondary);
}

.newsfeed-post-add-img-preview {
    overflow-y: auto;
    height: 40vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.picPreview {
    width: 100%;
    margin-bottom: 10px;
    display: inline-block;
    height: auto;
}

.newsfeed-post-img-input-warning {
    color: black;
    text-align: center;
    visibility: hidden;
}


.newsfeed-item {
    background-color: #EAE8E8;
    width: 275px;
    margin-right: auto;
    margin-left: auto;
    border-radius: 2px;
    padding: 10px;
    color: black;
    margin-bottom: 20px;
}

.feed-item-body {
    padding: 25px;
    height: 240px;
    width: 240px;
    margin-left: auto;
    margin-right: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-top: 5px;
}
.feed-item-footer {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#addPicture {
    width: 100%;
    margin-bottom: 15px;
    -width: 340px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--main);
    color: white;
    padding: 15px;
    -display: block;
    border:none;
    font-size: 18px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#addPicture>span {
    margin-left: 10px;
}
.fa-heart {
    color: #99508B;
}

@media screen and (max-width: 800px) {
    main {
        padding:0;
        height: 300px;
    }
    #animationContainer {
        width: 90%;
    }
}