/*
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: 60px;
  --h2: 60px;
  --h3: 25px;
  --h4: 22px;
  --h5: 16px;
  --h6: 14px;
  --p: 16px;

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

  /* font families */
  --h-fam: "Poppins", sans-serif;
  --p-fam: "Poppins", sans-serif;
  --btn-fam: var(--p-fam);

  /* colors */
  --color-1: #1b3da8;
  --color-2: #0f2c8d;
  --color-bg: #f6f6f6;
  --color-white: #fff;
  --color-text: #002142;
  --color-dark: #222;
  --color-overlay: rgb(0 0 0 / 15%);

  /* transitions */
  --transition: 0.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: 690px;

  /* Theme defined variables from PHP */
  --content-width: initial;
  --sidebar-width: initial;
  /* END Theme defined variables from PHP */
}

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

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

/* GLOBAL STYLES */
.stom-button a {
  border-radius: 25rem;
  padding: 10px 20px;
  transition: all 0.3s;
}
.btn-white a {
  background-color: white;
  border: 1px solid white;
  color: var(--color-text);
}
.btn-white a:hover,
.btn-white a:focus,
.btn-white a:active,
.white-text .btn-white a:hover,
.white-text .btn-white a:focus,
.white-text .btn-white a:active {
  background-color: white;
  border: 1px solid var(--color-1);
  color: var(--color-1);
}
.btn-blue-border a {
  background-color: white;
  border: 1px solid var(--color-1);
  color: var(--color-1) !important;
}
.btn-blue-border a:hover,
.btn-blue-border a:active,
.btn-blue-border a:focus {
  color: white !important;
}
.white-text .btn-white a {
  color: #002142;
}
body:not(.home) .buttons-wrapper {
  margin-top: var(--gap-s);
}
.buttons-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-s);
}
main section .section img {
  border-radius: 5px;
}
/* END GLOBAL STYLES */

/* HEADER STYLES */
/* END HEADER STYLES */

/* PAGE SLIDER STYLES */
.page-slider-section .slick-prev {
  left: calc(var(--gap-s) + 5px);
}
.page-slider-section .slick-next {
  right: calc(var(--gap-s) + 5px);
}
.page-slider-section .slick-prev,
.page-slider-section .slick-next {
  width: 60px;
  padding: 0;
  height: 60px;
}
.page-slider-section .slick-prev,
.page-slider-section .slick-next,
.page-slider-section .slick-prev:hover,
.page-slider-section .slick-prev:focus,
.page-slider-section .slick-next:hover,
.page-slider-section .slick-next:focus {
  border-radius: 5px;
}
.page-slider-section .slider-text-inner {
  margin-top: auto;
  margin-bottom: var(--gap-l);
}
.page-slider-section ul.slick-dots {
  text-align: right;
  right: calc(var(--gap-m) + 10px);
  bottom: calc(var(--gap-m) + var(--gap-s));
  top: unset;
}
.page-slider-section ul.slick-dots li.slick-active button:before {
  background-color: #fff;
}
.page-slider-section ul.slick-dots li button::before {
  background-color: unset;
  border: 1px solid #fff;
  font-size: var(--p);
  opacity: 1;
}
.page-slider-section ul.slick-dots li {
  width: 20px;
  height: 20px;
}
.page-slider-section .slider-text-inner .stom-button a {
  padding-inline: 24px;
  padding-block: 8px;
}
.page-slider-section .slider-text-inner h1 {
  margin-bottom: 0;
}
/* END PAGE SLIDER STYLES */

/* SECTION STYLES */
section .section h2:has(span.split-header-btn) {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
section .section h2 span.split-header-btn {
  font-size: var(--p);
  display: block;
  font-weight: 400;
  color: var(--color-1);
  margin-bottom: 12px;
  border-bottom: 1px solid #fff;
  transition: var(--transition);
}
section .section h2 span.split-header-btn:hover {
  border-bottom: 1px solid var(--color-1);
}
/* news-section */
.section-wrap.clear.news-section.stom-lazyload-excluded .section .new-stom-posts.stom-css-grid {
  margin-top: var(--gap-m);
}
.section-wrap.clear.news-section.stom-lazyload-excluded .section .new-stom-posts.stom-css-grid .new-stom-post-date {
  color: var(--color-1);
  margin-bottom: 5px;
}

.section-wrap.clear.news-section.stom-lazyload-excluded .section .new-stom-posts.stom-css-grid .new-stom-post-title h4 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  margin-bottom: 5px;
}
.section-wrap.clear.news-section.stom-lazyload-excluded .section .new-stom-posts.stom-css-grid .new-stom-post-wrapper {
  display: flex;
  flex-direction: column;
}
.section-wrap.clear.news-section.stom-lazyload-excluded .section .new-stom-posts.stom-css-grid .new-stom-post-wrapper .new-stom-post-content {
  margin-bottom: 10px;
}
.section-wrap.clear.news-section.stom-lazyload-excluded .section .new-stom-posts.stom-css-grid .new-stom-post-wrapper .stom-button.new-stom-post-link {
  margin-top: auto;
}
.section-wrap.clear.news-section.stom-lazyload-excluded .section .new-stom-posts.stom-css-grid .new-stom-post-wrapper .stom-button.new-stom-post-link a {
  padding-inline: 0;
  border-radius: 0;
  color: var(--color-1);
  background-color: #fff;
  border: none;
  font-size: calc(var(--p) + 2px);
  border-bottom: 1px solid #fff;
}
.section-wrap.clear.news-section.stom-lazyload-excluded .section .new-stom-posts.stom-css-grid .new-stom-post-wrapper .stom-button.new-stom-post-link a:hover {
  border-bottom: 1px solid var(--color-1);
}
.section-wrap.clear.news-section.stom-lazyload-excluded .section .new-stom-posts.stom-css-grid .new-stom-post-wrapper .stom-button.new-stom-post-link a .stom-custom-svg.custom-svg svg {
  width: 15px;
  height: 13px;
}
/* picture-left */
.section-wrap.clear.stom-billede-sektion.picture-left .section .stom-picture img {
  border-radius: 0 5px 5px 0;
}
/* ungdom-section */
.section-wrap.clear.stom-billede-sektion.ungdom-section {
  margin-top: calc(var(--gap-l) * 2);
}
/* picture-right */
.section-wrap.clear.stom-billede-sektion.picture-right .section .stom-picture img {
  border-radius: 5px 0 0 5px;
}
/* spons-section */
.section-wrap.clear.stom-grid-section.spons-section {
  margin-top: calc(var(--gap-l) * 2);
}
.section-wrap.clear.stom-grid-section.spons-section .section .grid-elements .grid-element-slider-wrap .slick-prev,
.section-wrap.clear.stom-grid-section.spons-section .section .grid-elements .grid-element-slider-wrap .slick-next {
  border-radius: 4px;
  box-shadow: none;
  border: 1px solid var(--color-1);
  transform: translateY(100%);
  transition: var(--transition);
}
.section-wrap.clear.stom-grid-section.spons-section .section .grid-elements .grid-element-slider-wrap .slick-prev:hover,
.section-wrap.clear.stom-grid-section.spons-section .section .grid-elements .grid-element-slider-wrap .slick-next:hover {
  background-color: var(--color-1);
}
.section-wrap.clear.stom-grid-section.spons-section .section .grid-elements .grid-element-slider-wrap .slick-prev:hover .stom-custom-svg.custom-svg svg path,
.section-wrap.clear.stom-grid-section.spons-section .section .grid-elements .grid-element-slider-wrap .slick-next:hover .stom-custom-svg.custom-svg svg path {
  fill: #fff;
}
.section-wrap.clear.stom-grid-section.spons-section .section .grid-elements .grid-element-slider-wrap .slick-dots li button:before {
  background-color: var(--color-1);
  opacity: 1;
}
.section-wrap.clear.stom-grid-section.spons-section .section .grid-elements .grid-element-slider-wrap .slick-dots li:not(.slick-active) button:before {
  background-color: unset;
  border: 1px solid var(--color-1);
  opacity: 1;
}
.section-wrap.clear.stom-grid-section.spons-section .section .grid-elements .grid-element-slider-wrap .slick-prev .stom-custom-svg.custom-svg svg {
  transform: rotate(180deg);
}
.section-wrap.clear.stom-grid-section.spons-section .section .grid-elements .grid-element-slider-wrap .slick-prev .stom-custom-svg.custom-svg svg,
.section-wrap.clear.stom-grid-section.spons-section .section .grid-elements .grid-element-slider-wrap .slick-next .stom-custom-svg.custom-svg svg {
  width: 15px;
  height: 13px;
}
.section-wrap.clear.stom-grid-section.spons-section .section .grid-elements .grid-element-slider-wrap .slick-prev .stom-custom-svg.custom-svg svg path,
.section-wrap.clear.stom-grid-section.spons-section .section .grid-elements .grid-element-slider-wrap .slick-next .stom-custom-svg.custom-svg svg path {
  fill: var(--color-1);
}
.section-wrap.clear.stom-grid-section.spons-section .section .grid-elements .grid-element-slider-wrap .grid-element>img {
  object-fit: contain;
  padding: 25px;
}

/* END SECTION STYLES */

/* UTILITY STYLES */
/* END UTILITY STYLES */

/* FOOTER STYLES */
.section-wrap.clear.stom-grid-section.footer-section .section .grid-elements .grid-element .overlay {
  justify-content: start;
}
.section-wrap.clear.stom-grid-section.footer-section .section .grid-elements {
  gap: var(--gap-l);
}
.section-wrap.clear.stom-grid-section.footer-section {
  margin-top: calc(var(--gap-l) * 2);
  position: relative;
  z-index: 0;
  margin-inline: 0;
}
.section-wrap.clear.stom-grid-section.footer-section .section .gform_wrapper.gravity-theme .ginput_container_date input {
  width: 100%;
}
.section-wrap.clear.stom-grid-section.footer-section .section {
  padding-bottom: calc(var(--gap-l) * 2);
}
.section-wrap.clear.stom-grid-section.footer-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 400px; 
  background-image: url('images/kontakt-baggrund\ 1.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}
.underline-form .gform_wrapper.gravity-theme .gform_footer input[type=submit] {
  padding: 14px 18px;
  border-radius: 50px;
}

#colophon.footer-setting-02 {
  padding: 0;
  color: #fff;
  background-color: #1B3DA8;

}
#colophon.footer-setting-02 .widget-title {
  display: block;
  margin-bottom: 10px;
  font-size: 23px;
  font-weight: 400;
}
.section-wrap.footer-widget-area-site-info.copyright .section .textwidget {
  display: flex;
  justify-content: space-between;
  font-weight: 400;
  font-size: 16px;
}
/* END FOOTER STYLES */
/*======================================================================//
// CTA                                                                  //
//======================================================================*/
#number-three-sticky-mobile-cta .cta-container .stom-button a {
  display: flex;
  flex-direction: row;
  font-weight: 400;
  gap: 14px;
  border-radius: 0;
}
#number-three-sticky-mobile-cta .cta-container .stom-button:first-of-type a {
  background-color: var(--color-1);
  color: var(--color-white);
}
#number-three-sticky-mobile-cta .cta-container .stom-button:first-of-type a .stom-custom-svg {
  color: var(--color-white);
}
#number-three-sticky-mobile-cta .cta-container .stom-button:last-of-type a .stom-custom-svg {
  color: var(--color-white);
}
#number-three-sticky-mobile-cta .cta-container {
  background-color: var(--color-1);
}
#number-three-sticky-mobile-cta .cta-container .stom-button:last-of-type a {
  background-color: var(--color-dark);
  color: var(--color-white);
}
#number-three-sticky-mobile-cta .cta-container .stom-button a p:hover {
  border: none;
}
#number-three-sticky-mobile-cta .cta-container .stom-button a {
  color: var(--color-white);
}
#number-three-sticky-mobile-cta .cta-container .stom-button a:hover {
  border: none;
}
#number-three-sticky-mobile-cta .cta-container .stom-button:not(:last-child) a {
  border-right: none;
}
#number-three-sticky-mobile-cta .cta-container .stom-button a .stom-custom-svg {
  display: unset;
  background-color: unset;
  padding: unset; 
  margin-left: unset;
  line-height: 0 !important;
}
.section-wrap.footer-widget-area-site-info.copyright .stom-info {
  font-weight: 500;
}
.section-wrap.footer-widget-area-site-info.copyright .stom-some .socials-wrapper a {
  color: #3b5998;
}
/*======================================================================//
// END CTA                                                              //
//======================================================================*/


/* Logo */
.site-branding #logo img, 
.site-branding #logo svg {
  max-width: 90px;
  max-height: 90px;
}

.header-sticky-active.scrolled header .site-branding #logo img:not(.logo-landscape), 
.header-sticky-active.scrolled header .site-branding #logo svg {
  max-height: 80px;
}

/* ny kode */
/* menu */
header .main-navigation ul.menu a {
  font-family: var(--h-fam);
  
  padding: 0.7em 1em;
  font-weight: 400;
}
header .main-navigation ul.menu#primary-menu .sub-menu a {
  background-color: var(--color-white);
  justify-content: space-between;
  width: 300px;
  color: var(--color-dark);
}
/* sponsorer-section */
.stom-grid-section.sponsorer-section .grid-element>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
/* bestyrelse-section */
.section-wrap.clear.stom-grid-section.bestyrelse-section .section .grid-elements .grid-element .overlay {
  justify-content: start;
  grid-column: unset;
  grid-row: unset;
}
/* vedtægter-section */
.section-wrap.clear.stom-grid-section.vedtægter-section .section .grid-elements .grid-element .overlay {
  justify-content: start;
}
/* top-slider undersider */
body:not(.home) h2 {
  font-size: 34px;
    font-weight: 500;
}
body:not(.home) .page-slider-section .image-aligner img {
  width: 100%;
  height: auto;
  max-height: calc(50vh - var(--header-height));
  min-height: 100%;
  object-fit: cover;
  object-position: top;
}
/* checkmark_list */
.stom-checkmark-list ul {
  padding-left: 0;
  margin-bottom: var(--gap-s);
}
.stom-checkmark-list ul li {
  padding-left: 1.4em;
}
.stom-checkmark-list ul li:before {
  width: 0.7em;
  content: url(images/heart-solid.svg);
}
/* GALLERY STYLES */
.gallery-columns-4{
  grid-template-columns: repeat(var(--grid-4-cols), minmax(0,1fr));
}
.gallery .gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0;
  margin-top: 0;
}
.gallery .gallery-item .gallery-icon a img {
  object-fit: cover;
  max-width: initial;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* END GALLERY STYLES */ 
/* sidebar sticky and styling */
body:not(.home), body:not(.home) #page {
  overflow: visible;
}
aside#secondary {
  position: sticky;
  top: 140px;
}
/*======================================================================//
// END style.css                                                        //
//======================================================================*/

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

/* woocommerce style goes here */

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