@import url("https://fonts.googleapis.com/css2?family=Michroma&display=swap");

body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #dbdbdb url("../assets/layout/back.png") left top repeat-x;
  text-align: left;
}

a, body, div, input, label, li, ol, p, select, span, strong, td, th, textarea, ul {
  font-family: Ubuntu, sans-serif;
  font-size: 12px;
}

img {
  border: 0;
  vertical-align: middle;
  max-width: 100%;
}

a {
  color: #3f4c4e;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  color: #000;
}

p, figure, td, th {
  margin: 5px 0 9px;
  padding: 0;
  color: #797878;
}

h1 {
  margin: 0 0 12px;
  padding-bottom: 15px;
  font: 19px Michroma, sans-serif;
  font-weight: normal;
  color: #555;
}

h2 {
  margin: 0;
  padding: 15px 0 5px;
  font: 17px "Source Sans Pro", Ubuntu, sans-serif;
  font-weight: normal;
  color: #a63a57;
}

h3 {
  margin: 0;
  padding: 10px 0 5px;
  font: 16px "Source Sans Pro", Ubuntu, sans-serif;
  font-weight: normal;
  color: #797878;
}

ul li {
  margin-left: -27px;
  color: #686869;
  list-style-type: square;
}

#wrapper {
  width: 990px;
  margin: 0 auto;
}

#header {
  width: 990px;
  height: 200px;
  position: relative;
  z-index: 10;
}

.inside {
  position: relative;
  text-align: left;
}

.block {
  overflow: hidden;
}

.invisible {
  position: absolute;
  width: 0;
  height: 0;
  left: -1000px;
  top: -1000px;
  overflow: hidden;
}

#logo {
  padding-top: 90px;
}

#header_image {
  position: absolute;
  right: 1px;
  top: 1px;
  z-index: 999999;
}

.mobile-menu-container {
  display: none;
}

#mobile-menu-toggle {
  display: flex;
  align-items: center;
  background: #a63a57;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  font: bold 14px "Source Sans Pro", Ubuntu, sans-serif;
  cursor: pointer;
  transition: background 0.3s ease;
}

#mobile-menu-toggle:hover {
  background: #8b3049;
}

.menu-label {
  margin-right: 10px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 20px;
  height: 14px;
}

.hamburger .bar {
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

#mobile-menu-toggle.open .hamburger .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

#mobile-menu-toggle.open .hamburger .bar:nth-child(2) {
  opacity: 0;
}

#mobile-menu-toggle.open .hamburger .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

#mobile-nav-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 1001;
}

#mobile-nav-wrapper.open {
  grid-template-rows: 1fr;
}

.mobile-nav-inner {
  overflow: hidden;
}

#mobile-nav {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

#mobile-nav li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #eee;
}

#mobile-nav li:last-child {
  border-bottom: none;
}

#mobile-nav a, #mobile-nav span {
  display: block;
  padding: 12px 20px;
  font: bold 14px "Source Sans Pro", Ubuntu, sans-serif;
  color: #3f4c4e;
  text-decoration: none;
  box-sizing: border-box;
}

#mobile-nav span.active,
#mobile-nav a.active {
  color: #a63a57;
}

#mobile-nav a:hover {
  background: #f9f9f9;
  color: #a63a57;
}

#mobile-nav li.child-item a, #mobile-nav li.child-item span {
  padding-left: 40px;
  font-weight: normal;
  font-size: 13px;
}

#container {
  width: 960px;
  min-height: 300px;
  position: relative;
  z-index: 1;
  background: transparent;
}

#left {
  float: left;
  width: 186px;
  position: relative;
  z-index: 1;
}

#left .inside {
  width: 186px;
  height: 300px;
  margin-top: 52px;
  padding: 40px 20px 40px 0;
  border-radius: 20px 0 0 20px;
  background: linear-gradient(to right, #f2f2f2 0%, #dbdbdb 100%);
  box-shadow: 0 0 5px -1px rgba(0, 0, 0, .5);
}

.mod_navigation {
  width: 200px;
  top: 43px;
  position: absolute;
}

#left ul {
  float: left;
  margin: 0;
  padding: 0 0 0 14px;
}

#left ul li {
  width: 189px;
  height: 40px;
  float: left;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#left ul li a,
#left ul li span {
  width: 159px;
  height: 35px;
  float: left;
  margin: 0;
  padding: 12px 0 3px 20px;
  font: bold 10px Michroma, sans-serif;
  color: #a63a57;
  text-transform: uppercase;
}

#left ul li span.active {
  height: 25px;
  background-image: url("../assets/layout/active.png");
  background-position: left top;
  color: #797878;
}

.mod_navigation .level_2 {
  padding: 3px 0 0 9px;
}

.mod_navigation .level_2 li {
  height: 24px;
}

.mod_navigation .level_2 a,
.mod_navigation .level_2 span {
  height: 18px;
  padding-top: 4px;
  padding-bottom: 0;
  font-family: Ubuntu, sans-serif;
  font-size: 12px;
  font-weight: normal;
  text-transform: none;
}

#main {
  width: 570px;
  min-height: 300px;
  position: relative;
  z-index: 2;
  margin-left: 186px;
  padding: 110px 60px 40px 100px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 0 5px -1px rgba(0, 0, 0, 0.5);
}

#main .mod_article {
  padding: 0;
}

#main .ce_text {
  margin: 0;
}

.ce_text,
.teaser {
  line-height: 1.5;
}

.float_left {
  float: left;
  padding: 0 20px 50px 0;
}

#home_text .float_left {
  width: 185px;
}

#main_left {
  width: 350px;
  float: left;
}

#main_right {
  width: 200px;
  float: left;
}

#main_right p {
  margin-top: 14px;
}

.toggler {
  padding: 5px 0 5px 15px;
  background: url("../assets/layout/acc.jpg") left center no-repeat;
  color: #797878;
  cursor: pointer;
  user-select: none;
}

.toggler.active {
  font-weight: bold;
  color: #a63a57;
}

.accordion {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 420ms ease, opacity 360ms ease, visibility 0s linear 420ms;
}

.accordion.open {
  opacity: 1;
  visibility: visible;
  transition: max-height 420ms ease, opacity 360ms ease;
}

.accordion .ce_text {
  margin: 0;
  padding: 0 0 0 40px;
  border-top: 1px solid #ccc;
}

#foot.ce_text {
  clear: both;
  width: 100%;
  padding-top: 20px;
}

#footer {
  width: 959px;
  height: 70px;
  margin-left: 1px;
  padding: 0;
}

#impbut.mod_customnav {
  width: 120px;
  margin-top: 0;
  margin-left: 0;
  padding-top: 20px;
  padding-left: 807px;
}

#footer ul {
  display: block;
  margin: 5px;
  padding: 0;
}

#footer li {
  display: block;
  float: left;
  width: 80px;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#footer .level_1 li a,
#footer .level_1 li span {
  margin: 0;
  padding: 5px 0;
  font: 12px sans-serif;
  font-weight: normal;
  color: #686869;
}

.text-muted {
  color: #808080 !important;
}

.mb-60 {
  margin-bottom: 60px !important;
}

.mt-14 {
  margin-top: 14px !important;
}

.mt-12 {
  margin-top: 12px !important;
}

.legal-text {
  margin-bottom: 60px;
}

.accordion .ce_text {
  margin: 0;
  padding: 0 0 0 40px;
  border-top: 1px solid #ccc;
}

.ce_accordion .toggler:focus {
  outline: 2px solid #a63a57;
  outline-offset: 2px;
}

@media handheld, only screen and (max-width: 1023px) {
  #wrapper {
    width: 96%;
    max-width: 990px;
  }

  #header,
  #footer {
    width: 100%;
    max-width: 990px;
  }

  #header {
    height: 260px;
  }

  #logo {
    padding-top: 0;
  }

  #logo img {
    width: 300px;
    height: auto;
  }

  #header_image {
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  #header_image img {
    width: 100%;
    max-width: 640px;
    height: auto;
  }

  .mobile-menu-container {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1000;
  }

  #container {
    width: 100%;
    max-width: 960px;
    margin-top: 30px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 20px;
  }

  #left {
    display: none;
  }

  #main {
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    padding: 110px 20px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 5px -1px rgba(0, 0, 0, .5);
  }

  #main_right {
    float: right;
  }

  #impbut.mod_customnav {
    padding: 20px 0 0;
  }
}

@media handheld, only screen and (max-width: 767px) {
  .mobile-menu-container {
    position: relative;
    right: auto;
    top: auto;
    padding: 10px 20px 0 20px;
  }

  #mobile-nav-wrapper {
    top: 100%;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
    margin-top: 10px;
  }

  #container {
    margin-top: 10px;
  }

  #header {
    height: auto;
  }

  #logo,
  #logo img {
    width: 230px;
  }

  #main {
    padding-top: 30px;
  }

  #main_left,
  #main_right {
    width: 100%;
    float: none;
  }

  .float_left {
    float: none !important;
    display: block;
    padding: 0 0 20px;
  }
}
