/*
Theme Name: eittkreativttema
Theme URI: http://wordpress.org/themes/twentythirteen
Author: Sp/f Krea
Author URI: https://krea.fo
Description: A custom theme for Krea websites
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kreativ
*/

/*
===============================
===============================
==== BEGIN: STANDARD STUFF ====
===============================
===============================
*/

/*========== HTML SETTINGS ==========*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/*========== THE BODY ==========*/
body {
	font-family: "Magistral", "Helvetica Neue", helvetica, arial, sans-serif;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
 /*========== STICKY FOOTER ==========*/
.flex-page {
	flex: 1 0 auto;
}

/*========== CONTAINER ==========*/
.container {
	max-width: 1300px;
	width: calc(100vw - 2em);
	margin: 0 auto;
}

/*========== SOME DEFAULT STYLING ==========*/
p {
	font-weight: 300;
	margin-bottom: 1rem;
}

a {
	color: #046BE3;
	text-decoration: none;
}

ul {
	list-style: none;
	padding: 0;
}
.wp-video {
	width: 640px!important;
}


/*========== HEADER STYLING ==========*/
.navbar {
	display: flex;
	justify-content: space-between;
	padding: 13px 0;
	border-bottom: 3px solid #8A1F39;
}
.navbar-brand {
	display: flex;
	align-items: flex-end;
	flex: 4;
}
.logo {
	height: 130px;
}
.navbar-brand h1 {
	font-size: 20px;
	color: #8A1F39;
	padding-bottom: 20px;
}
.icons-container {
	display: -webkit-flex;
	display: flex;
    justify-content: space-evenly;
    -webkit-justify-content: space-evenly;
    align-items: flex-end;
    padding-bottom: 20px;
    flex: 3;
}
.icon-holder {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.icon-holder p {
	color: #8A1F39;
	font-size: 17px;
	margin: 0 0 0 12px;
}
.icon {
	width: 25px;
	height: 25px;
}
.icons-container > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
}
.header-cart,
a.header-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	color: #8A1F39;
}
.header-cart-count,
a.header-cart .header-cart-count {
	position: absolute;
	top: -8px;
	right: -8px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 50%;
	background: none;
	color: #8A1F39;
	font-size: 11px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}

.navigation {
	background-color: #fff;
	position: absolute;
    left: 50%;
	transform: translateX(-50%);
	display: none;
	width: 1300px;
	z-index: 1000;
}
.menu-open {
	display: block;
}
.navbar-nav {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 20px 0;
}
.navbar-nav li {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-left: 1px solid #8A1F39;
	padding: 0 31px;
	flex: 1;
}
.navbar-nav li:last-child {
	border-right: 1px solid #8A1F39; 
}
.navbar-nav li a {
	color: #8A1F39;
}

.sub-menu {
	display: block;
	padding-left: 0;
	padding-right: 0;
	margin: 0;
	list-style: none;
	padding-top: 20px;
}
.sub-menu li {
	position: relative;
	padding: 5px 0;
	border: none!important;
}
.sub-menu li a {
	text-decoration: none;
	font-weight: 300;
	text-transform: none;
}


/*========== CRELLY SLIDER ==========*/
@media screen and (min-width: 901px) {
	.crellyslider {
		height: 480px!important;
	}
}


/*========== MID SECTION ==========*/
.mid-section {
	margin-top: 45px;
	margin-bottom: 45px;
}
.mid-wrap {
	display: flex;
	justify-content: space-between;
}
.news-section {
	flex-grow: 1;
}
.front-title {
	font-size: 20px;
	font-weight: 500;
	color: #8A1F39;
	margin-bottom: 10px;
	display: block;
}
.articles {
	display: flex;
	justify-content: space-between;
	padding-right: 50px;
}
.article {
	border: 1px solid rgba(39, 39, 39, 0.18);
	width: 280px;
}
.article img {
	width: 280px;
	height: 180px;
	object-fit: contain;
	margin-bottom: 15px;
}
.article p {
	text-align: center;
	font-size: 18px;
	color: #8A1F39;
}
.read-more {
	text-transform: uppercase;
	font-size: 15px!important;
	color: #272727!important;
	text-align: right!important;
	opacity: 0.4;
	margin-right: 1rem;
}


/*========== FRONTPAGE EVENT STYLING ==========*/
.events {
	border: solid 1px rgba(39, 39, 39, 0.18);
}
.event p {
	margin: 0;
}
.event {
	display: flex;
	align-items: center;
}
.event-date {
	padding-right: 30px;
	padding: 10px 25px 10px 25px;
	border-right: solid 1px rgba(39, 39, 39, 0.18);
}
.events .event:first-child .event-date {
	padding: 25px 25px 10px 25px;
}
.events .event:last-child .event-date {
	padding: 10px 25px 25px 25px;
}
.event-day {
	background: rgba(39, 39, 39, 0.42);
    color: #fff;
    font-size: 18px;
    width: 50px;
    height: 31px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.event-month {
	background: #8A1F39;
	color: #fff;
	font-size: 18px;
	text-transform: uppercase;
	width: 50px;
    height: 31px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.event-name {
	font-size: 15px;
	color: rgba(39, 39, 39, 0.42);
	padding: 0 20px!important;
	margin: 0 auto!important;
}


/*========== SIDE NAV STYLING ==========*/
.submenu-holder-pages {
	display: inline-block;
}
.submenu-holder-pages li:first-child {
	padding: 0 0 10px 0!important;
}
.submenu-holder-pages li:last-child {
	border: none;
}
.submenu-holder-pages li {
	padding: 10px 0;
	border-bottom: solid 1px rgba(39, 39, 39, 0.12);
	font-size: 16px;
}
.submenu-holder-pages li a {
	color: #8A1F39;
}
.submenu-holder-pages .current-menu-item {
	font-weight: 700;
}


/*========== PAGE STYLING ==========*/
.page-content {
	margin-top: 50px;
	display: flex;
	font-family: "Helvetica Neue";
}
.side-nav {
	flex: 1;
}
.entry-content {
	flex: 5;
}
.page-title {
	font-size: 20px;
	font-weight: 700;
	color: #8A1F39;
	margin-bottom: 1rem;
}
.innihald p {
	font-weight: 400;
}


/*========== INDEX STYLING ==========*/
.index-side-nav {
	flex: 1;
}
.index-side-nav p {
	margin: 0 50px 0 0;
	padding: 10px 0;
	border-bottom: solid 1px rgba(39, 39, 39, 0.12);
	font-size: 16px;
	font-weight: 400;
}
.index-side-nav a {
	color: #8A1F39;
}

.index-innihald {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
}
.index-innihald p {
	font-weight: 400;
}
.blog-post-content {
	margin-right: 20px;
	width: 100%;
	line-height: 1.4;
}
.post-thumb img {
	width: 500px;
	height: 400px;
	object-fit: contain;
}
.blog-post-title {
	font-size: 20px;
	color: #8A1F39;
	font-weight: 600;
}
.blog-post-meta {
	color: rgba(39, 39, 39, 0.42);
	font-size: 12px;
}
.index-entry-content {
	margin-top: 50px;
}
.more-posts-button {
	margin-top: 30px;
}
.more-posts {
	padding: 8px;
    border: 1px solid rgba(138, 31, 57, 0.3);
    border-radius: 8px;
	transition: all 0.5s ease-in-out;
}
.more-posts:hover {
	color: #fff!important;
	background: #8A1F39;
}
.blog-post {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	margin-bottom: 40px;
}
.index-post-thumb img {
	width: 280px;
	height: 170px;
	object-fit: cover;
	object-position: top;
}
.index-blog-post-content {
	margin-right: 20px;
}


/*========== EVENT STYLING ==========*/
.event-details h3 {
	color: #8A1F39;
    font-size: 18px;
    font-weight: 400;
}
.event-details p {
	margin: 0;
}


/*========== PAGE NAV ==========*/
.page-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 50px;
}
.page-nav .current {
	font-weight: 400;
	text-decoration: underline;
}
.page-nav .page-numbers {
	padding: 0 5px;
	font-size: 20px;
}
.page-numbers {
	color: #707070;
}
.page-nav .prev,
.page-nav .next {
	font-size: 35px;
	font-weight: 300;
	opacity: 0.7;
}


/*========== LEITA ==========*/
.search-form-container {
	margin-top: 50px;
}
.justify-content-center {
	display: flex;
	justify-content: center;
}
.search-form {
	display: flex;
    flex-direction: column;
    align-items: center;
}
.search-header {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 20px;
	color: #8A1F39;
}
#s {
	border: solid 1px #8A1F39;
    font-size: 14px;
    padding: 5px 10px;
    width: 250px;
    border-radius: 12px;
}
#leita {
	background: #8A1F39;
    color: #fff;
    padding: 5px 16px;
    border-radius: 12px;
    font-size: 15px;
}


/*========== NEVND STYLING ==========*/
.staff-item {
	display: flex;
	margin-bottom: 50px;
}
.staff-image img {
	width: 220px;
    height: 180px;
    object-fit: contain;
}
.staff-title {
	color: #8A1F39;
    font-size: 18px;
}
.nevnd-content {
	margin-left: 20px;
    display: flex;
	align-items: center;
	line-height: 1.4;
}


/*========== FOOTER STYLING ==========*/
footer {
	background: #8A1F39;
	padding: 10px 0 16px 0;
	font-size: 13px;
	color: #fff;
	font-weight: 300;
}
@media screen and (min-width: 900px) {
	footer {
		margin-top: 50px;
	}
}
.my-footer {
	display: flex;
	justify-content: space-between;
}
.my-footer p {
	margin: 0;
}
#copyright {
	flex: 1;
}
#contact {
	display: flex;
	justify-content: space-between;
	flex: 3;
}
#creator {
	flex: 1;
	text-align: right;
}
#krea a {
	color: #fff;
}

.the-mobile-footer {
	display: none;
}
.mobile-logo-text {
	display: none;
}
.mobile-mid-section {
	display: none;
}

.gallery-item {
	text-align: left!important;
}


/*========== MOBILE RESPONSIVENESS ==========*/
@media screen and (max-width: 900px) {
	.hide-mobile {
		display: none!important;
	}
	.gallery-item {
		width: 50%!important;
		text-align: center!important;
	}

	/*=== NAVMENU ===*/
	.navigation {
		width: 100vw;
	}
	.navbar {
		padding: 13px 0 13px 1rem;
		border-bottom: 2px solid #8A1F39;
		margin-left: -1rem;
		width: 100vw;
	}
	.navbar-nav {
		flex-direction: column;
	}
	.navbar-nav li {
		border: none;
		border-right: none!important;
		border-bottom: solid 1px rgba(39, 39, 39, 0.18);
		font-size: 20px;
		font-weight: 500;
		padding: 6px 31px;
	}
	.menu-item-has-children > a:after {
		font-family: dashicons;
		content: "\f347";
		vertical-align: middle;
		color: #8A1F39;
		opacity: 0.5;
	}
	.sub-menu {
		display: none;
		padding-top: 0;
		margin: 0 -31px;
	}
	.sub-menu li {
		font-size: 20px;
		border-top: solid 1px rgba(39, 39, 39, 0.18)!important;
		padding: 6px 62px;
	}
	.sub-menu li:first-child {
		border-top: solid 3px rgba(39, 39, 39, 0.18)!important;
	}
	.sub-menu li a {
		color: #383838;
	}
	.clicked {
		display: block;
	}

	.navbar-brand {
		flex: 2;
	}
	.logo {
		height: 78px;
	}
	.mobile-logo-text {
		display: block;
	}

	.mobile-mid-section {
		margin-top: 70px;
		display: block;
	}
	.mobile-mid-section-bg {
		background: rgba(39, 39, 39, 0.18);
		border-radius: 19px;
		display: flex;
	}
	.mobile-mid-section-bg a:first-child {
		border-right: solid 1px rgba(39, 39, 39, 0.26);
	}
	.front-title {
		margin: 0;
		padding: 6px 0;
		text-align: center;
		flex: 1;
	}

	/*=== SLIDER ===*/
	.crellyslider {
		width: 100vw!important;
		margin-left: -1rem!important;
		height: 250px!important;
	}
	.cs-slide {
		width: 100vw!important;
		height: 250px!important;
	}

	/*=== PAGE ===*/
	.page-content {
		flex-direction: column;
	}
	.side-nav {
		margin-bottom: 20px;
		display: none;
	}
	.submenu-holder-pages {
		display: block;
	}
	.staff-item {
		flex-direction: column;
	}
	.nevnd-content {
		margin-left: 0;
		margin-top: 10px;
	}

	/*=== INDEX ===*/
	.blog-post {
		border: 1px solid rgba(39, 39, 39, 0.18);
	}
	.index-post-thumb {
		height: 70px;
	}
	.index-post-thumb img {
		width: 120px;
		height: 70px;
	}
	.index-blog-post-content {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-end;
		padding-left: 20px;
	}
	.index-blog-post-content p {
		display: none;
	}
	.index-blog-post-content a {
		font-weight: 400!important;
	}
	.blog-post-meta {
		display: block!important;
	}

	/*=== SINGLE ===*/
	.index-innihald {
		flex-direction: column;
	}
	.index-side-nav {
		margin-bottom: 40px;
		display: none;
	}
	.post-thumb img {
		width: 100vw;
		height: 250px;
		margin-left: -1rem;
	}

	/*=== KALENDARI ===*/
	.event-section {
		max-width: 1300px;
	    width: calc(100vw - 2em);
	    margin: 0 auto;
	}
	.events {
		border: none;
	}
	.event {
		border: 1px solid rgba(39, 39, 39, 0.18)!important;
		padding: 0!important;
		flex-direction: row-reverse;
		margin-bottom: 20px;
		justify-content: space-between;
	}
	.event-date {
		padding: 0!important;
	}
	.event-name {
		color: #8A1F39;
	}


	footer {
		background: rgba(39, 39, 39, 0.18);
		padding: 5px 0 10px 0;
		font-size: 11px;
	}
	.the-mobile-footer {
		display: block;
		margin-bottom: 6px;
		margin-top: 40px;
	}
	.mobile-footer-contact {
		text-align: center;
		margin-bottom: 6px;
	}
	.mobile-footer-contact p {
		font-size: 13px;
		margin: 0;
	}
	.mobile-footer-icons {
		display: flex;
		justify-content: space-between;
	}
}
