/* BEGIN: Public pages */

body.public > form {
  width: 90%;
}
@media ( max-width: 767px ) and ( orientation: landscape ) {
  body.public > form {
    position: relative;
    top: auto;
    margin: 2em 0;
    transform: translate(-50%, 0);
  }
}
body.public section.intro {
  padding: 2em;
}
body.public section.intro div:before {
  width: 100%;
}

/* END: Public pages */

body {
  padding: 55px 20px 60px;
}
header {
  height: 48px;
  background: #111650;
  top: 0;
  left: 0;
  width: 100%;
}
menu svg {
  width: 20px;
  height:20px;
}
header:before {
  width: 50%;
  max-width: 200px;
  height: 48px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  background-image: url(../img/logo-wecomply-white.png);
}
header .toggle {
  width: 44px;
  height: 44px;
  padding: 10px;
  position: absolute;
  right: 0;
}
header .toggle svg {
  fill: #fff;
}
header .menu {
  position: fixed;
  width: 100%;
  height: calc(100% - 48px);
  top: 47px;
  background: #111650;
  z-index: 999999;
  right: -100vw;
  transition: right .23s;
}
header .menu li a {
  text-align: center;
  color: #fff;
  position: absolute;
  transform: translate(0, -50%);
}
header .menu li.active a span:before {
  content: '';
  border-bottom: 2px solid #22debd;
  width: 40px;
  position: absolute;
  left: 50%;
  transform: translate(-50%,0);
  bottom: 1.9em;
}
@media ( orientation: portrait ) {
  header .menu {
    padding: 40% 0;
    display: flex;
    flex-direction: column;
  }
  header .menu li {
    flex: 1 1 20%;
    position: relative;
  }
}
menu {
  width: 100vw;
  left: -100vw;
  transition: left .3s;
}
menu > div.links {
  overflow: auto;
  height: 100%;
}
body.toggle-menu menu {
  left: 0;
}
menu .close {
  width: 40px;
  height: 40px;
  position: absolute;
  right: 5px;
  top: 5px;
  padding: 0.8em;
  transition: opacity .23s;
}
body > .toggle {
  transition: opacity .23s;
  left: 0;
}
body.toggle-menu > .toggle {
  opacity: 0;
}
main {
  padding: 2em;
}
body.resources .resources > section > div > div:nth-child(2) a {
  display: block;
  padding: .4em 1em;
}
.vich-file > a {
  font-size: .9em;
}
.scrollable {
  width: 100%;
  overflow: auto;
}
.heading-outside h1,
.heading-outside .h1 {
  position: absolute;
  margin: -3em 0 0 -33px;
}
.add-edit.slide-out {
  padding: 48px 0 0;
}
.add-edit.slide-out > section {
  right: -100vw;
  width: 100vw;
}
.add-edit.slide-out.visible > section > div {
  height: 100%;
}
h1 {
  word-break: break-all;
}
body.public h1 {
  word-break: unset
}
.news-events-details .header {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 2em
}
.news-events-details .header:before {
  content: '';
  width: 1px;
  margin-left: -1px;
  float: left;
  height: 0;
  padding-top: 100%;
}
.news-events-details .header:after {
  content: '';
  clear: both;
  display: block;
}
.news-events-details aside {
  padding: 2em 0 0;
}
.modal > div,
.add-edit.modal > section {
  left: 50%;
}
