a:not([class]) {
    text-decoration: none;
}

/*Sidan bredd----------------------------------------------------------------*/
.grid-child {
    max-width: 1200px;
}


@supports (display: grid) {
    .site-grid {
        grid-template-columns:
            [full-start] minmax(0, 1fr)
            [main-start] repeat(4, minmax(0, 17.5rem))
            [main-end] minmax(0, 1fr)
            [full-end];
    }
}


/*Text storlekar --------------------------------------------------------*/'
:root {
    --h1size: 2rem;
    --h2size: 1.7rem;
    --h3size: 1.5rem;
}

h4, .h4 {
    font-size: 1.25rem;
}

h5, .h5 {
    font-size: 1.15rem;
}

h6, .h6 {
    font-size: 1rem;
}

/*Bröd grid----------------------------------------------------------------------------*/
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem 1.5rem;
}

.contact-card {
    text-align: center;
}

.contact-image {
    margin-top: 10px;
    margin-bottom: 10px;
}

/*format for footer, används inte--------------------------------------------------*/
/*.footer-contact-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); 
  gap: 1rem; 
  text-align: center; 
  max-width: 1200px; 
  min-width: 1200px; 
} 

@media (max-width: 1200px) { 
  .footer-contact-grid { 
    grid-template-columns: 1fr; 
  }
}
*/


/*sök knappens utseende ---------------------------------------------------------------*/
.container-header .container-search .mod-finder input#mod-finder-searchword116.form-control {
/*    width: 60px !important;*/
    max-width: 60px !important;
/*    height: 20px !important; */
    padding: 0px 3px !important;
    padding-top: 0.6rem !important;
    background-color: #0E313F !important;
    border: 0px solid #ffffff !important;
    border-radius: 4px !important;

    font-size: 1rem !important;
    color: #ffffff !important;
    box-shadow: none !important;
}
.container-header .container-search .mod-finder input#mod-finder-searchword116.form-control::placeholder {
    color: #ffffff !important;
    opacity: 1;
}

/* horizontel fix --------------------------------------------------------------------*/
.container-header .container-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
}

#mod-custom117 {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.container-header .navbar {
    flex: 0 0 auto !important;
    margin-left: 12px !important;
    margin-right: auto !important;
}

.container-header .container-search {
    flex: 0 0 auto !important;
    margin-left: auto !important;
}

/* Overall header height ------------------------------------------------------------- */
.container-header .container-nav {
/*  min-height: 40px !important;*/
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* Navbar height */
/*.container-header .navbar {
    min-height: 40px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
*/

/* Menu text size and spacing */
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > button {
    font-size: 1rem !important;
    line-height: 1.2 !important;
    padding-top: 0.45rem !important;
    padding-bottom: 0.0rem !important;
    padding-left: 0rem !important;
    padding-right: 0rem !important;
}

/* Dropdown arrow button */
/*'.container-header .mm-toggler {
    width: 1.0rem !important;
    margin: 0 !important;
    padding-left: 0rem !important;
    padding-right: 0rem !important;
}
*/

/* Remove spacing between menu items */
/*.container-header .mod-menu {
    gap: 0 !important;
}

*/
.container-header .mod-menu > li {
    margin: 0 !important;
    padding-left: 1.5rem !important;
    padding-right: 0.0rem !important;
}

/* Reduce footer height --------------------------------------------*/
/*.container-footer {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}*/

.container-footer .grid-child {
    padding-top: 0.5rem;
    padding-bottom: 0;
}

/*.container-footer p,
.container-footer ul,
.container-footer li,
.container-footer .moduletable {
    margin-top: 0;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}*/


/*start sida -----------------------------------------------------*/
.hero-start {
    width: 100vw;
    height: 100vh;

    /* Make it span the full browser width */
    margin-left: calc(50% - 50vw);

    display: flex;
    justify-content: center;
    align-items: center;

    background: url("/images/logga/start.jpg") center center / cover no-repeat;
}

.hero-logo {
    width: min(1200px, 70vw);
    height: auto;
}

/* Remove gap above start-page hero */
body:has(.hero-start) main,
body:has(.hero-start) .site-grid,
body:has(.hero-start) .container-component,
body:has(.hero-start) .com-content-article,
body:has(.hero-start) .com-content-article__body {
    margin-top: 0;
    padding-top: 0;
}

/* Ensure hero starts directly below header */
.hero-start {
    margin-top: 0;
}