/*   
Theme Name: Muriaux.ch
Description: Template de base de Muriaux.ch
Template: zerif-lite
*/

@import url(../zerif-lite/style.css);

:root {

	--accent-color: #FCD600; 

}

/* BASE STYLES */

html, body {
	height: 100%;
}

body {
	min-width: 320px;
	overflow:auto;
	overflow:initial;
}

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

table {
	table-layout: fixed;
}

h2, h3 {
	font-size:20px;
}

h3 {
	font-size: 18px;
	font-weight: 600;
}

h2 + h3 {
	margin-top: -12px;
}

td, th {
	vertical-align: middle;
}

.site-main td p {
	margin:0;
}

.entry-meta {
	display: none;
}

.site-content {
	margin-bottom:3px;
}

article.hentry {
	border-bottom:0;
}

.navbar-header {
	display: flex;
	align-items: center;
}

.navbar-header:before {
	content: none;
}

.navbar-brand {
	padding: 0;
	line-height: normal;
	display: flex;
	align-items: center;
}

.navbar-brand > img {
	height: 100%;
	max-width: 100%;
}

.entry-title:after, .widget .widget-title:before {
	background-color:#9C27B0;
}

@media (max-width: 1024px) {
	
	.navbar-inverse .navbar-nav ul.sub-menu.visible {
		display: flex !important;
		flex-direction: column;
		position: static;
		border-top: 0;
        width: 100%;
        border-radius: 5px;
        background: rgba(255, 255, 255, 0.3);
	}
	
}

/* CONTAINER */

.container {
	max-width:1200px;
	width:98%;
}

.col-md-10 {
	padding-left: 30px;
}

/* MAIN MENU */

#site-navigation li {
	text-transform:uppercase;
	font-size:0.875em;
}

#site-navigation li > a {
	color:#000;
}

#site-navigation li > a:hover, #site-navigation li.current-page-ancestor > a {
	color:#000;
}

#site-navigation .current-page-ancestor > a:before {
	position: absolute;
	margin: auto;
	z-index: 1;
	content: "";
	width: 100%;
	height: 2px;
	background: rgba(0, 0, 0, 0.1);
	bottom: 0px;
	display: block;
	top: 36px;
}

#site-navigation .current-page-ancestor.menu-item-home > a:before {
	content: "";
	display: none;
}

.home .sub-menu {
	display:block;
}

.navbar-inverse .navbar-nav ul.sub-menu {
	width:250px;
	margin-left:-10px;
	border-top:5px solid #EEE;
}

#site-navigation .sub-menu li {
	text-transform:none;
	font-size:1em;
	padding:0;
}

#site-navigation ul.sub-menu li > a {
	padding:8px 10px;
	font-size: 1em;
	display:block;
	color: #000;
}

#site-navigation ul.sub-menu li > a:hover {
	color:#000;
}

.navbar-inverse .navbar-nav ul.sub-menu li a:hover {
	background:#EEE;
}


/* LEFT MENU */

.sidebar-left-menu {
	border-left: 0;
    padding-left: 0;
    border-right: 1px solid #EEE;
}

.sidebar-left-menu .pagenav {
	text-transform: uppercase;
    font-size: 0.9em;
    font-weight: bold;
}

.sidebar-left-menu  .pagenav:before {
	display:none;
}

.sidebar-left-menu .pagenav > ul {
	text-transform: none;
    font-weight: normal;
} 

.sidebar-left-menu .pagenav > ul > li {
	padding-left: 10px;
    margin-left: 0;
}

.sidebar-left-menu .current_page_item:before {
	background-color:#9C27B0;
}

.sidebar-left-menu .current_page_item a {
	color:#9C27B0;
}

/* PAGE HEADER */

.header {
	position:absolute;
}

#main-nav{
	background: var(--accent-color);
}

.page-header {
	height: 256px;
	margin: 0;
	position: relative;
	z-index:0;
}

.sidebar-left-menu .current_page_item a {
	color: #000;
}

.sidebar-left-menu .current_page_item::before {
	background: #000;
}

.page-header {
	background-position: bottom center;
	background-size: cover;
}

.page-header::after {
	content:"";
	background: black;
	opacity:0.30;
	top: 0;
  	left: 0;
  	bottom: 0;
  	right: 0;
  	position: absolute;
  	z-index:-1;
}

.page-header > .container > h1 {
	color:white;
	padding-top: 192px;
}

.content-left-wrap, .sidebar-wrap.content-left-wrap {
	margin-top:20px;
	padding-top:0;
}

.content-area .entry-header {
	display:none;
}

/* HOME */

.home {
	background-color: black;
}

.home #mobilebgfix {
	height:100%;
}

.home .mobile-bg-fix-whole-site, .home .size-content {
	display: table;
    position: absolute;
    height: 100%;
    width: 100%;
}

.home .site-content {
	height: 100%;
	background:rgba(0,0,0,0.3);
	margin-bottom: 0;
	display: table-cell;
    vertical-align: middle;
}

.home .container {
	margin-left: auto;
    margin-right: auto; 
    width: 100%;
}

.home .entry-content {
	max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.home .entry-content h1,  .home .entry-content h2, .home .entry-content h3, .home .entry-content p,
.home .entry-content ul, .home .entry-content li {
	color:#FFF;
	text-shadow: 0px 2px rgba(0,0,0,0.6);
	text-align: justify;
}

.home .entry-content h1 {
	font-size: 3em;
	color: #FCD600;
	margin-bottom: 24px;
}

.home .entry-content h2 {
	font-size:1.8em;
}

.home .entry-content h3 {
	text-align: right;
	text-transform: uppercase;
}

.home .entry-content p {
	margin-bottom:0;
}

.home .entry-content p, 
.home .entry-content ul {
	font-size: 1.2em;
}

.home .entry-content ul {
	margin-top: 16px;
}

.home .entry-content ul li {
	padding-bottom: 16px;
}

.home .btn.btn-primary {
	margin-left:0;
	margin-top:2em;
	background: transparent;
    padding: 0;
    font-size: 1em;
    margin-right: 2em;
    border-radius: 0;
    padding-bottom: 5px;
    color: rgba(255,255,255,0.8) !important;
}

.home .btn.btn-primary.red-btn {
    border-bottom: 4px solid #e96656;
}

.home .btn.btn-primary.green-btn {
	border-bottom: 4px solid #1e9e6b;
}

.home .btn.btn-primary:hover {
	color: #FFF !important;
	border-color:#FFF;
}

.home #footer {
	display:none;
}

.home .content-left-wrap {
	position: static;
}

.home #home-slider {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.home #home-slider img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	object-position: center center;
	z-index: 1;
}

.home #home-slider img.active {
	z-index: 3;
}

.home .wp-block-button.is-style-outline .wp-element-button {
	border-color: #FCD600;
    color: #FCD600;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1em;
    padding: 16px 24px;
    margin-top: 16px;
	transition: all 0.3s;
}

.home .wp-block-button.is-style-outline .wp-element-button:hover {
    border-color: white;
    color: black;
	background-color: white;
}

@media (max-width: 479px) {

	.home .entry-content ul {
		margin-left: 12px;
	}

}

/* CONTACT FORM */

.wpcf7 input, .wpcf7 textarea, .wpcf7 input:focus, .wpcf7 textarea:focus {
	border-radius: 0px !important;
	border-color:#CCC;
	padding: 5px;
	font-family: "Lato",sans-serif;
	width:100%;
}

.wpcf7 input[type="submit"] {
	margin: 0 !important;
	padding: 10px 20px;
	margin-top:-1em;
}

.wpcf7 label {
	text-transform: uppercase;
	font-size:0.8em;
	color:#888; 
}

.wpcf7 .your-message-wrapper {
	margin-bottom:0;
}

#contact_us .wpcf7-form-control-wrap {
	display: block;
	margin-top: 5px;
}

#contact_us span {
	color:#AAA;
}

#contact_location iframe {
	width:90%;
	height:25em;
}

.pirate_forms .pirate-forms-submit-button {
	padding: 13px 35px 13px 35px;
	border-radius: 2px;
}

.wpcf7-validation-errors {
	display:none !important;
}

span.wpcf7-not-valid-tip {
	color: rgba(255,0,0,0.7) !important;
    padding-top: 5px;
    font-size: 0.9em;
}

/* FOOTER */

#footer {
	background: #EEE;
}

.schedules {
	width: 32px;
	height: 32px;
	display: inline-block;
	background-image: url('images/time.png');
}

.company-details {
	padding-top:30px;
	padding-bottom:20px;
}

#smaller_footer {
	background:#474747;
	padding:10px 0;
}

#smaller_footer div, #smaller_footer a {
	color: #888;
	font-size:0.95em;
}

#smaller_footer a {
	color:#BBB;
}

#smaller_footer a:hover {
	color:#DDD;
}

#smaller_footer .copyright {
	background:transparent;
	padding:0;
	float:left;
	color:#888;
}

#smaller_footer .created_by {
	float:right;
	text-align:right;
}

/* DOCUMENT GALLERY */

.document-gallery .document-icon-row {
	width:auto;
}

.document-gallery .document-icon {
	width:100% !important;
	text-align: left !important;
	padding:10px 5px;
}

.document-gallery .document-icon:hover {
	background: #EEE;
}

.document-gallery .document-icon .title {
	text-align: left !important;
}

.document-gallery .document-icon img {
	display:none;
}

/* AGENDA */

.vsel-content code {
	font-family: "Lato",sans-serif;
	background: transparent;
	color: black;
}

.vsel-content .vsel-meta-title code {
	font-size:20px;
	font-weight:600;
}

#vsel p {
	margin:0;
}

#vsel .vsel-meta-link {
	margin-top:10px;
}

/* MEDIA */

@media screen and (max-width: 990px) {
	.sidebar-left-menu li {
		display:none;
	}
}

@media (max-width: 767px){

	.home .site-content {
		vertical-align: top;
    	padding-top: 100px;
	}

	.home .entry-content {
		padding: 24px;
	}

	.home .entry-content h1 {
		font-size: 2em;
		margin-bottom: 16px;
	}
	
	.home .entry-content h2 {
		font-size: 1.4em !important;
	}

	.home .entry-content h3 {
		margin-top: 32px;
	}

	.navbar-header {
		justify-content: space-between;
	}

	.navbar-header:after {
		content: none;
	}

	.navbar-header button {
		order: 1;
		margin: 0;
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.navbar-toggle.collapsed {
		background: rgba(0,0,0,0.2) !important;
	}

	.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
		background: rgba(0,0,0,0.7) !important;
	}

	#site-navigation {
		height: auto;
		width: 100%;
		float: none;
		padding: 0;
	}

	#site-navigation li {
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	}

	#site-navigation li:last-child {
		border-bottom: 0;
	}

	td {
		padding:0;
		font-size:0.8em;
	}

	header.header {
		position:absolute;
		left:0;
		top:0;
		right:0;
	}

	#site-navigation .dropdownmenu {
		background-color: rgba(0, 0, 0, 0.2);
	}

	.navbar-inverse .navbar-nav li.this-open > ul {
		width: 100%;
	}

	.navbar-inverse .navbar-nav li.this-open > ul {
		border: 0;
	}

	#site-navigation .current-page-ancestor a::before {
		display:none;
	}

	.navbar-inverse .navbar-nav ul.sub-menu li a {
		border: 0;
	}

	.page-header > .container > h1 {
		padding-top:152px;
	}

	#smaller_footer .copyright, #smaller_footer .created_by {
		float:none;
		width:100%;
		text-align:center;
	}

}

@media (max-width: 400px){

	.home .btn.btn-primary {
		width:100%;
		margin: 12px 0 0 0;
	}

}

.wp-block-table table td {
	border-left: 0;
	border-right: 0;
	border-color: #EEE;
}

.budget table tr > td:last-child {
	text-align: right;
}

.wp-block-table.conseil table,
.wp-block-table.conseil table td {
	border: 0;
	font-size: 1em;
	line-height: 1.4em;
}

.wp-block-table.conseil table tr td:first-child {
	width: 150px;
}

.wp-block-table.conseil table tr td:last-child {
	width: 100%;
}

.wp-block-table.conseil table tr td img {
	width: 100% !important;
	border-radius: 5px;
}

hr.wp-block-separator {
	border: 0;
	margin-top: -24px;
}

.grecaptcha-badge {
	display: none !important;
}

/* Divers styles */

h2 + h3 {
	margin-top: 18px;
}

h3 + h4 {
	padding-top: 12px;
	margin-top: 12px;
	border-top: 1px solid #DDD;
}

h4{
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.9em;
	letter-spacing: 0.5px;
}

.wp-block-table + h3 {
	margin-top: 24px;
}

.rounded img {
	border-radius: 5px;
}

figcaption {
	font-size: 0.8em;
	color: #888;
}

.wp-block-file:not(.wp-element-button) {
	font-size: 1em;
}

iframe.google-map {
	width: 100%;
    height: 400px;
}