/*
	Theme Name: mariannekarlsmose
	Author: mariannekarlsmose
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: 'Open Sans', sans-serif;
	color:#000;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
.flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.wrap {
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.column {
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
}

.center {
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.j-end {
	-webkit-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
}

.end {
	-webkit-box-align: end;
	    -ms-flex-align: end;
	        align-items: flex-end;
}

.baseline {
	-webkit-box-align: baseline;
	    -ms-flex-align: baseline;
	        align-items: baseline;
}

.j-center {
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

.between {
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1200px;
	width:100%;
	margin:0 auto;
	padding: 0 10px;
	position:relative;
}
/* header */
.header {
	background: #C1D3BD;
	padding: 20px 0;
}
/* logo */
.logo {

}
.logo-img {
	max-width: 200px;
}

.logo-text h2{
	color:  #000;
	font-size: clamp(21px, 3vw, 28px);
	margin: 20px 0 0;
}
/* nav */
.nav {
	display: none;
}
/* sidebar */
.page-banner {
  margin: 0;
}

.page-banner__inner {
  position: relative;
}

.page-banner__image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 250px;
    object-fit: cover;
    object-position: left;
}

.page-banner__text {
    position: absolute;
    top: 30%;
    left: 15px;
    color: #000;
    font-size: 17px;
    max-width: 160px;
    font-weight: 700;
    line-height: 1.25;
    font-style: italic;
}

/* image-text */
.image-text-layout {
  margin: 60px 0;
  color: #00583C;
}

.image-text-layout__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}

/* Mobile: always text first, image second */
.image-text-layout__content {
  order: 1;
}

.image-text-layout__image {
  order: 2;
}

.image-text-layout__image,
.image-text-layout__content {
  min-width: 0;
}

.image-text-layout__image {
  height: 100%;
}

.image-text-layout__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-text-layout__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.image-text-layout__content h2 {
  margin: 0 0 16px;
  font-size: clamp(19px, 1.2vw + 14px, 24px);
  line-height: 1.2;
}

.image-text-layout__text {
  font-size: 14px;
  line-height: 21px;
}

.image-text-layout__text > *:first-child {
  margin-top: 0;
}

.image-text-layout__text > *:last-child {
  margin-bottom: 0;
}

.image-text-layout__text p,
.image-text-layout__text li,
.image-text-layout__text a,
.image-text-layout__text span {
  font-size: 14px;
  line-height: 21px;
}
.image-text-layout__text ol {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  counter-reset: custom-counter;
}

.image-text-layout__text ol li {
  counter-increment: custom-counter;
  position: relative;
  padding-left: 40px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 21px;
}

.image-text-layout__text ol li:last-child {
  margin-bottom: 0;
}

.image-text-layout__text ol li::before {
  content: counter(custom-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border: 1px solid #006b52;
  border-radius: 50%;
  color: #006b52;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  font-weight: 400;
}

/* 3 cols */
.three-columns-section {
  margin: 40px 0;
}

.three-columns-section__headline{
	text-align: center;
}

.three-columns-section__headline h2{
	color: #00583C;
    margin: 0 0 16px;
    font-size: clamp(19px, 1.2vw + 14px, 24px);
    line-height: 1.2;
}

.three-columns-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: three-columns-counter;
}

.three-columns-section__item {
  position: relative;
  padding: 52px 24px 24px;
  min-width: 0;
  counter-increment: three-columns-counter;
}

.three-columns-section__item::before {
  content: counter(three-columns-counter);
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #00583C;
  color: #00583C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  background: #fff;
}
.three-columns-section.hide-digits .three-columns-section__item::before {
  display: none;
}
.three-columns-section__item h3 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.25;
}

.three-columns-section__text {
  font-size: 14px;
  line-height: 1.6;
}

.three-columns-section__text > *:first-child {
  margin-top: 0;
}

.three-columns-section__text > *:last-child {
  margin-bottom: 0;
}
.three-columns-section__text ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.three-columns-section__text ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 21px;
}

.three-columns-section__text ul li:last-child {
  margin-bottom: 0;
}

.three-columns-section__text ul li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 12px;
  height: 16px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  border-radius: 2px;
}
/* footer */
.footer {
	background: #C1D3BD;
    padding: 20px 0;
	text-align: center;
}



/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/




/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {
	.header .column{
		flex-direction: row;
	}
	.logo-text h2{
		margin: 0;
	}
}
@media only screen and (min-width:768px) {
	.logo-img {
		max-width: 250px;
	}
	  .page-banner__text {
        left: 20px;
        max-width: 195px;
  }
  .page-banner__text {
	font-size: 21px;
  }
   .image-text-layout__inner {
    gap: 48px;
  }

  .image-text-layout.ratio_50_50 .image-text-layout__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .image-text-layout.ratio_30_70 .image-text-layout__inner {
    grid-template-columns: minmax(0, 30%) minmax(0, 70%);
  }

  .image-text-layout.ratio_70_30 .image-text-layout__inner {
    grid-template-columns: minmax(0, 70%) minmax(0, 30%);
  }

  .image-text-layout.image_left .image-text-layout__image {
    order: 1;
    height: 100%;
  }

  .image-text-layout.image_left .image-text-layout__content {
    order: 2;
  }

  .image-text-layout.image_right .image-text-layout__content {
    order: 1;
  }

  .image-text-layout.image_right .image-text-layout__image {
    order: 2;
    height: 100%;
  }
   .three-columns-section__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media only screen and (min-width:1024px) {
    .page-banner__text {
        font-size: 24px;
		max-width: 230px;
    }
}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1200px) {
    .page-banner__text {
		left: 40px;
        font-size: 30px;
		max-width: 300px;
    }
}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}
@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-SemiboldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
}
/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
