/*
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: clamp(28px, 4.1739vw, 48px);
    --h2: clamp(22px, 2.7826vw, 32px);
    --h3: clamp(20px, 2.1739vw, 25px);
    --p: clamp(14px, 1.56vw, 18px);

    /* Gaps */
    --gap-l:clamp(20px, 7.5vw, 90px);
    --gap-m:clamp(20px, 3.3333vw, 40px);
    --gap-s:clamp(15px, 1.6666vw, 20px);

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

    /* colors */
    --color-1: #DB2033;
    --color-2: #e33f50;
    --color-bg: #f6f6f6;
    --color-text: #606060;
    --color-dark: #171717;
    --color-bg2: #333;
    --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 */
}


/* cecilie understregs menu */
  
  header .main-navigation ul.menu a {
    position:relative;
    display:flex;
    align-items:center;
    justify-content:left;
    height:100%;
    padding:.7em 1.5em;
    
  }

header .main-navigation ul.sub-menu .current-menu-ancestor > a {
	background-color: var(--color-1);
	color:white;
}


header .main-navigation ul.sub-menu .current-menu-item.current_page_item > a {
	background-color: var(--color-1);
	color:white;
}


  header .main-navigation ul.menu ul a {
    width: auto;
    text-wrap: nowrap;
  }

  .main-navigation ul li:hover>ul,
  .main-navigation ul li.focus>ul {
    left:-10px
  }
  
  .hover-active:not(.hover-style-bold) ul.menu a::before {
    max-width: 30px;
    min-height: 4px;
    left: 50%;
    transform: translateX(-50%);
  }

  body .main-navigation ul li:hover > ul, body .main-navigation > ul li.focus > ul {
    left: 50%;
    transform: translateX(-50%);
  }

  body header .main-navigation ul.menu ul li:hover > ul.sub-menu {
    left: 100%;
    transform: unset;
  }

  .hover-active:not(.hover-style-bold) ul.menu ul.sub-menu li:hover > a {
    background-color: var(--color-1);
    color: var(--color-bg);
    text-wrap: nowrap;
  }

  .hover-active:not(.hover-style-bold) ul.menu ul.sub-menu li a::before {
    display: none;
  }

  ul.menu ul.sub-menu li a:focus {
    color: var(--color-1)
  }

  header .main-navigation ul.menu li:not(.mega-menu) ul.sub-menu {
    font-size: calc(0.9 * var(--p))
  }

  header .main-navigation ul.menu ul a .stom-menu-item-arrow {
    margin-left: auto;
    padding-left: var(--gap-s);
  }

  .stom-menu-item-arrow .stom-custom-svg {
    display: inline-block;
  }

/* generic */

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

main .section-wrap ~ .section-wrap, main + #colophon, .section-wrap ~ .page-slider-section, .page-slider-section ~ .page-slider-section, .page-slider-section ~ .section-wrap, #content + .page-slider-section, #content + .stomFEE-edit-cta + .page-slider-section, #content + .section-wrap, #content + .stomFEE-edit-cta + .section-wrap {
    margin-top: calc(2.7777 * var(--gap-l));
}

.site-branding #logo {
    padding: calc(1.25 * var(--gap-s)) 0;
}

/* kontakt side */

.kontakt .jst-start .overlay {
  justify-content: flex-start;
}

.kontakt .stom-custom-svg {
  line-height: 3;
}

/* custom maps */

.custom-map {
  margin-top: var(--gap-l);
}

body:not(.stom-gform-legacy) .gform_wrapper .gform_body {
  padding-top: 0;
}

/* buttons */

body:not(.stom-gform-legacy) .gform_wrapper .gform_footer input[type="submit"] {
  margin-left: auto
}

.stom-button.rounded a, .gform_wrapper .gform_footer input[type="submit"] {
    border-radius: 2em;
    padding: 0.75em 1.75em;
    font-size: calc(0.8888 * var(--p));
    border: 0px
}
  
  .site .stom-button.rounded a:hover {
    background: linear-gradient(to right, var(--color-1), #c27878, #ff0202, #ff7575);
    border: 0px;
    background-size: 300%;
    animation: gradient 4s infinite;
   }
  
  @keyframes gradient {
      0% {
        background-position:0% 50%
      }
      50% {
        background-position:100% 50%
      }
      100% {
        background-position:0% 50%
      }
    }

/* header */

.site-header {
    box-shadow: 0 10px 0 var(--color-1) inset;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled #masthead {
    box-shadow: 0 3px 0 var(--color-1) inset;
}

/* slider */

.page-slider-section.image-pos-center-center .image-aligner img {
    max-height: 800px;
}

body:not(.home) .page-slider-section.image-pos-center-center .image-aligner img {
  max-height: 300px;
}

.page-slider-section h1, .page-slider-section p {
    color: #fff
}
.page-slider-section p {
    font-size: calc(1.2222 * var(--p))
}

.page-slider-section .stom-button a:first-child {
    margin-right: var(--gap-s);
}

.page-slider-section .stom-button a:last-child {
  margin-top:calc(0.5 * var(--gap-s))
}

.site .sub-title {
    color: var(--color-1);
    font-size: calc(0.8888 * var(--p))
}

/* billede nav */

.stom-grid-section.billede-nav .section .grid-elements {
    display:grid;
    gap:var(--gap-m)
  }
  .billede-nav .grid-elements .billede-nav-titel.grid-element .overlay h2 {
    margin-bottom:5px
  }
  .section-wrap.clear.stom-grid-section.billede-nav {
    padding-top:15px
  }
  
  .grid-element.img-overlap {
    background-color:var(--color-bg2);;
    color: #fff;
    min-height:25px;
    width:100%;
    margin:auto;
    border-radius:10px;
    gap:40px
  }
  .grid-element.img-overlap img {
    border-radius:10px 10px 0 0;
    width:100%;
    aspect-ratio:1 / 1;
    object-fit:cover;
    object-position:center center;
    max-height:210px
  }
  .grid-element.img-overlap p {
    margin:0;
    line-height:0
  }
  .img-overlap .img-overlap-under {
    font-size:var(--p);
    font-weight:500;
    padding:12px;
    text-align:center
  }
  
.grid-element.img-overlap:last-child {
    height: 100%;
    background-color: var(--color-1);
}

.grid-element.img-overlap:last-child p {
    margin: auto;
    line-height: 1.5;
    text-align: center;
    padding: var(--gap-s);
  }

.stom-grid-section .grid-element.img-overlap .overlay *:last-child {
    margin: auto
}

.stom-grid-section .grid-element.img-overlap .overlay p:last-child{
    padding: 0;
    padding-bottom: var(--gap-s);
}

.stom-grid-section .grid-element .full-element-link:hover {
    border-radius:10px;
    opacity:.15;
    background-color:#fff;
    background-size:50%;
  }

/* facebook elements */

.stom-grid-section.facebook .grid-element.bt-txt .overlay {
    justify-content: center;
}

.stom-grid-section.facebook .grid-element.fb .overlay p {
    margin: auto;
}

main .section-wrap.stom-grid-section.facebook.grey-bg {
    margin-top: calc(1.3888 * var(--gap-l));
    background-color: var(--color-bg);
    padding: calc(1.3888 * var(--gap-l)) var(--gap-m) calc(1.3888 * var(--gap-l)) var(--gap-m);
    margin-inline: 0;
}

main .section-wrap.stom-grid-section.facebook {
    margin-top: calc(1.3888 * var(--gap-l));
}


/* footer */ 

#colophon {
    font-size: calc(var(--p) * 0.7777)
}

.section-wrap.footer-widget-area-extra {
    display: none;
}


#colophon .copyright .section .footer-widgets .widget .textwidget ul {
    display: flex;
    align-items: center;
	margin: 0;
    padding: 0;
    list-style: none;
}

#colophon .copyright .textwidget ul li a,#colophon .copyright .textwidget ul li {
    padding: 0;
    text-wrap: nowrap;
    color: #b3b3b3;
    font-weight: 400;
}

#colophon .copyright .section .footer-widgets .widget .textwidget ul li:not(:last-of-type):after {
    content: '|';
    margin: 0 5px
}

#colophon.footer-setting-03 {
    background-color: var(--color-bg2);
}

#colophon svg {
    color: transparent;
    margin-right: 10px;
    width: 16px;
    height: auto;
}

.kontakt svg  {
  color: var(--color-text);
  margin-right: 10px;
  width: 16px;
  height: auto;
}

.kontakt .ft-flex a  {
  color: var(--color-1);
  text-decoration: none;
}


main + #colophon {
    margin-top: calc(1.3888 * var(--gap-l))
}

body:is(.home) main + #colophon {
    margin-top: 0
}


#colophon .stom-custom-svg.custom-svg, .kontakt .stom-custom-svg.custom-svg {
    display: inline-block;
    line-height: 3;
}

#colophon .ft-flex, .kontakt .ft-flex {
    display: flex;
}

#colophon .copyright {
    font-size: calc(0.7777 * var(--p))
}

.footer-setting-03 .section-wrap {
    border-bottom: 0px;
}

#colophon .mini-title, #colophon .widget-title {
    color: #fff;
}

#colophon {
    color: #b3b3b3;
}



.footer-setting-03 .footer-widget-area-site-info  {
    border-top: 2px solid rgba(235, 245, 240, 0.30)
}


.footer-setting-03 .footer-widget-area-site-info .textwidget {
    justify-content: center;
  }

/* post liste */

.custom.stom-css-grid.columns-3 {
    grid-template-columns: repeat(var(--grid-1-cols),minmax(0,1fr));
    gap: 0;
  }

  .news-section .new-stom-post-wrapper {
    padding: 20px 0;
    border-top: solid 1px #DBDBDB;
  }

  .news-section .new-stom-post-link a {
    color: var(--color-1);
    text-decoration: none;
  }

  main .section-wrap.news-section.stom-billede-sektion {
    background-color: #F6F6F6;
    margin-top: calc(1.3888 * var(--gap-l))
  }

  main .section-wrap.news-section.stom-billede-sektion .section {
    padding: calc(1.3888 * var(--gap-l)) 0 calc(1.3888 * var(--gap-l)) 0;
    display: flex;
    flex-direction: row-reverse;
    }

  .section-wrap.news-section.stom-billede-sektion .stom-cols-6 {
   padding: 0 0 0 calc(0.75 * var(--gap-l))  
  }

  .section-wrap.news-section.stom-billede-sektion .stom-picture img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1;
  }

  .section-wrap.news-section.stom-billede-sektion .stom-picture {
    position: relative;
  }

  .news-section .new-stom-post-link a:hover > .stom-custom-svg.custom-svg  {
    color: var(--color-1);
    text-decoration: none;
    margin-left: 5px 
  }

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


body.page-template-default.page #stom-ais-results .stom-ais__inner-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
  

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


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


/* style goes here */


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


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


/* woocommerce style goes here */


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