/*
Theme Name:   hife-theme
Theme URI:    
Description:  Cindy child theme for hife
Author:       ITS
Author URI:   
Template:     cindy
Version: 1.15
Text domain:  hife_theme
*/
:root {
	--header-width-medium: 250px;
	--header-width-large: 350px;
	--layout_width_entry_content: 1600px;
	--typography_heading_size_1: 2.25rem;
	--typography_heading_size_2: 2rem;
	--typography_heading_size_3: 1.75rem;
	--typography_heading_size_4: 1.5rem;
	--typography_heading_size_5: 1.25rem;
	--typography_heading_size_6: 1rem;
}

.home {
	--content_padding: 0;
}

body {
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
}

#masthead::-webkit-scrollbar {
	display: none;
}

@media (min-width: 768px) {
	#page {
		display: block;
	}
}

#masthead {
	background: #5052ff;
	left: 0;
	position: fixed;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	-ms-overflow-style: none; /* IE and Edge */
	scrollbar-width: none; /* Firefox */
	width: 0;
}

#masthead li.lang-item {
	margin-top: 1.5rem;
}

#masthead li.lang-item a {
	border-bottom: none;
}

.entry-content .wp-block-file sup,
.entry-content .wp-block-heading sup {
	font-size: 25%;
	vertical-align: baseline;
	position: relative;
	top: -2.2em;
}
.entry-content .wp-block-file sup {
	font-size: 40%;
	top: -1.2em;
}

.entry-content .wp-block-file a {
	color: #337ab7;
	text-decoration: none;
	font-family: "Montserrat", sans-serif;
	font-size: 1rem;
}

.entry-content .wp-block-file a:hover,
a:focus {
	color: #23527c;
	text-decoration: underline;
	outline: 0;
}

.entry-meta-item.cat-links {
	display: none;
}

@media (min-width: 1441px) {
	#masthead {
		width: var(--header-width-large);
	}
}

@media (min-width: 768px) and (max-width: 1440px) {
	#masthead {
		width: var(--header-width-medium);
	}
}

@media (min-width: 800px) {
	#masthead::after {
		content: "";
		background: url("images/logo_white.png");
		background-repeat: no-repeat;
		opacity: 0.1;
		top: 150px;
		left: 0;
		bottom: 0;
		right: 0;
		position: absolute;
		z-index: 1;
		background-size: contain;
		width: 700px;
		height: 700px;
	}
}

@media (max-width: 767px) {
	#content {
		padding-left: 30px;
		padding-right: 30px;
	}
}

@media (min-width: 768px) and (max-width: 1440px) {
	#content {
		padding-left: 30px;
		padding-right: 30px;
		margin-left: var(--header-width-medium);
	}
}

@media (min-width: 1441px) {
	#content {
		padding-left: 30px;
		padding-right: 30px;
		margin-left: var(--header-width-large);
	}
}

@media (min-width: 768px) {
	#menu-primary {
		display: flex;
		flex-direction: column;
	}
}

@media (min-width: 768px) {
	#menu-primary a {
		border-bottom: 1px solid #6262ff;
		text-align: center;
		vertical-align: middle;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		font-size: 12px;
		width: 100%;
		margin: 0px;
		padding-left: 10px;
		padding-right: 10px;
		padding-top: 15px;
		padding-bottom: 10px;
		z-index: 2;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	#menu-primary li {
		margin: 0px;
		padding-left: 0px;
		padding-right: 0px;
		padding-top: 0px;
		padding-bottom: 0px;
	}
}

@media (min-width: 1025px) {
	#menu-primary li {
		margin: 0px;
		padding-left: 0px;
		padding-right: 0px;
		padding-top: 0px;
		padding-bottom: 0px;
		min-width: 18vw;
	}
}

#menu-primary li :hover {
	background-color: rgba(0, 0, 0, 0.1);
}

.is-choosen-in-menu {
	background-color: rgba(0, 0, 0, 0.2);
}

.main-navigation a:before {
	display: none;
}

.main-navigation-section {
	background: var(--color_navigation_background);
	color: var(--color_navigation_text);
	border-bottom: none;
	border-color: var(--color_navigation_border);
}

.site-header-section {
	position: relative;
	background: var(--color_header_background);
}

.page-header {
	margin-bottom: 20px;
}

@media (max-width: 1400px) {
	:root .is-layout-flex {
		display: flex;
		flex-direction: column;
	}
}

.menu-primary > li > a {
	padding-top: 0;
	padding-bottom: 0;
}

.app iframe {
	width: 100%;
	height: 100%;
	border: none;
}

#page .app-content {
	padding-left: 0px;
	padding-right: 0px;
}

#page .app-content .app-content-area {
	max-width: 100%;
	padding: 0 0;
	margin: 0 0;
}

/* Ladda Hem */

.hife-download-program-agreement-accept-terms {
	padding: 0.75rem 1.25rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: 0.25rem;
	background-color: #eee;
	border-color: #bcdff1;
	color: #31708f;
	padding-top: 2.25rem;
	display: none;
}

.text-center {
	text-align: center;
	margin-top: 1rem;
}

a.disabled {
	cursor: not-allowed;
}

.entry-content .wp-block-file {
	border: none;
	margin-bottom: calc(var(--typography_size_html) * 0.618);
	width: 500px;
	justify-content: flex-start;
	font-size: 20px;
	color: red;
}

.margin-bottom-sm {
	margin-bottom: 0.313rem;
}

figcaption {
	text-align: left;
}

.image-for-file {
	grid-template-columns: 6% auto !important;
}

.image-for-file div.wp-block-media-text__content {
	padding: 0;
}

.image-for-file figure img {
	object-fit: contain;
}

.menu-download-flags img {
	margin-left: 4px;
	margin-right: 0;
	height: 20px;
	vertical-align: middle;
}

.post .entry-meta {
	display: none;
}
