/*
Theme Name: Reduca BRF
Author: Reduca AB
Description: Reduca's wordpress theme.
Version: 1.40
Tags: reduca, theme, brf
*/

/*TEMP FIX FOR REDUCA API*/
.reduca-table {
  width: 100%;
}
/*END TEMP FIX FOR REDUCA API*/

.no-scroll {
  overflow-y: hidden;
}
html {
  overflow-x: hidden;
}

html,
body {
  height: 100%;
  font-family: "Open Sans", sans-serif;
}
a:active,
a:hover {
  outline: 0 !important;
}
.font-pt {
  font-family: "PT Sans", sans-serif;
}
img {
  max-width: 100%;
  height: auto;
}
a:focus {
  outline: none;
}
.logo-text {
  font-weight: bold;
  color: #000;
  font-size: 25px;
  letter-spacing: 2px;
  margin: 8px 0;
  display: inline-block;
}
.logo-text:hover,
a:focus {
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
}
.logo {
  width: 220px;
}

.small-logo {
  display: inline-block;
  height: 50px;
}

.navbar-default {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border: none;
  transition: all 0.5s;
}

.navbar-default .navbar-nav > li > a {
  color: #000;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.5s;
}

#main-navbar {
  width: 260px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.9);
  position: fixed;
  top: 0;
  right: 0;
  padding-top: 75px;
  box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.5);
  transform: translate3d(105%, 0, 0);
  transition: all 0.5s;
}
#main-navbar.toggle-nav {
  visibility: visible;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
  color: rgba(0, 0, 0, 0.5);
  transition: all 0.2s;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a {
  color: #000;
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
  color: rgba(0, 0, 0, 0.5);
}

.navbar-nav {
  margin: 0 -15px;
}
.dropdown i {
  font-size: 19px;
  color: #000;
  vertical-align: middle;
  margin-right: 15px;
}

.sub-dropdown-menu {
  padding: 0;
  list-style-type: none;
}

.sub-dropdown-menu li {
  line-height: 40px;
}
.sub-dropdown-menu li a {
  color: #000;
  font-weight: 600;
}
.navbar-collapse.in {
  overflow: hidden;
}
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  border-color: #000;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus,
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  color: rgba(0, 0, 0, 0.5);
  background: none;
  transition: all 0.2s;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  background: none;
  color: rgba(0, 0, 0, 0.5);
}

.navbar-default .navbar-toggle {
  border: none;
  z-index: 1;
}

.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
  max-height: 100vh;
  overflow-y: auto;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background: none;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border: none;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #000;
  transition: all 0.2s;
}

.navbar-toggle.ham .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}

.navbar-toggle.ham .middle-bar {
  opacity: 0;
}

.navbar-toggle.ham .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}

.navbar-toggle .top-bar {
  transform: rotate(0);
}

.navbar-toggle .middle-bar {
  opacity: 1;
}

.navbar-toggle .bottom-bar {
  transform: rotate(0);
}

.scroll .nav > li > a{
  transition: all .5s;
}

section {
  padding: 110px 0;
}

section:first-of-type {
  padding: 0;
}

.landing-img {
  position: relative;
  height: 100%;
  width: 100%;
  background: no-repeat center fixed;
  background-size: cover;
  text-shadow: 1px 0px 7px rgba(0, 0, 0, 0.85);
}
.sub-landing-img {
  position: relative;
  height: 45%;
  width: 100%;
  background: no-repeat top center fixed;
  background-size: 100%;
  text-shadow: 1px 0px 7px rgba(0, 0, 0, 0.85);
}

.top-shadow {
  height: 100%;
  width: inherit;
  background-color: rgba(0, 0, 0, 0.15);
  background-attachment: fixed;
}

.position {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.sub-landing-img h1 {
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
  margin: 81px 0 0;
  max-width: 500px;
}
.landing-img h1 {
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
  margin-bottom: 25px;
  max-width: 500px;
}

.front-btn {
  display: inline-block;
  padding: 10px 30px;
  border: 3px solid #fff;
  border-radius: 5px;
  color: #fff;
  letter-spacing: 1px;
  font-size: 19px;
  transition: all 0.5s;
}

.front-btn:hover {
  background: #fff;
  color: #000;
  text-decoration: none;
  text-shadow: none;
}

.text-img {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.text-img p {
  font-family: "Open Sans", sans-serif;
  line-height: 1.7;
}

h2 {
  margin-top: 0;
  letter-spacing: 2px;
  font-weight: 600;
}

.items {
  background: #f5f5f5;
}

.items i {
  font-size: 55px;
  padding-top: 50px;
  padding-bottom: 15px;
}

.items h3 {
  font-weight: 700;
  font-size: 20px;
  margin-top: 0;
}

.read-more {
  margin-top: 10px;
  display: inline-block;
  color: #000;
  border: 1px solid #303030;
  padding: 10px 30px;
  border-radius: 5px;
  background: transparent;
  transition: all 0.5s;
}

.read-more:hover {
  text-decoration: none;
  background: #303030;
  color: #fff;
  transition: all 0.5s;
}

.under-img {
  height: 45%;
  width: 100%;
  background: no-repeat bottom fixed;
  background-size: cover;
}

.h2-imgs {
  text-align: center;
  margin-bottom: 50px;
}

.center-imgs {
  width: 33%;
  display: inline-block;
  vertical-align: middle;
  padding-right: 15px;
  padding-left: 15px;
}

.google-map {
  height: 35%;
  padding: 0;
}

.google-map div {
  height: 100%;
}

.embed-responsive.embed-responsive-16by9 {
  padding: 0;
}

/*Footer*/

footer {
  background: #292929;
  color: #fff;
  padding: 40px 0;
}

footer ul {
  list-style-type: none;
  padding: 0;
}

footer ul > li:first-child {
  margin-bottom: 25px;
}

footer ul > li {
  margin-bottom: 15px;
}

footer ul > li > a {
  color: #fff;
  margin-bottom: 15px;
}
.fade-out {
  max-height: 85px;
  overflow: hidden;
  margin-bottom: 15px;
  text-overflow: ellipsis;
  background: -webkit-linear-gradient(#000, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.breadcrumb {
  background: #fff;
}
.breadcrumb > a {
  color: rgb(0, 0, 0);
  font-weight: bold;
}
.margin-15 {
  margin: 15px auto;
}
.center-widget {
  text-align: center;
}
/*Start animations*/

.animate {
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: both;
}

.delay-02s {
  animation-delay: 0.3s;
}

.delay-03s {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 0%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translate(50%, 0);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

.slideInRight {
  animation-name: slideInRight;
}

@keyframes trippleFadeIn {
  from {
    opacity: 0;
    transform: translate(0%, 40%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.trippleFadeIn {
  animation-name: trippleFadeIn;
}

/*End animations*/

/*Media Quries*/

@media (min-width: 320px) {
  .navbar-header {
    padding: 0 30px;
  }
  .navbar-default {
    padding: 10px 0px;
  }
  .scroll {
    padding: 15px 0;
  }
  .navbar-nav {
    float: none;
  }
  .nav > li {
    border-top: 1px solid #000;
    margin: 0 20px;
  }
  .nav > li a {
    padding: 10px 0;
    line-height: 30px;
  }
  .nav > li:first-child {
    border-top: none;
  }
  .nav > li:last-child {
    border-bottom: 1px solid #000;
  }

  .sub-dropdown-menu {
    display: none;
  }

  .sub-dropdown-menu li:nth-child(1) {
    border-top: 1px solid #000;
  }
  .dropwdown-arrow {
    float: right;
  }
  .dropwdown-arrow > i {
    margin-left: 0;
    margin-right: 15px;
  }
  .open > .sub-dropdown-menu {
    display: block;
  }
  .level-0 {
    text-indent: 30px;
  }
  .level-1 {
    text-indent: 60px;
  }
  .level-2 {
    text-indent: 90px;
  }
  .logo-text {
    font-size: 20px;
  }
  .position {
    width: 79%;
  }
  .landing-img,
  .under-img {
    background-attachment: scroll;
  }

  .landing-img h1,
  .sub-landing-img h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 35px;
  }
  .center-imgs div:first-of-type {
    margin-bottom: 60px;
  }
  .center-imgs {
    width: 100%;
  }
  .sub-landing-img {
    background-size: cover;
    background-attachment: scroll;
  }
  .sub-landing-img .position{
    width: 95%;
  }
}

@media (min-width: 480px) {

}

@media (min-width: 600px) {
  .landing-img,
  .under-img {
    background-attachment: scroll;
  }
	.navbar-header {
    padding: 0 30px;
  }
  .navbar-default {
    padding: 10px 0px;
  }
  .scroll {
    padding: 15px 0;
  }
  .navbar-nav {
    float: none;
  }
  .nav > li {
    border-top: 1px solid #000;
    margin: 0 20px;
  }
  .nav > li a {
    padding: 10px 0;
    line-height: 30px;
  }
  .nav > li:first-child {
    border-top: none;
  }
  .nav > li:last-child {
    border-bottom: 1px solid #000;
  }

  .sub-dropdown-menu {
    display: none;
  }

  .sub-dropdown-menu li:nth-child(1) {
    border-top: 1px solid #000;
  }
  .dropwdown-arrow {
    float: right;
  }
  .dropwdown-arrow > i {
    margin-left: 0;
    margin-right: 15px;
  }
  .open > .sub-dropdown-menu {
    display: block;
  }
  .level-0 {
    text-indent: 30px;
  }
  .level-1 {
    text-indent: 60px;
  }
  .level-2 {
    text-indent: 90px;
  }
  .logo-text {
    font-size: 20px;
  }
  .position {
    width: 79%;
  }
  .landing-img,
  .under-img {
    background-attachment: scroll;
  }

  .landing-img h1,
  .sub-landing-img h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 35px;
  }
  .center-imgs div:first-of-type {
    margin-bottom: 60px;
  }
  .center-imgs {
    width: 100%;
  }
  .sub-landing-img {
    background-size: cover;
    background-attachment: scroll;
  }
  .sub-landing-img .position{
    width: 95%;
  }
}

@media (min-width: 768px) {
  .navbar-default {
    padding: 0 20px;
  }
  .scroll {
    padding: 0 20px;
  }
  .nav > li {
    border: none;
    margin: 0;
  }
  .nav > li a {
    padding: 15px 15px;
  }
  .scroll .nav > li a {
    padding: 15px 15px;
  }
  .nav > li:first-child {
    border: none;
  }
  .nav > li:last-child {
    border: none;
  }
  .navbar-header {
    padding: 0;
  }
  #main-navbar {
    width: auto;
    transform: none;
    position: relative;
    height: auto;
    padding: 0;
    box-shadow: none;
    background: none;
    overflow: visible;
  }
  .open > .sub-dropdown-menu {
    transition-delay: 0s, 0s, 0.3s;
    opacity: 1;
    max-height: 100vh;
    z-index: 1000;
    visibility: visible;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .sub-dropdown-menu {
    display: block;
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    z-index: -1;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    white-space: nowrap;
    left: 50%;
    transform: translate(-50%, -2em);
  }
  .sub-dropdown-menu:before {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid rgba(255, 255, 255, 0.7);
    content: " ";
  }
  .sub-dropdown-menu li {
    border: none;
    line-height: 20px;
    padding: 10px 0;
  }
  .sub-dropdown-menu li:nth-child(1) {
    border: none;
  }
  .sub-dropdown-menu li a {
    position: relative;
    padding: 0 25px;
    line-height: 0;
  }
  .sub-landing-img {
    background-size: 100%;
    background-attachment: fixed;
  }

  .dropwdown-arrow {
    float: none;
  }
  .dropwdown-arrow > i {
    margin-left: 5px;
    margin-right: 0;
  }
  .no-before::before {
    content: none;
  }
  .no-before {
    top: 0;
    box-shadow: none;
    z-index: 999;
    transform: translate(-100%, 0);
  }
  .level-0,
  .level-1,
  .level-2 {
    text-indent: 0;
  }
  .navbar-nav {
    float: right;
  }
  .logo-text {
    font-size: 25px;
  }
  .position,
  .sub-landing-img .position{
    width: auto;
  }
  .landing-img h1,
  .sub-landing-img h1 {
    font-size: 55px;
  }
  h2 {
    font-size: 45px;
  }
  .center-imgs div:first-of-type {
    margin-bottom: 0;
  }
  .center-imgs {
    width: 33%;
  }
  .open > a {
    border-bottom: none;
  }
  .open > ul {
    border-bottom: none;
  }
}

@media (min-width: 992px) {
  .navbar-default {
    padding: 0 30px;
  }
  .scroll {
    padding: 0 30px;
  }
  .nav > li a {
    padding: 15px 15px;
  }
  .scroll .nav > li a {
    padding: 25px 15px;
  }
  .landing-img,
  .under-img {
    background-attachment: fixed;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .landing-img,
  .under-img {
    background-attachment: scroll;
  }
  .hidden-ipad {
    display: none !important;
  }
  .visible-ipad {
    display: block !important;
  }
  .col-ipad-12 {
    width: 100%;
  }
  .navbar-header {
    float: none;
  }
  .navbar-left,
  .navbar-right {
    float: none !important;
  }
  .navbar-toggle {
    display: block;
  }
  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
    display: none !important;
  }
  .navbar-nav {
    float: none !important;
    margin-top: 7.5px;
  }
  .navbar-nav > li {
    float: none;
  }
  .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .collapse.in {
    display: block !important;
  }

  .navbar-header {
    padding: 0 30px;
  }
  .navbar-default {
    padding: 10px 0px;
  }
  .scroll {
    padding: 15px 00px;
  }
  .navbar-nav {
    float: none;
  }
  .nav > li {
    border-top: 1px solid #000 !important;
  }
  .nav > li:first-child {
    border-top: none !important;
  }
  .nav > li:last-child {
    border-bottom: 1px solid #000;
  }
  .sub-dropdown-menu {
    display: none;
  }
  .open > .sub-dropdown-menu {
    display: block;
  }
  .level-0 {
    text-indent: 30px;
  }
  .level-1 {
    text-indent: 60px;
  }
  .level-2 {
    text-indent: 90px;
  }
  .logo-text {
    font-size: 20px;
  }
  .dropwdown-arrow {
    float: right;
  }

  .dropdown i {
    font-size: 19px;
    color: #000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    vertical-align: middle;
  }
  .navbar-nav {
    margin: 0;
  }
  .sub-dropdown-menu {
    padding: 0;
    list-style-type: none;
    margin: 0;
    position: relative;
    box-shadow: none;
    background: none;
  }

  .sub-dropdown-menu li {
    padding: 0;
  }
  .sub-dropdown-menu li a {
    color: #000;
    font-weight: 600;
    position: initial;
  }
  #main-navbar {
    width: 260px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    position: fixed;
    top: 0;
    right: 0;
    padding-top: 75px;
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.5);
    transform: translate3d(105%, 0, 0);
    transition: all 0.5s;
  }
  .sub-landing-img {
    background-size: cover;
    background-attachment: scroll;
  }
}

@media (min-width: 1170px) {
}
/*Edge*/
@supports (-ms-accelerator: true) {
  html {
    overflow: hidden;
    height: 100%;
  }
  body {
    overflow: auto;
    height: 100%;
  }
}
/*Ie 10/11*/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  html {
    overflow: hidden;
    height: 100%;
  }
  body {
    overflow: auto;
    height: 100%;
  }
}
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}
