h1 {
  margin: 0px;
}
a {
  color: #007fa1;
}
a:hover {
  color: #00607a;
  text-decoration: none;
}
html {
  /*width: 100%;*/
  height: 100%;
}
.onlyMobile {
  display: none;
}
section .btn.onlyMobile {
  display: none;
}
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Titillium Web', sans-serif;
  color: #232323;
  background-color: #f4f4f4;
  /* gris foncé */
  background-image: url("bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
#page {
  background-color: rgba(240, 240, 240, 0.95);
  max-width: 1200px;
  margin: auto;
  min-height: 100%;
  position: relative;
}
footer {
  clear: both;
}
header {
  padding: 30px;
  text-align: center;
}
header h1 {
  display: inline-block;
}
aside {
  color: white;
  float: left;
  width: 350px;
  background-color: #2f2f2f;
  /*min-height: 100%;*/
}
aside #profil {
  width: 100%;
  margin-bottom: -5px;
}
aside #profil img {
  width: 100%;
}
aside #menu_red {
  background-color: #007fa1;
  padding: 30px;
}
aside #menu_red img {
  vertical-align: middle;
  width: 18px;
  margin-left: 5px;
}
aside #menu_contact {
  padding: 30px;
  position: relative;
  padding: 30px 30px 30px 90px;
}
aside #menu_contact span {
  font-weight: bold;
  font-size: 1.5em;
}
aside #menu_contact ul {
  margin-left: -82px;
}
aside #menu_contact ul a {
  color: white;
  text-decoration: none;
}
aside #menu_contact ul a:hover {
  color: #f0f0f0;
}
aside nav a img,
aside #menu_contact img {
  width: 32px;
  position: absolute;
  left: 30px;
  top: 48px;
}
aside #menu_contact img {
  top: 35px;
}
aside nav {
  display: flex;
  flex-direction: column;
}
aside nav > a,
aside nav #menu_contact {
  position: relative;
  flex: 1;
  display: block;
  padding: 30px 30px 30px 90px;
  color: white;
  text-decoration: none;
  background-image: url("menu_on.png");
  background-repeat: no-repeat;
  border-bottom: 1px solid black;
  background-position: center right -25px;
}
aside nav > a strong,
aside nav #menu_contact strong {
  font-weight: bold;
  font-size: 1.5em;
}
aside nav > a:hover,
aside nav #menu_contact:hover {
  color: #f0f0f0;
}
aside nav > a.on,
aside nav #menu_contact.on {
  -webkit-animation: menuOn 0.7s;
  animation: menuOn 0.7s;
  background-position: center right 0px;
}
aside nav > a.off:hover,
aside nav #menu_contact.off:hover {
  -webkit-animation: menuHover 0.7s;
  animation: menuHover 0.7s;
  background-position: center right -10px;
}
aside nav > a.off,
aside nav #menu_contact.off {
  -webkit-animation: menuOff 0.7s;
  animation: menuOff 0.7s;
  background-position: center right -25px;
}
header,
main {
  margin-left: 350px;
}
section .btn,
section .btnHomeGrid {
  display: block;
  background-color: #007fa1;
  color: white;
  font-weight: bold;
  text-decoration: none;
}
section .btn:hover,
section .btnHomeGrid:hover {
  -webkit-animation: btnHover 0.3s;
  animation: btnHover 0.3s;
  background-color: #00607a;
}
section .btn {
  width: 300px;
  text-align: center;
  padding: 10px;
  margin: auto;
  margin-top: 22px;
}
section#home .homeGrid {
  display: flex;
  margin-top: 17px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}
section#home .homeGrid a {
  display: block;
  height: 85px;
  margin-top: 18px;
}
section#home .homeGrid a img {
  height: 85px;
  border: 4px solid white;
}
section#home .homeGrid .btnHomeGrid {
  width: 130px;
  margin-top: 18px;
  text-align: center;
  line-height: 85px;
  border: 4px solid #f0f0f0;
  vertical-align: middle;
}
section#home .logo {
  width: 44px;
  float: left;
  margin: 0px 15px 15px 0px;
}
section#home .soc a {
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  color: black;
}
section#home .soc a:hover div {
  background-color: #00607a;
}
section#home .soc a div {
  background-color: #007fa1;
  width: 25px;
  height: 25px;
  display: inline-block;
  text-align: center;
}
section#home .soc a div img {
  height: 13px;
  padding: 3px;
  vertical-align: middle;
  display: inline-block;
}
section#portfolio .linePic {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
section#portfolio .linePic:hover .title {
  -webkit-animation: imgHoverTitle 0.3s;
  animation: imgHoverTitle 0.3s;
  background-color: rgba(0, 0, 0, 0.8);
}
section#portfolio .linePic > div {
  background-size: cover;
  background-position: center center;
  background-color: black;
  border: 4px solid white;
  margin-top: 22px;
  position: relative;
}
section#portfolio .linePic > div img {
  display: none;
}
section#portfolio .linePic .title {
  color: white;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  text-transform: capitalize;
  vertical-align: middle;
}
section#portfolio .linePic.line3 div {
  width: 233px;
  height: 153px;
}
section#portfolio .linePic.line3 div div {
  line-height: 153px;
}
section#portfolio .linePic.line4 div {
  width: 172px;
  height: 114px;
}
section#portfolio .linePic.line4 div div {
  line-height: 114px;
}
section#portfolio .linePic.line5 div {
  width: 136px;
  height: 87px;
}
section#portfolio .linePic.line5 div div {
  line-height: 87px;
}
section#photo .photoGrid {
  display: flex;
  margin-top: 17px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}
section#photo .photoGrid a {
  display: block;
  height: 88px;
  margin-top: 18px;
}
section#photo .photoGrid a img {
  height: 88px;
  border: 4px solid white;
}
/*img{
	opacity: 0.8;
	&:hover{
		opacity:1;
	}
}*/
body > a {
  color: white;
  text-decoration: none;
}
h3 {
  color: #007fa1;
}
h2 {
  margin-top: 0px;
  margin-bottom: 10px;
  font-family: 'Titillium Web', sans-serif;
  text-align: center;
  font-size: 1.8em;
  font-weight: normal;
}
.hover {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(45, 45, 45, 0.6);
  opacity: 0;
  -webkit-transition: all 0.5s;
  /* Safari */
  transition: all 0.5s;
  padding-top: 20%;
  cursor: pointer;
  background-image: url("reflet.png");
  background-size: 250%;
  background-position: 160%;
  background-repeat: no-repeat;
  z-index: 4;
}
.hover h2 {
  width: 70%;
  margin: auto;
  color: #007fa1;
  /* orange */
  font-weight: bold;
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}
.hover p {
  width: 70%;
  margin: auto;
  color: white;
  font-size: 1.2em;
  text-align: center;
}
.hover:hover {
  opacity: 1;
  background-position: -60%;
}
section {
  width: 100%;
  max-width: 900px;
  margin: auto;
  margin-top: 10px;
  padding: 0px 40px 40px 40px;
  box-sizing: border-box;
  margin-bottom: 20px;
  text-align: left;
}
section strong {
  color: #007fa1;
}
section h2 {
  color: #007fa1;
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: center;
}
section i {
  font-size: 0.8em;
}
section h3 {
  font-weight: bold;
  margin-bottom: 8px;
  margin-top: 10px;
  text-align: left;
  border-bottom: 1px solid #007fa1;
}
section#cv .entreprise,
section#cv .competence,
section#cv .diplomes,
section#cv .langues {
  width: 100%;
  text-align: justify;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 24px;
}
section#cv .entreprise table,
section#cv .competence table,
section#cv .diplomes table,
section#cv .langues table {
  border-collapse: collapse;
  width: 100%;
}
section#cv .entreprise table tr td:first-child,
section#cv .competence table tr td:first-child,
section#cv .diplomes table tr td:first-child,
section#cv .langues table tr td:first-child {
  text-align: center;
  width: 110px;
}
section#cv .entreprise td,
section#cv .competence td,
section#cv .diplomes td,
section#cv .langues td {
  padding: 20px;
}
section#cv .entreprise .important_tr,
section#cv .competence .important_tr,
section#cv .diplomes .important_tr,
section#cv .langues .important_tr {
  background-color: rgba(0, 0, 0, 0.05);
}
section#cv .entreprise a,
section#cv .competence a,
section#cv .diplomes a,
section#cv .langues a {
  display: inline;
}
section#cv .entreprise img,
section#cv .competence img,
section#cv .diplomes img,
section#cv .langues img {
  height: 100px;
  display: inline-block;
}
section#cv .entreprise .picturial td:first-child,
section#cv .competence .picturial td:first-child,
section#cv .diplomes .picturial td:first-child,
section#cv .langues .picturial td:first-child,
section#cv .entreprise .advisa td:first-child,
section#cv .competence .advisa td:first-child,
section#cv .diplomes .advisa td:first-child,
section#cv .langues .advisa td:first-child,
section#cv .entreprise .sevency td:first-child,
section#cv .competence .sevency td:first-child,
section#cv .diplomes .sevency td:first-child,
section#cv .langues .sevency td:first-child,
section#cv .entreprise .summer td:first-child,
section#cv .competence .summer td:first-child,
section#cv .diplomes .summer td:first-child,
section#cv .langues .summer td:first-child {
  background-repeat: no-repeat;
}
section#cv .entreprise .picturial td:last-child,
section#cv .competence .picturial td:last-child,
section#cv .diplomes .picturial td:last-child,
section#cv .langues .picturial td:last-child,
section#cv .entreprise .advisa td:last-child,
section#cv .competence .advisa td:last-child,
section#cv .diplomes .advisa td:last-child,
section#cv .langues .advisa td:last-child,
section#cv .entreprise .sevency td:last-child,
section#cv .competence .sevency td:last-child,
section#cv .diplomes .sevency td:last-child,
section#cv .langues .sevency td:last-child,
section#cv .entreprise .summer td:last-child,
section#cv .competence .summer td:last-child,
section#cv .diplomes .summer td:last-child,
section#cv .langues .summer td:last-child {
  padding-left: 15px;
}
section#cv .entreprise .picturial td:first-child,
section#cv .competence .picturial td:first-child,
section#cv .diplomes .picturial td:first-child,
section#cv .langues .picturial td:first-child {
  background-image: url("picturial_off_black.png");
  background-size: 50%;
  background-position: center center;
}
section#cv .entreprise .picturial td:first-child:hover,
section#cv .competence .picturial td:first-child:hover,
section#cv .diplomes .picturial td:first-child:hover,
section#cv .langues .picturial td:first-child:hover {
  background-image: url("picturial_on_black.png");
}
section#cv .entreprise .advisa td:first-child,
section#cv .competence .advisa td:first-child,
section#cv .diplomes .advisa td:first-child,
section#cv .langues .advisa td:first-child {
  background-image: url("advisa_off_black.png");
  background-size: 80%;
  background-position: center center;
}
section#cv .entreprise .advisa td:first-child:hover,
section#cv .competence .advisa td:first-child:hover,
section#cv .diplomes .advisa td:first-child:hover,
section#cv .langues .advisa td:first-child:hover {
  background-image: url("advisa_on_black.png");
}
section#cv .entreprise .sevency td:first-child,
section#cv .competence .sevency td:first-child,
section#cv .diplomes .sevency td:first-child,
section#cv .langues .sevency td:first-child {
  background-image: url("sevency_off_black.png");
  background-size: 80%;
  background-position: center center;
}
section#cv .entreprise .sevency td:first-child:hover,
section#cv .competence .sevency td:first-child:hover,
section#cv .diplomes .sevency td:first-child:hover,
section#cv .langues .sevency td:first-child:hover {
  background-image: url("sevency_on_black.png");
}
section#cv .entreprise .summer td:first-child,
section#cv .competence .summer td:first-child,
section#cv .diplomes .summer td:first-child,
section#cv .langues .summer td:first-child {
  background-image: url("summer_off_black.png");
  background-size: 60%;
  background-position: center center;
}
section#cv .entreprise .summer td:first-child:hover,
section#cv .competence .summer td:first-child:hover,
section#cv .diplomes .summer td:first-child:hover,
section#cv .langues .summer td:first-child:hover {
  background-image: url("summer_on_black.png");
}
section#cv .info {
  margin-top: 22px;
  width: 100%;
  text-align: justify;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  height: 40px;
  line-height: 40px;
  align-items: center;
}
section#cv .info img {
  height: 40px;
  display: inline;
  vertical-align: middle;
}
section#cv .info img.ptit {
  height: 22px;
}
/* ------------------------------ Mobile / TAB ------------------------------------------------ */
@media screen and (max-width: 840px) {
  body #page {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
  }
  body #page .noMobile {
    display: none;
  }
  body #page .onlyMobile {
    display: block;
  }
  body #page aside {
    float: none;
    width: 100%;
  }
  body #page aside #topaside {
    display: flex;
    flex-direction: row;
    overflow: hidden;
  }
  body #page aside #topaside #menu_red {
    padding: 18px;
  }
  body #page aside #topaside #menu_red .desc_profil {
    font-style: italic;
    font-size: 0.8em;
  }
  body #page aside #topaside #profil {
    width: 200px;
    background-image: url("profil.jpg");
    background-size: cover;
    background-position: center center;
  }
  body #page aside #topaside #profil img {
    display: none;
  }
  body #page aside nav {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
  }
  body #page aside nav a,
  body #page aside nav #menu_contact {
    display: flex;
    flex: inherit;
    background-image: none;
    font-size: 10pt;
    padding: 12px 15px 12px 65px;
  }
  body #page aside nav a:first-child,
  body #page aside nav #menu_contact:first-child {
    padding: 12px 0px 12px 65px;
  }
  body #page aside nav a strong,
  body #page aside nav #menu_contact strong {
    font-size: 1.2em;
  }
  body #page aside nav a img,
  body #page aside nav #menu_contact img {
    width: 27px;
    top: 12px;
    left: 20px;
  }
  body #page aside nav a:nth-child(2) img,
  body #page aside nav #menu_contact:nth-child(2) img {
    top: 10px;
  }
  body #page aside nav a span,
  body #page aside nav #menu_contact span {
    display: none;
  }
  body #page aside nav #menu_contact {
    display: none;
  }
  body #page header {
    display: none;
  }
  body #page main {
    margin: 0px;
  }
  body #page main .mentionMobile {
    text-align: center;
    width: 100%;
    color: #555;
    font-style: italic;
    font-size: 0.8em;
    padding-bottom: 5px;
  }
  body #page main .mentionMobile a {
    text-decoration: none;
    color: #555;
  }
  body #page main section {
    padding: 0px 30px 30px 30px;
  }
  body #page main section .btn {
    max-width: 100%;
  }
  body #page main section h3 {
    margin-top: 20px;
  }
  body #page main section#home .logo {
    margin-bottom: 0px!important;
  }
  body #page main section#home .homeGrid {
    overflow: hidden;
    height: 327px;
  }
  body #page main section#home .homeGrid.weddingGrid {
    height: 224px;
  }
  body #page main section#home .homeGrid img {
    margin-top: 10px;
  }
  body #page main section#home .homeGrid .btnHomeGrid {
    display: none;
  }
  body #page main section#cv .entreprise table,
  body #page main section#cv .competence table,
  body #page main section#cv .diplomes table,
  body #page main section#cv .langues table {
    display: flex;
    flex-direction: column;
  }
  body #page main section#cv .entreprise table tr,
  body #page main section#cv .competence table tr,
  body #page main section#cv .diplomes table tr,
  body #page main section#cv .langues table tr {
    display: flex;
    flex-direction: column;
  }
  body #page main section#cv .entreprise table tr td:first-child,
  body #page main section#cv .competence table tr td:first-child,
  body #page main section#cv .diplomes table tr td:first-child,
  body #page main section#cv .langues table tr td:first-child {
    width: inherit;
    background-size: contain;
    height: 20px;
    margin-top: 14px;
  }
  body #page main section#cv .entreprise table tr td:first-child img,
  body #page main section#cv .competence table tr td:first-child img,
  body #page main section#cv .diplomes table tr td:first-child img,
  body #page main section#cv .langues table tr td:first-child img {
    height: 40px;
    margin-top: -10px;
  }
  body #page main section#cv .entreprise table tr td,
  body #page main section#cv .competence table tr td,
  body #page main section#cv .diplomes table tr td,
  body #page main section#cv .langues table tr td {
    padding: 10px;
  }
  body #page main section#cv .entreprise table tr a img,
  body #page main section#cv .competence table tr a img,
  body #page main section#cv .diplomes table tr a img,
  body #page main section#cv .langues table tr a img {
    height: 48px;
    width: 200px;
  }
  body #page main section#portfolio .linePic {
    /*&.line5, &.line4, &.line6{
								height: 75px;
							}
							&.line3{
								height: 101px;
							}
							border-bottom:2px solid white;
							display: flex;
							overflow:hidden;*/
    flex-wrap: nowrap;
  }
  body #page main section#portfolio .linePic > div {
    background: none!important;
    border: none;
    width: inherit;
    height: inherit;
    vertical-align: middle;
    display: inherit;
    margin-top: 8px;
  }
  body #page main section#portfolio .linePic > div div {
    display: none;
  }
  body #page main section#portfolio .linePic > div img {
    display: block;
    border: 2px solid white;
    width: 100%;
    vertical-align: middle;
  }
  body #page main section#portfolio .linePic div:first-child {
    display: none;
  }
  body #page main section#portfolio .linePic div:nth-child(5) {
    display: none;
  }
  body #page main section#portfolio .titlePhotoMobile {
    display: block;
    font-size: 0.7em;
    font-style: italic;
    color: #555;
    text-transform: capitalize;
    text-align: center;
  }
  body #page main section#photo .cb-slideshow,
  body #page main section#photo .cb-slideshow:after {
    height: 150px!important;
  }
  body #page main section#photo .photoGrid {
    height: 226px;
    overflow: hidden;
  }
  body #page main section#photo .photoGrid img {
    margin-top: 10px;
  }
  body #page main #contact textarea {
    width: 100%;
  }
}
/* ------------------------------ Animations ---------------------------------------- */
@-webkit-keyframes menuOn {
  from {
    background-position: center right -10px;
  }
  to {
    background-position: center right 0px;
  }
}
@keyframes menuOn {
  from {
    background-position: center right -10px;
  }
  to {
    background-position: center right 0px;
  }
}
@-webkit-keyframes menuOff {
  from {
    background-position: center right -10px;
  }
  to {
    background-position: center right -25px;
  }
}
@keyframes menuOff {
  from {
    background-position: center right -10px;
  }
  to {
    background-position: center right -25px;
  }
}
@-webkit-keyframes menuHover {
  from {
    background-position: center right -25px;
  }
  to {
    background-position: center right -10px;
  }
}
@keyframes menuHover {
  from {
    background-position: center right -25px;
  }
  to {
    background-position: center right -10px;
  }
}
@-webkit-keyframes imgHoverTitle {
  from {
    background-color: rgba(0, 0, 0, 0.5);
  }
  to {
    background-color: rgba(0, 0, 0, 0.8);
  }
}
@keyframes imgHoverTitle {
  from {
    background-color: rgba(0, 0, 0, 0.5);
  }
  to {
    background-color: rgba(0, 0, 0, 0.8);
  }
}
@-webkit-keyframes btnHover {
  from {
    background-color: #007fa1;
  }
  to {
    background-color: #00607a;
  }
}
@keyframes btnHover {
  from {
    background-color: #007fa1;
  }
  to {
    background-color: #00607a;
  }
}
/* ------------------------------ contact ---------------------------------------- */
#contact {
  text-align: center;
}
#contact p {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
#contact label {
  color: #777;
  font-size: 1em;
}
#contact textarea,
#contact input,
#contact select {
  border: 0px;
  border-bottom: 2px solid #333333;
}
#contact textarea,
#contact select {
  background: none;
}
#contact textarea {
  background-image: url("textarea.png");
  border-bottom: 0px;
  line-height: 25px;
  color: #333;
  font-size: 1em;
  background-attachment: local;
  height: 242px;
}
/* line 98, style.less */
#contact .btn {
  background-image: url("plane.png");
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: 90% 50%;
  font-size: 1em;
  font-weight: bold;
  height: 40px;
  width: 117px;
  text-align: left;
  padding-left: 10px;
  border: 0px;
}
/* line 113, style.less */
#contact .btn:hover {
  cursor: pointer;
  -webkit-animation: send 0.7s linear;
  -ms-animation: send 0.7s linear;
  animation: send 0.7s linear;
}
/* line 121, style.less */
#contact select {
  font-family: 'Titillium Web', sans-serif;
  color: #777;
  font-size: 1em;
  width: 110%;
}
/* line 127, style.less */
#contact select option {
  background-color: white;
}
/* line 133, style.less */
#linkContact {
  cursor: pointer;
}
@-webkit-keyframes send {
  /* line 139, style.less */
  0% {
    background-position: 90% 50%;
  }
  /* line 142, style.less */
  60% {
    background-position: 150% -50%;
  }
  /* line 145, style.less */
  61% {
    background-position: 60% 150%;
  }
  /* line 149, style.less */
  100% {
    background-position: 90% 50%;
  }
}
