/*
Theme Name:   First United
Theme URI:    http://supertusch.dk/theme/firstunited/
Description:  Basically Bootstrap 4 Child Theme created for First United 2019
Author:       Supertusch
Author URI:   http://supertusch.dk
Template:     basically-bootstrap-4
Version:      1.0.0
Domain Path: /languages/
Text Domain:  firstunited
*/

html,
body {
  height: 100%;
}

/* Fonts */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,600,700&display=swap');

* {
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.02em;
}
* {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

/* General */
html {
  font-size: 18px;
  line-height: 23px;
  overflow: visible !important;
}
@media screen and (max-width: 1024px) {
  html {
    font-size: 16px;
  }
}
@media screen and (max-width: 640px) {
  html {
    font-size: 14px;
  }
}
@media screen and (max-width: 480px) {
  html {
    font-size: 12px;
  }
}
a,
a:hover,
a:focus,
a:visited,
a:active,
button,
button:hover,
button:focus,
button:active,
button:visited {
  outline: none !important;
}
h1 {
  font-size: 48px;
}
h2 {
  color: #161616;
  font-size: 36px;
  text-align: center;
  font-weight: 400;
  margin-bottom: 30px;
  line-height: 59px;
}
h3 {
  font-size: 24px;
  line-height: 1.3 !important;
  font-weight: 400;
  text-align: center;
}
h4 {
  font-size: 18px;
}
p > span {
  font-family: 'Open Sans', sans-serif !important;
}
strong {
  font-weight: 700;
}

@media (max-width: 420px) {
  p {
    font-size: 16px;
    line-height: 1.5 !important;
  }
}

.btn {
  border-radius: 0;
  min-width: 270px;
  padding: .8rem 1rem;
  font-size: 20px;
}
.gray-background {
  background-color: #E5E5E5;
}
.light {
  color: #ffffff;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.6);
  font-weight: 700
}
.dark {
  color: #000000;
}
.content-area {
  padding: 0;
}
.header-background {
  position: relative;
  z-index: 1;
}
.header-background .credit {
  position: relative;
  left: 10px;
  top: -5px;
}
.header-background:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20vh;
  min-height: 200px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    hsla(0, 0%, 100%, 0.4) 0%,
    hsla(0, 0%, 100%, 0.395) 8.1%,
    hsla(0, 0%, 100%, 0.381) 15.5%,
    hsla(0, 0%, 100%, 0.358) 22.5%,
    hsla(0, 0%, 100%, 0.33) 29%,
    hsla(0, 0%, 100%, 0.296) 35.3%,
    hsla(0, 0%, 100%, 0.259) 41.2%,
    hsla(0, 0%, 100%, 0.22) 47.1%,
    hsla(0, 0%, 100%, 0.18) 52.9%,
    hsla(0, 0%, 100%, 0.141) 58.8%,
    hsla(0, 0%, 100%, 0.104) 64.7%,
    hsla(0, 0%, 100%, 0.07) 71%,
    hsla(0, 0%, 100%, 0.042) 77.5%,
    hsla(0, 0%, 100%, 0.019) 84.5%,
    hsla(0, 0%, 100%, 0.005) 91.9%,
    hsla(0, 0%, 100%, 0) 100%
  );
}
.credit {
  font-size: 9px;
  color: #ffffff;
  text-shadow: 0.5px 0.5px #d3d3d3;
}
.credit-dark {
  color: #000000;
  text-shadow: 0.5px 0.5px #d3d3d3;
}
.no-border {
  border: 0 !important;
}
@media screen and (max-width: 1440px) {
  .header-background {
    background-size: cover; /* contain */
    background-position: 100% 100%;
  }
}
@media screen and (max-width: 420px){
  .header-background {
    background-size: cover;
  }
}
@media screen and (max-width: 414px) {
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
    line-height: 30px;
  }
  h3 {
    font-size: 20px;
  }
  .btn {
    min-width: 200px;
    font-size: 16px;
  }
  .credit {
    font-size: 8px;
  }
  .header-background .credit {
    left: 10px;
    top: -5px;
  }
}

/* Navigation */
.mobile-main-menu {
  display: none;
}
.menu-item-has-children:hover .dropdown-menu {
  display: block;
}
.menu-item-has-children .dropdown-menu {
  border-radius: 0;
  border: 0;
  top: 25px;
}
@media screen and (max-width: 1024px) {
  .navbar-toggleable-md .navbar-nav .nav-link {
    padding-right: 0.3rem;
    padding-left: .3rem;
  }
}
@media screen and (max-width: 420px) {
  .navbar-toggleable-md .navbar-nav .nav-link {
    font-size: 16px;
  }
  .dropdown-menu a {
    font-size: 12px !important;
  }
}
@media screen and (max-width: 960px) {
  .mobile-main-menu {
    display: block;
  }
  .desktop-main-menu {
    display: none;
  }
  .navbar-toggler {
    border: 0;
    position: absolute;
    right: 0;
    top: 25px;
  }
  .navbar-toggler span,
  .navbar-toggler span:before,
  .navbar-toggler span:after {
    cursor: pointer;
    border-radius: 1px;
    height: 3px;
    width: 22px;
    background: #000000;
    position: absolute;
    right: 0;
    display: block;
    content: '';
  }
  .light .navbar-toggler span,
  .light .navbar-toggler span:before,
  .light .navbar-toggler span:after {
    background: #ffffff;
  }
  .navbar-toggler span:before {
    top: -7px;
  }
  .navbar-toggler span:after {
    bottom: -7px;
  }
  .navbar-toggler span,
  .navbar-toggler span:before,
  .navbar-toggler span:after {
    transition: all 300ms ease-in-out;
  }
  .mobile-main-menu.open .navbar-toggler span:before {
    background: #000000;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .mobile-main-menu.open .navbar-toggler span:after {
    background: #000000;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .mobile-main-menu.open .navbar-toggler span:before,
  .mobile-main-menu.open .navbar-toggler span:after {
    background: #000000;
    top: 0;
  }
  .mobile-main-menu.open .navbar-toggler {
    right: 60px;
    top: 60px;
  }
  .mobile-main-menu.open .navbar-toggler span {
    background-color: transparent;
  }
  .mobile-main-menu.open {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    height: 100vh;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 1;
    background-color: #ffffff;
  }
  .mobile-main-menu.open .menu-item {
    text-align: center;
  }
  .navbar-collapse.show {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .mobile-main-menu .dropdown-menu {
    display: block;
    border: 0;
  }
  .mobile-main-menu .dropdown-toggle:after {
    display: none;
  }
  .navbar-collapse {
    transition: .3s;
    will-change: transform;
    opacity: 0;
    -webkit-transform: translate3d(-100%,0,0);
    transform: translate3d(-100%,0,0);
  }
  .dropdown-menu {
    margin-top: 0;
  }
  .dropdown-menu a {
    font-size: 12px;
  }
}
@media screen and (max-width: 414px) {
  .mobile-main-menu.open .navbar-toggler {
    right: 35px;
    top: 25px;
  }
  .navbar-toggler {
    top: 10px;
  }
  .dropdown-menu a {
    font-size: 12px;
  }
}

/* Header */
.header-container {
  max-width: 1440px;
  margin: auto;
}
.page-header {
  height: 600px;
}
body.page-template-page-countries .page-header {
  height: 600px;
}
body.page-template-page-countries #hero {
  margin-top: 0;
}
.logo {
  display: flex;
  flex-shrink: 0;
}
.logo .tagline {
  font-size: 16px;
  margin-left: 20px;
  text-align: left;
}
.logo .tagline hr {
  margin-top: 0px;
  border: 1px solid #000000;
}
.tagline-border {
  width: 60px
}
.light .tagline hr {
  border-color: #ffffff;
}
.custom-logo {
  width: 76px;
}
#menu-main li a {
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  text-transform: uppercase;
  color: #000000;
}
.light #menu-main li a {
  color: #ffffff;
}
.dark #menu-main li a {
  color: #151515;
}
@media screen and (min-width: 1800px) {
  body.page-template-page-countries .page-header {
    height: 750px;
  }
}
@media screen and (max-width: 1366px) {
  body.page-template-page-countries .page-header {
    height: 400px;
  }
  .header-container {
    max-width: 1140px;
  }
  .page-header {
    height: 500px;
  }
}
@media screen and (max-width: 1200px) {
  .header-container {
    max-width: 960px;
  }
}
@media screen and (max-width: 1024px) {
  .page-header {
    height: 375px;
  }
  .logo .tagline {
    font-size: 14px;
  }
  .page-template-page-countries-php .header-background {
    background-position: right;
  }
}
@media screen and (max-width: 1024px) and (min-width: 960px) {
  #menu-main li a {
    font-size: 11px;
  }
}
@media screen and (max-width: 1000px) {
  .header-container {
    max-width: 700px;
  }
}
@media screen and (max-width: 768px) {
  .header-container {
    max-width: 650px;
  }
  .page-header {
    height: 280px;
  }
}
@media screen and (max-width: 700px) {
  .header-container {
    max-width: 500px;
  }
}
@media screen and (max-width: 500px) {
  .header-container {
    max-width: 350px;
    margin-top: -15px;
  }
}
@media screen and (max-width: 414px) {
  .custom-logo {
    width: 50px;
  }
  .logo .tagline {
    display: none;
  }
}
@media screen and (max-width: 400px) {
  .header-container {
    max-width: 320px;
  }
}
@media screen and (max-width: 320px) {
  .header-container {
    max-width: 300px;
  }
}

/* Front page */
/* Header */
.front-page-header {
  height: 0px;
  position: relative;
  z-index: 10;
  max-width: 1440px;
  margin: auto;
  top: 30px;
}
@media screen and (max-width: 1366px) {
  .front-page-header {
    max-width: 1140px;
  }
}
@media screen and (max-width: 1200px) {
  .front-page-header {
    max-width: 960px;
  }
}
@media screen and (max-width: 1000px) {
  .front-page-header {
    max-width: 700px;
  }
}
@media screen and (max-width: 768px) {
  .front-page-header {
    max-width: 650px;
  }
}
@media screen and (max-width: 700px) {
  .front-page-header {
    max-width: 500px;
  }
}
@media screen and (max-width: 500px) {
  .front-page-header {
    max-width: 350px;
    margin-top: -15px;
  }
}
@media screen and (max-width: 400px) {
  .front-page-header {
    max-width: 320px;
  }
}
@media screen and (max-width: 320px) {
  .front-page-header {
    max-width: 300px;
  }
}

/* Slider */
.slick-slider {
  z-index: 1;
}
.front-slider-wrapper .slider-background-image {
  width: 100%
}
.front-slider-wrapper .slide:before {
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  pointer-events: none;
  background: radial-gradient(
      circle at 50%,
      rgba(255,255,255,0.4),
      rgba(255,255,255,0)
    );
}
.front-slide-description {
  text-align: center;
  position: absolute;
  top: 45%;
  color: #000000;
}
.front-slide-description h3 {
  font-weight: 700;
  font-size: 48px;
  text-transform: uppercase;
}
.front-slide-description-text {
  font-weight: 700;
  font-size: 18px;
  position: relative;
}
.front-slider-wrapper .credit {
  position: relative;
  top: -20px;
  left: 10px;
  height: 0;
}
.home #slider-navigation {
  top: 20px;
  position: relative;
  z-index: 2;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
}
.front-slider.prev {
  background-image: url('/wp-content/themes/firstunited/assets/images/prev.svg');
  background-position: center left;
  height: 40px;
  position: absolute;
  z-index: 1;
  top: 45%;
  left: 10%;
}
.front-slider.next {
  background-image: url('/wp-content/themes/firstunited/assets/images/next.svg');
  background-position: center right;
  height: 40px;
  position: absolute;
  z-index: 1;
  top: 45%;
  right: 10%;
}
.slider-btn {
  color: #000000;
  font-size: 18px;
  font-weight: 600;
  border: 1px solid #000000;
  border-radius: 0;
  margin-top: 50px;
  padding: 15px 50px;
}
.slider-btn:hover {
  background-color: #000000;
  color: #ffffff;
}
.slider-map {
  position: absolute;
  bottom: 10px;
  right: 7%;
  opacity: .8;
}
.front-sub-heading {
  font-weight: 300;
  border-bottom: 1px solid #009EDF;
  padding: 20px;
  margin: auto;
  margin-bottom: 30px;
  max-width: 500px;
}
.introduction-content {
  margin: 50px 0;
  text-align: center;
}
.introduction-content .introduction-background-map {
  position: relative;
}
.introduction-content .introduction-background-map img {
  position: absolute;
  right: 0;
  top: -500px;
}
.introduction-content p {
  text-align: center;
  font-size: 18px;
  line-height: 34px;
}
.introduction-content .content-btn {
  margin-top: 20px;
}
.content-btn,
.content-btn:hover {
  background-color: #009EDF;
  color: #ffffff;
}
.services-front-content {
  margin-top: 90px;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.services-grid .service-item {
  width: 50%;
  padding: 5px;
  position: relative;
}
.services-grid .credit {
  position: absolute;
  left: 10px;
  top: 10px;
}
.services-grid .service-item:nth-of-type(-n+3) {
  width: 33.3333%;
}
.services-grid img {
  width: 100%;
}
.services-grid a:hover {
  text-decoration: none;
}
.service-heading-background {
  margin-top: -82px;
  height: 82px;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0 10px;
}
.service-heading-background .service-heading {
  color: #000000;
  font-size: 18px;
  line-height: 25px;
  text-transform: uppercase;
}
.feedback-content {
  margin-bottom: 100px;
  margin-top: 50px;
}
.feedback-carousel .slide img {
  display: inline;
}
.feedback-carousel .slide-content {
  text-align: center;
  max-width: 400px;
  margin: auto;
  padding: 20px;
}
.feedback-carousel .slide-content .quote,
.feedback-carousel .slide-content .customer {
  text-align: left;
  font-weight: 300;
  font-size: 14px;
  line-height: 24px;
  color: #161616;
}
.feedback-carousel .slide-content .customer div {
  font-weight: 700;
}
.feedback-carousel .image-container {
  text-align: center;
  margin-bottom: 20px;
  height: 120px;
}
.feedback-carousel {
  display: flex;
}
.feedback-carousel .slick-arrow {
  background: none;
  border: none;
}
.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%;
}
@media (max-width: 420px) {
  .feedback-carousel .image-container,
  .slide-description-container {
    height: auto !important;
  }
  .feedback-carousel .slide-content .customer {
    margin-top: 2em;
  }
  .front-slider-wrapper .credit {
    left: 10px;
    top: -20px;
  }
}
.slide-description-container {
  height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  padding: 30px;
}
@media screen and (max-width: 1366px) {
  .slide-description-container {
    height: 350px;
  }
}
@media screen and (max-width: 1024px) {
  .slide-description-container {
    height: 400px;
  }
}
@media screen and (max-width: 768px) {
  .services-grid .service-item {
    width: 100% !important;
  }
  img.slider-map {
    display: none;
  }
  .front-slide-description h3 {
    font-size: 40px;
  }
  .slider-btn {
    margin-top: 20px;
  }
  .content-btn {
    font-size: 20px;
    margin-top: 10px;
  }
}
@media screen and (max-width: 420px) {
  .home #slider-navigation {
    font-size: 12px;
  }
  .front-slide-description h3 {
    font-size: 28px;
  }
  .front-slide-description-text {
    font-size: 12px;
  }
  .slider-btn {
    margin-top: 10px;
    font-size: 14px;
    padding: 5px 10px;
    min-width: 100px;
  }
  .front-slider.prev,
  .front-slider.next {
    height: 20px;
  }
  .content-btn {
    font-size: 20px;
    margin-top: 10px;
  }
  .services-front-content {
    margin-top: 60px;
  }
  .service-heading {
    text-align: center;
  }
}
@media screen and (max-width: 375px) {
  .home #slider-navigation {
    font-size: 10px;
  }
  .front-slide-description h3 {
    font-size: 24px;
  }
  .front-slide-description-text {
    font-size: 10px;
  }
  .content-btn {
    font-size: 14px;
  }
}

/* Hero area */
#hero {
  display: flex;
  flex-direction: column;
  text-align: center;
  height: 100%;
  justify-content: space-around;
  margin-top: -80px;
}
.hero-content .menu {
  list-style: none;
  padding: 0;
  text-align: center;
  margin: auto;
  margin-top: 50px;
}
.hero-content #menu-services {
  max-width: 60%;
}
.hero-content .menu li {
  display: inline-block;
  border-left: 1px solid;
  padding: 0 10px;
}
.hero-content .menu li:first-of-type,
#menu-item-163 {
  border-left: 0;
}
.hero-content .menu li a {
  color: #F7F7F7;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.8);
  font-weight: 700;
  font-size: 14px;
  line-height: 19px;
  text-transform: uppercase;
}
.hero-content .dark .menu li a {
  color: #000000;
  text-shadow: none;
}
@media screen and (max-width: 1366px) {
  .hero-content #menu-services {
    max-width: 70%;
  }
}
@media screen and (max-width: 1024px) {
  .hero-content #menu-services {
    max-width: 80%;
  }
}
@media screen and (max-width: 768px) {
  .hero-content #menu-services {
    max-width: 100%;
  }
  .hero-content .menu li {
    display: inline;
  }
  .hero-content .menu li a {
    font-size: 12px;
  }
  #menu-item-163 {
    border-left: 1px solid;
  }
}
@media screen and (max-width: 414px) {
  #hero {
    margin-top: 10px;
  }
  .hero-content .entry-title {
    margin-top: -80px;
  }
  .hero-content .entry-teaser {
    position: relative;
  }
  .hero-content .hero-menu {
    position: absolute;
    top: 80px;
  }
  .hero-content .menu {
    margin-top: 0;
  }
  .hero-content .menu li {
    padding: 0 5px;
  }
  .hero-content .menu li a {
    font-size: 10px;
  }
}

/* Countries */
.countries {
  margin-top: -100px;
  position: relative;
  z-index: 1;
}
.countries-content {
  background-color: #F0F0F0;
  padding-bottom: 50px;
}
.countries-content p {
  text-align: center;
  font-size: 18px;
  line-height: 25px;
}
.countries .country {
  display: flex;
}
.country-image {
  margin-top: 50px;
  width: 60%;
}
.country-image .credit {
  position: relative;
  top: -15px;
  left: 5px;
}
.country:nth-child(even) .country-image {
  order: 1;
}
.country-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 50px;
  width: 40%;
  text-align: center;
}
.country-heading {
  line-height: 46px;
}
.country-description p {
  line-height: 34px;
  font-weight: 300;
}
.country-btn,
.country-btn:hover {
  border: 1px solid #000000;
  color: #000000;
}
.country-btn {
  align-self: center;
}
@media screen and (max-width: 1366px) {
  .countries {
    margin-top: 0;
  }
}
@media screen and (max-width: 768px) {
  .countries .country {
    flex-wrap: wrap;
  }
  .country-image,
  .country-description {
    width: 100%;
  }
  .country:nth-child(even) .country-image {
    order: 0;
  }
}
@media screen and (max-width: 414px) {
  .country-heading {
    line-height: normal;
  }
  .country-description p {
    line-height: normal;
    font-size: 14px;
  }
}

/* Destinations */
.background-map {
  position: absolute;
  right: 0;
  top: 500px;
  display: flex;
  justify-content: center;
}
.background-map img {
  width: 50%;
  height: 50%;
}
.destination-content {
  text-align: center;
  color: #161616;
  background-color: #F1F1F1;
  padding: 50px;
}
.destination-content p {
  line-height: 37px;
  font-weight: 300;
}
@media screen and (max-width: 1024px) {
  .background-map {
    display: none;
  }
}
@media screen and (max-width: 414px) {
  .destination-content p {
    line-height: normal;
  }
}

/* Slider */
.top-destination-content {
  padding: 50px;
}
.top-destination-content .slider-wrapper h3 {
  font-weight: 700;
}
.top-destination-content .front-slide-description-text {
  font-weight: 400;
  font-size: 16px;
}
.top-destination-content .credit {
  position: relative;
  top: -20px;
  left: 5px;
}
.slider-wrapper {
  display: flex;
}
#slider-navigation {
  text-align: center;
}
.slick-dots {
  list-style: none;
  padding-left: 0;
}
.slick-dots li {
  display: inline-block;
  padding: 0 10px;
  border-left: 1px solid;
}
.slick-dots li:first-of-type {
  border-left: 0;
}
.slick-dots li a {
  cursor: pointer;
  text-transform: uppercase;
}
.slick-dots .slick-active a {
  text-decoration: underline;
}
.slick-arrow {
  width: 30%;
  background-repeat: no-repeat;
  background-size: 15px 44px;
  cursor: pointer;
}
.prev {
  background-image: url('/wp-content/themes/firstunited/assets/images/prev.svg');
  background-position: center left;
}
.next {
  background-image: url('/wp-content/themes/firstunited/assets/images/next.svg');
  background-position: center right;
}
.slick-slide {
  position: relative;
}

@media (max-width: 420px) {
  .front-slider-wrapper .slick-slide img {
    min-height: 45vh;
  }
}

.slide-description {
  text-align: center;
  padding: 30px;
  position: absolute;
  top: 0;
  color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 371px;
}
.slide-description-background {
  min-height: 371px;
  position: absolute;
  top: 0;
  background-color: #ffffff;
  opacity: .8;
  width: 100%;
}
.slide-description h3 {
  position: relative;
  z-index: 1;
}
.slide-description .slide-description-text {
  font-weight: 300;
  font-size: 14px;
  line-height: 27px;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .slide-description {
    min-height: 100%;
  }
  .slide-description-background {
    min-height: 214px;
  }
  .front-slide-description-text {
    font-size: 12px;
  }
}
@media screen and (max-width: 414px) {
  .top-destination-content {
    padding: 15px;
  }
  .slide-description {
    position: relative;
    padding: 10px;
  }
  .slide-description-background {
    display: none;
  }
  .prev {
    position: relative;
    left: -10px;
  }
  .next {
    position: relative;
    right: -10px;
  }
  .slider-navigation a {
    font-size: 10px;
  }
}

/* Grid */
.activity-grid {
  display: flex;
  padding: 0 5px;
}
.activity-grid {
  display: none;
}
.activity-grid:nth-of-type(-n+2) {
  display: flex;
}
.cases-content .activity-grid {
  display: none;
}
/* 2023-12-13/SEV changed from nth-of-type(-n+3) = show three rows. Instead show all */ 
.cases-content .activity-grid:nth-of-type(-n+99) {
  display: flex;
}
.activity-item {
  padding: 5px;
  position: relative;
}
.activity-item .credit {
  position: absolute;
  top: 10px;
  left: 15px;
  z-index: 20;
}
.activity-description {
  color: #ffffff;
  font-weight: 700;
  position: absolute;
  font-size: 18px;
  line-height: normal;
  bottom: 20px;
  left: 20px;
  margin-right: 20px;
  z-index: 2;
}
.hidden-description-container {
  position: absolute;
  width: 100%;
  top: 0;
  height: 100%;
  padding-right: 5px;
  padding-bottom: 10px;
}
.hidden-description {
  z-index: 1;
  top: 0;
  background-color: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  margin: 5px 5px 0 0;
  display: flex;
  align-items: center;
  padding: 30px;
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  display: none;
  text-align: center;
  height: 100%;
}
.hidden-description .description {
  width: 100%;
}
.activity-grid .activity-item:hover .hidden-description {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.activity-grid .activity-btn {
  color: #ffffff;
  border: 1px solid #ffffff;
}
#activity-toggle,
#case-toggle {
  padding: 10px;
  font-weight: 300;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
}
#activity-toggle:after,
#case-toggle:after {
  color: #009EDF;
  content: '+';
  margin-left: 5px;
  font-size: 20px;
  vertical-align: baseline;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .hidden-description {
    background-color: #000000;
  }
  .hidden-description .description {
    font-size: 12px;
    line-height: normal;
  }
  .activity-description {
    font-size: 14px;
  }
  .activity-btn {
    font-size: 16px;
    max-width: 100%;
  }
}
@media screen and (max-width: 414px) {
  .activity-grid {
    flex-wrap: wrap;
  }
}

/* Contact form */
.contact-content {
  padding: 50px;
}

#contact-background {
    background-image: url(/wp-content/themes/firstunited/assets/images/blue-scandinavia.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}


.contact-form-description {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-content p {
  font-size: 18px;
  line-height: 30px;
  color: #666666;
  font-weight: 300;
}
.contact-content p strong {
  font-weight: 500;
}
.contact-content label {
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 0;
  line-height: normal;
}
.contact-full-width {
  text-align: center;
}
.contact-phone {
  margin-top: 20px;
  text-align: center;
}
.contact-email {
  text-align: center;
  margin: auto;
}
@media (max-width: 420px) {
  label {
    margin-bottom: 2px;
  }
  br + label {
    margin-top: 15px;
  }
  select {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSI+CjxnIGlkPSJzdXJmYWNlMSI+CjxwYXRoIHN0eWxlPSIgIiBkPSJNIDIuNjU2MjUgNi4yNSBMIDEuMzQzNzUgNy43NSBMIDExLjM0Mzc1IDE2Ljc1IEwgMTIgMTcuMzQzNzUgTCAxMi42NTYyNSAxNi43NSBMIDIyLjY1NjI1IDcuNzUgTCAyMS4zNDM3NSA2LjI1IEwgMTIgMTQuNjU2MjUgWiAiPjwvcGF0aD4KPC9nPgo8L3N2Zz4K") !important;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: calc(100% - 10px) 50%;
    padding-right: 20px;
  }
}
.wpcf7-form-control {
  width: 300px;
  border: 0;
  background-color: #F7F7F7;
  background-color: #eaeaea;
  height: 44px;
  outline: none;
}
.gray-background .wpcf7-text {
  background-color: #ffffff;
}
.wpcf7-acceptance,
select.wpcf7-form-control {
  background-color: #ffffff;
}
select.wpcf7-form-control {
  border: 1px solid #666666;
  color: #666666;
  -webkit-appearance: none;
  font-size: inherit;
  padding: 10px;
  border-radius: 0;
}
.wpcf7-submit {
  background: #009EDF;
  color: #ffffff;
  border: 0;
  width: 300px;
  padding: 10px;
  height: 100%;
  margin-top: 30px;
}
.acceptance {
  top: 10px;
}
.form-description-text p {
  text-align: left !important;
}
.form-arrow {
  text-align: right;
  margin-bottom: 40px;
}
@media screen and (max-width: 414px) {
  .form-arrow {
    display: none;
  }
}

/* Services */
.services-content {
  margin: 50px 0;
}
.services-content .services-background-map {
  position: relative;
}
.services-content .services-background-map img {
  position: absolute;
  right: 50px;
  top: -500px;
}
.services-content .entry-content p {
  text-align: center;
  font-size: 18px;
  line-height: 25px;
  font-weight: 300;
}
.services-content .entry-content p span {
  font-family: "Open Sans" !important;
  font-weight: 300 !important;
  font-size: 18px !important;
  line-height: 27px !important;
}
@media (max-width: 420px) {
  .services-content .entry-content p span {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
}
.services-content .entry-content p span strong {
  font-weight: 400 !important;
}
.services {
  margin: 50px 0;
}
.services .service {
  display: flex;
}
.service-image {
  margin-top: 50px;
  width: 60%;
}
.service:nth-child(even) .service-image {
  order: 1;
}
.service-image .credit {
  position: relative;
  top: -15px;
  left: 5px;
}
.service-description {
  margin-top: 50px;
  width: 40%;
}
.service-heading {
  line-height: 46px;
}
.service-description p {
  line-height: 34px;
  font-weight: 300;
  text-align: center;
}
.service-description p span {
  font-family: "Open Sans", sans-serif !important;
  font-size: 12px;
}
.pco-container {
  position: relative;
}
.pco-container .credit {
  position: relative;
  text-align: right;
  top: -20px;
  right: 5px;
}
.pco-description-background {
  position: absolute;
  background-color: #ffffff;
  opacity: 0.8;
  height: 100%;
  width: 100%;
  z-index: -1;
}
.pco-description > * + * {
  margin-top: 2rem !important;
}
.pco-description {
  width: 50%;
  position: absolute;
  top: 0;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pco-heading {
  font-size: 24px;
  line-height: 46px;
}
.pco-content .pco-projects p {
  font-weight: 300;
  font-size: 14px;
  line-height: 27px;
  text-align: center;
}
.pco-content p span {
  font-family: 'Open Sans', sans-serif !important;
}
.pco-btn {
  border: 2px solid #009EDF;
  width: 270px;
  margin: 0 auto;
  color: #009EDF;
  font-weight: 600;
  font-size: 18px;
}
.pco-btn:hover {
  color: #009EDF;
  background-color: #ffffff;
}
@media screen and (max-width: 768px) {
  .services-background-map {
    display: none;
  }
  .services .service {
    flex-direction: column;
  }
  .service-image,
  .service-description {
    width: 100%;
  }
  .service:nth-child(even) .service-image {
    order: 0;
  }
  .service-heading {
    text-align: left;
  }
  .pco-heading,
  .pco-content p {
    line-height: 25px;
    padding: 5px;
  }
  .pco-btn {
    margin: auto;
  }
}
@media screen and (max-width: 420px) {
  .services-content {
    margin-top: 150px;
  }
  .service-image {
    margin-top: 20px;
  }
  .service-description {
    margin-top: 10px;
  }
  .service-heading,
  .service-description p {
    line-height: normal;
  }
  .service-heading {
    text-align: center;
  }
  .pco-description-background {
    display: none;
  }
  .pco-container {
    display: flex;
    flex-direction: column;
  }
  .pco-description {
    position: relative;
    width: 100%;
    padding: 10px;
  }
  .feedback-content {
    margin-bottom: 20px;
  }
  .wpcf7-form-control {
    width: 265px;
  }
}
@media screen and (max-width: 420px) {
  .wpcf7-form-control {
    width: 100%;
    padding: 10px;
  }
  .wpcf7-acceptance {
    padding: 0;
  }
  span.wpcf7-list-item {
    margin: 10px 0 0;
  }
  .wpcf7-submit {
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
  }
}
@media screen and (max-width: 320px) {
  .wpcf7-form-control {
    width: 200px;
  }
}

/* Cases */
.cases-content .entry-content {
  text-align: center;
  margin-top: 50px;
}
.cases-content .entry-content h3 {
  font-size: 36px;
  font-weight: 300;
}
.cases-content .entry-content p {
  font-weight: 300;
  font-size: 18px;
  line-height: 25px;
  color: #666666;
}
.quote-content {
  margin-top: 50px;
  text-align: center;
}
.quote-content .quote {
  font-weight: 300;
  font-size: 18px;
  line-height: 34px;
}
.quote-content .quote:before {
  content: url('/wp-content/themes/firstunited/assets/images/quote.svg');
  margin-left: -20px;
  margin-right: 10px;
}
.quote-content .quotee {
  font-size: 14px;
  line-height: 19px;
  margin-top: 30px;
}
@media screen and (max-width: 414px) {
  .cases-content .entry-content h3 {
    font-size: 28px;
  }
  .cases-content .entry-content p {
    font-size: 16px;
  }
}

/* Single Case */
.case-container {
  margin: 50px auto;
}
.case-container .entry-content {
  margin-bottom: 30px;
}
.case-full-width-content {
  max-width: 770px;
  margin: auto;
}
.images-container {
  display: flex;
  margin: 30px auto;
  max-width: 780px;
}
.images-container img {
  padding: 5px;
}
.case-image {
  position: relative;
}
.case-image .credit {
  position: absolute;
  bottom: 10px;
  left: 10px;
}
@media screen and (max-width: 768px) {
  .case-full-width-content {
    /*padding: 30px;*/
  }
}

/* Contact */
.maps {
  display: flex;
}
.contact-details {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  line-height: 21px;
  text-transform: uppercase;
}
.contact-details .address {
  font-weight: 700;
}
.contact-info .email {
  margin-left: 20px;
}
.contact-info .email a {
  color: #292b2c;
}
.contact-subcontent {
  display: flex;
  margin: 50px 0;
}
.contact-subcontent-content {
  width: 60%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-subcontent-content-text {
  font-weight: 300;
  font-size: 18px;
  line-height: 34px;
}
.contact-form-contact {
  padding: 60px;
}
@media screen and (max-width: 768px) {
  .contact-details {
    height: 125px;
  }
  .contact-subcontent-content {
    padding: 0 30px;
  }
}
@media screen and (max-width: 420px) {
  .maps {
    flex-wrap: wrap;
  }
  .contact-details {
    height: 100px;
  }
  .contact-subcontent {
    flex-wrap: wrap;
  }
  .contact-subcontent-content {
    width: 100%;
  }
  .contact-subcontent-content-text {
    font-size: 15px;
  }
  .contact-form-contact {
    padding: 50px 20px;
  }
}
@media screen and (max-width: 375px) {
  .contact-details {
    font-size: 12px;
  }
}

/* PCO */
.pco-content .entry-content {
  text-align: center;
  padding: 50px;
  background-color: #F0F0F0;
}
.pco-content p {
  padding: 0;
}
.pco-services {
  margin-top: 50px;
}
.pco-services-heading {
  font-size: 36px;
  line-height: 69px;
}
.pco-services-content {
  text-align: center;
  font-weight: 300;
  font-size: 18px;
  line-height: 25px;
}
.accordion-item .area-toggler {
  align-items: center;
  cursor: pointer;
}
.area-toggler-content {
  align-items: center;
}
.area-toggler {
  background-color: #009EDF;
  margin-bottom: 10px;
  color: #ffffff;
  padding: 20px;
}
.area-toggle-heading {
  font-size: 18px;
  margin-bottom: 0;
}
.accordion-toggle-icon {
  width: 30px;
  height: auto;
  margin-right: 10px;
}
.area-toggle-area {
  display: none;
}
.area-toggler.active {
  background-color: #ffffff;
  color: #000000;
  /* text-align: center; */
}
.area-toggle {
  display: inline-block;
  content: " ";
  width: 16px;
  height: 28px;
  background-image: url(/wp-content/themes/firstunited/assets/images/toggler_black.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
.area-toggle.closed {
  display: inline-block;
  content: " ";
  width: 28px;
  height: 16px;
  background-image: url(/wp-content/themes/firstunited/assets/images/toggler_white.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
.pco-projects {
  padding: 50px;
}
.pco-projects.gray {
  background-color: #F0F0F0;
}
.pco-project-description {
  text-align: center;
}
.project-grid {
  display: flex;
  flex-wrap: wrap;
}
.project-grid-item {
  width: 50%;
  padding: 15px;
}
.project-heading-background {
  margin-top: -82px;
  height: 82px;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.project-heading {
  font-weight: 300;
  font-size: 24px;
  line-height: 33px;
  text-transform: uppercase;
}
.pco-footer {
  text-align: center;
}
.download-btn {
  font-weight: 600;
  font-size: 18px;
}

/* About */
.about-content {
  margin-top: 50px;
}
.about-content .entry-content h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 39px;
  line-height: 1.25;
  margin-bottom: .5em;
}
.about-content .entry-content p {
  font-weight: 300;
  font-size: 18px;
  line-height: 27px;
  text-align: center;
}
@media (max-width: 420px) {
  .about-content .entry-content p {
    font-size: 16px;
    line-height: 1.5;
  }
}

.team-content {
  padding: 50px;
  background-color: #E9E9E9;
}
.team-members {
  flex-wrap: wrap;
}
.team-member {
  width: 48%;
  display: flex;
  background-color: #ffffff;
  margin: 10px;
  max-height: 425px;
}
.team-member .team-member-left {
  width: 229px;
  height: 425px;
}
figure {
  margin: 0;
}
.team-member .team-member-left figure {
  width: 229px;
}
.team-member-left figure img {
  width: 229px;
  height: 425px;
}
.team-member-links {
  float: right;
  position: relative;
  bottom: 48px;
}
.team-member-links a {
  margin-left: 5px;
}
.team-member-description {
  width: 66.6666%;
  padding: 15px;
}
.team-member-title {
  font-weight: 300;
  font-size: 14px;
  line-height: 21px;
  font-style: italic;
  font-family: 'Open Sans', sans-serif;
}
.team-member-name {
  font-weight: 700;
  font-size: 16px;
  line-height: 23px;
}
.team-member-name .place {
  font-weight: 300;
}
.team-member-text {
  height: 265px;
}
.team-member-languages {
  height: 36px;
}
.team-member-text,
.team-member-languages,
.team-member-phone {
  font-size: 13px;
  line-height: 18px;
  margin-top: 8px;
}
@media (max-width: 420px) {
  .team-content {
    padding: 40px 0;
  }
  .team-member {
    width: 100%;
    margin: 0;
  }
  .team-member + .team-member {
    margin-top: 15px;
  }
  .team-member-links {
    float: none;
    position: static;
    margin-top: 10px;
  }
  .team-member-left figure img,
  .team-member .team-member-left,
  .team-member-text,
  .team-member-languages,
  .team-member-phone,
  .team-member {
    height: auto;
    max-height: none;
  }
  .team-member .team-member-left {
    width: 25%;
  }
  .team-member-description {
    width: 75%;
  }
  .team-member-left figure {
    position: relative;
    height: 0;
    overflow: hidden;
    padding-bottom: 135%;
  }
  .team-member-left figure img {
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
  }
  .team-member .team-member-left figure {
    width: auto;
  }
}
.content-area-content {
  margin-top: 50px;
}

/* Contact page */
.content-instagram {
  max-width: 1200px;
  text-align: center;
  margin: 50px auto;
}
.instagram-logo {
  text-align: left;
  padding: 5px;
}
.instagram-heading {
  margin-top: -70px;
}

@media (max-width: 420px) {
  .content-instagram {
    margin: 50px auto -2px;
  }
  .instagram-logo img {
    max-width: 60px;
  }
  .instagram-heading {
    margin-top: -50px;
  }
  #sb_instagram #sbi_images {
    display: grid;
    grid: auto / repeat(2, auto);
  }
  #sb_instagram .sbi_photo_wrap > a {
    height: 0 !important;
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
  }
  #sb_instagram .sbi_photo img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }
}

/* Newsletter */
.newsletter {
  margin-bottom: -30px;
  padding: 100px;
}
.newsletter-description {
  text-align: center;
  max-width: 500px;
  margin: auto;
  font-weight: 300;
  font-size: 18px;
  line-height: 34px;
}
.newsletter-btn,
.newsletter-btn:hover,
.newsletter-btn:active,
.newsletter-btn:focus,
.newsletter-btn:visited {
  background-color: #009EDF;
  color: #ffffff;
  outline: none;
}
.wpcf7-acceptance {
  background: transparent;
}
@media screen and (max-width: 414px) {
  .newsletter {
    padding: 60px 30px;
    margin-bottom: 0;
  }
  .newsletter-btn {
    font-size: 20px;
  }
}

/* Footer */
.footer-background {
  position: relative;
  z-index: 1;
}
#footer-row {
  align-items: center;
}
#footer-row h3 {
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  text-transform: uppercase;
  color: #F7F7F7;
  text-align: left;
}
#footer-row p {
  font-size: 14px;
  line-height: 21px;
  color: #F3F3F3;
}
#footer-row .textwidget a {
  color: #ffffff;
}
#footer-row .social {
  margin-right: 10px;
}
#footer-row .social img {
  max-width: 48px;
}
#footer-row-bottom {
  text-align: center;
}
#footer-row-bottom .privacy {
  color: #ffffff;
  font-size: 14px;
}
@media screen and (max-width: 768px) {
  #footer-row .social img {
    max-width: 37px;
  }
  #footer-row p {
    line-height: normal;
  }
}
@media screen and (max-width: 414px) {
  #footer-area-1-media_image-3 {
    text-align: center;
    margin-bottom: 20px;
  }
  #footer-area-1-custom_html-2 {
    text-align: center;
    margin-top: 20px;
  }
  #footer-area-2-text-4,
  #footer-row h3,
  #footer-area-3-text-5 {
    text-align: center;
  }
}





@media (max-width: 420px) {
  .page-header {
    height: auto;
  }

  h3 {
    margin-bottom: .5em;
  }

  .hero-content .entry-title {
    margin: 1em auto 0;
    font-size: 20px;
  }

  .pco-content .entry-content {
    padding: 20px 0;
  }
  .pco-projects {
    padding: 40px 20px;
  }
  .pco-content p {
    text-align: left;
    margin-bottom: 3rem;
  }

  .area-toggler {
    display: grid !important;
    grid: auto / auto 1fr 30px;
    grid-gap: 15px;
  }

  .area-toggler-content {
    display: contents !important;
  }

  .active .accordion-toggle-icon {
    filter: invert(1);
  }

  .destination-content {
    padding: 20px;
  }

  .project-grid-item {
    width: auto;
    padding: 0;
  }
}





/* Cookie notice */
.cookie-notice-container {
  border-top: 1px solid #009EDF;
}
#cookie-notice .cn-button {
  background-color: #009EDF;
  color: #ffffff;
  padding: 5px 10px;
}
#cookie-notice .cn-button:hover {
  text-decoration: none;
}
