/*
Theme Name: SIEFAR
Theme URI: https://themeisle.com/themes/flat/
Author: ThemeIsle
Author URI: https://themeisle.com
Description: SIEFAR theme based on Flat. A free Blog Theme designed by YoArts. Works nice for a personal blog, magazine ,news or review website.
Version: 1.7.4
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: flat
Tags: black, orange, white, white, dark, light, two-columns, responsive-layout, left-sidebar, custom-background, custom-colors, custom-menu, editor-style, post-formats, custom-colors, translation-ready,featured-images, threaded-comments, translation-ready,photoblogging

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.
*/

.sticky {}
.bypostauthor {}



/**
 * SIEFAR
 */

body {
    background-color: #484747;
    background-color: #929191;
}

#page:before {
    /* background: #929191; */
    background-color: #484747;
    /* background-color: #cc1217; */
}

#menu-menu-de-navigation li:hover,
#menu-menu-de-navigation .current-menu-item,
#menu-menu-de-navigation .current-page-ancestor {
    background-color: #cc1217;
}

#menu-menu-de-navigation .current-page-ancestor > * {
    background-color: #600;
}

#menu-menu-de-navigation .current-page-ancestor > a:first-child,
#menu-menu-de-navigation .current-page-ancestor > i {
    background-color: #cc1217;
}

.site-header {
    background-color: #484747;
}

#site-navigation .current-menu-item > a,
#site-navigation .current-menu-parent > a,
#site-navigation .current-menu-ancestor > a,
#site-navigation .current_page_item > a,
#site-navigation .current_page_parent > a,
#site-navigation .current_page_ancestor > a {
    color: rgba(255, 255, 255, 0.8);
}

#secondary h1,
#secondary h2,
#secondary h3,
#secondary h4,
#secondary h5,
#secondary h6,
#secondary .widget-title {
    color: rgba(255, 255, 255, 0.5);
}

#secondary table th { background-color: #222; }

.list-pages-shortcode {
    border-top: 1px solid #eeeeee;
    margin-top: 40px;
    padding-top: 40px;

}

h1.entry-title {
    color: #cc1217;
}

body.category article,
body.search article {
    padding-bottom: 10px;
}

body.category article header h2,
body.search article header h2 {
    font-size: 20px!important;
    line-height: 30px;
    display: inline-block;
}

body.category article .entry-thumbnail,
body.search article .entry-thumbnail {
    display: inline-block;
    margin: 0 25px 15px 0;
    vertical-align: 50%;
}

body.category article .entry-thumbnail img,
body.search article .entry-thumbnail img {
    width: 64px;
}

body.category article .entry-content,
body.search article .entry-content {
    padding-top: 10px;
}

body.category article footer .entry-meta,
body.search article footer .entry-meta,
body.category article header h2,
body.search article header h2 {
    text-align: left!important;
    width: 80%;
}

.site-info {
    background-image: url(old-spip/design/page-bg-bottom_980px.jpg);
    background-repeat: no-repeat;
    min-height: 200px;
    padding: 73px 15px 0 0;
}

.site-description {
    background: transparent url(old-spip/design/puce-rouge.png) no-repeat center top;
    padding: 20px 20px 0 20px;
}

.breadcrumbs {
    padding: 10px 15px;
}

.hentry {
    padding: 15px 80px 70px 80px;
}

.breadcrumbs span:first-child span {
    visibility: hidden;
}

#menu-menu-pied-de-page {
    text-align: right;
}

#menu-menu-pied-de-page li {
    display: inline;
    background: transparent url(old-spip/design/puce-rouge_6px.png) no-repeat 0 50%;
    padding-left: 12px;
    margin-left: 15px;
}

#menu-menu-pied-de-page li a:hover {
    color: #990000;
}

#footer-credits {
    margin-top: 80px;
    text-align: right;
}

#footer-credits, #footer-credits > * {
    color: white;
}

.breadcrumbs {
    font-size: 12px;
}

#sticky-posts-2 .hentry {
    padding: 10px;
    border: 1px solid gray;
    text-align: left;
}

aside.widget.widget_ultimate_posts .entry-summary {
    padding: 0;
}

aside.widget.widget_ultimate_posts .entry-summary p:last-of-type {
    margin: 0;
}

aside.widget.widget_ultimate_posts h4 {
    font-size: 18px;
}

@media (max-width: 1199px) {
    #primary .siefar_primary_top {
        display: none;
    }
    .site-description {
        /* background-position: 10% 50%; */
        padding-top: 0;
        background-image: none;
    }
}

@media (min-width: 1200px) {
    #secondary .siefar_primary_top {
        display: none;
    }
    #site-navigation a {
        display: inline-block;
        max-width: 260px;
        line-height: 20px;
    }
}

.siefar_primary_top {
    background-color: #d2b231;
}



/**
 * http://kav.in/wordpress-dropdown-menu-wp-nav-menu-css/
 */

/* The container wrapping #primary .siefar_primary_top > div > ul */
#primary .siefar_primary_top > div {
    float: left;
    width: 100%;
    padding: 0;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
}
 
/* Top level Unordered list */
#primary .siefar_primary_top > div > ul {
    list-style: none;
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
}
 
#primary .siefar_primary_top > div > ul li {
    float: left; /* makes horiz list */
    position: relative; /* hey Submenu ULs, appear below! */
}
 
#primary .siefar_primary_top > div > ul > li {
    border: 1px solid #d2b231;
    border-width: 1px 0 1px 1px;
}
 
#primary .siefar_primary_top > div > ul a {
    padding: 0 12px; /*space the items, occupy entire height too.*/
    color: black;
    line-height: 30px;
    background-color: #ffffff;
    display: block;
}
 
#primary .siefar_primary_top > div > ul > li > a {
    padding: 0 45px; /*space the items, occupy entire height too.*/
}
 
/* Style the link hover */
#primary .siefar_primary_top > div > ul li a:hover {
    background: #cc1217;
    color: white;
}

#primary .siefar_primary_top > div > ul > li > ul {
    border: 1px solid #d2b231;
    margin-top: 3px;
    margin-left: -1px;
}

#primary .siefar_primary_top > div > ul > li ul {
    border: 1px solid #d2b231;
}
 
/* sub menus!!  */
 
#primary .siefar_primary_top > div > ul ul {
    list-style: none;
    margin: 0; /* Appear just below the hovering list */
    padding: 0;
    width: 300px; /* specify the width. */
    position: absolute; /* needed */
    z-index: 500; /* specify the order */
}
 
#primary .siefar_primary_top > div > ul li ul {
    top: 27px; /* Positioning:Calc with top level horz list height */
    -moz-box-shadow: 0 2px 10px #000; /* CSS 3 */
}
 
#primary .siefar_primary_top > div > ul ul ul {
    top: 0;
    left: 100%; /* Position the sub menus to right. */
}
 
#primary .siefar_primary_top > div > ul ul li {
    float: none; /* umm.. Appear below the previous one. mmkay? */
}
 
/* Drop Down! */
 
/* Hide all the dropdowns (submenus) */
#primary .siefar_primary_top > div > ul ul,
#primary .siefar_primary_top > div > ul li:hover ul ul,
#primary .siefar_primary_top > div > ul ul li:hover ul ul {
    display: none;
}
 
/* Display the submenus only when li are hovered */
#primary .siefar_primary_top > div > ul li:hover ul,
#primary .siefar_primary_top > div > ul ul li:hover ul ,
#primary .siefar_primary_top > div > ul ul li ul li:hover ul {
    display: block;
}
 
#primary .siefar_primary_top > div > ul li * a:hover {
/* Change color of links when hovered */
/*    background: #600; */
/*    background: -moz-linear-gradient( top, #200, #400); /* CSS 3 */
/*    border-bottom: 1px solid #900;
    border-top: 1px solid #222; */
}


#page_dossier_liste {
    overflow-y: auto;
    margin-left: -15px;
}

.page_dossier {
    background-color: lightgray;
    width: 230px!important;
    height: 290px!important;
    margin: 0 20px 20px 0;
    padding: 15px;
    display: inline-block;
    /*float: left;*/
    margin-top: 30px;
}

a.page_dossier:hover {
    opacity: 0.8;
}

#page_dossier_liste .page_dossier {
    margin: 0 0 15px 15px;
    display: inline-block;
}

#page_dossier_article_liste {
    font-size: 110%;
    padding-left: 18px;
}

#page_dossier_sommaire h2 {
    clear: both;
}

.page_dossier_with_thumb {
    background: transparent url() center top no-repeat;
    background-color: gray;
    background-size: 100%;
    color: white;
    /*text-shadow: 0 0 5px #000;*/
}



a.page_dossier_with_thumb:hover {
    color: white;
}

.page_dossier h2 {
    font-size: 25px;
    margin: 0;
}

.page_dossier_date {
    margin-top: 240px;
    display: block;
    text-align: right;
}

.page_dossier h2,
.page_dossier_date {
    position: absolute;
    width: 200px;
}

#page_dossier_liste .page_dossier {
    color: gray;
    margin-bottom: 290px;
}

#page_dossier_liste .page_dossier .page_dossier_num {
    display: inline-block;
    margin-top: 210px;
    color: #D2B231;
    background-color: white;
    padding: 5px 15px;
    font-size: 24px;
    font-family: serif;
    font-weight: bold;
    margin-bottom: 25px;
}

@media (min-width: 1200px) {
    #masthead {
        padding-top: 280px;
    }

    #masthead .hgroup {
        position: absolute;
        background-color: #484747;
        width: 1200px;
        height: 150px;
        z-index: 1;
        margin-top: -280px;
    }

    #masthead #site-navigation {
        border-top: 1px solid rgba(255, 255, 255, 0.1)
    }

    #primary {
        padding-top: 150px;
    }

    #menu-menu-secondaire-1 #searchform .field {
        height: 30px;
        min-height: 30px;
        border-radius: 0;
        text-align: center;
    }

    #main-sidebar #search-2 {
        display: none;
    }
}