/*
Theme Name: Inpixel Blank Responsive
Theme URI: https://www.inpixelitrust.fr/blog/en/inpixelitrust-responsive-blank-theme-wordpress/
Github Theme URI: https://github.com/inpixelitrust/inpixel_blank_responsive_theme
Author: Stephanie Walter
Author URI: https://www.inpixelitrust.fr
Description: Inpixelitrust blank theme for starting a WordPress project based on <a href="https://randyjensenonline.com/thoughts/handcrafted-wp-starter-theme/">Randy Jensen & Randy Hoyt HTML5 starter theme </a> with other goodies added plus chunks of Paul Irish's <a href="https://html5boilerplate.com/">HTML5 Boilerplate </a> and some final pieces of <a href="https://knacss.com/">Raphael Goetter's knacss in it</a>. Enjoy and Share the love :)
Version: v2.1
License: GPL
License URI: https://codex.wordpress.org/License


/* !!! Important note : I used @import rule to be able to import the KNACSS build from the official repository more easily using either CSS, Less or Sass, but on a "real" project you might want to include an merge the CSS rules directly in your main stylesheet (or use a preprocessor to do the job) */
@import "css/knacss/knacss.css";


/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */

a,a:active,a:visited {
	color: #607890;
}

a:hover {
	color: #036;
}

a:link {
	-webkit-tap-highlight-color: #FF5E99;
}

a img {
	border: 0;
}



/* ----------------------------- */
/* == General */
/* ----------------------------- */
body { background:#d6d5d5; font-family: 'Open Sans', sans-serif; color:#565050; }
#wrapper { width:auto; max-width:1076px; margin:0 auto; background:#fff; }

/* ----------------------------- */
/* == Header */
/* ----------------------------- */
#header {
	background-image:url(images/header.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width:100%;
	padding-bottom:13.289962825278810408921933085502%;
	height: 0;
	position:relative;
}
html:lang(en) #header { background-image:url(images/header-en.png); }
html:lang(es) #header { background-image:url(images/header-es.png); }
#blog_home_link { position: absolute; top: 0; left: 0; display:block; height: 100%; width: 100%; text-indent: -999em; }
.site-title {
	margin: .65em 0;
	font-weight: bold;
}

.site-description {
	margin: 0 0 0.86em;
	font-weight: normal;
}

.site-title, .site-description { text-indent:-999em; margin-top: 0; }

/* ----------------------------- */
/* == Menu */
/* ----------------------------- */

.main-menu {
	display: block;
	float: left;
	width: 100%;
	margin: 0 auto 0.7em;
	border: 1px solid #bbb9b9;
	border-left:0; border-right:0;
}

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

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

.main-menu .menu > li { margin-left: 9px; }

.main-menu .menu > li + li {
	margin-left: 23px;
}

.main-menu a {
	display: block;
	padding: .5em 0.8em;
	line-height: 1em;
	text-decoration: none;
	font-size: 1.4em;
	color:#555050;
}

.main-menu > a:hover,
.main-menu > a:focus,
.main-menu .current-menu-item > a,
.main-menu .current-menu-ancestor > a {
	border-bottom:4px solid #c20151;
	margin-bottom: -4px;
}

.main-menu .sub-menu,
.main-menu .children {
	position: absolute;
	max-height: 0;
	overflow: hidden;
	list-style: none outside none;
	background: transparent;
	z-index: 10;
}

.main-menu .sub-menu li,
.main-menu .children li {
	float: none;
	background: #ebeaea;
}

.main-menu .sub-menu li + li,
.main-menu .children li + li {
	border-top : 1px solid #e3e2e2;
}

.main-menu .sub-menu a,
.main-menu .children a {
	white-space: nowrap;
	color: #555050;
	font-size: 1.15em;
}

/* unhide the 2nd level */
.main-menu li:hover .sub-menu,
.main-menu li:hover .children,
.main-menu li.hover .sub-menu,
.main-menu li.hover .children {
	max-height: 30em;
	padding-top: 8px;
}

.main-menu li:hover > a {
	background:#c20151;
	color:#fff;
}

.main-menu .sub-menu a:hover,
.main-menu .children a:hover,
.main-menu .sub-menu a:focus,
.main-menu .children a:focus {
}


/* Styling the toggle menu link and hiding it */
.navtoggle,
.toggle-link {
	display: none;
}

.main-menu .navtoggle {
	width: 100%;
	padding: .8em 1em;
	text-align: right;
	background: none;
	border: none;
	cursor: pointer;
}

.navtoggle:before {
	content: '\2630';
	padding-right: .5em;
	font-size: 1em;
}

/* ----------------------------- */
/* == Langue Switcher */
/* ----------------------------- */
#lg-switcher { position: absolute; bottom: -30px; right: 14px; list-style : none; padding: 0; margin: 0; }
#lg-switcher li { float:left; }
#lg-switcher li + li { margin-left: 5px; }
#lg-switcher a {}
#lg-switcher img {}

#contact-zone { background:url(images/contact.png) 0 0 no-repeat; width:100%; color:#fff; clear:both; padding: 20px 0 14px 26px; font-weight: 600; position: relative; z-index: 3; }
#contact-zone .phone { margin-left: 63px;  font-size: 1.3em;  }
/* ----------------------------- */
/* == Breadcrumb */
/* ----------------------------- */
.breadcrumbs { font-size: 0.8em; padding: 38px 0 26px; }
.breadcrumbs, .breadcrumbs a, .breadcrumbs span {
	color:#837c7c;
	text-decoration:none;
}
/* ----------------------------- */
/* == Content */
/* ----------------------------- */
#page-container { padding: 92px 60px 75px 26px; }
.home #page-container { padding: 92px 58px 8px 58px; }
.home #content { margin-top: -125px; }
.lteie8 .container {
	width: 1024px;
}

/* nav */
.content nav {
	display: block;
	overflow: hidden;
}

.content nav .nav-previous {
	float: left;
	width: 50%;
}

.content nav .nav-next {
	float: right;
	width: 50%;
	text-align: right;
}

.content #nav-above {
	display: none;
}

.paged .content #nav-above,
.single .content #nav-above {
	display: block;
}

#nav-below {
	margin: 1em 0 0;
}

.page-link {
	margin: 0 0 1em;
}

/* table styling */

.content table,
.content td,
.content th {
	border: 1px solid rgb(191, 191, 190);
}

.content tbody tr:nth-child(odd) {
	background: #eee;
}

.entry-meta {
	font-size: 0.9em;
	font-style: italic;
}

h1 { font-size: 2.8em; font-family: 'Oswald', sans-serif; font-weight: normal; }
h1.entry-title { color:#f49d16; background:url(images/border-heading.png) 0 100% no-repeat; padding-bottom: 29px; margin-bottom: 34px; }
h1.entry-title a { color:#f49d16; text-decoration:none; }
span.entry-title-primary { display:block; margin-bottom: 16px; }
span.entry-subtitle { font-size: 0.35em!important; font-family: 'Open Sans', sans-serif; color:#837c7c; }

.entry-content { font-size: 1.3em; }
.entry-content p { margin-top: 1.6em; }
.entry-content > p:first-child img.alignright { margin-top: -199px; margin-bottom: 1em; }

article + article { margin-top: 20px; }

.entry-summary span.readmore { display:block; margin:5px 0; }
/* ----------------------------- */
/* == Footer */
/* ----------------------------- */
#footer { background:#59386c; padding: 16px 58px 30px; color:#fff; }
#footer h5 { font-family: Oswald, sans-serif; font-size: 1em; text-transform: uppercase; font-weight: normal; background:url(images/border-heading.png) 0 100% no-repeat; padding-bottom: 11px; margin-bottom: 8px; }
#footer address,
#footer p,
h5  { font-size: 0.8em; font-family: 'Open Sans', sans-serif; font-style: normal; font-weight: normal; }
.footer-menu { margin-top: 0.9em; }
.footer-menu ul { padding: 0; margin: 0; list-style:none; font-size: 0.8em; font-family: 'Open Sans', sans-serif; }
.footer-menu li + li { border-left: 1px solid #fff;  margin-left: 6px; padding-left: 6px; }
.footer-menu li { float:left; }
.footer-menu li a { color:#fff; text-decoration:none; }
#footer .metro { font-size: 0.5em; list-style: none; padding: 0; margin: 0 12px 0 0; position: absolute; right: 188px; bottom: 6px; }
#footer .metro li { text-align:right; }
#footer .metro li + li { margin-top: 5px; }
#footer .prelative { position:relative; }
#footer .grid > * > * { margin-bottom: 20px; }
/* ----------------------------- */
/* == Slider */
/* ----------------------------- */
.slideBlock {
	background: rgba(185, 0, 77, 0.51);
	max-width: 249px;
	max-height: 352px;
	padding: 25px 23px;
}
.slideBlock h3 { font-size: 36px; color:#fff; font-family: Oswald, sans-serif; font-weight: normal; line-height: 1.2; background:url(images/border-heading.png) 0 100% no-repeat; padding-bottom: 36px; margin-bottom: 23px; }
.slideBlock p { font-size: 1.3em; }

.rsUni .rsArrowIcn { background:url(images/rs-arrows.png)!important; bottom: 0!important; top: auto!important; width: 33px!important; height: 32px!important; left: auto!important; right: 0; opacity: 1!important; }
.rsUni.rsHor .rsArrowLeft .rsArrowIcn { background-position: 0 100%!important; right: auto!important; left: 16px!important; }

/* ----------------------------- */
/* == Homepage */
/* ----------------------------- */
.entry-content p.availability { margin: 5px 0 0; background:#a7a1ac; color:#fff; font-weight: 600; text-transform: uppercase; font-size: 1.1em; text-align: center; padding: 4px 0; }
.entry-content .bubulle .grid4 > div { text-align:center; margin-bottom: 20px; background:url(images/trait-bulle.png) 54% 100% no-repeat; padding-bottom: 17px; }
.entry-content .bubulle h3 { color:#f49d16; font-size: 1.3em; font-family:Oswald, sans-serif; font-weight: normal; text-transform:uppercase; margin: 0.675em 0 0 0; }
.entry-content .bubulle h3 a { color:#f49d16; text-decoration: none; }
.entry-content .bubulle p { font-family:'Open Sans', sans-serif; font-size:0.75em; margin-top: 0.1em; }
.entry-content .bubulle { margin-top: 36px; }

.homepage-posts { margin-top: 32px; }
.homepage-posts p { text-align: justify; color:#fff; -webkit-hyphens: auto;  -moz-hyphens: auto;  -ms-hyphens: auto;  -o-hyphens: auto;  hyphens: auto; word-wrap: break-word; line-height: 1.29; }
.homepage-posts .grid2 > * { width: 46%; }
.homepage-posts .grid2 > *:last-child { float:right; }
.homepage-posts article { background:#b9004d url(images/bloc+.png) top right no-repeat; padding: 15px 11px 8px 22px; margin-left: 20px; font-family: 'Open Sans', sans-serif; margin-bottom: 20px;
-webkit-border-top-left-radius: 25px;
-webkit-border-bottom-right-radius: 25px;
-moz-border-radius-topleft: 25px;
-moz-border-radius-bottomright: 25px;
border-top-left-radius: 25px;
border-bottom-right-radius: 25px;}
.homepage-posts article + article { margin-top: 0; }
.homepage-posts .entry-title { text-transform: uppercase; font-weight: normal; font-family:Oswald, sans-serif; color:#fff; font-size: 1.7em; margin-bottom: 24px; }
.homepage-posts .entry-title a { text-decoration: none; color:#fff; }
.homepage-posts .entry-meta { font-size: 1.1em; color:#fff; font-weight: 600; font-style: normal; margin-top: 9px; }
.homepage-posts .readmore { display: block; text-align: center; margin-top: 5px; }
.homepage-posts .readmore a { color:#262324; font-family: Oswald, sans-serif; font-size:1.1em;  }
/* ----------------------------- */
/* == WordPress Images */
/* ----------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	margin-bottom: 1.3em;
}

img.alignleft {
	margin-right: 1.3em;
}

img.alignright {
	margin-left: 1.3em;
}

.wp-caption {
	padding: .5em;
	text-align: center;
}

.wp-caption img {
	margin: .25em;
}

.wp-caption .wp-caption-text {
	margin: .5em;
}

.gallery-caption {
}

.gallery-item {
	float: left;
	width: 33%;
	margin-top: 10px;
	text-align: center;
}

/* bicubic resizing for non-native sized IMG:
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */

.ie7 img {
	-ms-interpolation-mode: bicubic;
}

/* Images */
.entry-content img,
.comment-content img,
.widget img {
max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"] {
height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full {
max-width: 97.5%;
width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}

/* ----------------------------- */
/* == WordPress alignement */
/* ----------------------------- */


/* Alignment */
.alignleft {
	display: inline;
	float: left;
}

.alignright {
	display: inline;
	float: right;
}

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

/* ----------------------------- */
/* == Hidding / unhidding content */
/* ----------------------------- */

/* for image replacement */

.ir {
	display: block;
	text-indent: -999em;
	overflow: hidden;
	background-repeat: no-repeat;
	text-align: left;
	direction: ltr;
}


/* Hide for both screenreaders and browsers
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden {
	display: none;
	visibility: hidden;
}

/* Hide visually and from screenreaders, but maintain layout */
.invisible {
	visibility: hidden;
}

/* Hide only visually, but have it available for screenreaders
   www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden  */
.assistive-text,
.visually-hidden {
	position: absolute !important;
	left: -7000px;
	overflow: hidden;
	clip: rect(1px 1px 1px 1px);
	clip: rect(1px, 1px, 1px, 1px);
}

[dir=rtl] .visually-hidden {
	left: auto;
	right: -7000px;
}

a.assistive-text:active,
a.assistive-text:focus {
	background: #eee;
	border-bottom: 1px solid #ddd;
	color: #1982d1;
	clip: auto !important;
	font-size: 12px;
	position: absolute;
	text-decoration: underline;
	top: 0;
	left: 7.6%;
}

/* skip-links */
.skip-links {
	position: absolute;
}

.skip-links a {
	position: absolute;
	left: -9999px;
	padding: 0.5em;
	background: #000;
	color: #fff;
	text-decoration: none;
}

.skip-links a:focus {
	position: static;
}


/* ----------------------------- */
/* ==desktop medias */
/* ----------------------------- */

 /* Responsive Menu */
@media screen and (max-width: 800px) {

	.slideBlock h3 {font-size: 30px; }
	.slideBlock p { font-size: 1.1em }
}
@media screen and (max-width: 768px) {
	.navtoggle,
	.toggle-link {
		display: block;
	}

	.main-menu .menu  li {
		float: none;
		margin: 0;
	}

	.js .menu > ul {
		overflow: hidden;
		max-height: 0em;
	}

	.main-menu .active + ul,
	.main-menu .keyboardactive + ul {
		max-height: 90em;
	}

	/* styling the toggle menu */
	.toggle-link {
		position: absolute;
		top: 0;
		right: 0px;
		height: 42px;
		width: 40px;
		border: none;
		z-index: 200;
		font-size: 0em;
		background: rgba(255, 255, 255,0.1);
		cursor: pointer;
	}
	/* arrow to indicate that we have subnav*/
	.main-menu .menu .has-subnav > .toggle-link:after {
		content: "▼";
		font-size: 16px;
		position: absolute;
		width: 15px;
		top: 10px;
		bottom: 0px;
		right: 10px;
		color: #607890;
	}

	.main-menu .menu .has-subnav  > .toggle-link.active:after {
		content: "▲";
	}

	/* Hide the Sub menu */
	.main-menu li:hover .sub-menu,
	.main-menu li:hover .children {
		max-height: 0;
		overflow: hidden;
	}

	/* Open the Sub menu ! */
	.main-menu li .sub-menu.active,
	.main-menu li.hover .sub-menu,
	.main-menu li .children.active,
	.main-menu li.hover .children {
		max-height: 30em;
		overflow: visible;
		position: relative;
	}

	/* Sub menu styling*/
	.main-menu .sub-menu,
	.main-menu .children {
		background: none;
	}

	.main-menu .sub-menu a,
	.main-menu .children a {
		color: #607890;
	}

	.main-menu .sub-menu .current-menu-item a,
	.main-menu .children .current-menu-item a {
		color: #fff;
	}

	.main-menu .sub-menu li a,
	.main-menu .children li a {
		padding-left: 30px;
	}

	.homepage-posts img { float:none; }

	.main-menu .sub-menu a, .main-menu .children a { font-size: 1.3em; }
}
@media (max-width: 640px) {
	.grid.homepage-posts > * > * {
		width: auto !important;
	}
	.slideBlock h3 {font-size: 20px;
			padding-bottom: 20px;
			margin-bottom: 15px;}
	.slideBlock p { font-size: 0.9em }
}
@media screen and (max-width: 568px) {
	.site-title { margin: .60em 0; }
	.site-description { margin: 0; }
}
@media screen and (max-width: 320px) {
	.site-title { margin: .30em 0; font-size: 2.2em; }
	.site-description { margin: 0; font-size: 1.5em; }
	#contact-zone,
	.home .breadcrumbs { display:none; }
	.home #content { margin-top: 0; }
	.home #page-container { padding: 0 20px 75px 20px; }
	#footer .metro { position:static; right: auto; bottom: auto; }
	#footer .map-metro .alignright { float:left; }
	#footer .map-metro .metro li { text-align:left; }
	.royalSlider { display:none; }
}


@media screen and (max-width: 768px) {
	body.home #contact-zone { visibility:hidden; }
	.entry-content > p:first-child img.alignright { margin-top: 0; }
}