/*
Theme Name: NOVA Elkonsult AB
Theme URI: https://www.novaelkonsult.se
Author: Jonas Elgblad
Author URI: https://www.novaelkonsult.se
Description: NOVA Elkonsult AB Wordpress Theme
Version: 1.2.6
Text Domain: novaelkonsult
*/

@import url('https://fonts.googleapis.com/css?family=Merriweather&display=swap');
html, body {
	height: 100%;
	font-family: "Source Sans Pro", sans-serif;
}

body {
	display: flex;
	flex-direction: column;
	font-size: 0.9rem;
}

p {
	font-family: Merriweather, serif;
	/* font-size: 1.0rem; */
	line-height: 1.8;
	letter-spacing: -.003em;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	font-weight: 100;
}

.h5, h5 {
	font-size: 1.1rem;
}

h3, h5 {
	font-weight: 500;
	color: #000000;
}

.h6, h6 {
	font-size: 0.85rem;
}

hr {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.header {
	background: #8cc640;
	color: #fff;
}

.novaelkonsult-header {
	margin-bottom: 1.5em;
}

.footer {
	width: 100%;
	margin: auto auto 0 auto;
	/* margin-top: 25px; */
	padding: 1em;
	/* background-color: #fafafa; */
	/* background-color: #8cc640; */
	/* color: #fff; */
	font-size: 0.95rem;
	border-top: 1px solid #8cc640;
}

.footer .footer-copyright {
	margin-top: 8px;
	font-size: 0.75em;
	text-align: center;
}

nav.main-nav {
	/* border: 1px solid #8cc640;
	border-left: 0;
	border-right: 0; */
	text-transform: uppercase;
	font-size: 0.95rem;
	padding: 0;
}

nav.main-nav .navbar-nav .nav-link {
	/* font-weight: bold; */
	color: #555555;
	padding: 0.5rem 1rem;
}

nav.main-nav .navbar-toggler {
	width: 100%;
}

h1.page-title {
	margin-top: 0.5rem;
	margin-bottom: 1.5rem;
	/* font-weight: bold; */
	color: #5a5a5a;
	/* text-transform: uppercase; */
	font-size: 2rem;
}

/* Hometitle */

.hometitle {
	display: block;
	text-align: center;
	margin-bottom: 2em;
}

.hometitle span {
	background-color: white;
	position: relative;
	z-index: 9;
	display: inline-block;
	padding: 0 2em;
	text-transform: uppercase;
	font-size: 1em;
	line-height: 1.25em;
}

.hometitle span a {
	color: #555;
}

.hometitle:after {
	content: "";
	display: block;
	position: relative;
	margin-top: -0.75em;
	margin-bottom: 1.25em;
	border-top: 1px solid #777;
}

@media only screen and (max-width: 500px) {
	.hometitle span {
		padding: 0 1em;
	}
}

@media only screen and (max-width: 400px) {
	.hometitle span {
		padding: 0 0.5em;
	}
}

.grid.projects-grid .grid-item,
.grid.contacts-grid .grid-item {
	width: 100%;
}

@media (min-width: 576px) {
	.grid.contacts-grid .grid-item {
		width: 50%;
	}
}

@media (min-width: 768px) {
	.grid.projects-grid .grid-item,
	.grid.contacts-grid .grid-item {
		width: 350px;
	}
}

@media (min-width: 992px) {
	.grid.projects-grid .grid-item,
	.grid.contacts-grid .grid-item {
		width: 315px;
	}
}

@media (min-width: 1200px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl {
		max-width: 1000px;
	}
	.grid.projects-grid .grid-item,
	.grid.contacts-grid .grid-item {
		width: 330px;
	}
}

.grid.projects-grid,
.grid.contacts-grid {
	margin: 0 -10px;
}

.grid.projects-grid .grid-item,
.grid.contacts-grid .grid-item {
	padding: 10px;
}

a.project-index-project-link {
	color: inherit;
}

a.project-index-project-link:hover {
	text-decoration: unset;
}

a.project-index-project-link:hover {
	text-decoration: unset;
}

a.project-index-project-link .card-link {
	color: #007bff;
}

a.project-index-project-link:hover .card-link {
	text-decoration: underline;
}

.card.card-project, .card.card-contact {
	border: none;
	border-bottom: 2px solid transparent;
	/* border-bottom: 2px solid #8cc640; */
	/* box-shadow: 5px 5px 10px rgba(0,0,0,0.10); */
	transition: all ease-in-out 0.2s;
	/* margin-bottom: 15px; */
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.card.card-project:hover {
	border-bottom: 2px solid #8cc640;
	/* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); */
}

a.card.card-project, a.card.card-project:hover {
	color: inherit;
	text-decoration: inherit;
}

a.card.card-project .card-body {
	padding: 1.25rem 0.75rem;
}

a.card.card-project span.card-link {
	color: #2780E3;
}

.card.card-project .card-text, .card.card-contact .card-text {
	font-size: 0.9em;
}

.card.card-project .card-subtitle, .card.card-contact .card-subtitle {
	line-height: unset;
}