/*
Theme Name: ND8 - Coup Lite child
Description: This theme is a custom version WordPress Theme
Author: Miguel
Template: coup-lite
Version: 0.1.0
*/

a:hover,
a:focus,
a:active {
    /*color: #f2b14d;*/
    color: #b7822f;
}
/*::selection {
    background: #f2b14d; 
}*/
/****** grid system *****/
.nd8-archive .row {
    margin-left: 0px!important;
    margin-right: 0px!important;
}
/*.nd8-row::after {
    content: "";
    clear: both;
    display: table;
}*/
[class*="nd8-col-"] {
    position: relative!important;
    min-height: 1px!important;
    padding-left: 15px!important;
    padding-right: 15px!important;
    border: 1px solid red!important;
}

.nd8-col-1 {width: 8.33%!important;}
.nd8-col-2 {width: 16.66%!important;}
.nd8-col-3 {width: 25%!important;}
.nd8-col-4 {width: 33.33%!important;}
.nd8-col-5 {width: 41.66%!important;}
.nd8-col-6 {width: 50%!important;}
.nd8-col-7 {width: 58.33%!important;}
.nd8-col-8 {width: 66.66%!important;}
.nd8-col-9 {width: 75%!important;}
.nd8-col-10 {width: 83.33%!important;}
.nd8-col-11 {width: 91.66%!important;}
.nd8-col-12 {width: 100%!important;}
/****** header ******/
/* title */
.site-title {
    font-size: 65px;
}
.site-information {
    display: none;
}
.custom-logo-link {
    height: 60px;
    margin-left: 3%;
    max-height: none;
}
/* menu */
.main-navigation {
    max-width: 55vw;
}
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
    color: #3bc;
}
.main-navigation a:after {
    background: #3bc;
}
.main-navigation ul ul {
    background: #a7e2e9;
}
.main-navigation ul ul a {
    opacity: 0.6;
}
.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation a:active {
    color: #07515b!important;
}
.main-navigation a:hover::after {
    background: #07515b!important;
}
/******* CONTENT *******/
/* header */
.big-text,
.archive .page-title.big-text {
    color: #a7e2e9;
}
.site-header {
    height: 85px;
    max-height: 130px;
    border-bottom: 1px solid #cccccc;
    -webkit-box-shadow: 0px 13px 25px -31px black;
       -moz-box-shadow: 0px 13px 25px -31px black;
            box-shadow: 0px 13px 25px -31px black;
}
.big-text, .archive .page-title.big-text {
    /*top: -0.25em;*/
    /*line-height: 0.95;*/
    top: -0.1em;
    line-height: 0.75;
}
.page-title .page-titres > span {
    top: -0.18em;
}
.page-titres {
    width: 70%!important;
}
.blog article.no-featured-content .archive-background,
.archive article.no-featured-content .archive-background,
article.type-jetpack-portfolio.no-featured-content .archive-background {
    background: #f2b14d;
}
.big-text, .archive .page-title.big-text {
    position: relative;
}
.container.container-side {
    margin-bottom: 0;
    position: static;
    width: 100%;
}
/* home */
.more-link:hover:after,
.more-link:focus:after,
.more-link:active:after {
    background-color: rgba(242, 177, 77, 0.4);
}
/* home grid */

.grid-sizer,
.grid-item {
  width: 20%;
}

.home-nd8-post {
    margin: 0 2% 0 0;
}

.grid-item {
  height: 120px;
  float: left;
/*  background: #D26;*/
  border: 2px solid #333;
/*  border-color: hsla(0, 0%, 0%, 0.5);
  border-radius: 5px;*/
}

.grid-item--width2 { width:  40%; }
.grid-item--width3 { width:  60%; }

.grid-item--height2 { height: 200px; }
.grid-item--height3 { height: 260px; }
.grid-item--height4 { height: 360px; }
.grid-item--height5 { height: 460px; }

.grid > .actu {
    background: #f2b14d;
}
.grid > .actu > h2 {
    font-size: 5.5em;
    font-weight: 700;
    line-height: 1.1;
    position: relative;
    top: 20%;
    color: #fff;
    width: 100%;
    text-align: center;
    letter-spacing: -.07em;
}
.grid > .evene {
    background-color: #3bc;
}
.grid > .evene > h2 {
    font-size: 4.6em;
    font-weight: 700;
    line-height: 1.1;
    position: relative;
    top: 30%;
    color: #ffffff;
    width: 100%;
    text-align: center;
    letter-spacing: -.07em;
}
/* home grid system 2 */
.nd8-masonry { 
    display: flex;
    flex-flow: row wrap;
    margin-left: -8px; /* Adjustment for the gutter */
    width: 100%;
}
.nd8-masonry-brick {
    flex: auto;
    height: 400px;
    min-width: 150px;
    margin: 0 8px 8px 0; /* Some gutter */
}
.nd8-masonry-brick--h {
    overflow: hidden;
    margin: 0 0 8px 8px;
    /*border: solid  #000 1px;*/
    background-color: #f7f7f7;
    color: #000;
    position: relative;
}
.nd8-masonry-book,
.nd8-masonry--h > .actu,
.actu-accueil {
    width: 250px!important;
    height: inherit!important;
    max-height: 400px !important;
}
.nd8-masonry-auteur {
    width: 250px!important;
}
.nd8-masonry-eve {
    width: 300px;
}
.nd8-masonry-title {
    width: 425px;
}
/*.nd8-masonry-brick:nth-child(4n+1) {
    width: 250px;
}
.nd8-masonry-brick:nth-child(4n+2) {
    width: 325px;
}
.nd8-masonry-brick:nth-child(4n+3) {
    width: 180px;
}
.nd8-masonry-brick:nth-child(4n+4) {
    width: 380px;
}*/
.nd8-masonry-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(50%);
}
.nd8-masonry > .actu > h2, .nd8-masonry > .evene > h2, .nd8-masonry > .auteurs > h2  {
    font-size: 5.5em;
    font-weight: 700;
    line-height: 1.1;
    position: relative;
    top: 30%;
    color: #fff;
    width: 100%;
    text-align: center;
    letter-spacing: -.07em;
}
.nd8-masonry > .evene,
.actu-accueil {
    background-color: #3bc;
}
.nd8-masonry > .actu, .nd8-masonry > .auteurs {
    background: #f2b14d;
}
/* event eventorganiser */
.nd8-masonry-eve ul {
    width: 100%;
    height: 100%;
    padding: 0!important;
    margin: 0;
    display: block;
    position: absolute;
    left: 0;
}
.nd8-masonry-eve ul li {
    list-style: none;
    width: 100%;
    height: 100%;
}
.nd8-masonry-eve ul li > a {
    width: 100%;
    height: 100%;
    display: block;
    background-color: #a7e2e9;
}
.nd8-masonry-eve ul > .eo-event-future > a {
	background-color: #f3cc9b;
}
.nd8-masonry-eve ul > .eo-event-future > a > .eve-title > h3 {
    color: rgba(65, 45, 9, 0.79);
}
.nd8-masonry-eve ul li > a:hover {
    color: inherit!important;
}
.nd8-masonry-eve ul li > a > .eve-time {
    height: 55%;
    /*margin: 4%;*/
}
.nd8-masonry-eve ul li > a > .eve-title {
    /*background-color: #a7e2e9;*/
    height: 30%;
    margin: 3%;
}
.nd8-masonry-eve ul li a .eve-time span {
    font-weight: 600;
    text-align: center;
    display: block; 
    margin: 0 auto;
}
.nd8-masonry-eve ul li a .eve-time span:first-child {
    font-size: 6em;
    height: 70%;
    width: 40%;
    color: #fff;
    /*background-color: #fff;*/
}
.nd8-masonry-eve ul li a .eve-time span:last-child {
    width: 40%;
    font-size: 2em;
    font-size: 1.5em;
    color: #fff;
    /*background-color: #e05555;*/
}
.nd8-masonry-eve ul li > a > .eve-title > h3 {
    font-size: 2em;
    text-align: center;
    padding: 0 4%;
    color: rgba(9, 58, 65, 0.79);
}
.nd8-masonry-eve ul > .eo-event-future > a > .eve-title > h3 {
	color: rgba(65, 37, 9, 0.79);
}
/* home one post */
.nd8_one_post {
    display:flex;
    flex-flow:row;
    height: 100%;
/*    align-items:center;*/
}
.nd8_one_post_thumb {
    width: 100%;
}
.nd8_one_post > .nd8_one_post_thumb > a {
    width: 100%;
    height: 100%;
}
.nd8_one_post > .nd8_one_post_thumb > a > img {
/*    transition: all 0.5s;
    width: auto;
    height: 100%;
    object-fit: contain;
    overflow: hidden;*/
    transition: all 0.5s;
    width: 100%;
    height: 100%;
    object-fit: fill;
    overflow: hidden;
}
/*.nd8_one_post > .nd8_one_post_content {
    transition: all 0.2s;
    width: 65%;
    padding: 0px 5px 0 30px;
    display: flex;
    flex-flow: column;
}
.nd8_one_post_content > .one_post_content {
    margin-top: 10px;
    height: 100%;
    overflow: visible;
    font-size: 14px;
}
.nd8_one_post_content > span {
    font-size: 1em;
    color: #FFF;
    letter-spacing: 1px;
    font-weight: bold;
    margin-top: 5%;
}*/
.nd8_randposts {
    height: 100%;
    display: block;
    position: relative;
}
.nd8_randposts > .nd8_randimg {
    height: 100%;
}
.nd8_randposts > .nd8_randimg > a {
    height: 100%;   
}
.nd8_randposts > .nd8_randimg > a > img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
/* aside widget */
.side-nav > ul.sub-menu {
    padding: 0;
}
.side-nav > ul.sub-menu {
    margin-bottom: 15px;
}
ul.sub-menu > .nd8-social-aside, ul.sub-menu > .nd8-title-aside {
    list-style: none;
}
.nd8-social-aside > a {
    font-size: 17px;
}
.nd8-title-aside > h4 {
    letter-spacing: -0.04em;
    font-size: 1.4em;
    font-weight: 700;
    margin: 20% 0 7%;
    padding-left: 1%;
    color: #093a419e!important;
}
aside.side-nav > ul > div > div > li:nth-child(-n+2),
#mCSB_1_container > li:nth-child(8) {
    display: none;
}
.category-filter li {
	font-size: 14px;
}
/******* PARTENAIRE *********/
.nd8-client-partenaire details {
    position: relative;
}

.nd8-client-partenaire details summary::-webkit-details-marker {
    display: none;
}

.nd8-client-partenaire details summary::before {
    content: "";
    position: absolute;
    left: 0;
    background: url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjM0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIzNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNOC41OSAxNi4zNGw0LjU4LTQuNTktNC41OC00LjU5TDEwIDUuNzVsNiA2LTYgNnoiLz48L3N2Zz4=")
    no-repeat 50% 50% / 1em 1em;
    width: 1.5em;
    height: 1.5em;
    transition: transform 0.1s linear;
}

.nd8-client-partenaire summary {
    width: 100%;
    padding: 20px;
    padding-left: 25px;
    border-bottom: 1px solid #ccc;
}

.nd8-client-partenaire summary:hover {
    color: #b7822f;
    cursor: pointer;
}

.nd8-client-partenaire summary:focus {
    outline: none;
}

.nd8-client-partenaire details[open] summary:before {
    transform: rotate(90deg);
}

.nd8-client-partenaire details[open] > summary {
    color: #b7822f;
}

.nd8-client-partenaire details[open] > summary ~ * {
    animation: open 1s ease;
}


@keyframes open {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
/******* CONTACT FORM *******/
div.wpforms-container-full .wpforms-form input.wpforms-field-medium,
div.wpforms-container-full .wpforms-form select.wpforms-field-medium,
div.wpforms-container-full .wpforms-form .wpforms-field-row.wpforms-field-medium {
    max-width: 100%;
}
div.wpforms-container-full {
    margin-top: 20px;
}
div.wpforms-container-full .wpforms-form .wpforms-field {
    margin-bottom: 30px;
}
div.wpforms-container-full .wpforms-form input[type=date],
div.wpforms-container-full .wpforms-form input[type=datetime],
div.wpforms-container-full .wpforms-form input[type=datetime-local],
div.wpforms-container-full .wpforms-form input[type=email],
div.wpforms-container-full .wpforms-form input[type=month],
div.wpforms-container-full .wpforms-form input[type=number],
div.wpforms-container-full .wpforms-form input[type=password],
div.wpforms-container-full .wpforms-form input[type=range],
div.wpforms-container-full .wpforms-form input[type=search],
div.wpforms-container-full .wpforms-form input[type=tel],
div.wpforms-container-full .wpforms-form input[type=text],
div.wpforms-container-full .wpforms-form input[type=time],
div.wpforms-container-full .wpforms-form input[type=url],
div.wpforms-container-full .wpforms-form input[type=week],
div.wpforms-container-full .wpforms-form select,
div.wpforms-container-full .wpforms-form textarea {
    color: black;
    border: 0;
    border-bottom: 2px solid black;
    border-radius: 0;
    background: transparent;
    padding: 3px 0;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
}
div.wpforms-container-full .wpforms-form input[type=date]:focus,
div.wpforms-container-full .wpforms-form input[type=datetime]:focus,
div.wpforms-container-full .wpforms-form input[type=datetime-local]:focus,
div.wpforms-container-full .wpforms-form input[type=email]:focus,
div.wpforms-container-full .wpforms-form input[type=month]:focus,
div.wpforms-container-full .wpforms-form input[type=number]:focus,
div.wpforms-container-full .wpforms-form input[type=password]:focus,
div.wpforms-container-full .wpforms-form input[type=range]:focus,
div.wpforms-container-full .wpforms-form input[type=search]:focus,
div.wpforms-container-full .wpforms-form input[type=tel]:focus,
div.wpforms-container-full .wpforms-form input[type=text]:focus,
div.wpforms-container-full .wpforms-form input[type=time]:focus,
div.wpforms-container-full .wpforms-form input[type=url]:focus,
div.wpforms-container-full .wpforms-form input[type=week]:focus,
div.wpforms-container-full .wpforms-form select:focus,
div.wpforms-container-full .wpforms-form textarea:focus {
    color: black;
    outline: 0;
    border-bottom: 2px dotted #000;
    border-left: none;
    border-top: none;
    border-right: none;
}
div.wpforms-container-full .wpforms-form button[type=submit] {
    border: 2px solid;
    border-color: black;
    border-radius: 0;
    background: transparent;
    color: black;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 1em 2em .8em;
}
div.wpforms-container-full .wpforms-form button[type=submit]:hover {
    background: black;
    color: white;
    border: 2px solid;  
}
.contact-form .small-input {
    width: 48%!important;
    display: inline-block;
}
.contact-form .small-input:nth-child(3) {
    margin-left: 27px;
}
div.wpforms-container-full .wpforms-form textarea.wpforms-field-medium {
    height: 5.5em;
}
/******** FOOTER ********/
.widget,
.widget.milestone-widget {
    margin: 0;
}
.site-footer {
    background-color: #f6c882;
}
.site-footer > div {
    padding: 2% 5% 0;
}
.site-info > div {
	position: relative;
	display: inline-block;
	margin: 0 8px;
	font-size: 1rem;
}
.widget-area svg {
	color: #2c2c2c!important;
}
/******** ARTICLE *********/
#post-load {
    padding: 0 3%;
}
body #jp-relatedposts > .jp-relatedposts-items > .jp-relatedposts-post {
    float: none;
    width: 32%;
    padding-right: 5%;
    display: inline-block;
    vertical-align: top;
}
.vertical-img-layout:not(.jetpack-portfolio) .featured-content {
    margin: 0 -60px 65px 60px;
}
.category-collections > .entry-content > p:last-of-type {
    font-size: 13px;
    float: right;
    text-align: right;
}
.wp-block-pullquote cite {
    text-align: right;
}
.wp-block-pullquote p {
    text-align: left;
    font-size: 25px;
    line-height: 1.4;
}
.wp-block-pullquote p em {
    display: block;
}
.category-collections #jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img, #jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post span {
    box-shadow: 3px 3px 3px 1px rgba(0,0,0,.4);
}
.single .entry-title {
    color: #f2b14d;
    font-weight: 700;
}
.vertical-img-layout:not(.jetpack-portfolio) .entry-header {
    margin-bottom: 190px;
}
.category-collections .featured-image > img {
    max-width: 400px;
    box-shadow: 3px 3px 3px 1px rgba(0,0,0,.4);
}
.size-coup-single-post {
	width: auto!important;
    height: 100%!important;
    max-height: 500px;
}
/* related posts */
#related_posts {
    margin-top: 60px;  
}
#related_posts > .related_container {
    display: block;
    padding-top: 1em;
    margin: 1em 0;
    position: relative;
    clear: both;
}
.related_container > .related_items > .related_p {
    float: none;
    width: 32%;
    padding-right: 5%;
    display: inline-block;
    vertical-align: top;
}
.related_p > .relatedthumb > a > img {
    margin-bottom: 20px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 3px 3px 3px 1px rgba(0,0,0,.4);
    max-width: 100%;
}
.related_p > .relatedcontent > h3 {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 5px;
    text-transform: none;
    margin: 0;
    font-family: inherit;
    display: block;
    max-width: 100%;
}
.related_p > .relatedcontent > h3 > a {
    font-weight: 500;
    font-size: inherit;
    text-decoration: none;
    -moz-opacity: 1;
    opacity: 1;
}
.related_p > .relatedcontent > p {
    opacity: .6;
    font-size: 12px;
    margin-bottom: 2px;
    line-height: 20px;
    margin: 0;
}
/* comment deactivate */
.site-content div#comments {
	display: none;
}
/* category author */
.nd8-archive article {
    margin-bottom: 25px!important;
}
.nd8-archive .na-title {
    font-size: 18px;
    text-align: center;
}
/*.nd8-archive .na-title a:after {
    content: '';
    position: absolute;
    bottom: 7px;
    left: 37.5%;
    width: 25%;
    height: 2px;
    background: #515151;
}*/
/*category actu */
#post-1343 > div > div.featured-content.featured-image.horizontal-img > a.more-link {
	display: none;
}
/* category titre / collections */
/* Fallback styles */
.book {
  display: inline-block;
  /*box-shadow: 5px 5px 20px #333;*/
  /*margin: 10px;*/
  margin: 0 10%;
}

.book img { vertical-align: middle; }

/*
 *  In order for this to work, you must use Modernizer
 *  to detect 3D transform browser support. This will add
 *  a "csstransforms3d" class to the HTML element.
 *
 *  Visit http://modernizr.com/ for installation instructions
 */
.csstransforms3d  .books {
    padding-top: 6%;
    padding-bottom: 10%;
  -moz-perspective: 100px;
  -moz-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.csstransforms3d  .book {
  position: relative;
  -moz-perspective: 100px;
  -moz-transform: rotateY(-1deg);
  -webkit-transform: perspective(100) rotateY(-1deg);
  outline: 1px solid transparent; /* Helps smooth jagged edges in Firefox */
  box-shadow: none;
  margin: 0 12%;
}

.csstransforms3d  .book img {
  position: relative;
  max-width: 100%;
  height: 385px;
}

.csstransforms3d  .book:before,
.csstransforms3d  .book:after {
    position: absolute;
    top: 2%;
    height: 96%;
    content: ' ';
    z-index: -1;
}

.csstransforms3d  .book:before {
    width: 100%;
    left: 6.5%;
    background-color: #5a2d18;
    box-shadow: 0 0 31px -10px #333;
}

.csstransforms3d  .book:after {
    width: 5%;
    left: 100%;
    background-color: #ffffff;
    box-shadow: inset 0px 0px 3px 0px #aaa;
    -moz-transform: rotateY(10deg);
    -webkit-transform: perspective(100) rotateY(10deg);
}
h3.nd8-book-title {
/*    padding: 25px 0 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.3);
    font-size: 26px;*/
    padding: 15px 15px 20px;
    margin-top: 0;
    text-align: center;
    margin-bottom: 50px;
    background-color: #f2b14d8f;
    font-size: 26px;
}
@media only screen and (min-width : 1200px){
    .archive .row .na-article {
        width: 20%!important;
        padding-left: 10px!important;
        padding-right: 10px!important;
    }
}
.nd8-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  /*opacity: 0;*/
  transition: .5s ease;
  /*background-color: #a7e2e9;*/
}
.na-article:hover > .nd8-overlay {
    background-color: #a7e2e9c7;
}
.nd8-art-book:hover > .nd8-overlay {
    background-color: #f2b14db0;
}
.na-article:hover > .nd8-overlay > a > span, .nd8-art-book:hover > .nd8-overlay > a > span {
    display: block;
}
.category-auteurs > header {
    margin-bottom: 25px!important;
}
.nd8-overlay > a {
    color: white;
    font-size: 20px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
}
.nd8-overlay > a > span {
    font-size: 45px;
    font-weight: 700;
    line-height: 1.1;
    position: absolute;
    padding: 0 10px;
    color: #eee;
    letter-spacing: -.04em;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 35%;
    color: #fff;
    z-index: 10;
    font-weight: 600;
}
/* barre lateral navigation widget */
.posts-navigation i, .posts-navigation .post-title {
    opacity: .6;
}
.nd8-archive > .page-header {
    margin-bottom: 0px;
}
/* page agenda event */
section#main-content > h1 {
    outline: none;
    color: #a7e2e9;
     top: -0.25em; 
    font-size: 160px;
    font-weight: 700;
    line-height: 1.1;
    position: relative;
    /*top: -0.65em;*/
    z-index: -1;
    width: 80vw;
    letter-spacing: -.04em;
    padding: 0;
    margin: 0;
    left: -60px;
}
.mec-wrap {
    padding: 0 7%;
}
.agenda-title  > strong {
    color: #a7e2e9;
}
.agenda-title1 > strong {
    color: #f6c882;
}
/* agenda event organiser */
.agenda-container {
    margin: 6% 0;
}
.agenda-container ul {
    list-style: none!important;
}
.agenda-container ul > li {
    margin: 8% 0;
    height: 100px;
    position: relative;
    display: block;
}
.agenda-container ul > li > div.eve-time {
    text-align: center;
    position: relative;
    display: inline-block;
    font-weight: 600;
    width: 11%;
    height: 100%;
    vertical-align: top;
}
.agenda-container ul > li > div.eve-content {
    display: inline-block;
    position: relative;
    height: 100%;
    width: 80%;
}

.agenda-container ul > li > div.eve-content > a > h3 {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin: 0 0 0 5%;
    font-size: 1.3em !important;
    width: 73%;
}
.agenda-container ul > li > div.eve-content a span.eve-jour {
    position: absolute;
    top: 30%;
    left: 25%;
    color: #858585;
}
.agenda-container ul > li > div.eve-content .eve-excerpt {
    position: absolute;
    top: 55%;
    left: 25%;
    height: 45px;  
}
.agenda-container ul > li > div.eve-content > a > img {
    height: 100%;
    width: auto;
}
.agenda-container ul > li > div > span {
    display: block;
/*    margin: 2%;
    padding: 5%;*/
}
.agenda-container ul > li > div > span:first-child {
    font-size: 2em;
    font-weight: 600;
    width: 100%;
}
.agenda-container ul > li > div > span:last-child {
    width: 100%;
    padding: 5% 25%;
    font-weight: 600;
    color: #fff;
}
.agenda-container ul > li > div > span:first-child {
    background-color: #f4f4f4;
}
.agenda-container > ul:nth-child(2) > li > div.eve-time > span:nth-child(2) {
    background-color: #f6c882;
}
.agenda-container ul:last-child > li > div > span:last-child {
    background-color: #a7e2e9;
}
/*.nd8-masonry-eve ul {
    width: 100%;
    height: 100%;
    padding: 0!important;
}
.nd8-masonry-eve ul li {
    list-style: none;
    width: 100%;
    height: 100%;
}
.nd8-masonry-eve ul li > a {
    width: 100%;
    height: 100%;
    display: block;
}
.nd8-masonry-eve ul li > a > .eve-time {
    height: 60%;
    margin: 4%;
}
.nd8-masonry-eve ul li a .eve-time span {
    font-weight: 600;
    text-align: center;
    display: block; 
    margin: 0 auto;
}
.nd8-masonry-eve ul li a .eve-time span:first-child {
    font-size: 6em;
    height: 70%;
    width: 40%;
    background-color: #fff;
}
.nd8-masonry-eve ul li a .eve-time span:last-child {
    width: 40%;
    font-size: 2em;
    font-size: 1.5em;
    color: #fff;
    background-color: #e05555;
}*/
/* Taxonomy post etc */
.tax-container {
    position: relative;
    display: block;
    width: 100%;
    background-color: rgba(167, 226, 233, 0.4);
}
.tax > h4 {
    margin-bottom: 5%;
}
.tax-container .tax-item-post {
    margin: 2%;
    float: none;
    width: 28%;
    display: inline-block;
    vertical-align: top;
}
.tax-container > .tax-item-post > a > img {
    margin-bottom: 20px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 3px 3px 3px 1px rgba(0,0,0,.4);
    max-width: 100%;
}
/* search */
.search-container > article {
	border-bottom: 1px solid #0000004d!important;
}
@media screen and (min-width: 1201px) {
    .show .side-nav, .no-js .side-nav {
        padding: 2%;
        background-color: #a7e2e9;
    }
     
}
@media ( min-width : 1600px ) {
    .home-nd8-post {
        margin: 0 8% 0!important;
    } 
}
@media screen and (max-width: 1200px)  {
    aside > ul.sub-menu {
        display: none;
    }
    #mCSB_1_container > li:nth-child(1),
    #mCSB_1_container > li:nth-child(2) {
        display: none;
    }
    .agenda-container ul > li > div.eve-content > a > h3 {
        position: absolute;
        top: 0;
        right: 0;
        margin-top: 0;
        font-size: 1.2em !important;
        width: 60%;
    }
    .agenda-container ul > li > div.eve-content .eve-excerpt {
        display: none;
    }
    .agenda-container ul > li > div.eve-content a span.eve-jour {
        top: 50%;
        left: 40%;
    }
}