


/* Allmänt -------------------------- */

html, body {
    background: #fafafa;
    color: #333333;
    height: 100%;
    margin: 0;
  }

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}
  
h1, h2, h3, h4, h5, h6 {
  color: #444444;
}

ul {
  margin: 0;
}

.bg-steel {
  background-color: #5e5e5e;
}

.site-header .navbar-nav .nav-link {
  color: #cbd5db;
}

.site-header .navbar-nav .nav-link:hover {
  color: #ffffff;
}

.site-header .navbar-nav .nav-link.active {
  font-weight: 500;
}

.content-section {
  background: #ffffff;
  padding: 10px 20px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-bottom: 20px;
}

/* För att få texten på menyn under hamburgaren vid liten skärm */
.navbar-nav, .align-flag {
  text-align: right;
}

/* ---------------------------- */
/* Förstasidan */
.section-price h3 {
  margin-bottom: 10px;
}

.section-price .one_year_card {
  background-color: #009879;
}

.section-callforaction p {
  color: #009879;
}
.section-callforaction button {
  background-color: #009879; 
  color: white;
}
/* ---------------------------- */

/* Styling av eventssidans tabell */

.table_event {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  min-width: 400px;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.table_event thead tr{
  background-color: #009879;
  color: #ffffff;
}

@media only screen and (min-width: 767.9px) {
  .table_event th,
  .table_event td {
    padding: 12px 15px;
  }
} 
 
/* Färga varannan rad */
.table_event tbody tr:nth-of-type(even){
  background-color: #dddddd
}

.table_event tbody tr:last-of-type{
  border-bottom: 10px solid #009879;
}



/* Längden på varje rad */
/* -------------------------- */
.table_event th:nth-child(1), .table_event td:nth-child(1) {
  width: 70%; /* Namn-kolumn */
}

.table_event th:nth-child(2), .table_event td:nth-child(2) {
width: 20%; /* Datum-kolumn */
}

.table_event th:nth-child(3), .table_event td:nth-child(3) {
width: 15%; /* Händelse-kolumn */
}

.table_event th:nth-child(4), .table_event td:nth-child(4) {
width: 2%; /* Aktiv-kolumn */
}
.table_event th:nth-child(5), .table_event td:nth-child(5) {
width: 2%; /* Edit-kolumn */
}
.table_event th:nth-child(6), .table_event td:nth-child(6) {
width: 2%; /* Delete-kolumn */
}
/* ----------------------------- */

/* Knapparna på eventsidan */

.event-pag-btn-info {
  color: #fff;
  background-color: #009879;
  border-color: #009879;
}

.event-pag-btn-outline-info {
  color: #333;
  border-color: #009879;
}

.event-pag-btn-info:hover,
.event-pag-btn-outline-info:hover{
  color: #fff;
  background-color: #01b38f;
  border-color: #01b38f;
}

/* Knappar på eventsidan */
.btn_event {
  background-color: #009879;
  margin-top: 20px; 
  margin-bottom: 30px;

}

.btn_event:hover {
  background-color: #01b38f;
}

/* ---------------------------- */

/* För flatpickr kalendern */

/* Dölj veckodagarnas namn */
.flatpickr-weekdays {
  display: none !important;
}


/* Minska storlek på fonter i eventlistan när skärmen blir mobilstorlek */

@media only screen and (max-width: 767.9px) {
  
  .table_event tbody td,
  section,
  .content-section {
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 0px;
    --bs-gutter-x: 0px;
    border:0;
  }

  .table_event {
    border-radius: 0px;
    font-size: 0.6em;
  }

  .table_event th:nth-child(1), .table_event td:nth-child(1) {
    width: 20%; /* Namn-kolumn */
  }
  .table_event th:nth-child(2), .table_event td:nth-child(1) {
    width: 10%; /* Namn-kolumn */
  }
}