/*
Theme Name:   Far for livet
Theme URI:    http://supertusch.dk/theme/ffl/
Description:  Basically Bootstrap 4 Child Theme created for Far for livet 2018
Author:       Supertusch
Author URI:   http://supertusch.dk
Template:     basically-bootstrap-4
Version:      1.0.0
Domain Path: /languages/
Text Domain:  ffl
*/

/* Fonts */
@import url('https://fonts.googleapis.com/css?family=Asap:400,500,700');
* {
  -webkit-font-smoothing: antialiased;
}
html {
  font-size: 100%;
  font-weight: 400;
}
body {
  font-family: 'Asap', sans-serif;
}

/* General */
a:focus,
a:hover {
  text-decoration: none;
  color: inherit;
  outline: none;
}
button:focus,
button:hover {
  outline: none;
}
h1 {
  font-size: 3.125rem;
  font-weight: 700;
}
h2 {
  font-size: 2.5rem;
  font-weight: 700;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
}
p {
  font-size: 1rem;
  line-height: 1.5rem;
}
.button,
.wpcf7-submit {
  display: block;
  border-radius: 5px;
  min-width: 250px;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  padding: 14px;
  border: 1px solid;
}
.button:hover,
.button:focus {
  text-decoration: none;
  color: #ffffff;
}
input:focus {
	outline: 0;
}

.page-container {
  min-height: initial;
}

/* Colors */
.blue-background {
  background-color: #346EA5;
  color: #ffffff;
}
.button.blue-background:hover {
  background-color: transparent;
  border: 1px solid #346EA5;
  color: #346EA5;
}
.yellow-background {
  background-color: #EEB65E;
  color: #ffffff;
}
.button.yellow-background:hover {
  background-color: transparent;
  border: 1px solid #EEB65E;
  color: #EEB65E;
}

/* Navigation */
#header-menu .menu-item {
  padding: 0 20px;
}
#header-menu > .navbar-nav > .menu-item > .nav-link {
  font-size: 1rem;
  color: #000000;
  font-weight: 700;
}
.navbar-light .navbar-toggler {
  position: absolute;
  top: 20px;
}
.dropdown-menu {
  background-color: #346EA5;
  border: none;
  border-radius: 0;
  margin-top: 19px;
  min-width: 15rem;
  padding: 0;
}
.menu-item-has-children > .dropdown-menu .nav-link,
.menu-item-has-children > .dropdown-menu .nav-link:hover,
.menu-item-has-children > .dropdown-menu .active .nav-link {
  color: #94BCE2;
  line-height: 1.75rem;
  border-bottom: 1px solid #255786;
}
.menu-item-has-children > .dropdown-menu .menu-item:last-of-type .nav-link {
  border: 0;
}
.dropdown-menu .menu-item:hover {
  background-color: #255786;
}

/* Header */
.page-header {
  padding: 0;
}
.page-header .row {
  height: 78px;
}
.custom-logo {
  /* max-width: 140px; */
  position: relative;
  z-index: 1;

  width: 140px;
  position: relative;
  z-index: 1;
  /* background: #f8f6ec; */
  padding: 20px;
  height: 140px;
  object-fit: contain;
}
.custom-logo-link {
  position: absolute;
  /* margin-top: 15px; */
  margin-top: 0;
}
.custom-logo-link:before {
  content: '';
  position: absolute;
  top: -10px;
  left: -5px;
  width: 100%;
  height: 92%;
  background: #f8f6ec;
  z-index: 1;
  border-radius: 50%;
}
.hero-image {
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  justify-content: flex-end;
  align-items: center;
  position: relative;
}
.entry-title {
  color: #ffffff;
  margin-top: 0px;
}
.hero-image hr {
  border: 3px solid #4585C1;
  width: 50%;
  position: absolute;
  left: 0;
  bottom: 14%;
}

.hero-title {
  /* margin-bottom: 50px; */
  margin-bottom: 100px;
  text-shadow: 0 0 10px rgba(0,0,0,.3);
}
.teaser {
  color: #ffffff;
  text-align: center;
  /* margin-bottom: -20px; */
  line-height: 2rem;
}

/* Front page */
.page-template-page-front p {
  font-size: 1.125rem;
  line-height: 1.685rem;
}
.front-grid {
  display: grid;
  grid-auto-columns: 1fr;
  grid-gap: 20px;
  grid-template-areas: "a b c"
                       "d d e";
}
.front-grid-item:nth-child(4) {
  grid-area: d;
}
.front-grid-item .grid-item-link {
  position: relative;
  display: block;
  background: linear-gradient(to top, #000, #999);
}
.grid-image {
  background-position: center;
  background-size: cover;
  height: 328px;
  position: relative;
  opacity: .7;
}
.grid-text {
  color: #346EA5;
  position: absolute;
  background-color: #ffffff;
  opacity: .85;
  padding: 20px;
  bottom: 15px;
}
.grid-text svg {
  margin-bottom: -7px;
}
.grid-heading {
  text-transform: uppercase;
  font-size: 1.25rem;
  font-weight: 700;
}
.grid-teaser {
  font-size: 1.25rem;
}

/* Themes */
.theme-list {
  margin-top: 100px;
}
.theme-list h2 {
  text-align: center;
}
.theme-list a:hover {
  text-decoration: none;
}
.theme-link {
  border-bottom: 1px solid #DBDBDB;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 82px;
}
.theme-link-text {
  color: #6E6E6E;
  font-size: 1.56rem;
  font-weight: 700;
}

/* Content */
.content-row {
  margin-bottom: 30px;
}
.inline-fact {
  background-color: #ececec;
  padding: 30px;
}
.inline-fact ul {
  list-style: none;
}
.inline-fact li {
  margin-bottom: 15px;
}
.inline-fact li:before {
  content: "\2022";
  color: #4585C1;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}
.quote {
  background-color: #ececec;
  padding: 30px;
  text-align: center;
  position: relative;
}
.quote:before {
  content: '“';
  font-size: 4.5rem;
  color: #4585C1;
  position: absolute;
  left: 20px;
  top: -10px;
}
.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.fact-box {
  background-color: #346EA5;
  color: #ffffff;
  padding: 30px;
}
.fact-box h3 {
  text-align: center;
}
.paragraph-with-fact-box {
  padding-left: 30px;
}

/* activity */
.activity-logo {
  /* margin-bottom: 30px; */
  padding: 20px 50px;
  margin: 0;
  background: #fff;
}
.activity-info-box {
  padding: 30px;
  font-size: .875rem;
}
.activity-info-box-header {
  font-weight: 700;
}
.activity-info-box-text {
  margin-bottom: 20px;
}
.activity-info-box-text a,
.activity-info-box-text a:hover {
  color: #ffffff;
}
.media-content {
  margin-top: 30px;
}

/* Activities */
.activity-filters {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.input-filter {
  border: none;
  border-bottom: 1px solid #000000;
  background: none;
  /* height: 30px; */
  margin-top: 25px;
  font-size: 18px;
  border: 1px solid #DBDBDB;
  background-color: transparent;
  padding: 10px;
}
.activities {
  margin-top: 60px;
}
.isotope-item {
  min-height: 460px;
  margin-bottom: 60px;
}
.past-activities,
.upcoming-activities {
  margin-bottom: 60px;
}
.create-activity {
  margin: 60px 0;
  height: 50px;
}

@media (max-width: 420px) {
  .activity-filters {
    align-items: stretch;
    flex-direction: column;
    display: grid;
    grid: auto-flow auto / repeat(2, minmax(0, 1fr));
    grid-gap: 10px;
  }
  .activity-filters input {
    margin-right: 0;
    -webkit-appearance: none;
    font-size: 16px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  }
  .activity-filters > a.search-activities {
    margin: 0;
    grid-column: span 2;
    justify-self: stretch;
    font-size: 1rem;
    height: auto;
    border: 0;
  }
  .create-activity {
    display: grid;
    justify-content: end;
    height: auto;
  }
  .create-activity .all-activities {
    position: static;
    margin-top: 3em;
    margin-bottom: 1em;
  }
  .activities {
    margin-top: 0em;
  }
}

/* Activity form */
.input-area {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.input-area-age,
.input-area-activity,
.input-area-signup {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
}
.input-area .label,
.input-area-age .label,
.input-area-activity .label,
.input-area-signup .label {
  width: 100%;
  text-align: right;
  margin-right: 10px;
  color: #6E6E6E;
  font-weight: 700;
  font-size: 1.125rem;
  margin-top: 8px;
}
.input-area-signup .label {
  margin-right: -5px;
}
.input-area-age p {
  width: 230px;
}
.input-area-activity p {
  width: 277px;
}
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
  font-size: 1.125rem;
  border: 1px solid #DBDBDB;
  background-color: transparent;
  padding: 10px;
}
.input-accept,
.submit-area {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}
.submit-area {
  margin-top: 20px;
}
.wpcf7-form-control-wrap input[type='number'] {
  width: 60px;
}
@media screen and (min-width: 415px) {
  .wpcf7-form-control-wrap input[type='text'],
  .wpcf7-form-control-wrap input[type='email'],
  .wpcf7-form-control-wrap input[type='url'],
  .wpcf7-form-control-wrap input[type='file'],
  .wpcf7-form-control-wrap input[type='tel'],
  .wpcf7-form-control-wrap textarea,
  .wpcf7-checkbox .wpcf7-list-item {
    width: 450px;
  }
}

/* References */
.reference {
  border-bottom: 1px solid #DBDBDB;
  padding: 30px 0;
}
.page-template-page-references p {
  font-size: .875rem;
}
.reference-data-heading {
  font-size: .875rem;
  font-weight: 700;
}
.reference-data-text {
  font-size: .875rem;
  margin-bottom: 10px;
}

/* Related */
.related-area-heading {
  text-align: center;
  margin-bottom: 1em;
}
.related-heading {
  font-weight: 500;
}
.related-page a {
  color: #000000;
}
.related-page a:hover {
  text-decoration: none;
}
.short-description {
  margin-top: 10px;
}

/* Related activities */
.related-activities-heading {
  margin: 50px 0;
}
.place-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .875rem;
  margin-bottom: 10px;
}
.place {
  display: flex;
  align-items: center;
}
.place svg {
  margin-right: 10px;
}
.all-activities {
  position: absolute;
}
.all-activities svg {
  margin-left: 10px;
}

/* Newsletter */
.newsletter-footer-background {
  background-color: #F3F2EC;
  padding: 30px;
}
.newsletter-heading,
.newsletter-description {
  text-align: center;
  color: #707070;
}
.newsletter {
  width: 200px;
  margin: auto;
}

/* Footer */
#site-footer {
  color: #ffffff;
}
#site-footer p {
  font-size: 1rem;
}
#site-footer .menu {
  padding-left: 0;
}
#site-footer .menu li {
  list-style: none;
}
#site-footer .menu li:before {
  margin-right: 5px;
  content: "-";
}
#site-footer .menu a,
#site-footer a {
  color: #ffffff;
  text-decoration: underline;
}

.social-links li {
  /* width: 25px; */
  width: 40px;
}
.social-links li + li {
  margin-left: .75em;
}
.social-links {
  list-style: none;
  padding: 0;
  margin: 1em 0 2em;
  display: flex;
}

/* Mobile */
@media screen and (max-width: 1024px) {
  .search-activities {
    min-width: 150px;
  }
}
@media screen and (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  h3 {
    font-size: 1rem;
  }
  #header-menu {
    position: relative;
    z-index: 1;
    background-color: #f8f6ec;
    margin-top: 60px;
    width: 250px;
    text-align: right;
  }
  .navbar-light .navbar-toggler {
    border: 0;
    align-self: flex-end;
  }
  .menu-item-has-children > .dropdown-menu .nav-link,
  .menu-item-has-children > .dropdown-menu .nav-link:hover,
  .menu-item-has-children > .dropdown-menu .active .nav-link {
    color: #000000;
    line-height: normal;
    border-bottom: 0;
    text-align: right;
  }
  .right .dropdown-menu,
  .left .dropdown-menu {
    background-color: transparent;
    text-align: right;
    margin-top: 0px;
    padding-right: 10px;
  }
  .grid-heading {
    font-size: .75rem;
  }
  .grid-text svg {
    margin-bottom: -6px;
    width: 20px;
    height: 22px;
  }
  .grid-teaser {
    font-size: .75rem;
  }
  .related-activities-heading {
    position: relative;
  }
  .button,
  .wpcf7-submit {
    min-width: 150px;
    font-size: .75rem;
    padding: 10px;
  }
  .input-filter {
    font-size: .75rem;
  }
  .search-activities {
    height: 40px;
    margin-top: 10px;
  }
  .create-activity {
    margin: 0;
  }
  .create-activity .all-activities {
    top: 90px;
  }
  .all-activities svg {
    height: 10px;
    margin-bottom: -1px;
  }
  .isotope-item {
    min-height: 400px;
    margin-bottom: 30px;
  }
  .activity-info-box {
    margin-bottom: 30px;
  }
  .fact-box {
    margin-bottom: 30px;
  }
  .related-activities-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
@media screen and (max-width: 736px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  .hero-title {
    /* margin-bottom: 30px; */
  }
  .teaser {
    margin-bottom: -90px;
    /* min-height: 100px; */
  }
  .wpcf7-form-control-wrap input[type='text'],
  .wpcf7-form-control-wrap input[type='email'],
  .wpcf7-form-control-wrap input[type='url'],
  .wpcf7-form-control-wrap input[type='file'],
  .wpcf7-form-control-wrap input[type='tel'],
  .wpcf7-form-control-wrap textarea,
  .wpcf7-checkbox .wpcf7-list-item {
    width: 400px;
  }
  .input-area .label,
  .input-area-age .label,
  .input-area-activity .label,
  .input-area-signup .label,
  .wpcf7-list-item-label,
  .input-area-age p {
    font-size: .75rem;
  }
  .wpcf7-form-control-wrap input,
  .wpcf7-form-control-wrap textarea {
    font-size: .75rem;
    padding: 5px;
  }
  .input-filter {
    font-size: .75rem;
    margin-right: 10px;
  }
}
@media screen and (max-width: 414px) {
  .custom-logo-link {
    /* margin-top: 25px; */
  }
  .custom-logo {
    /* max-width: 120px; */
    width: 120px;
    height: 120px;
  }
  #header-menu {
    width: 230px;
  }
  .dropdown-menu .menu-item {
    margin-right: 20px;
  }
  .related-activities-heading .all-activities {
    margin-top: 40px;
  }
  .front-grid {
    display: flex;
    flex-direction: column;
  }
  .front-grid-item {
    width: 100%;
  }
  .grid-image {
    height: 250px;
  }
  .theme-list {
    margin-top: 50px;
  }
  .theme-link-text {
    font-size: 1.25rem;
  }
  .teaser {
    margin-bottom: -100px;
    line-height: 1.5rem;
    /* min-height: 100px; */
  }
  .search-activities {
    min-width: 100px;
  }
  .wpcf7-form-control-wrap input[type='text'],
  .wpcf7-form-control-wrap input[type='email'],
  .wpcf7-form-control-wrap input[type='url'],
  .wpcf7-form-control-wrap input[type='file'],
  .wpcf7-form-control-wrap input[type='tel'],
  .wpcf7-form-control-wrap textarea,
  .wpcf7-checkbox .wpcf7-list-item {
    width: 250px;
  }
  .input-area .label,
  .input-area-age .label,
  .input-area-activity .label,
  .input-area-signup .label,
  .wpcf7-list-item-label,
  .input-area-age p {
    font-size: .65rem;
  }
  .wpcf7-form-control-wrap input,
  .wpcf7-form-control-wrap textarea {
    font-size: .65rem;
    padding: 4px;
  }
  .wpcf7-form-control-wrap input[type='number'] {
    width: 40px;
  }
  .theme-link {
    min-width: 300px;
  }
}
@media screen and (max-width: 375px) {
  h2 {
    font-size: 1.5rem;
  }
  .page-header .row {
    height: 68px;
  }
  .custom-logo-link {
    /* margin-top: 25px; */
  }
  .custom-logo {
    /* max-width: 100px;
    width: 100px;
    height: 100px; */
  }
  .grid-image {
    height: 230px;
  }
}




/* Rettelser 10/1/2019 */
.related-image {
  overflow: hidden;
  height: 0;
  padding-top: 56.25%;
  position: relative;
  margin-bottom: 0;
}
.related-image > img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


@media (max-width: 420px) {
  .related-row > div + div {
    margin-top: 3em;
  }

  .related-page > a {
    display: flex;
    flex-direction: column;
  }

  .related-page > a figure {
    order: -1;
    margin-bottom: .5em;
  }

  .related-page > a > h3,
  .related-page > a > div {
    margin: 0;
  }

  .related-page > a > div {
    font-size: 0.8em;
    margin-top: .25em;
  }
}


.hero-image {
  display: grid;
  /* grid: 1fr auto auto auto 3em / 1fr; */
  grid: 1fr auto auto auto 3em / 1fr minmax(0, 1140px) 1fr;
}

.hero-image > img {
  grid-area: 1 / 1 / -1 / -1;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hero-image.contained > img {
  grid-area: 1 / 2 / -1 / -2;
}

.hero-image .hero-title {
  margin: 0;
  grid-row: 2;
  grid-column: 2 / -2;
  justify-self: center;
}
.hero-image hr {
  border: 0;
  border-top: 6px solid #4585C1;
  width: 50%;
  position: static;
  grid-row: 3;
  grid-column: 1 / -1;
  margin: 1rem auto 1rem 0;
}
.hero-image .teaser {
  grid-row: 4;
  margin-bottom: 0;
  line-height: 1.5;
  grid-column: 2 / -2;
}

@media screen and (max-width: 414px) {
  .hero-image {
    display: grid;
    grid: 1fr auto auto auto 1em / 1fr;
    height: 40vh;
  }
  .hero-image .hero-title,
  .hero-image .teaser {
    padding: 0 10px;
  }
}



.popmake-content{
  border:0px !important;
  outline: none !important;
}
.pum-content img{
  border:6px solid #fff;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.popmake-content .pum-title{

}
.popmake-content h6{
  color:#4599d3;
  font-size:28px;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.popmake-content a.btn{
  border-radius: 5px;
  background:#216aa2;
  color:#fff;
  font-size:25px;
  padding: 10px 40px;
}