@charset "UTF-8";
/*
 * Theme Name: W3 Base
 * Author: Richard Lewis
 * Description: Foundations for Custom WP Themes
 * Version: 2.0.0
 */
/*
 * Plan
 * No site specific styles
 * Only general and layout styles
 * The rest is up to the child theme
 */
@import url(css/_reset.css);
@import url(css/_wp-styles.css);
/******************************************************************************
 * Variables
 *****************************************************************************/
/**************************************
 * Colors
 */
/*$menu-row-background-color: rgba(255, 255, 255, .9);*/
/* Horizontal spacing between logo, menu and aside   */
/**************************************
 * Typography
 */
/* TODO: line-height */
/**************************************
 * Layouting
 */
/* Maximum width of the layout */
/* Maximum viewport width for tablet layout */
/* Maximum viewport width for mobile layout */
/* Left and right page margin */
/* Desktop menu right aside width */
/* Height of closed mobile menu */
/* Height of closed mobile menu */
/* Sidebar widths */
/*$sidebar-left-width: 200px;*/
/* Unused for now */
/* Space between sidebar and content */
/******************************************************************************
 * General Styles
 *****************************************************************************/
/* Use a sane box layout on all elements */
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

/* Eliminate horizontal jumping (always show vertical scrollbar) */
html {
  overflow-y: scroll;
  overflow-x: hidden;
  height: 100%;
  min-height: 100%;
  font-size: 16px;
  /* set root element font size */ }

/* Set default styles */
body {
  height: 100%;
  min-height: 100%;
  -webkit-text-size-adjust: none;
  /* fix font size issues on iphone */
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  background-color: #fff;
  color: #222;
  line-height: 1.5; }

/******************************************************************************
 * Special styles
 *****************************************************************************/
::selection {
  color: #fff;
  background: #328efe; }

::-moz-selection {
  color: #fff;
  background: #328efe; }

::-webkit-input-placeholder {
  color: #666;
  font-style: italic; }

:-moz-placeholder {
  /* Firefox 18- */
  color: #666;
  font-style: italic; }

::-moz-placeholder {
  /* Firefox 19+ */
  color: #666;
  font-style: italic; }

:-ms-input-placeholder {
  /* IE */
  color: #666;
  font-style: italic; }

/******************************************************************************
 * Pop Out Admin Bar Hack
 *****************************************************************************/
html#html {
  margin-top: 0 !important; }

#wpadminbar {
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  max-width: 36px !important;
  min-width: 36px !important;
  transition: height 0.3s ease-in-out, max-width 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: .2;
  /*display: none;*/ }

#wpadminbar:hover {
  width: 100%;
  opacity: 1;
  overflow-x: visible !important;
  overflow-y: visible !important;
  max-width: 100% !important;
  height: 64px;
  /* Optional, makes retaining hover easier */
  transition: height 0.3s ease-in-out, max-width 0.3s ease-in-out, opacity 0.3s ease-in-out; }

/******************************************************************************
 * Site Wide Layout
 *****************************************************************************/
#top:after,
#middle:after {
  content: "";
  display: block;
  width: 100%;
  clear: both; }

#middle, #bottom {
  padding-left: 20px;
  padding-right: 20px; }

#middle {
  min-height: 200px; }

/* Sidebars */
@media screen and (min-width: 781px) {
  #middle.has-sidebar-right #middle-content-wrap {
    position: relative; }

  #middle.has-sidebar-right #middle-content {
    margin-right: 330px; }

  #middle.has-sidebar-right div.sidebar-right {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 300px;
    padding-bottom: 30px; } }
/******************************************************************************
 * Some ugly colors to see what's what when developing
 *****************************************************************************/
/*
#top, #middle, #bottom {
    border: 1px dashed #f0f;
}

header, footer {
    border: 1px dashed #ff0;
}

#main-menu {
    border: 1px solid #f0f;
}
#main-menu ul li a {
    border: 1px solid red;
}*/
/******************************************************************************
 * Site Wide Navigation
 *****************************************************************************/
#main-menu-toggle {
  display: none; }

#main-menu-toggle span {
  display: none; }

nav.menu-row {
  position: relative;
  background-color: white; }

.menu-wrap ul li a {
  text-decoration: none; }

.menu-wrap ul li a:focus {
  outline: transparent auto 0; }

/*
 * Menu with logo
 */
nav.menu-row .logo-container {
  display: none; }

nav.menu-row .logo-container a {
  display: inline-block;
  text-decoration: none; }

nav.menu-row .logo-container img,
nav.menu-row .logo-container span {
  display: block; }

nav.menu-row.show-logo .menu-wrap {
  display: block !important; }

nav.menu-row.show-logo .menu-wrap > ul {
  width: auto; }

/*
 * Menu right aside content (e.g. search, font-size control etc)
 */
nav.menu-row aside.menu-content-right {
  display: none; }

@media screen and (min-width: 781px) {
  nav.menu-row.show-aside .max-width {
    position: relative; }

  nav.menu-row.show-aside aside.menu-content-right {
    width: 180px;
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 20px;
    /* container padding won't apply, so add it manually */
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%); }

  nav.menu-row.show-aside .menu-wrap {
    /* This padding creates space for the aside content */
    padding-right: 210px; } }
/* Mobile width menu */
@media screen and (max-width: 780px) {
  #top {
    margin-top: 0; }

  #main-menu-toggle {
    border-radius: 2px;
    display: block;
    text-align: center;
    padding: 9px 11px;
    font-size: 25px;
    font-weight: normal;
    color: #0820b2;
    text-decoration: none;
    height: 64px;
    width: 48px;
    position: absolute;
    top: 0;
    left: 0; }

  /*nav.menu-row .max-width {*/
  /*height: $mobile-menu-height;*/
  /*}*/
  /*#top.fixed-menu nav.menu-row .max-width,*/
  #top.fixed-menu #main-menu-toggle,
  nav.menu-row.opened #main-menu-toggle {
    height: 43px; }

  #main-menu-toggle i.fa {
    width: auto;
    display: inline-block;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%); }

  #top nav.menu-row {
    overflow: hidden;
    min-height: 64px;
    max-height: 64px;
    background-color: white;
    transition: background .3s ease-in-out;
    z-index: 10000; }

  nav.menu-row .max-width {
    position: relative; }

  nav.menu-row.opened .max-width {
    height: 100%; }

  #top nav.menu-row.opened,
  #top.fixed-menu nav.menu-row {
    position: fixed;
    top: 0;
    left: 0;
    right: 0; }

  #top.fixed-menu nav.menu-row {
    min-height: 43px;
    max-height: 43px; }

  #top nav.menu-row.opened,
  #top.fixed-menu nav.menu-row.opened {
    max-height: none; }

  #top.fixed-menu nav.menu-row .max-width {
    max-height: inherit; }

  nav.menu-row.opened {
    transition: max-height 0.3s ease-in-out;
    max-height: 1000px;
    height: 100%;
    overflow: hidden; }

  nav.menu-row.show-logo .logo-container {
    display: block;
    text-align: center;
    margin: 0 auto; }
    nav.menu-row.show-logo .logo-container a {
      display: inline-block; }
    nav.menu-row.show-logo .logo-container img {
      max-height: 64px;
      width: auto; }

  #top.fixed-menu nav.menu-row .logo-container img,
  nav.menu-row.opened .logo-container img {
    max-height: 43px; }

  nav.menu-row .menu-container {
    text-align: center;
    display: none;
    /*overflow-y: auto;*/
    position: absolute;
    /*top: $mobile-menu-height;*/
    top: 43px;
    left: 0;
    bottom: 0;
    right: 0;
    /*height:100%;*/
    transition: bottom .3s ease-in-out; }

  nav.menu-row.opened .menu-container {
    display: block; }

  .menu-wrap {
    margin: 10px 0;
    width: 100%;
    height: 60px; }

  .menu-wrap ul {
    display: inline-block;
    margin: 0 auto; }

  .menu-wrap ul li a {
    margin-bottom: 5px; }

  .menu-wrap ul li a {
    display: block;
    padding: 15px 20px; }

  .menu-wrap .sub-menu {
    display: none; } }
/* Desktop width menu */
@media screen and (min-width: 781px) {
  nav.menu-row.show-logo .logo-container {
    display: inline-block;
    float: left;
    margin-right: 10px; }

  #top.fixed-menu nav.menu-row {
    /*max-height: $mobile-menu-fixed-height;*/
    position: fixed;
    top: 0;
    left: 0;
    right: 0; }

  /*
   * Justified menu items
   */
  nav.menu-row.justify .menu-wrap {
    text-align: justify; }
  nav.menu-row.justify .menu-wrap > ul {
    /* Experimental */
    display: flex;
    justify-content: space-between; }
  nav.menu-row.justify .menu-wrap > ul > li {
    display: inline; }

  .menu-wrap {
    width: 100%;
    height: 60px;
    display: inline-block !important;
    text-align: left;
    font-size: .9em; }

  .menu-wrap > ul,
  .menu-wrap > ul li,
  .menu-wrap > ul li a {
    display: inline-block; }

  .menu-wrap ul li a {
    padding: 18px 7px; }

  .menu-wrap ul > li.menu-item-has-children {
    padding: 0;
    position: relative; }

  .menu-wrap ul ul.sub-menu li,
  .menu-wrap ul ul.sub-menu li a {
    width: 100%; }

  .menu-wrap ul > li.menu-item-has-children > ul.sub-menu {
    display: block;
    position: absolute;
    margin: 0;
    left: 0;
    padding: 0;
    z-index: 1000;
    /*overflow: hidden !important;*/
    /*visibility: hidden;*/
    overflow: hidden;
    border-bottom: none;
    border-top: none;
    height: 0;
    max-height: 0px;
    background-color: white;
    /*opacity: 0;*/
    transition: visibility 0s linear 0.3s, max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, overflow 0.3s linear; }

  .menu-wrap li.menu-item-has-children:hover > ul.sub-menu,
  .menu-wrap li.menu-item-has-children.focus > ul.sub-menu,
  .menu-wrap li.menu-item-has-children:focus > ul.sub-menu {
    display: block;
    opacity: 1;
    height: auto;
    max-height: 400px;
    overflow: visible;
    /*transition: max-height 0.3s ease-in-out, background 0.3s ease-in-out, overflow 0.3s linear;*/
    /*visibility: visible;*/
    /*transition-delay: 0s;*/ }

  .menu-wrap ul li.menu-item-has-children ul.sub-menu > li.menu-item-has-children > ul.sub-menu {
    /*overflow: visible !important;*/
    left: 100%;
    top: 0; } }
/******************************************************************************
 * Styles for all basic content that is editable
 *****************************************************************************/
/***************************************
 * Headers
 */
h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1;
  color: #404041;
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: "verlag light", sans-serif; }

/* No underline in header links by default */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  text-decoration: inherit; }

h2, h3 {
  margin-top: 20px; }

/*h1 {*/
/*    margin-top: 0;*/
/*}*/
h1 {
  font-size: 60px; }

h2 {
  font-size: 48px; }

h3 {
  font-size: 30px; }

h4 {
  font-size: 24px; }

h5 {
  font-size: 19px; }

h6 {
  font-size: 15px; }

/***************************************
 * Text formatting
 */
strong, b {
  font-weight: bold; }

i, em {
  font-style: italic; }

del {
  text-decoration: line-through; }

pre {
  max-width: 100%;
  overflow-x: auto;
  font-family: Consolas, Monaco, Lucida Console, monospace; }

small {
  font-size: .75em; }

p {
  margin-bottom: .85em;
  line-height: 1.3; }

sup {
  font-size: .75em;
  vertical-align: top; }

sub {
  font-size: .75em;
  vertical-align: bottom; }

mark {
  padding: .1em;
  background-color: rgba(255, 245, 135, 0.3); }

abbr {
  cursor: help;
  border-bottom: 1px dotted #777; }

blockquote {
  padding: 10px 20px;
  margin: 0 0 20px;
  font-size: 20px;
  border-left: 5px solid #eee; }

hr {
  border: 0;
  height: 1px;
  background-color: #999;
  margin-bottom: 10px; }

/***************************************
 * Forms
 */
/* All form controls */
input,
button,
select,
textarea {
  max-width: 100%; }

.content input,
.content button,
.content select,
.content textarea {
  max-width: 100%;
  background-color: #fff;
  padding: 6px 12px;
  /*
  line-height: 1.42;
  border-radius: 4px;
  */ }

.content select,
.content textarea {
  width: 100%;
  border: 1px solid #ccc; }

/* Text inputs & select */
.content input[type="text"],
.content input[type="password"],
.content textarea,
.content select {
  display: block;
  color: #555;
  background-color: #fff;
  border: 1px solid #ccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); }

/* Buttons */
.content .btn,
.content button,
.content input[type="reset"],
.content input[type="submit"] {
  display: inline-block;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  /*border: 1px solid transparent;*/
  /*border: 1px solid $form-control-border-color;*/ }

/***************************************
 * General content that's editable via the CMS
 */
.content:after {
  content: "";
  display: block;
  clear: both; }

.content a {
  text-decoration: none; }

/*
 * Text block formatting
 */
.content p {
  line-height: 1.35; }

.content ul,
.content ol {
  list-style: disc;
  margin: 20px 0 30px 0;
  margin-left: 2em; }

.content ul ul,
.content ol ol {
  margin-left: 1.5em; }

.content img {
  max-width: 100%;
  height: auto; }

.content table {
  color: #222;
  border-width: 1px;
  border-color: #ddd;
  border-collapse: collapse; }

.content table th {
  border-width: 1px;
  padding: 8px;
  border-style: solid;
  border-color: #999;
  background-color: #fafafa; }

.content table td {
  border-width: 1px;
  padding: 8px;
  border-style: solid;
  border-color: #ddd;
  background-color: #ffffff; }

/******************************************************************************
 * Helper classes for styling content in the CMS
 *****************************************************************************/
.full-width {
  max-width: 100%;
  width: 100%; }

.max-width {
  max-width: 980px;
  margin: 0 auto; }

.circle {
  border-radius: 50%; }

/* Adds a dropp shadow to transparent PNG:s */
img.shadowed {
  -webkit-filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.65));
  filter: url("data:image/svg+xml;utf8,<svg height='0' xmlns='http://www.w3.org/2000/svg'…e/><feMergeNode in='SourceGraphic'/></feMerge></filter></svg>#drop-shadow");
  -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=2, Color='#333')";
  filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=2, Color='#333')"; }

img.broken {
  outline: 0;
  margin: -1px;
  /*border: 1px solid red;*/
  background-color: #eee;
  color: #333;
  min-height: 190px; }

/*# sourceMappingURL=style.css.map */
