/****************************************************************************/
/****************************************************************************/
/************************* custom changes ***********************************/
/****************************************************************************/
/****************************************************************************/
/****************************************************************************/

body {
  font-family: Tahoma, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.42857;
  color: #666;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

body a {
  cursor: pointer;
}

body a:hover {
  color: #5A853C;
}

#mainContent {
  padding: 20px 0 0 0;
}

/************************** Home page ******************************/

.section-landing {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(homehero.jpg) no-repeat center;
  background-size: cover;
  background-position: bottom;
  padding-bottom: 1px;
}

h2.section-landing-intro-heading {
  font-size: 27px;
  color: #507932;
  margin-bottom: 0px;
  margin-top: 10px;
  text-transform: initial;
  letter-spacing: 1px;
}

.section-landing .row>div .section-landing-heading {
  font-size: 9.5rem;
  color: #507932;
  text-transform: initial;
  margin-top: 10px;
  text-shadow: 2px 2px 4px #49742d;
  letter-spacing: 10px;
  font-weight: 500;
}

.section-landing .row>div .section-landing-sub-heading {
  margin-top: 19px;
  margin-bottom: 50px;
  font-size: 2.3rem;
  color: #fff;
  letter-spacing: 1px;
  text-transform: initial;
  text-shadow: 2px 2px 4px #49742d;
}

p.section-landing-description {
  border: 0px;
  text-align: center;
  font-weight: 300 !important;
  font-size: 1.1em;
  letter-spacing: 1px;
  color: #fff;
  max-width: 80%;
  margin-left: 10%;
  text-shadow: 1px 1px 2px #49742d;
}

.section-landing .container {
  display: flex;
  flex-wrap: wrap;
  padding: 0px 40px;
}

.section-landing .image-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 21px;
}

.section-landing .image-banner .image-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #5A853C;
  width: 100%;
  padding: 20px 0 35px 0;
  font-size: 18px;
}

.image-banner p {
  color: white;
}

.image-content {
  width: 100%;
  height: auto;
}

.image-content-home {
  width: 100%;
  height: auto;
}

.image-content-home {
  width: 100%;
  height: auto;
  max-width: 70%;
}

@media (max-width: 768px) {
  .image-content-home {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
}

.image-banner button {
  background: #D2E0B7;
  color: #6f9d4f;
  border: none;
  border-radius: 3px;
  padding: 6px 10px;
  font-weight: 600;
}

.banner-content {
  text-decoration: none;
  background-color: #D2E0B7;
  color: #6f9d4f;
  padding: 10px 40px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  display: inline-block;
}

.col-lg-12.home-footer {
  margin-top: 45vh !important;
}

p.section-landing-footer {
  color: #fff;
  font-size: 0.7em;
  font-weight: lighter;
  border: 0;
  letter-spacing: 1px;
}

span.year {
  font-weight: 600;
  color: #dada02;
}

@media screen and (max-width: 600px) {
  .col-lg-12.home-footer {
    margin-top: 26vh !important;
  }
}

.page_section p {
  border: none;
}

body {
  background-color: #f5f4e8 !important;
}

body .container {
  background-color: none;
}

@media (max-width: 768px) {
  .container {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .page_section {
    margin-left: 5px !important;
    margin-right: 5px !important;
  }

  html[dir=ltr] .table-fluid td.button-actions {
    padding-left: 0 !important; /* Remove the left padding */
    text-align: center; /* Center-align the content */
  }

  .menuitem {
    padding-left: 15px;
  }
}

tbody tr  td  p.lg-text {
  font-size: large;
}

#cases.view-grid.dataTable_wrapper.filter-input {
  display: flex; 
  align-items: center; 
  margin-bottom: 20px; 
  font-family: Arial, sans-serif;
}

.filter-inputs.filter.dropdown {
  float: left; 
  color: #333; 
  margin-left: 10px; 
  margin-bottom: 20px;
}

.filter-inputs.filter.search { 
  float: left; 
  color: #333; 
  margin-left: 100px; 
  margin-bottom: 20px; 
  width: 400px;
}

.prenumerationer-tr:hover,
.prenumerationer-tr:hover tr {
  cursor: pointer;
  background-color: #f9f9f9 !important;
}

.breadcrumb {
  display: none;
}

.content-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.column {
  flex: 1;
  max-width: 48%;
  padding: 30px 0px;
  min-width: 300px;
}

.pagination .page-item.active .page-link,
.pagination .page-item.active .page-link:focus,
.pagination .page-item.active .page-link:hover,
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover {
  background-color: #5A853C !important;
}

@media (max-width: 768px) {
  table.table>tbody>tr>td.truncate {
    padding-left: 10px !important;
  }

  .column {
    max-width: 100%;
    min-width: 100%;
  }

  .filter-inputs {
    flex-wrap: wrap !important; 
  }

  .filter.search {
    margin-left: 10px !important;
  }

  #prenumerationer-table_length {
    float: inline-start;
    margin-left: 10px;
    margin-bottom: 20px;
  }

  #select_product, #select_kategori {
    flex-wrap: wrap;
    margin-bottom: 20px;
  }

  #prenumerationer-table_filter {
    float: inline-start;
    margin-left: 10px;
    margin-bottom: 20px;
  }

}

.section {
  margin-top: 20px;
  width: 380px;
  height: 600px;
  /*contain: content;*/
  display: contents;
}

@media (max-width: 768px) {
  .section {
    max-width: 100%;
    min-width: 100%;
    height: auto;
  }
}

.section li {
  padding: 10px 10px 10px 0px;
  list-style: none;
  max-width: 90%;
}

@media (max-width: 768px) {
  .section li {
    padding: 10px 10px 10px 0px;
    list-style: none;
    max-width: 100%;
  }

  tbody tr .dropdown.action.open > ul.dropdown-menu {
    bottom: 100% !important;
    right: 100% !important;
    left: auto !important;
    top: auto !important;
    position: absolute !important;
  }
}

.section li:nth-child(even) {
  background-color: #ECF4E3;
  color: black;
}

.section li:nth-child(odd) {
  background-color: white;
  color: black;
}

/*.username-greeting {
  font-size: 20px;
    margin-left: 5px;
    margin-top: 20px;
    color: black;
    position: absolute;
  }
  
  @media (max-width: 768px) {
    .username-greeting {
      font-size: 20px;
      margin-left: 0px;
      margin-top: 20px;
      color: black;
      position: absolute;
    }
  }*/

.section-row {
  margin-top: 20px;
  width: 380px;
  contain: content;
  margin-right: 20px;
}

/***************** Navbar *******************/

.weblink {
  margin-left: 25px;
}

.dropdown {
  margin-left: 25px;
}

#navbarContent {
  padding-left: 0px;
  padding-right: 0px;
}

.navbar-togglerr {
  display: none;
} 

.navbar.navbar-expand-lg {
  min-height: 0px;
  margin-bottom: 0px;
}

.container.main-navbar {
  display: flex;
  align-items: center;
}

/* removed to reduce height
.navbar {
  position: relative;
  min-height: 124px;
  margin-bottom: 0px;
  border: 1px solid transparent;
} */

@media (min-width: 1200px) {
  .ms-auto {
    float: right !important;
    margin-right: -15px;
    margin-top: 12px;
  }
}


.navbar.position-static.navbar-dark,
.static-top.navbar-dark {
  background-color: #f5f4e8;
  border-color: transparent;
}

.navbar.position-static.navbar-dark .container,
.static-top.navbar-dark .container {
  display: flex;
  align-items: center;
  height: 124px;
}

.navbar-dark .navbar-nav>li>a,
.navbar-dark .navbar-nav>li>a {
  color: #000 !important;
}

.navbar.position-static .menu-bar>.navbar-nav>li>a,
.static-top.navbar .menu-bar>.navbar-nav>li>a {
  font-family: Tahoma, Helvetica, Arial, sans-serif;
  font-size: 0.9em;
  font-weight: 500;
}

.navbar-dark .navbar-nav>li>a:hover,
.navbar-dark .navbar-nav>li>a:hover {
  color: #000;
  background-color: #d6d6d6;
  border-bottom: 4px solid #8bb639;
  padding-bottom: 10px;
}

.navbar-dark .navbar-nav>.show>a,
.navbar-dark .navbar-nav>.show>a:hover,
.navbar-dark .navbar-nav>.show>a:focus,
.navbar-dark .navbar-nav>.open>a,
.navbar-dark .navbar-nav>.open>a:hover,
.navbar-dark .navbar-nav>.open>a:focus {
  background-color: #d6d6d6;
  color: #8a8a8a;
}

.accJS {
  margin-top: 20px;
  margin-left: 180px;
  color: #000;
  font-weight: 500;
  font-size: 20px;
}

.navbar-dark .navbar-nav>li>a:focus,
.navbar-dark .navbar-nav>li>a:focus {
  color: #89b32c;
  background-color: transparent;
  outline: 1px dashed #FFFFFF;
}

.nav>li>a {
  position: relative;
  display: block;
  padding: 10px 3px;
}

.navbar.position-static .menu-bar>.navbar-nav>.divider-vertical,
.static-top.navbar .menu-bar>.navbar-nav>.divider-vertical {
  height: 14px;
  margin: 0 3px;
  margin-top: 14.5px;
  border-right: 1px solid #fff;
  border-left: 1px solid #666;
}

.navbar-dark .navbar-togglerr,
.navbar-dark .navbar-toggler {
  border-color: #49742d;
}

.navbar-togglerr,
.navbar-toggler {
  /*position: absolute;*/
  right: 15px;
  float: right;
  margin-right: 15px;
  padding: 9px 10px;
  margin-top: 8px;
  margin-bottom: 8px;
  /*background-color: #49742d;*/
  background-image: none;
  border: 1px solid #49742d;
  border-radius: 0;
}

.navbar-collapse.collapse.sub-menu {
  background: white !important;
}

.navbar-collapse li>a:hover,
.navbar-collapse li>a:focus {
  background: transparent !important;
  color: #509030;
  border: none !important;
}

.navbar-collapse li>a .glyphicon-menu-down {
  padding-left: 5px;
}

.navbar-collapse li .dropdown-menu {
  margin-top: 0 !important;
  border: none;
  box-shadow: none;
}

.navbar-collapse .nav.show>a,
.navbar-collapse .nav.open>a {
  background: none;
}

/******************** Text ********************************/
a {
  color: #000000;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: Tahoma, Helvetica, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.1;
  color: #5A853C;

  a {
    color: #5A853C;
  }
}

h1,
.h1 {
  font-size: 35px;
}

/****************** buttons ******************/

#UpdateButton {
  background-color: #5A853C;
}

#UpdateButton:hover,
#UpdateButton:focus,
#UpdateButton:active {
  color: #fff;
  background-color: #4a5e30;
  text-decoration: none;
}

.btn-primary {
  display: inline-block;
  color: #fff;
  background-color: #5A853C;
  font-size: 1em;
  padding: 10px 20px;
  border: 0 none;
  box-shadow: none;
  border-radius: 5px;
  letter-spacing: 0;
  transition: all .25s ease-in-out;
  margin-top: 1.2em;
  font-family: Tahoma, sans-serif;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 20px;
  margin-top: 20px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #4a5e30;
}

.btn-info {
  display: inline-block;
  color: #fff;
  background-color: #5A853C;
  font-size: 1em;
  padding: 10px 20px;
  border: 0 none;
  box-shadow: none;
  border-radius: 5px;
  letter-spacing: 0;
  transition: all .25s ease-in-out;
  margin-top: 1.2em;
  font-family: Tahoma, sans-serif;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 20px;
  margin-top: 20px;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
  background-color: #4a5e30;
}

.btn-default {
  color: #83b027;
  background-color: #fff;
  border-color: #8cb52e;
}

.btn-default:hover {
  color: #87b229;
  background-color: #e6e6e6;
  border-color: #86b128;
}

.btn-default:focus,
.btn-default.focus {
  color: #86b129;
  background-color: #e6e6e6;
  border-color: #88b32b;
}

.btn-default:active,
.btn-default.active,
.show>.btn-default.dropdown-toggle,
.open>.btn-default.dropdown-toggle {
  color: #84b027;
  background-color: #e6e6e6;
  border-color: #89b42c;
}

.btn-homepage {
  display: inline-block;
  color: #fff;
  background-color: #5A853C;
  font-size: 1em;
  padding: 10px 20px;
  border: 0 none;
  box-shadow: none;
  border-radius: 5px;
  letter-spacing: 0;
  transition: all .25s ease-in-out;
  margin-top: 1.2em;
  font-family: Tahoma, sans-serif;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 20px;
  margin-top: 20px;
}

.btn-homepage:hover,
.btn-homepage:focus,
.btn-homepage:active {
  color: #fff;
  background-color: #4a5e30;
  text-decoration: none;
}

/* Sign in-buttons */
button[name="provider"] {
  background-color: #5A853C;
  color: white;
  font-size: 1em;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing: 0;
  transition: all .25s ease-in-out;
  margin-top: 1.2em;
  font-family: Tahoma, sans-serif;
  font-weight: normal;
  text-decoration: none;
  margin-bottom: 20px;
  
}

button[name="provider"]:hover,
button[name="provider"]:focus,
button[name="provider"]:active {
  background-color: #4a5e30;
}

.pagination.pagination-lg.justify-content-end {
  display: flex;
  justify-content: end;
}

.page-item.active.disabled > a {
  color: white;
}

.pagination .page-item:last-child .page-link,
.pagination .page-item:first-child .page-link,
.pagination>li:last-child>a.page-link,
.pagination>li:first-child>a.page-link {
  border-bottom-right-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-left-radius: 50%;
  border-top-left-radius: 50%;
}

/**************************** General ******************************/
.row {
  margin-left: 0px !important;
}

ul {
  list-style-position: inside;
}


/**************************** Startpage ******************************/
.section-landing ul{
  padding-left: 0;
  margin-right: 20px;
}

.section-landing h1, .section-landing-intro-heading h1{
  margin-top: 40px;
}

/**************************** Page header ******************************/
.page-heading{
  width: 100%;
}

/**************************** Forms ******************************/

form input:not([type="button"]):read-only{
  background-color: #eeeeee !important;
}

/**************************** Tables ******************************/
@media (max-width: 767px) {
    html[dir=ltr] .table-fluid td {
        padding-left: 1rem !important;
    }

    html[dir=ltr] .table-fluid td:before {
        display: block;
        margin-left: 0;
        float: none;
    }
}

table.alternating tr:nth-child(odd) {
  background-color: #ECF4E3 !important;
  color: black;
}

table.alternating tr:nth-child(even) {
  background-color: white;
  color: black;
  border-top:1px solid #ddd
}

table.alternating tr table tr:nth-child(odd), table.alternating tr table tr:nth-child(even){
  background-color: transparent !important;
  border-top:none !important;
}

/**************************** Knowledge Article ******************************/

body > form > div.container.ka-content-wrapper{
  background-color: #ffffff !important;
}

/**************************** footer ******************************/

footer a {
  color: white;
}

footer ul {
  margin: 20px;
  padding: 20px 80px 30px 20px;
  list-style: none;
  box-sizing: border-box;
  float: right;
}

#footerCustom {
  background-color: #241f19;
  position: relative;
  bottom: 0;
  z-index: 1;
  width: 100%;
  margin-top: 70px;

  &:before {
    content: "";
    width: 100%;
    height: 200px;
    position: absolute;
    left: 0;
    top: -94px;
    z-index: -1;
    background-image: url('border.svg');
    background-repeat: no-repeat;
  }
}

@media (max-width: 1800px) {
  #footerCustom {
    margin-top:100px;
  }
}

@media (min-width: 1200px) {
  #footerCustom:before {
    top: -95px;
    background-position: left -105px top;
  }
}

.footer-left {
  margin-bottom: 20px;
  margin-top: 20px;
  display: block;
  text-align: center;
  float: left;
  padding: 0 50px 20px 220px;
}

.footer-right ul {
  list-style: none;
}

.footer-right ul li {
  margin: 2px 0;
}

.footer-right ul li a {
  text-decoration: none;
  color: #ffffff;
}

.footer-right ul li a:hover {
  text-decoration: underline;
}

.footer-right {
  margin-left: auto;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-flow: row wrap;
  padding: 0 1.5em;
}

.footer-left img {
  margin-top: -5.0em;
  width: 80%;
  /* display: block; */
  height: 200px;
}

@media screen and (max-width: 1199px) {
  .footer-left {
    margin: 0px 110px 45px;
  }
}

@media screen and (max-width: 991px) {
  footer .container {
    justify-content: space-between;
    width: 100%;
  }

  .footer-left {
    margin: 0px 110px 50px;
  }

  /* @media screen and (max-width: 991px) { */
    footer .container {
      justify-content: center;
      width: 100%;
      flex-direction: column;
    }

    #footerCustom:before {
      top: 0;
      height: 100px;
      background-position: top left;
    }
  /* } */

  .footer-left {
    padding: 0;
    text-align: left;
    width: 100%;
    float: none;
    position: relative;
    z-index: 1;
    padding-left: 20px;
    margin: 0px 0px 0px 0px;
    /* margin: 0px 110px 50px; */
  }

  .footer-left img {
    width: 25%;
    /* height: auto; */
    margin-top: 0;
    margin-left: 0;
    margin-right: auto;
  }
/* 
  .footer-left {
    margin: 20px 20px 0px;
  } */

  /* @media screen and (max-width: 991px) { */
    .footer-right {
      position: absolute;
      top: 0;
      right: 0;
      z-index: 10;
      margin-left: auto;
      margin-right: auto;
    }

    /* .footer-left {
      position: relative;
      z-index: 1;
    } */

    footer ul {
      margin: 20px;
      padding: 0px 0px 0px 0px;
      list-style: none;
      box-sizing: border-box;
      float: right;
    }
   } 
/* ************************************************************************************ */
/* ************************************************************************************ */
/* ************************************************************************************ */
/****************************************************************************/
  

