/*
Theme Name: Anthony Cognaux
Theme URI: http://wordpress.org/themes/anthonycognaux
Author: RASOLOHERY Mirary
Author URI: RASOLOHERY Mirary
Description: Reset css build by harsmix@gmail.com
Version: 1

Text Domain: Anthony Cognaux
*/


/*
Theme and css created by harsmix@gmail.com
*/

/*------------------------------------------------------
          Fonts
--------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700|Quicksand:300,400,500,700');

@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?4l3a6g');
  src:  url('../fonts/icomoon.eot?4l3a6g#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?4l3a6g') format('truetype'),
    url('../fonts/icomoon.woff?4l3a6g') format('woff'),
    url('../fonts/icomoon.svg?4l3a6g#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-about:before {content: "\e903"; }
.icon-themineralist:before {content: "\e904"; }
.icon-instagram:before {content: "\e901"; }
.icon-pinterest:before {content: "\e902"; }
.icon-logo:before {content: "\e900"; }

@font-face {
  font-family: 'Baskerville';
  src: url('../fonts/Baskerville.eot') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Baskerville';
  src:  url(data:application/x-font-woff;charset=utf-8;base64,) format('woff'), url('../fonts/Baskerville.ttf')  format('truetype'), url('../fonts/Baskerville.svg#Baskerville') format('svg');
  font-weight: normal;
  font-style: normal;
}



/*------------------------------------------------------
          General style
--------------------------------------------------------*/
body {background: #fff none repeat scroll 0 0; font-family: 'Quicksand', sans-serif; font-size: 13px;font-weight: 500; overflow-x: hidden; }
p {color: #000; font-size: .9rem; line-height: 2rem; font-weight: 400; font-family: 'Quicksand', sans-serif; }
p.photo-copyright {
    font-style: italic;
    font-size: 0.8rem;
    color: #606060;
}
ul, li, ol{list-style: none; margin: 0;padding: 0;}

li {color: #333; font-size: .9rem; }
.inline li{display: inline-block;vertical-align: top: ;}
a, a:hover, a:focus, a:active {display: inline-block; vertical-align: top; color: #333; text-decoration: none; font-size: .8rem; }
a:hover, a:focus, a:active{color: #000;}
img{display: inline-block; max-width: 100%;}

h1, h2, h3, h4, h5, h6 {color: #333; font-family: 'Baskerville'; font-weight: normal; line-height: 7rem; text-rendering: optimizelegibility; }
h1 {font-size: 5rem; font-weight: 500; line-height: 2.5rem; margin: 0 0 1rem; }
h2 {font-size: 2rem; font-weight: 300; margin: 2rem 0; line-height: 2.1rem; }
h3 {font-size: 2.5rem; font-weight: 500; line-height: 3rem; margin: 0 0 2rem; }
h4 {font-size: .9rem; font-weight: 800; line-height: 1rem; margin: .25rem 0 ; font-family: 'Quicksand', sans-serif; }
h5 {font-size: 1.6rem; font-weight: 400; line-height: 1.5rem; }
.h5 {color: #333; margin: 0; font-size: 1.5rem; line-height: 1.8rem; padding: 19px 0px; }
*:focus{ outline: none !important; }

form {position: relative; }


.radius{
  -webkit-border-radius: 50%;
     -moz-border-radius: 50%;
      -ms-border-radius: 50%;
          border-radius: 50%;
}

.inline li {display: inline-block; position: relative; vertical-align: top; }

.align_left{text-align: left;}
.align_right{text-align: right;}
.center{text-align: center;}

.wght_light{font-weight: 100;}
.wght_bold{font-weight: 600;}

.fl{float: left!important;}
.fr{float: right!important;}
.clr{clear: both!important;float: none!important;}

.noleft{padding-left: 0;}
.noright{padding-right: 0;}
.nopadding{padding-left: 0; padding-right: 0;}

.full-width{width: 100%!important; max-width: inherit;}

button {background: transparent; border: none; }

.hide{display: none; opacity: 0; visibility: hidden;}


/*------------------------------------------------------
          HEADER
--------------------------------------------------------*/

header .logo {overflow: hidden; margin: 4.5rem auto; }
.logo h1, .logo h3 {position: absolute; top: -1000rem; }
.logo .icon-logo {font-size: 5rem; }


nav.navbar {padding: .75rem 1.5rem; border-top: 1px solid #000; }
nav li {display: inline-block; vertical-align: middle; }
nav .navbar-nav li:first-child:after {content: "|"; color: #AA9A66; }
nav li a {
    font-size: .8rem;
    color: #AA9A66;
    margin: 0 .5rem;
    font-weight: 400;
    letter-spacing: 2.5px;
    -webkit-transition: 0.4s ease 0s;
    -moz-transition: 0.4s ease 0s;
    -ms-transition: 0.4s ease 0s;
    -o-transition: 0.4s ease 0s;
    transition: 0.4s ease 0s;
}
nav li a:hover, nav li a:focus, nav li a:active, nav li.active a {color: #161615; }
.navbar-nav {display: block; width: 100%; }

header .social-net {
    position: absolute;
    z-index: 1;
    right: 8.5%;
}
header .social-net a {font-size: 1rem }


/*------------------------------------------------------
          MAIN CONTENT
--------------------------------------------------------*/
.main-img img {width: 100%; }

.intro {
    width: 42rem;
    background: #fff;
    margin-top: -23rem;
    padding: 3.75rem 0;
    position: relative;
    z-index: 1;
}
.intro > img {position: absolute; left: 6rem; top: 3.4rem; }
h2 span {display: none; }
.intro h2 {padding: 5.3rem 8.5rem 0 8.5rem; position: relative; z-index: 1; }
.intro p {padding: 0 8.5rem; }
.intro-img {
    position: absolute; left: 0; z-index: 1; top: 0;
    width: 100%; height: 100%;
    border: 2rem solid #fff;
    height: 100%; opacity: 0;
    background: url(../img/Anthony.webp) no-repeat scroll 50% transparent;
    background-size: cover;
    -webkit-transition: 0.4s ease 0s;
    -moz-transition: 2.5s ease 0s;
    -ms-transition: 2.5s ease 0s;
    -o-transition: 2.5s ease 0s;
    transition: 2.5s ease 0s;
}
.intro:hover .intro-img {opacity: 1; }


/*------------------------------------------------------
          SYSTEM GRID
--------------------------------------------------------*/
.grid {margin-top: -16rem; width: 100%; position: relative; }
.grid-item > a {width: 100%; display: block; }
.grid-item  img { 
    width: 100%;
    transform: scale(1); 
    -webkit-transition: 1s ease 0s;
    -moz-transition: 1s ease 0s;
    -ms-transition: 1s ease 0s;
    -o-transition: 1s ease 0s;
    transition: 1s ease 0s;
}
.grid-item:not(.has-slider):hover img {
    transform: scale(1.2);
}
.grid-sizer, .grid-item { width: 50%; }
.grid-item { width: 50%; border: 1.5rem solid #fff; overflow: hidden; }
.grid-item--width2 { width: 75%; }
.grid-item--width2.grid-right {left: inherit!important; right: 0; }


/*------------------------------------------------------
          GRID AVEC SLIDER
--------------------------------------------------------*/
.icon-file {
    display: block;
    width: 31px;
    height: 29px;
    background: url(../img/icon-file.png) no-repeat scroll 50% transparent;
    background-size: contain;
    position: absolute; top: 2rem; left: 2rem; z-index: 2;
}
.owl-nav > button {
    width: 18px;
    height: 30px;
    background: url(../img/icon-arrow.png) no-repeat scroll 0 0 transparent;
    position: absolute;
    top: 50%;
    left: 2.5rem;
}
.owl-nav > button.owl-next {left: inherit; right: 2.5rem; background-position: -25px 0; }
.owl-nav > button span { display: none; }
.owl-dots {
    position: absolute; bottom: 2rem;
    width: 100%;
    text-align: center;
}
.owl-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #fff;
    margin: 0 .25rem;
}
.owl-dot.active {background-color: #AA9A66;}


/*------------------------------------------------------
          GRID LEGEND
--------------------------------------------------------*/
.legend {
    margin: .5em 0 1rem;
    padding: 0 1rem;
    border-left: 1px dotted #AA9A66;
}


/*------------------------------------------------------
          GRID CONTACT
--------------------------------------------------------*/
.info-contact {padding: 7rem 6rem; }
.info-contact > a {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    color: #000;
    margin: 0 0 .5rem;
    position: relative; z-index: 1;
    -webkit-transition: 0.4s ease 0s;
    -moz-transition: .4s ease 0s;
    -ms-transition: .4s ease 0s;
    -o-transition: .4s ease 0s;
    transition: .4s ease 0s;
}
.info-contact > img {position: absolute; top: 1rem; left: 2rem; transform: scale(.8); }
.grid-item.info-contact:hover img {transform: scale(.8); }

.info-contact > a:hover, .info-contact > a:active, .info-contact > a:focus,
.info-contact .social-net a:hover, .info-contact .social-net a:active {color: #AA9A66; }
.info-contact .social-net { margin: .75rem 0 0; }
.info-contact .social-net a {
    font-size: 1rem; margin: 0 .25rem;
    -webkit-transition: 0.4s ease 0s;
    -moz-transition: .4s ease 0s;
    -ms-transition: .4s ease 0s;
    -o-transition: .4s ease 0s;
    transition: .4s ease 0s; 
}


/*------------------------------------------------------
          GRID SCTE
--------------------------------------------------------*/
.info-scte {padding: 8rem 1.5rem; }
.info-scte .logo + p {margin: 2.75rem auto 1rem; }
.info-scte img {width: auto; padding: 1rem 0 0; transform: none !important;}
.info-scte > p {line-height: 1.2rem; }
.grid-ite.info-scte:hover img {transform: scale(1.1); }

/*------------------------------------------------------
          POPIN
--------------------------------------------------------*/
.popin {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,.9);
    z-index: 10;
    display: flex;
    display: none;
    align-items: center;
    justify-content: center;
}
.popin-container {
    max-width: 90%; max-height: 90%;
    display: none;
    position: relative;
    text-align: center;
}
.popin img {max-width: 100%; max-height: 100%; display: block; }
.close {
    display: block; width: 1.25rem; height: 1.25rem; position: absolute; top: 0; right: -2.5rem;z-index: 2;
    background: url(../img/icon-close.png) no-repeat scroll 50% transparent;
    background-size: contain;
}


/*------------------------------------------------------
          FOOTER
--------------------------------------------------------*/
footer li { margin: 1rem .5rem; position: relative; }
footer li:first-child:after {
    content: "|"; color: #AA9A66;
    position: absolute; right: -.75rem; top: .4rem; 
}
footer p { font-size: .8rem; }
footer p a {color: #AA9A66; font-size: .8rem; }

a.scrollToTop {
    display: none;
    position: fixed; z-index: 9; right: 2rem; bottom: 2rem;
    width: 48px; height: 48px;
    text-align: center;
    background: url(../img/icon-totop.png) no-repeat scroll 0 0 transparent;
    opacity: .7;
    transform: scale(.9);
    -webkit-transition: .5s ease 0s;
    -moz-transition: .5s ease 0s;
    -ms-transition: .5s ease 0s;
    transition: .5s ease 0s;
}
a.scrollToTop:hover, a.scrollToTop:focus, a.scrollToTop:active {opacity: 1; transform: scale(1);}


/*------------------------------------------------------
          RESPONSIVE
--------------------------------------------------------*/

@media screen and (max-width: 900px){

    .intro {margin: -8rem auto 0; max-width: 90%; }
    .grid {margin-top: -5rem; }
    .intro h2 {padding: 5.3rem 6.5rem 0 6.5rem; }
    .intro p {padding: 0 6.5rem; }
    .info-contact {
        padding: 10rem 2rem 3rem;
        background-size: contain;
    }
    .grid-sizer{ width: 100%; }
    .grid-item { width: 100%; position: relative!important; top: 0!important; }
    .grid-item-2.grid-right {right: 0; width: 100%; }
    .grid-item { border: 1rem solid #fff; }


}

@media screen and (max-width: 767px){

    .popin-container {max-width: 75%; }
    .intro {padding: 0 0 2rem; }
    .intro h2 {
      padding: 6.3rem 1.5rem 0rem 1.5rem;
      font-size: 1.3rem;
      background-size: contain;
      background-position: 2rem 1rem;
    }
    .intro p {padding: 0 1.5rem; }
    .intro > img {left: -2rem; top: -0.6rem; transform: scale(.7); }
    .info-contact > img {top: 0rem; left: 0rem; }
    .info-contact {padding: 9rem 2rem 3rem; }

}


@media screen and (max-width: 610px){

    .info-contact {
        padding: 10rem 2rem 3rem;
        background-size: contain;
    }
    header .social-net {
        right: inherit;
        display: block;
        text-align: center;
        width: 100%;
        margin: 1rem auto 0;
        position: relative; right: inherit;
    }
    .logo .icon-logo {font-size: 4rem; }
    .info-contact {padding: 9rem 2rem 3rem; }
    .info-scte {padding: 3rem 1.5rem; }
    a.scrollToTop {right: 0rem; bottom: 0rem;}

}

@media screen and (max-width: 500px){

    nav .navbar-nav li:first-child:after {display: none; }
    .intro-img {border: 1rem solid #fff; }
    footer .inline li, footer p {margin: 0; display: block; }
    footer {padding-bottom: 1rem; }
    .info-contact > img {transform: scale(.6); }
    .intro {max-width: 100%; }
    .intro p {line-height: 1.3rem; }
    .intro h2 {margin: 2rem 0 1rem; }
    
}

@media screen and (max-width: 360px){
    
    .intro h2 {padding: 4.5rem 1.5rem 0rem 1.5rem; }
    .info-contact {padding: 5rem 2rem 2rem; }
    .info-scte .logo .icon-logo {font-size: 3rem; }
    .info-scte {padding: 1rem 1.5rem; }

}