* {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.5;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    color: #0a0000;
    background-color: #ffffff;
}

body.f {
    background-color: #ed6fa1;
}

body header > *, body main > section.page, body footer > * {
    margin: 0 auto;
    max-width: 1000px;
}

body header {
    position: relative;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    background-color: #000000;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

body header .header-information {
    padding: 1em 0;
    text-indent: 120px;
    color: #ffffff;
}

body header .header-information a {
    display: none;
	margin: 0 auto 1em;
    width: 120px;
    height: 120px;
    background-image: url(../img/aix-maurienne.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    border-radius: 50%;
}

body header nav > .menu {
    display: none;
    height: 35px;
    background: url(../img/menu.png) 50% no-repeat;
    cursor: pointer;
}

body header nav > ul {
    display: flex;
    margin: 0;
    list-style: none;
}

body header nav > ul > li {
    display: flex;
    flex-grow: 1;
}

body header nav > ul > li.header-logo {
    flex-grow: initial;
    margin: -44px 0 0 0;
    width: 120px;
    height: 120px;
}

body header nav > ul > li > a {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    color: #e8e8e8;
    cursor: pointer;
}

body header nav > ul > li.header-logo > a {
    background-image: url(../img/aix-maurienne.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 90%;
    border-radius: 50%;
}

body header nav > ul > li:hover > a {
    color: #d81e00;
    background-color: #ffffff;
}

body header nav > ul > li.header-logo:hover > a {
    background-color: initial;
}

/* body.f header nav > ul > li:hover > a { */
    /* color: #ed6fa1; */
/* } */

body header nav > ul > li > div {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background-color: #ffffff;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

body header nav > ul > li:hover > div {
    display: block;
}

body header nav > ul > li > div > ul {
    display: flex;
    margin: 0 auto;
    max-width: 1000px;
    list-style: none;
}

body header nav > ul > li > div > ul > li {
    flex-grow: 1;
    padding: 10px 0;
    text-align: center;
	font-size: 15px;
    font-weight: bold;
}

body header nav > ul > li > div > ul > li > ul {
    margin: 10px 0 0 0;
    list-style: none;
    font-weight: normal;
}

body header nav > ul > li > div > ul > li > ul > li > a {
    font-size: 14px;
    color: #000000;
    text-decoration: none;
    cursor: pointer;
}

body header nav > ul > li > div > ul > li > ul > li > a:hover {
    color: #d81e00;
}

body main .left {
    text-align: left;
}

body main .center {
    text-align: center;
}

body main .right {
    text-align: right;
}

body main h1 {
    margin-bottom: 0.5em;
    text-transform: none;
    text-overflow: ellipsis;
    font-family: "Oswald", sans-serif;
    font-weight: normal;
    font-size: 24px;
    white-space: nowrap;
    overflow: hidden;
}

body main h1 a {
    color: #0a0000;
}

body main h3 {
    padding: 0.625em 15px;
    margin-top: 1.25em;
    font-size: 16px;
    font-family: "Oswald", sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    color: #ffffff;
    background: #0a0606;
    border-top: 8px solid #d81e00;
}

body.f main h3 {
    border-color: #ed6fa1;
}

body main h4 {
    margin: 1em 0;
    text-transform: uppercase;
    font-family: "Oswald", sans-serif;
    font-weight: normal;
    font-size: 20px;
}

body main h5 {
    margin: 1em 0;
    text-transform: uppercase;
    font-family: "Oswald", sans-serif;
    font-weight: normal;
    font-size: 18px;
}

body main p {
    margin: 1.25em 0;
    font-size: 16px;
}

body main pre {
    margin: 1.25em 0;
    font-size: 16px;
    word-wrap: break-word;
    font-family: "Lato", sans-serif;
    white-space: pre-wrap;
}

body main form label {
    display: block;
    width: 100%;
}

body main form input, body main form select {
    padding: 5px;
    width: calc(100% - 15px);
    font-size: 14px;
}

body main form textarea {
    padding: 5px;
    width: calc(100% - 15px);
    font-family: "Lato", sans-serif;
    font-size: 14px;
    resize: none;
}

body main form span {
    color: #d81e00;
}

body.f main form span {
    color: #ed6fa1;
}

body main form input[type=submit] {
    cursor: pointer;
}

body main li {
    margin: 0.5em 0 0.5em 1em;
    font-size: 16px;
}

body main blockquote {
    position: relative;
    margin: 0 1.25em;
    font-weight: bold;
    font-size: 18px;
    font-style: italic;
}

body main cite {
    display: block;
    font-weight: normal;
    font-size: 14px;
    position: relative;
    text-indent: 2.5em;
    margin-top: 0.5em;
}

body main cite::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 2em;
    height: 1px;
    background: #d81e00;
}

body.f main cite::before {
    background: #ed6fa1;
}

body main a {
    color: #d81e00;
    text-decoration: none;
    cursor: pointer;
}

body.f main a {
    color: #ed6fa1;
}

body main hr {
    margin: 40px auto;
    width: 50%;
    border: 1px solid #0a0000;
}

body main img {
    width: 100%;
}

body main img.alignleft {
    float: left;
    margin-right: 25px;
    width: 100px;
}

body main .left img, body main .right img {
    width: initial;
}

body main dl {
    font-size: 14px;
    padding: 1em 15px 0;
    border: 1px solid #e0e0e0;
    background-color: #f4f4f4;
    margin-bottom: 1.25em;
}

body main dl dt {
    float: left;
    width: 25%;
    margin: 0 0 1em;
    font-weight: bold;
}

body main dl dd {
    margin: 0 0 1em 30%;
}

body main dl dd span {
    color: #d81e00;
    cursor: pointer;
}

body.f main dl dd span {
    color: #ed6fa1;
}

body main dl dd span.active {
    color: initial;
    cursor: initial;
}

body main iframe {
	/* width: calc(100% - 22px) !important; */
	/* height: 400px; */
}

body main section.home {
	height: calc(100vh - 270px);
	background-image: url(../img/fond.jpg);
	background-position: center;
	background-size: cover;
}

body main section.home > div {
	position: relative;
	margin: auto;
	max-width: 1000px;
	height: 100%;
}

body main section.home > div > div {
	position: absolute;
	top: 50%;
	padding: 1em 2em;
	max-width: calc(100% - 8em);
	max-height: calc(100% - 8em);
	overflow-y: auto;
	transform: translateY(-50%);
	background-color: #fff;
	box-shadow: 0 0 5px #000000;
}

body main section.home > div > div.left {
	left: 2em;
}

body main section.home > div > div.right {
	right: 2em;
    text-align: left;
}

body main section.game {
    display: flex;
	justify-content: safe center;
	overflow-x: auto;
    background-color: #e0e0e0;
}

body main section.game > div {
	padding: 0 1em;
	min-width: 0;
	/* min-width: calc(50% - 500px - 2em); */
}

body main section.game > a {
    padding: 2.5em 1em 1em;
    min-width: 6em;
	text-align: center;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
	background-position: center 1em;
	background-repeat: no-repeat;
	background-size: 1.2em;
}

body main section.game > a.home {
	color: #d81e00;
	background-image: url(../img/hom.png);
}

body main section.game > a.visitor {
	color: #000000;
	background-image: url(../img/vis.png);
}

body main section.game > a img {
    margin: 2.5px;
    width: 27.5px;
    vertical-align: middle;
}

body main section.birth {
	padding: 4em 2em 1em;
	text-align: center;
	color: #ffffff;
	background-color: #d81e00;
    background-image: url(../img/birth.png);
    background-position: center 2em;
    background-repeat: no-repeat;
}

body main section.post {
	padding: 2em;
	background-color: #d81e00;
}

body main section.post article {
    display: flex;
	margin: auto;
    max-width: 1000px;
    height: 40em;
	box-shadow: 3px 0px 3px rgba(0, 0, 0, 0.5);
}

body main section.post article.hidden {
    display: none;
}

body main section.post article > a {
    display: block;
	width: 70%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

body main section.post article > video {
    display: block;
	width: 70%;
    background-color: #ffffff;
}

body main section.post article > div {
	padding: 2em;
	width: 30%;
	background-color: #ffffff;
	overflow-y: auto;
}

body main section.post .selector {
	padding: 2em 0 0 0;
    text-align: center;
}

body main section.post .selector div {
	display: inline-block;
	margin: 0 1em;
    width: 20px;
    height: 20px;
	border-radius: 50%;
	background-color: #ffffff;
	box-shadow: 0 0 5px #000000;
	cursor: pointer;
}

body main section.post .selector div:hover {
	background-color: #e0e0e0;
}

body main section.post .selector div.active {
	background-color: #000000;
}

body main section.partner {
	display: flex;
	padding: 5em 0;
	overflow: hidden;
}

body main section.partner a {
	min-width: 10%;
	width: 120px;
	height: 120px;
	text-align: center;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

body main section.page {
	padding: 2em;
}

/* body main article { */
	/* margin-top: 2em; */
	/* margin-bottom: 2em; */
/* } */

body main table {
    margin-bottom: 1.25em;
    width: calc(100% - 1px);
    table-layout: auto;
    border-collapse: collapse;
    border-spacing: 0;
    background: #f4f4f4;
}

body main h3.hidden, body main div.hidden, body main table.hidden {
    display: none;
}

body main table tr th, body main table tr td {
    padding: 0.625em;
    text-align: center;
    font-size: 14px;
    border: 1px solid #e0e0e0;
}

body main table tr.active td {
    background: #ffffff;
}

body main table tr td img.logo {
    margin-right: 10px;
    width: auto;
    height: 2em;
    vertical-align: middle;
}

body main table.training caption {
    padding: 0.625em 15px;
    font-size: 16px;
    font-family: "Oswald", sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    text-align: left;
    color: #ffffff;
    background: #0a0606;
    border-top: 8px solid #d81e00;
}

body.f main table.training caption {
    border-color: #ed6fa1;
}

body main table.training tbody tr {
    height: 15px;
}

body main table.training td, body main table.training th {
    vertical-align: middle;
    border-color: #ccc;
}

body main table.training td.date {
    padding: 0;
    vertical-align: bottom;
    font-size: 8px;
    font-style: italic;
}

body main table.training td.disabled {
    background: #ddd;
}

body main table.training .schedule {
    font-size: 0.7em;
    font-style: italic;
}

body main table.training .team {
    font-size: 0.8em;
    font-weight: bold;
}

body main table.training .team.short {
    font-size: 0.7em;
}

body main table.training .trainer {
    font-size: 0.8em;
}

body main table.training .trainer.short {
    font-size: 0.6em;
}

body main .link.hidden {
    display: none;
}

body main div.game {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

body main div.game div {
	width: calc(25% - 5px);
    border: 1px solid #e0e0e0;
	background-color: #f4f4f4;
}

body main .game.hidden {
    display: none;
}

body main .game p {
    /* margin: 5px 0; */
}

body main .game p > em, body main .game p > strong {
    float: right;
}

body main .game p time {
    font-size: 13px;
    font-weight: bold;
}

body main .game p img.logo {
	margin-right: 5px;
    width: auto;
    height: 1.5em;
    vertical-align: middle;
}

body main .game .game-hom, body main .game .game-vis {
    display: flex;
    margin-top: 5px;
    width: calc(100% - 20px);
}

body main .game-hom {
    padding-left: 20px;
    font-size: 12px;
    color: #d81e00;
    background-image: url(../img/hom.png);
    background-repeat: no-repeat;
    background-size: 16px;
}

body.f main .game-hom {
    color: #ed6fa1;
}

body main .game-vis {
    padding-left: 20px;
    font-size: 12px;
    color: #0a0000;
    background-image: url(../img/vis.png);
    background-repeat: no-repeat;
    background-size: 16px;
}

body main .game div p {
    margin: 10px;
    font-size: 13px;
    /* font-weight: bold; */
}

body main .game .game-date {
    width: 20%;
}

body main .game .game-team {
    width: 30%;
}

body main .game .game-opponent {
    width: 50%;
}

body main .game-official {
    padding-left: 20px;
    width: calc(100% - 20px);
    font-size: 11px;
    color: #d81e00;
}

body.f main .game-official {
    color: #ed6fa1;
}

body footer {
    padding: 10px 0;
    color: #e0e0e0;
    background-color: #0a0000;
}

body footer > div {
    display: flex;
}

body footer aside {
    padding: 10px 20px;
    width: 33.33%;
}

body footer aside h3 {
    margin-bottom: 5px;
    font-size: 24px;
    font-family: "Oswald", sans-serif;
    font-weight: normal;
    text-transform: uppercase;
}

body footer aside p {
    margin-bottom: 1.25em;
	text-align: justify;
    font-size: 14px;
}

body footer aside p a {
    color: #d81e00;
    text-decoration: none;
}

body.f footer aside p a {
    color: #ed6fa1;
}

body footer aside ul {
    font-size: 14px;
    list-style: none;
}

body footer aside ul li {
    margin-bottom: 7.5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body footer aside ul li a {
    color: #ffffff;
    text-decoration: none;
}

body footer aside ul li a:hover {
    color: #d81e00;
}

body.f footer aside ul li a:hover {
    color: #ed6fa1;
}

body .site-info {
    padding: 10px 20px;
    color: #000000;
    font-size: 11px;
	text-align: center;
    text-transform: uppercase;
}

body .site-policy {
    position: fixed;
    bottom: 0;
    padding: 5px 0;
    width: 100%;
    text-align: center;
    font-size: 15px;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, .5) 0px 5px 20px;
}

body .site-policy.hidden {
    display: none;
}

body .site-policy p {
    margin: 5px 0;
}

body .site-policy p a {
    color: #d81e00;
    text-decoration: none;
}

body.f .site-policy p a {
    color: #ed6fa1;
}

body .site-policy p button {
    margin-left: 10px;
    padding: 5px 10px;
    color: white;
    background: black;
    border: 0;
    cursor: pointer;
}

@media screen and (max-width: 1000px) {
    body header > *, body .content, body footer {
        margin: 0 auto;
        width: 100%;
    }

    body .content .game {
        width: calc(50% - 22px);
    }

    body .content table tr th.hidden, body .content table tr td.hidden {
        display: none;
    }

	body main section.partner a {
		min-width: 15%;
	}

	body main div.game div {
		width: calc(33.33% - 5px);
	}
}

@media screen and (max-width: 600px) {
    body header .header-link {
        display: none;
    }

	body header .header-information {
		text-align: center;
		text-indent: 0;
	}

	body header .header-information a {
		display: block;
	}

	body header .header-information span {
		display: none;
	}

    /* body header a.header-logo { */
        /* float: initial; */
    /* } */

    body header nav > .menu {
        display: block;
    }

    body header nav > ul {
        display: none;
    }

    body header nav > ul.active {
        display: block;
    }

    body header nav > ul > li {
        display: block;
    }

	body header nav > ul > li.header-logo {
		display: none;
	}

    body header nav > ul > li > div {
        position: initial;
    }

    body header nav > ul > li:hover > div {
        display: none;
    }

    body header nav > ul > li > div.active {
        display: block;
    }

    body header nav > ul > li > div > ul {
        display: block;
    }

    body header nav > ul > li > a {
		padding: 5px 0;
    }

	body main dl dt {
		width: 100%;
		margin: 0 0 0.5em;
	}

	body main dl dd {
		margin: 0 0 0.5em 0;
	}

    body .content, body footer div {
        flex-flow: column;
    }

    body .content .content-primary {
        width: initial;
        box-shadow: 0 0 0;
    }

    body main section.home > div > div {
        padding: 1em;
        max-width: calc(100% - 6em);
        max-height: calc(100% - 6em);
    }

	body main section.post article {
		flex-direction: column;
	}

	body main section.post article > a {
		width: 100%;
		height: 70%;
	}

	body main section.post article > div {
		width: calc(100% - 4em);
		height: 30%;
	}

	body main section.partner a {
		min-width: 33%;
	}

	body main div.game div {
		width: calc(50% - 5px);
	}

	body main table .hidden {
		display: none;
	}

	body footer aside {
		padding: 10px 20px;
		width: auto;
	}
}