/*************************
 * #footer
 *************************/

#footer {
	background-color: #29aa67/*vert*/;
    padding-left: 10px;
    padding-right: 10px;
	display: grid;
	grid-template-areas:
		"details ripess links";
	grid-template-columns: 33%;
	margin-top: 50px;
	padding-top: 20px;
	padding-bottom: 20px;
}

#footer a:visited {
	color: white;
}

#footer a:hover {
	text-decoration: none;
	background-color: #006eb6/*bleu*/;
}

#footer li a {
	display: inline-block;
    padding-top: 2px;
    padding-bottom: 2px;
	padding-left: 5px;
	padding-right: 5px;
    color: white;
    font-size: 0.7em;
	font-family: 'Montserrat';
	font-weight: 600;
}

#footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}


/*************************
 * #footer_details
 *************************/

#footer_details {
    grid-area: details;
    padding-left: 10px;
}

#footer_details li {
	margin: 0;
	padding-left: 10px;
}

#footer_details summary {
	font-family: 'Montserrat';
	font-weight: 500;
	color: white;
	margin-top: 0;
	margin-bottom: 10px;
}

#footer_details summary:hover {
	cursor: pointer;
}

#footer_details ul {
	margin-left: 0;
    margin-bottom: 20px;
	padding-left: 10px;
}


/*************************
 * #footer_links
 *************************/

#footer_links {
    grid-area: links;
    text-align: right;
}

#footer_links_body {
    display: inline-block;
}

#footer_links ul {
    text-align: center;
    margin-bottom: 20px;
}


/*************************
 * #footer_networks
 *************************/

#footer_networks {
	grid-area: networks;
	text-align: right;
	height: 36px;
	padding-bottom: 10px;
	padding-right: 5px;
}

#footer_networks a {
	display: inline-block;
	background-color: white;
	width: 34px;
	height: 34px;
	border-radius: 17px;
	background-position: center center;
	background-repeat: no-repeat;
	margin-right: 5px;
	margin-left: 5px;
}

#footer_networks_atom {
	background-image: url("images/atom.png");
}

#footer_networks_twitter {
	background-image: url("images/twitter.png");
}

#footer_networks_coredem {
	background-image: url("images/coredem_18x16.png");
}


/*************************
 * #footer_ripess
 *************************/

#footer_ripess {
	text-align: center;
    grid-area: ripess;
}


#footer_ripess span {
    display: block;
    font-family: 'Montserrat';
    font-weight: 500;
	color: white;
	margin-bottom: 25px;
}

#footer_ripess a {
	display: inline-block;
	height: 64px;
	width: 140px;
	background-repeat: no-repeat;
	margin-bottom: 15px;
	border-width: 2px;
	border-style: solid;
	border-color: #fff;
}

#footer_ripess a:hover {
	border-color: #006eb6/*bleu*/;
}

#footer_ripess_org {
	background-image: url("images/ripess_org-footer.png");
}

#footer_ripess_eu {
	background-image: url("images/ripess_eu-footer.png");
}


/*************************
 * @media
 *************************/

@media (min-width: 1400px) {
	#footer {
		padding-left: calc(50vw - 700px);
		padding-right: calc(50vw - 700px);
	}
}

@media (max-width: 799px) {
 
    #footer {
        display: block;
    }
    
    #footer_ripess {
        margin-top: 20px;
    }
    
    #footer_links_body {
        display: block;
    }

    #footer_networks {
        text-align: center;
    }
    
    #footer_details details {
		text-align: center;
		margin-top: 10px;
		margin-bottom: 40px;
	}
}
