/* DESTINATIONS > Modules
-------------------------------------------------------------------------------------------------------------------------------- */
/* >>> container & onglets */
#hp-destination {
	position: relative;
	background: #f1e8e2;
	padding: 60px 60px 40px;
}
#hp-destination::before {
	position: absolute;
    top: 20.1px;
    left: 20.1px;
    right: 20.1px;
    bottom: 20.1px;
    border: #ccad75 1px solid;
    pointer-events: none;
    content: "";
    z-index: 0;
}
#hp-destination > p {
	max-width: 700px;
    margin: 0 auto;
}
#hp-destination .destinations-nails {
	position: relative;
	margin: 40px -60px 0;
	z-index: 1;
}
#hp-destination .destinations-nails ul {
	display: flex;
	align-items: stretch;
	justify-content: center;
}
#hp-destination .destinations-nails li {
	flex: 1 1 auto;
	margin-left: 1px;
}
#hp-destination .destinations-nails li:first-child { margin: 0 }
#hp-destination .destinations-nails li a {
	display: block;
	padding: 10px;
	font-size: 14px;
	color: #fff;
	background: #ccad75;
	text-transform: uppercase;
    transition:background .3s, color .3s;
}
#hp-destination .destinations-nails li a:hover { background-color:#9f7f44; }
#hp-destination .destinations-nails li a.active { background-color:#091b36; }

/* >>> éléments */
#hp-destinations-content { 
	width: 500%;
	display: flex;
}
#hp-destinations-content.pos-1 { margin-left:0; }
#hp-destinations-content.pos-2 { margin-left:-100%; }
#hp-destinations-content.pos-3 { margin-left:-200%; }
#hp-destinations-content.pos-4 { margin-left:-300%; }
#hp-destinations-content.pos-5 { margin-left:-400%; }
#hp-destinations-content .destinations-content { width:20%; }
.destinations-content {
	overflow: hidden;
	padding: 40px;
}
.destinations-content .destinations_inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}
.destination-els,
.destination-more { 
	position:relative;
	margin: .5%;
	width: 19%;
	overflow: hidden;
	min-height: 16vw;
	-webkit-transition:opacity .3s, -webkit-transform .5s;
	transition:opacity .3s, -webkit-transform .5s;
	-o-transition:transform .5s, opacity .3s;
	transition:transform .5s, opacity .3s;
	transition:transform .5s, opacity .3s, -webkit-transform .5s;
}
.destinations-content .destination-els:nth-child(7n+2),
.destinations-content .destination-els:nth-child(7n+4),
.destinations-content .destination-els:nth-child(7n+5),
.destinations-content .destination-els:nth-child(7n+6) { width: 29%; }
.destination-els { background: #091b36; }
.destination-els .thumbnails-destination {
	position: absolute;
	top: 0; left: 0;
	width: 100%; 
	height: 100%;
	z-index: 0;
	transition: opacity .3s, transform .5s;
}
.destination-els:hover .thumbnails-destination {
	opacity: .3;
	transform: scale(1.2);
}
.destination-els .destination-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	position:absolute;
	top:0; left:0;
	overflow:hidden;
	width:100%;
	height:100%;
	z-index: 1;
}
.destination-els .destination-wrapper::before {
	position:absolute;
	top:0; left:0;
	right:0; bottom:0;
	border:#fff 1px solid;
	pointer-events: none;
	content:"";
	opacity:0;
	z-index:0;
	-webkit-transition:all .5s;
	-o-transition:all .5s;
	transition:all .5s;
}
.destination-els a.destination-wrapper:hover::before {
	top:10px; 
	left:10px;
	right:10px; 
	bottom:10px;
	opacity:1;
}
.destination-els .destination-content { 
	font-size: 12px;
	padding: 0 30px;
	color:#fff;
}
.destination-els h3 {
	font-family: 'Spinnaker', sans-serif;
	text-align: center;
	max-width: 260px;
	margin: 0 auto;
	font-size:2em;
	text-shadow:#000 0 0 7px;
}
.destination-content ul {
	-webkit-transition:margin .3s, opacity .2s;
	-o-transition:margin .3s, opacity .2s;
	transition:margin .3s, opacity .2s;
	margin: 20px auto -120px;
	height: 100px;
	opacity:0;
}
.destination-content li {
	display: inline-block;
	-webkit-transition:opacity .2s, -webkit-transform .3s;
	transition:opacity .2s, -webkit-transform .3s;
	-o-transition:transform .3s, opacity .2s;
	transition:transform .3s, opacity .2s;
	transition:transform .3s, opacity .2s, -webkit-transform .3s;
	opacity:0;
}
.destination-content li::after {
	content: "-";
	margin: 0 5px;
	display: inline-block;
}
.destination-content ul li:last-child::after { display: none }
/*.destination-cell ul li:nth-child(2) {
	-webkit-transition-delay:.1s;
     	 -o-transition-delay:.1s;
        	transition-delay:.1s;
}
.destination-cell ul li:nth-child(3) {
	-webkit-transition-delay:.2s;
     	 -o-transition-delay:.2s;
        	transition-delay:.2s;
}
.destination-cell ul li:nth-child(4) {
	-webkit-transition-delay:.3s;
     	 -o-transition-delay:.3s;
        	transition-delay:.3s;
}
.destination-cell ul li:nth-child(5) {
	-webkit-transition-delay:.4s;
     	 -o-transition-delay:.4s;
        	transition-delay:.4s;
}
.destination-cell ul li:nth-child(6) {
	-webkit-transition-delay:.5s;
     	 -o-transition-delay:.5s;
        	transition-delay:.5s;
}*/
a:hover .destination-content ul { 
	opacity: 1;
	margin: 20px auto;
}
a:hover .destination-content li {
	opacity:1;
	/*-webkit-transform: translateY(0);
		-ms-transform: translateY(0);
			transform: translateY(0)*/
}
.destination-more { 
	background-color:#ccad75; 
}
.destination-more .destination-more-content {
	display:table;
	position:relative;
	width:100%; 
	height:100%;
	z-index:1;
	-webkit-transition:background .3s, color .3s;
    -o-transition:background .3s, color .3s;
    transition:background .3s, color .3s;
}
.destination-more .destination-more-cell { 
	display:table-cell;
	text-align:center;
	vertical-align:middle;
	padding:15px;
	color:#fff;
}
.destination-more .destination-more-cell p {
	font-size:18px;
	max-width:120px;
	line-height:1.6em;
	margin:0 auto 20px;
}
.destination-more .link_2 { color:#091b36; }
.destination-more > a:hover { background-color:#091b36 }
.destination-more > a:hover .link_2 { color:#fff; }
.destination-more > a:hover .link_2:hover { color:#ccad75 }

/* animations CSS3 */
.destination-els .thumbnails { position:relative; z-index:0; }
.destinations-content .destination-els:nth-child(2) {
	-webkit-transition-delay:.1s;
         -o-transition-delay:.1s;
            transition-delay:.1s;
}
.destinations-content .destination-els:nth-child(3) {
	-webkit-transition-delay:.2s;
	     -o-transition-delay:.2s;
		    transition-delay:.2s;
}
.destinations-content .destination-els:nth-child(4) {
	-webkit-transition-delay:.3s;
	     -o-transition-delay:.3s;
		    transition-delay:.3s;
}
.destinations-content .destination-els:nth-child(5) {
	-webkit-transition-delay:.4s;
	     -o-transition-delay:.4s;
		    transition-delay:.4s;
}
.destinations-content .destination-els:nth-child(6) {
	-webkit-transition-delay:.5s;
	     -o-transition-delay:.5s;
		    transition-delay:.5s;
}
.destinations-content .destination-els:nth-child(7) {
	-webkit-transition-delay:.6s;
	     -o-transition-delay:.6s;
		    transition-delay:.6s;
}
.destinations-content .destination-more {
	-webkit-transition-delay:.7s;
	     -o-transition-delay:.7s;
		    transition-delay:.7s;
}
.destinations-content.off-view .destination-els,
.destinations-content.off-view .destination-more {
	opacity:0;
	-webkit-transform:translateX(100%);
    	-ms-transform:translateX(100%);
      		transform:translateX(100%);
}

@media screen and (max-width: 1440px) {
	/*.destination-els { width:33.33%; }
	.destination-more { width:66.66% }
	.destination-more:after { padding-top:41.25% }*/
	#hp-destination  { padding: 5% 40px 40px; }
	#hp-destination .destinations-nails { margin: 40px -40px 0 }
	#hp-destinations-content .destinations-content {
		padding: 20px 0 0;
	}
	.destination-els .destination-content { padding: 0 20px; }
}
@media screen and (max-width: 1280px) {
	.destination-els, 
	.destination-more { 
		min-height: 26vw; 
	}
	.destinations-content .destination-els:nth-child(7n+2),
	.destinations-content .destination-els:nth-child(7n+3),
	.destinations-content .destination-els:nth-child(7n+5),
	.destinations-content .destination-els:nth-child(7n+6) { width: 29%; }
	.destinations-content .destination-els:nth-child(7n+1),
	.destinations-content .destination-els:nth-child(7n+6),
	.destinations-content .destination-els:nth-child(7n+7) { width: 39%; }
	.destination-more { width: 59% }
	}

@media screen and (max-width: 780px) { 
	.destination-els h3 { font-size:1.4em; } 
}

@media screen and (max-width: 700px) {
	.destination-els, 
	.destination-more { 
		min-height: 46vw; 
	}
	.destinations-content .destination-els:nth-child(7n+2),
	.destinations-content .destination-els:nth-child(7n+3),
	.destinations-content .destination-els:nth-child(7n+6),
	.destinations-content .destination-els:nth-child(7n+7) { width: 44%; }
	.destinations-content .destination-els:nth-child(7n+1),
	.destinations-content .destination-els:nth-child(7n+4),
	.destinations-content .destination-els:nth-child(7n+5) { width: 54%; }
	.destination-more { width: 54% }
}

@media screen and (max-width: 640px) {
	
	#hp-destination { padding: 30px 20px; }
	#hp-destination::before { display: none }
	#hp-destination .destinations-nails { margin: 20px -20px 0 }
}

@media screen and (max-width: 460px) {
	
	#hp-destination .destinations-nails li { width: 33.33%; }
	#hp-destination .destinations-nails li a {
		padding: 10px 5px;
		font-size: 10px;
		display: flex;
		height: 100%;
		line-height: 1.2em;
		justify-content: center;
		align-items: center;
	}
	.destinations-content .destination-els:nth-child(7n+1),
	.destinations-content .destination-els:nth-child(7n+2),
	.destinations-content .destination-els:nth-child(7n+3),
	.destinations-content .destination-els:nth-child(7n+4),
	.destinations-content .destination-els:nth-child(7n+5),
	.destinations-content .destination-els:nth-child(7n+6),
	.destinations-content .destination-els:nth-child(7n+7), 
	.destination-more { 
		width:100%;
		min-height: 66vw; 
		margin: 1% 0;
	}
}

/* DESTINATIONS > Fiche
-------------------------------------------------------------------------------------------------------------------------------- */
/* >>> experience */
.destination-experience {
	display:table;
	width:100%;
	margin:20px 0;
	position:relative;
	background-color:#fff;
}
.destination-experience:after {
	position:absolute;
	top:10px; left:10px;
	right:10px; bottom:10px;
	border:#cfb27d 1px solid;
	pointer-events: none;
	content:"";
}
.experience-thumb { display:table-cell; width:33.333%; }
.experience-content { display:table-cell; padding:30px; }

@media screen and (max-width: 860px) {
	.destination-experience { padding-top:75%; }
	.experience-thumb {
		position:absolute;
		width:100%; padding-top:75%;
	    top:0; left:0;
	}
}
@media screen and (max-width: 700px) {
	.destination-experience { padding-top:0; }
	.experience-thumb { position:static; width:33.33%; padding-top:0; }
}
@media screen and (max-width: 480px) {
	.destination-experience { padding-top:75%; }
	.experience-thumb {
		position:absolute;
		width:100%; padding-top:75%;
	}
}

/* >>> spots */
.destination-spot .spot { padding:20px 0 0; }
.destination-spot .spot h4 { 
	font-weight:700;
	margin-bottom:5px;
	float:left; 
}
.destination-spot .spot-type {
	float:right;
	clear:none;
	display:inline-block;
	padding:0 10px;
	margin-top:-5px; color:#fff;
	background-color:#ccad75;
}
.destination-spot p { clear:both; margin-bottom:5px; }
.destination-spot a { color:#ad8f5a; text-decoration:underline }
.destination-spot a:hover { color:#19203f }
