* { font-family: 'Montserrat', sans-serif; }

html {
    position: relative;
    width: 100%;
    height: 100%;
}

body {
    position: relative;
    width: 100%;
    height: 100%; 
    background: url("../images/background-vaches-barres.jpg") no-repeat center center fixed;
    background-size: cover;
}

.margin-5 { margin: 10px 0; }
.margin-10 { margin: 10px 0; }
.margin-20 { margin: 20px 0; }
.margin-30 { margin: 30px 0; }

.green { color :#689425; }
.red { color :#e64636; }
.grey { color :#b4b4b4; }

.main-container {
    position: relative;
    margin-top: 10vh;
    background-color: #fff;
    padding: 50px 0;
}

.logo {
    position: relative;
    padding:20px 0;
    text-align: center;
}

.inner-container {
    width: 100%;
    margin: auto;
    padding: 50px 0;
}

@media (min-width:992px) {
    .inner-container {
        width: 750px;
    }
}

h1 {
    color: #689425;
    font-weight: 700;
    font-size: 27px;
    text-align: center;
    text-transform: uppercase;
}

h2 {
    color: #689425;
    font-weight: 700;
    font-size: 27px;
    text-transform: uppercase;
}

h3 {
    color: #414042;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
}

p, a {
    color: #414042;
    font-size: 13px;
}

a:hover {
    color: inherit;
    text-decoration: none;
}

.log-out {
    position: absolute;
    top: 20px; 
    right: 20px;
}

.log-out p {
    color: #b4b4b4;
    font-weight: 700;
}

.log-out a {
   display: inline-block;
   padding-left: 10px;
}

.login-description {
    padding: 0 100px;
    text-align: center;
    font-weight: 700;
}

.description {
    padding: 0 20px;
    text-align: center;
    font-weight: 700;
}

input, textarea {
    background-color: #ededed;
    padding: 5px;
    width: 100%;
    color: #414042;
    border: none;
    text-align: center;
}

#suggestion-form input, #suggestion-form textarea {
    text-align: left;
}

input[type="submit"] {
    background-color: #689425;
    padding: 10px 100px;
    width: auto;
    color: #fff;
    border: none;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
}

.upload-btn {
    position: relative;
    background-color: #757575;
    color: #fff;
    text-transform: uppercase;
    padding: 5px 15px;
    width: 100%;
    font-weight: 700;
    cursor: pointer;
}

.upload-btn::after {
    position: absolute;
    right: 15px;
    content: '+';
}

.upload-container {
    display:none;
    position: absolute;
    border: 1px solid #454545;
    padding: 20px;
    background-color: #fff;
    width: 100%;
    max-width: 750px;
    left: 50%;
    top:40vh;
    transform: translate(-50%, -50%);
    z-index: 101;
}

.apercu-suggestion {
    display:none;
    position: absolute;
    border: 1px solid #454545;
    padding: 20px;
    background-color: #fff;
    width: 100%;
    max-width: 750px;
    left: 50%;
    top:40vh;
    transform: translate(-50%, -50%);
    z-index: 101; 
}

#apercu_titre_suggestion {
    color: #689425;
    font-weight: 700;
    font-size: 27px;
    text-align: center;
    text-transform: uppercase;
}

p.apercu-suggestion-info-auteur {
    margin:0;
}

.separator-fw {
    width: 100%;
    height: 1px;
    background-color: #AEAEAE;
    margin:10px 0;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 100;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #bcbbbb;
    opacity: 1; /* Firefox */
}

.error {
    color: #ea4f3e;
}

.card-columns {
    column-count: 4 !important;
}

.card {
    padding: 5px;
}

.liste-suggestions-container, .suggestion-container {
    padding: 15px 25px;
}

.liste-suggestions table {
    width:100%;
}

.liste-suggestions table tr th {
    color: #b4b4b4;
}

.liste-suggestions table tr th, .liste-suggestions table tr td {
    font-size: 13px;
    padding: 5px 0;
}

.liste-suggestions table tr {
    border-bottom: 1px solid #b4b4b4;
}

.liste-suggestions table tr td p {
    height: 20px;
    overflow:hidden;
    transition: all 1s ease;
    cursor: pointer;
}
.liste-suggestions table tr td p.active {
    height: auto;
}

.liste-suggestions table tbody tr:last-of-type {
    border-bottom: none;
}

.liste-suggestion-titre {
    text-transform: uppercase;
    font-size: 14px;
    cursor:pointer;
}

.nb_pj {
    background-color: #689425;
    display: inline-block;
    padding: 0px 5px;
    color: #fff;
    font-weight: 700;
}

.nb_pj.zero {
    background-color: #d9d9d9;
}

.btn-link-deposer {
    display: inline-block;
    background-color: #689425;
    padding: 5px;
    color: #fff;
}

.zip-btn {
    background-color: #689425;
    padding: 3px 10px;
    color: #fff;
}

@media (max-width:600px) {
	body {
		background: transparent;
	}
	
	.main-container {
		margin-top: 0;
	}
	
	.log-out p {
		margin:0;
	}
	
	.logo {
		max-width: 200px;
		margin: auto;
		padding:0;
	}
	
	.inner-container {
		padding: 20px 0;
	}
	
	h1 {
		font-size: 20px;
	}
	
	h2 {
		font-size: 18px;
	}
	
	input, textarea {
		margin-bottom: 10px;
	}
	
	.margin-10 {
		margin: 0;
	}
	
	.upload-btn {
		margin-bottom: 10px;
	}
	
	.recap_pieces_jointes p, .recap_pieces_jointes a {
		font-size: 10px;
		line-height: 13px !important;
	}
	
	input[type="submit"] {
		padding: 10px 30px;
	}
	
	#dernieres-validees td:nth-of-type(3), #dernieres-validees th:nth-of-type(3),#dernieres-validees td:nth-of-type(4), #dernieres-validees th:nth-of-type(4),#vos-sugestions td:nth-of-type(2), #vos-sugestions th:nth-of-type(2),#vos-sugestions td:nth-of-type(4), #vos-sugestions th:nth-of-type(4) {
		display:none;
	}
	
	.card-columns {
		column-count: 2 !important;
	}
}