html {
	margin: 0;
	padding: 0;
}

body {
	background-color: #F5F5F5;
	font-family: 'Roboto', sans-serif;
	position: relative;
	padding: 50px;
}


/* headings */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Roboto', sans-serif;
	text-align: center;
}

h1 {
	font-size: 80px;
	letter-spacing: -1.5px;
	font-weight: lighter;
}

h2 {
	font-size: 46px;
	letter-spacing: -0.5px;
	font-weight: lighter;
}

h3 {
	font-size: 34px;
	letter-spacing: 0px;
	font-weight: normal;
}

h4 {
	font-size: 30px;
	letter-spacing: 0.5px;
	font-weight: normal;
}

h5 {
	font-size: 26px;
	letter-spacing: 0.25px;
	font-weight: normal;
}

h6 {
	font-size: 16px;
	letter-spacing: 0.15px;
	font-weight: medium;
	height: 80px;
}


/* paragraphs */

p {
	font-family: 'Roboto', sans-serif;
	font-style: normal;
	margin: 0 0 12px;
	padding: 0;
	text-align: center;
}


/* header */

header {
	position: relative;
	width: 100%;
	overflow-y: hidden;
	color: #666;
	padding-top: 70px;
	min-height: 500px;
}

header .see-more-btn {
	margin: 10px 0 10px 0;
}

header .extra {
	display: none;
	margin-top: 50px;
}

header .navbar-expand-lg .navbar-nav .nav-link {
	padding: 0 12px 0 12px;
}


/* navigation */

nav.navbar {
	background-color: #1976D2 !important;
	color: #fff !important;
	height: 60px;
}

nav.navbar a {
	color: #fff !important;
	font-size: 16px;
	cursor: pointer;
}

nav.navbar a:hover {
	color: #1976D2;
}

nav .navbar-brand span {
	color: #fff !important;
}

nav p {
	padding: 15px 10px 0 0;
}

nav p>a {
	padding: 0 0 0 10px;
	cursor: pointer;
}

nav>div {
	background-color: #1976D2;
}


/* search */

nav .form-control {
	width: 400px;
	background: url("../images/search.svg") no-repeat scroll right;
	background-color: #0D47A1;
	padding-left: 10px;
	border: none;
	border-radius: 0px;
}

nav .form-control:focus {
	width: 300px;
	background-color: #0D47A1;
	padding-left: 10px;
	text-align: left;
	color: #fff;
}


/*dropdowns */

li.dropdown:hover>.dropdown-menu {
	display: block;
}

.dropdown-menu {
	background: #1976D2;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
}

.dropdown-menu a:hover {
	color: #fff !important;
	background-color: #1976D2;
	cursor: pointer;
}

.dropdown-menu a.active {
	color: #666 !important;
	background: white;
}


/* search dropdown */

.ui-menu .ui-menu-item:first-of-type {
	padding-top: 8px;
	width: 50%;
	background: white;
	list-style: none;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.3);
}


/*button styles */

.btn {
	font-size: 14px;
	font-family: "Roboto", sans-serif;
	position: relative;
	color: #fff;
	background: #1976D2;
	border: 0;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.3);
	transition: all 200ms ease-in-out;
	cursor: pointer;
	overflow: hidden;
	text-transform: uppercase;
	border-radius: 0;
}


/* popular section images */

#popularHeader img {
	max-height: 150px;
	margin: auto;
	display: block;
	min-width: 250px;
}


/* sections weather and tabs for different categories */

section {
	background: #FFF none repeat scroll 0% 0%;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
	margin-bottom: 30px;
	color: #666;
}


/* sort by dropdown */

div.sort-by {
	display: block;
	margin: auto;
	float: right;
	margin-top: 2%;
	margin-left: 10%;
}


/* section images*/

section .row img {
	height: 150px;
	min-width: 250px;
	margin: auto;
	display: block;
}

section .btn {
	margin-bottom: 40px;
}

section>div>div {
	text-align: center;
}

#categoryArticles .sort-by-div {
	float: right;
	margin-top: 2.5%;
	margin-right: 8%;
}

#categoryArticles .sort-by-div>#sortBySelect {
	width: 150px;
	background: white;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
	transform: translateY(0%);
	transition: all 0.3s cubic-bezier(0.17, 0.67, 0, 1);
}

#categoryArticles .ui-tabs-nav {
	border-bottom: 2px solid #DDD;
	margin-bottom: 3%;
}


/* tabs section  */

.ui-tabs-nav li {
	display: inline-block;
	float: none;
	top: 0;
	margin-top: 3%;
	height: 50px;
	padding-bottom: 0;
	width: 120px;
	text-align: center;
	font-size: 14px;
}

.ui-tabs-nav li a {
	border: none;
	color: #666;
	text-decoration: none;
	border: none;
	color: #666;
	text-decoration: none;
}

.ui-tabs-active a {
	color: #1976D2 !important;
	background: transparent;
	text-decoration: none;
}

#articleImg {
	max-width: 200px;
	margin: auto;
	display: block;
	padding: 15px 0 15px 0;
}


/* weather application */

#temp {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 0.85rem 1.5rem;
}

header {
	position: relative;
	width: 100%;
	overflow-y: hidden;
	color: #666;
	padding-top: 70px;
	min-height: 50px;
}

#temp label {
	cursor: pointer;
	display: flex;
	flex-direction: row;
	margin-left: auto;
}

#temp label input {
	display: none;
}

#temp label input:not(:checked)+p,
#temp label input:checked+p+p {
	opacity: 1 !important;
	box-shadow: 1px 2px 3px rgba(120, 120, 120, 0.5);
}

#temp label p {
	background: #1976D2;
	opacity: 0.25;
	display: block;
	width: 2rem;
	height: 1.25rem;
	text-align: center;
	color: white;
	line-height: 1.25rem;
}

#temp label p:first-of-type {
	margin-right: auto;
	border-radius: 34px 0 0 34px;
}

#temp label p:last-of-type {
	margin-left: auto;
	border-radius: 0 34px 34px 0;
}

.wi {
	color: #1976D2;
}

footer .wi {
	color: #fff;
}

section .wi {
	font-size: 5rem;
}

section i {
	display: block;
	width: 100%;
	text-align: center;
	margin-bottom: 10px;
}

article .wi {
	font-size: 1.75rem;
	margin-top: 45px;
}

.degree {
	font-family: "Roboto", sans-serif;
	position: relative;
}

.degree::after {
	content: '°';
	position: absolute;
	top: -0.2rem;
	left: auto;
	color: #666;
}


/*weather application footer */

#weather-footer {
	display: flex;
	flex-direction: row;
	background: #1976D2;
	margin: auto 0 0 0;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
	height: 200px;
}

#weather-footer article {
	width: 19%;
	margin-right: 1%;
	display: block;
}

#weather-footer article i {
	display: block;
	width: 100%;
	text-align: center;
	margin-bottom: 10px;
}

#weather-footer article p {
	width: 100%;
	text-align: center;
}

#weather-footer article span.hour {
	text-align: center;
	width: 100%;
	display: block;
	color: #fff;
	font-weight: lighter;
}


/*overall website footer */

footer {
	background-color: #1976D2;
	color: #fff;
	padding: 10px 0 10px 0;
	text-align: center;
	height: 40px;
	position: relative;
	font-size: 18px;
}


/*responsive styling */

@media (max-width: 768px) {
	li.nav-item {
		padding: 10px 10px 10px 10px;
	}
	.navbar-collapse p,
	.navbar-collapse button,
	.navbar-collapse div {
		margin-left: 23px;
	}
	.row h6 {
		text-align: center;
	}
	.col img {
		width: 250px !important;
	}
	section .row img {
		display: flex;
	}
}

@media (min-width: 768px) {
	.view-more-btn {
		min-width: 100%;
	}
	.see-more-btn {
		min-width: 100%;
	}
}