/*
Theme Name: Number Three One - Child
Theme URI: https://standoutmedia.dk/
Author: Standoutmedia A/S
Author URI: https://standoutmedia.dk/
Description: Et helt specielt Standoutmedia Tema
Template: number-three-one
Text Domain: number-three-child
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* ===== CSS Variables ===== */

:root {
    /* Font sizes */
    --h1: 35px;
    --h1-special: 32px;
    --h2: 35px;
    --h3: 25px;
    --h4: 18px;
    --h5: 22px;
    --h6: 14px;
    --p: 17px;

    /* Gaps */
    --gap-l: 70px;
    --gap-m: 40px;
    --gap-s: 20px;

    /* font families */
    --h-fam: 'Noto Serif JP', serif;
    --p-fam: 'Inter', sans-serif;
    --btn-fam: var(--p-fam);

    /* colors */
    --color-dark-blue: #004388;
    --color-blue: #76beea;
    --color-bg-blue: #cde3f7;
    --color-bg-grey: #f6f6f4;
    --color-text: #546670;
    --color-dark: #546670;
    --color-overlay: rgb(0 0 0 / 0%);

    /* transitions */
    --transition: .175s ease-out;

    /* Margin on the right and left of the main content sections (change 0 to 1 to match template distances)*/
    --content-margin: calc(0 * var(--gap-m));
    --slider-text-width: 800px;
    
    /* Theme defined variables from PHP */
    --content-width: initial;
    --sidebar-width: initial;
    /* END Theme defined variables from PHP */
}


/* ===== END CSS Variables ===== */


/*======================================================================//
// style.css                                                            //
//======================================================================*/

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-grey);
}

body #page {
    max-width: calc(var(--content-width) + calc(30px * 2));
    margin-inline: auto;
    background-color: #fff;
    padding-inline: 30px;
}

/* Mellemrubrik */
.entry-content > h4 {
    /* font-size: 18px; */
    font-family: var(--p-fam);
    font-weight: 700;
    line-height: 150%;
    margin-bottom: 0;
}


/* Intro text */
.entry-content > h5 {
    font-size: var(--h5);
    font-family: var(--p-fam);
    font-weight: 300;
    line-height: 140%;
    margin: 0 0 1.5em;
}

/* Sektioner */

.section-wrap.clear.basis {
    margin-top: 0;
    background-color: var(--color-bg-grey);
}

.section-wrap.clear.has-background {
    /* margin-inline: 30px; */
    padding-inline: var(--gap-l);
}

.section-wrap.clear.basis .section {
    /* max-width: 750px; */
    max-width: 600px;
    /* padding-block: var(--gap-l) calc(var(--gap-l) + 8px); */
}

.section-wrap.clear.gavekort {
    margin-top: 0;
    background-color: var(--color-dark-blue);
}

.section-wrap.clear.gavekort .section {
    max-width: 600px;
    padding-bottom: calc(var(--gap-l) + 8px);
}

.section-wrap.clear.gavekort .section > h2,
.section-wrap.clear.gavekort .section > h3 {
    color: var(--color-blue);
    margin-bottom: 30px;
}

.section-wrap.clear.gavekort .section > p {
    color: #fff;
}

/* .section-wrap.clear.gavekort .section > p + .stom-button {
    margin-bottom: 10px;
} */

.section-wrap.clear.gavekort .section > .stom-button a:hover {
    background-color: #fff;
    color: var(--color-blue);
}

.section-wrap.clear.guarantee-section .section {
    display: flex;
    justify-content: inherit;
    column-gap: 60px;
    /* justify-content: space-between; */
    padding-top: 0;
}

.section-wrap.clear.guarantee-section .section .content > h2 {
    margin-bottom: 30px;
}

.section-wrap.clear.guarantee-section .section:after {
    display: none;
}

.section-wrap.clear.guarantee-section .section .logo {
    position: relative;
    top: var(--gap-l);
    width: 375px;
}

.section-wrap.clear.guarantee-section .section .logo > .stom-custom-svg {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.section-wrap.clear.stom-grid-section .section .grid-elements .grid-element.grid-span-2 {
    grid-column: span 2;
}

.section-wrap.clear.stom-grid-section .section .grid-elements .grid-element .overlay {
    justify-content: flex-start;
    padding: var(--gap-l);
}

.section-wrap.clear.stom-billede-sektion {
    margin-top: 0;
}

.section-wrap.clear.stom-billede-sektion .section .stom-cols-6 {
    float: right;
    align-items: flex-start;
    /* min-height: 760px; */
    padding: 80px 80px 80px 100px;
	min-height: 450px;
}

.stom-billede-sektion .stom-picture {
    /* width: 48%; */
}

.stom-billede-sektion.picture-left .stom-cols-6 {
    padding-right: var(--gap-l);
}

.stom-billede-sektion.picture-left .stom-picture {
    /* left: 30px !important; */
}

/* Generel */
h1, h2, h3, h4, h5, h6 {
    /* font-weight: 900; */
    font-weight: 800;
}

.home h1 {
    font-size: var(--h1-special);
    font-family: var(--p-fam);
    font-weight: 600;
    color: var(--color-dark-blue);
    margin-bottom: 35px;
    letter-spacing: -.25px;
}

html, body, input, select, optgroup, textarea {
    font-weight: 300;
    line-height: 150%;
}

b, strong {
    font-weight: 700;
}

p {

}

p + .stom-button {
    margin-top: 5px;
}

.stom-button a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--color-blue);
    border-radius: 25rem;
    padding: 9px 24px;
    line-height: 1.75;
}

.stom-button a:hover,
.stom-button a:focus {
    background-color: var(--color-dark-blue);
}

.stom-button.white a {
    font-weight: 600;
    background-color: #fff;
    color: var(--color-blue);
}

.stom-button.white a:hover,
.stom-button.white a:focus {
    background-color: var(--color-dark-blue);
    color: #fff;
}

.stom-button a .stom-custom-svg {
    margin-right: .5em;
}

div.links > ul {
    padding-left: 0;
    margin-top: 3em;
    border-top: 1px solid var(--color-dark);
}

div.links > ul li {
    list-style-type: none;
    border-bottom: 1px solid var(--color-dark);
}

div.links > ul li:not(:last-of-type) {

}

div.links > ul li a {
    position: relative;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: var(--gap-s);
}

div.links > ul li a:hover {
    color: var(--color-blue);
    font-weight: 700;
}

div.links > ul li a:hover:after {
    -webkit-filter: invert(0%) sepia(62%) saturate(496%) hue-rotate(174deg) brightness(95%) contrast(92%);
    -moz-filter: invert(0%) sepia(62%) saturate(496%) hue-rotate(174deg) brightness(95%) contrast(92%);
    -ms-filter: invert(0%) sepia(62%) saturate(496%) hue-rotate(174deg) brightness(95%) contrast(92%);
    -o-filter: invert(0%) sepia(62%) saturate(496%) hue-rotate(174deg) brightness(95%) contrast(92%);
    filter: invert(0%) sepia(62%) saturate(496%) hue-rotate(174deg) brightness(95%) contrast(92%);
}

div.links > ul li a:after{
    display: inline-block;
    content: '';
    background-image: url('images/arrow-link.svg');
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 15px;
    margin-right: 15px;
    transition: var(--transition);
}

/* Logo + Menu */
.style-header-03 .header-inner {
    padding-top: 64px;
    transition: var(--transition);
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled .style-header-03 .header-inner {
    padding-top: 0;
}

.header-sticky-active .style-header-03 .header-inner {
    /* padding-top: 0; */
}

.style-header-03 .header-inner .section-wrap {
    margin-inline: 0;
    padding-inline: 0;
    background-color: transparent;
}

.site-branding #logo {
    padding: 20px 0;
}

.header-sticky-active.scrolled header .site-branding #logo {
    padding: 20px 0;
}

.site-branding #logo img, 
.site-branding #logo svg {
    /* max-width: 400px; */
    max-width: 370px;
    width: 400px;
    max-height: 55px;
}

header .main-navigation ul.menu a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text);
    padding: .7em .95em;
}

.hover-style-bold ul.menu li:hover > a, 
.hover-style-bold ul.menu li.focus > a, 
.hover-style-bold ul.menu .current-menu-item > a, 
.hover-style-bold ul.menu .current-menu-ancestor > a {
    font-weight: 500;
    color: var(--color-blue);
}

header .main-navigation ul.menu a .stom-menu-item-arrow {
    display: none;
    
    margin-left: .5em;
    opacity: 1;
    font-size: 12px;
}

#primary-menu li.menu-item-has-children ul.sub-menu li.menu-item a {
    font-size: 12px;
    width: 240px;
    text-align: left;
}

#primary-menu li.menu-item-has-children ul.sub-menu li.menu-item a .hidden-menu-item {
    justify-content: flex-start;
    padding: .7em 1.25em;
}

/* Header */
#masthead .stom-button a {
    line-height: 1.75; /* Skal muligvis rettes */
    background-color: var(--color-dark-blue);
    padding: 9px 24px;
}

#masthead .stom-button a:hover {
    background-color: var(--color-blue);
}

header#masthead {
    background-color: var(--color-bg-grey);
    transition: var(--transition);
}

.site-header .header-wrapper {
    background-color: #fff;
    max-width: calc(var(--content-width) + calc(30px * 2));
    margin-inline: auto;
    padding-inline: 30px;
    /* max-width: calc(var(--content-width) + calc(3 * var(--gap-m))); */
    /* padding-inline: 30px; */
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled #masthead {
    /* background-color: #fff; */
    box-shadow: none;
    border-bottom: 1px solid var(--color-bg-grey);
}

.page-slider-section,
.page-slider-section.main-slider-section {
    font-size: inherit;
    /* margin-inline: 30px; */
}

.page-slider-section .slider-text {
    /* padding-inline: var(--gap-l); */
    padding-inline: 0;
}

.page-slider-section .slider-text-inner {
    width: 100%;
}

.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
}

.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper > .slider-slogan {
    grid-column: 3;
    text-align: center;
}

.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper > .slider-slogan > p:first-of-type {
    line-height: 0;
}

.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper > .slider-slogan > p:first-of-type img {
    max-width: 251px;
    max-height: 251px;
}

/* Custom slider */
body:not(.home) .page-slider-section.page-slider-type-custom .slider-inner {
    grid-template-columns: repeat(3, 1fr);
}

body:not(.home) .page-slider-section.page-slider-type-custom .slider-inner > .slides {
    display: grid;
    grid-column: span 2;
}

body:not(.home) .page-slider-section.page-slider-type-custom .slider-inner > .slider-text {
    grid-column: 3;
    align-items: flex-end;
    background-color: var(--color-bg-grey);
    padding: var(--gap-m) var(--gap-l);
}

body:not(.home) .page-slider-section.page-slider-type-custom .slider-inner > .slider-text .slider-text-inner .slider-text-inner-wrapper > p strong {
    /* color: var(--color-blue); */
}

/* Frontpage */
.home #main-content {
    margin-top: 0;
}

.home .section-wrap.clear.basis {
    margin-top: 0;
}

.home .page-slider-section .slide-element .image-aligner > img {
    max-height: 490px;
}


.section-wrap.clear.intro-section {
    /* margin-inline: 30px; */
    margin-inline: 0;
}

.section-wrap.clear.intro-section .section { 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.section-wrap.clear.intro-section .section .clinic-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 35px;
    grid-column: span 2;
    background-color: var(--color-bg-grey);
    padding: var(--gap-l) var(--gap-m) calc(var(--gap-l) * 1.5) var(--gap-l);
}

.section-wrap.clear.intro-section .section .clinic-content .content {
    max-width: 595px;
}

.section-wrap.clear.intro-section .section .clinic-content .sune-logo {
    /* width: 180px;
    height: 180px;
    aspect-ratio: 1 / 1;
    border-radius: 50rem;
    background-color: #fff;
    align-self: flex-end; */
    align-self: flex-end;
    margin-bottom: -40px;
}

.section-wrap.clear.intro-section .section .clinic-content .sune-logo .stom-custom-svg {
    font-size: 180px;
}

.section-wrap.clear.intro-section .section .clinic-information {
    background-color: var(--color-dark-blue);
    padding: var(--gap-l);
}

.section-wrap.clear.intro-section .section .clinic-information > .entry-title strong {
    font-size: 21px;
    color: var(--color-blue);
}

.section-wrap.clear.intro-section .section .clinic-information > p:first-of-type strong {
    /* color: var(--color-blue); */
    font-weight: inherit;
}

.section-wrap.clear.intro-section .section .clinic-information > p a {
    text-decoration: none;
}

.section-wrap.clear.intro-section .section .clinic-information > p a:first-of-type {
	word-break: break-word;
}

.section-wrap.clear.intro-section .section .clinic-information > .aabningstider-list .entry-title strong {
    font-size: 21px;
    color: var(--color-blue);
}

.section-wrap.clear.intro-section .section .clinic-information > p .stom-button a {
    font-weight: 500;
    /* background-color: #fff; */
    /* color: var(--color-blue); */
}

.section-wrap.clear.intro-section .section .clinic-information > p .stom-button a:hover {
    background-color: #fff;
    color: var(--color-blue);
}

/* TOPBILLEDE - SKAL LAVES OM ? */
.section-wrap.clear.topbillede-section {
    margin-inline: 0;
}

.section-wrap.clear.topbillede-section .section {
    display: flex;
}

.section-wrap.clear.topbillede-section .section .clinic-cover {
    width: 100%;
    line-height: 0;
}

.section-wrap.clear.topbillede-section .section .clinic-information {
    min-width: 400px;
    background-color: var(--color-bg-grey);
    padding: var(--gap-l);
}

.section-wrap.clear.topbillede-section .section .clinic-information > * {
    font-size: 15px;
}

/* Subpages */
body:not(.no-sidebar) .site-header .header-wrapper .header-inner {
    border-bottom: 1px solid #ccd1d4;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled .style-header-03 .header-inner {
    border-bottom: none;
}

body:not(.home) #main-content #content {
    margin-top: 0;
}

body:not(.home) #main-content #content #primary {
    margin-top: 115px;
}

body.page:not(.woocommerce-checkout):not(.posts-archive) .entry-header {
    margin-bottom: 1.5em;
}

body.page:not(.woocommerce-checkout):not(.posts-archive) .entry-header .entry-title {
    margin-bottom: 0;
}

body:not(.home) .entry-header,
body:not(.home) .entry-content {
    max-width: 600px;
    /* max-width: 700px; */
    margin-inline: auto;
}

body:not(.home) .entry-content {
    position: relative;
    padding-bottom: 80px;
}

body:not(.home) .entry-content > p iframe {
    margin-top: 1em;
}

body:not(.home) .entry-content .logo-container {
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(140%);
    width: auto;
    height: auto;
}

body:not(.home) .entry-content .logo-container > img {
    /* max-height: 280px;
    max-width: 280px; */
    max-height: 15vw;
    max-width: 15vw;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50rem;
}

body:not(.home) .section-wrap.clear.stom-medarbejder-sektion {
    margin-inline: 0;
    margin-top: 0 !important;
    background-color: var(--color-bg-grey);
}

body:not(.home) .section-wrap.clear.stom-medarbejder-sektion .section {
    padding: var(--gap-l);
}

body:not(.home) .section-wrap.clear.gavekort {
    background-color: #fff;
}

body:not(.home) .section-wrap.clear.gavekort .section > h2,
body:not(.home) .section-wrap.clear.gavekort .section > h3,
body:not(.home) .section-wrap.clear.gavekort .section > p {
    color: inherit;
}

#bestil-gavekort {
    scroll-margin-top: 120px;
}

.gform_wrapper.gavekort-formular_wrapper {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.gform_wrapper.gavekort-formular_wrapper form .gform_body {
	padding-top: 10px !important;
}

.gform_wrapper.gavekort-formular_wrapper form .gform_body .gform_fields .gfield {
	padding-right: 0;
}


#gform_wrapper_2 form .gform_body .gform_fields .gfield_error {
	position: relative;
	max-width: 100% !important;
	margin-bottom: 0 !important;
	padding-block: 0 !important;
}

.gform_wrapper.gavekort-formular_wrapper form .gform_body .gform_fields .gfield:not(:first-of-type) {
	margin-top: 20px !important;
}

.gform_wrapper.gavekort-formular_wrapper form .gform_body .gform_fields .gfield .ginput_container > *,
.gform_wrapper.gavekort-formular_wrapper form .gform_body .gform_fields .gfield .ginput_container > span input {
	border-color: #ccc;
	padding: 8px 14px !important;
}

.gform_wrapper.gavekort-formular_wrapper form .gform_body .gform_fields .gfield .ginput_container > span input {
	height: 45px;
	margin: 0;
}

.gform_wrapper.gavekort-formular_wrapper form .gform_body .gform_fields .gfield .ginput_container > *::placeholder,
.gform_wrapper.gavekort-formular_wrapper form .gform_body .gform_fields .gfield .ginput_container > span > *::placeholder {
	font-size: var(--p);
    color: #546670;
}

.gform_wrapper.gavekort-formular_wrapper form .gform_body .gform_fields .gfield .ginput_container > input {
	height: 45px;
	margin-top: 0;
}

.gform_wrapper.gavekort-formular_wrapper form .gform_body .gform_fields .gfield .ginput_container > textarea {
	height: 160px;
}

.gform_wrapper.gavekort-formular_wrapper form .gform_body .gform_fields .gfield .ginput_complex {
}

.gform_wrapper.gavekort-formular_wrapper form .gform_body .gform_fields .gfield .ginput_complex > span {
	padding: 0 !important;	
}

.gform_wrapper.gavekort-formular_wrapper form .gform_footer {
	
}

.gform_wrapper.gavekort-formular_wrapper form .gform_footer .gform_button {
	background-color: var(--color-blue);
    line-height: 1.75 !important;
    padding: 9px 24px !important;
    font-size: 14px;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25rem;
}



.section-wrap.clear.stom-billede-sektion.external-link-section {
    margin-top: 0;
}

.section-wrap.clear.stom-billede-sektion.external-link-section .section .stom-cols-6 {
    min-height: auto;
    width: 60%;
}

.section-wrap.clear.stom-billede-sektion.external-link-section .stom-picture {
    width: 40%;
}

.section-wrap.clear.stom-billede-sektion.external-link-section .stom-picture img {
    object-fit: contain;
    /* max-width: 475px; */
}

body:not(.home) .section-wrap.clear.basis {
    margin-top: 0 !important;
}

.section-wrap.clear.map-section .section {
    max-width: 700px;
    margin-left: 0;
}

body.page-template-page-featured-image .site-header .header-wrapper .header-inner {
    border-bottom: none;
}

body.page-template-page-featured-image #main-content #content #primary {
    margin-top: 0;
    width: calc(100% - var(--sidebar-width) - 0px);
}

body.page-template-page-featured-image #main-content #content #primary .page .thumbnail {
    margin-bottom: 80px;
    line-height: 0;
	background-color: #f6f6f4;
}

body.page-template-page-featured-image #main-content #content #primary .page .thumbnail img {
    width: 100%;
	height: 100%;
	max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - var(--header-height, 0px));
    object-fit: cover;
}

body.price-page .section-wrap.clear.stom-reference-sektion.has-background {
    background-color: var(--color-bg-blue);
}

body.contact-page #main-content #content {
    display: flex;
    width: 100%;
}

body.contact-page #main-content #content aside#secondary {
    max-width: 600px;
    width: 100%;
}

body.contact-page #main-content #content aside#secondary .custom-overflow-wrapper {
    height: 100%;
    padding: 0;
    /* padding-top: 195px; */
    padding-top: 120px;
}

body.contact-page #main-content #content aside#secondary .custom-overflow-wrapper .widget .textwidget > p span.title {
    display: block;
    padding-inline: 30px;
    margin-bottom: 10px;
}

body.contact-page #main-content #content aside#secondary .custom-overflow-wrapper .widget .textwidget > p:last-of-type {
    text-align: center;
}

body.contact-page #main-content #content aside#secondary .custom-overflow-wrapper .widget .textwidget > p:last-of-type .stom-button {
    margin-top: 10px;
}

.widget.number-three-default-widget .stom_maps_free {
    min-height: 480px !important;
}

body.contact-page .entry-content {
    padding-bottom: 110px;
}

body.contact-page .entry-content > h1 {
    font-size: var(--h2);
    margin-bottom: 30px;
}

body.contact-page .entry-content > p a {
    text-decoration: none;
}

body.contact-page .entry-content > p a:hover {
    text-decoration: underline;
}

body.contact-page .entry-content > .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-s);
    margin-bottom: 2em;
}

/* Gravity Form */
.gform_wrapper form .gform_body {
    padding-top: 10px !important;
}

.gform_wrapper form .gform_body .gform_fields {
    grid-row-gap: 20px;
    grid-column-gap: 20px;
}

.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > * {
    border-color: #ccc;
    padding: 8px 14px;
}

.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > *::placeholder {
    font-size: var(--p);
    color: var(--color-text);
}

.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > *:focus-visible {
    outline-color: var(--color-blue);
}

.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > input {
    height: 45px;
}

.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > textarea {
    height: 160px;
}

.gform_wrapper form .gform_body .gform_fields .stomGFAS-container-field .stomGFAS-inner {
    max-width: none;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    border-color: #ccc;
    background-color: transparent;
}

.gform_wrapper form .gform_body .gform_fields .stomGFAS-container-field .stomGFAS-the-element {
    border-radius: 0;
    border-width: 2px;
    border-color: #ccc;
}

.gform_wrapper form .gform_body .gform_fields .stomGFAS-container-field .stomGFAS-label {
    font-size: 14px;
    color: var(--color-text);
}

.gform_wrapper form .gform_body .gform_fields .stomGFAS-container-field .stomGFAS-icon > svg {
    font-size: 40px;
}

.gform_wrapper form .gform_body .gform_fields .stomGFAS-container-field .stomGFAS-icon > svg path {
    fill: var(--color-blue) !important;
}

.gform_wrapper form .gform_footer {
    margin: 40px 0 0 !important;
}

.gform_wrapper form .gform_footer .gform_button {
    background-color: var(--color-blue);
    line-height: 1.75;
    padding: 9px 24px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25rem;
}

.gform_wrapper form .gform_footer .gform_button:hover,
.gform_wrapper form .gform_footer .gform_button:focus {
    background-color: var(--color-dark-blue);
}

/* External */
.section-wrap.clear.corpes-section.has-background {
    background-color: #def0f4;
	margin-top: 0 !important;
}

.section-wrap.clear.external-section {
    margin-top: 0;
}

.section-wrap.clear.external-section .section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.section-wrap.clear.external-section .section:after {
    display: none;
}

.section-wrap.clear.external-section .section .content {
    padding: var(--gap-l) 80px;
    width: 60%;
}

.section-wrap.clear.external-section .section .content > .stom-button a {
    font-size: 12px;
}

.section-wrap.clear.external-section .section .image {
    float: right;
    width: 40%;
}

/* Priser */
.behandling-container {
    margin-top: 20px;
    /* margin-top: 4em; */
    margin-bottom: 2.5em;
}

.behandling-container .admin-hidden-prices-message-wrap {
	text-align: center;
}

.behandling-container .admin-hidden-prices-message {
	display: inline-block;
	padding: .5em .6em;
	color: #fff;
	background-color: var(--color-blue);
	line-height: 1;
	border-radius: 5px;
}

.behandling-container table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}

.behandling-container table thead tr th,
.behandling-container table tbody tr td {
    padding: 24px 0;
    /* line-height: 75px; */
	line-height: 150%;
	min-height: 75px;
	vertical-align: top;
}

/* CSS Tilrettelse - pristabel */
.behandling-container table tbody tr td.behandling-beskrivelse {
	
}

.behandling-container table thead tr th {
    text-align: left;
    color: var(--color-blue);
}

.behandling-container table thead tr th:first-of-type {
	width: 60%;
}

.behandling-container table thead tr,
.behandling-container table tbody tr {
    border-bottom: 1px solid #ccd1d4;
}

.behandling-container .behandlingstype:not(:first-of-type) {
    margin-top: var(--gap-m);
}

/* Sidebar */
aside#secondary .custom-overflow-wrapper {
    padding: calc(var(--gap-m) * 2.95) var(--gap-l) var(--gap-m);
    background-color: var(--color-bg-grey);
}

.widget.number-three-default-widget .stom-button {
    width: auto;
}

.widget-area .widget:not(.widget_search):not(.widget_instagram-feed-widget):not(.widget-no-border) {
    /* font-size: var(--p); */
    font-size: 15px;
    /* padding: calc(var(--gap-m) * 3) var(--gap-l) var(--gap-m); */
    padding: 0;
    /* margin: 0; */
}

.widget-area .widget:not(.widget_search):not(.widget_instagram-feed-widget):not(.widget-no-border):last-of-type {
    margin-bottom: 0;
}

.widget-area .widget:not(.widget_search):not(.widget_instagram-feed-widget):not(.widget-no-border) .textwidget > h3 {
    /* font-size: var(--p); */
    font-size: 15px;
    font-family: var(--p-fam);
    font-weight: 700;
    margin-bottom: 0;
    line-height: 150%;
}


.widget-area .widget:not(.widget_search):not(.widget_instagram-feed-widget):not(.widget-no-border) .textwidget > p strong {
    color: var(--color-blue);
    font-size: 18px;
}

/* Colophon */
#colophon.footer-setting-02 {
    font-size: 12px;
    font-weight: 400;
    font-family: var(--p-fam);
    line-height: 150%;
    background-color: var(--color-dark-blue);
    /* margin-inline: 30px; */
    margin-top: 0;
}

#colophon .section-wrap {
    padding-inline: var(--gap-l);
}

.footer-setting-02 .footer-widget-area .section {
    /* padding: 75px 0 50px; */
    padding: 60px 0 50px;
}

#colophon .footer-logo-widget .textwidget {
    display: grid;
    grid-template-columns: 100px 1fr;
    column-gap: 25px;
}

#colophon .footer-logo-widget .textwidget > p {
    color: var(--color-blue);
}

#colophon .footer-logo-widget .textwidget > p:first-of-type {
    margin: 0;
    line-height: 0;
}

#colophon .footer-logo-widget .textwidget > p:first-of-type img {
    position: relative;
    top: -20px;
}

.socials-wrapper {
    display: flex;
    gap: 10px;
}

.socials-wrapper a.stom-social-shortcode {
    width: 25px;
    height: 25px;
    background-color: #fff;
    border-radius: 50rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.socials-wrapper a.stom-social-shortcode:hover {
    background-color: var(--color-blue);
}

.socials-wrapper a.stom-social-shortcode span.stom-custom-svg {
    font-size: 14px;
    color: var(--color-dark-blue);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: inherit;
    gap: var(--gap-l);
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.contact-container .buttons {

}

.contact-container .buttons .stom-button:not(:last-of-type) {
    margin-bottom: 40px;
}

.contact-container .buttons .stom-button a {
    min-width: 224px;
}

.contact-container .info > p a {
    text-decoration: none;
}

.contact-container .info > p a:hover {
    text-decoration: underline;
}

.nyttig-information {
    max-width: 400px;
}

.nyttig-information tbody tr td {
    padding: 0;
}

.nyttig-information tbody tr td:first-of-type {
    width: 60%;
    vertical-align: top;
}

.nyttig-information tbody tr td:last-of-type {
    width: 40%;
    text-align: right;
}

/* Medarbejdere */

.section-wrap.clear.stom-medarbejder-sektion {
    margin-inline: var(--gap-l);
}

.home .section-wrap.clear.stom-medarbejder-sektion {
    padding-bottom: 80px;
}

.section-wrap.clear.stom-medarbejder-sektion .section {
    /* padding-inline: var(--gap-l);
    max-width: none; */
}

.stom-medarbejder-sektion .section > h2 {
    margin-bottom: 30px;
}

.stom-medarbejdere {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 70px 80px;
    margin-inline: auto;
}

.stom-medarbejdere .stom-medarbejder-wrapper {
	width: 100%;
}

.stom_medarbejder-detaljer {
    display: block;
    width: 100%;
    font-size: var(--p);
}

.stom-medarbejder-thumb {
    padding-top: inherit;
    max-width: 210px;
    max-height: 210px;
    margin-bottom: 30px;
}

.stom-medarbejder-thumb img {
    position: static;
    aspect-ratio: 1 / 1;
    border-radius: 50rem;
}

.stom-medarbejder-title td {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-blue);
}

.stom-medarbejdere-content {
    position: static;
    display: block;
    font-size: var(--p);
    color: inherit;
    padding: 0;
    background-color: transparent;
    opacity: 1;
}

.stom_medarbejder-detaljer td, 
.stom_medarbejder-detaljer td * {
    padding: 0;
}

/* Referencer */
.home .section-wrap.clear.stom-medarbejder-sektion + .section-wrap.clear.stom-reference-sektion.has-background,
.home .section-wrap.clear.stom-medarbejder-sektion + .stomFEE-edit-cta + .section-wrap.clear.stom-reference-sektion.has-background {
    margin-top: 80px;
}

.section-wrap.clear.stom-reference-sektion.has-background {
    background-color: var(--color-bg-blue);
    margin-top: 0 !important;
}

.stom-reference-sektion + .section-wrap.clear.stom-billede-sektion,
.stom-reference-sektion + .stomFEE-edit-cta + .section-wrap.clear.stom-billede-sektion {
    margin-top: 0;
}

.stom-reference-sektion .section > h2 {
    /* max-width: 750px; */
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 30px;
}

.stom-anmeldelse-wrapper {
    margin-bottom: 0;
}

.stom-anmeldelse-wrapper .slick-arrow {
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    top: 25%;
}

.stom-anmeldelse-wrapper .slick-arrow .stom-custom-svg {
    font-size: var(--h1);
    color: var(--color-blue);
}

/* .stom-anmeldelse-wrapper .slick-arrow .stom-custom-svg > svg path {
    transition: var(--transition);
}

.stom-anmeldelse-wrapper .slick-arrow:hover .stom-custom-svg > svg path {
    fill: var(--color-dark-blue) !important;
} */

.stom-anmeldelse-wrapper .slick-list,
.stom-anmeldelse-wrapper:not(.slick-initialized):not(.slick-slider) .stom-anmeldelse {
    /* max-width: 750px; */
    max-width: 600px;
    margin-inline: auto;
}

.stom-anmeldelse-wrapper:not(.slick-initialized):not(.slick-slider) .stom-anmeldelse + .stom-anmeldelse {
	display: none;
}

.stom-anmeldelse-wrapper .stom-anmeldelse {
    margin: 0 0;
}

.stom-anmeldelse-wrapper .stom-anmeldelse .stom-anmeldelse-tekst {
    margin-bottom: 30px;
}

.stom-anmeldelse-wrapper .stom-anmeldelse .stom-anmeldelse-heading {
    display: block;
    font-style: italic;
}


/*======================================================================//
// END style.css                                                        //
//======================================================================*/

/* Åbningstider */
.aabningstider-list .aabningstider-title {
	font-weight: 700;
}

.widget-area .widget:not(.widget_search):not(.widget_instagram-feed-widget):not(.widget-no-border) .textwidget .aabningstider-list .aabningstider-title {
    margin-bottom: 0;
}

.aabningstider-dage {
    display: flex;
}
.aabningstider-dage p {
    white-space: nowrap;
    margin: 0 !important;
}

.aabningstider-list {
    margin-bottom: 2em;
    max-width: 400px;
}

.section-wrap.intro-section .clinic-information .aabningstider-list + .aabningstider-list {
	display: none;
}

.aabningstider-list .entry-title {
    display: inline-block;
}

.aabningstider-list .aabningstider-dag {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 0.5ch;
    max-width: 300px;
}

.aabningstider-list .aabningstider-dag > p:first-of-type {
	min-width: 75px;
}

.aabningstider-list .aabningstider-dag > p:last-of-type {
    min-width: 200px;
}

.aabningstider-list .aabningstider-dage {
    flex-direction: column;
}

.aabningstider-list .aabningstider-dag {
    column-gap: 15px;
    justify-content: space-between;
    /* justify-content: inherit; */
}

.widget.number-three-default-widget .aabningstider-list {
    margin-bottom: 30px;
    margin-top: 1.5em;
}

.widget.number-three-default-widget .aabningstider-list .aabningstider-dage .aabningstider-dag {
    justify-content: space-between;
    column-gap: 15px;
}

#secondary .widget .aabningstider-list + .aabningstider-list {
	display: none;
}

.aabningstider-list + .aabningstider-list .entry-title,
.aabningstider-list + .aabningstider-list .entry-title + br {
	display: none;
}

/*  Term pages */
body.stom-terms-page .entry-content > h3 {
    margin-top: var(--gap-m);
}


/*======================================================================//
// woocommerce.css                                                      //
//======================================================================*/


/* Footer CTA */
#number-three-sticky-mobile-cta .cta-container .stom-button a {
    /* font-size: 12px; */
    font-size: 10px;
    color: #fff;
    background-color: var(--color-dark-blue);
    border-radius: 0;
    flex-direction: row;
    gap: 8px;
}

#number-three-sticky-mobile-cta .cta-container .stom-button:not(:last-child) a {
    border-right-color: #fff;
}

#number-three-sticky-mobile-cta .cta-container .stom-button a .stom-custom-svg {
    line-height: 0;
}

/* Popup box */
.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
	z-index: 99;
}

.modal-content {
    background: #fff;
    padding: 20px;
    width: 80%;
    max-width: 1240px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: var(--p);
    cursor: pointer;
}




/*======================================================================//
// END woocommerce.css                                                  //
//======================================================================*/

body.error404 #colophon.footer-setting-02 {
    margin-top: 80px;
}

