/*
Theme Name: Rusconi & Associés
Theme URI: http://www.sabina.ch
Author: Killian Tornese
Author URI: https://sabina.ch
Description: Template Rusconi & Associés
Version: 1.0
License: Copyright
*/

body {
	margin-bottom: 50px;
	background: #FAFAFA;
}

a {
	color:  #754200;
}

a:hover {
	color:  #754200;
}

.wp-video-shortcode {
	max-width: 100%;
	height: auto !important;
}

/*---			Menu header			---*/

#header {
	margin-bottom: 15px;
}

#logo {
	margin: 0 auto;
	width: 220px;
}

#logo a img {
	width: 220px;
	height: 111px;
}

#main-menu-wrapper {
	margin-top: 130px;
	background: #d9cac1;
}

#main-menu-language {
	float: right;
	padding: 0px 10px;
	display: block;
	transform: translateY(95px);
	text-transform: uppercase;
}

@media (max-width: 991px) {
	#main-menu-language {
		transform: translateY(15px);
	}
}

#main-menu-language > * {
	padding: 10px;
}

#main-menu {
	width: 100%;
	height: 30px;
}

#main-menu-toggle {
	line-height: 50px;
	color: #754200;
	text-transform: uppercase;
}

#toggle-button {
	display: block;
	float: left;
	margin-left: 15px;
	width: 50px;
	height: 50px;
}

#toggle-button:hover {
	cursor: pointer;
}

#main-menu ul {
	padding: 0px;
	list-style: none;
}

#main-menu ul li {
	position: relative;
	float: left;
	width: 20%;
}

#main-menu ul li a {
	display: block;
	padding: 5px 0px;
	min-width: 20%;
	color: #754200;
	text-align: center;
	text-transform: uppercase;
}

#main-menu li.logo a {
	margin-top: -81px;
	height: 111px;
	line-height: 9999;
	overflow: hidden;
	background: url(/_assets/fb67d86db0eb.png) bottom center no-repeat;
	background-size: 220px 111px;
	background-color: #FAFAFA;
}

#main-menu a:hover {
	text-decoration: none;
}

#main-menu .sub-menu {
	display: none;
	position: absolute;
	top: 50px;
	left: 0px;
	padding: 5px 0px;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
	background: #FFFFFF;
	z-index: 1000;
}

#main-menu li:hover .sub-menu {
	display: block;
}

#main-menu .sub-menu:before {
	content: '';
	display: block;
	position: absolute;
	top: -20px;
	left: 0px;
	width: 100%;
	height: 20px;
	background: url(/_assets/831a484771f6.png) bottom center no-repeat;
	z-index: 2000;
}

#main-menu .sub-menu li {
	float: none;
	min-width: 250px;
	width: auto;
	padding: 0px 10px;
}

#main-menu .sub-menu li:hover {
	background: #754200;
}

#main-menu .sub-menu li:hover a {
	color: #FFFFFF;
}

#main-menu .sub-menu li a {
	text-align: left !important;
	white-space: nowrap;
}

/*---			Side menus			---*/

#left-menu .title, #right-menu .title {
	display: block;
	padding-bottom: 12px;
	font-weight: bold;
	text-transform: uppercase;
}

#left-menu {
	padding-top: 25px;
	background: #e5e2df;
}

#left-menu ul {
	margin-left: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	list-style: none;
}

#left-menu li.current-menu-item a {
	font-weight: bold;
}

#left-menu a {
	color: #754200;
}

#right-menu {
	padding-top: 25px;
}

#right-menu ul {
	margin-left: 0px;
	padding-left: 0px;
	list-style: none;
}

#right-menu a {
	color: #754200;
}

/*---			Content			---*/

.domaine-block {
	margin-bottom: 20px;
}

.domaine-title {
	display: table;
	padding: 10px;
	width: 100%;
	height: 90px;
	color: #FFFFFF;
	text-align: center;
	text-transform: uppercase;
	background: #754200;
}

.domaine-title h2 {
	font-size: 16px;
	display: table-cell;
	vertical-align: middle;
}

.domaine-link {
	height: 25px;
	line-height: 25px;
	text-align: right;
}

.domaine-link img {
	margin-right: 5px;
	vertical-align: -1px;
}

#post-thumb {
	position: relative;
	height: 250px;
	overflow: hidden;
}

#post-thumb img {
	margin-top: -50px;
	width: 100%;
	height: auto;
	overflow: hidden;
}

#post-title {
	position: absolute;
	bottom: 0px;
	height: 40px;
	background: #d9cac1;
}

#post-title h1 {
	margin-top: 0px;
	font-size: 20px;
	line-height: 40px;
	text-transform: uppercase;
}

#post-content-wrapper .col-md-6 {
	padding-top: 25px;
}

#post-content {
	border-right: 1px solid #e7e8e8;
}

/*---		Front page			---*/

.frontpage-wrapper {
	margin: 0 -15px;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.frontpage-wrapper > div {
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 25%;
}

.frontpage-wrapper .first-text {
	margin: 0;
	text-align: right;
	-webkit-flex: auto;
	-ms-flex: auto;
	flex: auto;
	padding: 20px;
}

.frontpage-wrapper .second-text {
	background-color: #d9cac1;
	color: #754200;
	padding: 20px;
}

.frontpage-wrapper .second-text.pc {
	margin: 0;
	text-align: right;
}

.frontpage-wrapper .second-text.mobile {
	text-align: center;
	margin-bottom: 30px;
}

.frontpage-wrapper video {
	width: 75%;
	align-self: flex-end;
}

@media (max-width: 991px) {
	.frontpage-wrapper .first-text {
		text-align: center;
	}

	.frontpage-wrapper .second-text.pc {
		display: none;
	}

	.frontpage-wrapper > div {
		width: 100%;
	}

	.frontpage-wrapper video {
		/*align-self: center;*/
		width: 100%;
	}
}

@media (max-width: 1200px) {
	.frontpage-wrapper .first-text {
		font-size: 1.3em;
	}

	.frontpage-wrapper .second-text {
		font-size: 1.1em;
	}
}

@media (min-width: 992px) {
	.frontpage-wrapper .second-text.mobile {
		display: none;
	}
}

/*---			Avocat			---*/

#button-top {
	width: 50px;
	height: 50px;
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translate(-25px, -80px);
	display: none;
	text-align: center;
	line-height: 50px;
	color: #e7e8e8;
	background-image: url("/_assets/28a2308489d5.png");
	background-size: 50px;
}

#button-top:hover {
	cursor: pointer;
}

#avocat-main {
	text-align: center;
}

#avocat-main h1 {
	font-size: 22px;
	text-transform: uppercase;
}

#avocat-profile-thumb img {
	width: 100%;
	height: auto;
}

#avocat-profile-nothumb {
	width: 360px;
	height: 480px;
	background: #754200;
}

#avocat-main + .col-md-5 {
	padding-right: 0;
}

#avocat-infos {
	margin: 0px 0px 25px 0px;
	padding: 0px;
	padding-right: 15px;
	list-style: none;
	overflow-x: hidden;
	overflow-y: scroll;
}

#avocat-infos .title {
	font-size: 16px;
	margin-top: 15px;
	margin-bottom: 10px;
	text-transform: uppercase;
	font-weight: bold;
}

#avocat-infos .info {
	padding-left: 10px;
	text-align: justify;
}

#avocat-infos .info ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

#avocat-infos .info ul li {
	margin-bottom: 3px;
	margin-left: 12px;
	list-style: outside;
	list-style-image: url(/_assets/7fa2885f8abc.png);
}

@media (max-width:992px) {
	#avocat-infos {
		overflow: visible;
		height: auto !important;
		
	}
}

/*---			Contact			---*/

#map {
	padding: 0;
}

/*---			Footer			---*/

#footer {
	margin-top: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #FFFFFF;
	background: #d9cac1;
}

@media (min-width: 768px) {
	.domaine-title {
		height: 120px;
	}
}

@media (max-width: 768px) {
	.domaine-title {
		height: 80px;
	}

	.contact-logo {
		width: 100%;
		height: auto;
	}
}

@media (max-width:991px) {
	#main-menu-wrapper {
		margin-top: 0px;
	}

	#main-menu {
		display: none;
		height: auto;
		overflow: hidden;
	}

	#main-menu ul li {
		float: none;
		width: 100%;
	}

	#main-menu ul li a {
		padding-left: 10px;
		text-align: left;
	}

	#main-menu ul li a:hover {
		background: #754200;
	}

	#main-menu ul li a:hover {
		color: #FFFFFF;
	}

	#main-menu .sub-menu {
		display: block;
		position: relative;
		top: inherit;
		left: inherit;
		box-shadow: none;
		background: none;
	}

	#main-menu .sub-menu:before {
		display: none;
	}

	#post-thumb {
		height: auto;
	}

	#post-thumb img {
		margin-top: 0px;
		margin-bottom: -40px;
	}
}

@media (min-width: 992px) {
	#main-menu {
		display: block !important;
	}
}