/*
Theme Name: ChercheTrouve
Description: Thème du site ChercheTrouve
Author: Développement web Voir
Version: 2013
*/

@import url('/ct-content/themes/cherchetrouve/styles/default.css');

body{
	background-image:url('/ct-content/themes/cherchetrouve/images/main-bg.gif');
	background-repeat:repeat-x;
	font-family: 'OpenSans', Arial, Helvetica, sans-serif;
}

#main { font-size: 13px; }

::selection {
	background-color: #127284;
	color: #fff;
}

/* FONT-FACE */
@font-face {
    font-family: 'OpenSans';
    src: url(#);
    src: url(#) format('embedded-opentype'),
         url('/ct-content/themes/cherchetrouve/fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('/ct-content/themes/cherchetrouve/fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('/ct-content/themes/cherchetrouve/fonts/OpenSans-Regular-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans';
    src: url(#);
    src: url(#) format('embedded-opentype'),
         url('/ct-content/themes/cherchetrouve/fonts/OpenSans-Italic-webfont.woff') format('woff'),
         url('/ct-content/themes/cherchetrouve/fonts/OpenSans-Italic-webfont.ttf') format('truetype'),
         url('/ct-content/themes/cherchetrouve/fonts/OpenSans-Italic-webfont.svg') format('svg');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'OpenSans';
    src: url(#);
    src: url(#) format('embedded-opentype'),
         url('/ct-content/themes/cherchetrouve/fonts/OpenSans-Bold-webfont.woff') format('woff'),
         url('/ct-content/themes/cherchetrouve/fonts/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('/ct-content/themes/cherchetrouve/fonts/OpenSans-Bold-webfont.svg') format('svg');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans';
    src: url(#);
    src: url(#) format('embedded-opentype'),
         url('/ct-content/themes/cherchetrouve/fonts/OpenSans-BoldItalic-webfont.woff') format('woff'),
         url('/ct-content/themes/cherchetrouve/fonts/OpenSans-BoldItalic-webfont.ttf') format('truetype'),
         url('/ct-content/themes/cherchetrouve/fonts/OpenSans-BoldItalic-webfont.svg') format('svg');
    font-weight: bold;
    font-style: italic;
}

h1, h2, h3 {
	font-weight: normal;
	color: #44AEC2;
	line-height: 1.1;
}

h1 {
	font-size: 24px;
	padding-bottom: 10px;
}
h2 { font-size: 21px; }
h3 { font-size: 18px; }
h2.red { color: #D72A18; }
a {
	color: #44AEC2;
	text-decoration: none;
}
a:hover {
	color: #D72A18;
	text-decoration: none;
}
input[type="submit"], input[type="reset"] {
	float: right;
	font-size: 15px;
	padding: 3px 6px;
	background: #44AEC2;
	text-transform: uppercase;
	color: #fff;
	cursor: pointer;
}

input[type="submit"]:hover, input[type="reset"]:hover {
	background: #D72A18;
}
div.page-content p+p { padding-top: 10px; }
div.page-content ul { padding: 10px 0 10px 20px; }
div.page-content ul li + li { padding-top: 10px; }
div.page-content h3 { padding-bottom: 10px; }
div.page-content p + h3 { padding-top: 24px; }

/**********/
/* HEADER */
/**********/
#header {
	margin-bottom:20px;
}

#header .ad-zone {
	margin:auto;
	width:728px;
	height:90px;
}

#header #slogan {
	padding-top: 10px;
	height: 30px;
	text-align: center;
}

#ct-logo {
	float:left;
	width:960px; 
	height:167px;
	margin-right:16px; 
	background-image:url('/ct-content/themes/cherchetrouve/images/header.png');
	background-position:left; 
}

#menu {
	margin-top:10px;
	text-align: center;
}

#menu a {
	margin-left: 6px;
	padding: 3px 6px;
	background: #44AEC2;
	text-transform: uppercase;
	color: #fff;
	font-weight: bold;
}

#menu a:first-child {
	margin-left: 0;
}

#menu a:hover, #menu a.current {
	background: #D72A18;
}

#sub_menu {
	margin: 13px auto 0 auto;
	width: 686px;
}

#regions {
	float:left;
}

#regions p {
	float:left;
}

#regions a {
	margin-left: 6px;
	padding: 3px 6px;
	color: #000;
}

#regions a:hover {
	color: #fff;
	background: #D72A18;
}

#regions a.selected-region {
	background: #D72A18;
	color: #fff;
}

#current_user {
	float:right;
}

#current_user a {
	/**/
}

/**********/
/* FOOTER */
/**********/
#footer {
	margin-top: 20px;
	padding: 20px;
	background-color:#44AEC2;
}

#footer p {
	float:left;
	width:300px;
	color:#fff;
}
#footer p.copy {
	font-style: italic;
	float: none;
	margin-top: 10px;
	text-align: center;
	width: 100%;
}

#footer a {
	color:#fff;
}

#footer a:hover {
	text-decoration:underline;
}

/*************************
***** Right_side_bar *****
**************************/
#sidebar {
	width:300px;
	margin-left:20px;
	float:right;
}

#advertise_in_newspaper {
	width:280px;
	background:#D72A18;
	padding:10px;
	color: #fff;
}

#advertise_in_newspaper h2 {
	color: #fff;
	margin-bottom: 10px;
}

.bigbox {
	width:300px;
	margin-bottom: 20px;
}

/**********/
/* Homepage  */
/**********/
#content {
	width: 640px;
	float: left;
	border-top: 2px solid #44AEC2;
	padding-top: 10px;
}

#search_engine {
	width:620px;
	background-color: #f5f5f5;
	padding:10px;
	border-top: 2px solid #44AEC2;
	margin-top: -12px;
}

#recent_ads {
	width:640px;
	margin-top:20px;
}

.recent_ad {
	width:118px;
	height:130px;
	margin-left: 10px;
	float: left;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
	border: 1px solid #dbdbdb;
}

.recent_ad:hover {
	border-color: #D72A18;
}

.recent_ad:first-child {
	margin-left: 0;
}

.recent_ad .annonce_img {
	width: 118px;
	height: 88px;
	overflow: hidden;
}

.recent_ad .annonce_img  img{
	display:block;
	margin:auto;
}

.recent_ad .title {
	width:118px;
	height:35px;
	text-align:center;
	font-size:12px;
	background-color:#fff;
}

.recent_ad:hover .title {
	color:#D72A18;
}

#most_searched {
	width:620px;
	background-color: #f5f5f5;
	padding:10px;
	border-top: 2px solid #D72A18;
	margin-top:20px;
}

#most_searched > div {
	margin-top:10px;
	border-top: 1px solid #f8dedb;
}

#most_searched p {
	float: left;
	width: 300px;
	padding: 2px 5px;
	border-bottom: 1px solid #f8dedb;
	display: block;
}

#most_searched .most_searched_splitter {
	width: 299px;
	border-right: 1px solid #f8dedb;
}

#most_searched .most_searched_row {
	background: #fff;
}

#most_searched a { 
 color: #333; 
 font-size: 11px;
 text-decoration: none; 
}

#most_searched a:hover { 
 color: #000; 
 text-decoration: underline; 
} 

.search_results {
	width:640px;
}

.search_result {
	width: 618px;
	margin-top: 10px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
	border: 1px solid #dbdbdb;
	padding: 10px;
}

.search_result:hover {
	border-color: #D72A18;
}

.search_result .annonce_img {
	width:200px;
	height:150px;
	background-size:200px 150px;
	background-repeat:no-repeat;
	float:left;
	margin-right: 10px;
}

.search_result .annonce_img  img{
	display:block;
	margin:auto;
}

.search_result .title {
	width:408px;
	float:left;
	overflow: hidden;
	margin: 5px 0;
}

.search_result:hover .title h2 a {
	color: #D72A18;
}

.search_result .ad_details {
	width: 408px;
	float: left;
	font-size: 12px;
}

.search_result .ad_details span.small {
	font-size: 10px;
	color: #999;
	float: right;
}

.search_result .ad_details span.big {
	background: #44AEC2;
	color: #fff;
	font-weight: bold;
	font-size: 15px;
	padding: 0 5px;
}

.search_result:hover .ad_details span.big {
	background: #D72A18;
}

.search_result .description {
	width: 408px;
	float: left;
	overflow: hidden;
}

.search_result .options_box  a{
	display:block;
	margin:0 20px;
	float:right;
	padding:5px;
}

.search_result .options_box  a:hover{
	color: #fff;
	background: #D72A18;
}


/*****************************************
************** ADVERTISE *****************
*****************************************/

.annonce_title {
	width: 620px;
	background-color: #f5f5f5;
	padding: 10px 10px 0 10px;
	border-top: 2px solid #44AEC2;
	margin-top: -12px;
}

#ct-annonce {
	width: 620px;
	background-color: #f5f5f5;
	padding: 10px;
}

#advertise_form label  {
	display:block;
	width:130px;
	float:left;
	text-align:right;
	margin-right:10px;
}

#advertise_form input[type='text'] {
	padding: 0 4px;
	background-color: #fff;
	border: 1px solid #ccc;
	width: 215px;
	height: 20px;
	line-height: 20px;
	float:left;
}

#advertise_form select {
	background-color: #fff;
	border: 1px solid #ccc;
	height: 20px;
	line-height: 20px;
}

#advertise_form textarea {
	padding: 0 4px;
	background-color: #fff;
	border: 1px solid #ccc;
	width: 450px;
	height: 160px;
	float: left;
}

#advertise_form .form_error {
	color: red;
	float: left;
	margin-left: 140px;
}

#advertise_form .form_line {
	margin-bottom: 8px;
}

#advertise_form .form_note {
	font-size: 10px;
	color: #999;
	line-height: 20px;
	padding-left: 5px;
}

#advertise_form  .checkbox {
	float: left;
	margin-top: 2px;
	width: auto;
	margin-right: 10px;
}

#advertise_form  input[type='checkbox'] {
	float: left;
}

#advertise_form input[type=checkbox] + label {
	margin-left: 5px;
	line-height: 14px;
	text-align: left;
	width: auto;
	margin-right: 0;
	margin-left: 5px;
	line-height: 14px;
}

#advertise_form #ad_options {
	width: 438px;
	border: 1px solid #44AEC2;
	padding: 4px 10px 10px 10px;
	float: left;
}

#advertise_form #ad_options  .checkbox {
	width: 209px;
	margin-top: 6px;
}

#advertise_form #coordinates {
	width: 438px;
	border: 1px solid #44AEC2;
	padding: 10px 10px 2px 10px;
	float: left;
}

#advertise_form #coordinates label.radio {
	width: auto;
	float: none;
	text-align: left;
	margin: 0;
}

#advertise_form input#show_in_paper {
	margin-left: 140px;
}

#advertise_form #form_buttons input {
	margin:10px;
}

#advertise_form #temp_contact_infos {
	margin:0 auto;
	padding:10px;
	display:none;
	border: 1px solid #44AEC2;
    float: left;
    padding: 10px 10px 2px;
    width: 438px;
	margin-left:140px;
	margin-top:5px;
}

#advertise_form #temp_custom_phone {
	float:left;
}

#custom_contact_phone {
	float:left;
}

/*****************************************
************ Search Engine ***************
*****************************************/
#search_form {
	font-size:13px;
	margin-top: 10px;
}

#search_form  #left_side{
	float:left;
	width: 180px;
	border-right: 1px solid #44AEC2;
	padding-right: 10px;
}

#search_form .form_line {
	margin-bottom: 8px;
}

#search_form label, #search_form input {
	display:block;
	float:left;
}

#search_form input + label {
	margin-left: 5px;
	line-height: 14px;
}

#search_form .checkbox {
	float: left;
	width: 90px;
	margin-top: 6px;
}

#search_form .regular_label {
	line-height: 20px;
}

#search_form .small_input {
	padding: 0 4px;
	background-color: #fff;
	border: 1px solid #ccc;
	height: 20px;
	line-height: 20px;
	margin-left: 6px;
	text-align: center;
	width: 70px;
	float: right;
}

#search_form .subtitle {
	text-align:center;
	color: #44AEC2;
}

#search_form select {
	width:120px;
    font-size:10px;
    border-color:#999; /* without this, font resize won't work */
	margin:0 5px;
}

#search_form #room_count  {
	/**/
}

#search_form #room_count  label{
	/**/
}

#search_form  #right_side{
	width:419px;
	float:left;
	padding-left: 10px;
}

#search_form #ad_options {
	/**/
}

#search_form #ad_options .checkbox {
	width: 209px;
}

#search_form #ad_options input {
	/**/
}

#search_form #ad_options label {
	/**/
}

#search_form #buttons {
	margin-top:10px;
}

#search_form #buttons input {
	float:right;
	/*font-size: 15px;
	padding: 3px 6px;
	background: #44AEC2;
	text-transform: uppercase;
	color: #fff;
	cursor: pointer;*/
}

#search_form #neighborhood_select {
	padding: 0 4px;
	background-color: #fff;
	border: 1px solid #ccc;
	height: 20px;
	line-height: 20px;
	background: #fff url("/ct-content/themes/cherchetrouve/images/arrow-down-button.png") no-repeat right top;
	cursor:pointer;
}

#search_form #neighborhood_select:hover {
	background-position: right bottom;
}

#search_form #neighborhood_checkboxes {
	background-color:#fff;
    overflow: hidden;
    padding: 10px;
    position: absolute;
    z-index: 2000;
	width:600px;
	top:21px;
	border:1px solid #ccc;
	display:none;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

#search_form #neighborhood_checkboxes .checkbox {
	width: 200px;
}

#search_form #neighborhood_checkboxes label {
	font-size:11px;
}

.checkbox label:hover {
	color: #D72A18;
}

p.success, p.error {
	font-weight: bold;
	color: green;
	padding: 4px 0;
}
p.error { color: red; }

/*****************************************
************* Single Page ****************
*****************************************/
#single_ad {
	width:640px;
	float:left;
}

#single_ad  h4{
	text-align:center;
}

#single_ad  #single_ad_header{
	width: 620px;
	background-color: #f5f5f5;
	padding: 10px;
	border-top: 2px solid #44AEC2;
	margin-top: -12px;
}

#single_ad #title {
	margin-bottom: 10px;
	float: left;
	width: 310px;
}

#single_ad #annonce_img {
	width:300px;
	height:225px;
	background-size:300px 225px;
	background-repeat:no-repeat;
	float:right;
}

#single_ad #annonce_img  img{
	display:block;
	margin:auto;
}

#single_ad #ad_infos {
	width: 310px;
	float: left;
	clear: left;
	border-top: 1px solid #d8eef2;
}

#single_ad #ad_infos  p{
	border-bottom: 1px solid #d8eef2;
	float: left;
	font-size: 10px;
	line-height: 22px;
	height: 22px;
}

#single_ad #ad_infos  .title{
	width: 112px;
	color: #666;
	padding-left: 3px;
}

#single_ad #ad_infos  .info{
	width: 195px;
	font-size: 13px;
}

#single_ad #description {
	padding: 0 10px;
	margin-top: 20px;
	/*text-align: justify;*/
}

#single_ad #description h2 {
	margin-bottom: 10px;
}

#single_ad #ad_characteristics {
	width:320px;
	float:left;
	padding: 0 10px;
	margin-top: 20px;
}

#single_ad #ad_characteristics h2 {
	margin-bottom: 10px;
}

#single_ad #ad_characteristics  span {
	background: #daeff3;
	color: #064956;
	padding: 0px 5px;
	margin-bottom: 3px;
	display: inline-block;
}

#single_ad #contact_infos {
	width:280px;
	float:left;
	padding: 0 10px;
	margin-top: 20px;
}

#single_ad #contact_infos h2 {
	margin-bottom: 10px;
}

#single_ad #gmap {
	width:640px;
	height:240px;
	margin-top: 20px;
}

#single_ad #social_networks {
	width: 620px;
	padding: 0px 10px;
	margin-top: 20px;
}

#single_ad #social_networks  .fb-like{
	float:left;
	margin-right:20px;
}

#single_ad #social_networks  .twitter-share-button {
	float:left;
}


/*****************************************
************* Login Page ****************
*****************************************/

#login {
	background-color: #F5F5F5;
    border-top: 2px solid #44AEC2;
    margin-top: -12px;
    padding: 10px;
    width: 620px;
}

#login .form_line {
	width:320px;
	margin:10px auto;
}

#login label {
	width:110px;
	text-align:right;
	display:block;
	float:left;
	margin-right:10px;
}

#login input[type=text], #login input[type=password] {
	background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    float:left;
	display:block;
    height: 20px;
    line-height: 20px;
    margin-left: 6px;
    padding: 0 4px;
    text-align: center;
    width: 183px;
}

#login input[type=submit] {
	width:100px;
	display:block;
	margin:15px auto;
}

#login #login_options {
	width:325px;
	margin:0 auto;
}

#login #login_options  a{
	display:block;
	float:right;
	margin:0 15px;
}

/*****************************************
************* PAGE SELECTOR **************
*****************************************/

#page_selector p {
	float:left;
	margin:15px;
	padding:5px;
}

#page_selector p:hover {
	float:left;
	margin:15px;
	font-weight:bold;
	background: none repeat scroll 0 0 #D72A18;
    color: #FFFFFF;
	cursor:pointer;
}

#page_selector #selected_page {
	font-weight:bold;
	background: none repeat scroll 0 0 #D72A18;
    color: #FFFFFF;
}

/* AUTRES */
div.quartiers {
	float: left;
	width: 300px;
}
div.quartiers ul li { list-style: none; }
div.quartiers ul li a { color: #333; }
div.quartiers ul li a:hover { color: #999; }