/*
  Theme Name: TU Cuisines
  Description:  Thème custom (sur base CookingPress)
  Version:  0.1.0
  Author:   Asably
  */

body {
    word-wrap: normal;
    padding-top: 51px !important;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    background-color: white !important;
}
img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1.25em !important;
    width: 1.25em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
}

p {
    text-align: justify;
}

.home-intro {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}
.home-intro p {
    text-align: center;
}


.button,
input[type="button"],
input[type="submit"] {
    padding: 7px 14px;
    display: inline-block;
    border: 0;
    font-weight: 500;
    outline: none;
    font-size: 14px;
    cursor: pointer;
    width: auto;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    border-radius: 3px;
    box-shadow: inset 0px -1px 0px 0px rgba(0, 0, 0, 0.1);
}

.button i,
input[type="button"] i,
input[type="submit"] i {
    margin: 0 2px 0 0;
}

.button.black,
input[type="button"].black,
input[type="submit"].black {
    color: #aaa;
}

.tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.tabs-nav li {
    float: left;
    line-height: 38px;
    overflow: hidden;
    padding: 0;
    position: relative;
    text-align: center;
    margin: 0px;
    margin-right: 5px;
    border: 1px solid #bababa;
    border-bottom: 1px solid #E8E8E8;
}

.tabs-nav li:first-child {
    margin-left: 10px;
}

.tabs-nav li a {
    background-color: #fff;
    color: #888;
    font-weight: 500;
    display: block;
    letter-spacing: 0;
    outline: none;
    padding: 0 20px;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    box-shadow: none;
}

.tabs-nav li.active {
    top: 1px;
}

.tabs-nav li.active a {
    background: #E8E8E8;
    color: #444;
}

.tab-content {
    padding: 10px 0px;
}

.tab-content img {
    max-width: 100%;
}

.tabs-container {
    overflow: hidden;
    width: 100%;
    border-top: 1px solid #bababa;
    border-bottom: 1px solid #bababa;
    margin-bottom: 20px;
}


.toggle-container p {
    margin: 0;
}

.ui-accordion-icon-active:before,
.trigger.active .toggle-icon:before {
    content: "\f078";
}

.faq .toggle-icon:before,
.faq .trigger.active .toggle-icon:before {
    content: "\f078";
}

.skill-bar {
    height: 38px;
    position: relative;
    margin: 0 0 14px 0;
    background-color: #f2f2f2;
}

.skill-title {
    color: #fff;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 3px 0 0 3px;
    padding: 8px 14px;
    display: block;
    float: left;
    position: relative;
    z-index: 5;
}

.skill-title i {
    margin: 0 3px 0 0;
}

.skill-bar-value {
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    background: #a0a0a0;
    overflow: visible !important;
}

.notification {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 15px;
    position: relative;
    padding: 13px 40px 13px 18px;
    border-radius: 3px;
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.03);
}

.woocommerce-message {
    padding: 15px 0px;
}

.woocommerce .notification {
    padding: 7px 36px 7px 13px;
}

.woocommerce-message p,
.notification p {
    margin: 0;
}

.notification span {
    font-weight: 600;
}

.notification.success,
.notification.success strong {
    background-color: #EBF6E0;
    color: #5f9025;
}

.notification.error,
.notification.error strong {
    background-color: #ffe9e9;
    color: #de5959;
}

.notification.warning,
.notification.warning strong {
    background-color: #FBFADD;
    color: #8f872e;
}

.notification.notice,
.notification.notice strong {
    background-color: #E9F7FE;
    color: #5091b2;
}

.notification strong {
    border: none !important;
}

.notification.success .close,
.notification.error .close,
.notification.warning .close,
.notification.notice .close {
    padding: 0px 9px;
    position: absolute;
    right: 0;
    top: 22px;
    display: block;
    height: 8px;
    width: 8px;
    cursor: pointer;
}

table.standard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none;
    margin-bottom: 15px;
}

table.standard-table th {
    border: 1px solid #bababa;
    border-right: none;
    text-align: left;
    padding: 10px 15px;
    vertical-align: top;
    font-size: 14px;
    font-weight: 600;
}

table.standard-table th:first-child {
    border-radius: 3px 0 0 0;
}

table.standard-table th:last-child {
    border-radius: 0 3px 0 0;
}

table.standard-table td:last-child {
    border-right: 1px solid #bababa;
}

table.standard-table th:last-child {
    border-right: 1px solid #bababa;
}

table.standard-table td {
    padding: 10px 15px;
    border: 1px solid #bababa;
    border-top: none;
    border-right: none;
}

table.standard-table tr:hover td {
    background-color: #ffffff;
}

table.standard-table tr {
    border-radius: 3px;
}

.dropcap {
    float: left;
    color: #a0a0a0;
    font-size: 58px;
    line-height: 54px;
    padding-top: 4px;
    padding-right: 10px;
    margin-top: -2px;
}

.dropcap.gray {
    color: #555;
}

.highlight.color,
.highlight.gray,
.highlight.light {
    padding: 2px 6px;
    color: #fff;
    border-radius: 3px;
    box-shadow: inset 0px -1px 0px 0px rgba(0, 0, 0, 0.1);
}

.highlight.color {
    background: #a0a0a0;
}

.highlight.gray {
    background: #aaa;
}

.highlight.light {
    background: #f2f2f2;
    color: #888;
    box-shadow: inset 0px -1px 0px 0px rgba(0, 0, 0, 0.05);
}

.notice-box {
    background: #f8f8f8;
    padding: 32px 28px;
    border-radius: 4px;
    margin: 0 0 20px 0;
    box-shadow: inset 0px -1px 0px 0px rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    text-align: center;
}

.notice-box,
.notice-box i,
.notice-box p,
.notice-box h3 {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.notice-box p {
    margin: 0;
    color: #777;
}

.notice-box h3 {
    line-height: 26px;
    padding-bottom: 8px;
}

.notice-box i {
    font-size: 80px;
    height: 80px;
    color: #a0a0a0;
    margin: 10px 0;
    display: block;
}

.notice-box:hover {
    background: #a0a0a0;
    color: #fff;
    box-shadow: inset 0px -1px 0px 0px rgba(0, 0, 0, 0.1);
}

.notice-box:hover h3,
.notice-box:hover p,
.notice-box:hover i {
    color: #fff;
}

/*
.list-1 li,
.list-2 li,
.list-3 li,
.list-4 li {
    list-style: none;
    margin: 7px 0;
    margin-left: 2px;
    line-height: 18px;
}

.list-1 ul,
.list-2 ul,
.list-3 ul,
.list-4 ul {
    margin-left: 0px;
}

.list-1 li:first-child,
.list-2 li:first-child,
.list-3 li:first-child,
.list-4 li:first-child {
    margin-top: 0;
}

.list-1 li:before,
.list-2 li:before,
.list-3 li:before,
.list-4 li:before {
    content: "\f00c";
    font-family: "FontAwesome";
    margin: 0 7px 0 0;
    position: relative;
    color: #a0a0a0;
}

.list-1 li:before {
    content: "\f00c";
}

.list-2 li:before {
    content: "\f054";
}

.list-3 li:before {
    content: "\f058";
}

.list-4 li:before {
    content: "\f138";
}
*/

input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"],
textarea,
select {
    border: 1px solid #e0e0e0;
    padding: 8px 9px;
    outline: none;
    font-size: 14px;
    color: #888;
    margin: 0;
    max-width: 100%;
    display: block;
    background: #fff;
    -webkit-box-shadow: inset 1px 1px 2px 0px rgba(0, 0, 0, 0.06);
    box-shadow: inset 1px 1px 2px 0px rgba(0, 0, 0, 0.06);
    border-radius: 3px;
}

select {
    padding: 0;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
    border: 1px solid #d6d6d6;
    color: #888;
}

textarea {
    min-height: 60px;
}

label,
legend {
    display: block;
    font-weight: bold;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 5px;
}

input[type="checkbox"] {
    display: inline;
}

label span,
legend span {
    font-weight: normal;
    font-size: 14px;
    color: #444;
}

.clear {
    clear: both;
}

.row-offset-0 {
    margin-left: 0;
    margin-right: 0;
}

.row-offset-0 > * {
    padding-left: 0;
    padding-right: 0;
}

a {
    text-decoration: none;
    color: #FF0000;
    cursor: pointer;
}
a:visited, a:focus {
    text-decoration: none;
    color: #FF0000;
}
a:hover {
    /*text-decoration: underline;*/
    /*font-weight: bold;*/
    text-decoration: none;
    color: #FF6666;
    /*color: #F99;*/
}

.dropdown-menu {
    padding: 0;
}
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus,
.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {
    background-color: #FF6666;
    color: #FFFFFF;
    text-decoration: none;
}


body {
    background: url("images/bg/content-bg.gif") repeat scroll center center #F0F0F0;
    font-family: Arial, sans-serif;
    /*     font-family: 'Open Sans', 'lucida grande', 'Georgia', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    margin-top: 0 !important;
}

body.full-width,
body.single-attachment {
    /*background-image: none;*/
}

body.full-width .published-time span,
body.single-attachment .published-time span {
    text-transform: none;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 1px;
}

header {
    padding: 10px 0px;
}

header .site-branding h2,
header .site-branding h1 {
    line-height: 20px;
    font-size: 40px;
    margin-bottom: 5px;
}

header .site-branding a {
    margin: 10px 0px 0px;
    text-decoration: none;
    display: block;
}

header .site-branding span {
    font-size: 15px;
    font-weight: normal;
}

header select.selectnav {
    display: none !important;
    width: 100%;
    height: 36px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857;
    color: #555555;
    vertical-align: middle;
    background-color: #ffffff;
    background-image: none;
    border: none;
}

/* contains "header form.search-form" */
header .widget {
    margin: 0;
    float: right;
    /*     border: 1px solid lightgray; */
    border-radius: 8px;
}

header .widget input[type='search'] {
    width: auto;
    line-height: 23px;
    height: 23px;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -webkit-appearance: none;
    outline: 0;
}

header .widget .search-btn {
    height: 43px;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -webkit-appearance: none;
    outline: 0;
}

#site-navigation ul.sf-menu {
    display: block;
}

.sf-menu,
.sf-menu * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-menu li {
    position: relative;
}

.sf-menu ul {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    z-index: 99;
}

.sf-menu > li {
    float: left;
}

.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
    display: block;
}

.sf-menu a {
    display: block;
    position: relative;
}

.sf-menu ul ul {
    top: 0;
    left: 100%;
}

#site-navigation ul {
    font-weight: normal;
    list-style: none;
    float: left;
    font-style: normal;
}

#site-navigation div.menu ul > li,
#site-navigation ul.menu > li {
    float: left;
    position: relative;
    margin-right: 5px;
}

#site-navigation div.menu ul > li.current-menu-parent,
#site-navigation div.menu ul > li.current_page_item,
#site-navigation ul.menu > li.current-menu-parent,
#site-navigation ul.menu > li.current_page_item {
    background: #f33;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-top-left-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    -moz-border-radius-topleft: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    -moz-background-clip: padding-box;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

#site-navigation div.menu ul > li.current-menu-parent:before,
#site-navigation div.menu ul > li.current_page_item:before,
#site-navigation div.menu ul > li.current-menu-parent > a,
#site-navigation div.menu ul > li.current_page_item > a,
#site-navigation ul.menu > li.current-menu-parent:before,
#site-navigation ul.menu > li.current_page_item:before,
#site-navigation ul.menu > li.current-menu-parent > a,
#site-navigation ul.menu > li.current_page_item > a {
    color: #fff;
}

#site-navigation div.menu ul > li.current-menu-parent:before:hover,
#site-navigation div.menu ul > li.current_page_item:before:hover,
#site-navigation div.menu ul > li.current-menu-parent > a:hover,
#site-navigation div.menu ul > li.current_page_item > a:hover,
#site-navigation ul.menu > li.current-menu-parent:before:hover,
#site-navigation ul.menu > li.current_page_item:before:hover,
#site-navigation ul.menu > li.current-menu-parent > a:hover,
#site-navigation ul.menu > li.current_page_item > a:hover {
    color: #000;
}

#site-navigation div.menu ul > li.menu-item-has-children,
#site-navigation ul.menu > li.menu-item-has-children {
    padding-right: 5px;
}

#site-navigation div.menu ul > li.menu-item-has-children:before,
#site-navigation ul.menu > li.menu-item-has-children:before {
    content: ""; /* Supprime l'unicode FontAwesome */
    display: inline-block;
    width: 10px;
    height: 10px;
    position: absolute;
    right: 3px;
    top: 10px;
    padding-right: 2px;
    
    /* Chevron bas SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23666' d='M207.029 381.476L12.686 187.133c-9.373-9.373-9.373-24.569 0-33.941l22.627-22.627c9.373-9.373 24.569-9.373 33.941 0L224 284.505l154.745-153.94c9.373-9.373 24.569-9.373 33.941 0l22.627 22.627c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#site-navigation div.menu ul > li.menu-item-has-children :hover,
#site-navigation ul.menu > li.menu-item-has-children :hover {
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-top-left-radius: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-topleft: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 3px;
    -moz-background-clip: padding-box;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    color: #000;
}

#site-navigation div.menu ul ul,
#site-navigation ul.menu ul {
    position: absolute;
    top: auto;
    display: none;
    padding: 5px 0px;
    margin: -1px 0 0 0px;
    background: #fff;
    -webkit-box-shadow: 2px 4px 3px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 2px 4px 3px rgba(0, 0, 0, 0.05);
    box-shadow: 2px 4px 3px rgba(0, 0, 0, 0.05);
}

#site-navigation div.menu ul ul ul,
#site-navigation ul.menu ul ul {
    left: 200px;
    margin-top: -30px;
    background: #fff;
}

#site-navigation div.menu ul li.sfHover > a,
#site-navigation ul.menu li.sfHover > a {
    background: #fff;
}

#site-navigation div.menu ul li ul,
#site-navigation ul.menu li ul {
    -webkit-border-top-right-radius: 0px;
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-top-left-radius: 3px;
    -moz-border-radius-topright: 0px;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-topleft: 3px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    -moz-background-clip: padding-box;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    z-index: 109;
}

#site-navigation div.menu ul li ul li,
#site-navigation ul.menu li ul li {
    float: none;
    width: 200px;
}

#site-navigation div.menu ul li,
#site-navigation ul.menu li {
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

#site-navigation div.menu ul li.sfHover,
#site-navigation ul.menu li.sfHover {
    background-color: #fff;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-top-left-radius: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-topleft: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 3px;
    -moz-background-clip: padding-box;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

#site-navigation div.menu ul li.sfHover a,
#site-navigation ul.menu li.sfHover a {
    color: #000;
}

#site-navigation div.menu ul li a,
#site-navigation ul.menu li a {
    padding: 10px 15px;
    color: #444;
    font-size: 14px;
    display: block;
    text-decoration: none;
    position: relative;
}

#site-navigation ul.menu li:not(.menu-item-has-children) a:hover {
    background: #fff;
    color: #000;
    -webkit-border-top-right-radius: 0px;
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-top-left-radius: 3px;
    -moz-border-radius-topright: 0px;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-topleft: 3px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

#site-navigation div.menu ul li ul li a,
#site-navigation ul.menu li ul li a {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

#site-navigation div.menu ul li ul li a:hover,
#site-navigation ul.menu li ul li a:hover {
    padding-left: 15px;
}

#site-navigation div.menu ul li.active > a,
#site-navigation ul.menu li.active > a {
    z-index: 110;
    -webkit-border-top-right-radius: 0px;
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-top-left-radius: 3px;
    -moz-border-radius-topright: 0px;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-topleft: 3px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    -moz-background-clip: padding-box;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    z-index: 110;
    margin: 0px;
}

#site-navigation div.menu ul > li ul li a,
#site-navigation ul.menu > li ul li a {
    border: none;
    font-style: normal;
}

#site-navigation div.menu ul > li ul li a:hover,
#site-navigation ul.menu > li ul li a:hover {
    background: #eee;
}

#site-navigation label {
    display: none;
}

#site-navigation form {
    margin-right: 0px;
}

#site-navigation #searchform input#s {
    width: 150px;
}

.sidebar {
    margin-top: 28px;
}

.sidebar h3 {
    font-size: 18px;
    font-weight: normal;
    margin: 8px 0 20px;
    background: url("images/double-line.png") repeat-x scroll center center transparent;
    color: rgba(0, 0, 0, 0.9);
}

.sidebar h3 span {
    background: #fff;
    padding: 0 10px 10px 0px;
}

#custom_html-3 {
    margin-bottom: 15px;
}
#a2a_follow_widget-3 {
    margin-bottom: 50px;
}


#mainslider {
    background: #000;
    border: 6px solid #fff;
    margin-top: 30px;
    position: relative;
    margin-bottom: 30px;
}

#mainslider::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 5%;
    width: 90%;
    height: 20px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 100px / 10px; /* Crée la courbure */
    filter: blur(6px);          /* Adoucit le rendu */
    z-index: -1;
}

#mainslider li {
    margin-bottom: 0px;
}

img.rsImg {
    object-fit: contain;
    max-width: 100% !important;
}

@media screen and (min-width: 0px) and (max-width: 500px) {
    .videoGallery .rsTmb {
        padding: 6px 8px;
    }

    .videoGallery .rsTmb h5 {
        font-size: 12px;
        line-height: 17px;
    }

    .videoGallery .rsThumbs.rsThumbsVer {
        width: 100px;
        padding: 0;
    }

    .videoGallery .rsThumbs .rsThumb {
        width: 100px;
        height: 47px;
    }

    .videoGallery .rsTmb span {
        display: none;
    }

    .videoGallery .rsOverflow,
    .royalSlider.videoGallery {
        height: 300px !important;
    }

    .sampleBlock {
        font-size: 14px;
    }
}

#video-gallery.rsDefault {
    width: 100%;
    height: 460px;
    overflow: auto;
}

#video-gallery.rsDefault .rsNavItem.rsThumb {
    height: auto;
}

#video-gallery.rsDefault .rsThumb,
#video-gallery.rsDefault .rsThumbsVer {
    width: 250px;
}

#video-gallery.rsDefault .rsThumb img {
    width: auto;
    height: auto;
    display: block;
    float: right;
    margin-left: 10px;
}

#video-gallery.rsDefault .rsThumb .rsTmb {
    display: block;
    font-size: 14px;
    margin-right: 1px;
    opacity: 0.6;
    padding: 5px 10px;
    text-decoration: none;
    overflow: hidden;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    border-bottom: 1px solid #111111;
    border-top: 1px solid #555555;
    color: #FFFFFF;
}

#video-gallery.rsDefault .rsGCaption {
    position: absolute;
    float: none;
    bottom: 50px;
    left: inherit;
    right: 250px;
    text-align: right;
    background: transparent;
    color: #fff;
    padding: 0px;
    width: auto;
    font-size: 12px;
    border-radius: 0px;
}

#video-gallery.rsDefault .rsGCaption h2 {
    font-size: 26px;
    padding: 10px;
    text-align: right;
    background: #fff;
    margin: 0px;
    font-weight: normal;
}

#video-gallery.rsDefault .rsGCaption p {
    font-size: 14px;
    color: #999;
    margin-right: 20px;
    background: #000;
    display: inline;
    padding: 10px;
    line-height: 28px;
    text-align: right;
}

#video-gallery.rsDefault .rsGCaption p span {
    color: #eee;
    font-style: italic;
}

#video-gallery.rsDefault .rsGCaption p a {
    color: #fff;
    text-decoration: underline;
}

#video-gallery.rsDefault .rsThumb.rsNavSelected {
    opacity: 1;
    background: none;
}

#video-gallery.rsDefault .rsThumb.rsNavSelected .rsTmb {
    opacity: 1;
}

#video-gallery.rsDefault .rsThumb.rsNavSelected img {
    opacity: 1;
}

#video-gallery.rsDefault .rsThumb:hover {
    opacity: 1;
}

.entry-header {
    font-size: 28px;
    line-height: 34px;
    color: rgba(0, 0, 0, 0.9);
    /*     font-family: cursive; */
    /*     font-family: 'Droid Serif', sans-serif; */
    font-weight: normal;
    margin: 0 0px 10px;
    padding: 10px;
    text-align: center;
}

.entry-header .post-thumbnail {
    padding: 0;
    background: white;
    margin-bottom: 25px;
    border: 1px solid lightgray;
    box-shadow: 2px 2px 10px 2px rgba(0,0,0,0.3);
}

.page .entry-header {
    padding-top: 0px;
}

.page .published-time {
    margin-top: 0px;
}

.page .post .published-time {
    margin-top: 10px;
}

.page-type {
    background: url("images/double-line.png") repeat-x scroll center center transparent;
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 1px;
    text-align: center;
    text-transform: uppercase;
}
.page-type span {
    background: #F0F0F0;
    padding: 0 10px;
}

.page-title {
    font-size: 42px;
    line-height: 42px;
	font-weight: normal;
    margin: 15px 0 30px 0;
    text-align: center;
	color: #FF0000;
}

.entry-title {
    font-size: 34px;
    line-height: 34px;
    margin-bottom: 10px;
}

.entry-title a {
    text-shadow: 1px 1px 1px #fff;
}

#author-desc {
    margin-bottom: 24px;
    padding-left: 95px;
}

.single .published-time {
    margin: 10px 0px;
}

.single .entry-header {
    padding: 10px 0px;
}

.single .entry-meta {
    font-size: 11px;
    text-transform: uppercase;
    font-family: 'Droid Sans', sans-serif;
    margin-top: 18px;
    clear: both;
}

.single .entry-meta .post-meta {
    padding: 0px;
}

.single .entry-meta .post-meta li {
    float: left;
}

.flexslider {
    overflow: hidden;
}

.flexslider.shortcode {
    margin: 20px 0px;
}

.flexslider.shortcode .flex-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #fff;
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    -webkit-opacity: 0.7;
    opacity: 0.7;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
    filter: alpha(opacity=70);
    color: #000;
    padding: 20px 20px 0px;
}






.dropcap {
    color: #000;
}

a.btn,
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    color: #fff;
}

.btn:focus {
    outline: thin dotted #333;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.btn:hover,
.btn:focus {
    color: #333;
    text-decoration: none;
}

.btn:active,
.btn.active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
    pointer-events: none;
    cursor: not-allowed;
    opacity: .65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-default,
a.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
    color: #333;
    background-color: #ebebeb;
    border-color: #adadad;
}

.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
    background-image: none;
}

.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
    background-color: #fff;
    border-color: #ccc;
}

.btn-primary {
    color: #fff;
    background-color: #428bca;
    border-color: #357ebd;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #3276b1;
    border-color: #285e8e;
}

.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    background-image: none;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    background-color: #428bca;
    border-color: #357ebd;
}

.btn-warning {
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.open .dropdown-toggle.btn-warning {
    color: #fff;
    background-color: #ed9c28;
    border-color: #d58512;
}

.btn-warning:active,
.btn-warning.active,
.open .dropdown-toggle.btn-warning {
    background-image: none;
}

.btn-warning.disabled,
.btn-warning[disabled],
fieldset[disabled] .btn-warning,
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled:active,
.btn-warning[disabled]:active,
fieldset[disabled] .btn-warning:active,
.btn-warning.disabled.active,
.btn-warning[disabled].active,
fieldset[disabled] .btn-warning.active {
    background-color: #f0ad4e;
    border-color: #eea236;
}

.btn-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.open .dropdown-toggle.btn-danger {
    color: #fff;
    background-color: #d2322d;
    border-color: #ac2925;
}

.btn-danger:active,
.btn-danger.active,
.open .dropdown-toggle.btn-danger {
    background-image: none;
}

.btn-danger.disabled,
.btn-danger[disabled],
fieldset[disabled] .btn-danger,
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
fieldset[disabled] .btn-danger:active,
.btn-danger.disabled.active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger.active {
    background-color: #d9534f;
    border-color: #d43f3a;
}

.btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
    color: #fff;
    background-color: #47a447;
    border-color: #398439;
}

.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
    background-image: none;
}

.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.btn-info {
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.open .dropdown-toggle.btn-info {
    color: #fff;
    background-color: #39b3d7;
    border-color: #269abc;
}

.btn-info:active,
.btn-info.active,
.open .dropdown-toggle.btn-info {
    background-image: none;
}

.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
    background-color: #5bc0de;
    border-color: #46b8da;
}

a.btn-link {
    font-weight: normal;
    color: #428bca;
    cursor: pointer;
    border-radius: 0;
}

a.btn-link,
.btn-link:active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

a.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
    border-color: transparent;
}

a.btn-link:hover,
.btn-link:focus {
    color: #2a6496;
    text-decoration: underline;
    background-color: transparent;
}

a.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:hover,
.btn-link[disabled]:focus,
fieldset[disabled] .btn-link:focus {
    color: #999;
    text-decoration: none;
}

.btn-lg {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 6px;
}

.btn-sm,
.btn-xs {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-xs {
    padding: 1px 5px;
}

.btn-block {
    display: block;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}

.btn-block + .btn-block {
    margin-top: 5px;
}

.mainfooter {
    box-shadow: 0 -1px 1px 4px rgba(0, 0, 0, 0.05);
    border: 0px;
    background: url("images/pattern.jpg");
    padding-top: 35px;
}

#footer-container {
    background: #FFFFFF;
    border: 1px solid #ddd;
    border-radius: 1px 1px 1px 1px;
    box-shadow: 0 0 0 5px #FFFFFF;
}

#footer-container .widget {
    padding: 20px 30px;
}

#footer-container h3 {
    font-size: 21px;
    margin-bottom: 15px;
}

#footer-container h3 span {
    background: #fff;
    padding: 0px 10px 0px 0px;
}

#footer-container #colophon {
    border-top: 1px solid #ddd;
    padding: 0px 10px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#footer-container #colophon a {
    padding: 10px 10px;
}

div.attachment {
    text-align: center;
    /*     background: #000; */
    position: relative;
}

div.attachment img {
    margin: 0px auto;
    padding: 20px;
    border: 2px solid gray;
    background: #FFF;
    border: 2px solid lightgray;
}

div.attachment .image-navigation {
    position: absolute;
    width: 100%;
    height: 100%;
}

div.attachment .nav-next,
div.attachment .nav-previous {
    /* position: absolute; */
    /* top: 50%; */
    /*background: rgba(256,256,256,0.5);*/
    padding: 20px;
    height: 100%;
    display: table;
}

div.attachment .nav-previous {
    /* left: 0px; */
    float: left;
}

div.attachment .nav-next {
    /* right: 0px; */
    float: right;
}

div.attachment .nav-next a,
div.attachment .nav-previous a {
    display: table-cell;
    vertical-align: middle;
    font-size: 120px;
    color: white;
    text-shadow: 0px 0px 20px gray;
    opacity: 0.8;
}

@media screen and  (max-width: 600px) {
    div.attachment .nav-next a, div.attachment .nav-previous a {
        font-size: 100px;
    }
}

@media screen and  (max-width: 500px) {
    div.attachment .nav-next a, div.attachment .nav-previous a {
        font-size: 80px;
    }
}

@media screen and  (max-width: 415px) {
    div.attachment .nav-next a, div.attachment .nav-previous a {
        font-size: 60px;
    }
}

div.attachment a {
    color: #ddd;
}

.entry-caption {
    font-size: 22px;
    text-align: center;
    margin-bottom: 30px;
}

.entry-caption .backlink {
    font-size: initial;
    padding: 10px 0;
    display: block;
}

.entry-caption .at-above-post {
    font-size: initial;
}

.post-thumbnail {
    text-align: center;
    margin-bottom: .25rem;
}

.post-thumbnail img {
    width: 100%;                  /* L'image prend toute la largeur disponible */
    aspect-ratio: 16 / 9;         /* Tu imposes directement un ratio horizontal (ou 2 / 1, etc.) */
    object-fit: cover;            /* L'image est rognée proprement pour remplir le cadre sans déformation */
}

.cp-read-more {
    display: block;
    color: #999;
}

#primary .grid {
    margin-top: 20px;
}

#primary .grid .page,
#primary .grid .post {
    background: #fff;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    padding: 0;
}

@media all and (-ms-high-contrast: none) {
    #primary .grid .page,
    #primary .grid .post {
        width: 350px;
    }
}

#primary .grid .page.sticky,
#primary .grid .page.sticky footer,
#primary .grid .post.sticky,
#primary .grid .post.sticky footer {
    background: url("images/recipe/yellowcard-bg.png") no-repeat scroll right top #FFFF9E;
}

#primary .grid .page.sticky .published-time span,
#primary .grid .page.sticky footer .published-time span,
#primary .grid .post.sticky .published-time span,
#primary .grid .post.sticky footer .published-time span {
    background: #FFFF9E;
}

#primary .grid .page.sticky footer,
#primary .grid .post.sticky footer {
    box-shadow: 0 0 10px #F1F15C inset;
}

#primary .grid .page .entry-content,
#primary .grid .post .entry-content {
    margin: 0 15px;
    padding: 10px;
}

#primary .grid .page .entry-content .at-above-post,
#primary .grid .post .entry-content .at-above-post {
    display: none;
}

#primary .grid .page .published-time span,
#primary .grid .post .published-time span {
    background: #fff;
}

#primary .grid .page a.entry-title,
#primary .grid .post a.entry-title {
    display: block;
    color: #FF0000;
    font-size: 20px;
    font-weight: normal;
    margin: 0;
    padding: 0;
    text-align: center;
}
#primary .grid .page a.entry-title h2,
#primary .grid .post a.entry-title h2 {
    font-size: 1em;
    margin: .5em 1em;
}

#primary .grid .page .attachment-post-thumbnail,
#primary .grid .post .attachment-post-thumbnail {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

#primary .grid .page .attachment-post-thumbnail:hover,
#primary .grid .post .attachment-post-thumbnail:hover {
    opacity: 0.6;
}

#primary .grid .page footer,
#primary .grid .post footer {
    background: url("images/double-line.png") repeat-x scroll top center #fafafa;
    box-shadow: 0 0 10px #fff inset;
    padding: 10px 0px;
    margin-top: 10px;
    font-size: 11px;
    font-family: "Arial", sans-serif;
}

#primary .grid .page footer ul,
#primary .grid .post footer ul {
    list-style: none;
    margin: 0px;
    padding: 0px 15px;
    overflow: hidden;
}

.published-time {
    display: block;
    font-size: 11px;
    margin: 10px 15px 0px;
    text-align: center;
    text-decoration: none;
    background: url("images/double-line.png") repeat-x scroll center transparent;
}

.published-time a {
    color: #333;
}

.published-time a:visited {
    color: #333;
}

.published-time span {
    background: #F0F0F0;
    display: inline-block;
    padding: 0px 10px;
    font-family: "Lucida Grande", Tahoma;
    font-size: 12px;
    font-weight: lighter;
    font-variant: normal;
    text-transform: uppercase;
    text-align: center !important;
    letter-spacing: 0.3em;
}

.post-meta {
    list-style: none;
    margin: 0px;
    padding: 0px 15px;
    overflow: hidden;
    font-size: 10px;
}


.post-meta a:hover {
    text-decoration: none;
}

.post-meta li {
    float: right;
    padding-right: 1em;
    margin-bottom: .25em;
    display: flex;
    flex-flow: row nowrap;
    gap: 0.25em;
    font-size: 1.25em;
}

iframe.twitter-tweet {
    margin: 0px auto 40px !important;
}

#nav-below {
    background: url("images/double-line.png") repeat-x scroll center top #FAFAFA;
    box-shadow: 0 0 10px #FFFFFF inset;
    clear: both;
    margin: 35px 0;
    overflow: hidden;
    padding: 10px;
}

#nav-below span {
    font-size: 10px;
    font-style: italic;
    text-decoration: none;
    text-transform: none;
}

#nav-below img {
    background: #E8E8E8;
    border: 1px solid #E8E8E8;
    padding: 5px;
    float: left;
    margin-right: 10px;
}

#nav-below .nav-next img {
    float: right;
    margin-right: 0px;
    margin-left: 10px;
}

#nav-below a:hover {
    color: #808080;
    text-decoration: none;
}

#nav-below .nav-previous {
    float: left;
    width: 49%;
    text-align: left;
    cursor: pointer;
}

#nav-below .nav-next {
    float: right;
    width: 49%;
    text-align: right;
    cursor: pointer;
}

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

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

.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.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: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.hentry {
    margin: 0 0 1.5em;
}

.byline,
.updated {
    display: none;
}

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

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

.page-links {
    clear: both;
    margin: 0 0 1.5em;
    font-weight: bold;
    font-size: 16px;
    background: url("images/double-line.png") repeat-x scroll center top;
    padding-top: 10px;
}

.page-links a {
    font-weight: normal;
}

#author-data h4 {
    margin-bottom: 10px;
}

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
    display: none;
}

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

.wp-caption {
    border: 1px solid #ccc;
    margin-bottom: 1.5em;
    max-width: 100%;
    background: #fff;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 1.2% auto 0;
    max-width: 98%;
}

dl.wp-caption dt {
    float: none;
    width: 100%;
    clear: none;
    overflow: auto;
}

dl.wp-caption dd {
    margin: 10px;
}

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

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

.site-main .gallery {
    margin-bottom: 1.5em;
}

embed,
object {
    max-width: 100%;
}

.comment-content a {
    word-wrap: break-word;
}

.search-form {
    overflow: hidden;
    position: relative;
    border: 1px solid #FF0000 !important;
    border-left: 5px solid #FF0000 !important;
    padding: 0;
}
.search-form i.icon.icon-search{
    color: #FF0000;
    font-size: 18px;
}

.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

.widget .search-submit {
    display: none;
}

.widget ul {
    list-style: circle;
    padding: 0px;
    padding-left: 18px;
    margin-top: 20px;
}


.widget ul li {
    margin-top: 5px;
}

.widget input[type="search"] {
    color: #FF0000;
    background: #F0F0F0;
    border: 0px;
    z-index: 1;
    position: relative;
    font-size: 16px;
    width: 100%;
    padding: 10px 12px;
    line-height: 18px;
    height: 18px;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -webkit-appearance: none;
    outline: 0;
    box-sizing: content-box;
}

.widget .search-btn {
    background-color: #F0F0F0;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -webkit-appearance: none;
    outline: 0;
    border: 0px;
    font-size: 16px;
    color: #444;
    cursor: pointer;
    z-index: 5;
    position: absolute;
    right: 0px;
    padding: 0px 8px;
    line-height: 18px;
    margin: 0;
    height: 38px;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.widget.purepress-share {
    margin-bottom: 100px;
}

.widget.purepress-recent ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.widget.purepress-recent ul li {
    overflow: hidden;
    margin-bottom: 15px;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.widget.purepress-recent ul li:hover {
    padding-left: 10px;
}

.widget.purepress-recent ul .widget-thumb {
    float: left;
    margin-right: 10px;
}

.widget.purepress-recent ul .widget-thumb img {
    max-width: 80px;
    height: auto;
    border: 1px solid #F0F0F0;
    padding: 3px;
    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
}

.widget.purepress-recent ul .widget-thumb img:hover {
    opacity: 0.6;
    border: 1px solid #ddd;
}

.widget.purepress-recent ul .widget-text a {
    display: block;
    margin-bottom: 5px;
}

.widget.purepress-recent ul .widget-text span {
    text-transform: uppercase;
    font-size: 10px;
    font-family: "Arial", sans-serif;
}

.widget.purepress-share input {
    display: inline;
}

.widget.purepress-share ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.widget.purepress-share ul li {
    float: left;
    margin-right: 10px;
}

.widget.purepress-share ul li#share-pinterest {
    padding-top: 30px;
}

.advsearch-container {
    border-radius: 5px 5px 5px 5px;
    text-align: left;
    border-radius: 0px;
    background: #fff;
    padding: 5px;
    margin-bottom: 40px;
}

.advsearch-container .advsearch {
    padding: 20px 20px 20px;
    border: 1px solid #ddd;
}

.advsearch-container fieldset {
    border: 0px;
}

.advsearch-container select {
    min-width: 200px;
}

.advsearch-container select#include_ing,
.advsearch-container select#exclude_ing {
    min-width: 400px;
}

.advsearch-container label {
    width: 150px;
    float: left;
    display: block;
}

.advsearch-container label.full {
    float: none;
    width: 100%;
}

.advsearch-container p {
    padding: 10px;
    margin: 0px;
}

.advsearch-container input#s {
    background-color: #FFFFFF;
    background-image: -moz-linear-gradient(center top, #F0F0F0 1%, #FFFFFF 15%);
    border: 1px solid #AAAAAA;
    cursor: text;
    height: auto !important;
    margin: 0;
    overflow: hidden;
    padding: 3px 5px;
    width: 235px;
    border-radius: 0px;
    position: relative;
}

.infinite-scroll .paging-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

.infinity-end.neverending .site-footer {
    display: block;
}

.chosen-container {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-size: 13px;
    zoom: 1;
    *display: inline;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.chosen-container .chosen-drop {
    position: absolute;
    top: 100%;
    left: -9999px;
    z-index: 1010;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #aaa;
    border-top: 0;
    background: #fff;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
}

.chosen-container.chosen-with-drop .chosen-drop {
    left: 0;
}

.chosen-container a {
    cursor: pointer;
}

.chosen-container-single .chosen-single {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 0 0 0 8px;
    height: 23px;
    border: 1px solid #aaa;
    border-radius: 5px;
    background-color: #fff;
    background: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(20%, #fff), color-stop(50%, #f6f6f6), color-stop(52%, #eee), color-stop(100%, #f4f4f4));
    background: -webkit-linear-gradient(top, #fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%);
    background: -moz-linear-gradient(top, #fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%);
    background: -o-linear-gradient(top, #fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%);
    background: linear-gradient(top, #fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%);
    background-clip: padding-box;
    box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1);
    color: #444;
    text-decoration: none;
    white-space: nowrap;
    line-height: 22px;
}

.chosen-container-single .chosen-default {
    color: #999;
}

.chosen-container-single .chosen-single span {
    display: block;
    overflow: hidden;
    margin-right: 26px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chosen-container-single .chosen-single-with-deselect span {
    margin-right: 38px;
}

.chosen-container-single .chosen-single abbr {
    position: absolute;
    top: 6px;
    right: 26px;
    display: block;
    width: 12px;
    height: 12px;
    background: url(images/chosen-sprite.png) -42px 1px no-repeat;
    font-size: 1px;
}

.chosen-container-single .chosen-single abbr:hover {
    background-position: -42px -10px;
}

.chosen-container-single.chosen-disabled .chosen-single abbr:hover {
    background-position: -42px -10px;
}

.chosen-container-single .chosen-single div {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 18px;
    height: 100%;
}

.chosen-container-single .chosen-single div b {
    display: block;
    width: 100%;
    height: 100%;
    background: url(images/chosen-sprite.png) no-repeat 0 2px;
}

.chosen-container-single .chosen-search {
    position: relative;
    z-index: 1010;
    margin: 0;
    padding: 3px 4px;
    white-space: nowrap;
}

.chosen-container-single .chosen-search input[type=text] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 1px 0;
    padding: 4px 20px 4px 5px;
    width: 100%;
    height: auto;
    outline: 0;
    border: 1px solid #aaa;
    background: #fff url(images/chosen-sprite.png) no-repeat 100% -20px;
    background: url(images/chosen-sprite.png) no-repeat 100% -20px, -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
    background: url(images/chosen-sprite.png) no-repeat 100% -20px, -webkit-linear-gradient(#eee 1%, #fff 15%);
    background: url(images/chosen-sprite.png) no-repeat 100% -20px, -moz-linear-gradient(#eee 1%, #fff 15%);
    background: url(images/chosen-sprite.png) no-repeat 100% -20px, -o-linear-gradient(#eee 1%, #fff 15%);
    background: url(images/chosen-sprite.png) no-repeat 100% -20px, linear-gradient(#eee 1%, #fff 15%);
    font-size: 1em;
    font-family: sans-serif;
    line-height: normal;
    border-radius: 0;
}

.chosen-container-single .chosen-drop {
    margin-top: -1px;
    border-radius: 0 0 4px 4px;
    background-clip: padding-box;
}

.chosen-container-single.chosen-container-single-nosearch .chosen-search {
    position: absolute;
    left: -9999px;
}

.chosen-container .chosen-results {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0 4px 4px 0;
    padding: 0 0 0 4px;
    max-height: 240px;
    -webkit-overflow-scrolling: touch;
}

.chosen-container .chosen-results li {
    display: none;
    margin: 0;
    padding: 5px 6px;
    list-style: none;
    line-height: 15px;
}

.chosen-container .chosen-results li.active-result {
    display: list-item;
    cursor: pointer;
}

.chosen-container .chosen-results li.disabled-result {
    display: list-item;
    color: #ccc;
    cursor: default;
}

.chosen-container .chosen-results li.highlighted {
    background-color: #3875d7;
    background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
    background-image: -webkit-linear-gradient(#3875d7 20%, #2a62bc 90%);
    background-image: -moz-linear-gradient(#3875d7 20%, #2a62bc 90%);
    background-image: -o-linear-gradient(#3875d7 20%, #2a62bc 90%);
    background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
    color: #fff;
}

.chosen-container .chosen-results li.no-results {
    display: list-item;
    background: #f4f4f4;
}

.chosen-container .chosen-results li.group-result {
    display: list-item;
    font-weight: 700;
    cursor: default;
}

.chosen-container .chosen-results li.group-option {
    padding-left: 15px;
}

.chosen-container .chosen-results li em {
    font-style: normal;
    text-decoration: underline;
}

.chosen-container-multi .chosen-choices {
    position: relative;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto !important;
    height: 1%;
    border: 1px solid #aaa;
    background-color: #fff;
    background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
    background-image: -webkit-linear-gradient(#eee 1%, #fff 15%);
    background-image: -moz-linear-gradient(#eee 1%, #fff 15%);
    background-image: -o-linear-gradient(#eee 1%, #fff 15%);
    background-image: linear-gradient(#eee 1%, #fff 15%);
    cursor: text;
}

.chosen-container-multi .chosen-choices li {
    float: left;
    list-style: none;
}

.chosen-container-multi .chosen-choices li.search-field {
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.chosen-container-multi .chosen-choices li.search-field input[type=text] {
    margin: 1px 0;
    padding: 5px;
    height: 25px;
    outline: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none;
    color: #666;
    font-size: 100%;
    font-family: sans-serif;
    line-height: normal;
    border-radius: 0;
}

.chosen-container-multi .chosen-choices li.search-field .default {
    color: #999;
}

.chosen-container-multi .chosen-choices li.search-choice {
    position: relative;
    margin: 3px 0 3px 5px;
    padding: 3px 20px 3px 5px;
    border: 1px solid #aaa;
    border-radius: 3px;
    background-color: #e4e4e4;
    background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
    background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
    background-image: -moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
    background-image: -o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
    background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
    background-clip: padding-box;
    box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
    color: #333;
    line-height: 13px;
    cursor: default;
}

.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
    position: absolute;
    top: 4px;
    right: 3px;
    display: block;
    width: 12px;
    height: 12px;
    background: url(images/chosen-sprite.png) -42px 1px no-repeat;
    font-size: 1px;
}

.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
    background-position: -42px -10px;
}

.chosen-container-multi .chosen-choices li.search-choice-disabled {
    padding-right: 5px;
    border: 1px solid #ccc;
    background-color: #e4e4e4;
    background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
    background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
    background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
    background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
    background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
    color: #666;
}

.chosen-container-multi .chosen-choices li.search-choice-focus {
    background: #d4d4d4;
}

.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
    background-position: -42px -10px;
}

.chosen-container-multi .chosen-results {
    margin: 0;
    padding: 0;
}

.chosen-container-multi .chosen-drop .result-selected {
    display: list-item;
    color: #ccc;
    cursor: default;
}

.chosen-container-active .chosen-single {
    border: 1px solid #5897fb;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.chosen-container-active.chosen-with-drop .chosen-single {
    border: 1px solid #aaa;
    -moz-border-radius-bottomright: 0;
    border-bottom-right-radius: 0;
    -moz-border-radius-bottomleft: 0;
    border-bottom-left-radius: 0;
    background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(20%, #eee), color-stop(80%, #fff));
    background-image: -webkit-linear-gradient(#eee 20%, #fff 80%);
    background-image: -moz-linear-gradient(#eee 20%, #fff 80%);
    background-image: -o-linear-gradient(#eee 20%, #fff 80%);
    background-image: linear-gradient(#eee 20%, #fff 80%);
    box-shadow: 0 1px 0 #fff inset;
}

.chosen-container-active.chosen-with-drop .chosen-single div {
    border-left: 0;
    background: transparent;
}

.chosen-container-active.chosen-with-drop .chosen-single div b {
    background-position: -18px 2px;
}

.chosen-container-active .chosen-choices {
    border: 1px solid #5897fb;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.chosen-container-active .chosen-choices li.search-field input[type=text] {
    color: #111 !important;
}

.chosen-disabled {
    opacity: .5 !important;
    cursor: default;
}

.chosen-disabled .chosen-single {
    cursor: default;
}

.chosen-disabled .chosen-choices .search-choice .search-choice-close {
    cursor: default;
}

.chosen-rtl {
    text-align: right;
}

.chosen-rtl .chosen-single {
    overflow: visible;
    padding: 0 8px 0 0;
}

.chosen-rtl .chosen-single span {
    margin-right: 0;
    margin-left: 26px;
    direction: rtl;
}

.chosen-rtl .chosen-single-with-deselect span {
    margin-left: 38px;
}

.chosen-rtl .chosen-single div {
    right: auto;
    left: 3px;
}

.chosen-rtl .chosen-single abbr {
    right: auto;
    left: 26px;
}

.chosen-rtl .chosen-choices li {
    float: right;
}

.chosen-rtl .chosen-choices li.search-field input[type=text] {
    direction: rtl;
}

.chosen-rtl .chosen-choices li.search-choice {
    margin: 3px 5px 3px 0;
    padding: 3px 5px 3px 19px;
}

.chosen-rtl .chosen-choices li.search-choice .search-choice-close {
    right: auto;
    left: 4px;
}

.chosen-rtl.chosen-container-single-nosearch .chosen-search,
.chosen-rtl .chosen-drop {
    left: 9999px;
}

.chosen-rtl.chosen-container-single .chosen-results {
    margin: 0 0 4px 4px;
    padding: 0 4px 0 0;
}

.chosen-rtl .chosen-results li.group-option {
    padding-right: 15px;
    padding-left: 0;
}

.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
    border-right: 0;
}

.chosen-rtl .chosen-search input[type=text] {
    padding: 4px 5px 4px 20px;
    background: #fff url(images/chosen-sprite.png) no-repeat -30px -20px;
    background: url(images/chosen-sprite.png) no-repeat -30px -20px, -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
    background: url(images/chosen-sprite.png) no-repeat -30px -20px, -webkit-linear-gradient(#eee 1%, #fff 15%);
    background: url(images/chosen-sprite.png) no-repeat -30px -20px, -moz-linear-gradient(#eee 1%, #fff 15%);
    background: url(images/chosen-sprite.png) no-repeat -30px -20px, -o-linear-gradient(#eee 1%, #fff 15%);
    background: url(images/chosen-sprite.png) no-repeat -30px -20px, linear-gradient(#eee 1%, #fff 15%);
    direction: rtl;
}

.chosen-rtl.chosen-container-single .chosen-single div b {
    background-position: 6px 2px;
}

.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
    background-position: -12px 2px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi) {
    .chosen-rtl .chosen-search input[type=text],
    .chosen-container-single .chosen-single abbr,
    .chosen-container-single .chosen-single div b,
    .chosen-container-single .chosen-search input[type=text],
    .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
    .chosen-container .chosen-results-scroll-down span,
    .chosen-container .chosen-results-scroll-up span {
        background-image: url(chosen-sprite@2x.png) !important;
        background-size: 52px 37px !important;
        background-repeat: no-repeat !important;
    }
}

.ui-autocomplete-menu {
    position: absolute;
    cursor: default;
}

.ui-autocomplete-loading {
    background: white url('images/ui-anim.basic.16x16.gif') right center no-repeat;
}

.ui-autocomplete-over {
    background-color: #0A246A;
    color: white;
}

.ui-menu {
    list-style: none;
    padding: 2px;
    margin: 0;
    display: block;
    float: left;
}

.ui-menu .ui-menu {
    margin-top: -3px;
}

.ui-menu .ui-menu-item {
    margin: 0;
    padding: 0;
    zoom: 1;
    float: left;
    clear: left;
    width: 100%;
}

.ui-menu .ui-menu-item a {
    text-decoration: none;
    display: block;
    padding: .2em .4em;
    line-height: 1.5;
    zoom: 1;
}

.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
    font-weight: normal;
    margin: -1px;
}

.ui-menu {
    list-style: none;
    padding: 2px;
    margin: 0;
    display: block;
}

.ui-menu .ui-menu {
    margin-top: -3px;
}

.ui-menu .ui-menu-item {
    margin: 0;
    padding: 0;
    width: 100%;
    color: #96f226;
    border-radius: 0px;
    border: 1px solid #454545;
}

.ui-menu .ui-menu-item a {
    text-decoration: none;
    display: block;
    padding: .2em .4em;
    line-height: 1.5;
}

.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
    margin: -1px;
}

.ui-autocomplete {
    background: #fff;
    border-radius: 0px;
}

.ui-autocomplete.source:hover {
    background: #ddd;
}

.addrecipe-cont {
    border-radius: 5px 5px 5px 5px;
    text-align: left;
    border-radius: 0px;
    background: #fff;
    padding: 5px;
    margin-bottom: 40px;
}

.addrecipe-cont .addrecipe {
    padding: 20px 20px 20px;
    border: 1px solid #ddd;
}

.addrecipe-cont .addrecipe h4 {
    font-size: 18px;
}

.addrecipe-cont .addrecipe .wp-switch-editor,
.addrecipe-cont .addrecipe .tmce-active .switch-tmce,
.addrecipe-cont .addrecipe .html-active .switch-html {
    height: 30px;
}

.addrecipe-cont .addrecipe ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.addrecipe-cont input#title {
    width: 100%;
}

.addrecipe-cont select.chosen {
    min-width: 50%;
}

.addrecipe-cont fieldset {
    border: 0px;
    margin: 0px 0 0;
    padding: 10px 10px 35px 10px;
    position: relative;
}

.addrecipe-cont fieldset.category {
    padding-bottom: 0px;
}

.addrecipe-cont fieldset.error input {
    border: 1px solid #DE5959;
}

.addrecipe-cont fieldset.error.instructions input {
    border: 1px solid #C3C3C3;
}

.addrecipe-cont fieldset.error.instructions textarea {
    border: 1px solid #DE5959;
}

.addrecipe-cont .category h4 span {
    margin-right: 20px;
}

.addrecipe-cont .button {
    background: #eee;
}

.addrecipe-cont #nutritionfacts_list li {
    background: none;
    border-radius: 4px 4px 4px 4px;
    float: left;
    margin-right: 10px;
    margin-top: 10px;
    padding: 4px 10px;
}

.addrecipe-cont #nutritionfacts_list li input {
    padding: 4px;
    border: 0px;
    box-shadow: 0px 0px 0px;
    border-bottom: 1px solid #eee;
    border-radius: 0px;
    float: none;
    display: inline;
    width: 60px;
    max-width: 60px;
}

.addrecipe-cont #nutritions li {
    margin: 5px 0px;
}

.addrecipe-cont #nutritions li label {
    float: left;
    width: 150px;
}

.addrecipe-cont #nutritions li input {
    padding: 4px;
    box-shadow: 0px 0px 0px;
    border-radius: 0px;
}

.addrecipe-cont table {
    border: 1px solid #ddd;
    margin-bottom: 30px;
    width: 100%;
}

.addrecipe-cont table th {
    background: none repeat scroll 0 0 #FFFFFF;
    font-weight: normal;
    padding: 10px;
    text-align: left;
}

.addrecipe-cont table td {
    padding: 10px;
}

.addrecipe-cont table tr.ingridients-cont {
    background: #fff;
    cursor: pointer;
}

.addrecipe-cont table tr.ingridients-cont:nth-child(odd) {
    background: #FAFAFA;
}

.addrecipe-cont table tr.ingridients-cont.separator {
    background: #f5f5f5;
}

.addrecipe-cont table tr.ingridients-cont.separator input {
    background: #fafafa;
}

.addrecipe-cont table tr.ingridients-cont.separator input.notes {
    display: none;
}

.addrecipe-cont table .ingridients-cont input {
    background-color: #FFFFFF;
    border: 1px solid #DFDFDF;
    border-radius: 3px 3px 3px 3px;
    padding: 5px;
    width: 100%;
}

.addrecipe-cont table a.add_separator,
.addrecipe-cont table a.add_ingridient {
    background: none repeat scroll 0 0 #E2E2E2;
    border: 1px solid #DDDDDD;
}

.loginbox h3 {
    margin-top: 20px;
}

.loginbox label {
    float: left;
    width: 150px;
    padding-top: 8px;
}

.right-sidebar #site-navigation ul {
    float: left;
    margin-left: 0px;
    padding-left: 0px;
}

.right-sidebar header .site-branding h2,
.right-sidebar header .site-branding h1 {
    text-align: right;
}

blockquote {
    font-family: 'Droid Serif',arial,serif;
    font-size: 1em;
    font-style: normal;
    padding: 5px 20px;
    margin: 10px 0 20px 0;
    border-left: 5px solid #ccc;
    position: relative;
}
blockquote p {
    text-align: justify;
    font-size: 1.25em;
    margin-bottom: .75em;
}

blockquote cite {
    display: block;
    font-style: italic;
    text-align: left;
    color: gray;
}

table {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 1.6em 0;
    width: 100%;
    max-width: 100%;
    background-color: transparent;
}

table th,
table td {
    padding: 8px;
    line-height: 20px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid #efefef;
}

table th {
    color: #000;
}

table caption + thead tr:first-child th,
table caption + thead tr:first-child td,
table colgroup + thead tr:first-child th,
table colgroup + thead tr:first-child td,
table thead:first-child tr:first-child th,
table thead:first-child tr:first-child td {
    border-top: 0;
}

table tbody + tbody {
    border-top: 2px solid #efefef;
}

table table table {
    background-color: #fff;
}

table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
    background-color: #f6f6f6;
}

table.plain tbody > tr:nth-child(odd) > td,
table.plain tbody > tr:nth-child(odd) > th {
    background: transparent;
}

dl {
    margin: 1.6em 0;
}

dl dt {
    float: left;
    width: 180px;
    overflow: hidden;
    clear: left;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: bold;
    margin-bottom: 1em;
}

dl dd {
    margin-left: 200px;
    margin-bottom: 1em;
}

dl.gallery-item dt {
    float: none;
}

pre {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #eee;
    width: 100%;
    font-family: monospace, sans-serif;
    font-size: 0.9em;
    white-space: pre;
    overflow: auto;
    background: #fff;
    border-radius: 3px;
    margin: 0;
    padding: 5px 10px;
}

#main-content{
    margin-top: 2rem;
}

#breadcrumbs {
    font-size: 16px;
}
#breadcrumbs span.breadcrumb_last {
    display: none;
}
#breadcrumbs span.separator:nth-last-child(2) {
    display: none;
}

@media (max-width: 991px) {

    body {
        background: #F0F0F0;
    }
    .comments-title span, .page-title span, .published-time span, .page-type span{
        background: #F0F0F0;
    }

    #masthead {
        margin-top: 0px;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
        display:none;
    }

    #masthead .col-md-8 {
        margin: 15px !important;
    }

    div#secondary {
        background: white;
        padding: 10px;
        border: 1px solid lightgray;
        margin: 100px 0 50px;
    }

    div#secondary > i {
        font-style: normal;
    }

    .site-branding {
        text-align: center;
    }

    .site-branding .addthis_inline_follow_toolbox {
        display: inline-block;
    }

}

@media (max-width: 767px) {

    #primary .grid .page,
    #primary .grid .post {
        width: 95%;
    }

    .site-title {
        text-align: center;
    }

    .site-branding .addthis_inline_follow_toolbox {
        zoom: 1.5;
    }

    #slider-shadow, #mainslider {
        display: none;
    }

    .post-thumbnail {
        background: #333;
    }

    .sidebar h3,
    .sidebar h3 span {
        /*     background: transparent; */
    }

    #site-navigation ul.sf-menu {
        display: none !important;
    }

    header select.selectnav {
        display: block !important;
        border-bottom: 2px solid lightgray;
        margin-bottom: 15px;
    }

    /* contains "header form.search-form" */
    header .widget {
        margin: 5px;
        border: 0;
        float: none;
    }

    header .widget input[type='search'] {
        background: #FFFFFF;
        width: 100%;
    }

    header .widget .search-btn {
        border-radius: 0px;
        -webkit-border-radius: 0px;
        -webkit-appearance: none;
        outline: 0;
    }

    .entry-caption {
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    .site-title {
        text-align: center;
    }

    #site-navigation ul {
        float: left;
        margin-right: 0px;
        margin-bottom: 0px;
    }

    #primary .grid .page,
    #primary .grid .post {
        width: 340px;
    }

    .site-title img {
        max-width: 90%;
    }

    .sidebar h3,
    .sidebar h3 span {
        /*     background: transparent; */
    }

    .entry-caption {
        font-size: 18px;
    }
}

@media (min-width: 992px) {
    .site-branding .addthis_inline_follow_toolbox {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    body {
        background-position: 48% center;
    }

    #primary .grid .page,
    #primary .grid .post {
        width: 288px;
    }
}



/* Style universel pour tes icônes SVG inline */
.icon-svg {
    display: inline-block;
    vertical-align: middle;
    width: 1.25em;          /* Prends la taille du texte parent */
    height: 1.25em;
    fill: currentColor;  /* Herite de la couleur du texte */
    margin-right: 0.5em;
}



.wp-pagenavi {
    background: url("images/double-line.png") repeat-x scroll center top #FAFAFA;
    box-shadow: 0 0 10px #FFFFFF inset;
    clear: both;
    margin: 35px 0;
    overflow: hidden;
    padding: 10px;
    margin-left: -15px;
    margin-right: -15px;
}

.wp-pagenavi a,
.wp-pagenavi span {
    padding: 5px;
    margin-right: 10px;
    font-size: 15px;
    text-decoration: none;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.wp-pagenavi a.extend,
.wp-pagenavi a.pages,
.wp-pagenavi span.extend,
.wp-pagenavi span.pages {
    color: #888;
}

.wp-pagenavi a.current,
.wp-pagenavi span.current {
    font-weight: bold;
}

@media screen and  (max-width: 768px) {
    .entry-title {
        font-size: 30px;
    }
}

@media screen and  (max-width: 557px) {

    header .col-md-8 {
        display: none;
    }

    #slider-shadow, #mainslider {
        display: none;
    }

    .entry-title {
        font-size: 26px;
    }

    #primary .grid .post {
        position: relative;
    }

    #primary .grid .post .published-time {
        display: none;
    }

    #primary .grid .post .post-thumbnail {
        margin: 0;
    }

    #primary .grid .post a.entry-title {
        position: absolute;
        bottom: 0;
        width: 100%;
        padding: 10px;
        margin: 0;
        background: rgba(255, 255, 255, 0.7);
    }

    #primary .grid .post .entry-content {
        display: none;
    }

    #primary .grid .post footer {
        display: none;
    }

    .advsearch-container input, .advsearch-container select, .advsearch-container select#include_ing, .advsearch-container select#exclude_ing {
        width: 220px;
        min-width: 220px;
        max-width: 220px;
    }

}

@media screen and  (max-width: 500px) {

    .site-branding {
        margin-top: 10px;
    }

    .comment-form input[type="text"] {
        width: 100%;
    }
    .comment-form input[type="submit"] {
        width: 100%;
    }
}

.recetteIntroMoreLink {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 100px 0 10px 0;
    font-weight: bold;
    color: #FF0000;
    text-align: center;
    background: linear-gradient(180deg, rgba(240, 240, 240, 0) 0%, rgba(240, 240, 240, 1) 75%, rgba(240, 240, 240, 1) 100%);
}
.recetteIntro.expanded .recetteIntroMoreLink {
    display: none !important;
}

@media screen and  (max-width: 415px) {

    .site-branding {
        zoom: 0.75;
    }

    .recetteIntro {
        max-height: 400px;
        overflow: hidden;
        position: relative;
    }
    .recetteIntro.expanded {
        max-height: initial;
        overflow: initial;
    }
    .recetteIntroMoreLink, body.display-mode-normal .recetteIntroMoreLink {
        display: block;
    }

    .published-time span {
        font-size: 11px;
    }
}

.site-branding {
    margin-bottom: 10px;
}

.site-title {
    color: #FF0000;
    margin-bottom: 10px;
}

.site-description {
    display: block;
    text-align: center;
    font-style: italic;
    color: #AAA;
}

main {
    position: relative;
}

.post h1.entry-title {
    margin-top: 40px;
}
.post h1.entry-title a:hover {
    text-decoration: none;
}

.at-above-post.addthis-toolbox {
    position: absolute;
    top: 0px;
    width: 100%;
    text-align: left;
}

.at-above-post.addthis-toolbox .at4-show:after {
    content: "Partages-moi !";
    line-height: 27px;
    vertical-align: super;
    padding: 10px;
    font-size: 16px;
    color: #f60;
}

.widget {
    margin: 0 0 60px;
}

.widget.atfollowwidget {
    margin: 0 0 20px;
}

#text-3.widget {
    margin: 0;
}

header .col-md-8 {
    display: none;
    background: white;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid lightgray;
    margin: 20px 0;
}

.taxonomy-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* Empêche l'étirement vertical de l'image */
    gap: 20px;
}

.taxonomy-image {
    width: 300px;
    height: 300px;
    flex-shrink: 0; /* Empêche le conteneur de se réduire */
    padding: 0;
    background: #FFF;
    box-shadow: 0 0 20px 5px #AAA;
}

.taxonomy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Conserve le ratio carré sans déformer l'image */
    display: block;
}

.taxonomy-description {
    flex: 1; /* Permet à la description de prendre tout l'espace restant */
    margin: 0 0 20px 0;
    text-align: justify;
}

@media screen and  (max-width: 750px) {
	.taxonomy-wrapper {
		flex-direction: column;
		align-items: center;
	}
}

.recetteIntro .at-above-post:nth-child(2) {
    display: none !important;
}

p.wysija-paragraph {
    display: inline-block;
    margin: 10px 0 0 0;
    width: 80%;
}

p.wysija-paragraph .wysija-input {
    width: 100%;
}

.widget_wysija_cont .wysija-submit.wysija-submit-field {
    display: inline-block;
    margin: 10px 0 0 0;
    width: 15%;
}


/* --------------------------------------------------------- */
/* Barre de navigation fixed en Bootstrap*/
/* --------------------------------------------------------- */

nav.navbar {
    box-shadow: 0px 0px 10px gray;
    background-color: #FFF;
    z-index: 1000;
    top: 0px;
    -webkit-transition: top 0.5s;
    transition: top 0.5s;
}
body.admin-bar nav.navbar {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar nav.navbar {
        top: 46px;
    }
}

nav.navbar a:hover {
    text-decoration: none;
}

nav.navbar .navbar-header {
    margin: 0px;
	display:flex;
	flex-flow: row nowrap;
	align-items: center;
}

nav.navbar .navbar-header .navbar-toggle {
    border: 0;
    padding: 0;
    margin: 0;
    background: none;
	width:2.5rem;
	color: gray;
	margin-left: 1.5rem;
}
nav.navbar .navbar-header .navbar-toggle .icon-svg {
	width: 1.5em;
    height: 1.5em;
}

nav.navbar .navbar-header .navbar-toggle .menu-opened{ display: inline; }
nav.navbar .navbar-header .navbar-toggle .menu-closed{ display: none; }
nav.navbar .navbar-header .navbar-toggle.collapsed .menu-opened{ display: none; }
nav.navbar .navbar-header .navbar-toggle.collapsed .menu-closed{ display: inline; }


nav.navbar .navbar-header .navbar-brand {
    padding: 0px;
}

nav.navbar .navbar-header .navbar-brand .site-name {
    margin-left: 1rem;
    margin-right: 2rem;
    display: flex;
	align-items: center;
	float: left;
}

nav.navbar .navbar-header .navbar-brand .site-name img {
    height: 50px;
	width: 50px;
    margin: 0;
}

nav.navbar .navbar-header .navbar-brand .site-name span {
    font-size: 3rem;
    color: #333;
    margin-top: 4px;
}

nav.navbar .navbar-collapse {
    max-height: 100vh;
}
nav.navbar .navbar-collapse.collapse .search-form {
    margin: 6px 0;
}

nav.navbar .navbar-collapse.in {
    border: 0;
    height: calc(100vh - 50px) !important;
}
nav.navbar .navbar-collapse.in .search-form {
    margin: 10px 0;
    border: none;
}

nav.navbar .navbar-collapse.collapse .search-form input {
    width: 140px;
}
@media screen and  (min-width: 992px) {
    nav.navbar .navbar-header{
        margin-right: 40px;
    }
    nav.navbar .navbar-collapse.collapse .search-form input {
        width: 320px;
    }
}

nav.navbar .widget {
    margin: 0;
}

nav.navbar .navbar-collapse.collapse #menu-item-menuburger {
    display: none;
}
nav.navbar .navbar-collapse.in #menu-item-menuburger {
    display: inline;
}
nav.navbar .navbar-collapse.collapse .navbar-nav > li > a {
    padding: 15px 10px;
}
nav.navbar .navbar-collapse.collapse .navbar-nav .dropdown-menu .menu-item {
    margin: 0;
}
nav.navbar .navbar-collapse.collapse .navbar-nav .dropdown-menu .menu-item a {
    margin: 0;
    padding: .5em;
}
nav.navbar .navbar-collapse.collapse .navbar-nav  .dropdown-menu .menu-item a:hover {
    background-color: #FF6666;
    color: #FFFFFF;
}
nav.navbar .navbar-collapse.in .navbar-nav {
    border-bottom: 1px solid lightgray;
}
nav.navbar .navbar-collapse.in .navbar-nav .menu-item a {
    line-height: 30px;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
    background: none;
}


nav.navbar .navbar-collapse.collapse .menu-additional-links {
    margin-left: 5px;
}
nav.navbar .navbar-collapse .menu-additional-links .text {
    padding-left: 10px;
}
nav.navbar .navbar-collapse.collapse .menu-additional-links .text {
    display:none;
}

.navbar-default .navbar-nav>li>a {
    color: #333;
    font-size: 1.75rem;
}
.navbar-default .navbar-nav>li>a:hover {
    color: #F00;
    font-size: 1.75rem;
}


#search-mobile {
    background: white;
    padding: 0px;
    border-radius: 0px;
    border: 1px solid #FF0000;
    border-left: 5px solid #FF0000;
    margin: 15px;
}
#search-mobile .search-form {
    border: 0 !important;
}
#search-mobile .search-btn {
    background: white;
}
#search-mobile .search-btn i.icon.icon-search {
    font-size: 24px;
}
#search-mobile .col-md-12{
    padding: 0px;
}
#search-mobile {
    display:none;
}


footer.mainfooter {
    padding-bottom: 50px;
}


nav.navbar .navbar-collapse.collapse .menu-item-accueil {
    display: none;
}
nav.navbar .navbar-collapse.in .menu-item-accueil {
    display: inline;
}



/* animation de la mise en avant des boutons de partage */
#main{
    -webkit-transition: opacity 1s;
    transition: opacity 1s;
}


header .post-ratings{
    text-align: center;
    zoom: 1.2;
}
header .post-ratings .ratings-infos{
    display: none;
}

.widget ul.menu {
    margin: 0;
    padding: 0;
}
.widget ul.menu li {
    list-style-type: none;
    margin: .75em 0;
}

.widget_search {
    margin-bottom: 30px;
    margin-top: 60px;
}


.post-ratings img,
.post-ratings-loading img,
.post-ratings-image img {
    border: 0;
    padding: .5em;
    margin: 0;
    transform: scale(1.5);
}



/* choix de l'affichage de la recette */
.choix-boutons {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 16px;
    margin-top: 1em;
}
.choix-boutons .bouton {
    padding: 4px 8px;
    border: 1px solid #FF0000;
    border-right-width: 0;
    background: white;
    color: #FF0000;
    text-align: center;
    cursor: pointer;
}
.choix-boutons .bouton:hover {
    color: #FF0000;
    font-weight: bold;
}
.choix-boutons .bouton:first-child {
    border-radius: 8px 0 0 8px;
}
.choix-boutons .bouton:last-child {
    border-right-width: 2px;
    border-radius: 0 8px 8px 0;
}
.choix-boutons .bouton.active {
    border: 1px solid #FF0000;
    background: #FF0000;
    color: white;
    font-weight: bold;
}

.choix-boutons.user-display-mode .bouton {
    min-width: 85px;
}
.choix-boutons.display-images-mode {
    margin-bottom: 15px;
    margin-top: -10px;
}
.choix-boutons.display-images-mode .bouton {
    min-width: 120px;
}




/* CATEGORIES widget */
.widget.widget_categories h3 {
    display: none;
}
.widget.widget_categories ul {
    margin: 0;
}
.widget.widget_categories > ul {
    padding: 0;
}
.widget.widget_categories li {
    list-style-type: none;
    font-weight: bold;
    margin: .75em 0;
    color: #AAA;
}
.widget.widget_categories li a {
    text-decoration: underline;
    font-size: 1.2em;
    padding-right: .5em;
}
.widget.widget_categories ul.children {
    display: none;
}
.widget.widget_categories li.current-cat > ul.children,
.widget.widget_categories li.current-cat-ancestor > ul.children {
    display: block;
}
.widget.widget_categories li:not(.current-cat):not(.current-cat-ancestor) {
    font-weight: normal;
}
.widget.widget_categories li:not(.current-cat):not(.current-cat-ancestor) a {
    text-decoration: none;
}


#primary .grid .post.adsense .published-time {
    margin-bottom: .5em;
}
/* ------------------------------------------------------------------------------------------------------------------ */
/* Modes d'affichages des recettes */
/* ------------------------------------------------------------------------------------------------------------------ */

@media screen and (max-width: 557px) {
    #primary .recetteIntro .choix-boutons.user-display-mode {
        display: none;
    }
}

/* LIGHT */
body.display-mode-light {
}
/* - Listes de résultats */
body.display-mode-light #primary .grid .post:not(.adsense) .published-time,
body.display-mode-light #primary .grid .post .entry-content,
body.display-mode-light #primary .grid .post footer {
    display: none;
}
body.display-mode-light #primary .grid .post:not(.adsense) .post-thumbnail {
    margin: 0;
}
body.display-mode-light #primary .grid .post:not(.adsense) .post-thumbnail img {
    border-radius: 5px;
    margin: 0;
}
body.display-mode-light #primary .grid .post .post-thumbnail img:hover {
    opacity: 1 !important;
}
body.display-mode-light #primary .grid .post .entry-title {
    position: absolute;
    bottom: 0;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75em;
    margin: 0;
    background: rgba(255,255,255,0.7);
    opacity: 0;
    transition: opacity .3s;
    border-radius: 5px;
}
body.display-mode-light #primary .grid .post:hover .entry-title {
    opacity: 1;
}
/* - Recettes */
body.display-mode-light .info,
body.display-mode-light .success,
body.display-mode-light .warning,
body.display-mode-light .error {
    display: none;
}
body.display-mode-light .recetteIntro {
    display: none;
}
body.display-mode-light .recipe-content .recipe-infos {
    display: none;
}
body.display-mode-light .recipe-content .ingredients-container h3 {
    margin-top: 20px;
}
body.display-mode-light .recipe-content .ingredients-container ul.ingredients li.ingredient .note {
    display: none;
}
body.display-mode-light .recipe-content .ingredients-container ul.ingredients li.ingredient .addnote {
    display: none;
}
body.display-mode-light .recipe-content .ustensiles-container .ustensiles ul ul {
    display: none;
}
body.display-mode-light .recipe-content .ustensiles-container div.help {
    display: none;
}

/* NORMAL */
body.display-mode-normal {
}
/* - Listes de résultats */
body.display-mode-normal #primary .grid .post .entry-content,
body.display-mode-normal #primary .grid .post footer {
    display: none;
}
/* - Recettes */
body.display-mode-normal .info,
body.display-mode-normal .success,
body.display-mode-normal .warning,
body.display-mode-normal .error {
    display: none;
}
body.display-mode-normal .recetteIntro {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}
body.display-mode-normal .recetteIntro.expanded {
    max-height: initial;
    overflow: initial;
}
body.display-mode-normal .recetteIntro .recetteIntroMoreLink {
    display: block;
}
body.display-mode-normal .recipe-content .ingredients-container ul.ingredients li.ingredient .addnote {
    display: none;
}
body.display-mode-normal .recipe-content .ustensiles-container .ustensiles ul ul {
    display: none;
}

/* FULL */
body.display-mode-full {
}



.a2a_floating_style.a2a_default_style {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0!important;
    left: 0!important;
    border-top: 1px solid lightgray;
	border-radius: 0;
	box-shadow: 0px 0px 10px gray;
}
.addtoany_share_save_container.addtoany_content { text-align: center; }
.addtoany_share_save_container.addtoany_content.addtoany_content_top { margin-bottom: 5rem; }

/* Hide AddToAny vertical share bar and post content buttons when screen is less than 981 pixels wide */
@media screen and (max-width: 980px) {
    .a2a_floating_style.a2a_vertical_style { display: none; }
    .addtoany_share_save_container.addtoany_content { display: none; }
}
/* Hide AddToAny bottom share bar when screen is more than 981 pixels wide */
@media screen and (min-width: 981px) {
    .a2a_floating_style.a2a_default_style { display: none; }
}



/* Remplacement script JS "isotope" par du pur CSS en grille (cartes de même hauteur) */ 
/* 1. On transforme le conteneur en grille moderne de 2 colonnes */
.grid {
    display: grid !important; /* Force l'écrasement du display d'origine si besoin */
    grid-template-columns: repeat(2, 1fr);
    gap: 30px; /* Espace propre entre tes cartes */
    position: static !important; /* Annule le positionnement en absolute de l'ancien JS */
    height: auto !important;    /* Annule la hauteur fixe calculée par Isotope */
}

/* 2. On nettoie les articles individuels */
.grid article.post {
    position: relative !important; /* Supprime le positionnement absolute */
    left: auto !important;
    top: auto !important;
    min-width: 0;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    height: 100%; /* Permet à toutes les cartes d'une même ligne de s'aligner */
}
/* 1. On s'assure que la zone d'extrait prend tout l'espace disponible */
.grid article.post .entry-content {
    flex-grow: 1; /* Absorbe le vide blanc et pousse le footer tout en bas */
}

/* 3. On harmonise la taille des images pour éviter les décalages de hauteur */
.grid .post-thumbnail img {
    width: 100%;
    height: 215px;       /* Conserve ta hauteur d'origine */
    object-fit: cover;   /* Evite la déformation des photos */
}

/* 4. On pousse le footer de la carte (les métas/temps) toujours tout en bas */
.grid article.post footer {
    margin-top: 0 !important;
}

/* 5. Responsive mobile : bascule automatique sur 1 seule colonne */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}



.site-footer-tags {
    margin: 20px 0;
}

.site-footer-tags h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.cuisine-pills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cuisine-pill {
    display: inline-flex;
    align-items: center;
    background-color: #f1f1f1;
    color: #333;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.cuisine-pill, 
.cuisine-pill:visited {
    color: #333;
}

.cuisine-pill:hover {
    color: #000;
    background-color: #e0e0e0;
}

.cuisine-pill .count {
    margin-left: 4px;
    font-size: 10px;
    color: #666;
    background: rgba(0, 0, 0, 0.05);
    padding: 1px 4px;
    border-radius: 8px;
}




/* ------------------------------------------------------------------------------ */
/* Suggestions de recettes similaires (types de cuisine et saisons) */
/* ------------------------------------------------------------------------------ */
/* Surcharges spécifiques selon sections de suggestions */
.related-section.recipe,
.related-section.global {
    margin-top: 75px;
}
.related-section.recipe.saison {
    margin-top: 100px;
}
.related-section.global.type-cuisine .related-item {
    position: relative; /* pour l'affichage des badges type notification */
    z-index: 1;
}

/* Conteneur global des suggestions */
.related-section {
    margin-bottom: 40px;
    text-align: center;
}
.related-section h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    
    font-size: 30px;
    font-weight: 700;
    color: #FF0000;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}
.related-section h3 svg {
    width: 1.2em;              /* S'adapte automatiquement à la taille du texte */
    height: 1.2em;
    fill: currentColor;         /* Prend automatiquement la couleur rouge de ton h3 */
}

/* Grille des 4 médaillons */
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Chaque carte médaillon */
.related-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

/* Le médaillon rond */
.related-thumb-wrap {
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    background: #eaeaea;
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1;
}

.related-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-thumb-wrap.more {
    display: flex; 
    align-items: center; 
    justify-content: center;
    background: #f8f9fa;
}

.related-thumb-wrap svg {
    width: 33%;
    height: 33%;
    margin:0;
    transition: transform 0.3s ease;
}

.related-badge-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #ff0000;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 15px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid #ffffff;
    z-index: 2;
}

/* Effet au survol */
.related-item:hover .related-thumb-wrap {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(255, 0, 0, 0.15);
    border-color: #ff0000;
}

.related-item:hover img {
    transform: scale(1.1);
}

/* Titre de la recette sous le médaillon */
.related-title {
    font-size: 18px;
    font-weight: 600;
    color: #666;
    line-height: 1.3;
    transition: color 0.2s ease;
    padding: 0;
    /* Propriétés pour couper le texte à 2 lignes max */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: calc(18px * 1.3 * 2); /* Force une hauteur fixe de 2 lignes pour aligner les médaillons du dessous si besoin */
}

.related-item:hover .related-title {
    color: #ff0000;
}

/* --- Mode Mobile : Carrousel horizontal scrollable --- */
@media (max-width: 576px) {
    .related-section.recipe, .related-section.global {
        margin-top: 50px;
    }    
    .related-section h3 {
        margin-bottom: 15px;
    }
    
    .related-grid {
        /* On passe en flexbox pour aligner les éléments sur une seule ligne */
        display: flex;
        gap: 15px;
        
        /* Permet le défilement horizontal et masque la barre de scroll */
        overflow-x: auto;
        scroll-snap-type: x mandatory; /* Effet magnétique optionnel pour caler les items */
        -webkit-overflow-scrolling: touch;
        
        /* Padding et marges pour éviter de couper les ombres et gérer le centrage */
        padding: 10px 15px 20px 15px;
        margin: 0 -15px; /* Permet d'aller d'un bord à l'autre de l'écran si besoin */
        scroll-padding-left: 15px;
    }

    /* Chaque médaillon garde une largeur fixe en pourcentage pour en afficher 2.3 à l'écran */
    .related-item {
        flex: 0 0 calc(42% - 10px); /* Environ 2.3 éléments visibles */
        min-width: 130px; /* Évite qu'ils ne deviennent trop petits sur les tout petits mobiles */
        scroll-snap-align: start;
    }
    
    .related-section h3 {
        font-size: 22px;
    }
}



/* =================================================================
Pagination Native WordPress 
================================================================= */
.navigation.pagination {
    margin: 40px 0;
    text-align: center;
    clear: both;
}
.navigation.pagination .nav-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px; /* Espace propre entre chaque bouton */
}
.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: unset;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: #444444;
    background-color: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 50%; 
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
.navigation.pagination .page-numbers:hover {
    color: #ff0000;
    background-color: #ffffff; /* Utilise la couleur principale de ton thème (ex: orange/cuisine) */
    border-color: #ff0000;
}
.navigation.pagination .page-numbers.current {
    color: #ffffff;
    background-color: #ff0000;
    border-color: #ff0000;
    pointer-events: none;
}
.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
    padding: 0 6px;
    font-weight: 600;
}
.navigation.pagination .icon-svg {
    margin: 0;
}
.navigation.pagination .page-numbers.dots {
    width: 25px;
    height: auto;
    border: none;
    background: transparent;
    border-radius: 0;
    color: #888888;
}


/* 
===================================================================
COMMENTAIRES
=================================================================== 
*/
/* 1. STRUCTURE GLOBALE & COMMENTAIRES */
#comments {
    margin-top: 150px;
    margin-bottom: 50px;
}
.comments-title {
    background: url("images/double-line.png") repeat-x scroll center center transparent;
    font-size: 20px;
    font-weight: normal;
    text-align: center;
    margin-top: 20px;
}
.comments-title span {
    background: #F0F0F0;
    display: inline-block;
    margin: 0 40px;
    padding: 0 10px;
}

/* - LISTE & COMMENTAIRES PRINCIPAUX */
ol.commentlist {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
ol.commentlist li,
li.pingback,
li.comment {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 15px 0 10px 0;
    border-bottom: 1px solid #ccc;
}
ol.commentlist li article.comment {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    border: none;
    padding: 0;
}

/* - AVATARS */
.avatar,
li.pingback .avatar,
li.comment .avatar {
    flex-shrink: 0;
    margin: 0;
    width: 60px;
}
img.avatar.photo {
    border-radius: 50%;
    border: 2px solid #F66;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: block;
}

/* - CORPS DU COMMENTAIRE & EN-TÊTE */
.comment-des {
    flex-grow: 1;
    color: #444;
    font-size: 14px;
}
.comment-by {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin-bottom: 8px;
}
.comment-des strong {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}
.comment-by span.date {
    color: #999;
    font-size: 11px;
    margin-left: auto;
}
.comment-by span.date a,
.comment-edit-link {
    color: #f66;
    margin-left: 8px;
}
.comment-des p {
    margin: 0 0 10px 0;
    line-height: 23px;
}
/* Bouton Répondre */
.reply {
    display: flex;
    justify-content: flex-end;
}

.reply a,
.comment-by span.reply a {
    font-size: 13px;
    font-weight: 500;
    color: #f66;
    transition: color 0.2s ease-in-out;
}

.reply a:hover,
.comment-by span.reply a:hover {
    color: #f00;
}

/* - ARBORECENCE DES RÉPONSES (IMBRICATION) */
ol.commentlist li ul.children {
    list-style: none;
    margin: 0 0 0 10px;
    padding: 0;
}
ol.commentlist li ul.children li {
    padding: 0;
    border-bottom: none;
    margin-top: 10px;
}
ol.commentlist li ul.children li .avatar {
    width: 40px;
    margin-right: 10px;
    margin-top: 5px;
}
ol.commentlist li ul.children li .comment-des {
    border-top: 1px dashed #ddd;
    padding-top: 10px;
}

/* 2. LAZY LOAD / MASQUAGE CSS DES COMMENTAIRES (>= 11ÈME) */
.comments-wrapper .commentlist > li:nth-child(n + 11) {
    display: none;
}

.comments-wrapper.is-expanded .commentlist > li:nth-child(n + 11) {
    display: list-item;
}

.comments-wrapper .show-all-comments {
    display: block;
    text-align: center; 
    margin: 30px 0;
}

.comments-wrapper.is-expanded .show-all-comments {
    display: none;
}

.comments-wrapper .show-all-comments .button {
    display: inline-block;
    padding: 12px 28px;
    background-color: #ffffff;
    border: 2px solid #999999;
    color: #666666;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.comments-wrapper .show-all-comments .button:hover {
    background-color: #ffffff;
    border-color: #ff0000;
    color: #ff0000;
}


/* 3. FORMULAIRE DE COMMENTAIRE */

.comment-form {
    margin-bottom: 25px;
}

h3.comment-reply-title {
    color: #FF6666;
}

.comment-form label {
    float: left;
    width: 200px;
    padding-top: 5px;
    padding-right: 15px;
}

.comment-form input[type="text"],
.comment-form input[type="password"],
.comment-form input[type="tel"],
.comment-form input[type="email"] {
    width: 50%;
    padding: 3px;
}

.comment-form input[type="checkbox"] {
    width: auto;
    margin-right: 1em;
}

.comment-form textarea {
    width: 100%;
}

.comment-form p + p {
    margin: 15px 0 0;
    text-indent: 0;
}

.comment-form .form-submit {
    margin: 1em 0;
}

.comment-form input[type="submit"] {
    background: #FF0000;
    color: #FFFFFF;
    font-weight: bold;
    margin: 1em 0 2em 0;
    cursor: pointer;
}

/* Règles spécifiques pour les options (Cookies, MailPoet, etc.) */
.comment-form .comment-form-cookies-consent label,
.comment-form .comment-form-mailpoet label {
    float: none;
    display: inline;
    width: auto;
}

.comment-form .comment-form-mailpoet label {
    font-weight: bold;
    color: #FF0000;
}

.comment-form .wysija-after-comment label {
    width: 100%;
    float: none;
    font-weight: bold;
    color: #FF0000;
}

.comment-form .wysija-after-comment label input {
    float: left;
    margin: 3px 10px 3px 0;
    width: 15px;
    height: 15px;
}

.akismet_comment_form_privacy_notice {
    font-style: italic;
}

.form-allowed-tags {
    display: none;
}


/* ------------------------------------------------------------------------------ */
/* Surcharge layout des container bootstrap pour la largeur de la zone principale */
/* ------------------------------------------------------------------------------ */
@media (min-width: 768px) {
    #main-content.container {
        max-width: 90%;
    }
}
@media (min-width: 992px) {
    #main-content.container {
        max-width: 100%;
    }
}
@media (min-width: 1200px) {
    #main-content.container {
        max-width: 1170px;
    }
}