/*
Theme Name: Who Grimag Child
Description: Theme enfant de Grimag
Author: Whodunit
Author URI: https://www.whodunit.fr
Template: Grimag
Version: 0.1.0
*/

/*CSS additionnel dans le customiser du thème Grimag */
#sidebar .widget ul li a:hover,#footer .widget ul li a:hover,ul.menu li a,.sidebar-post .meta span a:hover,h1, h2, h3, h4,#menu-responsive li a,#sidebar .widget_archive ul li:hover span,#footer .widget_archive ul li:hover span,#sidebar .widget h5, #sidebar .widget span, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, #logo h1, #logo .logo, #logo h1 img, #logo .logo img, .nav-next a,.nav-previous a, #but-prev-next a, #wp-pagenavibox .wp-pagenavi *, .widget_custom_menu li ul > li.current-menu-item > a,#pre_next_post .tooltip:hover, #cookieChoiceInfo a,#closeBareCoockie{
    color: #295eb3 !important;
}
#sidebar .widget ul li a,#wp-pagenavibox .wp-pagenavi *,ul.menu li a:hover,ul.menu li.hover-has-ul a,a:hover,.wp-pagenavi a:hover,.dark #but-prev-next a:hover,.dark #wp-pagenavibox,.widget ul li a,#footer .widget h5,.sidebar-post .meta a,#menu-responsive li a:hover,.sidebar-ad-a .widget ul li a:hover,#footer .widget_nav_menu ul li a:hover, h1 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, #pre_next_post .tooltip, .posts-related-wrapper h6,h5{
    color: #868686;
}
.tagcloud a span {
    background: #7e0d25!important;
}
input[type="button"], input[type="submit"], button, #header-holder-2, #search-form-header, #search-form-header span, #copyrights-holder, .term-title h1:before, a.button, .toggle-closed .toggle-title span, .pricing-table-featured .pricing-table-title, .pricing-table-featured .pricing-table-price, .pricing-table-featured .button, .skill-bar, .st-gallery ol li.st-gallery-tab-current, .more-link, #layout .mejs-time-loaded, #sidebar .sidebar .widget_display_search, #sidebar .widget_search, .tagcloud a, .widget_custom_menu > li > a:hover, .widget_custom_menu > li.wHover, #sidebar .widget-posts, .widget-posts-icon:hover, #sidebar .sharrre .count, .dark .sharrre .count, #buddypress div.item-list-tabs ul li.selected a, #buddypress div.item-list-tabs ul li.current a, #buddypress div#subnav.item-list-tabs ul li.selected a, #buddypress div#subnav.item-list-tabs ul li.current a, #buddypress input[type="submit"], #buddypress input[type="button"], #buddypress input[type="reset"], #buddypress input[type="submit"]:hover, #buddypress input[type="button"]:hover, #buddypress input[type="reset"]:hover {
    background-color: #295eb3 !important;
}
#menu, #buddypress div#subnav {
    border-bottom-color: #295eb3!important;
}
#header-layout #menu-box li.current-menu-item a,
#header-layout #menu-box li.current_page_item a,
#header-layout #menu-box li.current-menu-ancestor a,
#header-layout #menu-box li.current-post-ancestor a {
   	background: #295eb3!important;
    color: #ffffff!important;
}
::selection {
    color: #FFF;
    background: #0068A1!important;
}
#cookieChoiceInfo{
    border-bottom: 6px solid #295eb3!important;
}
  
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, a, .st-ul li.st-current, .st-ul li.st-current:hover, .widget_display_stats dd, .sidebar-footer .widget-info p a.mailto {
    color: #295eb3 !important;
}
#prefooter h3 {
color:#fff !important;
}
#prefooter ul li a {
    color: white !important;
}
#footer a.button {
   color: white !important;
}
.st-hover-bg {
background: #0068A1 !important;
}
a.utcw-tag {
	color:#fff !important;
}
.tagcloud a span {
    background: #ddd!important;
	color:#fff !important;
}
#newslettertsidebar span:first-child {
	color:#fff !important;
}
a.utcw-tag span:first-child {
	color:#fff !important;
}

.quiz_section {
	text-align:center;
}
.qsm-quiz-container .qmn_pagination {
	border-top:none;
}
.quiz_section .mlw_qmn_message_before {
	border-bottom:none;
}
.quiz_section input[type="text"] {
	max-width:400px;
}
/* FIN CSS additionnel customiser Grimag */

.tagcloud a span {
    background: #ddd !important;
}



/* ---------------- CUSTOM CSS ---------------- */
.st-hover-format {
    width: 100%!important;
    height: auto!important;
    margin-left: 0!important;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    left: 0!important;
    text-align: center;
}
#sidebar .widget {
    padding: 0!important;
    background: none!important;
}
.widget h5 {
    font-weight: bold;
    text-transform: none;
    padding: 18px 0 18px 5px;
    border: 3px solid #f1f1f1;
    border-right: none;
    border-left: none;
    margin-bottom: 0;
    background: none;
}

.widget ul li a {
    padding-left: 5px;
}

#copyrights-holder {
    border-top: 1px solid #cfcfcf;
    /*background: white!important;*/
    margin: 50px 0 0 0;
    /*color: #196eb5;*/
    color: white;
    width: 100%;
}
#copyrights-box {
    width: 1200px;
    margin: 0 auto;
    left: -22px;
    position: relative;
}
#footer,
#menu {
    background: #f3f3f5!important;
}
ul.menu li a:hover,
ul.menu li.hover-has-ul a {
    box-shadow: none!important;
}

.widget_recent_entries li .picto,
.popular-posts li .picto {
    margin: 0 20px;
    min-height: 50px;
}
.widget_recent_entries ul li a,
.popular-posts ul li a {
    display: block;
    padding: 0 0 0 50px;
    margin-left: 50px;
    font-size: 1.1em;
}
#sidebar .widget_recent_entries,
#sidebar .popular-posts {
    background: #f1f1f1!important;
}

#footer-layout {
    width: 1200px;
    margin: 0 auto ;
}

@media only screen and (max-width: 1319px) and (min-width: 960px) {
    #footer-layout {
        width: 935px;
    }
    #copyrights-box {
        width: 935px;
    }
}
@media only screen and (max-width: 959px) {
    #footer-layout {
        width: auto;
    }

    #copyrights-box {
        width: auto;
    }
    #logo > div > div.description {
        text-indent: 0 !important;
    }
}

#footer {
    background-color: white !important;
}

#footer-layout #newfooter ul.menu {
    list-style: none;
    float: none;
}
@media only screen and (max-width: 959px) {
    #footer-layout #newfooter ul.menu {
        display: block;
        float: none;
        width: initial;
        height: initial;
        overflow: visible;
    }
}
#footer-layout #newfooter > div {
    display: inline-block;
    color: #646464;
    line-height: 30px;
    padding: 0 15px;
    float: left;
    vertical-align: top;
    word-wrap: normal;
    hyphens: none;
}

#footer-layout #newfooter > div:nth-child(1) {
    width: 32%;
    padding-right: 7%;
}

#footer-layout #newfooter > div:nth-child(1) li a {
    background: none;
}

#footer-layout #newfooter > div:nth-child(3) {
    float: right;
}

#footer-layout #newfooter div span {
    color: #005ca5;
    font-weight: bold;
    display: block;
}
#footer-layout #newfooter ul.menu li {
    float: left;
    margin: 10px 0 15px 0;
    width: 140px;
}
#footer-layout #newfooter ul.menu li a {
    padding: initial !important;
    padding-bottom: 0;
    padding-top: 0;
    font-weight: normal;
    text-transform: none;
    color: #646464;
}
#footer-layout #newfooter ul.menu li a:hover {
    color: #005ca5;
}
#footer-layout #newfooter > div:nth-child(3) ul {
    list-style-type: none;
}
#footer-layout #newfooter > div:nth-child(3) ul li {
    display: inline-block;
    width: 37px;
    height: 24px;
    overflow: hidden;
    padding-left: 5px;
}
#footer-layout #newfooter > div:nth-child(3) ul li a {
    width: 37px;
    height: 24px;
    padding-left: 5px;
    display: inline-block;
    color: rgba(0,0,0,0);
    background-repeat: no-repeat;
    background-position: 10px -2px;
}
#footer-layout #newfooter > div:nth-child(3) ul {
    margin: 0;
}
#footer-layout #newfooter > div:nth-child(3) ul li:nth-child(1) a {
    background-image: url(/wp-content/themes/who-grimag-child/inc/images/viadeo.png);
}
#footer-layout #newfooter > div:nth-child(3) ul li:nth-child(2) a {
    background-image: url(/wp-content/themes/who-grimag-child/inc/images/googleplus.png);
    border-left: 1px solid #e0e0e0;
}
#footer-layout #newfooter > div:nth-child(3) ul li:nth-child(3) a {
    background-image: url(/wp-content/themes/who-grimag-child/inc/images/linkdin.png);
    border-left: 1px solid #e0e0e0;
}
#footer-layout #newfooter > div:nth-child(3) ul li:nth-child(4) a {
    background-image: url(/wp-content/themes/who-grimag-child/inc/images/youtube.png);
    border-left: 1px solid #e0e0e0;
}

@media only screen and (max-width: 959px) {
    #footer-layout #newfooter > div {
        vertical-align: top;
    }
}
#newslettertsidebar span,
#newslettertsidebar div {
    background-color: #255cb6 !important;
    color: white !important;
}
#newslettertsidebar input {
    background-color: white!important;
    color: #255cb6 !important;
    padding: 10px 50px;
}
#sidebar .widget_recent_entries span,
#sidebar .popular-posts span {
    /*font-family: 'Source Sans Pro';*/
    border: 3px solid #ffffff;
    border-right: none;
    border-left: none;
    font-weight: bold;
    text-transform: none;
    padding: 18px 0 18px 20px;
    background: none;
    font-size: 1.2em;
    line-height: 1.2em;
    display: block;
}
#sidebar .widget_recent_entries ul li,
#sidebar .popular-posts ul li {
    border-bottom: 3px solid #ffffff;
    background: none;
}
#sidebar .widget ul li:first-child {
    padding-top: .6em;
}
#sidebar .widget_tag_cloud h5,
#sidebar .widget_archive h5 {
    margin-bottom: 20px;
}
#footer .widget h5 {
    border: none;
}
#menu-responsive a {
    text-align: center;
}
#footer .sidebar-footer .widget ul li {
    background: none;
    border-top: 1px solid #ffffff;
}
#footer .sidebar-footer .widget ul li:first-child {
    padding-top: 10px;
}
#logo {
    margin-left: 0;
    margin-right: 0;
    width: 62%;
}
.textwidget a.google,
.textwidget a.twitter {
    text-indent: -9999px;
}
.textwidget .google,
.textwidget .twitter {
    display: inline-block;
    height: 43px;
    width: 43px;
    margin: 15px 15px 0 0;
    cursor: pointer;
    -webkit-transition: none;
       -moz-transition: none;
         -o-transition: none;
        -ms-transition: none;
            transition: none;
}
#footer .widget_text h5 {
    border-bottom: 1px solid #ffffff;
}
.textwidget .google {
    background: url('../images/google-sprite.png');
}
.textwidget .twitter {
    background: url('../images/twitter-sprite.png');
}
.textwidget .twitter:hover,
.textwidget .google:hover {
    background-position: 0 43px;
    -webkit-transition: none;
       -moz-transition: none;
         -o-transition: none;
        -ms-transition: none;
            transition: none;
}
.logo-footer {
    background: url('../images/logo-footer.png');
    height: 97px;
    width: 175px;
}
.sidebar-footer > div {
    margin-top: 30px!important;
}
#footer .widget h5 {
    padding-top: 0;
}
#hcustom .sidebar-ad-a {
    padding-top: 27px;
}
#footer .widget_nav_menu ul li,
.sidebar-ad-a .widget ul li {
    display: inline-block;
    background: none!important;
}
.sidebar-ad-a .widget ul li a {
    padding: 0 8px 0 6px;
    font-size: 1em;
    font-style: normal;
    color: #0e67a9;
    float: left;
    font-family: 'Source Sans Pro';
    font-weight: 400;
}
.sidebar-ad-a .widget ul li:after {
    content: '|';
    color: #0e67a9;
    float: right;
}
.sidebar-ad-a .widget ul li:last-child:after {
    content: '';
}
#footer .widget_custom_menu li.current-menu-item  a,
#footer .widget_nav_menu ul li a:hover,
.sidebar-ad-a .widget ul li a:hover {
    background: none;
}
#footer .widget_nav_menu {
    background: none;
    display: inline-block;
    padding: 0!important;
    margin: 0 0 0 5px;
}
#footer .widget_nav_menu ul li a {
    font-size: .8em;
    color: #ffffff!important;
    padding: 0 5px;
    float: right;
    font-weight: normal;
}
#copyrights-company {
    width: auto;
    padding-top: 1px;
}
#footer .widget_nav_menu ul li:before {
    content: '-';
    float: left;
}

#header-layout #hcustom {
    width: 38%;
}
#breadcrumb {
    margin-top: 10px;
}
#logo > div > div {
    display: inline-block;
    width: 20%;
}

#logo > div > div.description {
    font-size: 2.4em;
    width: 78%;
    color: #0e67a9;
    /*font-family: 'Source Sans Pro';*/
    font-weight: 200;
    line-height: 1em;
    text-align: left;
    text-indent: 10%;
    padding-top: 23px;
    text-transform: uppercase;
}
#logo > div > div.description strong {
    font-weight: 400;
}
.breadcrumbs {
    display: none;
}
@media only screen and (max-width: 639px) and (min-width: 480px) {
    .post-t4 .thumb-wrapper {
        width: 100%;
    }
}
@media only screen and ( max-width: 960px ) {
    #search-form-header span {
        background-position: 10px 10px!important;
    }
    #logo,
    #header-holder #logo h1,
    #header-holder #logo .logo,
    #hcustom .sidebar,
    #header-layout #hcustom,
    .div-as-table > div,
    #logo > div > div.description,
    #copyrights-box #copyrights-company,
    #logo > div > div {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    #header-holder #logo h1 img {
        width: 150px;
        height: auto;
    }

    #logo > div > div.description {
        line-height: 1em;
        margin: 10px 0;
        text-align: center;
        padding-top: 0;
        hyphens: none;
        font-size: 2em;
    }

    #logo {
        padding: 10px 0 0 0;
    }
    #hcustom .sidebar-ad-a .widget {
        margin-bottom: 10px;
    }
    #footer .widget_nav_menu ul li:first-child:before {
        content: '';
    }
    #hcustom .sidebar-ad-a {
        padding-top: 0;
    }
    .post-short-info {
        border-top: none!important;
        padding-top: 0!important;
    }
    #footer .widget_nav_menu {
        margin-left: 0;
    }
}
#search-form-header span {
    background: url('/wp-content/themes/who-grimag-child/inc/images/loupe.png') 10px 20px no-repeat;
}
.post-short-info {
    padding-top: 1.5em;
    border-top: 1px solid #e5e5e5;
}
.post-short-info .ico16:first-child {
    margin-top: 1.5em;
}

h1.post-title {
    margin-top: -10px;
    /*font-family: 'Source Sans Pro';*/
    font-weight: 600;
    font-size: 2.3em;
}

/*fix chrome placeholder*/
#search-form-header input:focus::-webkit-input-placeholder {
    color: transparent;
}

.widget_custom_menu > li.current-menu-item > a {
    color: #868686!important;
}
#copyrights-box .widget .menu-menu-footer-container ul {
    height: 22px;
}
#copyrights-box {
    padding-top: 3px;
}
.top-header a {
    font-size: .8em;
}
h2,
h3,
h4,
h5,
h6 {
    text-transform: none;
    /*font-family: 'Source Sans Pro';*/
    font-weight: 600;
    font-size: 1.2em;
}
#logo h1 img,
#logo .logo img {
    margin: 10px auto;
}
.pullquote {
    padding-left: 1.2em;
}
blockquote:before {
    content: '\201D';
    font-family: 'Source Sans Pro';
}
.posts-related-wrapper h6 {
    text-transform: uppercase;
}

#copyrights-holder .top-header .backTopLink {
    cursor: pointer;
}
#copyrights-box .widget .menu-menu-footer-container ul {
    text-transform: none;
}

/*centrage lire aussi*/
#pre_next_post {
    margin: 0;
    padding: 1px;
    background: none;
    box-shadow: none;
    border: none;
}
#pre_next_post table {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border-collapse: separate;
    border-top: 1px #dddddd solid;
    border-bottom: 1px #dddddd solid;
}
#pre_next_post table td {
    width: 50%;
    vertical-align: middle;
    border-collapse: separate;
    border-left: 1px solid #dddddd;
}
#pre_next_post table td:first-child {
    border-left: none;
}
#pre_next_post a.p,
#pre_next_post a.n {
    max-width: none;
    display: table;
}
#pre_next_post a.p {
    margin: 20px 0 20px 10px;
}
#pre_next_post a.n {
    margin: 20px 10px 20px 0;
}
#pre_next_post a.p::before,
#pre_next_post a.n::after {
    margin-top: 0;
    height: 100%;
    vertical-align: middle;
    display: table-cell;
    float: none;
}
#pre_next_post a.n::before {
    display: none;
}
#pre_next_post .n:after {
    content: '';
    width: 25px;
    height: 1em;
    min-height: 16px;
    background: url('../../assets/images/icons/16/glyphs/gray/arrow-right.png') right center no-repeat;
}

#cookieChoiceDismiss {
    margin-left: 0!important;
}
@media only screen and ( min-width: 480px ) and ( max-width: 639px ) {
    #pre_next_post a.p,
    #pre_next_post a.n {
        margin: 0;
    }
    #pre_next_post table td {
        border: none;
    }
}


#footer .last .widget_text h5 {
    border-bottom: none;
    padding-left: 0;
}
#footer .last .widget_text h6 {
    color: #868686;
    border-top: 1px solid #ffffff;
}
#footer .last .widget_text ul {
    margin: 0;
    list-style-position: inside;
}
#footer .last .widget_text ul li {
    padding: 10px 0;
}
#footer .last .widget_text ul li.puceverte {
    list-style-image: url('/wp-content/themes/who-grimag-child/inc/images/footer/puceverte.png');
}
#footer .last .widget_text ul li.pucebleue {
    list-style-image: url('/wp-content/themes/who-grimag-child/inc/images/footer/pucebleue.png');
}
#footer .last .widget_text ul li.pucerouge {
    list-style-image: url('/wp-content/themes/who-grimag-child/inc/images/footer/pucerouge.png');
}
#footer .last .widget_text ul li.pucelinkedin {
    list-style-image: url('/wp-content/themes/who-grimag-child/inc/images/footer/pucelinkedin.png');
}
#footer .last .widget_text ul li.puceviadeo {
    list-style-image: url('/wp-content/themes/who-grimag-child/inc/images/footer/puceviadeo.png');
}

@media only screen and (max-width: 1320px) {
    #footer-layout {
        width: 90%;
    }
}

@media only screen and (max-width: 1200px) {
    #footer-holder {
        width: 90%;
    }
}

@media only screen and (max-width: 1024px) {
    #footer-layout #newfooter > div {
        padding: 0;
    }
    #footer-layout #newfooter > div:nth-child(1) {
        width: 55%;
        padding-right: 5%;
    }

    #footer-layout #newfooter > div:nth-child(2) {
        width: 40%;
    }

    #footer-layout #newfooter > div:nth-child(3) {
        width: 100%;
        clear: both;
        float: none;
        padding: 40px 0 0;
    }
}

@media only screen and (max-width: 959px) {
    #copyrights-box > div {
        width: inherit;
        text-align: center;
    }

    #copyrights-holder .top-header .backTopLink {
        margin-left: 0;
        margin-right: 10px;
    }
}

@media only screen and (max-width: 768px) {
    #footer-layout #newfooter > div:nth-child(1),
    #footer-layout #newfooter > div:nth-child(2),
    #footer-layout #newfooter > div:nth-child(3) {
        width: 100%;
        clear: both;
        float: none;
        padding: 40px 0 0;
    }
}

#newfooter:after {
    content: '';
    display: block;
    clear: both;
}

/* prefooter */
#prefooter {
    background-color: #005ca5;
    color: white;
    background-image: url('/wp-content/themes/who-grimag-child/inc/images/prefooter_logo.png'), url('/wp-content/themes/who-grimag-child/inc/images/prefooter.png');
    background-position: top center, top center;
    background-repeat: no-repeat, repeat-x;
    text-align: center;
}

#prefooter h3 {
    font-weight: normal;
    color: white;
    font-size: 18px;
    padding-top: 60px;
}

#prefooter h4 {
    font-weight: 200;
    color: white;
    font-size: 15px;
    padding-top: 0;
}


#prefooter ul {
    display: table;
    width: 100%;
    margin: 0 auto 50px;
    padding: 50px 0;
    max-width: 1150px;
}

#prefooter ul li {
    font-weight: 900;
    font-size: 18px;
    list-style-type: none;
    padding: 5px 0;
    color: white;
    display: table-cell;
    vertical-align: middle;
    border-left: 1px solid #4085bc;
    width: 14%;
}

#prefooter ul li:first-child {
    border: none;
}

#prefooter ul li a {
    color: white;
}

@media only screen and (max-width:1024px) {
    #prefooter ul {
        display: block;
    }

    #prefooter ul:after {
        display: block;
        content: '';
        clear: both;
    }

    #prefooter ul li {
        width: 33.1%;
        float: left;
        display: block;
        margin-bottom: 20px;
    }

    #prefooter ul li:nth-child(3n+1) {
        border: none;
    }
}

@media only screen and (max-width:768px) {
    #prefooter ul li {
        width: 49.8%;
    }

    #prefooter ul li:nth-child(n) {
        border-left: 1px solid #4085bc;
    }

    #prefooter ul li:nth-child(2n + 1) {
        border: none;
    }
}

@media only screen and (max-width: 640px) {
    #prefooter ul {
        padding-top: 25px;
    }

    #prefooter ul li {
        width: 430px;
        margin: 0 auto;
        float: none;
        padding: 25px 0;
    }

    #prefooter ul li:nth-child(n) {
        border: none;
        border-bottom: 1px solid #4085bc;
    }

    #prefooter ul li:last-child {
        border: none;
    }
}

@media only screen and (max-width: 480px) {
    #prefooter ul li {
        width: 300px;
    }
}

/* Breadcrumb */
@media only screen and (max-width: 960px) {
    #breadcrumb {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Main menu */
#header-layout ul.menu > li:last-child > a {
    background: none;
}

@media only screen and (max-width: 1320px) {
    #header-layout ul.menu > li > a {
        font-size: 13px;
    }
}
/* ------ FIN CUSTOM CSS --------------*/

#copyrights-holder a{
	color: white !important;
	margin-left: 10px;
}

#newslettertsidebar p{
	margin: 0px;
}

.popular-posts h5{
    font-family: inherit !important;
	font-size: 1.2em !important;
    border: 3px solid #ffffff;
    border-right: none;
    border-left: none;
    font-weight: bold;
    text-transform: none;
    padding: 18px 0 18px 20px;
    background: none;
    font-size: 1.3em;
    line-height: 1.3em;
    display: block;
}
.wpp-list {
    margin: 0px;
}
.wpp-list li{
	padding: 0.6em 0;
}

h3.post-title{
	font-family: inherit !important;
	font-size: 1.1em !important;
}