/*
	Colors used:

	Violet 3: #a4045f
	Violet 3: #90004a
	Violet 3: #79003e

	Orange 1: orange (#ffa500)
	Orange 2: darkorange (#ff8c00)
	Orange 3: orangered (#ff8c00)

	Grey 1: lightgrey (#d3d3d3)
	Grey 2: grey (#808080)
*/

@charset "UTF-8";

/* FONTS */

@font-face {
	font-family: "Antonio";
	src: url("fonts/antonio/Antonio-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "Antonio Bold";
	src: url("fonts/antonio/Antonio-Bold.ttf") format("truetype");
}

@font-face {
	font-family: "Antonio Light";
	src: url("fonts/antonio/Antonio-Light.ttf") format("truetype");
}

@font-face {
	font-family: "Archivo";
	src: url("fonts/archivo-narrow/ArchivoNarrow-Regular.otf") format("truetype");
}

@font-face {
	font-family: "Abode";
	src: url("fonts/abode/JKAbode-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "Abode Demo";
	src: url("fonts/abode/JKAbode-Demo.ttf") format("truetype");
}

@font-face {
	font-family: "Gidole";
	src: url('fonts/gidole/Gidole-Regular.ttf') format('truetype'),
	      url('fonts/gidole/Gidole-Regular.eot') format('eot');
}

/* EXTRAS */

::selection {
	background-color: #d91c88;
	color: white;
}

::-moz-selection {
	background-color: #d91c88;
	color: white;
}

/* GENERAL */

body {
	margin: 0;
	font-family: "Archivo";
}

h1 {
	width: 60%;
	margin: 5px auto 30px auto;
	border-bottom: 1px dashed lightgrey;
	font-size: 43px;
	color: black;
	font-weight: normal;
}

h1.h1-no-ads-page {
	margin: 40px auto 30px auto;
}

a, a:visited {
	color: black;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	color: #a4045f;
}

a.go-back {
	display: block;
	margin-top: 0px;
	margin-bottom: 20px;
	padding-bottom: 7px;
	border-bottom: 1px dashed lightgrey;
	font-weight: normal;
}

a.go-back:before {
	content: "";
	background-image: url("img/go_back.svg");
	display: inline-block;
	width: 18px;
	height: 18px;
	background-size: cover;
	position: relative;
	bottom: -3px;
}

a.go-back + h1 {
	border: none;
}

hr {
	border: none;
	border-top: 1px dashed lightgrey;
	margin-top: 6%;
}

::-webkit-input-placeholder	{ font-style: italic; color: grey; }
::-moz-placeholder			{ font-style: italic; color: grey; }
:-ms-input-placeholder		{ font-style: italic; color: grey; }
input:-moz-placeholder		{ font-style: italic; color: grey; }
::input-placeholder			{ font-style: italic; color: grey; }

*:focus { outline: 0; }

[type=button],
[type=submit],
[type=reset]
{
	margin: 5px;
	height: 27px;
	color: white;
	font-family: "Gidole", "DejaVu Sans";
	font-size: 16px;
	font-weight: normal;
	background-color: #a4045f;
	border: none;
	border-radius: 7px;
	outline-style: none;
	-webkit-appearance: none;
}

[type=reset] { background-color: firebrick; }

[type=button]:hover,
[type=submit]:hover {
	cursor: pointer;
	background-color: #90004a;
	-webkit-appearance: none;
}

[type=reset]:hover {
	cursor: pointer;
	background-color: #9f1c1c;
}

[type=text],
[type=password],
[type=email],
[type=search],
textarea
{
	padding: 2px 3px 2px 3px;
	font-size: 15px;
	font-family: "Gidole", "DejaVu Sans";
	border: 1px solid grey;
	border-radius: 4px;
	text-align: center;
}

textarea {
	width: 98%;
	height: 150px;
	min-width: 98%;
	max-width: 98%;
	min-height: 150px;
	max-height: 150px;
	resize: none;
	text-align: left !important;
}

[type=text]:focus, 		[type=text]:hover,
[type=password]:focus,  [type=password]:hover,
[type=email]:focus, 	[type=email]:hover,
[type=search]:focus, 	[type=search]:hover,
textarea:focus,			textarea:hover
{
	border: 1px solid #a4045f;
}

[type=radio], 	 [type=radio]:checked,
[type=checkbox], [type=checkbox]:checked
{ /* We hide the real inputs */
	display: none;
}

[type=radio] 	+ label span,
[type=checkbox] + label span
{ /* And we use the labels <span>s to act like the actual inputs */
	display: inline-block;
	margin: -3px 5px 0px 5px;
	vertical-align: middle;
	width: 14px;
	height: 14px;
	background-color: lightgrey;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

[type=radio] 	+ label,
[type=checkbox] + label /* The actual label */
{
	cursor: pointer;
}

[type=radio]			+ label span	{ border-radius: 7px; }
[type=radio]:checked	+ label span	{ background-color: #a4045f; }

[type=checkbox]			+ label span	{ border-radius: 4px; }
[type=checkbox]:checked + label span	{ background-color: #a4045f; }

[type=file] { display: none; }
				
.upload_button {
	display: inline-block;
	vertical-align: middle;
	width: 25px;
	height: 25px;
	background-image: url('images/upload.svg');
	background-size: contain;
	cursor: pointer;
	border-radius: 50%;
	border: 1px solid #a4045f;
	margin-right: 4px;
}
		
.upload_file {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	top: 2px;
	cursor: pointer;
}

/* COOKIES AGREEMENT */

#cookies-agreement {
	width: 100%;
	height: 52px;
	margin: 0;
	background-color: #909090;
}

#cookies-agreement p {
	margin: 0;
	line-height: 52px;
	padding-left: 10px;
	padding-right: 40px;
	color: whitesmoke;
	font-size: 16px;
}

#cookies-agreement p a { color: whitesmoke; }

#cookies-agreement-close-button {
	position: absolute;
	top: 13.5px;
	right: 10px;
	width: 25px;
	height: 25px;
	border-radius: 5px;
	background-color: #5a5a5a;
	color: white;
	text-align: center;
	line-height: 25px;
	font-size: 15px;
}

#cookies-agreement-close-button:hover {
	cursor: pointer;
	background-color: #252525;
}

/* HEADER */

header {
	height: 56px;
	background-image: linear-gradient(#a7005e, #8e0049);
	position: relative; /* For the nav buttons. */
}

#header-name {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 54px;
}

#header-name p {
	height: 54px;
	margin: 0;
	padding-top: 6px;
	color: white;
	font-family: "Abode Demo";
/*	font-family: "Abode"; */
	font-size: 42px;
	text-align: center;
}

#header-logo {
	margin: 6px 0px 0px 6px;
	padding: 0;
	height: 44px;
	display: inline-block;
}

#header-logo a,
#header-logo a:hover,
#header-logo a:active { border: none; }

#header-logo img {
	height: 44px;
	opacity: 0.4;
	transition: opacity 0.2s ease;
}

#header-logo img:hover { opacity: 0.99; }

#header-actions {
	position: absolute;
	top: 6px; /* Height: 54px - (29px + 7px) = 18px / 2 = 6px */
	right: 6px;
}

#header-actions a {
	display: inline-block;
	vertical-align: top;
	width: 29px;
	height: 29px;
	padding: 7px;
	background-color: #90004a;
	border-radius: 15%;
	transition: background-color 0.35s ease;
}

#header-actions a:hover {
	background-color: #79003e;
}

#header-actions a img {
	width: 29px;
	height: 29px;
}

#header-actions #header-action-account {
	position: relative; /* For notifications which are absolute. */
	padding: 0px;
	width: 43px; /* 29px + 2 * 7px (pading) */
	height: 43px;
}

#header-actions #header-action-account > div {
	width: 43px;
	height: 43px;
	border-radius: 15%;
	background-size: cover;
}

#header-action-account-alerts {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 43px;
	height: 43px;
	border-radius: 15%;
	background-color: rgba(0, 0, 0, 0.75);
	text-align: center;
	line-height: 43px;
}

#header-action-account-alerts span {
	color: white;
	font-size: 16px;
	background-color: #ff0000;
	padding: 2px 7px 2px 7px;
	border-radius: 20px; /* Over 11px works, so 20 to be sure */
	box-shadow: 0px 0px 3px black;
}

#header-action-account:hover #header-action-account-alerts span {
	background-color: #de0000;
}

#main-menu {
	display: none;
	position: absolute;
	top: 43px;
	top: 48px;
	right: 5px;
	right: 0px;
	min-width: 290px;
	z-index: 10;
}

#main-menu-arrow {
	height: 8px;
	margin-right: 19px;
	margin-right: 24px;
	background-image: url("img/main_menu_arrow.svg");
	background-repeat: no-repeat;
	background-position: top right;
}

#main-menu-top {
	background-color: #fafafa;
}

#main-menu-img {
	display: inline-block;
	vertical-align: top;
	width: 100px;
	padding: 10px 10px 4px 10px;
	margin: 0;
}

#main-menu-img > div {
	height: 100px;
	width: 100px;
	padding: 0;
	margin: 0px 0px 3px 0px;
	border-radius: 50%;
	background-size: cover;
}

#main-menu-infos {
	display: inline-block;
	vertical-align: top;
}

#main-menu-infos p {
	margin: 7px;
}

#main-menu-infos a {
	font-family: "Gidole";
	font-weight: normal;
	color: #353535;
}

#main-menu-infos a:hover {
	color: #a4045f;
}

#main-menu-infos-name {
	font-size: 20px;
	margin-bottom: 10px !important;
}

#main-menu-infos-alerts span {
	color: white;
	font-size: 16px;
	background-color: #ff0000;
	padding: 2px 7px 2px 7px;
	border-radius: 20px; /* Over 11px works, so 20 to be sure */
}

#main-menu-infos-alerts a:hover > span {
	background-color: #de0000;
}

#main-menu-bottom {
	margin: 0;
	padding: 6px;
	text-align: center;
	background-color: lightgrey;
}

#main-menu-bottom a {
	display: inline-block;
	width: 45%;
	padding: 2px;
	font-weight: normal;
	text-decoration: none;
	color: grey;
	background-color: white;
	border: 1px solid white;
	border-radius: 7px;
}

#main-menu-bottom a:hover {
	border: 1px solid lightgrey;
}

footer {
	border-top: 1px dashed lightgrey;
	background-image: url(img/footer_background.png);
	position: relative;
	font-size: 16px;
	margin-top: 45px;
}

footer ul {
	margin: 0;
	padding: 25px;
}

footer li {
	list-style-type: none;
}

footer a {
	font-weight: normal;
}

#social-networks {
	height: 29px;
	position: absolute;
	right: 10px;
	bottom: 5px;
}

#social-networks #sn-fcb,
#social-networks #sn-twt,
#social-networks #sn-ggl,
#social-networks #sn-rss {
	display: inline-block;
	width: 29px;
	height: 29px;
	background-image: url(img/social_networks.png);
	background-size: 116px;
	margin: 0 2px 0 0;
	padding: 0;
}

#social-networks #sn-fcb { background-position: 0px bottom; }
#social-networks #sn-twt { background-position: -29px bottom; }
#social-networks #sn-ggl { background-position: -58px bottom; }
#social-networks #sn-rss { background-position: -87px bottom; }

/* LOGIN and SUBSCRIBE */

#login-subscribe-layout {
	text-align: center;
	padding-top: calc(100vh / 12);
}

.login-subscribe-layout-with-space {
	height: calc(100vh - 56px - 105px - 110px - (100vh / 12));  /* -header -footer -? -h1 */
}

#login-subscribe-layout div {
	display: inline-block;
	vertical-align: top;
}

#login-subscribe-illustration {
	padding-right: 2.5%;
	border-right: 1px solid lightgrey;
	width: 15%;
}

#login-subscribe-illustration img { width: 100%; }

#login-subscribe-layout table {
	border-collapse: collapse;
	text-align: left;
	font-family: "Gidole";
	width: 30vw;
	margin-left: 5.5%;
	margin-top: 2.5%;
}

#login-subscribe-layout td { padding: 5px; }

#login-subscribe-layout [type=text],
#login-subscribe-layout [type=password],
#login-subscribe-layout [type=email] {
	width: calc(100% - 10px); /* To compensate the padding of 6px */
	height: 35px;
}

.verify-cell {
	display: block;
	width: 25px;
	height: 25px;
	background-image: url("img/right_wrong.svg");
	background-position: top left;
	background-size: cover;
}

.verify-cell-right { background-position: top center; }
.verify-cell-wrong { background-position: top right; }

#login-subscribe-submit { text-align: right; }

#login-subscribe-layout + div {
	text-align: center;
}

#login-subscribe-subscribe {
	display: inline-block;
	text-align: center;
	padding: 0px 0px 50px 0px;
}

#login-subscribe-subscribe a {
	opacity: 0.2;
	transition: opacity 0.2s ease;
}

#login-subscribe-subscribe a img {
	border: none;
	width: 120px;
	height: 120px;
}

#login-subscribe-subscribe p {
	margin: -10px 0px 0px 0px;
	width: 200px;
	font-weight: normal;
	color: #969696;
}

#login-subscribe-subscribe a:hover { opacity: 1; }

.login-subscribe-error {
	color: #d40c00;
}

.login-subscribe-success {
	text-align: center;
	color: #18a900;
	margin: 3% auto 10% auto;
	padding: 5%;
}

#facebook-login-button {
	display: inline-block;
	height: 25px;
	background-size: auto 25px;
	background-position: top left;
}

#facebook-login-button:hover { background-position: top right; }

#login-subscribe-password-forgotten {
	text-align: right;
	margin: 0;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

#login-subscribe-password-forgotten a {
	font-weight: normal;
	text-decoration: underline;
	font-size: 12px;
}

#forgotten-password-form {
	display: none;
}

#forgotten-password-form #submit-FPF{
	text-align: right;
}

#forgotten-password-form td.success {
	color: #18a900;
}

#forgotten-password-form td.error {
	color: #d40c00;
}

/* MAP */

#main-map {
	display: block;
	width: 50%;
	max-height: 100%; /* So it has the correct aspect ratio. Don't know why it works but it works. */
	height: auto;
	margin: 60px auto 60px auto;
}

#main-map-regions {
	width: 50%;
	margin: auto auto 85px auto;
	text-align: center;
}

#main-map-regions a {
	color: grey;
	font-family: "Antonio";
	font-size: 18pt;
	text-decoration: none;
	font-weight: normal;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color 0.3s ease;
}

#main-map-regions .odd { color: dimgrey; }
#main-map-regions .even { color: darkgrey; }

#main-map-regions a:hover, 
#main-map-regions .jquery-hover {
	color: #a4045f;
}

/* RESULTS */

#main-model-first-column,
#main-model-wrapper,
#main-model-second-column,
#main-model-third-column {
	display: inline-block;
	vertical-align: top;
	margin: 20px 0px 0px 0px;
}

#main-model-first-column {
	width: 23%;
}

#main-model-first-column * {
	margin: auto;
}

#main-model-wrapper {
	width: 76%;
}

#main-model-second-column {
	width: 65%;
}

#main-model-third-column {
	width: 34%;
}

#main-model-second-column h1 {
	width: 100%;
}

.fakeadd {
	background-color: #dcf7ff;
/*	background-image: url("../_FACTORY_/pub.png");*/
	background-position: 0px;
	visibility: hidden;
}

.fake-add-skyscraper {
	width: 160px;
	height: 600px;
	margin-bottom: 15px !important;
}

.fake-add-line {
	height: 65px;
	margin: 0px 0px 20px 0px;
	display: none;
}

#results-searchbar {
	margin-bottom: 20px;
	padding: 5px;
	background-color: #efefef;
	border-radius: 7px;
	text-align: right;
}

#results-searchbar [type=text] {
	height: 25px;
	width: calc(100% - 53px);
}

#results-searchbar [type=submit] {
	height: 31px;
	width: 31px;
	background-image: url('../img/mag_glass.svg');
	background-size: cover;
	border: 3px solid #a4045f; /* The border goes inwards, to give margins to the icon. */
	position: relative;
	top: -1px;
	margin-left: 0;
}

#results-searchbar [type=submit]:hover {
	border-color: #90004a;
}

#results-search-category {
	text-align: right;
	margin-right: 3px;
}

#results-search-category #R-ad-category-LBL {
	color: grey;
	font-size: 14px;
}

.add-block-a {
	display: block;
	margin-bottom: 20px;
	font-weight: normal;
}

.add-block-a:hover { color: black; }

.add-block {
	border-collapse: collapse;
}

.add-image {
	width: 130px;
	vertical-align: middle;
}

.add-image > div {
	width: 130px;
	height: 130px;
	background-size: cover;
	border: 5px solid white;
	border-radius: 50%;
	margin: 0px 12px 0px 20px;
}

.add-block-a:hover .add-image > div { border-color: #a4045f; }

.add-title, .add-description {
	background-color: #fafafa;
	padding: 15px;
}

.add-title {
	font-size: 21px;
	border-bottom: 1px dashed lightgrey;
	width: 100%;
}

.add-block-a:hover .add-title { color: #a4045f; }

.add-description {
	vertical-align: top;
}

#add-description-remaining-chars {
	color: grey;
	font-style: italic;
	margin: 0px 0px 5px 0px;
}

.add-infos {
	text-align: right;
	font-family: "Gidole";
	font-style: italic;
	font-size: 14px;
}

.add-infos a { font-weight: normal; }

/* Featured ad */

.add-block-featured-add .add-title,
.add-block-featured-add .add-description { background-color: lightgoldenrodyellow !important; } /* #fafad2 */

.add-block-featured-add:hover .add-image div { border-color: orange !important; } /* #ffa500 */
.add-block-featured-add:hover .add-title { color: darkorange !important; } /* #ff8c00 */

.add-block-featured-add .add-infos a:hover { color: darkorange !important; }

/* Missing person */

.missing-person .add-title,
.missing-person .add-description { background-color: #fad2d2 !important; }

.missing-person:hover .add-image div { border-color: #d40c00 !important; }
.missing-person:hover .add-title { color: #d40c00 !important; }

.missing-person .add-infos a:hover { color: #d40c00 !important; }

#new-results-loading-icon {
	display: none;
}

.loading-in-progress {
	text-align: center;
	margin: 30px 0px 30px 0px;
}

.loading-in-progress .first-circle,
.loading-in-progress .second-circle,
.loading-in-progress .third-circle {
	display: inline-block;
	vertical-align: top;
	width: 13px;
	height: 13px;
	background-color: #e5e5e5;
	border-radius: 50%;
	margin: 1px;
	transition: background-color 0.4s ease;
}

#add-board {
	width: 90%;
	margin: auto auto 18px auto;
	background-color: #fafafa;
	padding-top: 10px;
	text-align: left;
}

#add-board-frame {
	display: inline-block;
	text-align: left;
}

#add-board a  {
	display: block;
}

#add-board a div {
	display: inline-block;
	vertical-align: middle;
	margin-bottom: 10px;
}

.add-board-img {
	width: 50px;
	height: 50px;
	background-size: cover;
	border-radius: 15%;
	border: 4px solid #fafafa;
}

#add-board a:hover .add-board-img { border-color: darkorange; }

.add-board-infos > p {
	margin: 0;
}

.add-board-infos > p + p{
	font-weight: normal;
	font-style: italic;
	font-family: "Gidole";
	margin-top: 1px;
}

#add-board a:hover .add-board-infos p {
	color: darkorange;
}

/* VIEW AD */

#ad-main-column-section > * {
	display: inline-block;
	vertical-align: top;
}

#edit-ad img {
	width: 25px;
	height: 25px;
}

#delete-ad img {
	width: 25px;
	height: 25px;
}

#promote-my-ad-link {
	font-weight: normal;
}

#promote-my-ad-link:hover {
	color: darkorange;
}

#promote-my-ad {
	border: 2px solid darkorange;
	border-radius: 17px;
	background-color: lightgoldenrodyellow;
	margin: 25px 0px 25px 0px;
}

#promote-my-ad * {
	display: inline-block;
	vertical-align: top;
}

#promote-my-ad img {
	width: 85px;
	height: 85px;
	margin: 10px;
}

#promote-my-ad div * {
	display: block;
}

#ad-main-image {
	width: 150px;
	height: 150px;
	background-size: cover;
	border-radius: 50%;
	text-align: center;
}

#ad-main-image #enlarge-main-image {
	display: none;
	width: 100%;
	height: 100%;
	padding: 0;
	line-height: 150px;
	background-color: rgba(0, 0, 0, 0.2);
	border-radius: 50%;
}

#ad-main-image:hover #enlarge-main-image {
	display: block;
}

#ad-main-image p {
	color: white;
	text-shadow: 0px 0px 3px black;
	margin: 0;
	font-weight: normal;
}

#ad-main-image-enlarged {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100vh;
	z-index: 5;
	background-color: rgba(0, 0, 0, 0.75);
	text-align: center;
}

#ad-main-image-enlarged-container {
	display: inline-block;
}

#ad-main-image-enlarged-container #close-cross {
	text-align: right;
	margin-bottom: 2px;
	padding: 0;
}

#ad-main-image-enlarged-container #close-cross img {
	width: 15px;
	height: 15px;
	background-color: grey;
	display: inline-block;
	padding: 4px;
	margin: 0;
	border-radius: 50%;
}

#ad-main-image-enlarged-container #close-cross img:hover {
	background-color: #a4045f;
	cursor: pointer;
}

#ad-main-image-enlarged-container #close-cross + img {
	max-width: 88vw;
	max-height: 88vh;
}

#ad-second-image-link {
	display: block;
	margin-top: 15px;
}

#ad-second-image {
	display: block;
	width: 46px;
	height: 46px;
	background-size: cover;
	border: 3px solid white;
	border-radius: 7px;
}

#ad-second-image:hover {
	border-color: #a4045f;
}

#ad-main-column-section ul {
	list-style-type: none;
	padding-left: 20px;
}

#ad-main-column-section li .info-title {
	font-weight: bold;
}

#ad-main-column-section li a {
	font-weight: normal;
}

#ad-main-column-section h2 {
	display: block;
	margin: 30px 0px 5px 0px;
}

#ad-main-column-section > p {
	text-align: justify;
}

#flag-div-container {
	text-align: right;
}

#flag-div-container * {
	display: inline-block;
	vertical-align: middle;
	text-align: right !important;
}

#flag-div-container #flag-icon {
	width: 30px;
	height: 30px;
	vertical-align: top;
	background-image: url(img/flag_inactive.svg);
	background-size: cover;
	cursor: pointer;
}

#flag-div-container #flag-icon:hover {
	background-image: url(img/flag_active.svg);
}

#flag-div-container p {
	margin: 0;
	color: grey;
	font-size: 17px;
	position: relative;
	bottom: -5px;
	cursor: pointer;
}

#flag-div-container p:hover {
	color: #a4045f;
}

#this-is-mine {
	margin: 25px 0px 25px 0px;
	background-color: #a4045f;
	background-image: linear-gradient(#a7005e, #8e0049);
	width: 200px;
	height: 50px;
	border-radius: 10px;
	cursor: pointer;
}

#this-is-mine p {
	color: white;
	text-align: center;
	line-height: 50px;
}

#this-is-mine-form {
	display: none;
}

#object-description-remaining-chars {
	color: grey;
	font-style: italic;
}

#you-must-be-logged-in-to-answer-ad {
	margin: 20px 0 0 0;
	padding: 0;
	color: #d40c00;
}

#you-must-be-logged-in-to-answer-ad a {
	font-weight: normal;
	color: #d40c00;
	text-decoration: underline;
}

#ad-share-buttons {
	background-color: #f4f4f4;
	padding: 10px;
	border-radius: 5px;
	margin-top: 30px;
	text-align: right;
}

#ad-share-buttons .twitter-share-button[style] {
	vertical-align: text-bottom !important;
} /* To avoid misalignment. */

/* NEW AD */

#new-ad-main-column-section {
	margin-top: 40px;
}

#new-ad-main-column-section #i-found-button,
#new-ad-main-column-section #i-search-button {
	background-color: #f5f5f5;
	font-weight: normal;
	font-family: "Antonio";
	text-transform: uppercase;
	padding: 10px 25px 10px 25px;
	border-radius: 5px 5px 0px 0px;
	margin-right: 2.5px;
	transition: background-color 0.25s ease;
}

#new-ad-main-column-section #i-found-button { background-color: lightgrey; }

#new-ad-main-column-section > div + div {
	background-color: lightgrey;
	margin-top: 10px;
	padding: 10px;
	border-radius: 0px 5px 5px 5px;
}

#new-ad-main-column-section #i-found-search-form {
	background-color: white;
	padding: 15px;
}

#label-for-ad-title {
	color: grey;
	font-style: italic;
}

#search-found-explanation-F,
#search-found-explanation-S {
	color: grey;
	background-color: #f5f5f5;
	padding: 5px;
	border-radius: 5px;
	font-size: 14px;
	line-height: normal;
	margin: 5px 0px 10px 0px;
	padding-left: 35px;
	position: relative;
}

#search-found-explanation-S {
	display: none;
}

#search-found-explanation-F:before,
#search-found-explanation-S:before {
	content: "?";
	position: absolute;
	top: -2px;
	left: 7px;
	font-size: 30px;
	padding: 5px;
}

#ad-title {
	width: 50%;
	height: 25px;
	margin-bottom: 15px;
}

#upload-ad-picture-group {
	margin-bottom: 3%;
}

#label-picture-2 {
	line-height: 20px;
	vertical-align: middle;
	margin-left: 2.5px; /* Cause 5px smaller than the other, for alignment */
	margin-bottom: 15px;
	cursor: pointer;
	display: none;
}

#label-picture-2:before {
	content: " ";
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	background-image: url('img/upload.svg');
	background-size: contain;
	border: 1px solid #a4045f;
	border-radius: 50%;
}

#label-picture-2 span {
	padding-left: 8.5px;
	line-height: 20px;
	font-size: 15px;
}

#input-ad-picture-2 {
	display: none;
}

#show-my-infos-explanation-button {
	display: inline-block;
	background-color: lightgrey;
	padding: 0px 5px 0px 5px;
	margin-left: 3px;
	line-height: normal;
	color: white;
	border-radius: 50%;
	transition: background-color 0.25s ease;
}

#show-my-infos-explanation-button:hover {
	background-color: #a4045f;
	cursor: pointer;
}

#show-my-infos-explanation {
	display: none;
	color: white;
	background-color: grey;
	padding: 5px;
	border-radius: 5px;
	font-size: 14px;
	line-height: normal;
	margin: 5px 0px 10px 0px;
}

#new-ad-main-column-section ul {
	list-style-type: none;
	line-height: 25px;
	padding-left: 10px;
}

#new-ad-main-column-section ul li [type=checkbox] + label span { margin-left: 0px; }

#new-ad-loading-icon {
	margin: 2% 0 0 7%;
	text-align: left;
	display: none;
}

#new-ad-errors {
	color: #d40c00;
}

/* EDIT AD */

.leave-empty-to-keep-img {
	margin-top: -12px;
	font-size: 15px;
	color: grey;
}

#delete-second-picture + label + .leave-empty-to-keep-img {
	margin-top: 5px;
}

#label-picture-2.picture-2-edit-ad {
	margin-bottom: 5px;
}

#delete-second-picture + label {
	font-size: 14px;
	color: grey;
	font-style: italic;
}

/* MY ADS */

.my-ads-page-title {
	margin-bottom: 55px;
}
.my-ads-entry-link {
	display: block;
	margin-bottom: 20px;
	font-weight: normal;
}

.my-ads-entry-link:hover { color: black; }

.my-ads-entry {
	border-collapse: collapse;
}

.my-ads-entry-img > div {
	width: 130px;
	height: 130px;
	background-size: cover;
	border: 5px solid white;
	border-radius: 50%;
	margin: 0px 12px 0px 20px;
}

.my-ads-entry-link:hover .my-ads-entry-img > div { border-color: #a4045f; }

.my-ads-entry-title,
.my-ads-entry-options {
	background-color: #fafafa;
	padding: 15px;
}

.my-ads-entry-title {
	font-size: 21px;
	border-bottom: 1px dashed lightgrey;
	width: 100%;
}

.my-ads-entry-link:hover .my-ads-entry-title { color: #a4045f; }

.my-ads-featured-ad .my-ads-entry-title,
.my-ads-featured-ad .my-ads-entry-options { background-color: lightgoldenrodyellow !important; }

.my-ads-entry-link:hover .my-ads-featured-ad .my-ads-entry-img > div { border-color: darkorange !important; }
.my-ads-entry-link:hover .my-ads-featured-ad .my-ads-entry-title { color: darkorange !important; }

.my-ads-entry-options {
	vertical-align: top;
}

.my-ads-entry-options a {
	font-weight: normal;
}

.my-ads-entry-options a.edit:after {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	background-image: url(img/edit.svg);
	background-size: cover;
	margin-left: 5px;
	position: relative;
	top: -2px;
}

.my-ads-entry-options a.promote:after {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	background-image: url(img/promote.svg);
	background-size: cover;
	margin-left: 5px;
	position: relative;
	top: -2px;
}

.my-ads-entry-options a.delete:after {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	background-image: url(img/remove.svg);
	background-size: cover;
	margin-left: 5px;
	position: relative;
	top: -2px;
}

/* MY ACCOUNT */

#my-account {
}

#my-account form #profile-picture-block,
#my-account form #other-infos-block {
	display: inline-block;
	vertical-align: top;
	margin: 0;
}

#my-account #profile-picture-block {
	border-right: 1px solid lightgrey;
	width: 38%;
}

#my-account #profile-picture-display {
	width: 200px;
	height: 200px;
	background-size: cover;
	border-radius: 2%;
}

#input-profile-picture-label {
	display: inline-block;
	cursor: pointer;
	margin-top: 5px;
}

#input-profile-picture-label #upload-button {
	display: inline-block;
	vertical-align: middle;
	width: 25px;
	height: 25px;
	background-image: url('img/upload.svg');
	background-size: cover;
	border-radius: 50%;
	border: 1px solid #a4045f;
	margin-right: 2px;
}

#input-profile-picture-label #upload-file {
	display: inline-block;
	vertical-align: middle;
}

#input-profile-picture-label #upload-file span {
	color: grey;
	font-size: 80%;
}

#my-account #other-infos-block {
	width: 61%;
}

#my-account #other-infos-block table {
	margin-left: 7%;
}

#my-account #other-infos-block td {
	padding-right: 8px;
}

#my-account #other-infos-block h3 {
	font-size: 200%;
	margin: 5.5% 0 5% 0;
}

#my-account #other-infos-block h3.first-h3 {
	margin-top: -1%;
}

#my-account #other-infos-block [type=text],
#my-account #other-infos-block [type=password] {
	height: 35px;
	width: 100%;
}

#my-account-loading-icon {
	visibility: hidden;
}

#settings-errors {
	color: #d40c00;
}

#settings-success {
	color: #18a900;
}

#ma-delete-my-account {
	text-align: right;
}

#ma-delete-my-account [type=submit] {
	background-color: lightgrey;
	transition: background-color 0.4s ease;
}

#ma-delete-my-account [type=submit]:hover {
	background-color: #d40c00;
}

/* CHAT */

#chat-container {
	position: relative;
	margin-bottom: 25px;
}

#chat-container > div {
	display: inline-block;
	vertical-align: top;
}

#scroll-back-to-bottom {
	position: absolute;
	top: 7px;
	right: 15px;
	width: 40px;
	height: 40px;
	background-color: #a4045f;
	background-image: url(img/go_back_down.svg);
	background-size: cover;
	border-radius: 5px;
	opacity: 0.4;
	transition: opacity 0.2s ease;
}

#scroll-back-to-bottom:hover {
	opacity: 1;
}

#chat-peers-container {
	width: 34%;
	height: 78vh;
	overflow: scroll;
}

#chat-peers {
	display: flex;
	flex-flow: column;
}

.chat-peer {
	display: block;
	height: 50px;
	background-color: #fafafa;
	border: 2px solid white;
	border-radius: 10px;
	font-weight: normal;
	margin: 0px 2px 0px 12px;
	transition: border-color 0.3s ease;
	transition: background-color 0.3s ease;
}

.chat-peer:hover {
	background-color: #a4045f;
	color: white;
}

.chat-peer.active {
	border-color: #a4045f;
	background-color: #a4045f;
	color: white;
	margin-left: 2px;
	margin-right: 4px;
}

.chat-peer * {
	display: inline-block;
	vertical-align: middle;
}

.chat-peer > div {
	width: 40px;
	height: 40px;
	margin: 0px 5px 0px 5px;
	border-radius: 50%;
	background-size: cover;
}

.peer-id { display: none; } /* For XHR request */

#chat-threads-and-write {
	border: 2px dashed lightgrey;
	border-radius: 7px;
	width: 65%;
	max-height: 78vh;
	overflow: scroll;
}

#chat-threads {}

#chat-threads p {
	display: inline-block;
	max-width: 80%;
	margin-top: 0px;
	margin-bottom: 0px;
}

.chat-message {
	margin: 5px 0px 12px 0px;
}

.chat-message a {
	font-weight: normal;
	color: white;
	text-decoration: underline;
	display: inline-block;
	margin-bottom: 12px;
	color: #ffe1a8;
	transition: color 0.2s ease;
}

.chat-message a:hover {
	color: white;
}

.chat-message.me { text-align: right; }
.chat-message.the-other-guy { text-align: left; }

.chat-message.me p,
.chat-message.the-other-guy p {
	text-align: left;
	padding: 7px;
	border-radius: 5px;
}
	
.chat-message.me p {
	margin-right: 7px;
	color: white;
	background-color: #a4045f;
}

.chat-message.the-other-guy p {
	margin-left: 7px;
	background-color: lightgrey;
}

.chat-message.demand p {
	color: white;
	background-color: #ffa600;
}

.chat-message-date {
	max-width: 100% !important;
	display: block !important;
	color: white !important;
	margin-top: 2px !important;
	padding: 0 !important;
	background-color: white !important;
	font-size: 14px;
	transition: color 0.2s ease; 
}

.chat-message.me .chat-message-date {
	text-align: right;
}

.chat-message:hover .chat-message-date {
	color: grey !important;
}

#chat-write {
	border-top: 1px dashed lightgrey;
	text-align: right;
	position: relative;
}

#chat-write textarea {
	height: 80px;
	min-height: 80px;
	max-height: 80px;
	padding-top: 5px;
	border: none;
}

#chat-write [type=submit] {
	position: absolute;
	bottom : 5px;
	right: 5px;
	background-color: lightgrey;
	opacity: 0.3;
	transition: opacity 0.2s ease;
}

#chat-write [type=submit].active {
	background-color: #a4045f;
}

#chat-write [type=submit]:hover {
	opacity: 1;
}

/* GCU */

#gcu-wrapper {
	width: 60%;
	margin: auto auto 45px auto;
	counter-reset: h2;
}

#gcu-wrapper h2:before {
	content: counter(h2) ". ";
	counter-increment: h2;
}

#gcu-wrapper p {
	text-align: justify;
	padding-left: 20px;
}

/* RESPONSIVE DESIGN */

@viewport { 
    width: device-width; 
    zoom: 1; 
}

@media all and (max-width: 1150px){
	#main-map {
		width: 60%;
	}
	
	#main-map-regions {
		width: 60%;
	}
	
	#main-map-regions a {
		font-size: 17pt;
	}
	
	#my-account #profile-picture-display {
		width: 170px;
		height: 170px;
	}
}

@media all and (max-width: 950px){
	h1 {
		width: 70%;
	}
	
	#main-map {
		width: 68%;
	}
	
	#main-map-regions {
		width: 68%;
	}
	
	#main-map-regions a {
		font-size: 16pt;
	}
	
	#main-model-first-column {
		width: 100%;
		border: none;
		display: none; /* ***************** - Waiting for ads - *************** */
	}
	
	.fake-add-skyscraper {
		width: 98%;
		height: 60px;
		margin: auto;
	}
	
	#main-model-wrapper {
		display: flex;
		width: 100%;
	}
	
	#gcu-wrapper {
		width: 70%;
	}
	
	#my-account #profile-picture-display {
		width: 170px;
		height: 170px;
	}
}

@media all and (max-width: 800px){
	h1 {
		width: 80%;
	}
	
	#gcu-wrapper {
		width: 80%;
	}
	
	#main-map {
		width: 80%;
	}
	
	#main-map-regions {
		width: 80%;
	}
	
	#main-map-regions a {
		font-size: 15pt;
	}
	
	#main-model-wrapper {
		flex-flow: column;
	}
	
	#main-model-second-column {
		order: 3;
		width: 90%;
		margin: auto;
	}
	
	#main-model-third-column {
		order: 2;
		width: 100%;
	}
	
	#add-board-frame {
		padding-left: 10px;
	}
	
	#add-board {
		width: 100%;
	}
	
	#add-board a {
		display: inline-block;
	}
	
	#add-board .add-board-img {
		width: 40px;
		height: 40px;
	}
	
	#add-board .add-board-infos {
		display: none;
	}
	
	#my-account form #profile-picture-block,
	#my-account form #other-infos-block {
		display: block;
		margin: auto;
		border: none;
	}
}

@media all and (max-width: 600px){
	h1 {
		font-size: 35px;
	}
	
	#cookies-agreement p {
		font-size: 15px;
	}

	#main-map {
		width: 92%;
	}
	
	#main-map-regions {
		width: 92%;
	}
	
	#main-map-regions a {
		font-size: 14pt;
	}
}

@media all and (max-width: 505px) {
	#cookies-agreement p {
		line-height: normal;
	}
	
	#header-name p {
		padding-top: 6px;
		font-size: 35px;
	}
	
	#main-menu {
		top: 48px;
		left: 0px;
		right: 0px;
	}
	
	#main-menu-arrow {
		margin-right: 24px;
	}

/* LOGIN SUBSCRIBE */
	
	#login-subscribe-illustration {
		display: none !important;
	}
	
	#login-subscribe-illustration + div,
	#login-subscribe-illustration + div table {
		width: 100%;
	}
	
/* MY ACCOUNT */
	
	#my-account form #other-infos-block,
	#my-account form #other-infos-block table {
		width: 100%;
	}
	
/* RESULTS */
	
	#results-searchbar [type=text] {
		height: 25px;
		width: calc(100% - 100px);
	}
	.add-image {
		width: 90px;
	}
	
	.add-image > div {
		width: 90px;
		height: 90px;
		border: 4px solid white;
		margin: 0px 7px 0px 0px;
	}
	
/* CHAT */
	
	#chat-peers-container {
		display: block !important;
		width: 100%;
		height: inherit;
		margin-bottom: 25px;
	}
	
	#chat-threads-and-write {
		display: block !important;
		width: 100%;
	}
	
	#scroll-back-to-bottom {
		display: none !important;
	}

}
