/* --------------------------------Primary style-------------------------------- */
html * {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

body {
font-size:60%;
line-height:.9em;
font-family: "PT sans narrow", sans-serif;
color: #3d3536;
background-color:#000;
}

body, html {
/* important */
height: 100%;
}

a {
color: #b4d7a8;
text-decoration: none;
}
a:active {
color: orangered;
text-decoration: none;
}

p {
text-align: justify;
color:#999;
}

li{
list-style:none;
}

em {
font-style: italic;
}

.question {
color: white;
text-shadow:1px 1px 1px #000;
font-size:.9rem !important ;
line-height:.9rem;
}

.legend {
display:block;
position:absolute;
right:5%;
bottom:2%;
color: white;
line-height:.1em;
font-size:1em;
text-align:right;
}

/* --------------------------------Modules - reusable parts of our design-------------------------------- */
.cd-container {
/* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
width: 90%;
max-width: 1170px;
margin: 0 auto;
}
.cd-container::after {
/* clearfix */
content: '';
display: table;
clear: both;
}

/* --------------------------------Main components-------------------------------- */
.cd-header {
position: fixed;
top: 0;
right:-4vmin;
width: 100%;
height: 50px;
background: transparent;
z-index:100;
}
.cd-header:after {
content: "";
display: table;
clear: both;
}
.cd-header #cd-logo {
float: left;
margin: 13px 0 0 5%;
}
.cd-header #cd-logo img {
display: block;
}

@media only screen and (min-width: 768px) {
.cd-header {
height: 70px;
}

.cd-header #cd-logo {
margin: 23px 0 0 5%;
}
}

.cd-main-nav {
float: right;
margin-right: 5%;
width: 44px;
height: 100%;
background: url("../img/cd-icon-menu.svg") no-repeat center center;
background-size: 44px 44px;
cursor: pointer;
}

.cd-main-nav ul {
position: absolute;
top: 0;
left: 0;
width: 100%;
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}

.cd-main-nav ul.is-visible {
-webkit-transform: translateY(50px);
-moz-transform: translateY(50px);
-ms-transform: translateY(50px);
-o-transform: translateY(50px);
transform: translateY(50px);
}

.cd-main-nav a {
display: block;
position:relative;
height: 31px;
line-height: 31px;
margin-right:6vmin;
background:transparent;
border-top: 0px solid #453c3d;
color: #888;
z-index:100;
text-align:right;
}

.cd-main-nav a:active {
color: orangered;
}

img { 
display:block; 
position:relative;
width:80%;
margin-top:3%;
}



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

img { 
width:50%;
}

.cd-main-nav {
position:relative;
top:1em;
left: auto;
width:90%;
background:transparent;
color:white;
position: relative;
left: 50%;
transform: translateX(-50%);
cursor: auto;
}
.cd-main-nav ul {
position: static;
width: 98%;
margin: 0 1%;
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
line-height: 70px;
}
.cd-main-nav ul.is-visible {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}

.cd-main-nav li {
text-overflow: ellipsis;
color:#000;
display: inline-block;
width:4%;
padding:1%;
white-space: nowrap;
overflow: hidden;
text-align:center;
list-style:none;
}

.cd-main-nav li:first-child {
  padding-left:0;
  margin-left:10%;
}
.cd-main-nav li:last-child {
  padding-right:0;
}

.cd-main-nav a {
display: inline-block;
height: auto;
line-height: normal;
background: transparent;
padding: .6em .2em;
border-top: none;
color: #3d3536;
text-transform: uppercase;
font-weight: bold;
font-size: 0.675rem;
}

.no-touch .cd-main-nav a:hover {
color: #99a478;
}

}/* End media only screen and (min-width: 768px) */



.cd-main-content {
/* you need to assign a min-height to the main content so that the children can inherit it*/
height:500px;
position: relative;
z-index: 1;
}

.cd-fixed-bg {
position: relative;
min-height: 200px;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
z-index: 1;
}

@media only screen and (min-width: 768px) {
cd-fixed-bg 
{
min-height: 600px;
}
}


.cd-fixed-bg h1, .cd-fixed-bg h2 {
position: absolute;
left: 50%;
top: 50%;
bottom: auto;
right: auto;
-webkit-transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
-o-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: 80%;
max-width: 1170px;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
color: white;
}
.cd-fixed-bg h1 {
text-align: center;
font-size: 30px;
font-size: 1.875rem;
line-height:30px;
line-height:1.9rem;
}
.cd-fixed-bg h1 span {
font-size: .5em;
line-height:1em;
font-weight:normal;
}

.cd-fixed-bg h2, p {
text-align: justify;
font-size: 23px;
font-size: 1rem;
line-height:1.2rem;
}
.cd-fixed-bg h2 {
bottom: auto;
top:70%;
line-height:1.3em;
}
.cd-fixed-bg.cd-bg-1 {
background-image: transparent;
}
.cd-fixed-bg.cd-bg-2 {
background-image: url("http://www.lacor.info/film/a_la_folie/img/galerie/large/a_la_folie_18.jpg");
background-size:contain;
background-position: 50% bottom;
}
.cd-fixed-bg.cd-bg-2-b {
background-image: url("http://www.lacor.info/film/a_la_folie/texte_burdeau/slider/img/feng_ming.jpg");
background-size:contain;
background-position: 50% bottom;
}

.cd-fixed-bg.cd-bg-2-c {
background-image: url("http://www.lacor.info/film/a_la_folie/texte_burdeau/slider/img/homme_sans_nom.jpg");
background-size:contain;
background-position: 50% bottom;
}
.cd-fixed-bg.cd-bg-3 {
background-image: url("http://www.lacor.info/film/a_la_folie/texte_burdeau/slider/img/trois_soeurs_du_yunnan.jpg");
background-size:contain;
background-position: 50% bottom;
}
.cd-fixed-bg.cd-bg-3-b {
background-image: url("http://www.lacor.info/film/a_la_folie/texte_burdeau/slider/img/fosse_4.jpg");
background-size:contain;
background-position: 50% bottom;
}
.cd-fixed-bg.cd-bg-4 {
background-image: url("http://www.lacor.info/film/a_la_folie/img/galerie/large/a_la_folie_24.jpg");
background-size:contain;
background-position: 50% bottom;
}
.cd-fixed-bg.cd-bg-4-b {
background-image: url("http://www.lacor.info/film/a_la_folie/img/galerie/large/a_la_folie_07.jpg");
background-size:contain;
background-position: 50% bottom;
}

.cd-fixed-bg.cd-bg-5 {
background-image: url("http://www.lacor.info/film/a_la_folie/img/coal_money_01.jpg");
background-size:contain;
background-position: 50% bottom;
}

.cd-fixed-bg.cd-bg-5-b {
background-image: url("http://www.lacor.info/film/a_la_folie/img/galerie/large/a_la_folie_11.jpg");
background-size:contain;
background-position: 50% bottom;
}

.cd-fixed-bg.cd-bg-6 {
background-image: url("http://www.lacor.info/film/a_la_folie/img/galerie/large/a_la_folie_23.jpg");
background-size:contain;
background-position: 50% bottom;
}

.cd-fixed-bg.cd-bg-6-b {
background-image: url("http://www.lacor.info/film/a_la_folie/img/galerie/large/a_la_folie_22.jpg");
background-size:contain;
background-position: 50% bottom;
}

.cd-fixed-bg.cd-bg-7 {
background-image: url("http://www.lacor.info/film/a_la_folie/img/trois_soeurs_du_yunnan_13.jpg");
background-size:contain;
background-position: 50% bottom;
}

.cd-fixed-bg.cd-bg-8 {
background-image: url("http://www.lacor.info/film/a_la_folie/img/homme_sans_nom_07.jpg");
background-size:contain;
background-position: 50% bottom;
}

.cd-fixed-bg.cd-bg-9 {
background-image: url("http://www.lacor.info/film/a_la_folie/img/galerie/large/a_la_folie_17.jpg");
background-size:contain;
background-position: 50% bottom;
}

.cd-fixed-bg.cd-bg-9-b {
background-image: url("http://www.lacor.info/film/a_la_folie/img/galerie/large/a_la_folie_04.jpg");
background-size:contain;
background-position: 50% bottom;
}
.cd-fixed-bg.cd-bg-9-c {
background-image: url("http://www.lacor.info/film/a_la_folie/img/a_louest_des_rails_18.jpg");
background-size:contain;
background-position: 50% bottom;
}
.cd-fixed-bg.cd-bg-10 {
background-image: url("http://www.lacor.info/film/a_la_folie/img/galerie/large/a_la_folie_03.jpg");
background-size:contain;
background-position: 50% top;
}
.cd-fixed-bg.cd-bg-11 {
background-image: url("http://www.lacor.info/film/a_la_folie/img/a_louest_des_rails_20.jpg");
background-size:contain;
background-position: 50% bottom;
}
.cd-fixed-bg.cd-bg-12 {
background-image: url("http://www.lacor.info/film/a_la_folie/img/galerie/large/a_la_folie_26.jpg");
background-size:contain;
background-position: 50% top;
}
.cd-fixed-bg.cd-bg-13 {
background-image: url("http://www.lacor.info/film/a_la_folie/img/galerie/large/a_la_folie_25.jpg");
background-size:contain;
background-position: 50% top;
}

.cd-fixed-bg.cd-bg-14 {
background-image: url("http://www.lacor.info/film/a_la_folie/img/galerie/large/a_la_folie_21.jpg");
background-size:contain;
background-position: 50% top;
}

@media only screen and (min-width: 768px) {
.cd-fixed-bg h1 {
font-size: 46px;
}
.cd-fixed-bg h2, p {
font-size: 18px;
}

}
@media only screen and (min-width: 1170px) {
.cd-fixed-bg {
background-attachment: fixed;
}
.cd-fixed-bg h1 {
font-size: 58px;
font-weight: 300;
}
.cd-fixed-bg h2, p {
font-size: 24px;
}
.cd-fixed-bg p {
padding:0 6em;
}
}

.cd-scrolling-bg {
position: relative;
min-height: 300px;
padding: 4em 0;
line-height: 1.6;
z-index: 2;
}
.cd-scrolling-bg.cd-color-1 {
background-color: #3d3536;
color: #a6989a;
}
.cd-scrolling-bg.cd-color-2 {
background-color: transparent;
color: #3d3536;
}
.cd-scrolling-bg.cd-color-3 {
background-color:transparent;
color:transparent;
}
.cd-scrolling-bg.cd-color-3:hover {
background-color: #6B1209;
-webkit-transition: background 10s ease-out;  
-moz-transition: background 10s ease-out;  
-o-transition: background 10s ease-out;  
transition: background 10s ease-out; 
}
@media only screen and (min-width: 768px) {
.cd-scrolling-bg {
padding: 8em 0;
font-size: 20px;
font-size: 1.25rem;
line-height: 2;
font-weight: 300;
}
}
