/*
Theme Name:          Un soir aux Eaux-Vives
Bitbucket Theme URI: https://bitbucket.org/sagence/unsoir/
Description:         Twentyseventeen child theme.
Author:              s-agence
Author URI:          https://s-agence.ch
Template:            twentyseventeen
Version:             0.4.3
*/

.event-version {
	position: absolute;
	top: 2em;
	right: 2em;
	width: 125px;
}

.sponsors {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-align: end;
	-ms-flex-align: end;
	align-items: flex-end;
	margin-top: 1em;
	margin-bottom: 1em;
}

.sponsors > p {
	color: #fff;
	font-size: 0.875em;
	text-transform: uppercase;
	text-align: right;
	margin: 0 1em 0 0;
	white-space: nowrap;
}

.sponsors-list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: end;
	-ms-flex-align: end;
	align-items: flex-end;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	list-style: none;
	margin: 1em -1.25em -1em;
	padding: 0;
}

.sponsors-list li {
	-ms-flex: 0 1 auto;
	flex: 0 1 auto;
	margin: 1em 1.25em;
}

.sponsors-list img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: auto;
	height: auto;
	max-height: 60px;
	max-width: 120px;
}

.sponsors-list li:first-child img {
	max-width: 180px;
	max-height: none;
}

.main-navigation .menu-item {
	text-transform: uppercase;
}

@media screen and (min-width: 48em) {
	.home .navigation-top {
		bottom: 0;
	}

	.home .site-navigation-fixed.navigation-top {
		bottom: auto;
	}

	.navigation-top {
		bottom: inherit;
	}
}

@media screen and (min-width: 60em) {
	.site-branding .wrap {
		max-width: 1280px;
	}

	.sponsors {
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		max-width: 70%;
		margin-left: auto;
		-webkit-box-pack: end;
		-ms-flex-pack: end;
		justify-content: flex-end;
	}

	.sponsors > p {
		margin-right: 5%;
	}

	.sponsors-list {
		-webkit-box-flex: 1;
		-ms-flex: 0 1 auto;
		flex: 0 1 auto;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
	}

	.sponsors-list li {
		margin-left: 1.25em;
		margin-right: 1.25em;
	}

	.sponsors-list img {
		max-height: 70px;
	}

	.site-logo {
		width: 600px;
	}

	.event-version {
		top: 3em;
		right: 3em;
	}
}

@media screen and (min-width: 80em) {
	.site-branding .wrap {
		margin-left: calc((100% - 1280px) / 2);
		max-width: 100%;
	}
}
