@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=Roboto:300,400,500&display=swap');

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

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

/* defaults */
body {
  margin: 0;
  padding: 140px 0 0;
  background-color: #fff;
  font-family: Roboto, sans-serif;
  font-weight: 300;
  font-size: 12pt;
  color: #403447;
}

/* "back to top" arrow */
#up-arrow {
  position: fixed;
  font-size: 0;
  bottom: 10px;
  right: -100px;
  height: 60px;
  width: 60px;
  opacity: 0;
  cursor: pointer;
  transition: right 0.4s, opacity 0.3s, background 0.3s;
  z-index: 10000;

  border: 1px solid #fff;
  background: #d77200;
  color: #fff;
  border-radius: 30px;
}

#up-arrow:after {
  display: block;
  position: absolute;
  content: '▲';
  font-size: 16pt;
  top: 12px;
  left: 22px;
}

body.menu-scrolled #up-arrow:hover {
  background: #d25500;
}

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

/** Cookie warning */
.flexi-cookie {
  position: fixed;
  bottom: 10px;
  left: 10px;
  padding: 0 10px 10px;
  border: 1px solid #5a048f;
  background: #fff;
  text-align: center;
  border-radius: 2px;
  z-index: 10000;
}

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

/** Header */
.header {
  background: #fff;
  padding: 10px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid #d77200;
  z-index: 999;
}

button.menu-button {
  font-weight: normal;
  color: #d77200;
  font-size: 1.6rem;
  background: transparent;
  padding: 0.5rem;
  transition: background 0.3s, color 0.3s;
  display: inline-block !important;
}

button.menu-button:hover {
  background: #d77200;
  color: #fff;
}

/** Menu */

body nav.menu {
  position: fixed;
  z-index: 999;
  top: 140px;
  left: 0;
  right: 0;
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: opacity 0.2s, height 0.3s;
  background: #fff;
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
}

nav.menu.open {
  height: 300px;
  opacity: 1;
}

nav.menu>div {
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 1000px;
  height: 300px;
}

/* bar items */

nav.menu span.item, nav.menu span.toplevel-sep, nav.menu hr {
  width: 25%;
  box-sizing: border-box;
  padding: 0.25rem;
  margin: 0;
}

nav.menu span.toplevel-sep, nav.menu hr {
  padding: 0.75rem;
  background: none;
}

.toplevel-sep:after, nav.menu hr:after {
  content: '';
}

nav.menu span.item a {
  transition: color 0.3s;
  padding: 0.5rem;
  display: block;

}

nav.menu>div>span.item>a {
  color: #6c0db7;
  font-weight: 500;
}

/* submenus */

nav.menu span.item.subitem a {
  color: #3c3c3c;
  transition: background 0.3s, color 0.3s;
  padding: 0.5rem;
  font-weight: 300;
}

nav.menu span.item a:hover {
  color: #5a048f;
}

/** Flyout buttons */

.menubar .button.flyo-show {
  border-radius: 0 0 0 6px;
  position: fixed;
  top: 0;
  right: 0;
}

.button.flyo-hide {
  border-radius: 0;
  display: none;
}

.flyo-header {
  display: none;
  padding: 10px;
}

/** Menu when page is scrolled down */

hr {
  background: url(img/hr.png) center center no-repeat;
  height: 64px;
  border: none;
}

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

.content {

}

.content h1,
.content h2,
.content h3,
.content h4 {
  font-weight: 500;
}

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

.content a {
  color: #5a048f;
  transition: color 0.3s;
}

.content a:hover {
  color: #6c0db7;
}

.footer {
  color: #fff;
  background: #403447;
  position: relative;
  padding: 20px 0;
}

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

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

.footer a:hover, .flexi-footer a:hover {
  color: #d25500;
}

span.powered {
  display: inline-block;
  margin-left: 1em;
}

/** Buttons and button-type things */
button, input[type="submit"], .button, .formandu-button, input[type="button"], a.button, .eshop_userauth_buttonbox a {
  background: #d77200 url(img/button-icon.png) calc(100% - 10px ) center no-repeat;
  background-size: 2.5rem 2.5rem;
  color: #fff;
  transition: background 0.3s;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  padding: 10px 60px 10px 20px;
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  font-family: Roboto, sans-serif;
  font-weight: 500;
  border-radius: 6px;
}

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

/** Text controls */
.formandu-text, .formandu-dropdown, .formandu-textarea, select {
  background: #fff;
  color: #333;
  border: none;
  border-bottom: 1px dotted #3c3c3c;
  transition: border 0.3s;
  font-size: 12pt;
  margin: 10px;
  padding: 8px;
  width: calc(100% - 20px);
  box-sizing: border-box;
}

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

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

/** Phone/tablet */

@media (max-width: 1000px) {
  .content.brokenout .pb-block-outer>div, .wrapper, .flexi-cookie-inner {
    width: 100%;
  }
  #up-arrow, .search .form {
    display: none;
  }
}

/** Menus */

@media (max-width: 975px) {
  .header {
    padding: 30px 10px 10px;
  }
  button.menu-button {
    display: none !important;
  }
  body nav.menu.flyout .flyo-header img {
    max-width: calc(100% - 20px);
  }
  nav.menu, nav.menu>div {
    height: auto !important;
    opacity: 1;
    display: block;
    width: 100vw;
  }
  nav.menu span.item {
    width: 100%;
    display: block;
  }
  nav.menu span.item span.submenu a, nav.menu>span.item>a, nav.menu>span.item.has-submenu>a:hover {
    text-align: left;
    background: #fff;
    color: #333;
    transition: background 0.3s, color 0.3s;
    height: auto;
    opacity: 1;
  }

  nav.menu span.item span.submenu a:hover , nav.menu>span.item>a:hover {
    background: #ddd;
  }

  nav.menu.flyout span.item span.submenu {
    padding: 0 0 5px 20px;
  }
}

/** Big phone */

@media (max-width: 750px) {
  .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 h1, .content h2, .content h3, .content p {
    padding-left: 3px;
    padding-right: 3px;
  }
  .footer, .col2.right, .header {
    text-align: center;
  }
  .flexi-system-widgets {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
  }
  .flexi-system-widget {
    border-left: 0;
    display: block;
  }
  span.powered {
    display: block;
    margin-left: 0;
  }
}

