﻿/* -----------------------------------------------
  We start with mobile, from tiny to 320px (801px)
  Breakpoints: 321px, 401px, 801px and 901px
----------------------------------------------- */

/* HURTIGLINKS */
p.kvik-link {
  font-size: .7rem;
  font-weight: 700;
  text-align: center;
  margin: 0 !important;
  padding: 0 !important;
}
p.kvik-link a {
  font-weight: 700;
}

div.hurtiglinks {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin-top: .2rem;
}

div.hurtiglinks div.contact {
  height: 4.5rem;
  width: 100%;
  background: #e8e8e8;
  text-align: center;
  padding-top: 1.5rem;
}

div.hurtiglinks div.contact a {
  text-decoration: none;
}


div.hurtiglinks div.contact {
  background-color: rgb(153, 102, 51) !important;
  transition: all 400ms ease-in-out;
}
div.hurtiglinks div.contact p,
div.hurtiglinks div.contact a {
  color: #fff;
}

div.hurtiglinks div.contact:hover {
  background-color: rgb(186, 125, 63) !important;
}
div.hurtiglinks div.contact:hover p,
div.hurtiglinks div.contact:hover a {
  text-shadow: 1px 1px #000;
}


div.hurtiglinks div.contact:nth-child(even) {
  background-color: rgb(23, 40, 60) !important;
  transition: all 400ms ease-in-out;
}
div.hurtiglinks div.contact:nth-child(even) p,
div.hurtiglinks div.contact:nth-child(even) a {
  color: #fff;
}

div.hurtiglinks div.contact:nth-child(even):hover {
  background-color: rgb(35, 69, 107) !important;
}
div.hurtiglinks div.contact:nth-child(even):hover p,
div.hurtiglinks div.contact:nth-child(even):hover a {
  text-shadow: 1px 1px #000;
}


div.hurtiglinks div.contact p {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}



/* make the yellow text break down under */
div.hurtiglinks div.contact span {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: #ff0;
  padding: 5px 0;
}


/* ---  LOGIN-LOGOUT --- */
div.login-logout.phone div.login,
div.login-logout.phone div.logout {
  width: 6rem;
  right: -0.5rem;
}

div.login-logout.phone div.glyphicon.logout:before {
  content: "LOG UD ";
  color: white;
  font-family: roboto, sans-serif;
  font-weight: 600;
}

div.login-logout.phone div.glyphicon.login:before {
  content: "LOG IND ";
  color: white;
  font-family: roboto, sans-serif;
  font-weight: 600;
}

header h1 {
  white-space: normal !important;
}

div.glyphicon.profile {
  display: none;
}

div.login-logout {
  max-width: 100px;
  margin: 15% auto;
  padding: 0;
  border: 0;
}

div.login-logout li.profile {
  display: none !important;
}

div.login-logout li.login,
div.login-logout li.logout {
  width: 98%;
}

div.login-logout li.logout {
  background-image: none;
  background-color: #A9864B;
  border-color: #A9864B;
}

div.login-logout div.user-profile {
  text-align: center;
}

div.login-logout div.user-profile a {
  font-size: small !important;
}

div.outer-footer {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

footer {
  min-height: 1px;
  padding: 0;
}

div.sitemap a {
  opacity: .25;
}


section.mid-column div.content-box {
  margin: 0.5em 0 1em 0;
  padding: 0.5em 0;
  background-color: #fff;
}

section.mid-column div.single-news {
  padding: 0 1rem;
}

section.mid-column div.content-box h1,
section.mid-column div.single-news h1 {
  background-color: #96ADC8;
  color: #17283c;
  margin: 0;
  padding: 2px 1.5rem;
}

section.mid-column div.content-box h2,
section.mid-column div.single-news h2 {
  background-color: #96ADC8;
  color: #17283c;
  margin: 0;
  padding: 2px 1.5rem;
}

section.mid-column div.content-box h1,
section.mid-column div.single-news h1 {
  font-size: 1.8em;
  font-weight: 700;
}

section.mid-column div.content-box h2,
section.mid-column div.single-news h2 {
  font-size: 1.3em;
  font-weight: 550;
}

section.mid-column div.single-news h2 {
  background-color: #E8E8E8;
  margin: 0 0.7em 0.5em 0.7em;
  padding: 0 1em;
}

section.mid-column div.content-box h3,
section.mid-column div.single-news h3 {
  font-size: 1.1em;
  font-weight: 600;
}

section.mid-column div.single-news h3 {
  margin: 0 1.1em;
  padding: 0 1.1em;
}

section.mid-column div.content-box p,
section.mid-column div.single-news p {
  padding: .5rem 1.5rem;
}

section.mid-column div.credits {
  margin: 0 1%;
  padding: 0.5% 0 0 1%;
  border-top: solid 1px #a9864b;
  text-align: right;
  opacity: 1;
  color: #aaaaaa;
  background-color: #ffffff;
  font-size: 80% !important;
}


/* ----------- SIDEHEADERE ------------- */
section.mid-column div.sideheadere {
  margin-top: 12px;
  border: none;
  border-top: 6px #bd9f6b solid !important;
  /*#f57031*/
}

section.mid-column div.sideheadere .inner h1 {
  background-color: white;
}
/* -------------------------------------- */



/* KALENDERSIDE */
i.user-name {
  line-height: 0 !important;
  font-size: .1rem !important;
  display: none !important;
}

table.calendar div.calendar-activity {
  position: relative;
  margin: 0;
  padding: 0;
}


/* LATEST NEWS */
div.latest-news {
  line-height: 1;
}

div.latest-news div.page {
  margin: 1px;
  padding: 0 5px;
  border: none;
  border-bottom: 1px solid;
  border-radius: 0;
  overflow: hidden;
}

div.latest-news div.page .flex div {
  width: 100%;
}

div.latest-news div.text {
  width: 100%;
  wont-size: 0.8em;
  margin: 0 !important;
  padding: 0 !important;
  border: none;
}

div.latest-news div.text p {
  margin: 0 !important;
  padding: 0 !important;
}

div.latest-news div.image {
  display: none !important;
}
div.latest-news div.image img {
  display: none !important;
}

div.latest-news span.date {
  font-size: 75%;
  margin: 0 0 5px 0 !important;
  padding: 0 !important;
}


/* From klubsport css */
section.mid-column div.latest-news .page h1,
section.mid-column div.latest-news .page h2,
section.mid-column div.latest-news .page h3 {
  background-color: #fff;
  margin: 0 !important;
  padding: 5px 0 !important;
}

section.mid-column div.latest-news .page h1 a,
section.mid-column div.latest-news .page h2 a,
section.mid-column div.latest-news .page h3 a {
  font-size: 120%;
  font-weight: 400;
}

.latest-news .page .date {
  display: block;
  font-size: 75%;
  color: #999;
}

/* Hoved overskrift */
section.mid-column .latest-news>div>h2 {
  background-color: #404E5C;
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0;
  padding: .25rem .5rem !important;
}

/* ------------------------- */



@media screen and (min-width:321px) {

}


@media screen and (min-width:401px) {

  div.hurtiglinks {
    gap: .5rem;
  }

  div.hurtiglinks div.contact {
    height: 6rem;
    width: calc(50% - .5rem);
  }

  div.hurtiglinks div.contact p {
    font-size: 1.5rem !important;
  }

}


@media screen and (min-width:801px) {

  div.hurtiglinks div.contact {
    height: 8rem;
    width: calc((100% - 1.5rem) / 4);
    white-space: normal;
    padding-top: 2rem;
  }

  div.hurtiglinks div.contact p {
    font-size: 1.8rem !important;
    font-weight: 400;
  }
}


/*------------------------------------------------*/

@media screen and (min-width: 901px) {

  div.login-logout div.user-profile {
    margin: 0;
    padding: 0;
    font-size: smaller;
    font-family: roboto, sans-serif;
    background-color: #3286a63b;
  }

}