@media only screen and (max-width: 400px) 
{
header {
    background: transparent;
    margin-top: 0em;
    padding-top: 0em;
    padding-bottom: 0em;
    background-size: cover;
    height: 145px;
    margin-bottom: 0px;
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
}

.coursecenter {
	text-align: left;
	margin-bottom: 30px;
}
}


@media only screen and (min-width: 768px) 
{

body {
	background-image: url("../img/trailleurs_20190809_174151.jpg");
	background-size: cover;
	background-position: top;
	background-color: #f0f0f0;
	background-attachment: fixed;
}

.logo-home {
	width: 80%;
	max-width: 225px;
}

.logo-header {
	margin: auto;
	max-width: 210px;
	margin-top: 0px;
	margin-left: -15px;
	z-index: 1000;
	position: absolute;
}

#header {
	width: 100%;
	display: block;
	text-align: center;
}

#menu {
	position: fixed;
	width: 100%;
	bottom: unset;
	z-index: 1002;
	top: 0;
}

.navbar-default {
	background-color: #3ba9b6;
	border-color: transparent;
	border-radius: 0px 0px 15px 15px;
	max-width: 1094px;
	margin: auto;
	height: 0px;
	min-height: 40px;
}

.navbar-toggle {
	position: relative;
	margin-right: 0px;
	padding: 14px 10px;
	margin-top: 13px;
	margin-bottom: 13px;
	background-color: #2c3e50;
	background-image: none;
	border: 1px solid #2c3e50;
	border-radius: 28px;
	float: unset;
}

.navbar-default .navbar-toggle {
	border-color: #2c3e50;
}

.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
	color: #2c3e50;
	border-color: #2c3e50;
	background-color: transparent;
}

header {
    background: transparent;
        background-position-x: 0%;
        background-position-y: 0%;
        background-image: none;
        background-size: auto;
    margin-top: 0em;
    padding-top: 3em;
    padding-bottom: 0em;
    background-image: none;
    background-size: cover;
    height: 100px;
    margin-bottom: 0px;
    background-position: bottom;
}
.page-logo {
	padding-bottom: 0px;
	margin: 10px 0 0px;
	border-bottom: 20px solid transparent;
}

#bottom {
	background: transparent;
	/*background-image: url("../img/arbres2.png");*/
	background-size: cover;
	background-position: left;
	position: fixed;
	width: 100%;
	bottom: -3em;
	height: 200px;
	z-index: -1;
}

.site-title {
    font-size: 35px;
    color: #fff;
    font-family: "yikes";
    font-weight: bold;
    margin-top: 0px;
    letter-spacing: 2px;
	display: block;
}

#header-logo {
	padding-left: 5px;
	float: left;
	width: 35%;
	position: absolute;
}

#header-resources {
    float: right;
    text-align: right;
    padding-right: 5px;
    padding-top: 32px;
    width: 60%;
}
a.aheader {
	color: #fff;
	text-decoration: none;
}

#bas-page {
	height: 130px;
}

.data-epreuve {
	font-size: 18pt;
	font-weight: bold;
}

legend {
	display: block;
	width: 100%;
	margin-bottom: 0px;
	font: 14px/1.5 sans-serif;
	line-height: inherit;
	color: #2c3e50;
	border-bottom: 1px solid transparent;
	font-weight: 700;
}

.form-control {
	width: 100%;
	height: 35px;
	padding: 5px 15px;
	background-color: #fff;
	background-image: none;
	border: 1px solid #dce4ec;
		border-top-width: 1px;
		border-right-width: 1px;
		border-bottom-width: 1px;
		border-left-width: 1px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	-webkit-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#inscription_mm19_InsBirthdate > select {
	width: 30%;
	float: left;
	margin-right: 10px;
}

#inscription_mm19_InsGender > div {
	width: 100px;
	float: left;
}

#inscription_mm19_InsFFA > div  {
	width: 65px;
	float: left;
}

#inscription_mm19_InsNavette > div  {
	width: 65px;
	float: left;
}

#titre-form {
	color: white;
	font-size: 16px;
	margin-bottom: 20px;
	font-weight: bold;
	background-color: cadetblue;
}

#form-part {
	background-color: #fff;
	padding: 5px;
	margin-bottom: 0px;
}

#form-part-valid {
    background-color: #fff;
    padding: 5px;
    margin-bottom: 40px;
    min-width: 300px;
    max-width: 600px;
    border-radius: 10px;
    margin: auto;
}

#form-part-valid-2 {
    background-color: #ffffff;
    padding: 5px;
    margin-bottom: 40px;
    min-width: 300px;
    max-width: 600px;
    border-radius: 10px;
    margin: auto;
}

.form-horizontal .form-group {
	margin-left: 0px;
	margin-right: 0px;
}

.text-muted {
	color: #888;
}

#valid-form {
	text-align: center;
}

body#homepage {
	text-align: left;
	margin-top: 0px;
}

.flyer-home {
	height: auto;
	width: 100%;
	box-shadow: none;
	max-height: 570px;
}

.block-home {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    color: #444;
    margin-bottom: 20px;
    min-height: 600px;
	box-shadow: 3px 3px 5px 0px #555;
}

.block-home-1 {
    background-color: rgba(255, 255, 255, .9);
    border-radius: 15px;
    padding: 15px;
    text-align: left;
    color: #000;
    margin-bottom: 20px;
	margin-top: 0px;
    min-height: 600px;
    box-shadow: 3px 3px 5px 0px #555;
	display: inline-block;
}

.block-home-2 {
	background-color: rgba(255, 255, 255, .9);
	border-radius: 15px;
	padding: 15px;
	text-align: center;
	color: #444;
	margin-bottom: 20px;
	min-height: 600px;
	box-shadow: 3px 3px 5px 0px #555;
}

.link-legal {
	color: #11161b;
	font-size: 10pt;
}

#block-pres {
	background-color: transparent;
	padding: 10px;
	border-radius: 10px;
}

#block-pres > p {
	font-size: 12pt;
}

article.post {
	background-color: #fff;
	padding: 10px;
	border-radius: 15px;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus, .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
	color: #2c3e50;
	background-color: transparent;
}

.header-home {
	width: 100px;
	margin-top: -80px;
	padding: 5px;
}


.nav > li, .nav > li > a {
	position: relative;
	display: -webkit-inline-flex;
	padding-top: 5px;
	padding-bottom: 5px;
}

.navbar-right {
	float: left !important;
	margin-right: 0px;
	display: flex;
	flex-direction: row-reverse;
}

#main {
    flex: 1;
    min-height: 100px;
    background-color: rgba(255, 255, 255, .9);
    padding: 10px;
	padding-bottom: 25px;
    border-radius: 15px;
    box-shadow: 10px 10px 39px 0px #444;
    margin-top: 90px;
}

.dropdown-menu {
	list-style: none;
	font-size: 15px;
	text-align: left;
	top: 100%;
	bottom: unset;
}

.timeline-info {
    max-width: 150px;
    min-width: 100px;
    text-align: center;
    height: 50px;
    line-height: 1.5;
    vertical-align: middle;
    padding-top: 4px;
}

.timeline-arrow {
    width: 20px;
    height: 50px;
    line-height: 1.5;
    vertical-align: middle;
    margin-left: 10px;
    margin-right: 10px;
}

.site-subtitle {
    font-size: 20px;
    color: #fff;
    font-family: arial;
    letter-spacing: normal;
    width: auto;
}

.course-title {
	font-family: "heroes";
	margin-top: 20px;
	text-align: center;
	font-size: 20px;
	color: #0E3651;
}

.asso-title {
    font-family: "yikes";
	margin-top: 20px;
}

.container {
    margin-left: auto;
    margin-right: auto;
}

#fiche-course {
	background-color: #f0f0f0;
	padding: 5px;
	margin-bottom: 40px;
	min-width: 250px;
	max-width: 250px;
	border-radius: 10px;
	border-width: 1px;
	border-style: solid;
	border-color: #aaa;
	margin-right: 5px;
	display: inline-block;
}

#homepage > .body-container {
    background-color: transparent;
    box-shadow: none;
	margin-top: 90px;
}

#bottom-user {
    z-index: 10000000;
    background: transparent none repeat scroll 0% 0%;
    overflow: hidden;
    display: block;
    margin: 0px;
        margin-top: 0px;
    padding: 0px;
    border: 0px none;
    transition: unset;
    position: absolute;
    bottom: 0px;
    width: 120px;
    height: 30px;
    right: 0px;
    float: right;
    margin-top: 30px;
	padding-right: 10px;

}

#block-home-btn {
	position: relative;
	text-align: center;
	float: left;
	width: 100%;
}

#block-home-ctn {
    position: relative;
    float: left;
    min-height: 500px;
	font-size: 16px;
	text-align: left;
}

.pres-course {
	max-width: 350px;
	background-color: #b9da9e;
	padding: 10px;
	margin-right: 1%;
	display: inline-block;
	text-align: left;
	vertical-align: top;
	margin-bottom: 20px;
}

.pres-txt {
	max-width: 400px;
	padding: 10px;
	margin-right: 1%;
	display: inline-block;
	text-align: left;
}

.volet1 {
	width: 40%;
	display: inline-block;
	vertical-align: top;
}

.volet2 {
	width: 55%;
	display: inline-block;
	vertical-align: top;
}

.flyer-course {
	width: 100%;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 20px;
}

#madeleine {
	background-image: url("../img/madeleine_background_2025.png");
}

#kemberg {
	background-image: url("../img/fond-tdk.png");
}

}