@charset "utf-8";
/* CSS Document */

html, body	{
		position: relative;
		margin: 0 auto;
		background: #fefefe;
		text-align: center;
		font-family: 'Darker Grotesque', sans-serif;
		font-family: 'Roboto', sans-serif;
		font-weight: 300;
		font-size: 1em;
		}

#header		{
	position: relative;
	margin: 5px auto 0 auto;
	height: 5.4em;
	width: 100%;
	padding: .5em 5%;
	text-align: right;
	z-index: 999;
	background: #cf3b3b;
	background-color: #fff;
	}
		
.header	{
		max-width: 1024px;
		min-width: 320px;
		margin: 0 auto;
		}

/*Navigation Styles begin here*/
#navigation	{
		position: fixed;
		top: 0;
		width: 100%;
		z-index: 0;
		}
.logo	{
		float: left;
		margin: 0px auto 20px auto;
		}
/*Navigation Styles end here*/

/*Pop up Begings here*/
body {
  height: 100vh;
}

.box {
  width: 40%;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  padding: 35px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

.button {
  font-size: 1em;
  padding: 10px;
  color: #fff !important;
  border: 2px solid #eaeaea;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  background: #3b92cf !Important;
  transition: all 0.3s ease-out;
  font-weight: bold !important;
  margin: 10px auto;
  border
}
.button:hover {
  background: #010101 !important;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
}

}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}
/*Popup ends here*/

/*Form Begins here*/
/* Style the form element with a border around it */
form {
  border: 4px solid #f1f1f1;
}

/* Add some padding and a grey background color to containers */
.container {
  padding: 20px;
  background-color: #f1f1f1;
}

/* Style the input elements and the submit button */
input[type=text], input[type=submit] {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* Add margins to the checkbox */
input[type=checkbox] {
  margin-top: 16px;
}

/* Style the submit button */
input[type=submit] {
  background-color: #cf3b3b;
  color: white;
  border: none;
}

input[type=submit]:hover {
  opacity: 0.8;
}
/*Form Ends Here*/

#content, #adverts, #social	{
	position: relative;
	margin: 20px auto;
	max-width: 900px;
	min-width: 320px;
	height: auto;
	padding: 20px;
	text-align: justify;
	color: #333;
	line-height: 1.5em;
	font-weight: 300;
	}
#content ul li	{list-style: url(images/li.png);}
#adverts, #social	{
	background: #ddd;
	max-width: 100%;
	padding: 1.5em 15%;
	text-align: center;
	}
#adverts img	{margin: 1%;}
#social	{background: #fff;}
.social	{
		min-width: 320px;
		maximum-width: 640px;
		margin: 20px;
		}
		
#home, #otherPages	{
		position: relative;
		width: 597px;
		float: left;
		margin: 20px auto 0 auto;
		padding: 20px;
		background: #fff;
		color: #5b5b5b;
		height: auto;
		font-size: 14px;
		line-height: 1.5em;
		}
#otherPages {
		margin-top: 0;
		}
#homeAds 	{
		position: relative;
		float: right;
		width: 237px;
		height: auto;
		}
.homeAds, #ads	{margin-bottom: 5px;}
#ads		{float: right;}
.social-media	{
		float: right;
		}
.social-media img	{margin:2px 5px;}
#projects	{
		border-collapse: collapse;
		}
.th		{
	background: #cf3b3b;
	font-variant: small-caps;
	color: #111;
	font-weight: bold;
	font-size: 20px;
		}
.odd	{background: #cf3b3b;}
#book	{
	position: relative;
	float: right;
	text-align: left;
	margin: 2px auto;
		}
#book ul li img	{size: inherit;}
#book ul	{
		margin-top: 0;
		}
#book ul li a	{
	color: #111;
		}
#book ul li a:hover	{
	color: #cf3b3b;
		}

.neighbourhood	{
		border: #ccc 5px solid;
		margin: 5px;
		}
h1		{
	background: #cf3b3b;
	color: #fff;
	font-size: 24px;
	margin-top: auto;
	font-weight: 900;
	line-height: 1.2em;
	width: 100%;
	padding: .2em;
	border-radius: 5px;
	}
h2, h3	{color: #000;
		font-weight: 900;
		}
h3		{
		background: #cf3b3b;
		width: 100%;
		padding: .5em;
		color: #fff;
		}
h4		{
		margin: 0;
		font-weight: 900;
		}
a img	{border: none;}
#footer	{
		position: relative;
		max-width: 100%;
		min-width: 320px;
		margin: 20px auto;
		padding: 20px 0;
		background:#111;
		text-align: center;
		color: #666;
		font-size: .8em;
		}
#footer a:hover	{color: #cf3b3b;}
#footer a, #footer a:active {
		color: #666;
		text-decoration: none;
		}
#book a, #book a:active	{color: #666;
			}
#book a:hover	{
	color: #cf3b3b;
}
a, a:active, a:visited	{
	color: #cf3b3b;
	text-decoration: none;
		}
a:hover	{
	color: #111;
}
