html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
.cf:before,.cf:after {content: " ";display: table;}
.cf:after {clear: both;}
.cf {*zoom: 1;}

body {
  margin: 0;
  padding: 0;
  color: rgba(51, 51, 51, 1);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  margin-bottom: 20px;
  font-family: "Nunito Sans", sans-serif;
  color: rgba(18, 23, 39, 1);
}

h3 {
  font-size: 22px;
}

a,
a:visited,
a:hover,
a:active {
  color: #E71C04;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  cursor: pointer;
}

.mb10 {
  margin-bottom: 10px!important;
}

.mb5 {
  margin-bottom: 5px!important;
}

.input-error {
  border: solid 1px rgb(205, 23, 0);
}

/*
 * Checkboxes from AN2
 */
.checkboxItem [type="checkbox"]:not(:checked),
.checkboxItem [type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
}

.checkboxItem [type="checkbox"]:not(:checked) + label,
.checkboxItem [type="checkbox"]:checked + label {
  position: relative;
  padding-left: 1.95em;
  cursor: pointer;
  z-index: 3;
  padding-top: 2px;
  font-weight: normal;
}

.checkboxItem [type="checkbox"]:not(:checked) + label:before,
.checkboxItem [type="checkbox"]:checked + label:before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #CFCFCF;
  background: #fff;
  border-radius: 3px;
}

.checkboxItem [type="checkbox"]:checked + label:before {
  background: #9398A1;
  border: 1px solid #9398A1;
}

.checkboxItem [type="checkbox"] + label img {
  display: none;
}

.checkboxItem [type="checkbox"]:checked + label img {
  position: absolute;
  top: 3px;
  left: 2px;
  z-index: 5;
  background: transparent;
  display: inline;
  float: left;
  width: 16px;
}

.checkboxItem [type="checkbox"]:disabled:not(:checked) + label:before,
.checkboxItem [type="checkbox"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
}

.checkboxItem [type="checkbox"]:disabled + label {
  color: #696D76;
}

.checkboxItem {
  margin-bottom: 5px;
}

.checkboxIndent {
  margin-left: 20px;
}

.checkboxInfo {
  margin-top: -23px;
}

/*
 * Helpers
 */
.desktop {
  display: none;
}

.mobile {
  display: block;
}

/*
 * Buttons
 */
.button {
  padding: 10px;
  font-size: 18px;
  background: #E71C04;
  color: white;
  border: none;
  border-radius: 3px!important;
  transition: all 200ms ease-in-out;
  min-width: 100px;
  text-align: center;
  display: block;
  line-height: 1em;
}

.button.full {
  width: 100%;
  display: block;
  float: none;
  text-align: center;
}

.button:hover,
.button:active,
.button:visited {
  text-decoration: none;
  color: white;
}

.button.hollow {
  background: white;
  color: #E71C04;
  border: 1px solid #E71C04;
}

.button.hollow:hover {
  background: #E71C04;
  color: white;
  border: 1px solid #E71C04;
}

/*
 * Main Top Nav
 */

.main-nav {
  position: relative;
  z-index: 9;
  background: white;
  -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
  box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
}

.main-nav-wrapper {
  max-width: 1200px;
  padding: 0;
  margin: 0 auto;
}

.main-nav-logo {
  text-align: center;
}

.main-nav-logo a {
  display: block;
}

.main-nav-logo img {
  width: auto;
  height: 60px;
  padding: 5px;
}

.main-nav-login {
  float: right;
}

.main-nav-login span {
  display: none;
}

.main-nav-login .button.mobile {
  border: none;
  font-size: 16px;
  padding: 0 10px;
  line-height: 50px;
}

.main-nav-login .button.mobile:hover {
  background: none;
  color: #E71C04;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 15;
  top: 0;
  right: 0;
  background-color: white;
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.3s;
}

.sidenav.open {
  width: 250px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
}

/*
 * Hamburger Menu
 */
.hamburger-menu {
  width: 35px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 12;
  padding: 20px 40px 20px 20px;
}

.hamburger-icon, .hamburger-icon span {
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}

.hamburger-icon {
  width: 25px;
  height: 18px;
  position: relative;
  -webkit-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

.hamburger-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #636973;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.hamburger-icon span:first-child {
  top: 0;
}

.hamburger-icon span:nth-child(2), .hamburger-icon span:nth-child(3) {
  top: 7px;
}

.hamburger-icon span:nth-child(4) {
  top: 14px;
}

.hamburger-icon.open span:nth-child(1) {
  top: 10px;
  width: 0%;
  left: 50%;
}

.hamburger-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.hamburger-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.hamburger-icon.open span:nth-child(4) {
  top: 10px;
  width: 0%;
  left: 50%;
}

/*
 * Hamburger Menu
 */
.bm-menu {
  background: #fff;
  padding: 2.5em 1.5em 0;
  font-size: 1.15em;
}

.bm-menu a {
  color: black;
}

.bm-item-list {
  color: #b8b7ad;
  padding: 0;
}

.bm-overlay {
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  height: 0;
  width: 0;
  transition: 0.3s;
}

.bm-overlay.open {
  height: auto;
  width: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 11;
  opacity: 1;
}

.menuItems {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menuItems li {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 17px;
}

.menuItems li a {
  display: block;
  text-decoration: none;
  padding: 20px 0!important;
  margin-left: 0!important;
  border-bottom: 1px solid #D8D8D8;
}

.menuItems li a img {
  float: right;
  width: 20px;
}

.menuItemsProfile li a {
  padding: 10px 20px;
  border-bottom: none;
}

.menuItemsProfile li a:hover {
  background: #f5f5f5;
  text-decoration: none;
}

.menuItemsProfile li a img {
  margin-top: -5px;
}

/*
 * Media Queries
 */

@media (only screen and min-width: 500px) {
  .main-nav-wrapper {
    padding: 0 20px;
  }

  .desktop {
    display: block;
  }

  .mobile {
    display: none;
  }
}
