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

body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.burger-menu) .header-sticky-active.scrolled header #primary-menu > li > a {
    padding: 5px 35px;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header.style-header-2 .nav-wrap {
    margin: 15px auto 15px !important;
}

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

/* Generel */
body {
    padding-left: 80px;
    padding-right: 80px;
}

h1, h2, h3 {
    font-weight: 300;
}

html, body, input, select, optgroup, textarea {
    font-weight: 300;
    color: #333;
}

b, strong {
    font-weight: 600;
}

a, a:hover, a:visited, a:focus, a:active {
    /* text-decoration: none; */
    color: #668e8e;
}

a:hover {
    text-decoration: underline;
    color: #668e8e;
}

span.subheading {
    display: block;
    margin-bottom: 5px;
}

.bottom-line h2:after {
    content: ' ';
    display: block;
    border: 1px solid #668e8e;
    width: 90px;
    margin: 18px auto;
}

.stom-button a {
    background-color: #668e8e;
    border-color: #668e8e;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    padding: 7px 30px;
}

.stom-button a:hover {
    background-color: #fff;
    border-color: #668e8e;
    color: #668e8e;
    text-decoration: none;
}

.stom-button.transparent a {
    background-color: transparent;
    color: #668e8e;
}

.stom-button.transparent a:hover {
    background-color: #668e8e;
    color: #fff;
}

.stom-billede-sektion .section {
    padding: 50px 0 !important;
}

.stom-billede-sektion .stom-cols-6 {
    width: 45%;
}

.stom-billede-sektion .subheading + h2 {
    position: relative;
    padding-bottom: 20px;
}

.stom-billede-sektion .subheading + h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: calc(100% - 100px);
    width: 100vw;
    height: 2px;
    background-color: #668e8e;
}

/* Header */
.home .page-slider-section .slide-element {
    min-height: 740px;
    max-height: 740px;
}

.page-slider-section .slider-text {
    align-items: flex-end;
    width: 100%;
    padding: 0 0;
}

.page-slider-section .slider-text-inner {
    padding: 30px 0;
    background-color: rgba(102, 142, 142, .9);
}

.page-slider-section .slider-text-inner .template-slidertext {
    /* width: var(--stom-content-width); */
    max-width: 1285px;
    padding-left: 30px;
    padding-right: 30px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.page-slider-section .slider-text-inner .template-slidertext p {
    color: #fff;
    font-size: 20px;
    line-height: 1.25;
    max-width: 500px;
}

.page-slider-section .slider-text-inner .template-slidertext .stom-cols-elm.last {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    grid-gap: 20px;
}

.page-slider-section .slider-text-inner .template-slidertext .stom-cols-elm.last .stom-button {
    display: block;
}

.page-slider-section .slider-text-inner .template-slidertext .stom-cols-elm.last .stom-button a {
    min-width: 170px;
    text-align: center;
    padding: 7px 20px;
}

.page-slider-section .slider-text-inner .template-slidertext .stom-cols-elm.last .stom-button.one a {
    background-color: #fff;
    border-color: #fff;
    color: #668e8e;
}

.page-slider-section .slider-text-inner .template-slidertext .stom-cols-elm.last .stom-button.one a .stom-custom-svg {
    font-size: 13px;
    margin-right: 5px;
}

.page-slider-section .slider-text-inner .template-slidertext .stom-cols-elm.last .stom-button.one a:hover {
    background-color: transparent;
    color: #fff;
}

.page-slider-section .slider-text-inner .template-slidertext .stom-cols-elm.last .stom-button.two a {
    border-color: #fff;
    color: #fff;
}

.page-slider-section .slider-text-inner .template-slidertext .stom-cols-elm.last .stom-button.two a:hover {
    color: #668e8e;
}

.page-slider-section .slide-element .video-aligner,
.page-slider-section .slide-element .image-aligner,
.page-slider-section .slide-element .service-aligner {
    top: 50%;
    transform: translateY(-50%);
}

/* Logo + Menu */
header .main-navigation a {
    font-size: 16px;
    font-weight: 400;
    color: inherit;
    padding: 5px 35px;
    text-decoration: none;
}

header .nav-wrap {
    margin: 15px auto 35px !important;
    max-width: 1285px;
    padding-left: 30px;
    padding-right: 30px;
}

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

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

.site-branding #logo img {
    max-width: 178px;
    max-height: 89px;
    width: auto;
    height: auto;
}

#primary-menu li.btn-phone {
    margin-left: 35px;
}

#primary-menu {
    align-items: center;
}

#primary-menu li.btn-phone a {
    background-color: #668e8e;
    border-color: #668e8e;
    color: #fff;

    padding: 8px 20px;
    text-align: center;
}

#primary-menu li.btn-phone a .stom-custom-svg {
	margin-right: .5em;
	line-height: 0;
}

#primary-menu li.btn-phone a:before {
    /* content: 't'; */
}

#primary-menu li.menu-item-has-children ul.sub-menu li.menu-item a {
    font-size: 14px;
}

/* Frontpage */
.cards-header-section {
    margin-top: 80px;
}

.cards-header-section .section {
    text-align: center;
    padding-bottom: 0;
}

.cards-section .section .grid-elements .grid-element {
    width: calc((100% - (30px * 3))  / 4);
    transition-duration: .175s;
}

.cards-section .section .grid-elements .grid-element .overlay {
    text-align: center;
    padding: 70px 20px;
}

.cards-section .section .grid-elements .grid-element .overlay p a {
    color: inherit;
    text-decoration: none;
}

.cards-section .section .grid-elements .grid-element .overlay p a .stom-custom-svg {
    font-size: 11px;
    margin-left: 5px;
}

.cards-section .section .grid-elements .grid-element:hover {
    outline: 1px solid #fff;
    outline-offset: -15px;
}

.contact-section {
    margin-top: 120px;
}

.contact-section .section {
    padding: 90px 30px !important;
    max-width: 1285px;
}

.contact-section .section .grid-elements {
    align-items: center;
}

.contact-section .section .grid-elements .form {
    box-shadow: 3px 6px 40px rgba(0, 0, 0, 0.16);
    background-color: #fff;
}

.contact-section .section .grid-elements .form .overlay {
    padding: 90px 85px 60px;
}

.contact-section .section .grid-elements .form .overlay h3 {
    font-size: 20px;
}

.contact-section .section .grid-elements .content .overlay {
    padding: 0;
}

.contact-section .section .grid-elements .content .overlay p a {
    color: inherit;
    text-decoration: none;
}

.employee-header-section {
    margin-top: 120px;
}

.employee-header-section .section {
    text-align: center;
    padding-bottom: 0;
}

.employee-section {
    margin-bottom: 120px;
}

.employee-section .section .grid-elements {
    grid-gap: 60px;
}

.employee-section .section .grid-elements .grid-element {
    width: calc((100% - (90px * 3))  / 4);
}

.employee-section .section .grid-elements .grid-element .overlay {
    padding: 0;
    text-align: center;
}

.employee-section .section .grid-elements .grid-element .overlay h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.employee-section .section .grid-elements .grid-element .overlay p {

}

/* Subpages */
body:not(.home) header#masthead {
    box-shadow: 0 -8px 10px 5px #cecece;
}

body:not(.home) .page-slider-section .slide-element {
    min-height: 250px;
    max-height: 250px;
}

body:not(.home) #main-content #content {
    padding-top: 80px;
    padding-bottom: 80px;
}

body:not(.home) #main-content #content #primary article .entry-content h2 {
    font-size: 28px;
}

div.prisliste > p:first-of-type {
    text-align: right;
}

div.prisliste table,
div.prisliste table tbody tr td {
    border: none;
}

div.prisliste table tbody tr {
    border-bottom: 1px solid #333;
}

div.prisliste table tbody tr td {
    font-size: 14px;
    padding: 10px 0;
}

div.prisliste table tbody tr td:first-of-type {
    width: 45% !important;
}

div.prisliste table tbody tr td:nth-child(3),
div.prisliste table tbody tr td:nth-child(4),
div.prisliste table tbody tr td:nth-child(5) {
    width: 15% !important;
}

.tandbehandling-section .section {
    padding-top: 0;
}

.tandbehandling-section .section .grid-elements {
    grid-gap: 20px;
}

.tandbehandling-section .section .grid-elements .grid-element {
    position: relative;
    height: 175px;
    object-fit: cover;
    transition-duration: .175s;
}

.tandbehandling-section .section .grid-elements .grid-element:hover {
    outline: 1px solid #fff;
    outline-offset: -15px;
}

/* .tandbehandling-section .section .grid-elements .grid-element:before {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgb(0, 0, 0);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8715861344537815) 0%, rgba(0, 0, 0, 0.6643032212885154) 4%, rgba(255, 255, 255, 0) 50%);
} */

.tandbehandling-section .section .grid-elements .grid-element .overlay {
    padding: 0;
}

.tandbehandling-section .section .grid-elements .grid-element .overlay h3 {
    margin-bottom: 0;
    background-color: #fff;
    width: fit-content;
    padding: 10px 20px 10px 0;
    font-size: 21px;
    font-weight: 600;
}

.tandbehandling-section .section h1 {
    text-align: center;
    margin-bottom: 20px;
}

body.tandbehandling-page #main-content {
    margin-top: 80px;
}

/* Colophon + Widgets */
#colophon {
    background-color: #eff3f3;
    font-size: 14px;
    margin-bottom: 90px;
}

#colophon .section-wrap .section {
    display: flex;
    justify-content: space-between;
    padding-left: 30px;
    padding-right: 30px;
    max-width: 1285px;
}

#colophon .section-wrap .section:after {
    display: none;
}

#colophon .section-wrap .section .footer-widgets {
    display: flex;
    flex-wrap: wrap;
    width: calc((100% - (130px * 2))  / 3);
    margin-right: 0;
}

#colophon .section-wrap .section .footer-widgets:not(.last) {
    border-right: 1px solid #d4dfdf;
}

#colophon .section-wrap .section .footer-widgets .widget {
    width: 100%;
    margin-bottom: 0;
}

#colophon .section-wrap .section .footer-widgets.last .widget {
    /* width: auto;
    border-right: 1px solid #d4dfdf;
    padding-right: 80px; */
}

#colophon .section-wrap .section .footer-widgets .widget .widget-title {
    font-size: 20px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 25px;
}

#colophon .section-wrap .section .footer-widgets.widgets-1 .widget .textwidget {
    line-height: 2.25;
}

#colophon .section-wrap .section .footer-widgets.widgets-2 .widget .textwidget {
    line-height: 2;
}

#colophon .section-wrap .section .footer-widgets.widgets-2 .widget .textwidget table,
#colophon .section-wrap .section .footer-widgets.widgets-2 .widget .textwidget table tbody tr td {
    border: none;
}

#colophon .section-wrap .section .footer-widgets.widgets-2 .widget .textwidget table tbody tr td {
    padding: 0 0;
}

#colophon .section-wrap .section .footer-widgets.widgets-3 {
    text-align: center;
}

#colophon .section-wrap .section .footer-widgets .widget .textwidget p a {
    color: inherit;
    text-decoration: none;
}

#colophon .section-wrap .section .footer-widgets .widget .textwidget p a:hover {
    text-decoration: underline;
}

#colophon .section-wrap .section .footer-widgets .widget .textwidget .socials-wrapper {
    display: flex;
    flex-direction: column;
    grid-gap: 20px;
}

/* Sidebar */
body:not(.home) {
    overflow: visible;
}

aside#secondary {
    position: sticky;
    top: 200px;
}

aside#secondary .custom-overflow-wrapper .widget {
    background-color: #f5f5f5;
    border: none;
    font-size: 14px;
}

aside#secondary .custom-overflow-wrapper .widget .widget-title {
    font-size: 18px;
    font-weight: 600;
}

aside#secondary .custom-overflow-wrapper .widget .textwidget p a {
    color: inherit;
}

.contact-form-sidebar .gform_wrapper form .gform_body .gform_fields {
    display: flex;
    flex-direction: column;
}

.contact-form-sidebar .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > * {
    font-size: 14px;
}

.contact-form-sidebar .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container input::placeholder {
    /* font-size: 12px; */
}

.contact-form-sidebar .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container .gfield_checkbox .gchoice .gfield-choice-input {
    height: auto;
}

.contact-form-sidebar .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container .gfield_checkbox .gchoice label {
    font-size: 14px;
}

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

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

.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > * {
    border-color: #e5e5e5;
}

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

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

.gform_wrapper form .gform_footer {
    justify-content: flex-end;
}

.gform_wrapper form .gform_footer .gform_button {
    background-color: #668e8e;
    border-color: #668e8e;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
    line-height: 1 !important;
    height: 40px;
    padding: 10px 35px;
}

.gform_wrapper form .gform_footer .gform_button:hover {
    background-color: #fff;
    border-color: #668e8e;
    color: #668e8e;
}

.gform_wrapper.gravity-theme .gfield-choice-input+label {
    font-size: 13px !important;
}


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





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

/* woocommerce style goes here */

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

.employee {
    display: flex;   
    grid-gap: 40px;
}

.employee:not(:last-of-type) {
    border-bottom: 1px solid #333;
    margin-bottom: 30px;
}

.employee p img {
    max-width: 300px;
    height: auto;
}

.employee .content h3 {
    margin-bottom: 5px;
}


body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img {
	max-height: 70px;
}

.tandbehandling-section .section .grid-elements .grid-element .overlay {
	background-color: rgba(255, 255, 255, .75);
    padding: 10px 20px;
}

.tandbehandling-section .section .grid-elements .grid-element .overlay > h2 {
	color: #323232;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.page-slider-section {
	margin-top: 35px;
}

header .main-navigation li.mega-menu:hover>ul {
	padding-top: 0;
}

header .nav-wrap {
	margin-bottom: 0 !important;
}

#primary-menu > li.menu-item > a {
	padding: 10px 35px;
}

header .main-navigation ul li.mega-menu > ul {
	max-width: 1285px;
    padding-left: 30px;
    padding-right: 30px;
    margin-inline: auto;
}

#primary-menu > li.menu-item-has-children.mega-menu > ul.sub-menu > li.menu-item > a {
	font-weight: 600;
	color: #668e8e;
}

#primary-menu li.menu-item-has-children.mega-menu ul.sub-menu > li.menu-item a .hidden-menu-item {
	justify-content: flex-start;
}

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


/* FAQ */
.faq button {
    border: none;
    padding: 10px 0 0 0;
    color: #333;
    background: #fff;
    text-transform: none;
	font-weight: 300;
}

/* Emil */

header .main-navigation ul li.mega-menu > a::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 10px;
}

header .main-navigation ul li.mega-menu > ul {
  top: calc(100% - 10px);
}

header .main-navigation ul li.mega-menu > ul {
  visibility: hidden;
  opacity: 0;
  display: block !important;
  transition: opacity 0.15s, visibility 0s linear 0.15s;
}

header .main-navigation ul li.mega-menu:hover > ul {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
  display: flex !important;
}