@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: rgba(124, 150, 114, 0.4509803922);
  padding-top: 50px;
}

.wrapper {
  display: flex;
}

main {
  max-width: 1160px;
  margin-inline: auto;
  background-color: #fff;
  box-shadow: 2px 2px 16px rgba(0, 0, 0, 0.3960784314);
  padding: 1rem;
}

footer {
  width: 100%;
}
footer .footer-line {
  margin: 1rem auto;
}
footer .menus {
  margin: 0 auto;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}
footer .menus ul {
  list-style: none;
}
footer .menus a {
  text-decoration: none;
  font-weight: 600;
  color: #129900;
}
footer .menus a:hover {
  color: #000;
}
footer .menus input[type=text] {
  padding: 5px;
  border-radius: 6px;
  border: none;
}
footer .menus input[type=submit] {
  padding: 5px;
  border-radius: 6px;
  border: none;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
}

.bar {
  display: flex;
  align-items: center;
  height: 50px;
  background-color: #129900;
  color: rgb(255, 255, 255);
  padding: 0px 15px;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.6980392157);
}

.logo a {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
}
.logo a img {
  width: 40px;
  margin-right: 10px;
}

.logo span {
  color: #000000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1260px;
  margin: auto;
}

.header-menu {
  list-style: none;
  display: flex;
}

.header-menu a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 8px 14px;
}

.header-menu a:hover {
  color: rgb(255, 255, 255);
  background: rgba(255, 255, 255, 0.4);
  border-radius: 6px;
}

.sub-menu {
  position: absolute;
  width: 200px;
  background-color: rgb(18, 153, 0);
  box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.1843137255);
  margin-top: 10px;
  opacity: 0;
  z-index: -999;
  transition: all ease 0.5s;
  border-radius: 0px 0px 8px 8px;
}
.sub-menu li {
  list-style: none;
  padding: 14px 12px;
}

.header-menu li:hover .sub-menu {
  z-index: 99;
  opacity: 1;
  margin-top: 10px;
}

.burger {
  display: none; /* Hidden by default on larger screens */
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
  transition: all 0.3s ease;
}

/* Steg 1: Använd den unika klassen för att rikta in dig på föräldraobjekt med undermenyer */
.header-menu .menu-item-has-children > a {
  /* Skapar utrymme för pilen */
  padding-right: 20px;
  position: relative;
}

/* Steg 2: Lägg till pilen (innehållet) efter länken */
.header-menu .menu-item-has-children > a::after {
  content: " ▼"; /* Detta är en triangelsymbol (▼) */
  /* Du kan också använda en font-ikon som Font Awesome här */
  font-size: 0.7em;
  position: absolute;
  right: 5px; /* Justera positionen till höger */
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

/* Valfritt: Rotera pilen när undermenyn är synlig (CSS för din hover-effekt kan behövas) */
.header-menu .menu-item-has-children:hover > a::after {
  /* Roterar pilen när man hovrar */
  transform: translateY(-50%) rotate(180deg);
}

.home-title {
  color: #129900;
  text-align: center;
  padding: 1.5rem;
}

.granen {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  padding: 1rem 1rem;
  background: #fff;
}
.granen .img {
  background: url(../img/brfgranen.jpg) no-repeat top center/cover;
  border-radius: 6px;
}
.granen .text {
  background: #fff;
}
.granen p {
  margin-bottom: 6px;
}

.news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-radius: 6px;
  padding: 4rem 1rem;
  margin-top: 20px;
}
.news h3 a {
  text-decoration: none;
  color: #000000;
}
.news a {
  font-weight: 500;
  color: #1044ff;
  text-decoration: none;
}
.news a:hover {
  color: #129900;
}
.news hr {
  height: 1px;
  color: rgba(0, 0, 0, 0.1882352941);
  background: rgba(0, 0, 0, 0.1882352941);
  font-size: 0;
  border: 0;
  margin-bottom: 8px;
}

.news-item {
  background: #eeeeee;
  border-radius: 8px;
  box-shadow: 2px 5px 7px rgba(0, 0, 0, 0.2196078431);
  padding: 8px;
}
.news-item .post-thumb {
  float: left;
  max-width: 100%;
  max-height: 120px;
  border-radius: 6px;
  border: 4px solid #ffffff;
  margin-right: 5px;
}

.posted {
  font-size: 12px;
  font-style: italic;
  color: #727272;
}

.single-posts {
  padding: 0.5rem;
}
.single-posts .post-title {
  margin-left: 15px;
}
.single-posts .post-wrap {
  padding: 10PX;
}
.single-posts .post-wrap img {
  max-height: 200px;
  border-radius: 8px;
  box-shadow: 2px 3px 7px rgba(0, 0, 0, 0.4);
}
.single-posts .post-wrap .post-content {
  margin-right: 2rem;
}

.sidebar {
  max-width: 250px;
  background: #129900;
}

.portinfo .head h1 {
  text-align: center;
  padding: 20px;
}
.portinfo .head .top-logo {
  max-height: 100px;
  position: absolute;
  top: 60px;
}
.portinfo .portinfo-content {
  padding: 2rem;
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.foot .bottom-logo {
  max-height: 80px;
}

.portinfo-archive .posted {
  color: #fff;
}
.portinfo-archive .port-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #129900;
  color: #fff;
  border-radius: 6px 6px 0px 0px;
  padding: 5px 20px;
}
.portinfo-archive .port-content {
  padding: 1rem;
}
.portinfo-archive h2 {
  text-align: center;
  padding: 10px;
  margin-bottom: 10px;
}
.portinfo-archive .port-item {
  border: 0px solid #333;
  margin-bottom: 10px;
  border-radius: 6px;
  background: #fcfcfc;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4196078431);
}
.portinfo-archive .port-item h3 a {
  text-decoration: none;
  color: #ffffff;
}
.portinfo-archive .port-item h3 a:hover {
  color: #0007e0;
}
.portinfo-archive .port-item a {
  color: #0007e0;
  font-weight: 600;
}
.portinfo-archive .port-item a:hover {
  color: #129900;
}
.portinfo-archive .pagination {
  text-align: center;
  font-size: 18px;
}
.portinfo-archive .pagination a {
  text-decoration: none;
  color: #0007e0;
}

.wp-post-image {
  max-width: 400px;
  max-height: 400px;
}

@media screen and (max-width: 768px) {
  .logo a {
    font-weight: 600;
    font-size: 20px;
  }
  .header-menu {
    display: flex;
    flex-direction: column;
  }
  .menu-header-menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 30px; /* Adjust as needed */
    right: 0px;
    opacity: 0;
    background-color: rgb(104, 104, 104);
    transition: 0.5s ease-in-out;
    z-index: -1;
  }
  .menu-header-menu-container.active {
    display: flex;
    top: 50px;
    opacity: 1;
    transition: 0.5s ease-in-out;
  }
  .header-menu li {
    margin-left: 5px;
    padding: 18px 0px;
  }
  .sub-menu {
    display: flex;
    flex-direction: column;
    background-color: rgb(138, 138, 138);
  }
  .burger {
    display: block; /* Visible on smaller screens */
    margin-right: 8px;
  }
  .burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .burger.toggle .line2 {
    opacity: 0;
  }
  .burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  .news {
    grid-template-columns: repeat(1, 1fr);
  }
  .news-item {
    margin: auto;
    width: 90%;
  }
  .granen {
    display: block;
  }
  .granen .img {
    display: none;
  }
  .post-wrap {
    flex-direction: column;
  }
  .post-wrap .post-content {
    margin-right: 2rem;
  }
  .portinfo h1 {
    font-size: 22px;
  }
  .portinfo .top-logo {
    height: 70px;
  }
}/*# sourceMappingURL=main.css.map */