/********************************
 * Map + bloc recherche.        *
 ********************************/

.page-ou-nous-trouver .page-header{
	font-family: latoblack;
	font-size: 30px;
	font-size: 3rem;

	padding-bottom: 0;
	margin-bottom: 35px;
	color: #6db42c;
}

.page-ou-nous-trouver #map{
	width : 67%;
	height: 360px;
	float: left;
}

.page-ou-nous-trouver form#bn-counsellor-search-form{
	width: 33%;
	height: 360px;
	padding: 30px 20px 10px 20px;
	margin-bottom: 50px;
	float: right;
	
	background: #f6f6f6;
}

.page-ou-nous-trouver form#bn-counsellor-search-form h2{
	margin-top : 10px;

	font-family: latoblack;
	font-size: 22px;
	font-size: 2.2rem;
}

.page-ou-nous-trouver form label{
	padding-left: 5px;
}

.page-ou-nous-trouver .form-item-postal-code{
	width: 80%;
  display: inline-block;
  vertical-align: bottom;
	margin-bottom: 0;
}

.page-ou-nous-trouver form #edit-submit{
	margin: 25px 0 0 -1px;

	text-transform: uppercase;
	
}
.page-ou-nous-trouver form #edit-submit:hover{
	transition: 0.3s all;
	
}

.page-ou-nous-trouver form#bn-counsellor-search-form input{

}

.page-ou-nous-trouver form#bn-counsellor-search-form .input-group-addon{

}
.page-ou-nous-trouver form#bn-counsellor-search-form .input-group-addon .icon{
  width: auto;
  height: auto;
  text-indent: initial;
}

.page-ou-nous-trouver form input::-webkit-input-placeholder,
.page-ou-nous-trouver form textarea::-webkit-input-placeholder{ /* WebKit, Blink, Edge */
    font-family: latoitalic;
	font-weight: 100;
	font-size: 15px;
	font-size: 1.5rem;
	color: #AAAAAA;	
}


.page-ou-nous-trouver form form:-moz-placeholder{ /* Mozilla Firefox 4 to 18 */
   	font-family: latoitalic;
	font-weight: 100;
	font-size: 15px;
	font-size: 1.5rem;	
	opacity: 1;
	color: #AAAAAA;	
}

.page-ou-nous-trouver form form ::-moz-placeholder{ /* Mozilla Firefox 19+ */
   	font-family: latoitalic;
	font-weight: 100;
	font-size: 15px;
	font-size: 1.5rem;	
	opacity: 1;
	color: #AAAAAA;	
}

.page-ou-nous-trouver form form input:-ms-input-placeholder,
.page-ou-nous-trouver form form textarea:-ms-input-placeholder{ /* Internet Explorer 10-11 */
   	font-family: latoitalic;
	font-weight: 100;
	font-size: 15px;
	font-size: 1.5rem;	
	color: #AAAAAA;	
}

.page-ou-nous-trouver form form input:placeholder-shown,
.page-ou-nous-trouver form form textarea:placeholder-shown{ /* Standard (https://drafts.csswg.org/selectors-4/#placeholder) */
  	font-family: latoitalic;
	font-weight: 100;
	font-size: 15px;
	font-size: 1.5rem;	
	color: #AAAAAA;	
}

/******************
 * Search results *
 ******************/

  .page-ou-nous-trouver div.main-container>div.row{
  	position: relative;
  	
  }

  .page-ou-nous-trouver aside{
  	position: absolute;
  	top: 485px; /*Header + map + margins height */
  	right: 0;

  	width: 27%;
  }

  .page-ou-nous-trouver section{
  	width: 100%;
  }

.page-ou-nous-trouver table.counsellors-list{
	width: 69%;
	/*min-height: 400px;  Remove for mobile  */
}

.page-ou-nous-trouver table.counsellors-list tr>th {
	font-family: latoblack;
	font-size: 18px;
	font-size: 1.8rem;

	color: #6db42c;


}

.page-ou-nous-trouver table.counsellors-list tr{
	line-height: 40px;
    max-height: 40px;
    height: 40px;
}

.page-ou-nous-trouver table>tbody>tr>td{
	vertical-align: middle;
}

/**** No Results Found ****/
.page-ou-nous-trouver div.no-close-counsellors{
	display: inline-block;
	width: 68%;

}

.page-ou-nous-trouver div.no-close-counsellors>h2{
	margin-top: 5px;
}

/* Use of !important to override html-coded values ... */
.page-ou-nous-trouver div.no-close-counsellors>table{
	width: 100% !important;
}

.page-ou-nous-trouver div.no-close-counsellors>table tr>td:first-child{
	padding-right: 20px;
	width: 40% !important;
}



/* responsive Stuff */

@media (max-width: 1000px){

	.page-ou-nous-trouver .form-item-postal-code{
		width: 100%;
	}

	.page-ou-nous-trouver form #edit-submit{
		margin: 5px 0 0 0;
	}
}

@media (max-width: 765px){

	.page-ou-nous-trouver aside{
		top: 640px;
	}

	.page-ou-nous-trouver form#bn-counsellor-search-form h2{
	

	}
	.page-ou-nous-trouver #map{
		width: 100%;
		float: none;
		
	}

	.page-ou-nous-trouver form#bn-counsellor-search-form{
		width: 100%;

		height: auto;
		float: none;
	
	}

	.page-ou-nous-trouver .form-item-postal-code{
		float: left;
		width: 100%;
		max-width: 150px;
	}

	.page-ou-nous-trouver form #edit-submit{
		margin: 25px 0 0 -1px;
	}

	.page-ou-nous-trouver table.counsellors-list th:nth-child(4),
	.page-ou-nous-trouver table.counsellors-list td:nth-child(4){
		display: none;
	}

}

@media (max-width: 630px){

	.page-ou-nous-trouver table.counsellors-list{
		width: 100%;

	}
	
	.page-ou-nous-trouver aside{
		top: auto;
		bottom: 0;
		left: 0;
		width: 100%;
	}

	.page-ou-nous-trouver aside .region{
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;

		flex-direction: row;
		justify-content: space-between;
	}
}

@media (max-width: 425px){
	.page-ou-nous-trouver aside .region{
		flex-direction: column;
		justify-content: center;
	}
	
	.page-ou-nous-trouver table.counsellors-list th:nth-child(3),
	.page-ou-nous-trouver table.counsellors-list td:nth-child(3){
		display: none;
	}

}
