/* Items */
.item.contribute .name,
.item.contribute .data {
    display: none;
}
.item.contribute .button {
    font-size: 12px;
    padding-right: 10px !important;
}
.item.contribute .buttons {
    margin-top: 5px;
}

/* Buttons */
#upload .button,
#contribute_medias .button {
    color: var(--current-color);
    padding-right: var(--default-spacing);
}


/* Upload */
#upload > .content > .upload_form {
    margin-bottom: var(--big-spacing);
}
#upload .buttons {
    margin-top: var(--default-spacing);
}
#upload .next_step {
    display: none;
}
@media only screen and (min-width: 768px) {
    #upload > .content {
        display: flex;
    }
    #upload > .content > .notice {
        width: 50%;
        box-sizing: border-box;
        padding-right: var(--default-spacing);
    }
    #upload > .content > .upload_form {
        margin-top: var(--big-spacing);
        width: 50%;
    }
}


/* Misc */

#testimony .text,
#contribute .text {
	margin-bottom: 20px;
}
.popup_contribute fieldset.categories {
	position: relative;
}
.popup_contribute fieldset.categories label.error {
	position: absolute;
	top: 0;
	right: 0;
}
#contribute .expandable_container {
	margin-bottom: 20px;
}
#contribute .expand_container {
	line-height: 10px;
	cursor: pointer;
}
#contribute .expand_container > * {
	display: inline-block;
}


/* Popup */
.popup_contribute {
	display: none;
	z-index: 1000000;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: rgba(150, 150, 150, 0.8);
}
.popup_contribute > .wrapper {
	padding: 20px;
	background: #fff;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	max-height: 90vh;
    width: 90%;
    max-width: 800px;
	overflow-y: auto;
	box-sizing: border-box;
}
.popup_contribute .wrapper .close {
	position: absolute;
	right: 10px;
	top: 10px;
	background: url('../img/close.svg') no-repeat;
	width: 15px;
	height: 15px;
	background-size: 100%;
	cursor: pointer;
}
.popup_contribute .wrapper h2 {
	margin-bottom: 20px;
}
.popup_contribute .wrapper .contribute_form_thumbnail {
    margin-bottom: var(--default-spacing);
}
.popup_contribute .wrapper .contribute_form_thumbnail img {
	width: 100%;
	height: auto;
}
.popup_contribute .wrapper .contribute_form_thumbnail video {
	width: 100%;
}
.popup_contribute textarea,
.popup_contribute input[type=text] {
}
.popup_contribute label {
    display: inline-block;
}
.popup_contribute .persons {
    display: none;
}

@media only screen and (min-width: 768px) {
    .popup_contribute .wrapper > .content {
        display: flex;
        flex-direction: row-reverse;
    }
    .popup_contribute .wrapper form {
        width: 65%;
    }
    .popup_contribute .wrapper .contribute_form_thumbnail {
    	width: 35%;
    	margin-left: 20px;
        margin-bottom: 0;
    }
}
