/*******************
    General
*******************/
html {
  height: 100%;
}

body {
  height:100%;
}

* {
  margin: 0;
  padding: 0;
}

.inline {
  display: inline-block;
}

.italic {
  font-style: italic;
}

.center {
  text-align: center;
}

.hidden {
  display: none;
  margin:auto !important;
}

p, li {
  font-family:Verdana, Geneva, sans-serif;
  font-size: 17px;
  word-spacing: 2px;
}

figure img {
  max-width: 100%;
}

.centerH1 {
  margin-bottom: 20px;
  margin-top: 5px;
}
h1,h2,h3,h4,h5 {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    /* font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; */
    font-size:1.6rem;
}

.h1sub {
  font-family:Verdana, Geneva, sans-serif;
  font-size:larger;
  letter-spacing: 0.8px;
  font-weight: 500;
}

h2 {
  margin-bottom: 10px;
}

.youtubeframe {
  width:70%;
  height: 70vh;
  border: 0;
  margin: auto;
  display: block;
  padding: 0 15%;
  background-color: black;
}

/*When the main is to little and need to be centered vertically*/
.littleMain {
  padding: 60px 0; 
}

.container, main {
  width: 60%;
  margin: auto;
}

.container {
  display: flex;
}
.FooterLink {
  text-align:center;
  color:white;
  margin: 20px auto;
}

.FooterLink a {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  color:white;
  font-size: 20px;
  text-decoration: none;
}

#videoBackground {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    display: none;
    background: black;
}

#videoBackground  video {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    min-height: 50%;
    min-width: 50%;
}
.hide {
  display: none;
}

/*******************
      Header
*******************/

header {
  padding: 10px 0;
  padding-bottom: 5px;
  display: flex;
  margin: auto;
  background-color: black;
  position: relative; /* need nav to be absolute to this */
  height: 175px;
}

header figure, #menus {
  display: inline-block;
}

header figure {
  width: 190px;
}

figure{
  margin-left:45% ;
  margin-right:auto;
}

#menus {
  align-self: center;
  text-align: right;
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
}

#menus ul li a {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
}

#socio{
  margin:20px 0 20px 0;
}

#menus img {
  width: 16px;
}

#middle {
  margin:10px auto;
}

#middle ul li a {
  font-size:20px;
}

#subtitle ul li a {
 color:#c9c9c9;
 font-size: 16px;
}

.preSub {
  display:block;
}

#withoutSub {
  vertical-align: top;
}

nav li {
  display: inline-block; 
  padding: 0 5px;
}

nav a {
   text-transform: uppercase; 
   text-decoration: none;
   color: white;
}

nav a:hover, #subtitle a:hover {
  color: red;
}

/*******************
       Footer
*******************/


/* style when the content of the page is less than a page */
.Fbtm {
  bottom:0;
}

.FooterWrap{
  width: 60%;
  margin:0 auto;
}
footer {
  background-color: black;
  color: #979597;
  position: absolute;
  width:100%;
}

footer .Pfelx {margin:0 auto;text-align: center;}

footer div {
  align-items: center;
}
footer p:first-child { 
    padding-top:5%;
}
footer p {
  display: inline-block;
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  font-size: 15px;
  padding-top: 0;
}

footer a {
  text-decoration: none;
}
footer a, footer a:visited {
  color: #979597;
  font-size: 11px;
  text-decoration: underline;
}

#mainFooter {
  margin-top: 0;
}

/*******************
      Accueil Main
*******************/

#index { /* html home page */
  width: 100%;
  margin: 0 auto;
  display: none;
}

Section article{
  width:100%;
  margin-bottom: 1%;
}
.wrap {
  width: 60%;
  margin: 0 auto;
}
.DevMain {
  margin-top: 6.3%;
  width: 100%;
}
#index article {
  /* padding: 20px; */
  vertical-align: top;
  margin-bottom: 7%;
  display: inline-block;
}

#film p {
  /*taken from citeducinema */
  line-height: 19px;
  font-size: 16x;
}

#film a {
  text-decoration: none;
  color: black;
}

#film a:hover , #film a:visited:hover{
  color: red;
}

#film a:visited {
  color: black;
}

main article h1:last-of-type {
  margin-bottom: 10px;
}

#film {
  width:70%;
  margin-top:2%;
  -webkit-column-count: 2; /* Chrome, Safari, Opera */
  -moz-column-count: 2; /* Firefox */
  column-count: 2;
  padding-bottom:5%;
}

#joseph p, #filmsLaBas p {
  font-size:17px;
  word-spacing:2px;
}

#filmsLaBas{
  margin-top:1%;
  float:left;
  width: 35%;
}

#joseph {
   width: 60%;
   margin-left: 4%;
   margin-bottom: 7%;
   margin-top:1%;
}

.newIMG {
  width:100%;
}

.newsLeft{
  float:left;
}

.newsLeft img {
  width:400px;
  height: 190px;
}
.newsRight{
  float:right;
  width: 70%;
}

.newsRight a{
  text-decoration: none;
  color: black;
}

.newsRight h1:hover {
  color: red;
}

.newsRight a:visited {
  color: black;
}


.footer {
  background-color:#cdcbcd;
}
.footer div hr {
  height:0.3px;
  background-color:black;
}

.Fcenter {
  width:70%;
  margin:0 auto;
}
.h2Left,.h2Right {
  margin-top:25px;
}
.h2Left {
  float:left;
}

.h2Right {
  margin-right:25%;
  float:right;
}

.group:after { content: ""; display: table; clear: both; }



/*******************
      slideshow
*******************/

.bxslider { margin:0; }
.bx-viewport  img { width:100%;}
.bx-viewport {height: 720px !important;width:100%;}

#main-footer { 
  padding-top: 60px; 
  padding-bottom: 60px; 
  border-bottom: solid 10px #ffa949; 
}

.bx-wrapper .bx-viewport {
  border: 0 !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
  left: 0 !important;
}

/*******************
   Projects
*******************/

  .realMain{
        margin: 6.3% auto;
  }

  .project {
    height:300px;
  }
 

  
  .IMGleft { float:left;}
  .IMGleft  img {
    width: 400px !important;
    height:190px !important;
    margin-top:5%;
  }

  .TextRight {
    float:right;
    width:70%;
    }
  .IMGleft, .TextRight {
    margin:2% 0;
  }

   .project h1 {
   margin:10px 0;  
   }
   
   .project p, .project a {
     font-family:Verdana, Geneva, sans-serif;
     word-spacing: 5px;
   }

   .reaHeader h1 {
    display: inline-block;
    width: 90%;
}

   .reaHeader a {
     display: inline;
     text-align: right;
     /* width: 70%; */
     color:red;
     font-weight:bold;
     text-decoration:none;
}

  .reaHeader p {
    display: inline-block;
  }

  .fleche {width:4%;}

/*********************************/
/*             Admin              */
/*********************************/

#adminNav {
  text-align: center;
  margin: 20px 0;
}

#adminNav li {
  display: inline-block;
  list-style-type: none;
  margin-right: 15px;
}

#adminNav a, #adminNav a:visited{
  text-decoration: none;
  color: black;
}

#adminNav a:hover, #adminNav a:visited:hover{
  color: red;
}


#adminForm {
  position: relative;
}

.addIcon, .delIcon {
  position: absolute;
}

.addIcon {
  width: 20px;
  display: inline;
  right: 10px;
  top: 10px;
}

.delIcon {
  width: 25px;
  position: absolute;
  right: -2px;
  top: 0;
}

.order {
  display: inline-block;
  width: 50px;
  text-align: center;
  margin-right: 20px;
}

.block {
  border: 1px solid black;
  padding: 10px;
  position: relative;
  margin: 10px 0;
}

.littleBlock {
  position: relative;
  margin-top : 10px;
}

.inputBlock {
  float: right;
  width: 50%;
  text-align: right;
}

.inputBlock input {
  float: none !important;
  display: inline-block;
}

.seeBlock {
  margin-top: 10px;
}

/*********************************/
/*             See             */
/*********************************/


  .aRetour {
    display: inline-block;
    text-align: right;
    width: 100%;
    color: red;
    font-weight: bold;
    text-decoration: none
}
  .PageVoir {
    width: 80%;
    margin: 40px auto;
  }

.SeeLeft img {
    width:100%;
    margin-top: 10px;
    margin-bottom: 9px;
}

.SeeLeft{
  float:left;
  width: 30%;
}


.PRight {
  margin-right: 140px;
  float: right;
  width: 61%;
}

.linkArticle {
  display:block;
}
/*********************************/
/*           TEXT P              */
/*********************************/

.PRight p {
  width: 70%;
  /* font-weight: normal; */
  font-size:.90em;
  /* letter-spacing: 0.7px; */
  /* line-height:20px; */
}
.PRight h1 {
  margin-bottom:10px;
}

.description {
  margin:20px 0;
}

.spaceP {
  margin-top:20px;
}

.back {
  display: block;
}

/*********************************/
/*             Team              */
/*********************************/

.cvLink {
  display: block;
  margin-top: 10px;
}

.teamReaHeader { 
  height: 196px; /*image height + 6px so the last line isn't cut */
  overflow: hidden;
}

.more {
  display: inline-block;
  margin-top: 15px;
}

/*********************************/
/*             FORM              */
/*********************************/
/* Form email */

.anti-spam {
  display: none;
}

.newCheck {
  vertical-align: middle;
}

#new {
  width: 15px;
  margin: 0;
}

#contact {
  text-align: center;
  margin:auto;
  display: block;
}

.formSection{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
}

.result{
  display: none;
}

form {
  width: 70%;
  margin: 0 auto;
  /* background-color: white; */
  padding: 30px;
  /* -webkit-box-shadow: 1px -1px 5px 0 rgba(0, 0, 0, 0.2); */
  -moz-box-shadow: 1px -1px 5px 0 rgba(0, 0, 0, 0.2);
  /* box-shadow: 1px -1px 5px 0 rgba(0, 0, 0, 0.2); */
  margin-bottom: 30px;
}

label {
  display: block;
  margin-bottom: 21px;
}

input, label, textarea {
  font-size: 29px;
  line-height: 21px;
  text-align: left;
  font-family:Verdana, Geneva, sans-serif;
}

input, input[type="submit"], textarea, select {
  width: 100%;
  margin-bottom: 10px;
  background-color: #ccc;
}

input, select {
    height: 50px;
}

textarea, select {
  margin-top: 10px; /*since we see the top border, a margin is necessary */
}

input {
  border:0;
  /* border-bottom: 3px solid rgba(0,0,0,0.3); */
}

textarea {
  height: 200px;
  border: 0;
}

input[type=submit] {
  background-color: #c7222a;
  height: 30px;
  padding: 5px;
  margin-top: 20px;
  color: white;
  border: 0;
  -webkit-box-shadow: 1px -1px 5px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 1px -1px 5px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 1px -1px 5px 0 rgba(0, 0, 0, 0.2);
  width:20%;
  float:right;
  text-align: center;
}

/*Get ride of default behavior of browser when we focus an input */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}


/* load anim */

#floatingCirclesG{
  display:none;
  position:absolute;
  left: 46%;
  top: 37%;
  width:125px;
  height:125px;
  transform:scale(0.6);
    -o-transform:scale(0.6);
    -ms-transform:scale(0.6);
    -webkit-transform:scale(0.6);
    -moz-transform:scale(0.6);
}

.f_circleG{
  position:absolute;
  background-color:rgb(255,255,255);
  height:22px; /*Before: 22; */
  width:22px;
  border-radius:12px;
    -o-border-radius:12px;
    -ms-border-radius:12px;
    -webkit-border-radius:12px;
    -moz-border-radius:12px;
  animation-name:f_fadeG;
    -o-animation-name:f_fadeG;
    -ms-animation-name:f_fadeG;
    -webkit-animation-name:f_fadeG;
    -moz-animation-name:f_fadeG;
  animation-duration:1.2s;
    -o-animation-duration:1.2s;
    -ms-animation-duration:1.2s;
    -webkit-animation-duration:1.2s;
    -moz-animation-duration:1.2s;
  animation-iteration-count:infinite;
    -o-animation-iteration-count:infinite;
    -ms-animation-iteration-count:infinite;
    -webkit-animation-iteration-count:infinite;
    -moz-animation-iteration-count:infinite;
  animation-direction:normal;
    -o-animation-direction:normal;
    -ms-animation-direction:normal;
    -webkit-animation-direction:normal;
    -moz-animation-direction:normal;
}

#frotateG_01{
  left:0;
  top:51px;
  animation-delay:0.45s;
    -o-animation-delay:0.45s;
    -ms-animation-delay:0.45s;
    -webkit-animation-delay:0.45s;
    -moz-animation-delay:0.45s;
}

#frotateG_02{
  left:15px;
  top:15px;
  animation-delay:0.6s;
    -o-animation-delay:0.6s;
    -ms-animation-delay:0.6s;
    -webkit-animation-delay:0.6s;
    -moz-animation-delay:0.6s;
}

#frotateG_03{
  left:51px;
  top:0;
  animation-delay:0.75s;
    -o-animation-delay:0.75s;
    -ms-animation-delay:0.75s;
    -webkit-animation-delay:0.75s;
    -moz-animation-delay:0.75s;
}

#frotateG_04{
  right:15px;
  top:15px;
  animation-delay:0.9s;
    -o-animation-delay:0.9s;
    -ms-animation-delay:0.9s;
    -webkit-animation-delay:0.9s;
    -moz-animation-delay:0.9s;
}

#frotateG_05{
  right:0;
  top:51px;
  animation-delay:1.05s;
    -o-animation-delay:1.05s;
    -ms-animation-delay:1.05s;
    -webkit-animation-delay:1.05s;
    -moz-animation-delay:1.05s;
}

#frotateG_06{
  right:15px;
  bottom:15px;
  animation-delay:1.2s;
    -o-animation-delay:1.2s;
    -ms-animation-delay:1.2s;
    -webkit-animation-delay:1.2s;
    -moz-animation-delay:1.2s;
}

#frotateG_07{
  left:51px;
  bottom:0;
  animation-delay:1.35s;
    -o-animation-delay:1.35s;
    -ms-animation-delay:1.35s;
    -webkit-animation-delay:1.35s;
    -moz-animation-delay:1.35s;
}

#frotateG_08{
  left:15px;
  bottom:15px;
  animation-delay:1.5s;
    -o-animation-delay:1.5s;
    -ms-animation-delay:1.5s;
    -webkit-animation-delay:1.5s;
    -moz-animation-delay:1.5s;
}



@keyframes f_fadeG{
  0%{
    background-color:rgb(0,0,0);
  }

  100%{
    background-color:rgb(255,255,255);
  }
}

@-o-keyframes f_fadeG{
  0%{
    background-color:rgb(0,0,0);
  }

  100%{
    background-color:rgb(255,255,255);
  }
}

@-ms-keyframes f_fadeG{
  0%{
    background-color:rgb(0,0,0);
  }

  100%{
    background-color:rgb(255,255,255);
  }
}

@-webkit-keyframes f_fadeG{
  0%{
    background-color:rgb(0,0,0);
  }

  100%{
    background-color:rgb(255,255,255);
  }
}

@-moz-keyframes f_fadeG{
  0%{
    background-color:rgb(0,0,0);
  }

  100%{
    background-color:rgb(255,255,255);
  }
}

br {display: none;}
