/*
	Project : Starter CSS
	Author  : Nom et prénom
	Date    : 17/04/2019
	Version : V 1.0.0
*/




/*--------------------------------------------------------------*/
/* GLOBAL */
/*--------------------------------------------------------------*/
html {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box; 
	font-size: 100%; 
}
*, *:before, *:after {
	-webkit-box-sizing: inherit;
	        box-sizing: inherit; 
}


.carousel-cell {
	width: 100%;
	position: relative;
}

.carousel-cell img {
	display: block;
	width: 100%;
}

figure.legende {
	position: relative;

}
figure.legende figcaption{
	position: absolute;
	background: #4ea5a694;
	color: white;
	bottom: 1px;
	padding: 10px;
	left: 10px;
	right: 9px;

}

body {
	font-family: 'Raleway', sans-serif;
	font-size: 1em; /* soit 16px */
	line-height: 1.5;
	font-weight: 400;
	color: #fafafa
	background-color: #fff; 
}

/* Typography */
/*---------------------*/


h1, .h1-like,

h2, .h2-like,
h3, .h3-like,
h4, .h4-like,
h5, .h5-like,
h6, .h6-like { 
	line-height: 1.2;
	color: #ffc700;
	font-weight: 700; 
	margin: 29px 0 0.625em 0;
}

h1, .h1-like {
	font-size: 2em;
	font-family: 'Playfair Display', serif;

}
h2, .h2-like {
	font-size: 1.75em;
	font-family: 'Playfair Display', serif;
	text-align: center;
	padding-top: 50px;
    padding-bottom: 30px;
}
h3, .h3-like {
	font-size: 1.5em;
	color: #ffc700;
	text-align: center;
}

h4, .h4-like {
	font-size: 1.25em;
}
h5, .h5-like {
	font-size: 1em;
}
h6, .h6-like {
	font-size: 1em;
	font-style: italic;
}
p {
	margin: 0 0 0.625em 0;
}
figure {
	margin: 0;
}
img, 
audio,
video {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}
audio {
	min-height: 55px;
}
em, strong {
	color: #000;
}

blockquote {
	border-left: 10px solid #676767;
	padding-left: 1.250em;
	margin: 2.5em 3.750em;
}
code {
	font-weight: 700;
	font-family: monospace;
	color: #e04259;
	background-color: #f9dfe3;
	border-radius:  5px;
	padding: 0.188em 0.313em;
}

dt {
	font-weight: 700;
}
dt + dt { 
	font-style: italic;
}
/* Links */
/*---------------------*/
a {
	color: #0ba4e4;
}


/* table */
/*---------------------------*/
table {
	width: 100%;
	margin: 0.625em 0;
	table-layout: fixed;
	border-collapse: collapse;
}
tr,
td,
th {
	vertical-align: middle;
}
thead th {
	padding: 0.625em 0;
	border-bottom: 2px solid #c1c1c4;
	text-align: left;
	font-weight: 700;
}
tbody td {
	padding: 0.625em;
	border-bottom: 1px solid #c1c1c4;
}
tbody tr:nth-child(even) {
	background: #E7E7E7;
}


/* Forms */
/* -----------------------------------------------------*/
form ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
input,
label,
select {
    display: block;
    font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    font-size: 1em;
}

label {
    margin-bottom: .35938em;
    font-weight: 700;
    cursor: pointer;
}

label.required:after {
    content: " *";
}

textarea,
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="time"],
input[type="week"],
select[multiple="multiple"] {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: .71875em;
    padding: .625em;
    border: 1px solid #e8e8e9;
    border-radius: 0;
    font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    font-size: 1em;
    background-color: #fff;
    box-shadow: none;
    -webkit-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

textarea:hover,
input[type="email"]:hover,
input[type="number"]:hover,
input[type="password"]:hover,
input[type="search"]:hover,
input[type="tel"]:hover,
input[type="text"]:hover,
input[type="url"]:hover,
input[type="color"]:hover,
input[type="date"]:hover,
input[type="datetime"]:hover,
input[type="datetime-local"]:hover,
input[type="month"]:hover,
input[type="time"]:hover,
input[type="week"]:hover,
select[multiple="multiple"]:hover {
    border-color: #ceced0;
}

textarea:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="url"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
select[multiple="multiple"]:focus {
    border-color: #D35F60;
    outline: none;
    box-shadow: 0 0 5px rgba(205,75,77,.7);
}

textarea {
    resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
    display: inline;
    margin-right: .71875em;
}

input[type="file"] {
    width: 100%;
    margin-bottom: .71875em;
    padding-bottom: .23958em;
}
input[type="submit"] {
   cursor: pointer;
}
select {
    width: auto;
    margin-bottom: .71875em;
    max-width: 100%;
}

fieldset {
    margin: 0 0 .71875em 0;
    padding: 1.4375em;
    border: 1px solid #e8e8e9;
    border-radius: 0;
    background: #fafafa;
}

::-webkit-input-placeholder {
    color: #c8c9ca;
}

:-moz-placeholder {
    color: #c8c9ca;
}

::-moz-placeholder {
    color: #c8c9ca;
}

:-ms-input-placeholder {
    color: #c8c9ca;
}
/*input[id="nom"], input[id="prenom"] {
    display: inline-block;
    width: 75%;
}
 label[for="nom"], label[for="prenom"] {
    display: inline-block;
    width: 20%;
}*/

/* iframe RWD */
/*---------------------*/
.box-iframe {
	position: relative;
	height: 0;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
}
.box-iframe iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/* buttons */
/*---------------------*/

.btn {
	position: relative;
	display: inline-block;
	background-color: #ffc700;
	color: #fff;
	border: none;
	border-radius: 20px;
	padding: 0 1.25em;
	line-height: 2.5;
	text-decoration: none;
}


.btn--small {
	font-size: 0.75em;
}
.btn--large {
	font-size: 1.5em;
}

.btn--secondary {
	color: #666;
	background-color: #ededed;
}
/* CSS GRID */
/*---------------------*/

/*
1- j'ai besoin d'un container pour les colonnes qui aura la classe grid
2- je donne une taille à mes colonnes (les enfants) avec les classes col-xx
3- Je ne met jamais une class wrap ou id wrap sur un élément qui porte la classe grid
	==> car grid à un margin négatif et wrap un margin auto : wrap annule le margin de grid
4- si je veux un fond de couleur sur un élément qui porte une classe col-xx
	==> je remet une div à l'intérieur et je met la classe de fond de couleur
	==> je ne met pas un fond de couleur sur une col
5- je ne pose jamais un col-x sur une image 
	==> je met div.col-x puis l'image à l'intérieur
*/

.grid {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap; /* permet de faire du multiligne*/
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch; /* les enfants se mettent à la hautuer de l'item le plus grand
							sur une même ligne */
	margin-left: -10px;
	margin-right: -10px;
}
.grid-no-padding {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap; /* permet de faire du multiligne*/
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch; /* les enfants se mettent à la hautuer de l'item le plus grand
							sur une même ligne */
}
.grid [class*="col-"] {
	padding-left: 10px;
	padding-right: 10px;
}
[class*="col-"] {
	width: 100%;
}
.col-m-1 {
	width: 8.333%;
}
.col-m-2 {
	width: 16.667%;
}
.col-m-3 {
	width: 25%;
}
.col-m-4 {
	width: 33.333%;
}
.col-m-5 {
	width: 41.667%;
}
.col-m-6 {
	width: 50%;
}
.col-m-7 {
	width: 58.333%;
}
.col-m-8 {
	width: 66.667%;
}
.col-m-9 {
	width: 75%;
}
.col-m-10 {
	width: 83.333%;
}
.col-m-11 {
	width: 91.667%;
}
.col-m-12 {
	width: 100%;
}

.order-m-1 {
	order: 1;
}
.order-m-2 {
	order: 2;
}
.order-m-3 {
	order: 3;
}
.order-m-4 {
	order: 4;
}

.order-m-5 {
	order: 5;
}
.order-m-6 {
	order: 6;
}
.order-m-7 {
	order: 7;
}
.order-m-8 {
	order: 8;
}
.order-m-9 {
	order: 9;
}
.order-m-10 {
	order: 10;
}
.order-m-11 {
	order: 11;
}
.order-m-12 {
	order: 12;
}


.offset-m-0 {
	margin-left: 0;
}
.offset-m-1 {
	margin-left: 8.333%;
}
.offset-m-2 {
	margin-left: 16.667%;
}
.offset-m-3 {
	margin-left: 25%;
}
.offset-m-4 {
	margin-left: 33.333%;
}
.offset-m-5 {
	margin-left: 41.667%;
}
.offset-m-6 {
	margin-left: 50%;
}
.offset-m-7 {
	margin-left: 58.333%;
}
.offset-m-8 {
	margin-left: 66.667%;
}
.offset-m-9 {
	margin-left: 75%;
}
.offset-m-10 {
	margin-left: 83.333%;
}
.offset-m-11 {
	margin-left: 91.667%;
}
.offset-m-12 {
	margin-left: 100%;
}


.hide-m {
	display: none;
}
.show-m {
	display: block;
}

/* Tablet view */
@media (min-width: 481px) {
	.col-t-1 {
		width: 8.333%;
	}
	.col-t-2 {
		width: 16.667%;
	}
	.col-t-3 {
		width: 25%;
	}
	.col-t-4 {
		width: 33.333%;
	}
	.col-t-5 {
		width: 41.667%;
	}
	.col-t-6 {
		width: 50%;
	}
	.col-t-7 {
		width: 58.333%;
	}
	.col-t-8 {
		width: 66.667%;
	}
	.col-t-9 {
		width: 75%;
	}
	.col-t-10 {
		width: 83.333%;
	}
	.col-t-11 {
		width: 91.667%;
	}
	.col-t-12 {
		width: 100%;
	}
	.order-t-1 {
		order: 1;
	}
	.order-t-2 {
		order: 2;
	}
	.order-t-3 {
		order: 3;
	}
	.order-t-4 {
		order: 4;
	}

	.order-t-5 {
		order: 5;
	}
	.order-t-6 {
		order: 6;
	}
	.order-t-7 {
		order: 7;
	}
	.order-t-8 {
		order: 8;
	}
	.order-t-9 {
		order: 9;
	}
	.order-t-10 {
		order: 10;
	}
	.order-t-11 {
		order: 11;
	}
	.order-t-12 {
		order: 12;
	}

	.offset-t-0 {
		margin-left: 0;
	}
	.offset-t-1 {
		margin-left: 8.333%;
	}
	.offset-t-2 {
		margin-left: 16.667%;
	}
	.offset-t-3 {
		margin-left: 25%;
	}
	.offset-t-4 {
		margin-left: 33.333%;
	}
	.offset-t-5 {
		margin-left: 41.667%;
	}
	.offset-t-6 {
		margin-left: 50%;
	}
	.offset-t-7 {
		margin-left: 58.333%;
	}
	.offset-t-8 {
		margin-left: 66.667%;
	}
	.offset-t-9 {
		margin-left: 75%;
	}
	.offset-t-10 {
		margin-left: 83.333%;
	}
	.offset-t-11 {
		margin-left: 91.667%;
	}
	.offset-t-12 {
		margin-left: 100%;
	}


	.hide-t {
		display: none;
	}
	.show-t {
		display: block;
	}

}/* En of tablet view*/

/* desktop view */
@media (min-width: 769px) {
	.col-d-1 {
		width: 8.333%;
	}
	.col-d-2 {
		width: 16.667%;
	}
	.col-d-3 {
		width: 25%;
	}
	.col-d-4 {
		width: 33.333%;
	}
	.col-d-5 {
		width: 41.667%;
	}
	.col-d-6 {
		width: 50%;
	}
	.col-d-7 {
		width: 58.333%;
	}
	.col-d-8 {
		width: 66.667%;
	}
	.col-d-9 {
		width: 75%;
	}
	.col-d-10 {
		width: 83.333%;
	}
	.col-d-11 {
		width: 91.667%;
	}
	.col-d-12 {
		width: 100%;
	}
	.order-d-1 {
		order: 1;
	}
	.order-d-2 {
		order: 2;
	}
	.order-d-3 {
		order: 3;
	}
	.order-d-4 {
		order: 4;
	}

	.order-d-5 {
		order: 5;
	}
	.order-d-6 {
		order: 6;
	}
	.order-d-7 {
		order: 7;
	}
	.order-d-8 {
		order: 8;
	}
	.order-d-9 {
		order: 9;
	}
	.order-d-10 {
		order: 10;
	}
	.order-d-11 {
		order: 11;
	}
	.order-d-12 {
		order: 12;
	}

	.offset-d-0 {
		margin-left: 0;
	}
	.offset-d-1 {
		margin-left: 8.333%;
	}
	.offset-d-2 {
		margin-left: 16.667%;
	}
	.offset-d-3 {
		margin-left: 25%;
	}
	.offset-d-4 {
		margin-left: 33.333%;
	}
	.offset-d-5 {
		margin-left: 41.667%;
	}
	.offset-d-6 {
		margin-left: 50%;
	}
	.offset-d-7 {
		margin-left: 58.333%;
	}
	.offset-d-8 {
		margin-left: 66.667%;
	}
	.offset-d-9 {
		margin-left: 75%;
	}
	.offset-d-10 {
		margin-left: 83.333%;
	}
	.offset-d-11 {
		margin-left: 91.667%;
	}
	.offset-d-12 {
		margin-left: 100%;
	}
	.hide-d {
		display: none;
	}
	.show-d {
		display: block;
	}
}/* En of desktop view*/


/* inter-compatibilité des navigateurs */
/*---------------------*/
.browser {
	background-color: #f19a2a;
	color: #fff;
	padding: 20px;
	margin: 20px 0;
	text-align: center;
}
.browser a {
	color: #005f86;
}

/* helpers */
/*---------------------*/
.img-left {
	float: left;
	margin-right: 10px;
}
.img-right {
	float: right;
	margin-left: 10px;
}

.clear {
	clear: both; /* permet de stopper les float
					à utilser sur les éléments suivants */
}
.overflow {
	overflow: hidden; /* permet de stopper les float
					à utilser sur l'élément parent */
}

.flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
.justify-center {
	justify-content: center;
}
.align-center {
	align-items: center;
}
.bg-light {
	background-color: #cccccc;
	padding: 60px 0;
}

.bg-medium {
	background-color: #ffc700ad;
	padding: 60px 0;
}

.bg-dark {
	background-color: #008f98;
}

.v-top {
	vertical-align: top;
}
.v-middle {
	vertical-align: middle;
}
.v-bottom {
	vertical-align: bottom;
}


.txt-left {
	text-align: left;
}
.txt-center {
	text-align: center;
}
.txt-right {
	text-align: right;
}

.txt-light {
	color: #fff;
}
.txt-upper {
	text-transform: uppercase;
}
.no-underline {
	text-decoration: none;
}

.center-box {
	margin-left : auto;
	margin-right: auto;
}


.round-box  {
	border-radius: 50%;
}



.border-s-dark {
	border: 1px solid #333;
}
.border-m-dark {
	border: 5px solid #333;
}
.border-l-dark {
	border: 10px solid #333;
}


.ul-clean {
	list-style-type: none;
	padding-left: 0;
	margin-top: 0;
	margin-bottom: 0;
} 
.txt-ital {
	font-style: italic;
}

/*
m = margin
a, t, b = all, top, bottom
n, s, m, l = none, small, medium, large
*/
.man {
	margin: 0!important;
}
.mas {
	margin: 20px!important;
}
.mam {
	margin: 40px!important;
}
.mal {
	margin: 60px!important;
}



.mtn {
	margin-top: 0!important;
}
.mts {
	margin-top: 20px!important;
}
.mtm {
	margin-top: 40px!important;
}
.mtl {
	margin-top: 60px!important;
}


.mbn {
	margin-bottom: 0!important;
}
.mbs {
	margin-bottom: 20px!important;
}
.mbm {
	margin-bottom: 40px!important;
}
.mbl {
	margin-bottom: 60px!important;
}
.pas {
	padding: 20px!important;
}
.ptl {
	padding-top: 80px!important;
}
.pbl {
	padding-bottom: 80px!important;
}
/*--------------------------------------------------------------*/
/* LAYOUT */
/*--------------------------------------------------------------*/

.wrap { 
	max-width: 1200px;
	width: 100%;
	padding-left: 10px;
	padding-right: 10px;
	margin-left: auto;
	margin-right: auto;
}


/* header */
/*---------------------*/
#header { /* astuce = si on veut être à poids égale d'une classe = [id="header"] */
	background-color: #fafafa;
}
.logo {
	    background-color: #4ea5a6;
}
/* nav */
/*---------------------*/
.menu { /* on masque le menu à l'état initial*/
	height: 0;
	overflow: hidden;
	opacity: 0;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.menu-collapse { /* au click sur le btn-menu on affiche le menu*/
	height: auto;
	opacity: 1;
}
.menu a {
	display: block;
	color: #333;
	padding: 1em;
	text-align: center;
	text-decoration: none;
}
.menu .current {

	color: #ffc700;
}
.menu-infos {
	display: flex;
	justify-content: center;
	text-align: center;
	border-bottom: 1px solid #333;
	margin-bottom: 20px;
}
.menu-infos a {
	display: inline-block;
	align-items: center;
	text-decoration: none;
	color: #ffc700;
	padding: 10px;
}
.menu-infos i {
	margin-right: 5px;
}
.menu-infos .current {
	background-color: #333;
}
/* btn-menu */
/*---------------------*/
.btn-menu {
	position: absolute;
	top: 20px;
	right: 10px;
	color: #ffc700;
}
/* main */
/*---------------------*/
.bg-images {
	background-image: url('../img/sainte-marie.jpg');
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	background-size: cover;
	background-position: 30% 50%;
	
}
.bg-incontournables {
		background-image: url('../img/mer2.jpg');
}

.bg-infos {
		background-image: url('../img/mer3.jpg');

}

.bg-voyages {
		background-image: url('../img/tamatave-2.jpg');
}

.bg-circuits {
		background-image: url('../img/tsingy-bemaraha.jpg');
}

.bg-sejours {
		background-image: url('../img/sud-est.jpg');
}

.bg-hebergements {
		background-image: url('../img/grand-hotel-diego.jpg');
}

.bg-contact {
		background-image: url('../img/tana-01.jpg');
}

.bg-lemuriens {
		background-image: url('../img/lemurien-couv.jpg');
}

.bg-riziere {
		background-image: url('../img/riziere-couv.jpg');
}

.bg-sainte-marie {
		background-image: url('../img/ile-sainte-marie-couv.jpg');
}

.bg-nosy-be {
		background-image: url('../img/nosy-be-couv.jpg');
}

.bg-images .wrap {
	height: 90vh;
} 
.bg-images-title {
	background-color: rgba(0, 143, 152, 0.75);
	padding: 20px;
}

.bg-dark {
	height: 90vh
	width: 3000px;
}
li {
	text-decoration: none;
}
.infos i {
	color: #ffc700;
	font-size: 2em;
}
/* footer */
/*---------------------*/
#footer {
	background-color: #ddd;
	border-top: 1px solid #adadad;
	padding: 20px 0;
}
#footer a {
	color: #333;
	display: block;
	padding-left: 20px;
	list-style-type: none;
	text-decoration: none;
}
#footer a:hover{
	color: #008f98;
}

#footer small {
	text-align: center;
}
#totop {
	display: block;
	text-align: center;
	background-color: #008f98;
	color: #fff;
	margin-top: 20px;
	text-decoration: none;
	padding: 1em 2em;
	border-radius: 5px;

}
/*--------------------------------------------------------------*/
/* RWD */
/*--------------------------------------------------------------*/

/* Tablet view */
@media (min-width: 481px) {
/* footer */
	/*---------------------*/
	#footer small {
		text-align: left;
	}
	#totop {
		display: inline;
		text-align: inherit;
		background-color: initial;
		color: #d35f60;
		padding: 0;
		margin: 0;
		border-radius: 0;
	}

}
@media (min-width: 595px) {



	#header {
		text-align: center;
	}
	.logo {
		background-color: transparent;
		margin-bottom: 20px;
	}
	/* nav */
	/*---------------------*/
	.menu {
		height: auto; /* on affiche le menu en vue tablette */
		opacity: 1;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
    	        justify-content: center;

	
	}
	.menu a {
		padding: 0.5em 0.6em;
    	font-size: 0.9em;
	}
	/* btn-menu */
	/*---------------------*/
	.btn-menu {
		display: none;
	}
	
}/* end of tablet view */

/* Desktop view */
@media (min-width: 769px) {

	/* Links */
	/*---------------------*/
	a {
		-webkit-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
	}
	a:hover { 
		text-decoration: none; 
	}
	#header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1000;
	}
	/* logo */
	/*---------------------*/
	.logo {
		-webkit-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
		margin-bottom: 0;
	}
	.logo:hover {
		opacity: 0.8;
	}
	/* buttons */
	/*---------------------*/

	.btn {
		-webkit-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
	}

	.btn:hover {
		color: #fff;
		background-color: #008f98;
	}
	.btn:active {
		top: 1px;
	}

	
	.btn--secondary:hover {
		color: #ffc700;
		background-color: #008f98;
	}

	
	/* nav */
	/*---------------------*/
	.menu {
		justify-content: flex-end;

	}
	.menu a {
	    font-size: 0.95em;
	}
	.menu a:hover {
		background-color: #fff;
		color: #008f98;
	}

	.menu-infos a:hover {
		background-color: #EEE;
	}
	.bg-images {
		background-attachment: fixed;
	}
	/* footer */
	/*---------------------*/
	#totop:hover {
		color: #934243;
	}

}/* end of desktop view */


@media (min-width: 860px) {
	.menu a {
	    font-size: 1em;
	    padding: 0.5em 0.9em;
	}
}







