/* Leynad MAR — single stylesheet
   Language-specific images/maps sit at the bottom (html[lang]). */

:root {
	--bg: #0d0d0d;
	--text: #dfdfdf;
	--muted: #999;
	--gold: #f5cc24;
	--line: #333;
	--accent-red: #ff3333;
	--prix: #cb9;
	--nav-width: 140px;
	--nav-offset: 440px;
	--page-width: 960px;
}

/* Reset (only what this layout needs) */
html, body, div, span, h1, h2, h3, p, blockquote,
a, em, img, strong, dl, dt, dd, ol, ul, li,
form, label, table, tbody, tr, th, td, button {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

ol, ul {
	list-style: none;
}

:focus {
	outline: 0;
}

/* 960-style grid — only classes used on the pages */
.container_12 {
	margin-left: auto;
	margin-right: auto;
	width: var(--page-width);
}

.grid_2,
.grid_3,
.grid_4,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_12,
.grid_2point25 {
	display: inline;
	float: left;
	margin-left: 10px;
	margin-right: 10px;
}

.grid_2 { width: 140px; }
.grid_2point25 { width: 160px; }
.grid_3 { width: 220px; }
.grid_4 { width: 300px; }
.grid_6 { width: 460px; }
.grid_7 { width: 540px; }
.grid_8 { width: 620px; }
.grid_9 { width: 700px; }
.grid_10 { width: 780px; }
.grid_12 { width: 940px; }

.alpha { margin-left: 0; }
.omega { margin-right: 0; }

.prefix_1 { padding-left: 80px; }
.prefix_2 { padding-left: 160px; }
.prefix_3 { padding-left: 240px; }
.prefix_4 { padding-left: 320px; }

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearfix:after {
	clear: both;
	content: "";
	display: block;
	height: 0;
	visibility: hidden;
}

.clearfix {
	display: block;
}

/* Base */
body {
	background: var(--bg) url(../i/map-fr.png) 75% bottom no-repeat;
	color: var(--text);
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: small;
	line-height: 1.6;
	position: relative;
}

html[lang="zh"] body {
	background-image: url(../i/map-cn.png);
	background-position: 40% bottom;
}

a:link,
a:visited {
	color: var(--text);
	text-decoration: underline;
}

a:hover,
a:active {
	color: #fff;
	text-decoration: none;
}

p {
	margin: 20px 0;
	font-size: 115%;
	font-family: "Times New Roman", Times, serif;
	line-height: 1.4;
}

ul {
	list-style: square;
}

li {
	margin: 0 0 20px 30px;
}

hr {
	color: var(--line);
	background-color: var(--line);
	border: 1px solid var(--line);
	border-width: 1px 0 0;
}

h1, h2, h3 {
	font-weight: normal;
	line-height: 1.35;
}

h2 {
	font-size: 260%;
	margin-top: 80px;
	padding-top: 20px;
}

blockquote,
.subhead {
	font-size: 140%;
	line-height: 1.35;
	padding: 0;
	border: 1px solid var(--line);
	border-width: 1px 0;
}

.subhead {
	padding: 10px 0;
	font-size: 160%;
}

.wide-punchout {
	font-style: italic;
	border: none;
	margin: 1em 0 1em -160px;
	font-size: 200%;
	color: var(--muted);
}

.drop-cap {
	float: left;
	font-size: 100px;
	line-height: 0.8;
	padding: 0 10px 10px 0;
}

.jaune {
	color: var(--gold);
}

/* Header / logo / photo */
.page-top {
	padding-bottom: 20px;
}

#container {
	background: url(../i/oriantal.png) 710px 50px no-repeat;
	/*image-page-top.jpg*/
	position: relative;
	padding-top: 1px;
}

html[lang="en"] #container {
	background-image: url(../i/en-image-page-top.jpg);
}

html[lang="zh"] #container {
	background-image: url(../i/paris.png);
}

#title-subline {
	margin: 85px 0 0;
	font-size: 140%;
}

#title {
	margin: 30px 0 60px;
	text-indent: -9999px;
	overflow: hidden;
	width: 590px;
	height: 195px;
	background: url(../i/leynad-logo.gif) left top no-repeat;
}

#myphoto {
	background: url(../i/myphoto.jpg) no-repeat;
	position: relative;
	padding-top: 250px;
	top: 27px;
}

.portrait {
	width: 220px;
	height: 220px;
}

/* Nav */
#nav {
	display: block;
	position: absolute;
	top: var(--nav-offset);
	left: 0;
	background: url(../i/grey-90pc.png) left top repeat;
	width: var(--nav-width);
}

#nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#nav li {
	margin: 0;
	float: left;
	width: 100%;
}

#nav a {
	display: block;
	line-height: 33px;
	padding: 0 10px;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	color: #fff;
}

#nav a.last {
	border-bottom: none;
}

#nav a:hover,
#nav a:active {
	background-image: url(../i/bl-25pc.png);
	color: var(--muted);
}

#nav li ul {
	display: none;
}

#nav li:hover ul {
	display: block;
}

#nav li:hover ul a {
	background: url(../i/gris-25pc.png) left top repeat;
}

/* Section heading images */
#home {
	margin-top: 0;
}

#a-propos,
#services,
#tarif,
#contact,
#carte {
	text-indent: -9999px;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: left bottom;
}

#a-propos {
	background-image: url(../i/a-propos.gif);
	width: 600px;
	height: 150px;
	margin: 50px 0 10px -50px;
}

html[lang="en"] #a-propos {
	background-image: url(../i/en-a-propos.gif);
}

html[lang="zh"] #a-propos {
	background-image: url(../i/cn-a-propos.gif);
}

#services {
	background-image: url(../i/services.png);
	width: 650px;
	height: 162px;
	margin-top: 30px;
}

html[lang="en"] #services {
	background-image: url(../i/services.png);
}

html[lang="zh"] #services {
	background-image: url(../i/cn-services.gif);
	width: 800px;
}

#tarif {
	background-image: url(../i/honoraire.png);
	width: 785px;
	height: 128px;
	margin: 60px 0 0;
}

html[lang="en"] #tarif {
	background-image: url(../i/en-tarif-general.gif);
}

html[lang="zh"] #tarif {
	background-image: url(../i/cn-tarif-general.gif);
}

#contact {
	background-image: url(../i/contact.gif);
	width: 345px;
	height: 79px;
}

html[lang="en"] #contact {
	background-image: url(../i/en-contact.gif);
}

html[lang="zh"] #contact {
	background-image: url(../i/cn-contact.gif);
}

#carte {
	background-image: url(../i/intervention.png);
	width: 405px;
	height: 75px;
	margin-bottom: 20px;
}

html[lang="en"] #carte {
	background-image: url(../i/en-carte.gif);
	width: 360px;
}

html[lang="zh"] #carte {
	background-image: url(../i/cn-carte.gif);
	width: 360px;
}

/* About / clients history */
.history-wrapper {
	margin-top: 10px;
	margin-bottom: -30px;
}

#history {
	background: url(../i/history-back.gif) left bottom repeat-x;
	border-top: 1px solid var(--line);
}

#history dl {
	font-size: 100%;
	width: 98%;
	float: left;
	padding-top: 30px;
	display: grid;
	grid-template-columns: 135px 1fr;
	row-gap: 14px;
}

#history dt {
	padding: 0 0 0 15px;
	margin: 0;
	font-size: 120%;
	color: var(--accent-red);
	line-height: 1.3;
}

#history dd {
	padding: 0;
	margin: 2px 0 0;
	color: var(--text);
	line-height: 1.4;
	font-size: 90%;
}

dl {
	font-size: 120%;
}

/* Services columns */
#the-services {
	margin: -30px 0 80px;
	padding-top: 1px;
	font-size: 90%;
	color: #aaa;
}

#the-services h3 {
	font-size: 130%;
	margin-top: 50px;
	color: var(--text);
}

#the-services a {
	text-decoration: underline;
}

#service1,
#service2,
#service3 {
	height: 550px;
}

#service1 { background: url(../i/photos/inter.jpg) 10px 50px no-repeat; }
#service2 { background: url(../i/photos/sourc.jpg) 10px 50px no-repeat; }
#service3 { background: url(../i/photos/guide.jpg) 10px 50px no-repeat; }

/* Tariffs */
#tarif-contact-wrapper {
	background: url(../i/image-tarif.jpg) right 200px no-repeat;
}

.tarif-icon {
	margin-top: 55px;
}

td {
	font-size: 120%;
	width: 200px;
}

.prix {
	font-style: italic;
	color: var(--prix);
}

/* Contact / partners */
.contact-details {
	font-size: 120%;
}

.contact-details a {
	text-decoration: none;
	display: block;
	color: #cca;
}

.js-open-contact {
	cursor: pointer;
}

#friendly {
	border: none;
	font-size: 250%;
	margin: 150px 0 20px;
}

.partners h3.name,
.partners .title,
.email {
	color: var(--gold);
	font-size: 100%;
	margin: 0;
}

.partners .title {
	font-style: normal;
}

.partners h3.name + .title {
	font-style: italic;
}

.partners hr.balance {
	height: 1px;
}

.client-logo {
	height: 106px;
}

/* Availability / footer */
.darkbg {
	background-color: rgba(0, 0, 0, 0.7);
	margin-bottom: 180px;
	padding: 10px;
}

html[lang="en"] .darkbg {
	margin-bottom: 220px;
}

html[lang="zh"] .darkbg {
	margin-bottom: 200px;
}

.darkbg li {
	margin-left: 20px;
}

.map-photo {
	width: 100%;
}

.site-end {
	padding-top: 180px;
	padding-bottom: 40px;
}

.logo-bottom {
	width: 139px;
	height: 75px;
}

/* Contact popup */
#backgroundPopup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: #000;
	opacity: 0.7;
	z-index: 1000;
}

#popupContact {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: auto;
	max-height: calc(100vh - 40px);
	width: 680px;
	max-width: calc(100vw - 32px);
	overflow: auto;
	background: rgba(0, 0, 0, 0.7);
	color: #ccc;
	border: 2px solid #cecece;
	z-index: 1001;
	padding: 12px;
	font-size: 13px;
}

#popupContact h2 {
	text-align: center;
	font-size: 60px;
	text-indent: 0;
	width: auto;
	height: auto;
	background: none;
	margin: 20px 0 0;
	padding-top: 0;
}

#popupContactClose {
	right: 12px;
	top: 8px;
	position: absolute;
	display: block;
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
	width: auto;
	height: auto;
	line-height: 1;
}

.separator {
	width: 100%;
	display: inline-block;
	margin-top: 20px;
}

#popupContact input,
#popupContact textarea,
#cmg-ok,
#cmg-ng {
	background: none;
	width: 100%;
	border: 0;
	border-bottom: 1px solid #ccc;
	padding: 5px 0;
	margin-bottom: 40px;
	line-height: 30px;
	height: 28px;
	font-size: 18px;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #ccc;
}

html[lang="zh"] #popupContact input,
html[lang="zh"] #popupContact textarea {
	font-family: "Microsoft YaHei", sans-serif;
}

#popupContact textarea {
	min-height: 270px;
	resize: none;
}

#popupContact .button {
	margin-top: 5px;
	margin-bottom: 0;
	padding: 20px 0;
	cursor: pointer;
	line-height: 1;
}

.button:hover {
	background: #fff;
	border-color: #fff;
	color: #000;
}

#cmg-ok,
#cmg-ng {
	text-align: center;
	margin-bottom: 10px;
	border: 1px solid #ccc;
	background: var(--gold);
	color: #000;
	display: none;
	font-weight: bold;
}

#cmg-ok.is-visible,
#cmg-ng.is-visible {
	display: block;
}

body.is-popup-open {
	overflow: hidden;
}

body.is-popup-open #backgroundPopup,
body.is-popup-open #popupContact {
	display: block;
}

/* Scroll reveals — progressive enhancement, enabled by JavaScript */
.reveal-on-scroll {
	opacity: 0;
	transition:
		opacity 700ms ease-out var(--reveal-delay, 0ms),
		transform 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
	will-change: opacity, transform;
}

.reveal-from-left {
	transform: translate3d(-34px, 0, 0);
}

.reveal-from-bottom {
	transform: translate3d(0, 28px, 0);
}

.reveal-scale {
	transform: translate3d(0, 18px, 0) scale(0.96);
}

.reveal-on-scroll.is-revealed {
	opacity: 1;
	transform: none;
	will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-on-scroll {
		opacity: 1;
		transform: none;
		transition: none;
	}
}




a:focus {
    outline: 1px dotted invert
}

hr {
    border-color: #ccc;
    border-style: solid;
    border-width: 1px 0 0;
    clear: both;
    height: 0
}

h1 {
    font-size: 25px
}

h2 {
    font-size: 23px
}

h3 {
    font-size: 21px
}

h4 {
    font-size: 19px
}

h5 {
    font-size: 17px
}

h6 {
    font-size: 15px
}

ol {
    list-style: decimal
}

ul {
    list-style: square
}

li {
    margin-left: 30px
}

p,dl,hr,h1,h2,h3,h4,h5,h6,ol,ul,pre,table,address,fieldset {
    margin-bottom: 20px
}

/* Responsive layout */
@media (max-width: 900px) {
	html {
		overflow-x: hidden;
	}

	body {
		background-image: none !important;
		font-size: 15px;
	}

	.container_12 {
		width: auto;
		margin: 0;
		padding-right: 18px;
		padding-left: 18px;
	}

	.page-top {
		display: none;
	}

	.grid_2,
	.grid_3,
	.grid_4,
	.grid_6,
	.grid_7,
	.grid_8,
	.grid_9,
	.grid_10,
	.grid_12,
	.grid_2point25 {
		display: block;
		float: none;
		width: auto !important;
		margin-right: 0;
		margin-left: 0;
	}

	.prefix_1,
	.prefix_2,
	.prefix_3,
	.prefix_4 {
		padding-left: 0 !important;
	}

	#container {
		background-image: none !important;
	}

	#title-subline {
		margin: 28px 0 18px;
		font-size: 100%;
		line-height: 1.45;
	}

	#title {
		width: 100%;
		height: clamp(100px, 33vw, 195px);
		margin: 15px 0 25px;
		background-size: contain;
	}

	#myphoto {
		display: none;
	}

	#nav {
		position: static !important;
		top: auto !important;
		left: auto !important;
		width: 100%;
		margin-bottom: 32px;
	}

	#nav > ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1px;
	}

	#nav > ul > li {
		float: none;
		width: auto;
		margin: 0;
	}

	#nav > ul > li:last-child {
		grid-column: 1 / -1;
	}

	#nav a {
		padding: 4px 8px;
		text-align: center;
	}

	#nav li ul,
	#nav li:hover ul {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	#nav li ul li {
		float: none;
		width: auto;
		margin: 0;
	}

	p {
		font-size: 100%;
		line-height: 1.55;
	}

	h2 {
		margin-top: 45px;
	}

	#home {
		font-size: 175%;
	}

	.drop-cap {
		font-size: 70px;
	}

	.wide-punchout {
		margin: 1.5em 0;
		font-size: 155%;
	}

	img {
		max-width: 100%;
		height: auto;
	}

	.portrait {
		display: block;
		width: min(220px, 70vw);
		height: auto;
		margin: 0 auto;
	}

	#a-propos,
	#services,
	#tarif,
	#contact,
	#carte {
		width: 100% !important;
		max-width: 100%;
		margin-left: 0;
		background-position: left center;
		background-size: contain;
	}

	#a-propos {
		height: 110px;
		margin-top: 35px;
	}

	#services {
		height: 105px;
		margin-top: 35px;
	}

	#tarif {
		height: 90px;
		margin-top: 45px;
	}

	#contact {
		height: 70px;
	}

	#carte {
		height: 65px;
	}

	.history-wrapper {
		margin-bottom: 20px;
	}

	#history dl {
		float: none;
		width: 100%;
		grid-template-columns: 1fr;
		row-gap: 6px;
		padding-top: 20px;
	}

	#history dt {
		padding-left: 0;
		margin-top: 14px;
	}

	#history dd {
		margin-bottom: 12px;
	}

	#the-services {
		margin: 20px 0 50px;
		font-size: 100%;
	}

	#the-services > .grid_4 {
		min-height: 0;
		height: auto !important;
		margin-bottom: 20px;
		padding: 24px;
		border: 1px solid var(--line);
		background-color: rgba(0, 0, 0, 0.68);
		background-position: center;
		background-size: cover;
		background-blend-mode: multiply;
	}

	#the-services h3 {
		margin-top: 0;
		font-size: 140%;
	}

	#tarif-contact-wrapper {
		background-image: none;
	}

	.tarif-icon {
		display: none;
	}

	table {
		width: 100%;
		table-layout: fixed;
	}

	td {
		width: auto;
		padding: 5px 8px 5px 0;
		overflow-wrap: anywhere;
	}

	td:first-child {
		width: 58%;
	}

	.prix {
		text-align: right;
	}

	.contact-details {
		font-size: 100%;
	}

	.js-open-contact {
		margin-top: 30px;
	}

	#friendly {
		margin-top: 60px;
		font-size: 200%;
	}

	.partners .grid_2point25 {
		margin-bottom: 35px;
		text-align: center;
	}

	.client-logo {
		width: auto;
		max-height: 106px;
	}

	.darkbg,
	html[lang="en"] .darkbg,
	html[lang="zh"] .darkbg {
		margin-bottom: 60px;
	}

	.site-end {
		padding-top: 60px;
		padding-bottom: 30px;
	}

	#popupContact {
		max-height: calc(100vh - 24px);
		max-width: calc(100vw - 24px);
		padding: 12px;
	}

	#popupContact h2 {
		margin-top: 10px;
		font-size: 34px;
	}

	#popupContact input,
	#popupContact textarea {
		margin-bottom: 20px;
	}

	#popupContact textarea {
		min-height: 150px;
	}
}

@media (max-width: 420px) {
	.container_12 {
		padding-right: 14px;
		padding-left: 14px;
	}

	#nav a {
		font-size: 90%;
	}

	#title-subline {
		font-size: 90%;
	}

	td {
		font-size: 95%;
	}
}
