/*
Theme Name: kn
Theme URI: https://www.agence-kn.fr/
Author: KN
Author URI: https://www.agence-kn.fr/
Description: Thème basé sur le thème Naked Wordpress de J Beckman.
Version: 1.0
License: GNU General Public License

/*-------------------------------------------------------------- */
/* Reset
-------------------------------------------------------------- */
*{
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
}
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font-family: inherit;
  font-size: 100%;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
html {
  margin: 0;
  padding: 0;
  font-size:10px;
  -webkit-text-size-adjust: 100%;
  /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
  -ms-text-size-adjust: 100%;
  /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

/*------------------------------------------------*/
/* CLEARER */
/*------------------------------------------------*/
/* Self Clearing Goodness */
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }

/* Use clearfix class on parent to clear nested columns,
 or wrap each row of columns in a <div class="row"> */
.clearfix:before,
.clearfix:after,
.single .content .post::before,
.single .content .post::after,
.row:before,
.row:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0; }
.row:after,
.clearfix:after {
  clear: both; }
.row,
.clearfix,
.single .content .post{
  zoom: 1; 
}

/* You can also use a <br class="clear" /> to clear columns */
.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

/*------------------------------------------------*/
/* BASE */
/*------------------------------------------------*/
#wpadminbar{
 display: none !important;
}
body{
  width: 100%;
  position: relative;
  padding: 0;
  margin: 0;
  font-size:var(--base-font-size);
  font-family: var(--base-font);
  color: var(--base-text-color);
  background-color: var(--base-bg-color);
  line-height:1.5;
}
body.noscroll{
 height: 100vh;
  overflow-y: hidden;
  padding-right: 15px;    
}
main{
  
}
section{

}
.marge{
  margin: 0 auto;
}
.container{
    width:85%;
   /* max-width:2000px;*/
    max-width: 1380px;
    margin:0 auto;
}
.single .container{
    position: unset;
}
/*------------------------------------------------*/
/* TITLES */
/*------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6{
  font-family: var(--title-font);
    color:var(--alpha-text-color);
  font-weight:600;
}
h1,
.h1-like{
  font-size: 5.6rem;
  line-height: 6rem;
  margin-bottom:4rem;
}
h2,
.h2-like{
  font-size: 5.2rem;
  line-height: 5.6rem;
  margin-bottom:2rem;
}
h3,
.h3-like{
  font-size: 2.4rem;
  line-height: 2.8rem;
}
h4,
.h4-like{
  font-size: 2rem;
  line-height: 2.4rem;
}
h5,
.h5-like{
  font-size: 1.8rem;
  line-height: 2.2rem;
}
h6,
.h6-like{
  font-size: 1.6rem;
  line-height: 2rem;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a{
  text-decoration:none;
    display: inline-block;
}
.surtitre,
.soustitre{
    font-weight:normal;
    margin-bottom:4rem;
    text-transform: uppercase;
}
.yellow-title{
    text-transform:uppercase;
    font-family:var(--base-font);
    font-size:2rem;
    line-height: 3rem;
    color:var(--alpha-text-color);
    font-weight:500;
    display: inline-block;
    background-color: var(--beta-bg-color);
    padding:0 .4rem;
}
.yellow-cat{
    display: inline-block;
    text-transform:uppercase;
    font-family:var(--base-font);
    font-size:1.6rem;
    font-weight:600;
    color:var(--gama-text-color);
}
.yellow-cat a{
    text-decoration:none;
    color:var(--gama-text-color);
}
/*------------------------------------------------*/
/* MISC */
/*------------------------------------------------*/
p, ul li, ol li{
  margin:0 0 3rem 0;
}
strong{
    font-weight:600;
}
em{
   font-style: italic;
}
/*lists*/
ul, ol{
  margin: 0 auto 1rem;
}
ul li{
    list-style-type: disc;
    list-style-position: inside;
}
ol li{
    list-style-type: decimal;
    list-style-position:inside;
}
ul li::marker,
ol li::marker{
    color: var(--alpha-text-color);
    font-weight: 600;
}
/*blockquotes*/
blockquote{
  
}
blockquote p{
  
}
/*pre*/
pre{
  overflow-x: scroll;
}

sup{
    font-size: .6em!important;
    vertical-align: super;
}
sub{
   font-size: .6em!important;
    vertical-align:sub; 
}
/*------------------------------------------------*/
/* MENUS */
/*------------------------------------------------*/
ul.menu, ol.menu{
  margin: 0;
}
ul.menu li{
    list-style-type:none;
}
/*------------------------------------------------*/
/* LINKS */
/*------------------------------------------------*/
a.more{
    text-decoration: none;
    border:1px solid var(--alpha-text-color);
    padding: 10px;
}
a{
  color:var(--alpha-text-color);
  cursor: pointer;
  opacity:1;
  transition: All 0.3s ease-in-out;
  -webkit-transition: All 0.3s ease-in-out;
  -moz-transition: All 0.3s ease-in-out;
  -o-transition: All 0.3s ease-in-out;
  -ms-transition: All 0.3s ease-in-out;
}
a:hover{
  /*color:var(--base-text-color);*/
  /* opacity:.75; */
}

.bouton{
    display:inline-block;
    text-decoration: none;
    text-transform:uppercase;
    font-weight:500;
}
.bouton:hover{
    
}
.bouton.blue-bt{
    color:#fff;
    background-color:var(--gama-bg-color);
    border:1px solid transparent;
}
.bouton.blue-bt:hover{
    color:var(--gama-bg-color);
    background-color:transparent;
    border:1px solid var(--gama-bg-color);
}
.bouton.yellow-bt{
    color:#fff;
    background-color:var(--beta-bg-color);
    border:1px solid transparent;
}
.bouton.yellow-bt:hover{
    color:var(--beta-bg-color);
    background-color:transparent;
    border:1px solid var(--beta-bg-color);
}

span.more a{
    font-family: var(--alt-font2);
    font-size:1.7rem;
    color: #fff;
    text-decoration: none;
    line-height: 3.6rem;
    font-weight:900;
    text-align: center;
    vertical-align:middle;
    background-color: var(--alpha-bg-color);
    border-radius:50%;
    display: inline-block;
    width:3.6rem;
    height:3.6rem;
    -webkit-transform:rotate(0);
            transform:rotate(0);
}
span.more a:hover{
    -webkit-transform:rotate(90deg);
            transform:rotate(90deg);
}

.btn.ghost{
    font-size: 2.1rem;
    line-height: 3.1rem;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid #fff;
    padding: 0 1rem 0 .5rem;
    color: #fff;
    text-decoration: none;
    display: inline-block;
}
div.play{
    width:8rem;
    height:8rem;
    border:1px solid #f0ece5;
    border-radius:50%;
    position:relative;
    display: inline-block;
}
div.play::after{
    content: url(../img/play-arrow.svg);
    position:absolute;
    top:50%;
    left:50%;
    -webkit-transform:translate(-30%,-40%);
            transform:translate(-30%,-40%);
    width:25%;
    height:auto;
}
/*------------------------------------------------*/
/* IMAGES */
/*------------------------------------------------*/
img{
  width: auto;
  max-width: 100%;
  height: auto;
  display: inline-block;
}
img.alignright{
    float:right;
}
img.alignleft{
    float:left;
}
img.aligncenter{
    display:block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption .wp-caption-text{
    font-size:.7em!important;
    text-align:center!important;
    font-style:italic!important;
    color:var(--base-text-color)!important;
}
/*------------------------------------------------*/
/* VIDEOS */
/*------------------------------------------------*/
.video-responsive {
    width:100%;
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe,
.video-responsive video{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
.video-responsive .vid_play{
    position:absolute;
    left:50%;
    top:50%;
    -webkit-transform:translate(-50%,-50%);
            transform:translate(-50%,-50%);
    cursor:pointer;
}
.video-responsive .vid_play.paused{
    
}
.video-responsive .vid_play.playing{
    
}
/*------------------------------------------------*/
/* class time */
/*------------------------------------------------*/
 .time::before{
   content:url('../img/picto-chrono.svg');
   display:inline-block;
   width:1.2rem;
   height:auto;
    margin-right:.5em;
     vertical-align: middle;
}
/*------------------------------------------------*/
/* class category */
/*------------------------------------------------*/
.cat-title{
    display:inline-block;
    color:var(--beta-text-color);
    text-transform:uppercase;
    font-weight:600;
    font-size:1.8rem;
    margin-bottom:1.5rem;
    text-decoration: none;
    font-family: var(--base-font);
}
.cat-title a {
    color:inherit;
    text-decoration: none;
    font-family: var(--base-font);
}
/*------------------------------------------------*/
/* TEXT ALIGNMENTS */
/*------------------------------------------------*/
.txtleft{
    text-align: left;
}
.txtcenter{
    text-align: center;
}
.txtright{
    text-align: right;
}
/*------------------------------------------------*/
/* ROUNDED */
/*------------------------------------------------*/
.rounded{
    border-radius:50%;
    display:inline-block;
    overflow:hidden;
}
.rounded img{
    width:100%;
    display: block;
}
/*------------------------------------------------*/
/* FLEX */
/*------------------------------------------------*/
.row-reverse{
    -webkit-box-orient:horizontal!important;
    -webkit-box-direction:reverse!important;
        -ms-flex-direction:row-reverse!important;
            flex-direction:row-reverse!important;
}
.col-reverse{
    -webkit-box-orient:vertical!important;
    -webkit-box-direction:reverse!important;
        -ms-flex-direction:column-reverse!important;
            flex-direction:column-reverse!important;
}
/*------------------------------------------------*/
/* TABLES */
/*------------------------------------------------*/
table{
   
}
table thead{
    
}
table thead tr{
    
}
table thead tr th{
    
}
table tbody{
    
}
table tbody tr{
    
}
table tbody tr td{
    
}
/*------------------------------------------------*/
/* READ MORE */
/*------------------------------------------------*/

.readMore .addText {
    display: none;
}

/*------------------------------------------------*/
/* BASIC ANIMATION */
/*------------------------------------------------*/
@-webkit-keyframes fadeIn{
    0%{opacity:0;}
    100%{opacity:1;}
}
@keyframes fadeIn{
    0%{opacity:0;}
    100%{opacity:1;}
}
@-webkit-keyframes fadeOut{
    0%{opacity:1;}
    100%{opacity:0;}
}
@keyframes fadeOut{
    0%{opacity:1;}
    100%{opacity:0;}
}
@-webkit-keyframes fadeInUp{
    0%{opacity:0;-webkit-transform: translateY(50%);transform: translateY(50%);}
    100%{opacity:1;-webkit-transform: translateY(0);transform: translateY(0);}
}
@keyframes fadeInUp{
    0%{opacity:0;-webkit-transform: translateY(50%);transform: translateY(50%);}
    100%{opacity:1;-webkit-transform: translateY(0);transform: translateY(0);}
}
@-webkit-keyframes fadeOutDown{
    0%{opacity:1;-webkit-transform: translateY(0);transform: translateY(0);}
    100%{opacity:0;-webkit-transform: translateY(50%);transform: translateY(50%);}
}
@keyframes fadeOutDown{
    0%{opacity:1;-webkit-transform: translateY(0);transform: translateY(0);}
    100%{opacity:0;-webkit-transform: translateY(50%);transform: translateY(50%);}
}
