/*
Theme Name: Senslation
Theme URI: https://www.wellcom.fr/wnews/
Description: Wellcom Agency Blog Theme
Version: 1.0
Author: WP&Co
Author URI: https://wordpressandco.fr/
Tags: HTML5, CSS3, Bootstrap 4

License: Commercial
*/

/*------------------------------------*\
MAIN
\*------------------------------------*/

.stuck {
    position:fixed;
    top:0;
    width: 100%;
    z-index: 999;
}

@font-face {
    font-family: 'icomoon';
    src:  url('fonts/icomoon.eot?8ufwib');
    src:  url('fonts/icomoon.eot?8ufwib#iefix') format('embedded-opentype'),
        url('fonts/icomoon.ttf?8ufwib') format('truetype'),
        url('fonts/icomoon.woff?8ufwib') format('woff'),
        url('fonts/icomoon.svg?8ufwib#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-chrono:before {
    content: "\e907";
    color: #fff;
}
.icon-share:before {
    content: "\e908";
    color: #fff;
}
.icon-search:before {
    content: "\e909";
    color: #e00037;
}
.icon-menu:before {
    content: "\e90a";
    color: #fff;
}
.icon-sens6:before {
    content: "\e900";
    color: #de0a38;
}
.icon-sentir:before {
    content: "\e901";
    color: #e00037;
}
.icon-toucher:before {
    content: "\e902";
    color: #e00037;
}
.icon-voir:before {
    content: "\e903";
    color: #e00037;
}
.icon-entendre:before {
    content: "\e904";
    color: #e00037;
}
.icon-gouter:before {
    content: "\e905";
    color: #e00037;
}

/* global box-sizing */
*,
*:after,
*:before {
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    -webkit-font-smoothing:antialiased;
    font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
    font-size:62.5%;
}
body {
    font-size:13px;
    font-weight:400;
    font-family:'Montserrat', sans-serif;
    color:#5f687f;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
    max-width:100%;
    vertical-align:bottom;
}
a {
    color:#444;
    text-decoration:none;
}
a:hover {
    color:#444;
}
a:focus {
    outline:0;    
    text-decoration:none;
}
a:hover,
a:active {
    outline:0;
    text-decoration:none;
}
input:focus {
    outline:0;
}

.yarpp-related{
    display:none;
}

/*------------------------------------*\
STRUCTURE
\*------------------------------------*/

.white_overlay {
    background: rgba(255,255,255,0.6);
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 88888;
    visibility:hidden;
    opacity:0;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -webkit-transition:all 0.2s ease-in-out;
    -o-transition:all 0.2s ease-in-out;
    -moz-transition:all 0.2s ease-in-out;
    transition:all 0.2s ease-in-out;
}
.menu_active .white_overlay,
.search_active .white_overlay{
    visibility:visible;
    opacity:1;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";    
}

/* wrapper */
.wrapper {
    max-width:1280px;
    width:95%;
    margin:0 auto;
    position:relative;
}
/* header */

body > header .first_header {
    padding: 10px 0;
    transition: all 300ms ease;
}
body > header .first_header.stuck {
    padding: 5px 0;
}
body > header .first_header .logo_wellcom {
    width: 99px;
    height: auto;
    margin-right: auto;
}
body > header .first_header .logo_wellcom a {
    position: relative;
    top: 4px;
}
body > header .first_header .logo {
    width: 190px;
    height: auto;
    margin:0 auto;
    transition: all 300ms ease;
}
body > header .first_header.stuck .logo {
    width: 150px;
}
.category-6e-sens > header .first_header .logo,
.category-archives > header .first_header .logo {
    margin-top: 6px;
}
body > header .first_header .logo h1 {
    margin: 0;
    font-size: 0;
}
body > header .header_links{
    margin-left:auto;
    width: 99px;
    text-align: right;
}
body > header .header_links a.search_link {
    margin-right: 15px;
    font-size:19px;
}
body > header .header_links a.menu_link,
body > header .header_links a.menu_link_new {
    font-size:17px;
}
body > header .header_links a.menu_link span:before,
body > header .header_links a.menu_link_new span:before{
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition:all 0.2s ease-in-out;
}
body > header .header_links a.menu_link:hover span:before,
body > header .header_links a.menu_link_new:hover span:before{
    color:#e00037;
}
body > header .header_links a.search_link .icon-search:before {
    top: 1.5px;
    position: relative;
}

body > header .baselines {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    color: #FFF;
    font-weight: 500;
    margin-top: 8px;
}
body > header .stuck .baselines,
body > header .stuck .baselines p {
    width: 150px !important;
}
.category > header .baselines p,
.single > header .baselines p{
    margin:0;
}
.category > header .baselines p:not(.active),
.single > header .baselines p:not(.active){
    display:none;
}
body > header form.search {
    display: inline-block;
  position: relative;
  height: 20px;
}
body > header form.search:focus {
    outline: 0;
}
body > header form.search input[type="search"] {
  height: 20px;
  font-size: 15px;
  display: inline-block;
  border: none;
  outline: none;
  color: #fff;
  padding: 3px;
  padding-right: 35px;
  width: 0px;
  position: absolute;
  top: 10px;
  right: 0;
  background: none;
  z-index: 3;
  transition: width .4s cubic-bezier(0.000, 0.795, 0.000, 1.000);
  cursor: pointer;
}

body > header form.search input[type="search"]:focus:hover {
  border-bottom: 1px solid #fff;
}

body > header form.search input[type="search"]:focus {
  width: 300px;
  z-index: 1;
  border-bottom: 1px solid #fff;
  cursor: text;
}
body > header form.search button {
  border: 0 none;
  background-color: transparent;
  font-size: 19px;
  margin-right: 15px;
}
@-webkit-keyframes autofill {
    to {
        color: #666;
        background: transparent;
    }
}

input:-webkit-autofill {
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}
.menu-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all .5s ease;
    z-index: 1001;
}
.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}
.menu-overlay nav {
  text-align: left;
  height: 95vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.menu-overlay nav ul {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 240px;
}
.menu-overlay nav ul li {
  align-items: center;
  flex: 1;
}
.menu-overlay nav ul li a {
  font-size: 1.5em;
  transition: all 0.5s ease;
  display: block;
  text-decoration: none;
  color: #fff;
  font-size: 3em;
}
.menu-overlay nav ul li:last-child a {
  padding-left: 45px;
}
.menu-overlay nav ul li a:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.menu-overlay .close {
  position: fixed;
  top: 40px;
  right: 60px;
  color: white;
  z-index: 3;
  cursor: pointer;
  font-family: sans-serif;
}
.menu-overlay .close span,
.menu-overlay .close span:before,
.menu-overlay .close span:after {
  border-radius: 4px;
  height: 5px;
  width: 35px;
  background: white;
  position: absolute;
  display: block;
  content: '';
}
.menu-overlay .close span {
  background: transparent;
}
.menu-overlay .close span:before {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.menu-overlay .close span:after {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.menu-overlay .outer-close {
  position: absolute;
  right: 0;
  top: 0;
  width: 85px;
  height: 85px;
  cursor: pointer;
}
.menu-overlay ul li a {
    position: relative;
    display: block;
}
.menu-overlay ul li a:before {
    display:inline-block;
    font-family: 'icomoon' !important;
    color: #e00037;
    font-size: 28px;
    margin-right: 15px;
}
.menu-overlay ul li a[href*='voir']:before {
    content:"\e903";
    font-size: 20px;
}
.menu-overlay ul li a[href*='sentir']:before{
    content:"\e901";
}
.menu-overlay ul li a[href*='entendre']:before{
    content:"\e904";
}
.menu-overlay ul li a[href*='gouter']:before{
    content:"\e905";
}
.menu-overlay ul li a[href*='toucher']:before{
    content:"\e902";
}
.menu-overlay ul li a[href*='6e-sens']:before{
    content:"\e900";
}
.menu-overlay form{
    padding-top: 15px;
    border-top: 3px solid #fff;
    max-width: 320px;
    margin: 15px auto 0 auto;
}
.menu-overlay form input {
    width: 100%;
}
.menu-overlay .wpcf7-form-control-wrap {
    position: relative;
    margin-bottom: 13px;
}


.tooltip .arrow {
    display: none;    
}
.tooltip-inner {
    background-color: #fff;
    color: #5f687f;
    font-size: 12px;
    padding: 5px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.25);
}




body > header .second_header ul{
    padding:15px 0;
    border-bottom:2px solid #d7d9df;
    margin:0 0 20px 0;
    list-style:none;
}
body.home > header .second_header ul{
    border-bottom: 0 none;
    margin: 0;
}
body > header .second_header ul li a {
    font-size: 14px;
    min-width: 150px;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
body > header .second_header ul li a:hover {
    color: #e00037;
}
body > header .second_header ul li a img {
    max-height: 25px;
}
body > header .second_header ul li a.cat-6e-sens img {
    max-height: 29px;
}
body > header .second_header ul li a.cat-entendre img,
body > header .second_header ul li a.cat-sentir img,
body > header .second_header ul li a.cat-toucher img {
    max-height: 22px;
}
body > header .second_header ul li a.cat-gouter img {
    max-height: 20px;
}
body > header .second_header ul li a.cat-voir img {
    max-height: 15px;
}
body > header .second_header ul li a .cat_name {
    margin-left: 8px;
}

.search_container {
    position: absolute;
    z-index:999999999;
    top:81px;
    left: 0;
    right: 0;
    opacity:0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    visibility:hidden;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition:all 0.2s ease-in-out;
}
.search_container.active{
    opacity:1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    visibility:visible;
}
.search_container form.searchform {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    border: 1px solid #5f687e;
}
.search_container form.searchform input.search-input {
    width: 100%;
    border: 0;
    background: #f5f5f5;
    padding: 31px 17px;
}
.search_container form.searchform #searchsubmit {
    border: 0;
    padding: 15px;
    background: #e00037;
    color: #FFF;
    cursor:pointer;
}

/* nav */
.main_nav{
    background: rgb(244,244,244);   
    border:1px solid #5f687e;
    width: 300px;
    height:auto;
    top: 12px;
    right: 0;
    z-index: 1000;
    position: absolute;
    overflow-y: auto;
    padding: 12px 12px 20px 12px;
    text-align: left;
    opacity:0;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    visibility:hidden;
    z-index:99999999; 
}
.main_nav .close_nav svg,
.main_nav .close_nav img {
    width: 14px;
    height: 14px;
    cursor:pointer;
    display: inline-block;
    vertical-align: sub;
}
.main_nav.active{
    opacity:1;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    visibility:visible;   
}
.main_nav ul {
    list-style-type: none;
    margin: 0;
    width: 100%;
    padding: 0;
}

.main_nav .main_nav_content{
    width:225px;
    margin:0 auto;
}
.main_nav .main_nav_content > ul {
    margin-left: 10px;
}

.main_nav .main_nav_content > ul:first-child li a {
    position: relative;
    display: block;
    color: #5f687f;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}


.main_nav .main_nav_content > ul:first-child li a:before {
    display:inline-block;
    max-height:21px;
    vertical-align: sub;
    width: 24px;
    text-align:center;
    margin:0 7px;
    font-family: 'icomoon' !important;
    color: #e00037;    
}


.main_nav .main_nav_content > ul:first-child li a[href*='voir']:before{
    content:"\e903";
    vertical-align: middle;
}
.main_nav .main_nav_content > ul:first-child li a[href*='sentir']:before{
    content:"\e901";
    font-size: 18px;
}
.main_nav .main_nav_content > ul:first-child li a[href*='entendre']:before{
    content:"\e904";
    font-size: 18px;
}
.main_nav .main_nav_content > ul:first-child li a[href*='gouter']:before{
    content:"\e905";
    font-size: 16px;
}
.main_nav .main_nav_content > ul:first-child li a[href*='toucher']:before{
    content:"\e902";
    font-size: 18px;
}
.main_nav .main_nav_content > ul:first-child li a[href*='6e-sens']{
    margin-top: -5px;
}
.main_nav .main_nav_content > ul:first-child li a[href*='6e-sens']:before{
    content:"\e900";
    vertical-align: sub;
    font-size: 22px;
}



.main_nav .main_nav_content > ul:first-child li a:not([href*='voir']):not([href*='sentir']):not([href*='entendre']):not([href*='gouter']):not([href*='toucher']):not([href*='6e-sens']){
    padding-left: 38px;
}

.main_nav .main_nav_content > ul:first-child li:not(:last-child){
    margin-bottom:15px;
}

.main_nav .main_nav_content > ul:first-child li a:hover{
    color: #e00037;    
}

.main_nav .main_nav_content form{
    padding: 40px 0 25px 0;
}
.main_nav .main_nav_content form input {
    width: 100%;
}
.main_nav .main_nav_content .wpcf7-form-control-wrap {
    position: relative;
    height: 57px;
    margin-bottom: 13px;
}
.main_nav .main_nav_content .wpcf7-form-control.g-recaptcha.wpcf7-recaptcha {
    -moz-transform: scale(0.74);
    -ms-transform: scale(0.74);
    -o-transform: scale(0.74);
    transform: scale(0.74);
    -webkit-transform: scale(0.74);
    -moz-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}

.main_nav_content div#a2a_share_save_widget-2 {
    text-align: right;
}
.main_nav_content div#a2a_share_save_widget-2 span.a2a_svg {
    background: #5f687e !important;
}

.main_nav ul li a:hover:after { 
    width: 70%; 
}
.main_nav ul li a:hover,
.main_nav ul li a:active { 
    color: rgb(244,244,244); 
}

.main_nav{
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

/* footer */
section.pre_footer{
    background:#e4e6ea;
    margin-top:20px;
    padding:30px 0;
}
section.pre_footer .ch_container{
    width:320px;
    margin:0 auto;
    text-align:center;
    color:#e10032;
}
section.pre_footer .ch_container h2{
    font-size:24px;
    margin-bottom:20px;
    font-weight:700;
}
section.pre_footer .ch_container h2 span{
    font-size:14px;
}
section.pre_footer .ch_container .ch_content{
    font-weight:300;
    font-size:14px;
    line-height:18px;
}

section.pre_footer .abonner,
.modal form{
    max-width:400px;
    text-align:center;
    margin: 0 auto;
}
.modal form p,
.main_nav .main_nav_content form p,
.menu-overlay form p,
section.pre_footer form p{
    position:relative;
}
.main_nav .main_nav_content form p:first-of-type,
.menu-overlay form p:first-of-type{
    font-size:14px;
    line-height:18px;
    margin-bottom: 13px;
}
section.pre_footer form p:first-of-type{
    font-size:14px;
    line-height:18px;
    margin-bottom:25px;
}
.modal form input{
    width: 302px;
    font-family:'Open Sans', sans-serif;
    padding:7px;
    text-align:center;
}
.modal form input[type=checkbox] {
    width: auto;
    padding:0;
}
.main_nav .main_nav_content form input,
.menu-overlay form input{
    font-family:'Open Sans', sans-serif;
    padding:7px;
    text-align:center;
    font-size:12px;
    font-weight:300;
}

section.pre_footer .modal_button{
    font-family:'Open Sans', sans-serif;
    width:350px;
    padding:7px;
    text-align:center;
}
.modal form input[type="text"],
.main_nav .main_nav_content form input[type="text"],
.menu-overlay form input[type="text"],
section.pre_footer form input[type="email"]{
    font-size:12px;
    font-weight:300;
    color:#798095;
    background:#FFF;
    border:1px solid #798095;
}
.main_nav .main_nav_content form input[type="text"],
.menu-overlay form input[type="text"],
.modal form input[type="text"]{
    text-align:left;
}
.modal form input[type="submit"],
.main_nav .main_nav_content form input[type="submit"],
.menu-overlay form input[type="submit"],
section.pre_footer .modal_button{
    background:#e10032;
    border:0;
    text-transform:uppercase;
    font-size:12px;
    font-weight:400;
    cursor:pointer;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition:all 0.2s ease-in-out;
}
.main_nav .main_nav_content form input[type="submit"],
.menu-overlay form input[type="submit"]{
    color:#FFF;
}
.modal form input[type="submit"]:hover,
.main_nav .main_nav_content form input[type="submit"]:hover,
.menu-overlay form input[type="submit"]:hover,
section.pre_footer .modal_button:hover{
    background:#FFF;
}

.main_nav .main_nav_content form input[type="submit"]:hover,
.menu-overlay form input[type="submit"]:hover{
    color:#e10032;
}
.modal form input[type="submit"]:focus,
.main_nav .main_nav_content form input[type="submit"]:focus,
.menu-overlay form input[type="submit"]:focus,
section.pre_footer .modal_button:focus{
    outline:0;
}
.modal form img.wpcf7-captchac {
    position: absolute;
    left: 27px;
    z-index: 20;
    top: 5px;
}
.modal form input[type="text"].wpcf7-captchar {
    padding-left: 75px;
}
.modal form .ajax-loader {
    display: block;
    margin: 10px auto 0 auto;
    position: absolute;
    left: -5%;
    right: -5%;
}

body,
.modal{
    padding-right:0 !important;
}

.modal-content {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background-color: rgba(255,255,255,0.9);
    border: 0;
}
.modal-header {
    -webkit-border-top-left-radius: 0;
    -moz-border-radius-topleft: 0;
    border-top-left-radius: 0;
    -webkit-border-top-right-radius: 0;
    -moz-border-radius-topright: 0;
    border-top-right-radius: 0;
    border-bottom: none;
    padding: 10px 20px;
}
h5.modal-title {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #e10032;
}

section.pre_footer div[class*='addtoany']{
    display:none;
}

footer{
    padding:20px 0 30px 0;
    font-family:'Open Sans', sans-serif;
}
footer .logos{
    padding:0;
    margin:0 0 16px 0; 
    list-style: none;   
}
footer .logos li{
    max-width:110px;
    max-height:50px;
    margin: 0 20px;
}
footer .logos li a, 
footer .logos li a svg,
footer .logos li a img{
    display: block;
    width: 100%;
    height: 100%;
}
footer .logos li a svg .st1 {
    fill: #787f95;
}
footer .adresse {
    text-align: center;
    color: #798095;
    font-size: 12px;
}
footer .adresse p {
    margin: 0 0 8px 0;
}
footer .footer_menu ul{
    margin:0;
    padding:0;
    list-style:none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack:center;
    -webkit-justify-content:center;
    -moz-box-pack:center;
    -ms-flex-pack:center;
    justify-content:center;
    -webkit-box-align:center;
    -webkit-align-items:center;
    -moz-box-align:center;
    -ms-flex-align:center;
    align-items:center;
}
footer .footer_menu ul li:not(:first-child){
    margin-left:30px;
}
footer .footer_menu ul li a{
    color: #798095;
    font-size: 12px;
}
footer .footer_menu ul li a:hover{
    text-decoration:underline;
}
/*------------------------------------*\
PAGES
\*------------------------------------*/

.share_container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.share_container span.icon-share {
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -moz-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    padding-left: 7px;
    cursor:pointer;
    font-size: 11px;
}
.share_container > *:not([class*='addtoany']):not([class*='icon']){
    display:none;
}
.share_container .addtoany_list a > span[class*="label"] {
    display: none;
}
.share_container .addtoany_content{
    margin:0;
    margin-right:-1px;
    opacity:0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    visibility:hidden;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition:all 0.2s ease-in-out;
}
.share_container .icon-share:hover ~ .addtoany_content,
.share_container .addtoany_content:hover,
.single main article .addtoany_content{
    opacity:1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    visibility:visible;
}

.share_container > span[class*="icon"]:before{
    color: #5f687e;
}
.home_une .share_container > span[class*="icon"]:before{
    color: #FFF;
}
.share_container > .addtoany_content .a2a_svg{
    background-color: #afb3be !important;
    -webkit-border-radius:0 !important;
    -moz-border-radius:0 !important;
    border-radius:0 !important;
}
.home_une .share_container > .addtoany_content .a2a_svg{
    background-color: rgba(255,255,255,0.5) !important;
}
.single main article .share_container > .addtoany_content .a2a_svg{
    background-color: #5f687e !important;
}
.home_une .share_container > .addtoany_content .a2a_svg path{
    fill: rgba(0,0,0,0.5);
}
.share_container.addtoany_list a {
    padding: 0 2px;
}

#listing_articles_container a.voir_tout:hover {
    text-decoration: underline;
}
#listing_articles_container a.voir_tout {
    float: right;
}

.single main article .share_container > .addtoany_content .a2a_svg{
    width: 16px !important;
    line-height: 16px !important;
    height: 16px !important;
    -moz-background-size: 16px !important;
    -o-background-size: 16px !important;
    background-size: 16px !important;
}

.single main article .share_container .addtoany_list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: start;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
}
.single main article .share_container .addtoany_content {
    width: 100%;
    margin-top: 5px;
}
.single main article .share_container .addtoany_list > a {
    margin-bottom: 5px;
    padding: 0;
}

.single main article .article_intro_container.no_img {
    margin-bottom: 15px;
    margin-top: 20px;
}

/* accueil */
.post-selection {
    background-color: #f1f2f4;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.post-selection .pre_article {
    margin-bottom: 10px;
}
.post-selection .title {
    display: inline-block;
    background-color: #df0037;
    color: #FFFFFF;
    font-size: 9px;
    text-transform: uppercase;
    line-height: 20px;
    padding: 0 10px;
    margin-bottom: 20px;
}
.post-selection .article_img {
    flex: 0 0 50px;
    margin-right: 15px;
}
.post-selection .article_img img {
    max-width: 100%;
    height: auto;
}
.post-selection .article_container {
    height: 52px;
    overflow: hidden;
}
.post-selection .article_content h2 {
    font-size: 12px;
    margin: 0;
    font-weight: 400;
}
.post-selection .article_content h2 a {
    color: #5f687f;
}
.home main{
    height: -webkit-calc(100vh - 177.95px);
    height: -moz-calc(100vh - 177.95px);
    height: calc(100vh - 177.95px);
    overflow: hidden;
    position: relative;
}
.error404 main {
    height: -webkit-calc(100vh - 177.95px - 251px - 165px);
    height: -moz-calc(100vh - 177.95px - 251px - 165px);
    height: calc(100vh - 177.95px - 251px - 165px);
    overflow: hidden;
    position: relative;
}
.home main > .container,
.home main > .container > .row,
.home main > .container > .row > div,
.home main article.home_une,
.home main article.home_une .img_container{
    height:100%;
}

.home main article.home_une{
    position:relative;
}
.home main article.home_une .img_container{
    overflow: hidden;
    position: relative;
}
.home main article.home_une .img_container img {
    position: absolute;
    min-height: 100%;
    min-width: 100%;
    left: 50%;
    top: 50%;
    max-width: none;
    -webkit-transition: all 0.7s ease-out;
    -o-transition: all 0.7s ease-out;
    -moz-transition: all 0.7s ease-out;
    transition: all 0.7s ease-out;
    transform: scale(1) translate(-50%,-50%);
    transform-origin: 50% 50%;
}
.home main article.home_une:hover .img_container img {
    -webkit-transform: scale(1.1) translate(-50%,-50%);
    -moz-transform: scale(1.1) translate(-50%,-50%);
    -ms-transform: scale(1.1) translate(-50%,-50%);
    -o-transform: scale(1.1) translate(-50%,-50%);
    transform: scale(1.1) translate(-50%,-50%);
}
.home main .listing_articles article .article_img.no_img .black_overlay,
.archive main article .article_img.no_img .black_overlay,
.page-template-template-index-temp main article .article_img.no_img .black_overlay,
.home main article.home_une .img_container .black_overlay {
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.3);
    z-index: 5;
}
.home main article.home_une .text_container {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px 30px;
    color: #FFF;
    z-index: 6;
}

.pre_article{
    margin-bottom:20px;
}
.pre_article .metas {
    padding: 0;
    margin: 0;
    list-style: none;
}
.pre_article .metas .category a img {
    height: 12px;
}
.pre_article .metas .category.cat-6e-sens a img {
    height: 16px;
}
.pre_article .metas .category.cat-voir a img {
    height: 10px;
}
.pre_article .metas .category a span {
    font-size: 10px;
    margin-left: 5px;
    line-height: 9px;
}
.home main article.home_une .text_container .pre_article .metas .category a span{
    color: #FFF;    
}

.pre_article .metas > li:not(:last-child) {
    padding-right: 5px;
    margin-right: 5px;
    position: relative;
}
.pre_article .metas > li:not(:last-child):after {
    content: "|";
    display: inline-block;
    position: absolute;
    right: -1px;
    top: 3px;
    font-size: 5px;
}
.pre_article .metas .time,
.pre_article .metas .author {
    font-size: 9px;
}
.pre_article .metas > li.time:after {
    top: 4px;
}
.pre_article .metas .time:first-letter {
    text-transform: uppercase;
}
.pre_article .metas .readtime{
    height:14px;
    font-size: 9px;
}
.pre_article .metas .readtime span[class*='icon']{
    margin-right:5px;
    font-size: 13px;
}

.home main article.home_une .text_container .article_content h2 {
    font-weight: 700;
    font-size: 36px;
    line-height: 42px;
    margin-bottom: 20px;
}
.home main article.home_une .text_container .article_content h2 a{
    color:#FFF;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.home main article.home_une .text_container .article_content h2 a:hover,
.home main .listing_articles article h2 a:hover,
.home main .listing_articles article h2 a.title_exergue {
    color:#e10032;
}
.home main article.home_une .text_container .article_content .content {
    font-size: 16px;
    line-height: 22px;
}
.home main article.home_une .text_container .article_content > a {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    padding: 7px 22px;
    display: inline-block;
    background: #FFF;
    margin-top: 20px;
    color: #787f95;
    line-height: 18px;
    letter-spacing: 0.5px;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.home main article.home_une .text_container .article_content > a:hover{
    background:#e10032;
    color:#FFF;
}

.home main #listing_articles_container{
    overflow-y:auto;
}

.home main .listing_articles article{
    border-bottom: 1px solid #d7d9df;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.home main .listing_articles article .article_img {
    -webkit-flex: 0 0 160px;
    -moz-box-flex: 0;
    -ms-flex: 0 0 160px;
    -webkit-box-flex: 0;
    flex: 0 0 160px;
    margin-right: 30px;
}
.home main .listing_articles article .pre_article{
    margin-bottom:7px;
}
.home main .listing_articles article .pre_article .metas > li:not(:last-child),
.archive main article .pre_article .metas > li:not(:last-child),
.page-template-template-index-temp main article .pre_article .metas > li:not(:last-child) {
    padding-right: 10px;
    margin-right: 10px;
    position: relative;
}

.home main .listing_articles article .pre_article .metas > li a span.cat_name{
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;    
}
.home main .listing_articles article .pre_article .metas > li.cat-6e-sens a span.cat_name {
    white-space: nowrap;
}
.home main .listing_articles article .pre_article .metas > li a:hover span.cat_name {
    text-decoration: underline;
    color:#e10032;
}
.home main .listing_articles article h2,
.archive main article h2,
.search-results main article h2,
.all-posts main article h2,
.page-template-template-index-temp main article h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;    
    line-height: 21px;
}
.home main .listing_articles article h2 a,
.archive main article h2 a,
.page-template-template-index-temp main article h2 a{
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.home main .listing_articles article .article_container {
    height: 160px;
    overflow: hidden;
}
.home main .listing_articles article .article_content .content ,
.archive main article .article_content .content ,
.page-template-template-index-temp main article .article_content .content {
    font-size: 13px;
    line-height: 20px;
    color: #000;
}
.home main .listing_articles article .article_img {
    overflow: hidden;
    position: relative;
    width:160px;
    height:166px;
}
.home main .listing_articles article .article_img img {
    position: absolute;
    height: 100%;
    min-width: 100%;
    left: 0;
    top: 0;
    max-width: none;
    -webkit-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}
.home main .listing_articles article:hover .article_img img{
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.home main #listing_articles_container .has_maxthree {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    height: 100%;
}
.home main #listing_articles_container .has_maxthree article {
    margin-bottom: 0;
}
.home main .listing_articles article .pre_article .metas .readtime span[class*='icon']:before,
.post-selection .pre_article .metas .readtime span[class*='icon']:before,
.search-results main article .pre_article .metas .readtime span[class*='icon']:before,
.all-posts main article .pre_article .metas .readtime span[class*='icon']:before,
.archive main article .pre_article .metas .readtime span[class*='icon']:before,
.page-template-template-index-temp main article .pre_article .metas .readtime span[class*='icon']:before,
.single main article .pre_article .metas .readtime span[class*='icon']:before {
    color: #5f687f;
}

.home main #listing_articles_container .mCSB_scrollTools {
    right: -5px;
}

.home main #listing_articles_container .mCSB_inside>.mCSB_container {
    margin-right: 15px;
}
.home main .listing_articles article .article_img > a {
    display: block;
    height: 100%;
}
.archive main article .article_img.no_img img,
.page-template-template-index-temp main article .article_img.no_img img,
.home main .listing_articles article .article_img.no_img img {
    max-height: 87%;
    min-height: auto;
    max-width: 80%;
    width: auto;
    top: -5%;
    bottom: -5%;
    margin: auto;
}

/*archive / category / search */

body.category > header .second_header ul li:not(.active) a,
body.page-template-template-index-temp > header .second_header ul li:not(.active) a,
body.single > header .second_header ul li:not(.active) a {
    opacity: 0.5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

.page-template-template-index-temp main .article_wrapper,
.archive main .article_wrapper,
.all-posts main .article_wrapper,
.search-results main .article_wrapper{
    margin-bottom:20px;
}
.page-template-template-index-temp main article,
.search-results main article,
.all-posts main article,
.archive main article{
    border-bottom: 1px solid #d7d9df;
    padding-bottom: 20px;
    height:100%;
}
.page-template-template-index-temp main article .article_img,
.search-results main article .article_img,
.all-posts main article .article_img,
.archive main article .article_img{
    height: 304.86px;
    margin-bottom:15px;
    overflow: hidden;
    position: relative;
}
.page-template-template-index-temp main article .article_img img ,
.search-results main article .article_img img,
.all-posts main article .article_img img,
.archive main article .article_img img {
    position: absolute;
    min-height: 100%;
    min-width: 100%;
    left: -15%;
    right: -15%;
    top: -5%;
    bottom: -5%;
    margin:auto;
    max-width: none;
    -webkit-transition: all 0.7s ease-out;
    -o-transition: all 0.7s ease-out;
    -moz-transition: all 0.7s ease-out;
    transition: all 0.7s ease-out;
}
.page-template-template-index-temp main article:hover .article_img img ,
.search-results main article:hover .article_img img,
.all-posts main article:hover .article_img img,
.archive main article:hover .article_img img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}
.page-template-template-index-temp main article h2,
.search-results main article h2,
.all-posts main article h2,
.archive main article h2{
    margin-bottom:20px;
}
.page-template-template-index-temp main article h2 a,
.search-results main article h2 a,
.all-posts main article h2 a,
.archive main article h2 a {
    color:#5f687f;
}
.page-template-template-index-temp main article h2 a:hover,
.search-results main article h2 a:hover,
.all-posts main article h2 a:hover,
.archive main article h2 a:hover{
    color:#e10032;
}

/* PageNavi */
.navigation {
    font-size: 12px;
    text-align: center;
    margin: 10px auto;
}


.wp-pagenavi {
    clear: both;
}

main .wp-pagenavi a, 
main .wp-pagenavi span {
    text-decoration: none;
    border: 0 none;
    padding: 3px 5px;
    margin: 2px;
    background-color: #798096;
    color: #fff;
}

main .wp-pagenavi a:hover,
main .wp-pagenavi span.current {
    border-color: #000;
    background-color: #e4013a;
}


/* single */

.single main article .article_intro_container{
    margin-bottom:45px;
}
.single main article .pre_article{
    margin-bottom:35px;
}
.single main article .article_intro h1{
    font-size:30px;
    font-weight:700;
    line-height:36px;
    margin-bottom:35px;
}
.single main article .article_intro h1 a{
    color:#5f687f;    
}
.single main article .article_intro .content{
    font-weight:700;
    line-height:20px;
    color:#000;
    margin-bottom:20px;
}
.single main article .article_content{
    font-size:14px;
    font-family:'Open Sans', sans-serif;
    font-weight:400;
}

.single main article .article_content h2, 
.single main article .article_content h3, 
.single main article .article_content h4,
.single main article .article_content h5,
.single main article .article_content h6{
    font-size: 16px;
    margin: 0;
}
.single main article .article_content h2 {
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-size: 18px;
}
.single main article .article_content h3 {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 16px;
}
.single main article .article_content p{
    margin-bottom:25px;
}

.wpcf7-form-control-wrap > div > div {
    margin: 0 auto 10px auto;
}

/* 404 */

.error404 main > .container, .error404 main > .container > .row {
    height: 100%;
}
.error404 main > .container > .row article {
    text-align: center;
}
.error404 main > .container > .row article h1 {
    font-size: 36px;
    color: #e4013a;
}
.error404 main > .container > .row article a{
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    padding: 7px 22px;
    display: inline-block;
    background: #5f687f;
    margin-top: 20px;
    color: #FFF;
    line-height: 18px;
    letter-spacing: 0.5px;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.error404 main > .container > .row article a:hover{
    background: #e4013a;    
}

/*------------------------------------*\
IMAGES
\*------------------------------------*/



/*------------------------------------*\
TYPOGRAPHY
\*------------------------------------*/

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

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

@media screen and (min-width:992px) and (max-width:1199px){
    .home main .listing_articles article .article_container {
        height: 217px;
    }
    .home main .listing_articles article .pre_article {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-top: 5px;
    }
    .home main .listing_articles article .share_container {
        width: 100%;
        -webkit-box-pack: end;
        -webkit-justify-content: flex-end;
        -moz-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }
}

@media screen and (max-width:991px){
    .home main {
        height: auto;
    }
    .home main > .container, 
    .home main > .container > .row, 
    .home main > .container > .row > div, 
    .home main article.home_une{
        height: auto;
    }

    .home main article.home_une .img_container{
        height: 530px;
    }
    .home main article.home_une .img_container img {
        height: auto;
        min-width: 100%;
        margin:auto;
    }
    .home main #listing_articles_container {
        margin-top: 20px;
    }
    .post-selection { padding-bottom: 0; margin-top: 10px; margin-bottom:  0;}
    .post-selection article { margin-bottom: 10px;}
    main {
        padding-top: 15px;
    }

    body > header form.search input[type="search"]:focus {
      width: 200px;
      font-size: 12px;
    }

    .single main article .pre_article {
        margin-bottom: 15px;
    }
    .single main article .article_intro h1 {
        margin-bottom: 15px;
    }
}

@media screen and (max-width:767px){
    body > header .second_header ul {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    body > header .second_header ul li a {
        padding: 3px 0;
        margin-bottom: 10px;
    }

    section.pre_footer form {
        margin: 0 auto;
    }
    .single main article .article_intro h1 {
        font-size: 20px;
        line-height: 1.2;
    }
    .single main article .article_intro_container.no_img {
        margin-bottom: 0;
    }
    .single main article .pre_article {
        margin-top: 22px;
    }
    .single main article .article_intro_container {
        margin-bottom: 5px;
    }
    .single main article .share_container .addtoany_list {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -moz-box-orient: horizontal;
        -moz-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        justify-content: space-between;
    }
    .single main article .share_container .addtoany_list > a:first-child {
        padding-left: 0;
    }
    .single main article .share_container .addtoany_list > a {
        margin-right: 0;
    }
    .single main article .share_container .addtoany_list > a:last-child {
        margin-right: 0;
    }
    .single main article > .container > .row > div > section:nth-child(2) > div.col-md-3{
        -webkit-box-ordinal-group:3;
        -webkit-order:2;
        -moz-box-ordinal-group:3;
        -ms-flex-order:2;
        order:2;
    }
    .menu-overlay nav ul li a {
        font-size: 2em;
    }
    .menu-overlay .wpcf7 {
        display: none;
    }
    section.pre_footer .modal_button {
        max-width: 100%;
    }
    footer .footer_menu ul {
        display: block;
        text-align: center;
    }
    footer .footer_menu ul li:not(:first-child) {
        margin-left: 0;
    }
}
@media screen and (max-width:767px) and (orientation:landscape) {
    .menu-overlay nav ul li a {
        font-size: 1.5em;
    }
}

@media screen and (max-width:767px) and (min-width:576px),
    screen and (max-width:410px){
        .home main .listing_articles article .pre_article {
            -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
            margin-top: 5px;
        }
        .home main .listing_articles article .share_container {
            width: 100%;
            -webkit-box-pack: end;
            -webkit-justify-content: flex-end;
            -moz-box-pack: end;
            -ms-flex-pack: end;
            justify-content: flex-end;
        }
}

@media screen and (max-width:575px){
    .main_nav {
        right: -5%;
        left: -5%;
        margin: 0 auto;
    }

    .home main article.home_une .img_container {
        height: auto;
        position: relative;
    }
    .home main article.home_une .img_container img {
        position: relative;
        transform: scale(1) translate(-50%,0%);
    }
    body > header .first_header .logo_wellcom,
    body > header .header_links {
        width: 80px;
    }
    .home main article.home_une .text_container .article_content h2 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 10px;
    }
}

/*------------------------------------*\
MISC
\*------------------------------------*/

::-moz-selection {
    background:#04A4CC;
    color:#FFF;
    text-shadow:none;
}

::selection {
    background:#04A4CC;
    color:#FFF;
    text-shadow:none;
}
::-webkit-selection {
    background:#04A4CC;
    color:#FFF;
    text-shadow:none;
}
::-moz-selection {
    background:#04A4CC;
    color:#FFF;
    text-shadow:none;
}

/*------------------------------------*\
WORDPRESS CORE
\*------------------------------------*/

.alignnone {
    margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display:block;
    margin:5px auto 5px auto;
}
.alignright {
    float:right;
    margin:5px 0 20px 20px;
}
.alignleft {
    float:left;
    margin:5px 20px 20px 0;
}
a img.alignright {
    float:right;
    margin:5px 0 20px 20px;
}
a img.alignnone {
    margin:5px 20px 20px 0;
}
a img.alignleft {
    float:left;
    margin:5px 20px 20px 0;
}
a img.aligncenter {
    display:block;
    margin-left:auto;
    margin-right:auto;
}
.wp-caption {
    background:#FFF;
    border:1px solid #F0F0F0;
    max-width:96%;
    padding:5px 3px 10px;
    text-align:center;
}
.wp-caption.alignnone {
    margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin:5px 20px 20px 0;
}
.wp-caption.alignright {
    margin:5px 0 20px 20px;
}
.wp-caption img {
    border:0 none;
    height:auto;
    margin:0;
    max-width:98.5%;
    padding:0;
    width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
    font-size:11px;
    line-height:17px;
    margin:0;
    padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
PRINT
\*------------------------------------*/

@media print {
    * {
        background:transparent !important;
        color:#000 !important;
        -webkit-box-shadow:none !important;
        -moz-box-shadow:none !important;
        box-shadow:none !important;
        text-shadow:none !important;
    }
    a,
    a:visited {
        text-decoration:underline;
    }
    a[href]:after {
        content:" (" attr(href) ")";
    }
    abbr[title]:after {
        content:" (" attr(title) ")";
    }
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content:"";
    }
    pre,blockquote {
        border:1px solid #999;
        page-break-inside:avoid;
    }
    thead {
        display:table-header-group;
    }
    tr,img {
        page-break-inside:avoid;
    }
    img {
        max-width:100% !important;
    }
    @page {
        margin:0.5cm;
    }
    p,
    h2,
    h3 {
        orphans:3;
        widows:3;
    }
    h2,
    h3 {
        page-break-after:avoid;
    }
}