

:root{
  /* Skin specific */
  --skin-color: #1587c7;
  --grey-1: #303030;
  --grey-2: #EFEFEF;
  --grey-3: #CECECE;
  --grey-4: #7F7F7F;
  
  --fontSize: 1em;
  --fontStyle: "Trebuchet", "sans-serif";
  --rootBG: white;
  --maxWidth: 1200px;
  --contentBG: white;
  --contentFG: black;
  --headerBG: white;
  --headerFG: var(--grey-1);
  --headerStackBG: white;
  --headerStackFG: var(--grey-1);
  --headerOver: var(--skin-color);
  --titleColor:white;
  --tileBorderColor: white;
  --tileBG: white;
  --tileRadius: 0em;
  --tileBorderWidth:0px;
  --tileFG: var(--grey-4);
  --tileTitleColor: var(--grey-1);
  --accentColor:var(--skin-color);
  --accentColorLight:var(--skin-color);
  --emphasisBG: var(--grey-2);
  --extraBG: var(--grey-2);
  --extraBorderColor: var(--grey-2);
  --extraBorderWidth: Opx;
  --extraRadius: 0em;
}

@font-face {
    font-family: 'NugoSans-Light';
    src: url('font/NugoSans-Light.ttf');
    src: url('font/NugoSans-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/* Header */
#header {
    width: 100%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    border-bottom: 12px solid var(--skin-color);
}
#header .inline {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    gap: 10px;
    width: -moz-available;
    width: -webkit-fill-available;
    width: -fill-available;
    margin: 0 auto;
    transition: all 0.1s linear;
}

#header .tplTitle {
    font-family: Tahoma, Verdana, Genova, sans-serif;
    text-transform: uppercase;
    font-weight: 100;
    margin: 0;
    height:100%;
    max-width: 100%;
    font-size: clamp(0.875rem, 0.4rem + 2.1667vw, 2rem);
    line-height: 1.5;
    transition: all 0.1s linear;
}

#header .tplTitle a::before {
    content: "";
    background: url(img/co/logo.png) center no-repeat;
    background-size: contain;
    display: inline-block;
    width: 100px;
    height: 100px;
    transition: all 0.1s linear;
}
#header .tplTitle a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.bkBase.bkPage > .bkBase_ti{
  background-color:rgba(0, 0, 0, 0.7);
  font-size: 2.5em;  
  font-family: NugoSans-Light;
}
.bkBase_ti, .seqCap_ti {
    text-align: center;
    font-family: Tahoma, Verdana, Genova, sans-serif;
    text-transform: uppercase;
    font-weight: 100;
}
#stack{
  font-family: NugoSans-Light;
  padding: 0;
}
#stack .home, #stack .home + .sep{
  display:none;
}
#stack > .sw_outStack_navRoot {
    padding: 2px 10px;
}

ul.tileLinks {
    display: flex;
    flex-wrap: wrap;
    column-gap: 15px;
    row-gap: 3px;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    font-size: clamp(0.75rem, 0.6667rem + 0.3333vw, 1rem);
    font-family: NugoSans-Light, Tahoma;
    text-transform: uppercase;
    padding: 0;
}
ul.tileLinks a{
  padding:0;
}

ul.tileLinks li:first-child a::before {
    content: url(img/co/home.svg);
    content: "";
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    -webkit-mask-image: url(img/co/home.svg);
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    background-color: var(--grey-1);
    margin-top: -5px;
}
ul.tileLinks li:first-child:hover a::before {
    background-color: var(--skin-color);
}
ul.tileLinks li {
	padding: 0;
  margin-left: 0;
}

/* header et scroll */
body.page_scrolled_yes #header .tplTitle a::before{
  width: 40px;
  height: 40px;
}
body.page_scrolled_yes #header .inline{
  gap: 0;
  padding-block:5px;
}
body.page_scrolled_yes #header .tplTitle{
  text-indent: 0.5em;
}

/* Footer */
footer {
    border-top: 1px solid var(--skin-color);
      display: flex;
}
.tplFootBanner{
    display: flex;
    flex-direction: column-reverse;
}
#extras {
      min-height: auto;
}



/* General layout */
.bkPage > .bkBase_co {
    padding: 0 15px 2rem 15px;
    background-color: var(--contentBG);
}
h2, h3, h4, h5, h6{
  color:var(--grey-1)
}
h2 {
    font-size: 2.2em;
}
h3 {
    font-size: 1.8em;
}

/* Tiles */
.bkTileSet .tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

article.tile {
    flex: 0 0 calc(30% - 30px);
    position: relative;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.2s linear;
    overflow: hidden;
}

#content a.tileLink {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding:0;
}

#content a.tileLink > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
}

#content a.tileLink:hover .tileTitle{
	color: var(--skin-color) !important;
}
#content  .tileIcon {
    display: flex;
    justify-content: center;
}

#content div.tileIcon img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

#content article.tile h4 {
    font-size: 1.3em;
    margin: 0;
    font-family: Tahoma, Verdana, Genova, sans-serif;
    text-transform: uppercase;
    font-weight: 100;
    padding: 15px;
    text-align:left;
}
#content .tileAbstract {
    box-sizing: border-box;
    width: 100%;
    font-weight: 300;
    padding: 15px;
}
@media (max-width: 1300px) {
	article.tile {
    	flex: 0 0 calc(50% - 30px);
	}
}

@media (max-width: 750px) {
    article.tile {
        flex: 0 0 calc(100% - 30px);
    }
}


/* Content */
.bkBase .bkTileSet {
    padding: 2rem 0;
}
.bkBase_ti {
    margin: 0;
    padding: 1em;
}

.bkBase.bkInfo {
    padding: 15px;
    max-width: 1000px;
    margin: 0 auto;
}
/* Blocs importants */
.bkEmphasis {
    background-color: var(--grey-2);
    padding: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Blocs collapsables */
#content .bkBase_open, #content .bkBase_closed { 
	height: 100%;
  transition: all 0.2s linear;
}
#content .cbkClosed, #content .cbkClosed .bkBase_ti {
    padding:0
}
#content .cbkClosed .bkBase_ti a{
    padding:2em
}


#content .cbkClosed {
    margin-bottom: 15px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    background-color:var(--grey-2);
}
#content .cbkClosed:hover {
    box-shadow: 0 0 5px #ccc;
}

#content .bkBase_open::before, #content .bkBase_closed::before {
    background-color:var(--grey-1);
    content:""!important;
    color: black;
    border-radius: 0;
    position: unset;
    display: inline-block;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    bottom: 0;
    margin-left: -23px;
    width: 20px;
    height: 20px;
    margin-right: 5px;

}

#content .bkBase_closed::before {
    -webkit-mask-image: url(img/co/tgleRight.svg);
}
#content .bkBase_open::before {
    -webkit-mask-image: url(img/co/tgleDown.svg);
}
#content .bkBase_closed:hover::before, #content .bkBase_open:hover::before {
  background-color:var(--skin-color);
}
#content .bkBase_closed:hover, #content .bkBase_open:hover{
  color:var(--skin-color);
}

/* Tableau de présentation */
.binImg, .remoteImage {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}
.bkInfo:has(.bkBase_co table[role=presentation]){
	max-width: 1200px;
}
#content table{
	margin: 0 auto;
	max-width: 1200px;
	display: block;
	padding: 0;
}
#content table[role=presentation] tbody{
	justify-content: center;
}
#content table[role=presentation] td{
	flex: 0 0 calc(33% - 20px);
}
#content table[role=presentation] tbody {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}
#content table[role=presentation] tr{
	flex: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
}

#content table[role=presentation] td{
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

#content table[role=presentation] td figure{
	margin: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#content table[role=presentation] .txt_p{
	margin: 0;
}

#content table[role=presentation] .txt_p > .txt_emphasis_is{
	font-size: 1.2em;
}

/*Tableaux*/
table.txt_tb{
  border:none;
}
.txt_t_tbcl, .txt_t_tbtr {
    background-color: var(--grey-2);
}
.txt_tb td, .txt_tb th {
    border: 1px solid var(--grey-3);
}
td .txt_p{
  text-align:left;
}
th .txt_p{
  text-align:center;
}
.txt_n_tbtd p {
    text-align: right;
}


/* RESERVATION WIDGET CUSTOM */
.pika-cnstell-single.is-bound{
	margin-top: -180px!important;
	left: 50%!important;
}
.co-widget * {
	font-size: 1.1em!important;
}
.co-widget{
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	grid-template-areas: 
		"title title"
		"input btn";
	align-items: center;
	margin: 0 auto;
}
.co-widget-title{
	grid-area: title;
	margin: 0!important;
	padding: 0!important;
}
.co-widget-col-5.co-widget-trip{
	grid-area: input;
	width: 100%;
}
.co-widget .co-widget-date #FieldDate{
	padding-top: 10px;
	padding-bottom: 10px;
}
.co-widget-col-2.co-widget-search{
	grid-area: btn;
	width: auto;
	padding: 0;
}
.co-widget-col-2.co-widget-search > button{
	padding: 0 15px;
}
.co-widget.co-widget-vertical .co-widget-search{
	margin-top:0!important;
}
.co-widget.co-widget-vertical{
	padding: 0!important;
}
.co-widget.co-widget-intermediate .co-widget-search{
	margin-top: 0!important;
}
.co-widget.co-widget-intermediate .co-widget-trip{
	width: 100%!important;
}
.co-widget .co-widget-title{
	text-align: left!important;
}

@media (max-width: 1000px){
	#content table[role=presentation] td{
		flex: 0 0 calc(50% - 20px);
	}
}

@media(max-width: 900px){
	#navigation {
		width: 100%;
	}
}

/* Navigation mobile */
@media(max-width: 700px){
    #header #accessibility .tplWaiNav a::before {
      color:var(--skin-color);
      font-size: 1.8em;
		}
    #header #accessibility .tplWaiNav{
        margin: 0;
        top: 5px;
        right: 10px;
        font-size: 1.5em;
    }
    #header .tplTitle {
        padding-inline-end: 2em;
    }
    #header .tplTitle a::before {
        width: 40px;
        height: 40px;
    }
    ul.tileLinks {
        justify-content: center;
    }
    article.tile {
        flex: 100%;
    }
    #content table[role=presentation] td{
		  flex: 0 0 100%;
	  }
    #header #accessibility .tplWaiNav a.selected::before {
        content: "X";
    }
}