@CHARSET "UTF-8";

/* Add @import here - don't forget to start the address with //: to ensure HTTPS compatibility */
@import url('https://fonts.googleapis.com/css?family=Open+Sans|Raleway');

/* Selected text */
*::selection, input::selection {
  background: #4c8e4d;
  color: #fff;
}

*::-moz-selection {
  background: #4c8e4d;
  color: #fff;  
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333;
  font-family: "Open Sans", sans-serif;
  font-size: 12pt;
}

/* "back to top" arrow */
#up-arrow {
  position: fixed;
  top: 10px;
  right: -100px;
  background: #4c8e4d;
  color: #fff;
  padding: 15px 24px 20px;
  opacity: 0;
  cursor: pointer;
  transition: right 0.4s, opacity 0.3s;
  border: 1px solid #fff;
  z-index: 998;
}

body.menu-scrolled #up-arrow:hover {
  opacity: 1;
}

body.menu-scrolled #up-arrow {
  right: 10px;
  opacity: 0.6;
}

/** Cookie warning */
.flexi-cookie {
  
}

.flexi-cookie-buttons {
  text-align: right;
}

.flexi-cookie-inner {
  padding-bottom: 10px;
}

/** Main page canvas wrapper - defines page width */
.flexi-cookie-inner, .content.brokenout .pb-block-outer>div, .wrapper {
  width: 1000px;
  margin: 0 auto;
}

/** Header */
.header {
  background: #4c8e4d;
  color: #fff;
  padding: 10px 0 2px;
}

.header a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.header a:hover {
  opacity: 0.8;
}

.row .right {
  text-align: right;
}

/** Menu */

.menubar {
  border-bottom: 1px solid #ddd;
  font-family: Raleway, sans-serif;
  background: #fff;  
  z-index: 997;
  transition-delay: 0;
}

.menubar .wrapper {
  position: relative;
  height: 150px;
  transition: height 0.3s;
}

.logo {
  position: absolute;
  top: 50px;
  left: 0;
  transition: top 0.2s;
  
}

nav.menu {
  position: absolute;
  right: 0;
  bottom: 0;
}

nav.menu span.item span.submenu {
  background: #fff; 
  border-top: 1px solid #ddd; 
}

nav.menu span.item>a {
  color: #333;
  transition: color 0.3s;
  padding: 0 20px 60px;
  transition: padding 0.3s;  
}

nav.menu span.item>a:hover {  
  color: #4c8e4d;
}

nav.menu span.item span.submenu a, 
nav.menu span.item.subitem {
  display: block;
}

nav.menu span.item span.submenu a {
  background: #fff;
  text-align: center;
  color: #333;
  transition: background 0.3s, color 0.3s;
  padding: 10px 20px;  
}

nav.menu span.item span.submenu a:hover {
  background: #4c8e4d;
  color: #fff;
}

/** Flyout show button */
.flyo-show {
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #aaa;
  text-align: center;
  padding: 6px 0;
  transition: background 0.3s, color 0.3s;
}

.flyo-hide {
  color: #fff;
  padding: 6px;
}

.flyo-header {
  text-align: center;
  padding-top: 5px;
}

/** Menu when page is scrolled down */

body.menu-scrolled div.menubar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
}

body.menu-scrolled {
  padding-top: 81px;
}

body.menu-scrolled .menubar .wrapper {
  height: 81px;
}

body.menu-scrolled .menubar .logo {
  top: 10px;
}

body.menu-scrolled nav.menu span.item>a {
  padding-bottom: 30px;
}

body.menu-scrolled nav.menu span.item span.submenu a {
  padding-bottom: 10px;
}

/** General content styles */

.heading.left .pb-title {
  text-align: left;
  margin: 0;
  border-left: 2px solid #4c8e4d;
  padding-left: 8px;
}

.heading.right .pb-title {
  text-align: right;
  margin: 0;
  border-right: 2px solid #4c8e4d;
  padding-right: 8px;
}

.home-banner {
  background: #fff url(img/block-header-bg.jpg) center top no-repeat;
  height: 470px;
  padding: 0 0 100px 0;
}

.home-banner div.row {
  position: relative;
  height: 570px;
}

.home-banner div.col2:first-child {
  background: #70ad59;
  color: #fff;
  font-family: Raleway, sans-serif;
  padding: 30px;
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 500px;
}

.home-banner div.col2:last-child {
  display: none;
} 

.interested {
  height: 355px;
  box-sizing: border-box;
  background: #4c8e4d url(img/block-interested-bg.jpg) center center no-repeat;
  padding: 40px 0;
  color: #fff;
}

/** Remove top margin from the first element */
.content *:first-child {
  margin-top: 0;
}

.content {
  
}

.content h1, 
.content h2, 
.content h3, 
.content h4 {
  font-family: Raleway;
  color: #4c8e4d;
}

/** Important for breakout/breakins */
.content:empty {
  display: none;
}

.content a {
  color: #4c8e4d;
  transition: color 0.3s;  
}

.content a:hover {
  color: #70ad59;
}

.footer {
  color: #fff;
  background: #4c8e4d;
  padding: 16px 0;
}

.footer a {
  color: #fff;
  transition: color 0.3s;
  text-decoration: none;
}

.footer a:hover {
  color: #eee;
}

/** Buttons and button-type things */
button, input[type="submit"], .button, .formandu-button, input[type="button"], a.button, .eshop_userauth_buttonbox a {
  background: #eaeaea;
  color: #70ad59;
  transition: background 0.3s;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  padding: 8px 16px;
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 13pt;
  font-family: "Open Sans", sans-serif;
}

button:hover, input[type="submit"]:hover, .button:hover, .formandu-button:hover, input[type="button"]:hover, a.button:hover, .eshop_userauth_buttonbox a:hover {
  background: #70ad59;
  color: #fff;
}

/** Text controls */
.formandu-text, .formandu-dropdown, .formandu-textarea, select {
  background: #fff;
  border: 1px solid #888;
  transition: border 0.3s;  
  font-size: 12pt;
  margin: 10px;
  padding: 8px;
  width: calc(100% - 20px);
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

.formandu-text:hover, .formandu-text:focus, .formandu-dropdown:hover, .formandu-dropdown:focus, .formandu-textarea:hover, .formandu-textarea:focus, select:hover, select:focus {
  border: 1px solid #4c8e4d; 
}

/*******************************************************************************
 ** Responsive */

/** Phone/tablet */

@media (max-width: 1000px) {
  body.menu-scrolled div.content {
    padding-top: 0;
  }
  body.menu-scrolled div.menubar {
    position: fixed; top: 0;
  }
  .content.brokenout .pb-block-outer>div, .wrapper, .flexi-cookie-inner {
    width: 100%;
  }  
  #up-arrow, .search .form {
    display: none;
  }
}

/** Menus */

@media (max-width: 975px) {
  body {
    padding-top: 40px;
  }
  .logo {
    display: none;
  }
  .menubar {
    height: 0;
    padding: 0;
    background: #aaa;
  }
  nav.menu {
    padding: 0;
    border-right: 2px solid #70ad59;
    background: #fff;
  }
  nav.menu span.item>a {
    padding: 10px;
    transition: background 0.3s, color 0.3s;
    background: #fff;
    color: #333;
  }
  nav.menu span.item>a:hover {
    color: #fff;
    background: #4C8E4D;
  }
  nav.menu span.has-submenu>a {
    color: #333 !important;
    background: #fff !important;
    cursor: default;
  }
  nav.menu.flyout span.item {
    text-align: left;
  }
  nav.menu.flyout span.item span.submenu {
    border-top: 0;
    padding: 0;
  }
  nav.menu span.submenu>span.item>a {
    text-align: left;
  }
}

/** Big phone */

@media (max-width: 750px) {
  body {
    padding-top: 30px;
  }
  .formandu-text, .formandu-textarea, .formandu-dropdown, .formandu-static-text, .formandu-listbox {
    width: 95%;
  }
  .footer {
    padding: 0 5px;
  }
  .flexi-cookie-msg {    
    float: none;
    font-size: 0.8em;
    padding: 0;
    width: auto; 
  }
  .flexi-cookie-buttons {
    width: auto;    
    float: none;
    text-align: center;
    padding: 5px 0;
  }
}

/** Small phone */

@media (max-width: 600px) {
  .content {
    padding: 0 3px;
  }
  .footer {
    padding: 20px 0; 
  }    
  .row .right, .header, .footer,.heading.left .pb-title, .heading.right .pb-title {
    text-align: center;
    border: 0;
    padding-left: 0;
    padding-right: 0;
  }  
  .home-banner, .home-banner div.row {
    height: auto;
  }
  .home-banner div.col2:first-child {
    width: auto;
    position: static;
    bottom: auto;
  }
}

