/*
Theme Name: Casa Domotic
Theme URI: 
Description: 
Version: - 1.3
Author: HelloMaksim SPRL
Author URI: http://www.hellomaksim.com/
*/

/** FONTS */
@font-face {
	font-family: 'TodaySHOP-MediumRegular';
	src: url('fonts/todayshop-medium-webfont.eot');
	src: url('fonts/todayshop-medium-webfont.eot?iefix') format('eot'),
		 url('fonts/todayshop-medium-webfont.woff2') format('woff2'),
		 url('fonts/todayshop-medium-webfont.woff') format('woff'),
		 url('fonts/todayshop-medium-webfont.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'TodaySHOP-LightRegular';
	src: url('fonts/todayshop-light-webfont.eot');
	src: url('fonts/todayshop-light-webfont.eot?iefix') format('eot'),
		 url('fonts/todayshop-light-webfont.woff2') format('woff2'),
		 url('fonts/todayshop-light-webfont.woff') format('woff'),
		 url('fonts/todayshop-light-webfont.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'TodaySHOP-Regular';
	src: url('fonts/todayshop-regular-webfont.eot');
	src: url('fonts/todayshop-regular-webfont.eot?iefix') format('eot'),
		 url('fonts/todayshop-regular-webfont.woff2') format('woff2'),
		 url('fonts/todayshop-regular-webfont.woff') format('woff'),
		 url('fonts/todayshop-regular-webfont.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

/* BALISES */
* {
	margin: 0;
	padding: 0;
}
html, body {
	height: 100%;
}
body {
	width: 100%;
	height: 100%;
	color: #1D4C7F;
	font: 14px Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	text-align: center;
	background: #CDE1E8 url('img/bg_body.jpg') no-repeat center top;
}
a {
	color: #209EBF;
	text-decoration: none;
}
a:hover, a:focus, a:active {
	color: #209EBF;
	text-decoration: none;
	outline: none;
}
a img, form { border: 0; }
em { font-style: italic; } 
b, strong { font-weight: bold; }
small { font-size: 0.9em; }
p { margin: 0 0 1.3em 0; }
blockquote {
	padding: 0 1em;
	font-style: italic;
}
ol, ul {
	list-style: disc;
	margin: 0 0 1.3em 0;
}
li { 
	margin: 0 0 0.6em 15px;
	padding: 0 0 0 3px;
}
input, select, textarea {
	padding: 6px 8px 5px 8px;
	font: 14px Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	color: #1D4C7F;
	background: #EFF2F6;
	border: 0;
	border-radius: 5px;
}
input[type='submit'] {
	cursor: pointer;
	color: #EFF2F6;
	background: #1D4C7F;
}
input[type='submit']:hover {
	color: #FF6D00;
}
option { padding: 0 8px; }
textarea {
	padding: 8px;
	font-weight: normal;
	overflow: auto;
}
/*select, option {
	color: #212121;
	background: #FFFFFF;
}*/
td { vertical-align: top; }
hr {
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	border: none;
}
h1 {
	position: relative;
	margin: 0 0 0.9em 0;
	padding: 0 0 0 23px;
	font-family: TodaySHOP-Regular, Arial, Helvetica, sans-serif;
	font-size: 30px;
	line-height: 1.15em;
	color: #FF6D00;
}
h1:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 23px;
	height: 1em;
	background: url('img/sprite.png') no-repeat -10px -440px;
}
h2 {
	position: relative;
	margin: 26px 0 10px 0;
	padding: 0 0 0 23px;
	font-family: TodaySHOP-Regular, Arial, Helvetica, sans-serif;
	font-size: 25px;
	line-height: 1.2em;
}
h2:before {
	content: '';
	position: absolute;
	top: 0.05em;
	left: 0;
	display: block;
	width: 23px;
	height: 1em;
	background: url('img/sprite.png') no-repeat -2px -336px;
}
h3 {
	margin: 0 0 6px 0;
	font-family: TodaySHOP-Regular, Arial, Helvetica, sans-serif;
	font-size: 21px;
	line-height: 1.2em;
}

/** BLOCS */
#container {
	position: relative;
	min-height: 100%;
	text-align: left;
	border-top: 10px solid #1D4C7F;
	box-sizing: border-box;
}
#header, #nav, #main, #widgets, #footer-inner {
	position: relative;
	width: 920px;
	margin: 0 auto;
}
#nav {
	height: 284px;
}
#main {
	margin: 40px auto -70px auto;
	padding: 0 0 40px 0;
}
#main:after {
	content: '';
	display: block;
	height: 70px;
}

/** HEADER */
#header {
	height: 100px;
	margin: 20px auto 15px auto;
}
#logo {
	float: left;
	width: 240px;
	height: 100px;
	margin: 0 29px 0 0;
	padding: 0;
}
#logo a {
	display: block;
	width: 240px;
	height: 100px;
	font-family: TodaySHOP-Regular, Arial, Helvetica, sans-serif;
	font-size: 34px;
	color: #1D4C7F;
	text-indent: -9999px;
	background: url('img/logo_casadomotic.png') no-repeat center top;
}
h1#logo:before {
	content: none;
}
#slogan {
	float: left;
	padding: 28px 0 0 0;
	font-family: TodaySHOP-Regular, Arial, Helvetica, sans-serif;
	font-size: 30px;
}
#slogan span { font-family: Georgia, "DejaVu Serif", Norasi, serif; }
#links { float: right; }
#langs { float: right; margin: 15px 0 0 0; }
#langs a {
	float: left;
	display: block;
	margin: 0 0 0 14px;
	/*padding: 0 0 0 20px;*/
	font: 14px/15px Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	color: #323232;
	/*background: url('img/sprite.png') no-repeat -10px -10px;*/
	cursor: pointer;
}
#langs a:hover {
	text-decoration: underline;
}
#langs a.active {
	color: #1D4C7F;
	font-weight: bold;
	/*background: url('img/sprite.png') no-repeat -10px -30px;*/
}
#networks {
	clear: both;	
	float: right;
	margin: 19px 0 0 0;
}
#networks a { 
	display: block;
	float: left;
	width: 24px;
	height: 24px;
	margin: 0 0 0 12px;
	text-indent: -9999px;
	background: url('img/sprite.png') no-repeat -10px -404px;
}
#networks a.nw-tw { background-position: -70px -404px; }
#networks a.nw-li { background-position: -40px -404px; }
#networks a.nw-gp { background-position: -100px -404px; }

/** NAV */
#nav_wrapper {
	position: relative;
	display: inline-block;
	vertical-align: top;
	width: 240px;
	height: 284px;
	margin: 1px 30px 1px 0;
	z-index: 10;
}
#nav-menu-button, #nav-menu-link {
	display: none;
}
.menu-item {
	position: relative;
	list-style: none;
	height: 50px;
	margin: 0;	
	padding: 0;
}
.menu-item a {
	display: block;
	width: 180px;
	height: 32px;
	padding: 0 30px 0 30px;
	font: 23px/32px TodaySHOP-Regular, Arial, Helvetica, sans-serif;
	color: #1E1E1E;
	background: url('img/sprite.png') no-repeat -10px -101px;
}
.menu-item.special a { background-position: -10px -137px; }
.menu-item:hover a, .current-menu-item a, .current-page-ancestor a, .menu-item a:hover, .menu-item a:focus, .menu-item a:active {
	color: #FFFFFF;
	background-position: -10px -65px;
	text-decoration: none;
}
/*
.menu-item:hover .sub-menu { display: block; }
.sub-menu {
	display: none;
	position: absolute;
	top: -3px;
	left: 240px;
	margin: 0 0 0 12px;
	padding: 8px 80px 6px 16px;
	background: rgba(29, 76, 127, 0.75) no-repeat left 14px;
	border-radius: 16px;
}
.sub-menu:before {
	content: "";
	position: absolute;
	top: 0;
	left: -12px;
	width: 12px;
	height: 30px;
	background: url('img/bg_submenus_left.png') no-repeat left 14px;
}
.sub-menu .menu-item {
	list-style-type: disc;
	height: auto;
	margin: 0 0 2px 17px;
	padding: 0;
	font-size: 18px;
	color: #FFFFFF;
}
.sub-menu a {
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	font-size: 21px;
	line-height: 26px;
	color: #FFFFFF;
	background: none !important;
	white-space: nowrap;
}
.sub-menu .current-menu-item a, .sub-menu a:hover {
	color: #FF7800 !important;
	background: none !important;
}

/** SLIDESHOW */
#slideshow {
	position: relative;
	display: inline-block;
	vertical-align: top;
	width: 650px;
	height: 284px;
	border-radius: 16px;
	overflow: hidden;
}
.nivo-slice {
	display: block;
	position: absolute;
	height: 100%;
	top: 0;
	z-index: 1;
}
#slideshow img {
	position: absolute;
	top: 0;
	left: 0;
	width: 650px;
	height: 284px;
	z-index: 1;
}
#slideshow img, .nivo-slice {
	border-radius: 16px;
}
img.nivo-main-image {
	position: relative;
	display: block;
}
.nivo-caption {
	position: absolute;
	bottom: 0;
	width: 590px;
	height: 50px;
	padding: 0 30px;
	font: 24px/50px TodaySHOP-LightRegular, Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	background: url('img/bg_submenus.png') repeat left top;
	overflow: hidden;
	border-radius: 0 0 16px 16px;
	z-index: 2;
}
.nivo-controlNav {
	position: absolute;
	height: 40px;
	bottom: -40px;
	right: 30px;
}
.nivo-controlNav a {
	display: block;
	float: left;
	width: 16px;
	height: 15px;
	margin: 13px 0 12px 6px;
	text-indent: -9999px;
	background: url('img/sprite.png') no-repeat -10px -189px;
}
.nivo-controlNav a.active { background-position: -10px -209px; }

/** CONTENT */
#content {
	position: relative;
	margin: 0 0 79px 0;
	padding: 30px 30px 1px 30px;
	line-height: 1.3em;
	background: #FFFFFF;
	border-radius: 16px 16px 0 0;
}
#content a { text-decoration: underline; }
#content a:hover, #content a:focus, #content a:active { text-decoration: none; }
#content a.submit {
	padding: 6px 8px 5px 8px;
	font-size: 14px;
	line-height: 27px;
	color: #FFFFFF;
	background: #1D4C7F;
	text-decoration: none;
	border-radius: 5px;
}
#content a.submit:hover { color: #FF6D00; }
#content h2 > a {
	color: #1D4C7F;
	text-decoration: none;
}
#content h2 > a:hover, #content h2 > a:active, #content h2 > a:focus { text-decoration: underline; }
#content table { border-collapse: collapse; }
#content.with-sidebar { width: 620px; }
#content-bottom {
	position: absolute;
	width: 837px;
	height: 78.5px;
	bottom: -78.5px;
	right: 0;
	margin: 0 82.5px 0 0;
	background: #FFFFFF;
	border-radius: 0 0 0 16px;
}
#content-icon {
	display: block;
	position: absolute;
	right: -82.5px;
	width: 82.5px;
	height: 78.5px;
	text-indent: -9999px;
	background: url('img/sprite.png') no-repeat -10.5px -244.5px;
}
#content.with-sidebar #content-bottom { width: 597px; }
#content .submenus {
	margin: 1em;
}

/** TABS */
#tabs {
	position: relative;
	height: 45px;
	margin: 0 0 -13px 0;
	z-index: 10;
}
#tabs ul {
	list-style: none;
	margin: 0;
}
#tabs li {
	float: left;
	margin: 0;
	padding: 0;
}
#tabs li a {
	display: block;
	height: 28px;
	margin: 0;
	padding: 1px 30px 0 30px;
	font: 20px/30px TodaySHOP-Regular, Arial, Helvetica, sans-serif;
	color: #1D4C7F;
	text-align: center;
	text-decoration: none;
	border: 1px solid #E4E4E4;
	background: url('img/bg_tabs.png') repeat-x 0 -35px;
	border-radius: 16px 16px 0 0;
}
#tabs li a.current, #tabs li a:hover {
	height: 29px;
	color: #FF6D00;
	border-bottom: 0;
	background: url('img/bg_tabs.png') repeat-x 0 0;
}
#tabs li.first a {
	border-left: 0;
}
#tabs li.last a {
	width: 153px;
	border-right: 0;
}
#tabs .spacer {
	clear: both;
	height: 13px;
	background: #FFFFFF;
}

/** PARTNERS */
#partners { width: 100%; margin: 0 0 2em 0; }
#partners tr { background: url('img/bg_separator.png') repeat-x left bottom; }
#partners td {
	width: 33%;
	padding: 20px 25px;
	text-align: center;
	vertical-align: middle;
}
#partners img {
	display: block;
	width: auto;
	max-height: 55px;
	margin: 0 auto 15px auto;
}
#partners td p { margin: 0 0 3px; }

/** SIDEBAR */
#sidebar {
	float: right;
	width: 210px;
	margin: 0 0 0 30px;
	padding: 30px 0 10px 0;
}
#sidebar .title {
	margin: 0 0 24px 0;
	padding: 0 20px 0 0;
	color: #1D4C7F;
	font: 30px TodaySHOP-MediumRegular, Arial, Helvetica, sans-serif;
}
#sidebar .title a {
	color: #1D4C7F;
}
#sidebar .title a:hover, #sidebar .title a:active, #sidebar .title a:focus {
	text-decoration: underline;
}
.news { 
	margin: 0 0 24px 0;
	padding: 0 0 15px 0;
	background: url('img/bg_separator.png') repeat-x left bottom;
}
.news.last {
	margin: 0;
	padding: 0;
	background: none;
}
.news h3 a {
	font: 22px/26px TodaySHOP-LightRegular, Arial, Helvetica, sans-serif;
	color: #1D4C7F;
}
.news-content {
	padding: 0 20px 0 0;
	font-size: 13px;
	line-height: 17px;
}
.news-content a {
	padding: 2px 8px 3px 8px;
	color: #1E1E1E;
	font-size: 12px;
	line-height: 15px;
	background: url('img/bg_links.png') repeat-x 0 0;
	border-radius: 8px;
}
.news-content a:hover, .news-content a:focus, .news-content a:active {
	color: #FFFFFF;
	background: url('img/bg_links.png') repeat-x 0 -24px;
}

/** WIDGETS */
#widgets {
	position: relative;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	padding: 40px 0 0 0;
}
a#partner {
	position: relative;
	display: inline-block;
	vertical-align: top;
	text-align: center;
}
.widget {
	position: relative;
	display: inline-block;
	vertical-align: top;
	width: 200px;
	padding: 0 20px 17px 20px;
	color: #1D4C7F;
	background: url('img/bg_separator_vert.png') repeat-y right top;
}
.widget a {
	margin: 0;
	padding: 2px 8px 3px 8px;
	color: #1E1E1E;
	font-size: 12px;
	line-height: 15px;
	background: url('img/bg_links.png') repeat-x 0 0;
	border-radius: 8px;
}
.widget a:hover, .widget a:focus, .widget a:active, .widget a.active {
	color: #FFFFFF;
	background: url('img/bg_links.png') repeat-x 0 -24px;
}
.widget a.link {
	padding: 0;
	font-size: 22px;
	line-height: 22px;
	color: #1D4C7F;
	background: none;
	border-radius: 0;
}
.widget a.link:hover { color: #1D4C7F; background: none; }
.widget .icon-link { display: block; float: left; }
.widget .icon { margin: 0 0 15px 0; padding: 0 13px 0 0; }
.widget h3 {
	margin: 16px 0 0 0;
	color: #1D4C7F;
}
.widget .content {
	clear: both;
	margin: 15px 0 4px 0;
	font-size: 13px;
	color: #1D4C7F;
	line-height: 17px;
}

/** GALLERY */
.gallery {
	width: 825px;
	margin: 0 auto 1.3em auto;
	overflow: hidden;
}
.gallery-image {
	position: relative;
	width: 825px;
	height: 470px;
	background: #F5F5F5;
}
.gallery-image > .caption {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 775px;
	padding: 0 25px;
	font: 20px/53px TodaySHOP-LightRegular, Arial, Helvetica, sans-serif;
	color: #FFF;
	background: rgba(29, 76, 127, 0.75);
}
.gallery-image-bg {
	width: 825px;
	height: 470px;
	background: #FFF 0 0 no-repeat;
}
.gallery-image-bg > img {
	display: block;
	width: 825px;
	height: 470px;
}
.gallery-wrapper {
	width: 100%;
	max-width: 100%;
	height: 107px;
	overflow: hidden;
}
.gallery-thumbs {
	position: relative;
	left: 0;
	width: 2500px;
	transition: left 0.5s ease;
}
.gallery-thumbs > a {
	position: relative;
	display: inline-block;
	width: 157px;
	height: 87px;
	margin: 10px 5px;
	overflow: hidden;
}
.gallery-thumbs > a:first-child {
	margin-left: 0;
}
.gallery-thumbs > a:last-child {
	margin-right: 0;
}
.gallery-thumbs > a > span {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	opacity: 0;
	width: 147px;
	height: 77px;
	z-index: 2;
	border: 5px solid rgba(29, 76, 127, 0.75);
	background: transparent;
	transition: opacity 0.25s ease;
}
.gallery-thumbs > a > img {
	display: block;
	width: 157px;
	height: 87px;
	z-index: 1;
}
.gallery-thumbs > a.current > span, .gallery-thumbs > a:hover > span {
	opacity: 1;
}

/** FOOTER */
#footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 70px;
	background: #1D4C7F;
}
#footer-inner {
	position: relative;
	color: #FFFFFF;
	font: 12px/70px Tahoma, Geneva, Kalimati, sans-serif;
	text-align: left;
}
#footer-inner a { color: #FFFFFF; }
#footer-inner a:hover, #footer-inner a:focus, #footer-inner a:active {
	color: #FFFFFF;
	text-decoration: underline;
}
#footer .copyright { color: #21B6E3; }
a#gotop {
	position: absolute;
	top: 0;
	right: 0;
	height: 20px;
	margin: 25px 0 0 0;
	padding: 0 30px 0 10px;
	font-size: 13px;
	line-height: 20px;
	color: #1D4C7F;
	background: #FFFFFF url('img/sprite.png') no-repeat right -371.5px;
	border-radius: 5px;
}
a#gotop:hover { color: #1D4C7F; text-decoration: underline; }

/** CONTACT FORM */
.wpcf7 p {
	clear: both;
	height: 28px;
	margin: 0 0 8px 0;
}
.wpcf7 p.textarea { height: 196px; margin: 12px 0; }
.wpcf7 p.submit {
	width: 482px;
	height: 29px;
	margin: 10px 0 0 0;
	text-align: right;
}
.wpcf7-submit {
	text-align: center;
	cursor: pointer;
}
.wpcf7 label {
	float: left;
	width: 90px;
	margin: 0 15px 0 0;
	line-height: 27px;
}
.wpcf7 span { float: left; vertical-align: top; }
.wpcf7 span input, .wpcf7 span textarea { width: 360px; }
.wpcf7 span textarea { height: 180px; }
.wpcf7 span select { width: 376px; }
.wpcf7 select, .wpcf7 option { color: #1D4C7F; background: #EFF2F6; }
span.wpcf7-not-valid-tip-no-ajax {
	float: none;
	margin: 0 10px;
	font-size: 13px;
	line-height: 27px;
	color: #FF6D00;
}
div.wpcf7-response-output { width: 449px; margin: 0 0 12px 0; padding: 4px 14px; }
div.wpcf7-mail-sent-ok { border: 2px solid #398F14; }
div.wpcf7-mail-sent-ng { border: 2px solid #FF0000; color: #FF6D00; }
div.wpcf7-spam-blocked { border: 2px solid #FFA500; color: #FF6D00; }
div.wpcf7-validation-errors { border: 2px solid #F7E700; color: #FF6D00; }

/** SPLASH SCREEN */
#mask {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 9000;
	background-color: #000;
}
#splash-link { display: none; }
#splash-screen {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	min-width: 780px;
	padding: 40px 55px;
	text-align: center;
	background: #DDEAF0 url('img/bg_splash.png') no-repeat left bottom;
	border-radius: 21px;
	z-index: 9999;
	box-sizing: border-box;
}
#splash-screen .inner {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: flex-start;
}
#splash-screen .title {
	margin: 0 0 35px 0;
	font: 30px/30px TodaySHOP-Regular, Arial, Helvetica, sans-serif;
	color: #1D4C7F;
}
#splash-screen .title span {
	padding: 0 10px;
	color: #FF6D00;
}
#splash-screen a {
	display: inline-block;
	vertical-align: top;
	font: 33px/33px TodaySHOP-Regular, Arial, Helvetica, sans-serif;
	color: #1D4C7F;
}
#splash-screen a:hover {
	/*padding: 0 27px 0 0;*/
	color: #FF6D00;
	/*background: url('img/bg_splash_link.png') no-repeat right center;*/
}
#splash-screen a.off { color: #888888; }
#splash-screen a.off:hover {
	padding: 0;
	background: none;
}
#splash-screen img {
	display: block;
}
#splash-close {
	display: block;
	position: absolute;
	top: 16px;
	right: 16px;
	width: 12px;
	height: 12px;
	background: url('img/bg_splash_close.png') no-repeat 0 0;
}
#wpstats { display: none; }

/** CLASSES */
.hidden { display: none; }
.alignleft { float: left; margin: 0 10px 0 10px; }
.alignright { float: right; margin: 0 0 10px 10px; }
.aligncenter { display: block; margin: 1em auto 0 auto; }
.link {
	padding: 2px 8px 3px 8px;
	color: #1E1E1E;
	font-size: 12px;
	line-height: 20px;
	background: url('img/bg_links.png') repeat-x 0 0;
	border-radius: 8px;
}
.link.active, .link:hover, .link:focus, .link:active {
	color: #FFFFFF;
	background: url('img/bg_links.png') repeat-x 0 -24px;
}

/** Devis en ligne */
.form input, .form select, .form textarea { padding: 5px 7px 4px 7px; font-size: 0.9em; }
.form select, .form option { color: #1D4C7F; background: #EFF2F6; }
.form p { margin: 0 0 8px 0; }
.form p.submit { margin: 16px 0 16px 0; }
#form_submit {
	width: auto;
	padding: 6px 8px 5px 8px;
	font-size: 14px;
	color: #FFFFFF;
	text-align: center;
	cursor: pointer;
	background: #1D4C7F;
}
#form_submit:hover { color: #FF6D00; }
.form label {
	display: block;
	margin: 0 0 4px 0;
}
.form p label.error {
	display: inline;
	margin: 0 0 0 12px;
	font-size: 0.9em;
	color: red;
	line-height: 25px;
	vertical-align: top;
}
.form ol {
	list-style-type: decimal;
}
.form li {
	margin: 0 0 8px 30px;
	padding: 0;
}
.form h3 {
	font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 14px;
	font-weight: bold;
}
.pgmm {
	margin: 0 0 2em 0;
}
.pgmm .canvas {
	width: 100% !important;
}
.gm-style-iw {
	padding: 0.5em 0.25em;
    font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 14px;
	font-weight: normal;
	color: #1D4C7F;
}
.gm-style-iw .title {
	margin: 0 0 0.5em 0;
	font-size: 1.075em;
	font-weight: bold;
}

/** Aide du Devis en ligne */
#form_help_wrapper {
	position: absolute;
	top: 30px;
	left: 766px;
	width: 170px;
	z-index: 1;
}
#form_help {
	position: absolute;
	padding: 12px;
	font-size: 0.9em;
	background: #EFF2F6;
	border: 1px solid #1D4C7F;
	border-radius: 5px;
}
#form_help.fixed {
	position: fixed;
	top: 100px;
}
/** Info-bulles */
form .tooltip {
	position: absolute;
	display: none;
	max-width: 450px;
	margin: 0 0 0 8px;
	padding: 4px 7px 3px 7px;
	font-size: 0.85em;
	color: #000000;
	text-decoration: none;
	border: 1px solid #c93;
	background: #ffc;
	vertical-align: top;
	z-index: 2;
	border-radius: 5px;
}
/** Boutons + - */
.digits_c {
	display: inline-block;
	height: 25px;
	margin: 0 0 0 4px;
	vertical-align: top;
}
.digits_c a {
	display: block;
	width: 12px;
	height: 12px;
	line-height: 12px;
	cursor: pointer;
	text-indent: -9999px;
	background: url('img/digits_controls.png') no-repeat 0 0;
}
.digits_c .digits_more {
	margin: 0 0 1px 0;
}
.digits_c .digits_more:hover, .digits_c .digits_more:focus {
	background-position: 0 -14px;
}
.digits_c .digits_less {
	background-position: 0 -28px;
}
.digits_c .digits_less:hover, .digits_c .digits_less:focus {
	background-position: 0 -42px;
}

/** ARTICLE DEROULANTS */
.toggle {
	margin: 0 0 1em 18px;
}
.toggle > a.toggle-title {
	position: relative;
	display: inline-block;
	padding: 0 0 0 1.5em;
	cursor: pointer;
	text-decoration: none;
	text-align: left;
}
.toggle > a.toggle-title:after {
	position: absolute;
	top: 0;
	left: 0;
	content: '\25B2';
}
.toggle > a.toggle-title.open:after {
	content: '\25BC';
}
.toggle > p {
	display: none;
}
.toggle > .toggle-content {
	display: none;
	padding: 1em 0 0 0;
}

/** COMMENTAIRES */
#comments {
	margin: 2em 0 1em 0;
}
#item-comments {
	margin: 1em 0 2em 0;
}
.item-comment {
	list-style: none;
	margin: 0 0 1em 0;
	padding: 0;
	border-bottom: 1px solid #EFF2F6;
}
.item-comment-author {
	margin: 0 0 0.75em 0;
	font-size: 0.9em;
	font-weight: bold;
}
.item-comment-content {
	margin: 0 0 1em 0; 
	padding: 0 0 0 2em;
	font-size: 0.95em;
	word-wrap: break-word;
}
.item-comment-content p {
	margin: 0 0 0.75em 0;
}
.comment-form {
	margin: 1em 0 0 0;
}
.comment-form input:not([type='checkbox']), .comment-form select, .comment-form textarea {
	width: 360px;
}
.comment-form input[type='submit'] {
	width: auto;
}
.comment-notes {
	font-size: 0.9em;
}
.comment-thanks {
	color: #FF6D00;
}

/** REFERENCES */
#references {
	transition: all 0.5s ease-out 0ms;
}
#references .reference {
	transform-style: flat !important;
	backface-visibility: initial !important;
	perspective: none !important;
}

/** SORTING */
.sort_categories {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	align-content: flex-start;
	margin: 0 -0.35em 1.65em -0.35em;
	list-style: none;
}
.sort_categories li {
	margin: 0.35em 0.35em;
	padding: 0.35em 0.75em;
	font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 1em;
	color: #1D4C7F;
	background: #FFF;
	border: 1px solid #1D4C7F;
	border-radius: 0.3em;
	cursor: pointer;
}
.sort_categories li:hover, .sort_categories li:focus, .sort_categories li:active, .sort_categories li.filtr-active {
	color: #FFF;
	background: #1D4C7F;
}

/** AddThis */
.addthis_sharing_toolbox {
	margin: 2em 0 1em 0;
}

/** Retina */
@media only screen and (-moz-min-device-pixel-ratio: 1.5) and (max-width: 800px), only screen and (-o-min-device-pixel-ratio: 3/2) and (max-width: 800px), only screen and (-webkit-min-device-pixel-ratio: 1.5) and (max-width: 800px), only screen and (min-devicepixel-ratio: 1.5) and (max-width: 800px), only screen and (min-resolution: 1.5dppx) and (max-width: 800px) {
	h1:before, h2:before, #networks a, .menu-item a, .nivo-controlNav a, #content-icon, a#gotop {
		background-image: url('img/sprite@2x.png');
		background-size: 260px 468px;
	}
	#logo a {
		background-image: url('img/logo_casadomotic@2x.png');
		background-size: 240px 100px;
	}
}
@media all and (max-width: 960px) {
	body {
		background-image: none;
	}
	img {
		max-width: 100%;
		height: auto;
	}
	input, select, textarea {
		box-sizing: border-box;
	}
	input, select, textarea, .wpcf7 span input, .wpcf7 span textarea, .wpcf7 span select, .wpcf7 label, .wpcf7 span {
		float: none;
		width: 100%;
		max-width: 100%;
	}
	input.left {
		float: left;
		width: auto;
	}
	.wpcf7 p, .wpcf7 p.textarea {
		height: auto;
	}
	.wpcf7 label, .wpcf7 span {
		display: block;
	}
	.wpcf7 p.submit {
		width: 100%;
		height: auto;
		text-align: center;
	}
	.comment-form input:not([type='checkbox']), .comment-form select, .comment-form textarea {
		width: 100%;
	}
	form.post-password-form input {
		display: block;
		margin: 1em 0 0 0;
		width: auto;
	}
	h1 {
		margin: 0.25em 0 0.5em 0;
		text-align: left !important;
	}
	h2 {
		margin: 0.7em 0;
		text-align: left !important;
	}
	div:not(.ui-datepicker) table {
		width: 100%;
		table-layout: fixed;
	}
	div:not(.ui-datepicker) td {
		margin: 0 0 1.5em 0;
		padding: 0 !important;
		vertical-align: top;
		box-sizing: border-box;
	}
	#content td:after {
		visibility: hidden;
		display: block;
		font-size: 0;
		content: " ";
		clear: both;
		height: 0;
	}
	iframe, object, embed {
		max-width: 100% !important;
		width: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		box-sizing: border-box;
	}
	#container {
		border: none;
	}
	#header, #nav, #menus, #slideshow, #main, #content, #sidebar, #widgets, #footer, #footer-inner {
		float: none;
		width: 100%;
		padding: 0 0.7em;
		box-sizing: border-box;
	}
	#header {
		position: relative;
		height: auto;
		margin: 0;
		padding-top: 1.1em;
		padding-bottom: 0.7em;
		border-top: 2.3em solid #1D4C7F;
	}
	#logo {
		float: none;
		position: static;
		margin: 0 auto;
		text-align: center;
	}
	#slogan {
		float: none;
		padding: 0.4em 0;
		font-size: 1.6em;
		text-align: center;
	}
	#links {
		position: absolute;
		top: -2em;
		left: 0.3em;
		right: 0.3em;
		float: none;
	}
	#langs {
		float: left;
		margin: 0 0 0 0.67em;
	}
	#langs a {
		margin: 0 1em 0 0;
		color: #FFF;
		font-size: 1.1em;
		line-height: 1.5em;
	}
	#langs a.active {
		color: #FFF;
		text-decoration: underline;
	}
	#networks {
		clear: none;
		float: right;
		margin: 0 0.67em 0 0;
	}
	#nav {
		height: auto;
	}
	#nav_wrapper {
		display: block;
		width: 100%;
		height: auto;
		margin: 0 auto 0.7em auto;
	}
	#nav-menu {
		position: relative;
		display: block;
		height: 42px;
		margin: 0 auto;
	}
	#nav-menu-button {
		position: absolute;
		top: 0;
		right: 0;
		display: block;
		width: 42px;
		height: 42px;
		padding: 20px 0 0 11px;
		border-left: 1px solid #1D4C7F;
		border-bottom: 1px solid #1D4C7F;
		background: #1D4C7F;
		border-radius: 12px;
		z-index: 11;
		box-sizing: border-box;
	}
	#nav-menu.active #nav-menu-button {
		border-left: 1px solid #CDE1E8;
		border-bottom: 1px solid #CDE1E8;
		background: #FFF;
		border-radius: 0 12px 0 0;
	}
	#nav-menu-button span, #nav-menu-button span:before, #nav-menu-button span:after {
		position: absolute;
		display: block;
		content: '';
		height: 2px;
		width: 18px;
		background: #FFF;
		border-radius: 1px;
		cursor: pointer;
	}
	#nav-menu-button span:before {
		top: -6px; 
	}
	#nav-menu-button span:after {
		bottom: -6px;
	}
	#nav-menu.active #nav-menu-button span {
		background-color: transparent;
	}
	#nav-menu.active #nav-menu-button span:before, #nav-menu.active #nav-menu-button span:after {
		top: 0;
		background: #1D4C7F;
	}
	#nav-menu.active #nav-menu-button span:before {
		transform: rotate(45deg);
	}
	#nav-menu.active #nav-menu-button span:after {
		transform: rotate(-45deg);
	}
	a#nav-menu-link {
		display: block;
		height: 42px;
		padding: 0 52px 0 12px;
		font-size: 16px;
		line-height: 42px;
		color: #1D4C7F;
		text-decoration: none;
		cursor: pointer;
		overflow: hidden;
		box-sizing: border-box;
		background: #FFF;
		border-radius: 12px;
	}
	#nav-menu.active a#nav-menu-link {
		display: none;
	}
	#menus {
		position: relative;
		display: none;
		max-width: 100%;
		width: 100%;
		margin: 0;
		padding: 0;
		/*height: 42px;*/
		top: auto;
		right: auto;
		z-index: 10;
		background: #1D4C7F;
		border: 0;
		border-radius: 12px;
	}
	#nav-menu.active #menus {
		display: block;
	}
	#menus > .menu-item {
		display: block;
		float: none;
		height: auto;
	}
	#menus > .menu-item > a {
		width: 100%;
		height: 42px;
		margin: 0;
		padding: 0 12px;
		font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
		font-size: 16px;
		line-height: 42px;
		color: #FFF;
		background: transparent;
		border-bottom: 1px solid #CDE1E8;
		border-radius: 0;
		box-sizing: border-box;
	}
	#menus > .menu-item:last-child > a {
		border-bottom: none;
	}
	#menus > li.current-menu-item > a, #menus > li.current_page_item > a, #menus > li.current-page-ancestor > a, #menus > li > a:hover, #menus > li > a:active, #menus > li > a:focus {
		color: #FF6D00;
	}

	#slideshow, .nivo-controlNav {
		display: none;
		visibility: hidden;
	}
	/*
	#slideshow {
		width: 100%;
		height: auto;
	}
	#slideshow img {
		display: none;
		visibility: hidden;
	}
	#slideshow img:first-child {
		display: block;
		width: 100%;
		height: auto;
	}
	*/
	#main {
		margin: 0.7em 0 0 0;
	}
	#main:after {
		content: none;
	}
	#main.flex {
		display: flex;
		flex-direction: column;
	}
	#content {
		position: relative;
		width: 100%;
		margin: 1.4em 0;
		padding: 0.7em;
		border-radius: 16px;
		order: 1;
	}
	#content.with-sidebar {
		width: 100%;
	}
	#content-bottom {
		display: none;
		visibility: hidden;
	}
	#sidebar {
		margin: 0 0 0.7em 0;
		order: 2;
	}
	#tabs {
		height: auto;
		margin: 0 0 1.4em 0;
		background: #FFF;
		border-radius: 12px;
		z-index: 9;
	}
	#tabs .spacer {
		display: none;
		visibility: hidden;
	}
	#tabs li {
		float: none;
		display: block;
		width: 100%;
	}
	#tabs li a {
		height: auto;
		padding: 0.2em 24px;
		font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
		font-size: 15px;
		color: #1D4C7F;
		text-align: left;
		background: transparent;
		border: none;
		border-bottom: 1px solid #CDE1E8;
		border-radius: 0;
	}
	#tabs li a.current, #tabs li a:hover {
		height: auto;
		background: transparent;
		border-bottom: 1px solid #CDE1E8;
	}
	#partners tr {
		background: transparent;
	}
	#partners td {
		padding: 0;
	}
	.gallery {
		width: 100%;
	}
	.gallery-image, .gallery-image-bg, .gallery-image-bg > img {
		width: 100%;
		height: auto;
		box-sizing: border-box;
	}
	.gallery-image > .caption {
		width: 100%;
		padding: 0.4em 0.7em;
		font-size: 18px;
		line-height: 1.4em;
	}
	.gallery-wrapper {
		height: auto;
	}
	.gallery-thumbs {
		min-width: 100%;
		box-sizing: border-box;
	}
	.gallery-thumbs > a, .gallery-thumbs > a > span {
		width: 90px;
		height: 56px;
		box-sizing: border-box;
	}
	.gallery-thumbs > a > img {
		width: 100%;
		height: 100%;
	}
	#form_help_wrapper {
		display: none;
		visibility: hidden;
	}
	#widgets {
		margin: 1em 0;
		order: 3;
	}
	#widgets img {
		max-width: 90%;
		height: auto;
	}
	#footer {
		position: static;
		height: auto;
	}
	#footer .copyright {
		color: #FFF;
	}
	#footer-inner {
		padding: 0.7em 0;
		line-height: 1.75em;
	}
	a#gotop {
		display: none;
		visibility: hidden;
	}
	#wpgmza_map {
		height: 250px !important;
	}
	div.wpcf7-response-output {
		width: auto;
	}
}
@media all and (max-width: 640px) {
	input, select, textarea {
		max-width: 100%;
	}
	.form input, .form select, .form textarea {
		font-size: 16px;
	}
	table {
		margin: 0 !important;
		table-layout: fixed;
	}
	div:not(.ui-datepicker) tr {
		display: block;
		width: 100% !important;
	}
	div:not(.ui-datepicker) td {
		display: block;
		max-width: 100%;
		width: 100% !important;
		margin: 0 0 2em 0;
		-ms-word-break: break-all;
		word-wrap: break-word;
		word-break: break-all;
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
		-ms-hyphens: auto;
		-o-hyphens: auto;
		hyphens: auto;
	}
	div:not(.ui-datepicker) td .alignleft {
		float: none;
		display: block;
		margin: 0 !important;
	}
	div:not(.ui-datepicker) td a {
		word-break: break-word;
		-webkit-hyphens: none;
		-moz-hyphens: none;
		-ms-hyphens: none;
		-o-hyphens: none;
		hyphens: none;
	}
	iframe, object, embed {
		margin: 0 auto;
	}
}
@media all and (max-width: 320px)
{
	#wpgmza_map {
		height: 200px !important;
	}
}