/* 
 Theme Name:     Divi child theme   
 Author:         Divi theme examples
 Author URI:     http://www.divithemeexamples.com 
 Template:       Divi
 Version:        1.0 
*/ 

@import url("../Divi/style.css"); 

.hiden {display:none; float:right}
.et-fixed-header .hiden{display:block}
/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

/*-------------For header Top banner image------------------*/
.cat_header_image {
  background-size: cover;
background-position: center center;
  height: 250px;
}


 div#page-container {
  padding-top: 0 !important;
}
.et_fixed_nav #logo {
  /*max-height: 252px;*/
max-height: 150px;
}
.et-fixed-header #logo {
  max-height: 30px !important;
}

 header#main-header {
  background: transparent;
  box-shadow: none;
}
.et-fixed-header {
  background: #000 !important;
}

/*---------------Images noir et blanc hover------------------------*/

.nbfred img:hover {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}



/*---------------Country page styling------------------------*/
.image {
    width: 100px ;
    margin: 0 10px 0 0 ;
    float: left
;
}

ul.country_property_listing li {
    float: left ;
    list-style: none ;
    margin: 0 0 20px 0 ;
    background-color: rgb(221, 221, 221) ;
    width: 100% ;
    padding: 10px;
    padding-bottom: 0;
}
ul.country_property_listing li:nth-child(odd) {
  background-color: rgba(221, 221, 221, 0.16);
}

.post_excerpt .title {
    display: inline-block ;
    font-family: verdana;
}

.post_excerpt .title a {
    color: #000;
}

h5.price {
    position: relative;
    right: 0;
    float: right;
}

ul.country_property_listing {
    padding-left: 0 !important;
    margin-top: 30px;
}

/*------------top menu styling---------------------*/
div#et-top-navigation {
    background-color: #000;
    padding: 10px;
}

#top-menu li > a {
    padding-bottom: 10px;
color:#fff;
}
#top-menu li > a:hover {color:gray;}
.red-bg>a {
  background-color: red;
  padding: 2px 4px !important;
}
span#et_search_icon {
  color: #fff;
}

.fancybox-infobar, .fancybox-toolbar{
	top: auto !important;
	bottom: 0 !important;
}

/*-----------------sidebar on left-------------------------*/
@media only screen and (min-width: 980px){
#left-area {
    float: right !important;
    width: calc(100% - 380px);
    margin-left: 60px !important;
margin-right: 0px !important;
}

#main-content .container:before {
    left: 340px;
}
#sidebar{width:320px;}
#sidebar .et_pb_widget {
    margin: 0 30px 30px 0!important;
}
}
/*--------------------Header top menu styleing-------------------------*/
nav#header-menu-nav li {
    display: inline-block;
    font-size: 14px;
    padding-right: 22px;
    padding-bottom: 29px;
}

ul#header-top-menu {
    padding: 28px 0 0 ;
}

ul#header-top-menu li a {
    color: #fff;
}

div#header-top-navigation {
    background-color: #883831;
}


ul#header-top-menu li a:hover {
    border-bottom: 2px solid #fff !important;
    padding-bottom: 7px !important;
}

nav#header-menu-nav li:after {
    content: "|" !important;
    color: #fff !important;
    position: relative !important;
    right: -15px !important;
}

nav#header-menu-nav .search{
	float:right;
	position:relative;
}
.et-fixed-header .search{
	position:relative;
}
nav#header-menu-nav li.search:after{
	display:none
}
nav#header-menu-nav .search input[type="submit"],
.et-fixed-header .search input[type="submit"]{
    position: absolute;
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font-family: dashicons;
	vertical-align: top;
	width: 30px;
	height: 20px;
	background: transparent;
	color: #fff;
	right: 0px;
	top: 3px;
	border:none;
	font-size:20px;
}
.et-fixed-header .search input[type="submit"]{
	right:-22px;
	top:0;
}
/*----------home recent image size------------*/

@media only screen and (min-width: 980px) {
  .footer-widget {    
    width: 44%;
  }
}

@media only screen and (min-width: 980px) {
  .home_recent_blog .et_pb_post>a img {    
    height: 211px;
  }
}
.home_recent_blog .et_pb_post>a img:hover {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}

/*----------search string------------*/

h3.search_string span {
    font-weight: bold;
    padding-left: 8px;
    color: rgb(205, 92, 97);
}

h3.search_string {
    margin-bottom: 30px;
}

/*-----------search widget--------------*/

.widget_search #searchsubmit {
    width: 84px;
}
/*---------Property short form style-----------------*/
.shorting_form {
  margin-top: 30px;
}
.shorting_form .label {
  color: rgb(136, 56, 49);
  font-size: 15px;
  margin: 0 5px;
}
input.shorting_submit {
  background-color: rgb(136, 56, 49);
  color: #fff;
  border: none;
  padding: 4px 8px;
}

/*---------------All property listng page style-------------------------------*/
/*---------------------------------------------------------------------------*/
.heading{
	font-weight:bold;
	text-transform:uppercase;
	font-size:20px;
}
.list-view ul{
	border-top:2px solid black;
	margin:0;
	padding:0 0 0 17px;
	margin-bottom:20px;
	width:100%;
	float:left;

}
.list-view ul li{
	list-style-type:circle;
	padding:10px 3px;
  	width: 100%;
  	float: left;

}
.list-view ul li span{
	width:50%;
	float:left;
	text-transform:uppercase;
}
.list-view ul li span:nth-of-type(odd){
	position: relative;
}
.list-view ul li span:nth-of-type(odd):before{
	position: absolute;
	content:'.';
	font-size:10px;
}
.list-view ul li span:nth-of-type(even){
	text-align:right;
}
.list-view ul li:nth-of-type(odd){
	background:white;
}
.list-view ul li:nth-of-type(even){
	background:rgb(221, 221, 221);
}
.list-view ul li span a {
  color: #000;
  text-shadow: none;
}
.list-view {
  margin-top: 30px;
}
/*----------------------Property grid view item style-------------------------------*/
@media only screen and (min-width: 767px) {
.gallery_item {
    width: 18%;
    min-height: 280px;
    float: left;
    margin: 0 10px 10px 0
;
    background: rgb(221, 221, 221);
}

.gallery_item img {
    width: 100% ;
}

.gallery_item img:hover {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}

.gallery_item p.country, .gallery_item .price {
    padding: 0 10px;
}

.gallery_item p.country {
    color: #000;
    font-size: 12px;
}

.gallery_item .price span {
    color: #000;
    font-weight: bold;
    margin-right: 2px;
}
}
@media only screen and (max-width: 767px) {
.gallery_item {
    width: 45%;
    min-height: 260px;
    float: left;
    margin: 0 10px 10px 0
;
    background: rgb(221, 221, 221);
}

.gallery_item img:hover {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}

.gallery_item p.country, .gallery_item .price {
    padding: 0 10px;
}

.gallery_item p.country {
    color: #000;
}

.gallery_item .price span {
    color: #000;
    font-weight: bold;
    margin-right: 2px;
}
}

/*---------body background small logo image-------------*/
.et_pb_section:last-child,div#main-content {
    background-image: url("https://www.lecafeimmobilier.nc/wp-content/uploads/2015/07/bk-cafeimmo1.png") ;
    background-size: 379px 171px  ;
    background-position: right bottom ;
    background-repeat: no-repeat;
}
/*-----------------Custom search form styling------------------------*/
.searchform-param input[type=text], .searchform-param select {
    width: 180px;
}

.cachediv {
		visibility: hidden;
		overflow: hidden;
		height: 1px;
		margin-top: -1px;
		position: absolute;
		display: none;

	}
.et_color_scheme_red #top-menu li.current-menu-item > a{
	color: #cd5c5c !important;
}
#colorbox, #cboxOverlay, #cboxWrapper{overflow:visible}

#left-area .flex-direction-nav {*height: 0;list-style-type:none;}


/* Makes three columns */

.grid {
  max-width: 100%;
}

/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- grid-item ---- */
.grid-item {
  width: calc(33% - 10px);
  margin:5px;
  float: left;
  background:#eee;
  position:relative;
  min-height:340px;
}
.grid-item:hover:before{
	font-family:dashicons;
	content: "\f179";
	position:absolute;
	top:90px;
	left:90px;
	font-size:40px;
	color:#fff;
	z-index:999999;
	}
.grid-item .attachment-grid_image{
	width:100%;
	auto:auto;
	transition: filter .2s; 
}
.grid-item .attachment-grid_image:hover{
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}
.grid-item .country,
.grid-item .excerpt,
.grid-item .price{
	padding: 0 10px;
}
.et_pb_widget select,
.et_pb_widget input,
.et_pb_widget .searchform-controls input{
 border:1px solid #A75B31;
 margin-bottom:2px;
text-transform:uppercase;
	
}
.et_pb_widget select{
background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat 95% 50%;
-moz-appearance: none; 
	-webkit-appearance: none; 
	appearance: none;
}
.et_pb_widget input{
	padding:6px;
	width:180px!important;
}
.et_pb_widget .searchform-controls input{
	margin-right:8px;
}
.searchform-label{
border-bottom: 1px dashed #A75B31;
}
@media only screen and (max-width: 690px) {
.gallery_item {
    width: 100%;
}
.gallery_item img {
  width: 100%;
}
.grid-item {
  width: calc(100% - 10px);
}
}
.grid.row{
  display: flex!important;
  flex-wrap: wrap!important;
}