/*
Theme Name: allergycertified
Author: Toke Fritzemeier
Author URI: http://toke.wf/
Text Domain: allergycertified
*/

@import 'https://fonts.googleapis.com/css?family=Open+Sans:400,700';

/* BlankSlate resets */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    font-size: 100%;
    font: inherit;
    padding: 0;
    border: 0;
    margin: 0;
    vertical-align: baseline;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none
}

blockquote, q {
    quotes: none
}

blockquote:before, blockquote::after, q::before, q::after {
    content: '';
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block
}


/* AllergyCertified theme CSS */

*, *:before, *:after {
    box-sizing: inherit;
}

html, body {
    height: 100%;
}

html {
    box-sizing: border-box;
    font-size:.8em;
}

body, input {
    font-family: "Open Sans", sans-serif;
}

input, textarea {
  font-size:1rem;
}

input:focus,
textarea:focus {
  border:none;
  outline:none;
  color:#004a8f;
}

input[type="submit"]:hover,
button:hover {
  cursor:pointer;
}

b, strong {
    font-weight: 700;
}

a {
  color:#004a8f;
}

a[href^="tel"]{ /* remove iOS styling of auto-detected phone numbers */
  color:inherit;
  text-decoration:none;
}

p {
    padding-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    padding-bottom: 2rem;
}

h2 {
  font-size: 1.625rem;
  padding:.5rem 0;
  color:#004a8f;
  line-height:1.2;
}

h3 {
  font-size:1.25rem;
  font-weight:700;
  padding-bottom:.25rem;
}

iframe {
  max-width:100%;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.clearfix::before,
.clearfix::after {
    content: "";
    display: table;
    -webkit-flex-basis:0;
    flex-basis:0;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order:1;
}

.clearfix:after {
    clear: both;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0
}

.padding-2rem {
    padding: 2rem;
}

.margin-2rem {
    margin: 2rem;
}

.background-color-1c1c1c {
    background-color: #1c1c1c;
}

.background-color-eee {
    background-color: #eee;
}

.background-color-004a8f {
    background-color: #004a8f;
}

.font-color-f1f1f1 {
    color: #f1f1f1;
}

.font-color-004a8f {
    color: #004a8f;
}

.font-color-1c1c1c {
    color: #1c1c1c;
}

.font-color-aaa {
    color: #aaa;
}

.font-size-0_25rem {
    font-size: .25rem;
}

.font-size-0_5rem {
    font-size: .5rem;
}

.font-size-0_75rem {
    font-size: .75rem;
}

.font-size-2rem {
    font-size: 2rem;
}

.font-size-3rem {
    font-size: 3rem;
}

.text-decoration-none {
  text-decoration:none;
}

#wrapper {
    min-height: 100%;
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */

    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;

    position:absolute; /* use this 'hack' to prevent horizontal jumping when opening/closing the flyout menu */
    top:0;
    right:0;
    bottom:0;
    left:0;
    overflow:visible;
}

#wrapper.menu-open {
  overflow:hidden;
}

#header {
  position:relative;
  -webkit-box-flex: 0 0 auto;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  -moz-flex: 0 0 auto;
  flex:0 0 auto;
}

#topbar {
  display:flex;
}

.home:not(.error404) #topbar,
.columns:not(.error404) #topbar {
  background-color:#222;
}

.home:not(.error404) #header,
.columns:not(.error404) #header {
    -webkit-box-flex: 1 0 auto;
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    -moz-flex: 1 0 auto;
    flex: 1 0 auto;
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */

    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

#branding {
    flex: 1 1 auto;
}

#site-logo {
    height: 5rem;
    width: auto;
    position: relative;
    z-index: 15;
    margin-right:-4.531rem; /* to remove the 'one world, one label' part */
    max-width:none;
}

.regular-menu {
    position:relative;
    z-index: 60;
    text-align: right;
    line-height:1.38;
    padding-right:2rem;
}
.nav-wrapper {
  position:relative;
  display:inline-block;
  padding:2rem 0;
  line-height:2rem;
}
#lang-nav-wrapper {
  position:static;
}

.menu-toggle {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    color:#1c1c1c;
}

#lang-menu-toggle {
  margin-left:0;
  margin-right:1rem;
}

.home:not(.error404) .menu-toggle,
.columns:not(.error404) .menu-toggle {
  color:#f1f1f1;
}

.menu-toggle:hover, .menu-toggle:active {
    cursor: pointer;
}

.menu-toggle span {
    vertical-align: middle;
    line-height: 2rem;
}

.open-menu, .close-menu {
    font-size:1rem;
    background-size: 100% 100%;
    background-position: center right;
    background-repeat: no-repeat;
    display: inline-block;
    width: 1.6em;
    height: 1.6em;
    margin-left:.5rem;
}

.open-regular-menu {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%231c1c1c%22%20d%3D%22M16%200C7.164%200%200%207.164%200%2016c0%208.837%207.164%2016%2016%2016s16-7.163%2016-16c0-8.836-7.164-16-16-16zm6.992%2023.5H9.008c-.83%200-1.5-.672-1.5-1.5%200-.83.67-1.5%201.5-1.5h13.984c.827%200%201.5.67%201.5%201.5%200%20.828-.673%201.5-1.5%201.5zm0-6H9.008c-.83%200-1.5-.672-1.5-1.5%200-.83.67-1.5%201.5-1.5h13.984c.827%200%201.5.67%201.5%201.5%200%20.828-.673%201.5-1.5%201.5zm0-6H9.008c-.83%200-1.5-.673-1.5-1.5%200-.83.67-1.5%201.5-1.5h13.984c.827%200%201.5.67%201.5%201.5%200%20.827-.673%201.5-1.5%201.5z%22%2F%3E%3C%2Fsvg%3E");
}

.close-regular-menu {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22M16%200C7.164%200%200%207.164%200%2016c0%208.837%207.164%2016%2016%2016s16-7.163%2016-16c0-8.836-7.164-16-16-16zm6.004%2019.883c.586.586.586%201.535%200%202.12-.293.294-.677.44-1.06.44s-.77-.146-1.062-.44L16%2018.122l-3.883%203.884c-.293.293-.677.44-1.062.44s-.77-.147-1.062-.44c-.584-.586-.584-1.535%200-2.12L13.877%2016l-3.883-3.883c-.584-.586-.584-1.537%200-2.123.586-.584%201.537-.584%202.123%200L16%2013.877l3.883-3.883c.586-.584%201.535-.584%202.12%200%20.587.586.587%201.537%200%202.123L18.122%2016l3.884%203.883z%22%2F%3E%3C%2Fsvg%3E");
}
.home:not(.error404) .open-regular-menu,
.columns:not(.error404) .open-regular-menu {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23f1f1f1%22%20d%3D%22M16%200C7.164%200%200%207.164%200%2016c0%208.837%207.164%2016%2016%2016s16-7.163%2016-16c0-8.836-7.164-16-16-16zm6.992%2023.5H9.008c-.83%200-1.5-.672-1.5-1.5%200-.83.67-1.5%201.5-1.5h13.984c.827%200%201.5.67%201.5%201.5%200%20.828-.673%201.5-1.5%201.5zm0-6H9.008c-.83%200-1.5-.672-1.5-1.5%200-.83.67-1.5%201.5-1.5h13.984c.827%200%201.5.67%201.5%201.5%200%20.828-.673%201.5-1.5%201.5zm0-6H9.008c-.83%200-1.5-.673-1.5-1.5%200-.83.67-1.5%201.5-1.5h13.984c.827%200%201.5.67%201.5%201.5%200%20.827-.673%201.5-1.5%201.5z%22%2F%3E%3C%2Fsvg%3E");
}

.open-lang-menu {
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%3E%3Cpath%20d%3D%22M16%200c8.837%200%2016%207.163%2016%2016%200%208.836-7.163%2016-16%2016-8.836%200-16-7.164-16-16C0%207.163%207.164%200%2016%200m0%202C8.28%202%202%208.28%202%2016s6.28%2014%2014%2014%2014-6.28%2014-14S23.72%202%2016%202z%22%2F%3E%3Cpath%20d%3D%22M16%200c4.969%200%209%207.163%209%2016%200%208.836-4.031%2016-9%2016-4.97%200-9-7.164-9-16%200-8.837%204.03-16%209-16m0%202c-3.311%200-7%205.75-7%2014s3.689%2014%207%2014%207-5.75%207-14-3.689-14-7-14z%22%2F%3E%3Cpath%20d%3D%22M16%2018c5.857%200%2011.161%201.33%2015.016%203.48C28.776%2027.613%2022.908%2032%2016%2032%209.092%2032%203.224%2027.613.984%2021.48%204.839%2019.33%2010.142%2018%2016%2018m0%202c-4.588%200-8.926.852-12.424%202.418C5.954%2027.016%2010.748%2030%2016%2030s10.046-2.984%2012.424-7.582C24.926%2020.852%2020.588%2020%2016%2020zM16%200c6.908%200%2012.776%204.387%2015.017%2010.52C27.161%2012.67%2021.857%2014%2016%2014%2010.142%2014%204.839%2012.67.983%2010.521%203.223%204.387%209.092%200%2016%200m0%202C10.748%202%205.954%204.985%203.575%209.583%207.074%2011.149%2011.412%2012%2016%2012s8.926-.851%2012.425-2.418C26.046%204.984%2021.252%202%2016%202z%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%231c1c1c%22%20stroke-width%3D%222%22%20d%3D%22M16%2030.5v-29%22%2F%3E%3C%2Fsvg%3E");
}
.close-lang-menu,
.home:not(.error404) .open-lang-menu,
.columns:not(.error404) .open-lang-menu {
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%3E%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22M16%200c8.837%200%2016%207.163%2016%2016%200%208.836-7.163%2016-16%2016-8.836%200-16-7.164-16-16C0%207.163%207.164%200%2016%200m0%202C8.28%202%202%208.28%202%2016s6.28%2014%2014%2014%2014-6.28%2014-14S23.72%202%2016%202z%22%2F%3E%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22M16%200c4.969%200%209%207.163%209%2016%200%208.836-4.031%2016-9%2016-4.97%200-9-7.164-9-16%200-8.837%204.03-16%209-16m0%202c-3.311%200-7%205.75-7%2014s3.689%2014%207%2014%207-5.75%207-14-3.689-14-7-14z%22%2F%3E%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22M16%2018c5.857%200%2011.161%201.33%2015.016%203.48C28.776%2027.613%2022.908%2032%2016%2032%209.092%2032%203.224%2027.613.984%2021.48%204.839%2019.33%2010.142%2018%2016%2018m0%202c-4.588%200-8.926.852-12.424%202.418C5.954%2027.016%2010.748%2030%2016%2030s10.046-2.984%2012.424-7.582C24.926%2020.852%2020.588%2020%2016%2020zM16%200c6.908%200%2012.776%204.387%2015.017%2010.52C27.161%2012.67%2021.857%2014%2016%2014%2010.142%2014%204.839%2012.67.983%2010.521%203.223%204.387%209.092%200%2016%200m0%202C10.748%202%205.954%204.985%203.575%209.583%207.074%2011.149%2011.412%2012%2016%2012s8.926-.851%2012.425-2.418C26.046%204.984%2021.252%202%2016%202z%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23FFF%22%20stroke-width%3D%222%22%20d%3D%22M16%2030.5v-29%22%2F%3E%3C%2Fsvg%3E");
}

.ac-menu {
    display: none;
    background-color:rgba(0,0,0,.35);
}

.ac-menu.open {
    display: block;
}
.ac-menu .inner .menu-toggle {
    margin-top: 1.1rem;
    margin-bottom:.666rem;
    margin-bottom: calc(2rem / 3); /* subtract 0 to force ie to calculate correctly */
}
#ac-lang-menu {
  position:absolute;
  right:0;
  left:-1.5rem;
  text-align:left;
  margin-top:.5rem;
}

#ac-regular-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index:20;
}

#ac-regular-menu .inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 2rem;
  overflow:auto;
}

#ac-regular-menu-list {
  text-align:left;
}

#ac-regular-menu-list .page_item > .children {
  max-height:0;
  overflow:hidden;
  background: rgb(255, 255, 255);
  background: transparent\9;
  background: rgba(255, 255, 255, .1);
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#1AFFFFFF, endColorstr=#1AFFFFFF);
  zoom: 1;
  margin:0 -2rem;
  padding:0 2rem;
  transition:max-height 1s ease;
}

#ac-regular-menu-list .page_item_has_children.current_page_parent > .children,
#ac-regular-menu-list .page_item_has_children.current_page_ancestor > .children {
  max-height:300vh; /* just needs to be bigger than actual max height, but the closer this value, the tighter the animation */
}

#ac-regular-menu-list .page_item_has_children > a .expand-collapse::after {
  content:"";
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23DDD%22%20d%3D%22M16%200c8.837%200%2016%207.163%2016%2016s-7.163%2016-16%2016S0%2024.837%200%2016%207.163%200%2016%200m0%203C8.832%203%203%208.832%203%2016s5.832%2013%2013%2013%2013-5.832%2013-13S23.168%203%2016%203z%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23DDD%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20d%3D%22M9.008%2016h13.984M16%2022.992V9.008%22%2F%3E%3C%2Fsvg%3E");
  background-size:100% 100%;
  width:1.333em;
  width:calc(4em / 3);
  height:1.333em;
  height:calc(4em / 3);
  vertical-align:middle;
  display:inline-block;
  -ms-transform:rotate(0deg);
  -moz-transform:rotate(0deg);
  -webkit-transform:rotate(0deg);
  -o-transform:rotate(0deg);
  transform:rotate(0deg);
  transition:all .5s ease;
  font-size:1.2em;
  position:absolute;
  right:0;
  top:.89rem;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

#ac-regular-menu-list .page_item_has_children.current_page_parent > a .expand-collapse::after,
#ac-regular-menu-list .page_item_has_children.current_page_ancestor > a .expand-collapse::after {
  -ms-transform:rotate(-135deg);
  -moz-transform:rotate(-135deg);
  -webkit-transform:rotate(-135deg);
  -o-transform:rotate(-135deg);
  transform:rotate(-135deg);
}

#ac-regular-menu-list li {
  position: relative;
}

#ac-regular-menu-list a {
    color: rgb(255, 255, 255);
    color:rgba(255,255,255,.85);
    text-decoration: none;
    padding: 1rem 0;
    display:inline-block;
}

#ac-regular-menu-list .current_page_item > a {
  font-weight: 700;
  color: #f1f1f1;
}

.search {
  clear:both;
  padding: 1rem 0;
}

.search:not(#search-menu) {
  padding:0 0 2rem;
}

.search label {
  display:inline-block;
  margin:0;
  border:none;
  float:left;
}

#search404.search {
  padding-top:2rem;
}

#search-menu {
  text-align:left;
}

#search-menu label {
  float:left;
}

.search input {
  display:block;
  float:left;
  margin:0;
  border:none;
  padding-top:0;
  padding-right:1.5rem;
  padding-bottom:0;
  padding-left:1.5rem;
  height:3rem;
  line-height:3rem;
  vertical-align:bottom;
}

#search-menu input {
  float:left;
}

.search input[type="search"] {
  clear:left;
  border-radius:1.5rem 0 0 1.5rem;
  -webkit-border-radius:1.5rem 0 0 1.5rem;
  padding-right:1rem;
  -webkit-appearance:none;
  position:relative;
}

div.search:not(#search-menu) input[type="search"] {
  border:1px solid #ccc;
}

.search input[type="search"]::-webkit-search-cancel-button {
  position:relative;
  z-index:1;
}

.search input[type="submit"] {
  text-transform:uppercase;
  font-weight:700;
  clear:right;
  padding-left:1rem;
  border-radius:0 1.5rem 1.5rem 0;
  -webkit-appearance:none;
  -webkit-border-radius: 0 1.5rem 1.5rem 0;
}

.home .column-menu,
.columns .column-menu {
  clear:both;
  -webkit-box-flex: 1 0 auto;
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  -moz-flex: 1 0 auto;
  flex:1 0 auto;
  position:relative;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.home #ac-column-menu,
.columns #ac-column-menu {
  -webkit-box-flex: 1 0 auto;
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  -moz-flex: 1 0 auto;
  flex: 1 0 auto;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.columns-and-content .left-menu {
  display:none;
}

#ac-left-menu {
  padding:0 2rem 2rem;
  margin:2rem 0 0;
}

.home #ac-column-menu li,
.columns #ac-column-menu li {
  background-repeat: no-repeat;
  background-size: cover;
  background-position:center;
  font-size: calc(80% + 2vm);
  font-size: calc(80% + 2vmin);
  letter-spacing:.03em;
  position:relative;
  background-color:#394f6a;
  box-shadow:inset 0 -2rem 8rem rgba(0,0,0,.5);
  -webkit-box-flex: 1 0 auto;
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  -moz-flex: 1 0 auto;
  flex: 1 0 auto;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

#ac-left-menu li {
  margin-bottom:.35rem;
  line-height:1;
}

/*.home #ac-column-menu.items-1 li,
.columns #ac-column-menu.items-1 li {
  height:100%;
}

.home #ac-column-menu.items-2 li,
.columns #ac-column-menu.items-2 li {
  height:50%;
}

.home #ac-column-menu.items-3 li,
.columns #ac-column-menu.items-3 li {
  height:33.333%;
  height:calc(100% / 3);
}

.home #ac-column-menu.items-4 li,
.columns #ac-column-menu.items-4 li {
  height:25%;
}

.home #ac-column-menu.items-5 li,
.columns #ac-column-menu.items-5 li {
  height:20%
}

.home #ac-column-menu.items-6 li,
.columns #ac-column-menu.items-6 li {
  height:16.666%;
  height:calc(100% / 6);
}

.home #ac-column-menu.items-7 li,
.columns #ac-column-menu.items-7 li {
  height:14.286%;
  height:calc(100% / 7);
}

.home #ac-column-menu.items-8 li,
.columns #ac-column-menu.items-8 li {
  height:12.5%;
}

.home #ac-column-menu.items-9 li,
.columns #ac-column-menu.items-9 li {
  height:11.111%;
  height:calc(100% / 9);
}

.home #ac-column-menu.items-10 li,
.columns #ac-column-menu.items-10 li {
  height:10%;
}*/

.home #ac-column-menu li::before,
.columns #ac-column-menu li::before {
  content:"";
  display:block;
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  background: rgb(73,73,73);
  background: transparent\9;
  background:rgba(73,73,73,.5);
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#80494949, endColorstr=#80494949);
  zoom: 1;
  transition:all .35s ease;
  mix-blend-mode:darken:
}

.home #ac-column-menu li:hover::before,
.columns #ac-column-menu li:hover::before {
  background: rgb(0, 74, 143);
  background: transparent\9;
  background:rgba(0,74,143,.2);
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#33004A8F, endColorstr=#33004A8F);
  zoom: 1;
}

#ac-column-menu li a,
#ac-left-menu li a {
  text-decoration: none;
  line-height: 1.2;
  font-weight: 700;
}

.home #ac-column-menu li a,
.columns #ac-column-menu li a {
  position:relative;
  display:block;
  z-index:10;
  text-align: center;
  padding:4rem 2rem;
  color:#f1f1f1;

  /* "hyphenation" (note the quotation marks) */
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;

  /* vertical centering */
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */

  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -moz-box-align: center;
  align-items: center;


  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content:center;

  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction:column;

  -webkit-box-flex: 1 0 auto;
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  -moz-flex: 1 0 auto;
  flex: 1 0 auto;

  width:100%;
}

#ac-left-menu li a {
  color:#004a8f;
  font-size:.75rem;
  text-transform:uppercase;
}

#ac-left-menu .section-root a {
  color:#aaa;
  font-size:1rem;
  overflow:hidden;
}

#ac-left-menu .section-root a .left-menu-arrow {
  font-size:1.5rem;
  line-height:.75rem;
  vertical-align:middle;
  display:inline-block;
  padding-bottom:.25rem;
  margin-top:-.25rem;
}

#ac-left-menu .current-page a {
  color:#aaa;
}

.home #ac-column-menu li a span,
.columns #ac-column-menu li a span {
  display:block;
  width:100%;
  text-shadow:0 0 1.5em rgba(0,0,0,.65);
}

#ac-lang-widget {
  padding:1rem;
}

#ac-lang-widget li {
  margin-left:0;
  line-height:2rem;
  padding:.5rem 1rem;
}

#ac-lang-widget a,
#ac-lang-widget .ac-lang-disabled {
  color:#f1f1f1;
}

#ac-lang-widget .ac-lang-link {
  text-decoration:none;
}

#ac-lang-widget .ac-lang-disabled {
  text-decoration: line-through;
}

#container {
  -webkit-box-flex: 1 0 auto;
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  -moz-flex: 1 0 auto;
  flex: 1 0 auto;
}

body:not(.columns):not(.home) #container {
  min-height:1px; /* ie can't calculate correct height unless we set this */
}

.home:not(.error404) #container,
.columns:not(.error404) #container {
    -webkit-box-flex: none;
    -webkit-flex: none;
    -ms-flex: none;
    -moz-flex: none;
    flex: none;
}

#content {
    line-height: 1.38;
    position:relative;
}

.columns-and-content #content > article,
body:not(.search):not(.page-template-ac-manufacturer-list) #content > .has-post-thumbnail {
  width:100%;
  float:right;
}

#content .header {
  width:83.333%;
  width:calc(100% - 100% / 6);
  padding-left:16.666%;
  padding-left:calc(100% / 6);
  margin-right:auto;
  margin-bottom:2rem;
  position:relative;
  background:rgba(238,238,238,.8);
}

#content .header-summary {
  background:none;
  width:auto;
  padding-left:0;
  margin-bottom:1rem;
}

#content .header:before {
  content:"";
  position:absolute;
  top:-2px;
  right:calc(-100% / 5);
  left:calc(100% / 5);
  height:2px;
  background-color:#004a8f;
  display:block;
}

#content .header-summary:before {
  content:none;
}

#content .header h1 {
  font-size:2.66rem;
  font-size:calc(100% + 1.4vw);
  font-weight:700;
  padding:2rem;
  line-height:1.2;
}

#content .has-post-thumbnail .entry-featured-image {
  margin-top:0;
  padding:0;
  width:100%;
}

#content .has-post-thumbnail .entry-featured-image img {
  width:100%;
  max-width:none;
  display:block;
}

#content .entry-content-wrapper {
  font-size:1.125rem; /* counteract .8rem on html elm */
}

#content .entry-summary-wrapper {
  padding-bottom:1rem;
}

#content article:last-child .entry-summary-wrapper {
  padding-bottom:0;
}

#content .entry-meta {
  font-weight:normal;
  padding-top:1rem;
}

#content .entry-content {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-width: 17.5rem;
    -moz-column-width: 17.5rem;
    column-width: 17.5rem;
    -webkit-column-gap: 2rem;
    -moz-column-gap: 2rem;
    column-gap: 2rem;
}

#content .entry-content::after {
  content:"";
  display:block;
  padding-top:0;
}

.error404 #content .entry-content,
.search #content .entry-content,
.page-template-ac-news-list #content .entry-content,
.page-template-ac-manufacturer-list #content .entry-content,
.page-template-ac-judges-list #content .entry-content {
  -webkit-column-count: auto;
  -moz-column-count: auto;
  column-count: auto;
  -webkit-column-width: auto;
  -moz-column-width: auto;
  column-width: auto;
  -webkit-column-gap: normal;
  -moz-column-gap: normal;
  column-gap: normal;
  margin-bottom:0;
}

#content .entry-content ol,
#content .entry-content ul {
  margin-left:1.85rem;
  padding-bottom:1rem;
}

#content .entry-content ol {
  list-style:decimal outside;
}

#content .entry-content ul {
  list-style:disc outside;
}

#content .entry-content ol > li,
#content .entry-content ul > li {
  font-size:1rem;
}

#content .entry-content > *:first-child {
  padding-top:0;
}

#content .entry-content > *:last-child,
#content .entry-content > p:last-of-type {
  padding-bottom:0;
}

#ac-news,
#ac-manufacturers,
#ac-judges {
  -webkit-column-count: 4;
  -moz-column-count: 4;
  column-count: 4;
  -webkit-column-width: 17.5rem;
  -moz-column-width: 17.5rem;
  column-width: 17.5rem;
  -webkit-column-gap: 2rem;
  -moz-column-gap: 2rem;
  column-gap: 2rem;
  margin-top:1rem;
  margin-bottom:1rem;
  clear:both;
}

#ac-news .post,
#ac-manufacturers .post,
#ac-judges .post,
.entry-links,
#content .entry-content::after {
  -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
  page-break-inside: avoid; /* Firefox */
  break-inside: avoid; /* IE 10+ */
}

#ac-news .post,
#ac-manufacturers .post,
#ac-judges .post {
  padding:1rem 0;
}

#ac-news .post .inner,
#ac-manufacturers .post .inner,
#ac-judges .post .inner {
  line-height:1.38em;
}

#ac-news .post:nth-child(4n+1) .inner,
#ac-judges .post:nth-child(4n+1) .inner {
  background-color: #004a8f;
  color:#f1f1f1;
}

#ac-news .post:nth-child(4n+3) .inner,
#ac-judges .post:nth-child(4n+3) .inner {
  background-color: #1c1c1c;
  color:#f1f1f1;
}

#ac-news .post:nth-child(4n+2) .inner,
#ac-judges .post:nth-child(4n+2) .inner {
  background-color: #eee;
  color:#1c1c1c;
}

#ac-news .post:nth-child(4n+4) .inner,
#ac-judges .post:nth-child(4n+4) .inner {
  border:1px solid #eee;
}

#ac-news .post .inner .post-date,
#ac-judges .post .inner .post-date {
  text-transform:uppercase;
  opacity:.5;
  font-weight:700;
}

#ac-news .post .inner .post-link,
#ac-judges .post .inner .post-link {
  text-decoration:none;
  color:inherit;
}

#ac-news .post .inner .post-title,
#ac-judges .post .inner .post-title {
  padding:1rem 0;
  color:inherit;
  line-height:1.2;
  font-weight:normal;
}

#ac-news .post .inner .post-excerpt,
#ac-manufacturers .post .inner .post-link,
#ac-judges .post .inner .post-excerpt {
  color:inherit;
}

#ac-news .post .inner .post-button::after,
#ac-judges .post .inner .post-button::after {
  content:" \00BB";
}

#ac-news .post .inner .post-thumbnail,
#ac-manufacturers .post .inner .post-thumbnail,
#ac-judges .post .inner .post-thumbnail {
  margin:2rem -2rem -2rem;
}

#ac-news .post .inner .post-thumbnail img,
#ac-manufacturers .post .inner .post-thumbnail img,
#ac-judges .post .inner .post-thumbnail img {
  display:block;
  width:100%;
  max-width:none;
}

#ac-manufacturers .post .inner {
  position:relative;
  min-height:5.38rem;
  overflow:hidden;
}

#ac-manufacturers .post .inner .post-link {
  cursor:pointer;
}

#ac-manufacturers .post:nth-child(4n+1) .inner .post-link:not(.no-image),
#ac-manufacturers .post:nth-child(4n+3) .inner .post-link:not(.no-image) {
  display:block;
  padding-bottom:4.38rem;
}

#ac-manufacturers .post:nth-child(4n+2) .inner .post-link:not(.no-image),
#ac-manufacturers .post:nth-child(4n+4) .inner .post-link:not(.no-image) {
  display:block;
  padding-top:4.38rem;
}

#ac-manufacturers .post:nth-child(4n+1) .inner .post-link > img,
#ac-manufacturers .post:nth-child(4n+4) .inner .post-link > img {
  padding:0 0 0 1rem;
}

#ac-manufacturers .post:nth-child(4n+2) .inner .post-link > img,
#ac-manufacturers .post:nth-child(4n+3) .inner .post-link > img {
  padding:0 1rem 0 0;
}

#ac-manufacturers .post .inner .post-link .brand-name {
  display:block;
  font-weight:700;
  font-size:1rem;
  text-transform:uppercase;
  padding:2rem;
  letter-spacing:.05rem;
  color:#7b8da2;
}

#ac-manufacturers .post .inner .no-image .brand-name {
  border:1px dashed #bbb;
}

#ac-manufacturers .post .inner .post-link:not(.no-image) .brand-name {
  position:absolute;
  padding:2rem 2rem 2rem 2rem;
  color:#1c1c1c;
  z-index:2;
  background-color:#fff;
  border-style:solid;
  border-color:#fff;
}

#ac-manufacturers .post:nth-child(4n+1) .inner .post-link:not(.no-image) .brand-name {
  bottom:0;
  left:0;
  border-width:1rem 1rem 0 0;
}

#ac-manufacturers .post:nth-child(4n+2) .inner .post-link:not(.no-image) .brand-name {
  top:0;
  right:0;
  border-width:0 0 1rem 1rem;
}

#ac-manufacturers .post:nth-child(4n+3) .inner .post-link:not(.no-image) .brand-name {
  bottom:0;
  right:0;
  border-width:1rem 0 0 1rem;
}

#ac-manufacturers .post:nth-child(4n+4) .inner .post-link:not(.no-image) .brand-name {
  top:0;
  left:0;
  border-width:0 1rem 1rem 0;
}

#ac-manufacturers .post .inner .post-link:not(.no-image) .brand-name::after {
  content:"";
  display:block;
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  border-width:2px;
  border-style:solid;
  border-color: #004a8f;
  z-index:-1;
}

#ac-manufacturers .post .inner .product-modal {
  display:none;
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  left:0;
  background: rgb(0,0,0);
  background: transparent\9;
  background: rgba(0, 0, 0, .35);
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#59000000, endColorstr=#59000000);
  zoom: 1;
  background-color:rgba(0,0,0,.35);
  z-index:60;
  overflow:auto;
  padding:2rem;
}

#ac-manufacturers .post .inner .product-modal.open {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

#ac-manufacturers .post .inner .product-modal .modal-inner {
  background-color:#fff;
  padding:2rem;
  border:2px solid #004a8f;
  position:relative;
  margin:auto;
}

#ac-manufacturers .post .inner .product-modal .modal-inner .brand-name {
  font-weight:700;
  font-size:1rem;
  letter-spacing:.05rem;
  text-transform:uppercase;
  padding-bottom:1rem;
  display:block;
}

#ac-manufacturers .post .inner .product-modal .modal-inner .product-list {
  list-style-type:square;
  list-style-position:outside;
}

#ac-manufacturers .post .inner .product-modal .modal-inner .product-list li {
  margin:0 0 0 1rem;
  padding:.25rem 0 0;
}

#ac-manufacturers .post .inner .product-modal .modal-inner .product-list li:first-child {
  padding:0;
}

#ac-manufacturers .post .inner .product-modal .modal-inner .close {
  position:absolute;
  top:-1rem;
  right:-1rem;
  background-color:#004a8f;
  color:#fff;
  display:block;
  cursor:pointer;
  width:2rem;
  height:2rem;
  font-size:1.5rem;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
  user-select: none;          /* Likely future */
}

#ac-manufacturers .post .inner .product-modal .modal-inner .brand-website {
  padding-top:1rem;
  font-size:.75rem;
  font-weight:700;
  display:block;
  letter-spacing:.0375rem;
  text-transform:uppercase;
}

#prev-next-posts {
  text-align:right;
  margin:1rem 2rem 2rem;
}

#prev-next-posts div {
  display:inline;
}

#prev-next-posts .prev-posts-link a,
#prev-next-posts .next-posts-link a {
  display:inline-block;
  height:2rem;
  line-height:2em;
  background-color:#1f1f1f;
  position:relative;
  padding-left:2rem;
  padding-right:.75rem;
  text-decoration:none;
  color:#f1f1f1;
}

#prev-next-posts .next-posts-link a {
  padding-left:.75rem;
  padding-right:2rem;
}

#prev-next-posts .prev-posts-link a::after,
#prev-next-posts .next-posts-link a::after {
  position:absolute;
  top:0;
  color:#f1f1f1;
  line-height:1.65rem;
  width:2rem;
  text-align:center;
  display:block;
  font-size:2rem;
}

#prev-next-posts .prev-posts-link a::after {
  content:"\2039";
  left:0;
}

#prev-next-posts .next-posts-link a::after {
  content:"\203A";
  right:0;
}

#footer {
  line-height:1.38;
  padding:2rem 0 0;
  text-transform:uppercase;
  font-size:.75rem;
  letter-spacing:.0625rem;
  font-weight:700;
  color:#555;
  -webkit-box-flex: 1 0 auto;
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  -moz-flex: 1 0 auto;
  flex:1 0 auto;
}

#footer > div {
  padding:0 2rem 2rem;
}

#footer #copyright {
  float:none;
  clear:both;
}

#footer #social-icons img {
  height:2rem;
  margin-right:.5rem;
  display:inline-block;
}

#footer #social-icons a:last-child img {
  margin-right:0;
}
