/*
Theme Name: IDC
Author: Nethink
Author URI: http://www.nethink.com
Description: Nouveau thème pour l'Institut de la Concertation
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: institut-concertation
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

institut-concertation is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Custom Fonts
# Normalize
# Typography
# Elements
# Forms
# Navigation
  ## Links
  ## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
  ## Posts and pages
  ## Asides
  ## Comments
# Infinite scroll
# Media
  ## Captions
  ## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Custom Fonts
--------------------------------------------------------------*/
@font-face {
    font-family: 'Aller';
    src: url('fonts/aller_rg-webfont.eot?') format('eot'),
         url('fonts/aller_rg-webfont.woff') format('woff'),
         url('fonts/aller_rg-webfont.ttf') format('truetype'),
         url('fonts/aller_rg-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-family: monospace;
    font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
    color: #4d5871;
    font-family: 'Aller', Open Sans, sans-serif;
    font-size: 14px;
    line-height: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

h1 {
    font-weight: 600;
    font-size: 17px;
    color: #4C5671;
    line-height: 21px;
    margin-bottom: 27px;
}

h2 {
    font-weight: 600;
    font-size: 17px;
    color: #4C5671;
    line-height: 21px;
    margin: 40px 0 10px;
    text-transform: uppercase;
}

h1.entry-title {
    font-weight: 400;
    color: #E2007A;
    margin: 0;
        font-size: 1rem;
}

h2.widget-title {
    border-bottom: 1px solid #4D5671;
    font-size: 14px;
    font-weight: bold;
    margin: 0.9em;
    text-transform: uppercase;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 15px;
    font-size: 0.9375rem;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
    box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
    background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 0;
    padding: 0 0 0 1em;
}

ul {
    list-style: none;
}

ol {
    list-style: decimal;
}



li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}


/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, .8);
    font-size: 0.75rem;
    line-height: 1;
    padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #aaa;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    border-color: #aaa;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
}

select {
    border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
    padding: 6px 8px;
}

textarea {
    padding: 6px 8px;
    width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: #1B9DC4;
    text-decoration: none;
}

a:visited {
    color: #1B9DC4;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
    clear: both;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    position: relative;
    min-width: 110px;
    padding: 5px 15px;
}

.main-navigation a {
    display: block;
    width: 100%;
    text-decoration: none;
    box-sizing: content-box;
    text-align: left;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    line-height: 2.2;
    z-index: 5;
}

.main-navigation ul ul {
    display: none;
    margin: 0;
    padding: 10px 0;
    float: left;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul.open {
    display: block;
}

.main-navigation ul ul li {
    border-left: 2px solid #1B9DC4;
}

.main-navigation ul ul a {
    color: #1B9DC4;
}


/* Small menu. */
.menu-toggle,
.main-navigation.toggled div > ul {
    display: block;
}

.menu-toggle {
    border: none;
    border-radius: 0;
    background: transparent url(img/menu.png) no-repeat center center;
    background-size: 32px 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    box-shadow: none;
}

.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active {
    outline: none;
    box-shadow: none;
}

.main-navigation.toggled .menu-toggle {
    background: transparent url(img/close.png) no-repeat center center;
    background-size: 32px 32px;
}

.main-navigation.toggled div > ul  {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: #4C5671;
}

.arrow-down {
    position: absolute;
    top: 13px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #fff;
}

@media screen and (min-width: 48em) {
    .menu-toggle,
    .arrow-down {
        display: none;
    }

    .main-navigation {
        margin-left: 40px;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }

    .main-navigation ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .main-navigation li {
        -webkit-box-align: initial;
        -ms-flex-align: initial;
        align-items: initial;
        text-align: center;
    }

    .main-navigation .nav-menu > li {
        height: 130px;
    }

    .main-navigation a {
        color: #4C5671;
        text-align: center;
        line-height: 1.2;
    }

    .main-navigation ul ul {
        position: absolute;
        top: 9.3em;
        margin: 0;
        padding: 0;
        width: 184px;
        border-top: 1px solid rgb(221, 221, 221);
        background: #EDEEF1;
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    }

    .main-navigation ul ul li {
        padding: 0 10px 10px;
        border-left: none;
    }

    .main-navigation ul ul li:first-child {
        padding-top: 10px;
    }

    .main-navigation ul ul a {
        padding: 10px 8px;
        text-transform: uppercase;
        box-sizing: border-box;
        font-weight: 400;
        border: 1px solid transparent;
    }

    .main-navigation ul li:hover > ul,
    .main-navigation ul li.focus > ul {
        display: block;
        left: 0.1em;
    }

    .main-navigation ul ul li:hover > ul,
    .main-navigation ul ul li.focus > ul {
        left: auto;
        right: 100%;
    }

    .main-navigation ul#primary-menu > li:hover,
    .main-navigation ul#primary-menu > li.focus {
        background-color: #EDEEF1;
    }

    .main-navigation ul#primary-menu > li:hover > a,
    .main-navigation ul#primary-menu > li.focus > a {
        color: #1B9DC4;
    }

    .main-navigation ul ul :hover > a,
    .main-navigation ul ul .focus > a {
        color: #fff;
    }

    .main-navigation ul ul li:hover > a,
    .main-navigation ul ul li.focus > a {
        border: 1px solid #1B9DC4;
        border-radius: 5px;
        background-color: #1B9DC4;
    }

    .main-navigation ul ul ul {
        top: 0;
    }
}

@media screen and (min-width: 64em) {
    .main-navigation .nav-menu > li {
        height: auto;
    }

    /* Pictos navigation principale */
    .main-navigation .nav-menu > li > a {
        background: url('img/sprite_header.png') no-repeat scroll top left transparent;
        line-height: 55px;
        padding-top: 95px;
    }
    .main-navigation .nav-menu > li.current_page_ancestor > a,
    .main-navigation .nav-menu > li.current_page_ancestor:hover > a {
        color: #E2007A !important;
    }

    /* Qui sommes-nous ? */
    .main-navigation li.qui-sommes-nous > a {
        background-position: -1554px 7px;
    }
    .main-navigation li.qui-sommes-nous.current_page_ancestor > a {
        background-position: -1356px 7px;
    }
    .main-navigation li.qui-sommes-nous:hover > a {
        background-position: -1158px 7px;
    }

    /* Membres */
    .main-navigation li.membres > a {
        background-position: -960px 5px;
    }
    .main-navigation li.membres.current_page_ancestor > a {
        background-position: -762px 5px;
    }
    .main-navigation li.membres:hover > a {
        background-position: -564px 5px;
    }

    /* Activités */
    .main-navigation li.activites > a {
        background-position: -366px 7px;
    }
    .main-navigation li.activites.current_page_ancestor > a {
        background-position: -168px 7px;
    }
    .main-navigation li.activites:hover > a {
        background-position: 30px 7px;
    }

    /* Ressources */
    .main-navigation li.ressources > a {
        background-position: -170px -192px;
    }
    .main-navigation li.ressources.current_page_ancestor > a {
        background-position: 28px -192px;
    }
    .main-navigation li.ressources:hover > a {
        background-position: -1747px 15px;
    }

    .main-navigation ul ul {
        top: 11.4em;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}

.footer-navigation {
    clear: both;
    display: inline-block;
}

.footer-navigation ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.footer-navigation li {
    padding: 0 5px;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 3.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
    max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.deco {
    display: none;
    box-sizing: content-box;
    position: absolute;
    z-index: -1;
    clear: both;
    margin: 0 auto;
}

#deco_droite {
    background: url("img/idc-motif-fond1.png") no-repeat scroll right -50px transparent;
    height: 207px;
    margin-top: 160px;
    margin-left: 50%;
    width: 620px;
}

#deco_gauche {
    background: url("img/idc-motif-fond.png") no-repeat scroll right top transparent;
    height: 321px;
    margin-left: -670px;
    padding-left: 50%;
    width: 330px;
    margin-top: 280px;
}

.site-header {
    position: absolute;
    top: 0;
    margin-top: 32px;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ddd;
    z-index: 100;
}

/* Barre outils WP */
.admin-bar .site-header {
    margin-top: 78px;
}
.admin-bar .site-content {
    margin: 80px auto 0;
}

.site-content {
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: 1024px;
    margin: 113px auto 0;
    padding: 15px;
}

.site-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.header-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    height: 80px;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 15px;
}

.content-area,
.widget-area {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

/* Home : Actus ICPC */
#panel-69-2-1-1 > .panel-widget-style {
    border: 0 !important;
    padding: 0 !important;
}
#panel-69-2-1-1 .post {
    border: 1px solid #e2007a;
    padding: 1rem;
}

/* Home : Actus ext */
#panel-69-2-1-3 .post:not(:last-child) {
    margin-bottom: 1.875rem;
    padding-bottom: 1.875rem;
    border-bottom: 1px solid #eee;
}
#panel-69-2-1-3 .post::after {
    content: "";
    display: table;
    clear: both;
}
#panel-69-2-1-3 .post p {
    margin-bottom: 0;
}


.credits {
    margin-bottom: 0;
}

@media screen and (min-width: 37.5em) {
    .site-content {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .content-area {
        -webkit-box-flex: 2;
        -ms-flex: 2;
        flex: 2;
    }

    .widget-area {
        margin-left: 30px;
    }
}

@media screen and (min-width: 48em) {
    .site-header {
        position: fixed;
    }

    .header-container {
        height: auto;
    }
}

@media screen and (min-width: 48.875em) {
    .admin-bar .site-header {
        margin-top: 64px;
    }
    .admin-bar .site-content {
        margin-top: 130px;
    }

    .site-content {
        margin-top: 162px;
    }
}

@media screen and (min-width: 64em) {
    .admin-bar .site-content {
        margin-top: 160px;
    }

    .site-content {
        margin: 192px auto 0;
    }
}

@media screen and (min-width: 80em) {
    .deco {
        display: block;
    }

    .header-container {
        padding: 0;
    }

    .site-content {
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
    }

    .main-navigation ul ul li:hover > ul,
    .main-navigation ul ul li.focus > ul {
        left: 100%;
        right: auto;
    }
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.post.format-standard:not(:last-of-type) {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}
.post.format-standard .entry-header .thumbnail {
    display: none;
}
.post.format-standard .entry-header .entry-title {
    margin-bottom: 0;
}
.post.format-standard .entry-content {
    margin: 0;
}
.post.format-standard .entry-content h3 {
    margin: 1rem 0 0;
}

.sticky {
    display: block;
}

.blog .entry-meta .category {
    display: none;
}

.hentry {
    margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
    display: none;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.site-content ul li,
.site-content ol li {
    list-style-image: url('img/idc-puce-ardoise.png');
    list-style-position: inside;
    margin-bottom: 1em;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
    display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}














.alert-warning {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #fcf8e3;
    border: 1px solid #faebcc;
    color: #8a6d3b;
}

/* HOME : Evenements ICPC */
.hevent {
    margin-bottom: 1.5em;
}
.hevent + .hevent {
    padding-top: 1.5em;
    border-top: 1px solid #eee;
}
.hevent-date {
    font-weight: bold;
}
.hevent-title,
.hevent-meta {
    margin: 0;
}
.hevent-meta {
    opacity: 0.6;
}

/* HOME : Actus ICPC + ext */
.hpost-wrapper {
    margin: 0;
    padding: 0;
}
.hpost {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    margin-bottom: 1.5em !important;
    list-style: none !important;
}
.hpost + .hpost {
    padding-top: 1.5em;
    border-top: 1px solid #eee;
}
.hpost .image {
    display: block;
    position: relative;
    margin: 0;
    width: 100px;
}
.hpost .image img {
    display: block;
}
.column-left {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    margin-right: 1.5rem;
}
@media (max-width: 520px) {
    .column-left {
        display: none;
    }
}
.column-right {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
}
.hpost-title {
    margin: 0;
    font-size: 1.2em;
    text-transform: none;
}
.hpost-meta {
    opacity: 0.6;
}
.hpost-content {
    margin: 0 0 1em;
}

/* HOME : Portrait */
.box {
    max-width: 33.5rem;
}
.box + .box {
    margin-top: 2rem;
}
.box .image {
    display: block;
    position: relative;
    margin: 0;
    width: 100px;
    height: 100px;
}
.box .image img {
    display: block;
    width: 100px;
    height: 100px;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 50%;
}
.media {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    padding: 1.5rem;
    background-color: #eee;
    text-align: left;
}
.media-left {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    margin-right: 1.5rem;
}
.media-content {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    text-align: left;
}
.content-meta {
    margin-bottom: 1rem;
    opacity: 0.6;
}
.content-description {
    color: #4d5871;
    font-size: 0.875rem;
}
.content-title,
.content-description p {
    margin: 0;
}
@media (max-width: 520px) {
    .media {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
    .media-left {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    .content {
        text-align: center;
    }
}
.box-link-primary {
    margin-top: 0.25rem;
}
.box-link-primary a {
    display: inline-block;
    width: 100%;
    padding: 0.625rem;
    background-color: #444;
    color: #fff;
    text-align: center;
}
.box-link-secondary {
    margin-top: 1.25rem;
    text-align: center;
}
.box-link-secondary a {
    color: #444;
    -webkit-box-shadow: inset 0 -1px 0 #444;
            box-shadow: inset 0 -1px 0 #444;
}


/* Archive des portraits */
.archive .page-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.archive-content {
    width: 100%;
}
.archive-sidebar {
    -ms-flex-negative: 0;
        flex-shrink: 0;
    min-width: 22rem;
    width: 22rem;
    margin-left: 2rem;
    padding-right: 2rem;
}
.archive-sidebar .widget-title {
    margin-top: 0;
}
.archive-sidebar .textwidget p {
    margin: 0;
}
.archive-sidebar .textwidget p + p {
    margin-top: 1rem;
}
@media (max-width: 767px) {
    .archive .page-content {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .archive-sidebar {
        -webkit-box-ordinal-group: 0;
            -ms-flex-order: -1;
                order: -1;
        width: 100%;
        min-width: auto;
        max-width: 33.5rem;
        margin-left: 0;
        padding-right: 0;
    }
}


/* Gmap sur la fiche détaillée d'un évenement */
#evenement_location {
    background-color: #e1e2e5;
    padding: 1.5em;
    margin: 0 0 3em 3em !important;
}
#evenement_location .emplacement {
    margin-bottom: 0;
}

/** Profil: cacher Bio x2 **/
.um-profile-body.main .um-field.um-field-description.um-field-textarea {
display: none;
}



/* Ajout Armadiyo */
.ow-button-hover:hover .sow-icon-fontawesome{
    color: #fff !important;
}
.fleche-rose{
    position: relative;
    margin-bottom: 30px;
}
.fleche-rose::after{
    content:'';
    position: absolute;
    bottom: -23px;
    left: 50%;
    transform:translateX(-50%);
    height : 0;
    width : 0;
    border-top : 23px solid #e2007a;
    border-right : 23px solid transparent;
    border-left : 23px solid transparent;
}

.bloc-actu-hp{
    float:left;
    border:solid 1px #4c5671;
    width: 32%;
    margin-right: 2%;
    height:350px;
    /*
    width:284px;
    margin-right:70px;
    */
    color: #4c5671;
}
.bloc-actu-hp a,
.bloc-actu-hp p{
    color: #4c5671;
}
.bloc-actu-hp h4{
    padding:0px 10px;
    margin: 15px 0px 10px 0px;
}
.bloc-actu-hp p{
    padding:0px 10px;
    margin: 0px 0px 15px 0px;
}
.bloc-actu-hp-img{
    width: 100%;
    height: 190px;
    overflow: hidden;
    position: relative;
    text-align: center;
    background-color: #efefef;
}
.bloc-actu-hp-img img{
    margin-top: 1% !important;
    width: auto !important;
    height: 96% !important;
}

.bloc-actu-hp:nth-child(3){
    margin-right: 0px;
}
.bloc-actus-hp:before{
    content:'';
    clear:both;
}

.bloc-alaune-hp h3{
    color:#e2007a;
    font-size:20px;
    line-height:22px;
    text-transform:uppercase;
}
.bloc-alaune-hp h3 span{
    color:#4c5671;
    font-weight: 300;
}

.bloc-alaune-hp p{
    color:#4c5671 !important;
    font-size: 1.17em;
}
.icone-ressources,
.icone-activites{
    position: relative;
    margin-bottom: 15px;
}
.icone-ressources:before{
    content:'';
    background: url('https://i-cpc.org/wp-content/uploads/2020/11/IdC-rond-livre.png') no-repeat;
    background-size: 100%;
    width: 65px;
    height: 65px;
    position: absolute;
     top: -7px;
    left: 50%;
    transform: translateX(-190px);
}
.icone-activites:before{
    content:'';
    background: url('https://i-cpc.org/wp-content/uploads/2020/11/IdC-rond-chantier-bleu-transparent.png') no-repeat;
    background-size: 100%;
    width: 65px;
    height: 65px;
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-175px);
}

.liste-rose ul {
    padding: 0;
}
.liste-rose ul li{
    list-style-image: url('img/idc-puce-rose.png');
    margin-bottom: 0.2em;
}
.accrocheNL h3 {
    text-transform: uppercase;
}
.accrocheNL h3 span{
    color: #e2007a;
}
.moduleNL .tnp-email{
    width: 60% !important;
}
.moduleNL .tnp-submit{
    margin-left: 5% !important;
    width: 35% !important;   
}

.bloc-boutons .ow-button-base a{
    font-size: 1.1em;
    line-height: 1.2em;
    height: 50px;
    position: relative;
}
.bloc-boutons .ow-button-base a span{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
}

.page-id-20028 .site-content{
    margin-top: 156px !important;
}
/*
.page-id-20028.admin-bar .site-content{
    margin-top: 125px !important;
}
*/

@media (max-width: 1100px) {
    .bloc-actu-hp{
        width: 32%;
        margin-right: 2%;
    }
}

@media (max-width: 767px) {
    .bloc-actu-hp{
        width: 100%;
        height: auto !important;
        margin-right: 0;
        margin-bottom: 40px;
    }
    .bloc-boutons .ow-button-base a{
        width: 100%;
    }
    #pgc-20028-3-0, #pgc-20028-6-0, #pgc-20028-6-1, #pgc-20028-6-2, #pgc-20028-6-3, #pgc-20028-8-0, #pgc-20028-8-1, #pgc-20028-8-2, #pgc-20028-8-3, #pgc-20028-10-0, #pgc-20028-11-0{
        margin-bottom: 0px !important;
    }
    .header-container{
        height: auto;
    }
    .main-navigation.toggled div > ul{
        top: 128px;
    }
    .diapo-accueil .so-widget-sow-hero .sow-slider-base ul.sow-slider-images li.sow-slider-image .sow-slider-image-container .sow-slider-image-wrapper div{
        margin-top: 170px !important;
        margin-left: 20px !important;
    }
    .accrocheNL,
    .moduleNL {
        padding: 0px !important;
    }
    .accrocheNL .so-widget-sow-headline-default-1a583f79fdfb .sow-headline-container h3.sow-headline{
        text-align: center;
        margin-bottom: 30px !important;
    }


}