/*!
Theme Name: Bunker Palace Theme
Theme URI: https://studio.samuelgadea.com
Author: Samuel Gadea
Author URI: https://studio.samuelgadea.com
Description: Portfolio Wordpress theme by Studio Samuel Gadea
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bunker-palace-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
	font-size: 62.5%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
	font-size: 1.46vw;
margin: 0;
font-weight: normal;
}

h2, .sbi_caption_wrap{
	font-size: 1.1vw;
margin: 0;
font-weight: normal;
line-height: 1.15;
letter-spacing: .01em;
}

.sbi_caption_wrap{font-size: 1vw;}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

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

sub {
	bottom: -0.25em;
}

sup {
	top: 0em;
	vertical-align: 40% !important;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

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

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
	box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	#F9F9F9-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

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

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
@font-face {
    font-family: 'Relative';
    src: url('./font/relative-book.woff2') format('woff2'),
        url('./font/relative-book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Relative';
    src: url('./font/relative-bold.woff2') format('woff2'),
        url('./font/relative-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: black;
	font-family: 'Relative', sans-serif;
	font-size: 1.46vw;
	line-height: 1;
	letter-spacing: .01rem;
}

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

p {
	margin: 0;
	line-height: 1.15;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

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

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

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

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

big {
	font-size: 125%;
}

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

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

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

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

ul, ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

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

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

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

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

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: black;
	border: none;
	border-radius: 0;
	padding: 3px;
}

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

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: black;
	text-decoration: none;
	outline: 0;
}

a:visited {
	color: black;
}

a:hover, a:focus, a:active {outline: 0;}
a.ext:hover, a.ext:focus, a.ext:active {color: #004EFF;outline: 0;}

a:focus {
	outline: 0;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	display: flex;
	justify-content: space-between;
	text-transform: uppercase;
	font-weight: bold;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

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

.main-navigation ul ul a {
	width: 200px;
}

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

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

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

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		
	}
}

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

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

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

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

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

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

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

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

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

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

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

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

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.site{margin: 0;}
#toto{padding: 0 1.1rem;}
body.page-id-349{padding: 0 0 0 1.1rem !important;}
.page, .post {margin: 0;background: #F9F9F9;}

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

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

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

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

.bypostauthor {
	display: block;
}

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

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

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

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

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
#LoftLoader
--------------------------------------------------------------*/
#loftloader-wrapper .loader-bg{height: calc(100% - 8.4vw) !important;bottom: 0 !important;top: auto !important;z-index: 99992 !important;}
.home #loftloader-wrapper .loader-bg{height: 100% !important;}
.home.loaded.leaves #loftloader-wrapper.end-fade .loader-bg{height: calc(100% - 8.4vw) !important;transition: height 0s 0s linear;}

#loftloader-wrapper .loader-inner{
	top: 1%!important;
    left: 50%!important;
    -webkit-transform: translate(-50%,1%)!important;
    -ms-transform: translate(-50%,1%)!important;
    transform: translate(-50%,1%)!important;
    z-index: 8000 !important;
    opacity: 0 !important;
}
.home #loftloader-wrapper .loader-inner{opacity: 1 !important;}

#loftloader-wrapper.loftloader-imgloading #loader img{opacity: 0 !important;}

body.loftloader-disable-scrolling, body.leaves, #loftloader-wrapper .loader-bg{cursor: progress;}

#loftloader-wrapper.loftloader-imgloading #loader span{background-size: contain !important;}

.loaded #loftloader-wrapper.end-fade .loader-bg{transition: all .3s 0s cubic-bezier(.645,.045,.355,1) !important;}

.loaded #loftloader-wrapper{transition-delay: .2s !important;}

.loaded #loftloader-wrapper #loader{transition: none !important;}

/*--------------------------------------------------------------
#Menu
--------------------------------------------------------------*/
.sfm-logo, .sfm-rollback.sfm-fixed{position: fixed !important;}

/*--------------------------------------------------------------
#Header
--------------------------------------------------------------*/
.site-header{
width: 50%;
position: fixed;
top: 0;
left: 0;
padding: 0 .55rem 0 1.1rem;
margin: 0;
}
.home .site-header{z-index: 1;}

.site-title {
font-size: 6.41vw;
font-weight: bold;
text-transform: uppercase;
margin: 0;
text-align: center;
transform: scale(1.024);
line-height: 1;
letter-spacing: .001em;
white-space: nowrap;
}

::-webkit-scrollbar {
display: none;
}


.current-menu-item, li.menu-item a:hover{border-bottom: .14em solid black;}
li.current-menu-item a:hover{border-bottom: 0px solid black;}

/*--------------------------------------------------------------
Page accueil
--------------------------------------------------------------*/
.home .entry-title{display: none !important;}

.titre_accueil{
	position: fixed;
	bottom: 0;
	width: calc(100vw - 2.2rem);
	font-weight: bold;
	text-transform: uppercase;
	padding: .5vw 0;
	background-color: #f9f9f9;
}
.titre_accueil span.char{float: right;}

.home_random{
display: block;
position: fixed;
width: calc(100vw - 2.2rem);
height: calc(100% - 8.5vw);
top: 8.5vw;
}
.chocolat{width: auto;height: 100%; display: flex;}

.home_random img{
width: 50%;
height: 100%;
object-fit: cover;
}

.home_random img#riz{padding-right: .55rem;}
.home_random img#pates{padding-left: .55rem;}
#phaune{display: none;}



/*--------------------------------------------------------------
Site content
--------------------------------------------------------------*/
.post-navigation{display: block;}

.site-content{
	position: relative;
	top: 12vw;
	background: #F9F9F9;
	padding-top: .55rem;
	overflow-x: hidden;
}
article{padding-bottom: 14vw !important;min-height: 80vh;}
.home article{padding-bottom: inherit !important;min-height: inherit;}
.post-template-default article{padding-bottom: 0 !important;}
.chien{top: 0vw;}
.entry-title, table.dataTable thead .sorting{
	text-transform: uppercase !important;
	font-weight: bold !important;
	}
.numero{
	text-align: right;
	float: right;
}
.entry-content{
	display: flex;
	width: 100%;
	overflow: hidden;
}
.left{
	width: 100%;
	}
.right{
	width: 50%;
	padding-left: .55rem;
	}
.flexy{
	display: flex;
	border-bottom: 1px solid black;
	width: 100%;
	padding: .5vw 0;
}
.flexy h1{width: 50%;}
.flexy h1 span:last-child{display: none !important;}

.mages{
	margin: 0;
	padding: 0;
	list-style: none;
}
.mages li{margin-bottom: .2rem;}

/*--------------------------------------------------------------
Page infos
--------------------------------------------------------------*/
.informations{display: flex;}
.infos_iphone{display: none !important;}
.gauche, .droite{width: 50% !important;}
.gauche{margin-right: .5vw;}
.droite{margin-left: .5vw;}
.ac_title_class{
display: block;
padding: .6vw 0 !important;
text-transform: uppercase;
font-family: 'Relative';
font-size: 1.46vw;
margin: 0;
font-weight: bold;
}

.wpsm_panel-body{
padding: 0 !important;
}

.page-template-infos #mysticky-nav{visibility: hidden;height: 0;background: red;}
.page-template-infos .wrapfixed#mysticky-nav{visibility: visible; height: auto;}

/*--------------------------------------------------------------
#Footer projets
--------------------------------------------------------------*/
#menu-projets{display: none !important;}

.home #footer_bk, .post-template-default #footer_bk{display: none;}


/*--------------------------------------------------------------
Nouveau Footer projets
--------------------------------------------------------------*/
.post-navigation{
	position: fixed;
	bottom: 0;
	left: 0;
	width: calc(50vw - 1.65rem);
	padding: .5vw 0 .5vw 0;
	margin: 0 1.1rem !important;
	text-transform: uppercase;
	border-top: 1px solid black;
	font-weight: bold;
	list-style: none;
	background: #F9F9F9;
	}

.post-navigation .nav-links .nav-previous a, .post-navigation .nav-links .nav-next a{display: inline-block;white-space: nowrap;}

.post-navigation .nav-links .nav-previous a::before{
	content: "<- ";
	white-space: pre;
	float: left;
	font-family: 'Relative';
	font-variant-ligatures: contextual;
    -moz-font-feature-settings: "calt";
    -webkit-font-feature-settings: "calt";
    font-feature-settings: "calt";
}
.post-navigation .nav-links .nav-previous a:hover{text-indent: -9999px;}
.post-navigation .nav-links .nav-previous a:hover::before{content: "<- Projet Précédent";visibility: visible;text-indent: 0;}

.post-navigation .nav-links .nav-next a::after{
	content: "->";
	float: right;
	white-space: pre;
	font-family: 'Relative';
	font-variant-ligatures: contextual;
    -moz-font-feature-settings: "calt";
    -webkit-font-feature-settings: "calt";
    font-feature-settings: "calt";
}
.post-navigation .nav-links .nav-next a:hover{visibility: hidden;text-indent: -9999px;}
.post-navigation .nav-links .nav-next a:hover::after{content: "Projet suivant ->";visibility: visible;text-indent: 0;}
/*--------------------------------------------------------------
#Footer standard
--------------------------------------------------------------*/
#footer_bk{
	position: relative;
	width: 100%;
	margin: 0;
	padding: .5vw 0 .5vw 0;
	text-transform: uppercase;
	font-weight: bold;
	list-style: none;
	background: #f9f9f9;
	border-top: 1px solid black;
	}
#footer_bk li span{
	float: right;
	transform: rotateZ(90deg);
	cursor: pointer;
	font-family: 'Relative';
	font-variant-ligatures: contextual;
    -moz-font-feature-settings: "calt";
    -webkit-font-feature-settings: "calt";
    font-feature-settings: "calt";
	}

/*--------------------------------------------------------------
Actualités
--------------------------------------------------------------*/
.sbi_photo_wrap {
padding: 0 1.1rem 0 0 !important;
}
/*--------------------------------------------------------------
Sticky
--------------------------------------------------------------*/
#mysticky-wrap{
	width: 50%;
	padding-right: .55rem;
	}
#mysticky-nav #mysticky-wrap{width: 100%;padding-right: 0;}

.left #mysticky-wrap{padding-right: 0;}	
	
#mysticky-nav.wrapfixed{width: 100%;}
#myfixed{
	width: 100%;
	padding-right: .55rem;
	}
#mysticky-nav .myfixed {
	margin:0 !important;
	float:left;
	border:0px;
	background:none;
	max-width:100%;
	padding:.55rem 0;
	}
.page-template-index #mysticky-nav .myfixed{padding:0 1.1rem;}
#mysticky-nav h1.myfixed{padding:.55rem 0 .55rem 1.1rem;}
.post-template-default #mysticky-wrap{}
.post-template-default #mysticky-nav.wrapfixed{width: 50%;height: 100%;}	
.post-template-default #mysticky-nav .myfixed {
width: auto !important;
padding: 1.1rem .55rem .55rem 1.1rem !important;
height: 100%;
overflow-y: auto !important;
}
div.flexy h2{padding-bottom: 2.5vw;}



/*--------------------------------------------------------------
Page tableau
--------------------------------------------------------------*/
.page-id-221 .entry-header{display: none !important;}

.page-id-221 .entry-content{
	display: block;
}
.page-id-221 .widget-area{display: none !important;}

table.dataTable{border-collapse: collapse !important;}

table.dataTable tbody tr{
	background-color: #f9f9f9 !important;
	border-bottom: 1px solid black !important;
	transition: all .06s ease-in-out;
}
table.dataTable tbody tr:hover{background: #DFDFDF !important;transition: all 0 ease-in-out;}
table td{
	font-size: 1.3vw !important;
	font-weight: normal !important;
}	

table.dataTable thead th, table.dataTable thead td{padding: .6vw .4vw .6vw 0;}
table.dataTable tbody th, table.dataTable tbody td{padding: .6vw 1vw .6vw 0;}
.col-annee_fin{padding: .6vw 0 .6vw 0 !important;}
.col-typologie{padding: .6vw 1vw .6vw 0 !important;}
td.col-title{padding: 0 !important;}
td.col-title:hover a{font-size: 0;padding: 0 !important;}
td.col-title:hover a:after{
	content: "Voir le projet ->";
	font-size: 1.3vw;
	float: left;
	font-variant-ligatures: contextual;
    -moz-font-feature-settings: "calt";
    -webkit-font-feature-settings: "calt";
    font-feature-settings: "calt";
}

td.col-title a{
width: 100%;
display: block;
padding: .6vw 1vw .6vw 0;
cursor: pointer;
}
td.col-title a:hover{animation: none !important;}

td a{}

@keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.2; }
    to { opacity: 1.0; }
}                                                                                                                                                                                                                                  

@-webkit-keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.2; }
    to { opacity: 1.0; }
}

td a:hover {
  animation:fade 1000ms infinite;
  -webkit-animation:fade 1000ms infinite;
  cursor: pointer;
}

.posts-table-above{padding-bottom: 2vw !important;margin-bottom: 0 !important;}

.posts-table-controls .dataTables_filter, .posts-table-controls .dataTables_info, .posts-table-controls .dataTables_length, .posts-table-controls .dataTables_paginate, .posts-table-controls .posts-table-select-filters{margin: 0 !important;}
.posts-table-controls .dataTables_filter{display : flex; align-items : center;width: calc(100% + 68%);}

td, tr{outline:none;}
thead tr{border-bottom: 1px solid black !important;}
table.dataTable thead th, table.dataTable thead td{border:none !important;}

.posts-table-wrapper{margin: 0 !important;}

.posts-data-table td, .posts-data-table th{vertical-align: middle !important;}

/*--------------------------------------------------------------
Page tableau — search + bouton
--------------------------------------------------------------*/
.posts-table-controls .dataTables_filter .posts-table-reset{
	margin-right: 0 !important;
	position: absolute !important;
	right: 0 !important;
	padding-right: 0;
	}
.posts-table-controls.myfixed .dataTables_filter .posts-table-reset{
	padding-right: 1.1rem;
	}
.posts-table-reset a{
font-weight: normal !important;
font-size: 1vw !important;
border: 1px solid black !important;
padding: .3rem .8rem !important;
border-radius: .5rem !important;
text-transform: uppercase !important;
background: #f9f9f9;
transition: all .1s ease-in-out;
}
.posts-table-reset a:hover{background: #DFDFDF;}
.posts-table-reset a:active{background: #DFDFDF;box-shadow: inset 0px 0px 4px 0px rgba(143, 143, 143, 1);}


.dataTables_wrapper .dataTables_filter, .posts-table-controls label{float: left !important;}

.posts-table-controls label{width: 100% !important;}

.posts-table-controls input[type=search], .posts-table-controls select{
	font-size: 1.46vw !important;
	color: black !important;
	width: 100% !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
	text-transform: uppercase !important;
	font-weight: bold !important;
	border-bottom: 1px solid black;
	background: #F9F9F9;
}
.posts-table-controls input[type=search]::placeholder{color: black !important;text-transform: uppercase !important;}
.posts-table-controls input[type=search]:focus {outline: none;}
/*--------------------------------------------------------------
Page tableau — Header
--------------------------------------------------------------*/
table.dataTable thead .sorting, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc{
	text-transform: uppercase !important;
}

table.dataTable.nowrap th{white-space: normal !important;}

table.fixedHeader-floating{background: #F9F9F9 !important;}

.posts-data-table th{line-height: 1 !important;}

/*--------------------------------------------------------------
## Post table pro — Flèches

table.dataTable thead .sorting:after{content: "  " !important;}
table.dataTable thead .sorting_desc:after{content: "  ↓" !important;}
table.dataTable thead .sorting_asc:after{content: "  ↑" !important;}

.posts-table-controls .dataTables_filter{
margin-top: 0 !important;
width: 100vw !important;
}
--------------------------------------------------------------*/
table.dataTable thead .sorting, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc{background-image:none !important;cursor: pointer;}
th:hover{cursor: pointer !important;}
table.dataTable thead .sorting:after{
	content: "<-" !important;
	float: right;
	transform: rotateZ(-90deg);
	cursor: pointer;
	font-family: 'Relative';
	font-variant-ligatures: contextual;
    -moz-font-feature-settings: "calt";
    -webkit-font-feature-settings: "calt";
    font-feature-settings: "calt";
    color: #DFDFDF;
	}
table.dataTable thead .sorting:hover:after{
    color: black;
	}
table.dataTable thead .sorting_desc:after{
	content: "<-" !important;
	float: right;
	transform: rotateZ(90deg);
	cursor: pointer;
	font-family: 'Relative';
	font-variant-ligatures: contextual;
    -moz-font-feature-settings: "calt";
    -webkit-font-feature-settings: "calt";
    font-feature-settings: "calt";
    color: black;
}
table.dataTable thead .sorting_asc:after{
	content: "<-" !important;
	float: right;
	transform: rotateZ(-90deg);
	cursor: pointer;
	font-family: 'Relative';
	font-variant-ligatures: contextual;
    -moz-font-feature-settings: "calt";
    -webkit-font-feature-settings: "calt";
    font-feature-settings: "calt";
    color: black;
}


/* ————————————————
iPhone — responsive
———————————————— */

@media (max-width:900px){
	
#loftloader-wrapper .loader-bg{height: calc(100% - 18.4vw) !important;bottom: 0 !important;top: auto !important;}
.home #loftloader-wrapper .loader-bg{height: 100% !important;}
.home.loaded.leaves #loftloader-wrapper.end-fade .loader-bg{height: calc(100% - 18.4vw) !important;transition: height 0s 0s linear;}

body, h1, .ac_title_class{font-size: 4.8vw;}
#toto{padding: 0 .5rem;}
body.page-id-349{padding: 0 0 0 .5rem !important;}
.page-template-index #mysticky-nav .myfixed{padding: .5rem .5rem 0 .5rem;}

table td, .posts-table-controls input[type=search], .posts-table-controls select, .sbi_caption_wrap, #wpsm_accordion_379 .wpsm_panel-body.wpsm_panel-body, h2, .flexy h1, td.col-title:hover a:after{font-size: 4.3vw !important;}

.site-header{width: 100vw;padding: 0 .5rem;}

.site-title {font-size: 12.6vw;transform: scale(1.04);}

.site-content{top: 25vw;}

.home_random{
width: calc(100vw - 1rem);
height: calc(100% - 15.5vh);
top: 18.5vw;
}
.titre_accueil{padding: 1.8vw 0;width: calc(100vw - 1rem);}

.home_random img{width: 100%;}

.home_random img#riz, .home_random img#pates{display: none;}
#phaune{display: block;}

#mysticky-nav h1.myfixed{padding:.55rem 0 .55rem .5rem;}
.sbi_photo_wrap {padding: 0 .5rem 0 0 !important;}

table.dataTable thead th, table.dataTable thead td, table.dataTable tbody th, table.dataTable tbody td, .col-annee_fin, .ac_title_class, #menu-projets, .flexy{padding: 1.8vw 0vw !important;}
table.dataTable thead th.col-title{padding: 1.8vw 3.6vw 1.8vw 0 !important;}

.posts-table-reset{display: none !important;}
.posts-table-controls input[type=search], .posts-table-controls select{
	width: calc(100vw - 1rem) !important;
	text-transform: uppercase !important;
	font-weight: bold !important;
	border: 1px solid black;
	-webkit-appearance: none;
	border-radius: 0;
	border-radius: .5em !important;
	box-shadow: inset 0px 0px 4px 0px rgba(143, 143, 143, 1);
	background: #DFDFDF;
	padding: .3em .5em !important;
}

td.col-title:hover a{font-size: inherit;padding: .6vw 1vw .6vw 0 !important;}
td.col-title:hover a:after{
	content: inherit;}

.col-numero{display: none !important;}

#mysticky-wrap{width: 100%;padding-right: 0;}

.informations{display: flex;flex-direction: column;}
.infos_iphone{display: block !important;}
.gauche, .droite{display: none !important;}
.gauche{margin-right: .5vw;}
.droite{margin-left: .5vw;}


.entry-content{flex-direction: column;}

.post-template-default #mysticky-nav .myfixed {width: 100% !important;padding: .55rem .5rem .55rem .5rem !important;overflow-y: hidden !important;height: auto;}
.post-template-default #mysticky-nav.wrapfixed{width: 100%;height: auto;}	
div.flexy h2{padding-bottom: inherit;}
.right{width: 100%;padding-left: 0;}

.left .flexy{display: none;}

.post-navigation{
	position: absolute;
	bottom: 0;
	width: 100%;
	margin: 0 !important;
	}

.post-navigation .nav-links .nav-previous, .post-navigation .nav-links .nav-next{padding: .5rem 0;}
.post-navigation .nav-links .nav-previous a, .post-navigation .nav-links .nav-next a{font-size: 0;display: block;}
.post-navigation .nav-links .nav-previous a::before, .post-navigation .nav-links .nav-next a::after{font-size: 4.8vw;visibility: visible;}
.post-navigation .nav-links .nav-previous a::before{content: "<- Précédent";}
.post-navigation .nav-links .nav-previous a:hover::before{content: "<- Précédent";}
.post-navigation .nav-links .nav-next a::after{content: "Suivant ->";}
.post-navigation .nav-links .nav-next a:hover::after{content: "Suivant ->";}

#footer_bk{
	padding: 1.8vw 0vw !important;
	}

.mages li:last-child {
margin-bottom: 1rem;
}

}

/* ————————————————
MacBook 13 — Responsive
———————————————— */
@media only screen and (min-width : 900px) and (max-width : 1280px) {
.site-title {
font-size: 6.3vw;transform: scale(1.03);}

}

/* ————————————————
Écran HD — Responsive
———————————————— */
@media only screen and (min-width : 1820px) and (max-width : 2560px) {
	#loftloader-wrapper .loader-bg{height: calc(100% - 7.9vw) !important;bottom: 0 !important;top: auto !important;}
.home.loaded.leaves #loftloader-wrapper.end-fade .loader-bg{height: calc(100% - 7.9vw) !important;transition: height 0s 0s linear;}

	body, h1, .posts-table-controls input[type=search], .posts-table-controls select, .ac_title_class, h2{font-size: 1.2vw !important;}
	.sbi_caption_wrap{font-size: .9vw;}
	
	.home_random{height: calc(100% - 8vw);top: 8vw;}
	
}