.palette1 #container {
    background: #eee8d6 !important;
}
.palette2 #container {
    background: #fff !important;
}

#coordonnees, .sp-header, #navigation {
	font-family: 'Poppins',Helvetica Neue,sans-serif;
}

/*-- FONT FAMILY --*/

.Handlee h1, .Handlee h2, .Handlee h3 {
	font-family: 'Handlee', sans-serif !important;
}
.Poppins h1, .Poppins h2, .Poppins h3 {
	font-family: 'Poppins', sans-serif !important;
}
.Satisfy h1, .Satisfy h2, .Satisfy h3 {
	font-family: 'Satisfy', sans-serif !important;
}


.sp-photo {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.photopng {
	width: 100%;
}
.sp-photo-accueil {
	line-height: 0;
	position: relative;
}
	#navigation .navadmin,
	.sp #coordonnees .enseigne-nom strong,
	.sp #coordonnees .tel {
		font-weight: 600;
	}

	.sp .logotop,
	.sp-accueil h1,
	.sp-header .carte,
	#sp-menu {
   	 	position: absolute;
	}

/*-- HEADER --*/

	.sp-header {
		width: 100%;
		padding: 15px 5% 0;
	}
	.sp-header .content {
		position: relative;
	}
	.sp .logotop {
		display: block;
		top: 0;
		line-height: 0;
		box-shadow: 0 3px 6px 0 rgba(0,0,0,.3);
	}
	.sp .logotop img {
		border: 2px solid #fff;
	}
	.sp-accueil h1, .sp-photo-liste h1, .sp-photo-annonce h1 {
		line-height: 1.4;
		color: #fff;
	}
	.sp-accueil h1, .sp-photo-liste h1 {
		text-shadow: 0 1px 2px rgba(0,0,0,.2);
	}
	.sp-photo-annonce h1 {
		background: rgba(92,128,0,.7);
	}
	.sp .carte {
		display: block;
    	background: url('https://www.terre-equestre.fr/cartes/carte-france.png') no-repeat 0 0;
		width: 44px;
	}
	.sp-header .carte {
		right: 0;
	}
	.sp .carte span {
		border-radius: 50%;
	}
	.sp #coordonnees .suivez-nous a {
		display: inline-block;
		margin-left: 20px;
	}
	.sp #coordonnees .tels-icones span {
		display: inline-block;
		margin-right: 5px;
	}
	.sp #coordonnees .tels-icones i {
		font-size: 1.8rem;
	}
	.sp-header #coordonnees .deptregt {
		color:	#74a000;
	}
	.sp #coordonnees .dept {
		display: block;	
		text-transform: uppercase;
	}

/*-- MENU --*/

	#sp-menu {
		z-index: 6;
    	left: 0;
    	top: 0;
		width: 100%;
	}

    #navigation {
        display: flex;
        justify-content: center;
		position: relative;
		z-index: 6;
    }
	#navigation .nav-link, #navigation .dropdown {
		text-transform: uppercase;
		font-size: 1.45rem;
		letter-spacing: 0.05rem;
	}
    .dropdown-content a {
        display: block;
        margin-top: 15px;
        text-transform: none;
    }
    .dropdown-content a:hover {
		text-decoration: underline;
    }


/*-- PAGE ACCUEIL --*/
	.ptop50 {
		padding-top: 50px;
	}



/*-- PAGE LISTE --*/

	.sp-photo-liste h1 {
		position: absolute;
		z-index: 1;
    	right: 7%;
		bottom: 10%;
		padding-top: 5px;
		padding-right: 30px;
		border-right: 2px solid #fff;
		text-align: right;
	}
	.sp-photo-liste h1 span {
		display: block;
	}
	.item .texte {
		display: block;
		position: relative;
	}
	.item .suite {
		right: 0 !important;
	}
	.item .visudates {
		left: 0 !important;
	}


/*-- PAGE ANNONCE --*/

	.sp-photo-annonce {
		position: relative;
	}
	.sp-photo-annonce h1 {
		position: absolute;
    	left: 5%;
		bottom: 0;
		border-left: 2px solid #fff;
		font-weight: 600;
	}
	.sp-photo-annonce h1 span {
		display: block;
	}

	.top-annonce {
		background: #eee8d6;
		text-align: center;
	}
	.voirlagenda {
		margin-top: 20px;
	}
	.voirlagenda a {
		display: inline-block;
		margin-left: 5px;
		text-decoration: underline;
	}



/*-- FOOTER --*/

	.sp .labels-reseaux {
		background-color: #fff;
		padding: 40px 3%;
		text-align: center;
	} 
	.sp .labels-reseaux .reseaux span {

	}
	.sp .labels-reseaux a {
		display: inline-block;
		margin: 10px;
		text-align: center;
		vertical-align: middle;
	}
	.sp .labels-reseaux .reseaux, .sp .labels-reseaux .reseaux a {
		color: #322320 !important;
	}
	.sp .labels-reseaux .labels a img {
		max-width: 150px;
	}
	.sp .labels-reseaux .reseaux span {
		display: block;
		font-size: 1.6rem;
	}
	.sp .labels-reseaux .reseaux a i {
		font-size: 3rem;
	}
	.sp .labels-reseaux .reseaux a em {
		display: block;
		font-size: 1.2rem;
	}
	.sp .labels-reseaux .reseaux a:hover em {
		text-decoration: underline;
	}


	.sp footer {
		padding-top: 0;
		padding-bottom: 0;
	}


	.sp footer #coordonnees {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	.sp footer #coordonnees .enseigne {
		font-size: 2rem;
	}

	.sp footer #coordonnees .adresse {
   	 	margin: 15px 0;
	}

	.sp footer #coordonnees .deptregt {
		color:	#a0c700;
   	 	margin-bottom: 15px;
	}

	.sp footer .map-container {
		position: relative;
	}

	.sp footer .map-container a {
		display: block;
		position: relative;
		width: 300px;
		height: 300px;
	}

	.sp footer .map-container .gmaps {
		position: absolute;
		z-index: 1;
		bottom: 0;
		left: 0;
		padding: 5px;
		text-align: center;
		width: 100%;
	}

/*-- MISE A JOUR DU SITE --*/

	.navmaj .titre, .main-maj .button {
		background-color: #74a000;
		color: #fff !important;
		text-align: center;
		font-weight: 600;
		padding: 20px;
	}
	.main-maj .button {
		float: right;
	}
	.navmaj {
		margin-bottom: 50px;
	}

.sp .esprovoir .titre em {
	display: block;
	width: 100%;
	text-align: center;
}

.sp .esprovoir .visiblem {
    text-align: right;
    padding-right: 20px;
    text-decoration: underline;
    line-height: 36px;
}
.sp .esprovoir .mesannonces li a {
	display: inline-block;
	color: #322320;
	margin-left: 40px;
	font-size: 1.4rem;
}
.sp .esprovoir .mesannonces li a:hover {
	text-decoration: underline;
}
.sp .esprovoir .mesannonces .type {
	font-weight: 600;
}

.main-maj section {
	clear: both;
}



@media only screen and (max-width:1439px) {
	.sp-photo-accueil {
		height: 384px;
	}
}

@media only screen and (max-width:1170px) {

	.sp-header {
		position: relative;
    	z-index: 1;
		background: #fff;
		box-shadow: 0 3px 6px 0 rgba(0,0,0,.2);
	}
	.sp-header .hamburger {
		display: block;
		position: absolute;
		left: 0;
		height: 50px;
		width: 50px;
		padding: 17px 0 0 9px;
	}
	.sp-header .hamburger span, .sp-header .hamburger em {
		display: block;
		height: 2px;
		background: #322320;
		margin-bottom: 5px;
	}
	.sp-header .hamburger span {
		width: 30px;
	}
	.sp-header .hamburger em {
		width: 26px;
	}

	
	/*-- HEADER ACCUEIL --*/
	.sp-accueil .sp-header {
		height: 110px;
	}
	.sp-accueil .logotop {
		width: 150px;
		left: calc(50% - 75px);
	}
	.sp-accueil .hamburger {
		top: 18px;
	}
	.sp-accueil .sp-header .carte {
		top: 21px;
	}
	.sp-accueil h1 {
    	top: 200px;
    	width: 90%;
    	left: 5%;
		text-align: center;
	}
	.sp-accueil h1 span {
		display: block;
	}



	/*-- HEADER AUTRES PAGES --*/
	.sp-liste .sp-header, .sp-page .sp-header, .sp-annonce .sp-header {
		height: 80px;
	}
	.sp-liste .logotop, .sp-page .logotop, .sp-annonce .logotop {
		width: 90px;
		left: calc(50% - 45px);
	}
	.sp-liste .hamburger, .sp-page .hamburger, .sp-annonce .hamburger {
		top: 0;
	}
	.sp-liste .carte, .sp-page .carte, .sp-annonce .carte {
		top: 3px;
	}




	/*-- COORDONNEES --*/

	#sp-menu #coordonnees {
		background: #fff;
		padding: 35px 5% 40px;
		width: 100%;
	}
	#sp-menu #coordonnees .enseigne {
		display: block;
		font-size: 2rem;
	}
	.sp #coordonnees .tels-icones li {
    	display: block;
		margin-top: 15px;
	}
	.sp #coordonnees .mob2 {	
		padding-left: 25px;
		padding-right: 25px;
	}

	#sp-menu .tels-icones li span {
		text-align: center;
		width: 20px;
	}
	.sp #coordonnees .tels-icones {
		font-size: 1.6rem;
	}
	.sp #coordonnees .mail em {
    	display: inline-block;
		margin-left: 5px;
	}
	.sp #coordonnees .adresse span {
		display: block;
	}
	.sp #coordonnees .carte {
		float: right;
		margin-left: 10px;
	}
	.sp #coordonnees .regt {
		display: block;
	}



	/*-- MENU --*/

	#sp-menu, #navigation {
		background-color: #74a000;
	}

	#sp-menu {
		bottom: 0;
	}
	#sp-menu .close {
    	display: block;
    	position: absolute;
    	top: 15px;
    	right: 5%;
    	width: 50px;
    	line-height: 50px;
    	text-align: center;
    	font-size: 1.8rem;
	}		
	#navigation {
		flex-direction: column;
		padding: 0 5%;
	}
	#navigation, #navigation a {
		color: #fff;
	}
	#navigation .nav-link, #navigation .dropdown {
		display: block;
		padding: 15px 0;
		border-bottom: 1px dotted #fff;
	}
	#navigation .navadmin {
		margin: 5px 5% 0;
	}
    #navigation .dropdown-content {
		background-color: #74a000;
		padding-left: 20px;
    }
    #navigation .dropdown span {
	    display: block;
	}

	.sp-photo-liste {
		position: relative;
	}
	.sp-photo-liste h1 {
    	width: 90%;
	}
	.sp .liste .sp-page {
    	padding: 30px 0;
	}

	/*-- FOOTER --*/

	.sp footer .contenu {
		display: table;
		width: 100%;
		text-align: center;
	}

	.sp footer #coordonnees {
		min-height: 300px;
		padding-right: 5%;
		padding-left: 5%;
	}

}




@media only screen and (max-width:767px) {

	.sp-photo .stripes {
		display: none;
	}
	#sp-menu {
		padding-bottom: 40px;
	}
	.sp #coordonnees .venir, .sp #coordonnees .tels-icones {
		margin-top: 15px;
		margin-left: 20px
	}
	.sp #coordonnees li {
		margin-top: 15px;
	}
	#sp-menu .content {
    	padding-top: 30px;
	}
	.main-accueil {
		padding: 40px 5.5%;
	}
	.sp-photo-liste, .sp-photo-annonce  {
    	height: 280px;
	}

	/*-- LISTE ITEMS --*/

	.sp-liste .publication .texte {
    	border-bottom: 2px dashed #fff;
    	padding: 50px 5%;
	}

	.sp main {
    	padding: 40px 5%;
	}
	/* .item {
		background: #fff;
		box-shadow: 0 2px 5px 0 rgba(0,0,0,.3);
		padding-left: 20px;
		padding-right: 20px;
	}*/
	.item h2 {
    	font-size: 3rem;
    	text-align: center;
	}
	.item .resume {
		display: table;
		width: 100%;
	}
	.item .infos {
		display: table-header-group;
    	text-align: center;
	}
	.item .photo {
		margin: 10px 0 15px;
		border: 15px solid #fff;
		box-shadow: 0 2px 4px 0 rgba(0,0,0,.3);
	}

	/*-- FOOTER --*/

	.sp footer #coordonnees {
		display: table;
		width: 100%;
	}
	.sp footer .map-container {
		display: table-footer-group;
	}
	.sp footer .map-container a {
		margin: 40px auto 0;
	}
}

@media only screen and (max-width:479px) {
	.sp-accueil h1, .sp-photo-liste h1, .sp-photo-annonce h1 {
		font-size: 2.8rem;
	}
	.sp-photo-annonce h1 span {
		font-size: 1.5rem;
	}
}

@media only screen and (max-width:409px) {
	.sp .liste .publication .texte {
    	margin-left: 5.5%;
    	margin-right: 5.5%;
    	margin-bottom: 30px;
	}
	.item .photo {
    	height: 255px;
	}
}









@media only screen and (min-width:410px) {
	.sp .liste .publication h1, .sp .liste .publication p {
    	margin-left: auto;
    	margin-right: auto;
    	margin-bottom: 30px;
	}
}

@media only screen and (min-width:410px) and (max-width:767px) {
	.item .photo {
    	height: 249px;
	}
}

@media only screen and (min-width:480px) and (max-width:767px) {
	.sp-accueil h1, .sp-photo-liste h1, .sp-photo-annonce h1 {
		font-size: 3rem;
	}
	.sp-photo-annonce h1 span {
		font-size: 1.6rem;
	}
}


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

	.sp-page {
    	min-height: 700px;
	}
	.sp-photo .stripes {
		background-image: url('https://www.terre-equestre.fr/img-equitation-cheval/stripes.png');
		/* position: absolute;
		top: 0;
		bottom: 0;*/
	}

	/*-- LISTE ITEMS --*/

	.liste-items {
		width: 800px;
	}
	.sp-liste .publication .texte {
    	border-bottom: 2px dashed #fff;
    	padding: 50px 5%;
	}

	.sp main {
    	padding: 40px 5%;
	}
	.item h2 {
    	font-size: 3rem;
    	text-align: center;
	}
	.item .resume {
		display: table;
		width: 100%;
	}
	.item .infos {
		display: table-header-group;
    	text-align: center;
	}
	.item .photo {
		margin: 10px 0 15px;
		border: 15px solid #fff;
		box-shadow: 0 2px 4px 0 rgba(0,0,0,.3);
	}
	.item .photo {
    	height: 225px;
	}
}

@media only screen and (min-width:768px) and (max-width:1439px) {
	.sp-accueil h1, .sp-photo-liste h1, .sp-photo-annonce h1 {
		font-size: 3.6rem;
	}
	.sp-photo-annonce h1 span {
		font-size: 1.8rem;
	}
	.sp-photo-liste, .sp-photo-annonce  {
    	height: 380px;
	}
}

@media only screen and (min-width:768px) and (max-width:1170px) {
	.sp-header .content {
		height: 120px;
	}
	#sp-menu, #sp-menu #coordonnees {
		height: 600px;
	}
	#sp-menu #coordonnees {
		float: right;
		width: 50%;
		padding-top: 80px;
	}
	.sp #coordonnees .venir {
		margin-bottom: 20px;
	}
	#sp-menu #coordonnees .adresse {
   	 	margin-bottom: 15px;
	}
	.sp #coordonnees .mail {
		margin-top: 25px;
	}
	#sp-menu .content {
		width: 50%;
		padding: 80px 5% 0;
	}
	.main-accueil {
		padding: 50px;
	}
	.sp .liste .publication p {
    	width: 668px;
	}
	.liste-items {
    	width: 668px;
	}

	/*-- FOOTER --*/
	.sp footer .coordonnees {
		height: 300px;
	}

	.sp footer .map-container {
		float: left;
		margin-right: 40px;
	}
}

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

	.hamburger, #sp-menu .close, #sp-menu .adresse span, #sp-menu .deptregt, #sp-menu .suivez-nous em {
		display: none;
	}

	.sp-header {
		position: absolute;
    	z-index: 7;
	}
	.sp .logotop {
		top: 5px;
		left: 0;
	}
	.sp-accueil h1 {
		top: 240px;
    	right: 0;
		border-right: 2px solid #fff;
		text-align: right;
		padding-right: 5%;
	}
	.sp-accueil h1 span, .sp .liste .publication h1 span {
		display: inline-block;
	}


	.sp-header .carte {
		top: 44px;
	}
	.sp-photo-accueil .content {
    	height: 650px;
	}
	.sp-photo-photoliste {
		left: 0;
		top: 0;
		width: 100%;
	}
	.sp #global {
		width: 100%;
		max-width: 1230px;
		margin-left: auto;
		margin-right: auto;
		padding-left: 30px;
		padding-right: 30px;
	}

/*-- COORDONNEES - NAVIGATION --*/

	#sp-menu {
		display: block !important;
		height: 110px;
		box-shadow: 0 3px 6px 0 rgba(0,0,0,.2);
	}
	/*-- COORDONNEES --*/
	#sp-menu .adresse span, #sp-menu .venir .deptregt, #sp-menu .mail em, , #sp-menu .situer em  {
		display: none;
	}
	#sp-menu #coordonnees {
		background-color: rgba(0,0,0,.5);
		color: #fff;
		height: 50px;
		padding: 13px 30px 0;
    	font-size: 1.35rem;
		text-align: right;
	}
	#sp-menu #coordonnees a {
		color: #fff;
	}
	#sp-menu .enseigne-nom {
		display: inline-block;
	}
	#sp-menu .enseigne {
		display: inline-block;
		margin-right: 10px;
	}
	#sp-menu .tels-icones {
		display: inline-block;
	}
	#sp-menu .venir, #sp-menu .tels-icones li {
		display: inline-block;
		margin-left: 15px;
	}

	/*-- MENU --*/
	#sp-menu .content {
    	position: absolute;
		top: 50px;
    	left: 0;
		width: 100%;
		height: 60px;
		background: #fff;
	}
	#navigation {
		position: absolute;
		right: calc(5% + 80px);
		flex-direction: row;
	}
    #navigation .nav-link, #navigation .dropdown em, #navigation .navadmin {
        margin: 0 20px;
		line-height: 60px;
    }
    #navigation .nav-link, #navigation .dropdown {
		display: inline-block;
		font-size: 1.35rem;
	}
    #navigation .nav-link:hover, #navigation .dropdown:hover {
		text-decoration: underline;
    }
    #navigation .dropdown {
        position: relative;
    }
    #navigation .dropdown:hover .dropdown-content {
        display: block;
    }
    #navigation .dropdown-content {
        display: none;
        position: absolute;
        z-index: 1;
		width: 100%;
		padding: 0 20px 25px;
		background-color: #fff;
		border-radius: 0 0 20px 20px;
    }
	#navigation .nav-espace {
		font-weight: 600;
	}

	.sp-photo-accueil {
		position: relative;
	}
 	.sp-liste .publication {
		position: relative;
	}
	.sp-photo-liste {
		position: absolute !important;
		top: 0;
		width: 100%;
	}


	/*-- ASIDE --*/
	aside {
    	border-left: 1px solid #fff;
	}

	/*-- FOOTER --*/

	.sp footer .contenu {
    	width: 100%;
    	max-width: 1230px;
    	margin-left: auto;
    	margin-right: auto;
    	padding-left: 30px;
    	padding-right: 30px;
	}

}

@media only screen and (min-width:1171px) and (max-width:1439px) {
	.sp .logotop {
		width: 120px;
	}
	#sp-menu .tels-icones em {
		display: none;
	}
	.sp-photo-accueil, .sp-photo-liste, .sp-liste .publication {
		height: 444px;
	}
	.sp-liste .publication .container {
		padding-top: 120px;
		padding-left: 600px;
	}
	.sp-liste .publication p {
		font-size: 1.8rem;
	}
}

@media only screen and (min-width:1270px) {
	.labels .content {
    	width: 1170px;
    	margin-left: auto;
    	margin-right: auto;
	}
@media only screen and (min-width:1440px) {
	.sp .logotop {
		width: 220px;
	}
	.sp-accueil h1, .sp-photo-liste h1, .sp-photo-annonce h1 {
		max-width: 70%;
		font-size: 5rem;
	}
	.sp-photo-annonce h1 {
		padding: 50px;
	}
	.sp-photo-annonce h1 span {
		font-size: 2rem;
	}
	.sp-photo-accueil, .sp-photo-liste, .sp-photo-annonce , .sp-liste .publication {
		height: 650px;
	}
	.sp-liste .publication .container {
		padding-top: 150px;
		padding-left: 730px;
	}
	.sp-liste .publication p {
		font-size: 2rem;
	}
}

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

	.sp-header .content {
		width: 1440px;
		margin: 0 auto;
	}
	#sp-menu #coordonnees {
		padding: 13px 5% 0;
	}
	#navigation {
		right: calc(50% - 660px);
	}
}