/*
Theme Name: Tool Theme
Author: Joakim Krook
Description: A website playground in tune with Bootstrap
Version: 1.0
Tags: bootstrap
*/
:root {
--primary: #036788;
--primary-hover: #0c7f93;

--secondary:#EAF6F8;
--secondary-hover:#bdeff8;

  --iceblue: #259FB5;
  --blue: #1e90ff;
  --white: #ffffff;
  --green: #518575;
}

html {margin-top:0px!important;}


#breadcrumbs {font-size: 0.7rem; padding-left:10px;}

.aligncenter {justify-content: center !important;}


/* BUTTONS */
.btn-theme-primary {
  background-color:var(--primary);
  color:#FFF;
  font-weight:700;
  font-size: 0.9rem!important;
  margin-top: 10px;
}
.btn-theme-primary:hover {
  background-color:var(--primary-hover);
  color:#FFF;
}

.btn-theme-primary-tag {
  background-color:var(--primary);
  color:#FFF;
  margin-top: 10px;
}
.btn-theme-primary-tag:hover {
  background-color:var(--primary-hover);
  color:#FFF;
}


.btn-theme-secondary {
  background-color:var(--secondary);
  color:#259FB5;
  font-weight:700;
  font-size: 0.9rem!important;
}
.btn-theme-secondary:hover {
  background-color:var(--secondary-hover);
  color:#259FB5;
}

.scrolling-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  padding: 1rem 0;
}

.scrolling-wrapper a {
  display: inline-block;
  margin-right: 10px;
}

/* BUTTONS */

.navbar ul li a {font-weight: 700!important; font-size: 15px; color:#EAF6F8;}

.custom-thumbnail-class {
  min-height: 400px; /* Justera höjden efter behov */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 50;
  flex: 50%;
}

.accordion-button:not(.collapsed) {background-color: #FFFF;}
.accordion-button:focus {border:0px solid #FFFF;}

.newscardsml-wrapper {background-color:#f4f4f4; border-radius:10px 10px 10px 10px;}
.newscardsml-img {height:100px; border-radius:10px 10px 10px 10px; background-size: cover;}
.newscardsml-txt {line-height:1.2rem; font-size:0.8rem;}

/* Responsive layout - makes a one column layout instead of a two-column layout */
@media (min-width: 992px) {

  .custom-text-class {color:#FFF;}  

.flex-container {
    display: flex;
    flex-direction: row;
    box-shadow:0 10px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    border-radius:10px 1px 10px 10px;  
    align-items: flex-start;
  }


.custom-text-class {margin-top:-10px;
position: relative; z-index: 100;}
}

/* Responsive layout - makes a one column layout instead of a two-column layout */
@media (max-width: 800px) {
    .flex-container {
      flex-direction: column;
    }

    .custom-text-class { color:#FFF;} 
  }

.footer-block a {font-color:#FFF;}

.obj { background-color: #24425f; border-radius: 5px;}

.header .container-fluid { margin-bottom:20px; }
.header .container-fluid .col { background-color:#222; color:#fff; padding: 30px; min-height:10rem; }
.header .container-fluid .col .header-content { align-items: center; display: flex; justify-content: center; }

/* WRAPPERS */
.txt-wrapper img {border-radius:0px; display: block; margin-right: 0px; padding-right: 0px;}


.txt-news-wrapper {
padding-left:10px;
padding-right:10px;
}

/* FONT TEXT & HEADLINES */
a {color: #24425f; font-weight: 500;}

h1,h2,h3,h4 {
  font-weight: 400;
  font-style: normal;
}

.dm-serif-text-regular {
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-style: normal;
  }

  .roboto-regular {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size:2rem;
  }

  .bebas-neue-regular {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
  }


  .noto-serif {
    font-family: "Noto Serif", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
  }
  

 /* CARDS */
 
 .card-text { font-size:0.8rem; line-height:0.5rem; height:40px;}
 .card-body p { font-size:0.8rem; line-height:1.2rem;}


/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {}
.txt-wrapper { padding-left:15px; padding-right: 15px; line-height: 1.5rem;}
.headline-wrapper { padding-left:15px; padding-right: 15px;}
.category-info-wrapper {background-color:#f4f4f4; padding:20px; margin-bottom:20px; margin-top:10px; font-size:0.8rem; line-height:1.3rem;}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
	h1 { font-size: 32px;}
	h2 { font-size: 30px;}
	h3 { font-size: 25px;}
	h4 { font-size: 18px;}

  .category-info-wrapper {background-color:#f4f4f4; padding:20px; margin-bottom:20px; margin-top:20px; font-size:0.8rem; line-height:1.3rem;}

}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
	h1 { font-size: 32px;}
	h2 { font-size: 30px;}
	h3 { font-size: 25px;}
	h4 { font-size: 18px;}
    }


h1 {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size:2rem;
  }

h2 {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size:1.5rem;
}

a.btn {font-size: 13px;}
  

h1, h2, h3, h4, h5, h6 {color:#4a4a49;}

body {
/* body {background-color: #f0e3dc; color: #24425f; #24425f;} */
  /*  font-family: "Inter", sans-serif; */
/*  font-family: "Roboto", sans-serif; */
-webkit-font-smoothing: antialiased;
  /*  font-family: "Inter", sans-serif; */
  /*color:#1e1e1e;*/
  color:#4a4a49;
  margin-top: Opx;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 30px;
/*  background-color: #efefef; */
  background-color: #fff;
}
  

.info-box {
    border-radius: 6px;
    background-color: #f1efee;
    padding: 25px;
    
}

.single-member .block-acf.block-testimonial {
    margin: 4rem -7rem;
}


.wp-block-buttons .wp-block-button__link {
    background-color: #447953; /* Bakgrund för varje knapp */
    color: #ffffff; /* Textfärg */
    padding: 12px 25px; /* Ökad padding för större knappar */
    border-radius: 2rem; /* Mindre avrundade hörn */
    font-weight: 300;
    margin-bottom: 1rem;
    margin-top: 1rem;
}


@media (max-width: 768px) {
    h1 {
        font-size: 24px; /* Mindre rubrik på mobil */
    }
}

