﻿/*

	Description: Main style for Geonames page

*/


html, body {
	background-image: url(../img/bg.png);
	background-color: #fff;
}

header {
	padding: 1rem 0;
	background-color: #53777A;
	color: #fff;
}

	header a, footer a {
		color: #fff;
		border: none;
	}

		header a:hover, footer a:hover {
			color: #d0d0d0;
			text-decoration: none;
			-webkit-transition: color 0.5s;
			transition: color 0.5s;
		}

	header h1 {
		font-size: 1.2rem;
		font-weight: 400;
	}

	header img {
		width: 3rem;
	}

	header h1 img {
		margin-right: 0.8rem;
	}


#wrapper section {
	padding: 2.5rem 0;
	text-align: center;
}


#search {
	margin-bottom: 1.5rem;
}

#search {
	background-image: url(../img/bg-search.png);
	height: 20rem;
	border-bottom: 1px solid #ced4da;
}

	#search .container, header .nav, header h1 {
		position: relative;
		top: 50%;
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		transform: translateY(-50%);
	}

	#search .btn-secondary {
		background-color: #53777A;
		border-color: #ced4da;
	}


#features a {
	color: #fff;
}

	#features a:hover {
		color: #fff;
		text-decoration: none;
	}

.content-card {
	background-color: #53777A;
	margin: 0 1rem;
	padding: 1.5rem 0.5rem;
	box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
}

	.content-card:hover {
		background-color: #82a6a9;
		box-shadow: none;
		-webkit-transition: background-color 0.7s;
		transition: background-color 0.7s;
	}

	.content-card h3, .content-card p {
		color: #fff;
	}

.support-content {
	padding: 4rem 0 0 2rem;
}


footer {
	padding: 2rem 0;
	background-color: #53777A;
}

	footer h3 {
		font-size: 1.2rem;
		padding-top: 2rem;
	}

	footer a, footer h3, footer p {
		color: #fff;
	}


.statistic-charts {
	margin: 1.5rem 0 2rem 0;
}

iframe {
	width: 100%;
	height: 315px;
}

/*
	Typography
*/

h1, h2, h3, h4, p, ul, li {
	color: #542437;
}

h2 {
	margin-bottom: 1rem;
}

p {
	line-height: 1.75rem;
}

footer a, #support a {
	border-bottom: 1px dotted #fff;
}

	footer a:hover, #support a, .special-link {
		border-bottom: none;
		-webkit-transition: border-bottom 0.5s;
		transition: border-bottom 0.5s;
	}


/*
	Change default bootstrap style
*/

.carousel-control-prev, .carousel-control-next {
	opacity: 1;
	margin: -2rem;
	border: none;
	color: #542437;
	font-size: 1.5rem;
}

	.carousel-control-prev:hover, .carousel-control-next:hover {
		color: #53777A;
	}

.carousel-inner {
	text-align: left;
}