/* Local embedding of Google Fonts
------------------------------------------------*/
/* asap-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Asap';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/asap-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* asap-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Asap';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/asap-v30-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* asap-condensed-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Asap Condensed';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/asap-condensed-v17-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* material-icons-outlined-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Material Icons Outlined';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/material-icons-outlined-v109-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* material-symbols-outlined-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/material-symbols-outlined-v192-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* Common
------------------------------------------------*/
html, body {
  font-family: 'Asap';
  font-style: normal;
  font-weight: 400;
  color: #333;
}

a, a:link, a:visited {
  display: inline-block;
  text-decoration: none;
  position: relative;
  padding-right: 0;
  padding-bottom: 2px; /* The distance between text and underline */
  hyphens: auto;
  -webkit-hyphens: auto;
}

a::before {
  content: "";
  position: absolute;
  width: 100%;
  top: 0;
  bottom: 0;
  background-image: linear-gradient(90deg, #fab900, #fab900); /* underline color */
  background-size: 0 2px; /* vertical size of underline */
  background-repeat: no-repeat;
  background-position: left bottom; /* start position of underline */
  transition: background-size .3s ease-in; /* duration and timing style of animation */
}

.image_container a::before {
 display: none; 
}

.logo a::before, img a::before, h1 a::before, h2 a::before, #main .ce_hyperlink a::before, a.readmore::before, .ce_iconbox a::before, #footer a::before {
  display: none;
}

a:hover::before {
  background-size: 100% 2px;
}


/* Header
------------------------------------------------*/
.header {
  line-height: inherit !important;
}

#header .inside {
  padding-left: 100px;
  padding-right: 100px;
  max-width: none;
}

.header .langswitcher {
  margin-right: 100px;
  display: inline-block;
  position: absolute;
  right: 110px;
  top: 80px;
}

.content_page .logo a:not(.content_page.mmenu_open .logo a) {
  background-image: url('../img/logo-regio-maloja-inv.svg');
}

.langswitcher .langswitcher_inside:after {
  display: none;
}

.langswitcher ul {
  display: block;
  position: static;
  border: none;
  background: none;
  text-align: left;
}

.langswitcher ul li {
  display: inline-block;
  line-height: 15px;
}

.langswitcher ul li.kontakt {
  display: none;
}

.mmenu_open .langswitcher ul li.kontakt {
  display: inline-block;
}

.langswitcher ul li a {
  border: none;
  padding: 0;
  font-family: 'Asap';
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 25px;
  color: #333;
}

.langswitcher ul li:before {
  content: '';
  width: 7px;
  display: inline-block;
}

.langswitcher ul li:after {
  position: relative;
  content: '';
  width: 5px;
  height: 15px;
  top: 1px;
  border-right: 2px solid #fab900;
  display: inline-block;
  left: 4px;
}

.langswitcher ul li:last-of-type:after {
  border: none;
}

.langswitcher ul li a:hover {
  background: none;
}

#mmenu .langswitcher {
  right: 190px;
  display: none;
}


/* Menu
------------------------------------------------*/
.mmenu_trigger {
  display: flex!important;
  right: 100px!important;
  float: right !important;
  margin-left: 15px!important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  align-items: center;
  color: var(--accentColor);
}

#mmenu {
  display: block !important;
  top: 0 !important;
}

.mmenu_trigger .label {
  display: none;
}

.mmenu_trigger .burger {
  height: 35px;
  width: 35px;
}

.mmenu_trigger .burger .burger_lines:before {
  top: 10px;
}

.mmenu_trigger .burger .burger_lines:after {
  top: -10px;
}

.mmenu_trigger .burger .burger_lines, .mmenu_trigger .burger .burger_lines:after, .mmenu_trigger .burger .burger_lines:before {
  background: #000;
  height: 3px;
  border-radius: 0;
}

#mmenu nav.mod_navigation ul.level_1 li {
  font-family: 'Asap Condensed';
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
}

#mmenu nav.mod_navigation ul.level_2 li {
  font-family: 'Asap';
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-transform: none;
}

#mmenu nav.mod_navigation ul li a {
  color: #333;
}


/* Home
------------------------------------------------*/
.home #slider {
  padding-bottom: 122px;
}

.home #slider {
  background: #f5f5f5 url('../img/bg-header.svg') no-repeat;
  background-position: bottom center;
  background-size: 4000px auto;
}

.home #slider .mod_search {
  padding: 355px 0 286px 0;
  width: 500px;
  margin: 0 auto;
}

.home #slider .mod_search label {
  display: none;
}

.home #slider .mod_search .widget-text {
  width: 83%;
  height: 70px !important;
  display: inline-block;
  padding-top: 0;
}

.home #slider .mod_search input {
  width: 100%;
  height: 100% !important;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border: none;
  flex: none;
  max-width: none;
}

.home #slider .mod_search input:active {
  transform: none;
}

.home #slider .mod_search .widget-submit {
  width: 17%;
  height: 70px !important;
  display: inline-block;
}

.home #slider .mod_search .widget-submit button.submit {
  width: 100%;
  height: 100% !important;
  min-width: auto;
  background: #fff;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #000;
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 300;
  font-size: 32px;
  line-height: 32px;
}

.home #slider .mod_search .widget-submit button.submit[type="submit"]:hover {
  opacity: 1;
  font-size: 35px;
  line-height: 35px;
}

.home .aufgaben-aemter .swiper-wrapper .ce_iconbox .image_container img {
  width: 62px !important;
}

.home .aufgaben-aemter .container {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
}

.home .aufgaben-aemter .swiper-wrapper p {
  font-family: 'Asap Condensed';
  font-style: normal;
  font-weight: 700;
  font-size: 1.33rem;
  line-height: 1.66rem;
  color: #2b2c86;
  text-transform: uppercase;
}

.home.rm .aufgaben-aemter .swiper-wrapper p, .home.it .aufgaben-aemter .swiper-wrapper p {
  font-size: 1.25rem;
  line-height: 1.5rem;
}

.home .aufgaben-aemter .swiper-wrapper .ce_iconbox .ce_iconbox_outside.padding .content,
.content_page .ce_iconbox .ce_iconbox_outside.padding .content {
  opacity: 1;
}

.home .aufgaben-aemter .swiper-wrapper .ce_iconbox.border-radius .ce_iconbox_outside {
  border-radius: 10px;
}

.home .aufgaben-aemter .swiper-wrapper .ce_iconbox .ce_iconbox_outside.padding {
  margin: 27px 10px 0 10px;
  padding: 0;
  background: #fff;
  max-width: 220px;
  min-height: 222px;
}

.home .aufgaben-aemter {
  max-width: 1355px;
  margin: -156px auto 0;
  background: transparent;
}

.home .aufgaben-aemter .swiper-wrapper .ce_iconbox .ce_iconbox_outside.padding {
  opacity: 1;
  box-shadow: 0px -24px 13px -10px rgba(0,0,0,0.60);
  -webkit-box-shadow: 0px -24px 13px -10px rgba(0,0,0,0.60);
  -moz-box-shadow: 0px -24px 13px -10px rgba(0,0,0,0.60);
  z-index: 100;
  border-bottom: 1px solid rgba(1,1,1,0.4);
}

.home .ce_swiper-slider-start {
  padding: 0 50px !important;
  width: calc(100% + 100px);
  margin-left: -50px;
}

.home .swiper-button-prev {
  top: 115px;
  left: -60px;
  width: 44px;
}

.home .swiper-button-next {
  top: 115px;
  right: -65px;
  width: 44px;
}

.home .swiper-container {
  overflow: hidden !important;
}

.home .aufgaben-aemter .swiper-wrapper p a {
  color: #2b2c86;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 123px 10px 26px 10px;
  min-height: 222px;
}

.swiper-button-next:after, .swiper-button-prev:after {
  text-indent: -1000px;
  background: transparent url('../img/arrow-inv.svg') no-repeat 0 0;
  background-size: 44px auto;
  width: 100%;
  height: 100%;
}

.swiper-button-prev:after {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
}

.home .aufgaben-aemter .swiper-wrapper p a::before {
  display: none;
}

.home .aufgaben-aemter .ce_iconbox_icon {
  padding-top: 30px;
}


/* Content
------------------------------------------------*/
.mod_article.bg-styles:not(.fullwidth):not(.fullwidth-boxed-medium):not(.fullwidth-boxed-small) > .container {
  padding-top: 130px;
  padding-bottom: 250px;
}

#main p, #main a, #main li, #main .attributes.p-xs.bg-white h3 button {
  letter-spacing: 0.3px !important;
}

#main strong {
  font-family: 'Asap Condensed';
  font-style: normal;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.content_page #slider {
  display: none;
}

.content_page #main .inside .mod_article:first-of-type {
  background-image: url('../img/bg-header.svg'); 
  background-repeat: no-repeat;
  background-position: center -670px;
  background-size: 4000px auto;
  z-index: auto;
  padding-top: 107px;
}

.content_page.id-404 #main .inside .mod_article:first-of-type {
  background-image: none;
  background-color: rgb(248,248,248);
}

.content_page.id-404 #main .inside .mod_article:first-of-type {
  padding-top: 0;
}

h1, h2, h3, h4 {
  font-family: 'Asap Condensed';
  font-style: normal;
  font-weight: 700;
}

h1 {
  font-size: 3.66rem;
  line-height: 3.75rem;
  margin-top: 7px;
  margin-bottom: 50px;
  letter-spacing: 0.5px;
}

.content_page h1 {
  height: 250px;
}

h2 {
  font-size: 2rem;
  line-height: 2.2rem;
  letter-spacing: 1px;
  overflow: hidden;
}

#main h2:not(.newsteaser-v4 .content h2, .content_page .attributes.p-xs.bg-white h2), #main .mod_newsreader .info {
  margin-top: 55px;
  margin-bottom: 10px;
}

.content_page h1 + h2 {
  margin-top: 55px;
}

#main .mod_newsreader .info {
  padding-top: 67px;
}

#main h2 + .ce_text {
  margin-top: 30px;
}

#main h3 {
  font-size: 1.33rem;
  letter-spacing: 0.5px;
  margin: 30px 0 15px;
}

#main h2:not(.newsteaser-v4 .content h2, .mod_newsreader h2) + h3 {
  margin-top: 0
}

#main a, .newsteaser-v4 .content h2 a {
  color: #2b2c86;
}

#main h4 {
  font-size: 1.1rem;
  margin: 40px 0 30px;
  letter-spacing: 0.5px;
}

#main .ce_hyperlink a, #main a.btn {
  background: none;
  padding: 0;
  border: none;
  font-size: 1.1rem;
  font-weight: 400;
  margin: 35px 0;
}

#main .ce_hyperlink a:hover, #main a.btn:hover {
  opacity: 1;
}

#main .ce_hyperlink a::after, #main a.btn::after {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-size: 1.5rem;
  font-weight: 300;
  content: '\e5c8';
  width: 30px;
  height: 30px;
  display: inline-block;
  position: relative;
  top: 7px;
  left: 4px;
  transition: All 0.3s ease;
  -webkit-transition: All 0.3s ease;
}

#main .attributes.p-xs.bg-white .ce_hyperlink a::after {
  content: '\e89e';
  font-size: 2rem;
  font-weight: 700;
  position: absolute;
  top: 0px;
  left: 3px;
}

#main .attributes.p-xs.bg-white .ce_hyperlink a.formicon::after {
  content: '\e745';
  font-size: 2.5rem;
  left: 0;
}

#main .ce_hyperlink a:hover::after, #main a.btn:hover::after {
  left: 9px;
  transition: All 0.3s ease;
  -webkit-transition: All 0.3s ease;
}

#main a[href$=".pdf"]::before, #main .ce_download p a::before, #main .ce_downloads li a::before, #main a[href^="https://"]:not(#main .mod_search a)::before, #main a[href^="http://"]:not(#main .mod_search a)::before {
  width: calc(100% - 55px);
}

#main .attributes.p-xs.bg-white .ce_hyperlink a::before {
  display: block;
  width: calc(100% - 55px);
}

#main a[href$=".pdf"], #main .ce_download p a, #main .ce_downloads li a, #main .attributes.p-xs.bg-white .ce_hyperlink a, #main a[href^="https://"]:not(#main .ce_iconbox a, #main .mod_search a, #main a.noicon), #main a[href^="http://"]:not(#main .ce_iconbox a, #main .mod_search a, #main a.noicon) {
  padding-left: 55px;
  font-size: 1rem;
  margin: 20px 0 0px 0;
  text-align: left !important;
}

.pct_edit_interface a {
  padding-left: 0 !important;
  text-indent: 4px;
}

.pct_edit_interface a::after {
  display: none !important;
}

#main .datenschutz a {
  padding-left: 0 !important;
  display: inline;
}

#main .datenschutz a::after {
  display: none !important;
}

#main .datenschutz a::before {
  width: 0% !important;
}

#main .datenschutz a:hover {
  border-bottom: 2px solid #ffc538;
}

.content_page #main .ce_iconbox a, .content_page #main .ce_iconbox a h3  {
  color: #2b2c86;
  text-transform: uppercase;
}

.content_page #main .ce_iconbox h3 {
  text-transform: uppercase;
}

.content_page #main .ce_iconbox:not(.version2):not(.version3) .ce_iconbox_cwrapper {
  margin-top: 0;
}

#main a[href$=".pdf"]::after, #main .ce_download p a::after, #main .ce_downloads li a::after {
  padding-left: 40px;
  position: absolute;
  top: -5px;
  left: -40px;
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 2.5rem;
  content: '\e415';
}

#main .ce_download li.ext-zip a::after, #main .ce_downloads li.ext-zip a::after {
  content: '\eb2c';
}

#main a[href^="https://"]:not(#main .ce_iconbox a, #main .mod_search a)::after, #main a[href^="http://"]:not(#main .ce_iconbox a, #main .mod_search a)::after {
  padding-left: 40px;
  position: absolute;
  top: -5px;
  left: -38px;
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 2.5rem;
  content: '\e89e';
}

.attributes.p-xs.bg-white .ce_download p {
  margin-bottom: 0;
}

#main .ce_download:not(.ce_download_small) {
  background: none;
  padding: 0;
  border-radius: 0;
}

#main .ce_download:after {
  display: none;
}

#main .ce_downloads li {
  margin-bottom: 0;
  padding-bottom: 0;
  vertical-align: middle;
  border-bottom: none;
}

.newsteaser-v4.autogrid {
  padding-left: 4px;
  padding-right: 4px;
  padding-bottom: 8px;
}

.newsteaser-v4 {
  height: 100%;
  position: relative;
}

.newsteaser-v4 .content {
  padding: 28px 13% 13% 14%;
  background: rgb(255,255,255);
  border-bottom: 1px solid rgb(220,221,221);
  border-right: 1px solid rgb(220,221,221);
  border-top: none;
  border-left: none;
  text-align: left;
  border-radius: 0;
  min-height: 425px;
}

#main .newsteaser-v4 .content h2 a {
  color: #353535;
}

.newsteaser-v4 .content h2:before, #main .column .attributes.bg-white .same-height-wrap h2::before {
  width: 5px;
  height: 62px;
  background: #fab900;
  position: absolute;
  top: 0;
  left: 40px;
  content: '';
}

#main .column .attributes.bg-white .same-height-wrap h2.pct_edit_active::before {
  display: none;
}

#main .column .attributes.bg-white .same-height-wrap h2::before {
  left: 30px; 
}

.newsteaser-v4 a:empty {
  display: none;
}

.newsteaser-v4 a.readmore {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  text-indent: -1000px;
}

.mod_article.aufgaben .container, .mod_article.kontakt .container {
  text-align: center;
}

.ce_iconbox.gemeindelink .link:before, .ce_iconbox.aufgaben .link:before, .ce_iconbox.kontakt .link:before {
  display: none;
}

.ce_iconbox.gemeindelink {
  float: left;
  margin: 30px 32px 0 32px;
  min-width: 125px;
}

.ce_iconbox.aufgaben {
  max-width: 14%;
  margin: 30px 16px 0 16px;
  display: inline-block;
}

.ce_iconbox.kontakt {
  width: 18%;
  margin: 30px 16px 0 16px;
  display: inline-block;
}

.ce_iconbox.gemeindelink img {
  -webkit-filter: grayscale(100%); 
  filter: grayscale(100%);
  border: 1px solid #dadada;
  border-radius: 10px;
  opacity: 0.8;
}

#main .ce_iconbox.gemeindelink a {
  color: #353535;
}

.ce_iconbox.gemeindelink:hover img {
  -webkit-filter: none;
  filter: none;
}

.ce_iconbox.gemeindelink:not(.version2):not(.version3) .ce_iconbox_cwrapper,
.ce_iconbox.aufgaben:not(.version2):not(.version3) .ce_iconbox_cwrapper,
.ce_iconbox.kontakt:not(.version2):not(.version3) .ce_iconbox_cwrapper {
  margin-top: 0;
}

.ce_iconbox.gemeindelink .ce_iconbox_cwrapper a, .ce_iconbox.aufgaben .ce_iconbox_cwrapper a, .ce_iconbox.kontakt .ce_iconbox_cwrapper a {
  font-family: 'Asap Condensed';
  font-style: normal;
  font-weight: 700;
  font-size: 1.33rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rm .ce_iconbox.gemeindelink .ce_iconbox_cwrapper a, .rm .ce_iconbox.aufgaben .ce_iconbox_cwrapper a, .rm .ce_iconbox.kontakt .ce_iconbox_cwrapper a, .it .ce_iconbox.gemeindelink .ce_iconbox_cwrapper a, .it .ce_iconbox.aufgaben .ce_iconbox_cwrapper a, .it .ce_iconbox.kontakt .ce_iconbox_cwrapper a {
  font-size: 1.1rem;
}

.ce_iconbox.gemeindelink a.link, .ce_iconbox.aufgaben a.link, .ce_iconbox.kontakt a.link {
  margin-top: 0;
  padding-top: 13px;
}

.gemeindelinks {
  padding-bottom: 200px;
}

.aufgaben, .kontakt {
  padding-bottom: 60px;
}

.ce_text ul, .ce_text ol, .ce_list:not(.hasIcon) ul, .ce_list:not(.hasIcon) ol {
  padding-left: 15px;
}

#main .ce_text ol {
  padding-left: 23px;
}

.ce_text ul li, .ce_list ul li {
  list-style: none;
  margin-bottom: 13px;
}

.ce_text ul li:before, .ce_list ul li:before {
  position: absolute;
  left: -14px;
  top: 6px;
  content: '';
  width: 4px;
  height: 15px;
  background-color: #fab900;
}

.ce_text ul + p {
  margin-top: 40px;
}

.autogrid_row>.column>.attributes.p-xs .ce_text ul li:before, .autogrid_row>.column>.attributes.p-xs .ce_list ul li:before {
  left: -10px;
  top: 12px;
  width: 3px;
  height: 3px;
  background-color: #333;
}

.autogrid_row>.column>.attributes.p-xs {
  padding: 0 40px 40px;
}

#main .column .attributes.bg-white .same-height-wrap h2 {
  margin-top: 30px;
}

.autogrid_row.gutter_s>div, .autogrid_wrapper.gutter_s>div {
  padding-left: 5px;
  padding-right: 5px;
}

.attributes.p-xs.bg-white {
  border-bottom: 1px solid rgb(220,221,221);
  border-right: 1px solid rgb(220,221,221);
}

.handorgel__header__button {
  border-top: 0;
  padding: 0;
  background: transparent;
}

.content-accordion {
  border-bottom: 0;
  margin-top: 50px;
}

#main .content-accordion h2, #main .content-accordion h3 {
  margin: 0;
  font-size: 1.66rem;
  color: #2b2c86;
}

#main .content-accordion h3 {
  font-size: 1rem;
}

#main .content-accordion h2 {
  margin-top: 15px !important;
  margin-bottom: 0 !important;
}

#main .content-accordion h2 button, #main .content-accordion h3 button {
  pointer: cursor !important;
}

#main .content-accordion h2 button {
  font-size: 1.33rem;
  font-family: 'Asap Condensed';
  font-style: normal;
  font-weight: 700;
}

#main .content-accordion h2 button::after, #main .content-accordion h3 button::after {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-size: 1.5rem;
  font-weight: 300;
  content: '\e5c8';
  width: 30px;
  height: 30px;
  display: inline-block;
  position: relative;
  top: 0;
  right: 0;
  transition: All 0.3s ease;
  -webkit-transition: All 0.3s ease;
  float: right;
  transform: rotate(90deg);
}

#main .content-accordion h3 button::after {
  top: -2px;
  right: -35px;
}

#main .content-accordion h2 button:hover::after {
  top: 4px;
  transition: All 0.3s ease;
  -webkit-transition: All 0.3s ease;
}

#main .content-accordion h3 button:hover::after {
  top: 1px;
  transition: All 0.3s ease;
  -webkit-transition: All 0.3s ease;
}

#main .content-accordion h2.handorgel__header--opened button::after {
  transform: rotate(-90deg);
  top: 0;
  right: 2px;
}

#main .content-accordion h3.handorgel__header--opened button::after {
  transform: rotate(-90deg);
  top: -6px;
  right: -32px;
}

#main .content-accordion h2.handorgel__header--opened button:hover::after, #main .content-accordion h3.handorgel__header--opened button:hover::after {
  top: -9px;
  transition: All 0.3s ease;
  -webkit-transition: All 0.3s ease;
}

.content-accordion .handorgel__header button.handorgel__header__button:hover {
  border-top: none;
}

#main .attributes.p-xs.bg-white h3 button {
  margin-top: 22px;
  padding-right: 35px;
}

.handorgel__content {
  border-top: 0;
  background: transparent;
}

.handorgel__content__inner {
  padding: 8px 30px 30px 0;
}

#main .attributes.p-xs.bg-white .ce_text {
  margin-top: 45px;
}

#main .attributes.p-xs.bg-white .handorgel__content__inner .ce_text {
  margin-top: 0;
}

#main .attributes.p-xs.bg-white h3:not(.handorgel__header) {
  font-size: 1.1rem;
  margin: 10px 0 0 0;
  padding: 24px 0 0 0;
}

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

span.size {
  display: none;
}

#main .mod_search {
  text-align: left;
}

.content_page #main .mod_search {
  text-align: center;
}

.content_page #main .mod_search form {
  width: 440px;
}

.content_page #main .mod_search .widget {
  display: inline-block;
}

.content_page #main .mod_search .widget-text {
  min-width: 0;
  width: 350px;
  height: 70px !important;
  margin-right: 0;
}

.content_page #main .mod_search label {
  display: none;
}

.content_page #main .mod_search input {
  width: 100%;
  height: 100% !important;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top: 2px solid #353535;
  border-bottom: 2px solid #353535;
  border-left: 2px solid #353535;
  border-right: none;
  flex: none;
  max-width: none;
}

.content_page #main .mod_search .widget-submit {
  width: 17%;
  height: 70px !important;
  display: inline-block;
}

.content_page #main .mod_search .widget-submit button.submit {
  width: 100%;
  height: 100% !important;
  min-width: auto;
  background: #fff;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top: 2px solid #353535 !important;
  border-bottom: 2px solid #353535 !important;
  border-right: 2px solid #353535 !important;
  border-left: none;
  color: #000;
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 300;
  font-size: 32px;
  line-height: 32px;
  margin-top: 0;
}

.content_page #main .mod_search .widget-submit button.submit:hover {
  background: #fff !important;
  color: #000 !important;
  opacity: 1;
  font-size: 35px;
  line-height: 35px;
}

#main .mod_search mark {
  background-color: rgba(0,0,0,0.05);
}

#main .mod_search h3 {
  margin-bottom: 10px;
}

#main .mb-xxs {
  margin-bottom: 25px !important;
}

.ce_leadertext.version1 {
  max-width: 760px;
  margin-top: 55px;
}

.ce_leadertext.version1 p {
  font-size: 1rem;
  font-weight: bold;
}

.image_container .caption {
  padding: 5px 0 0;
  background: none;
  color: #333;
  font-size: 0.8rem;
}

.nobr {
  white-space: nowrap;
}

#main .ce_revolutionslider_text.caption.tp-caption.block {
  color: #fff;
  font-family: 'Asap Condensed';
  font-style: normal;
  font-weight: 700;
  text-shadow: 0 0 4px rgba(0,0,0,0.6);
}

#main .ce_tabs {
  border-left: 1px solid rgb(220,221,221, 0.33);
  border-top: 1px solid rgb(220,221,221, 0.33);
  border-bottom: 1px solid rgb(220,221,221);
  border-right: 1px solid rgb(220,221,221);
  margin-top: 60px;
  background: #efefef;
}

#main .ce_tabs .tabs.classic {
  background: rgba(245,245,245,1);
  padding: 0 10px 15px 0px;
  margin-bottom: 0;
  border-bottom: 2px solid #fff;
  height: 115px;
}

#main .ce_tabs .tabs ul {
  padding: 30px 25px 15px;
}

#main .ce_tabs .panes.classic {
  border: none;
  border-radius: 0;
  background: rgba(245,245,245,1);
  padding-top: 0;
}

#main .ce_tabs .panes.classic h2 {
  position: relative;
  padding-left: 6px;
  left: -16px;
  margin-top: 0 !important;
}

#main .ce_tabs .panes.classic h2::before {
  width: 5px;
  height: 62px;
  background: #fab900;
  position: relative;
  top: 0;
  left: -6px;
  content: '';
  display: inline-block;
}

#main .ce_tabs .tabs.classic ul li, #main .ce_tabs .tabs.classic ul li.active {
  background: none;
  color: #2b2c86;
  border: 2px solid rgba(245,245,245,1);
  font-family: 'Asap Condensed';
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  /* font-size: 1.33rem; */
  font-size: 1.0rem;
  line-height: 1.5rem;
  width: 200px;
  height: 50px;
  text-align: center;
  transition: all .3s ease-in;
}

#main .ce_tabs .tabs.classic ul li:hover:not(#main .ce_tabs .tabs.classic ul li.active:hover) {
  /* font-size: 1.4rem; */
  font-size: 1.12rem;
  line-height: 1.44rem;
  transition: all .1s ease-in;
}

#main .ce_tabs .tabs.classic ul li.active {
  color: rgb(59,60,66);
  border: 2px solid rgb(59,60,66);
  background: rgba(245,245,245,1);
}

#main .ce_tabs .panes.classic .handorgel__header__button {
  width: calc(100% - 30px);
}

#main .ce_teambox .name {
  font-family: 'Asap Condensed';
  font-style: normal;
  font-weight: 700;
}

#main .ce_teambox .image a::before {
  display: none;
}

#main .ce_teambox .function {
  color: rgb(59,60,66);
  margin-bottom: 10px;
}

#main .ce_iconbox_icon .fa::before {
  color: #ffc538;
}

#main .ce_iconbox li {
  list-style: none;
}

#main table {
  width: 100%;
}

#main table thead tr td strong {
  white-space: nowrap;
}

#main table tr:nth-child(even) {
  background: rgba(245,245,245,1);
}

#main table tr td {
  padding: 5px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

#main .valigncenter table {
  display: table;
}

#main .valigncenter table tr td, #main .valigncenter table tr td img {
  display: table-cell;
  vertical-align: middle !important;
}

#main .center {
  text-align: center;
}


/* Forms
------------------------------------------------*/
form.no-border .widget-radio fieldset {
  border: none;
  margin-bottom: 30px;
}

form .widget-radio fieldset legend, form .widget-checkbox fieldset legend {
  padding: 0;
  background: none;
  color: #333;
}

form.no-border .widget-radio fieldset legend, form.no-border .widget-checkbox fieldset legend {
  margin-bottom: 10px;
  float: left;
  padding-right: 10px;
}

form .checkbox_container span, form .widget-radio span {
  display: inline-block;
  margin-right: 15px;
  line-height: 1;
}

form .widget-radio label {
  line-height: 1.3rem;
}

#main form h3 {
  margin-top: 50px;
}

#main form h4 {
  margin-top: 40px;
}

form div.widget-radio {
  margin-bottom: 10px;
}

form .widget:not(.widget.widget-radio, .widget.widget-checkbox) {
  margin-bottom: 1em;
  display: flex;
  flex-wrap: wrap;
}

form .widget label:not(form .widget.widget-radio fieldset label, form .widget.widget-checkbox fieldset label), form .widget legend {
  font-size: inherit;
  line-height: 1.5;
  margin-bottom: 0;
  padding-bottom: calc(.375rem + 1px);
  padding-top: calc(.375rem + 1px);
  flex: 0 0 33.3333333333%;
  max-width: 33.3333333333%;
  padding-right: 15px;
  position: relative;
  width: 100%;
}

form .widget input:not(.radio), form .widget.widget-radio div.inputcontainer, form .widget select, form .widget textarea {
  flex: 0 0 66.6666666667%;
  max-width: 66.6666666667%;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  width: 100%;
}

form .widget.widget-radio div.inputcontainer, form .widget.widget-checkbox div.inputcontainer {
  float: left;
  padding-left: 0;
}


form .widget-radio .inputcontainer span, form .widget-checkbox .inputcontainer span {
  margin-bottom: 5px;
}

form .widget-radio span, form .widget-checkbox span {
  margin-bottom: 0;
}

form span.mandatory {
  margin-left: 3px;
  color: #333;
}

form span.highlighted {
  color: #333;
}

input.submit, button.submit {
  padding: 5px;
  border-radius: 12px;
  background: transparent;
  border: 2px solid #2b2c86;
  color: #2b2c86;
  font-family: 'Asap Condensed';
  font-style: normal;
  font-weight: 700;
  font-size: 1.33rem;
  margin-top: 20px;
}

.home button.submit {
  margin-top: 0;
}

input.submit:hover:not(.home input.submit:hover), button.submit:hover:not(.home button.submit:hover) {
  background: #2b2c86 !important;
  color: #fff !important;
  font-size: 1.44rem;
}

input:active {
  transform: scale(1) !important;
}

form.no-border fieldset.extended {
  border-top: 0;
}

fieldset.more {
  margin-top: 30px;
}

.widget-checkbox.more + fieldset {
  border-top: 0;
}

.widget-checkbox.more + fieldset > legend {
  display: none;
}

.widget.col .inputcontainer span, .widget.col .inputcontainer span {
  display: block;
}

.nolegend legend {
  display: none;
}

.collecta-addon-form-group button {
  height: 60px;
}

/* Datenschutz Matomo Opt-out
------------------------------------------------*/
#matomo-opt-out {
  margin-bottom: 20px;
}

#matomo-opt-out input[type=checkbox] { 
  display:none;
} 

#matomo-opt-out label {
  display: block;
  padding-left: 1.5em;
  text-indent: -.7em;
}

#matomo-opt-out input[type=checkbox] + label:before {
  font-family: FontAwesome;
  display: inline-block;
  content: "\f096";
  letter-spacing: 10px;
  cursor: pointer;
}

#matomo-opt-out input[type=checkbox]:checked + label:before { 
  content: "\f046";
} 

#matomo-opt-out input[type=checkbox]:checked + label:before { 
  letter-spacing: 8px;
} 

/* Footer
------------------------------------------------*/
#footer {
  padding-top: 27px;
}

#footer .inside {
  max-width: 1400px;
}

#footer .totop {
  display: none;
}

#footer .ce_headline.h5, #footer .ce_headline.h6, #footer .ce_text h6 {
  font-family: 'Asap Condensed';
  font-style: normal;
  font-weight: 700;
  font-size: 2rem;
}

#footer .ce_headline.h5 {
  font-size: 2rem;
}

#footer .ce_headline.h6, #footer .ce_text h6 {
  font-size: 1.33rem;
  letter-spacing: 0.33px;
  padding-top: 5px;
}

.top-themen .ce_hyperlink {
  display: inline-block;
  margin-right: 3px;
}

.top-themen .ce_hyperlink a {
  font-family: 'Asap Condensed';
  font-style: normal;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0;
  padding: 5px 23px;
  border: 2px solid #353535;
  border-radius: 10px;
}

#footer p {
  margin-bottom: 4px;
}

#footer a {
  font-weight: 700;
}

#footer .impressum-datenschutz {
  margin-top: 6px;
}

#top_link a:before {
  display: none;
}


/* Media Queries
------------------------------------------------*/
@media only screen and (min-width: 1600px) {
  .home #slider .inside .fullwidth {
    background-position: center -100px !important;
  }
}

@media only screen and (max-width: 1599px) {
  .home #slider .inside .fullwidth {
    background-position: top center;
  }
}

@media only screen and (max-width: 1309px) and (min-width: 768px) {
  #mmenu nav.mod_navigation ul.level_2 li {
    font-size: 12px;
    line-height: 17px;
  }
  
  .home .ce_swiper-slider-start {
    padding: 0 60px !important;
    width: 99%;
    margin-left: 4px;
  }
  
  .ce_iconbox {
    max-width: 90%;
  }
  
  .home .swiper-button-next {
    top: 125px;
    right: 10px;
    width: 44px;
    overflow-x: hidden;
  }
  
  .home .swiper-button-prev {
    top: 115px;
    left: 20px;
    width: 44px;
    overflow-x: hidden;
  }
  
  .swiper-button-next:after, .swiper-button-prev:after {
    background-size: 34px auto;
  }
  
  .home .aufgaben-aemter .swiper-wrapper .ce_iconbox .image_container img,
  .content_pge .aufgaben .ce_iconbox .image_container img {
    max-width: 7.5vw !important;
  }
  
  .newsteaser-v4 .content h2:before {
    left: 10%;
  }
}

@media only screen and (min-width: 1130px) {
  .home .aufgaben-aemter .swiper-wrapper p a {
    padding: 123px 20px 26px 20px;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
}

@media only screen and (max-width: 1129px) and (min-width: 768px) {
  .home .aufgaben-aemter .swiper-wrapper p a {
    font-size: 2.1vw;
    line-height: 2.6vw;
    padding: 123px 10px 26px 10px;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
}

@media only screen and (min-width: 1025px) {
  #mmenu #mmenu_middle {
    padding: 0 100px 90px 100px;
  }
  
  #mmenu nav.mod_navigation ul.level_1 li {
    border-left: 5px solid #fab900;
    padding-left: 15px;
    padding-right: 5px;
  }
}

@media only screen and (max-width: 1024px) {  
  .mod_article.bg-styles:not(.fullwidth):not(.fullwidth-boxed-medium):not(.fullwidth-boxed-small) > .container {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {  
  .header .langswitcher {
    margin-right: 0;
  }
  
  #mmenu #mmenu_middle {
    padding: 0 20px 90px 20px;
  }
  
  #mmenu nav.mod_navigation ul.level_1 li {
    border-left: 3px solid #fab900;
    padding-left: 5px;
    padding-right: 5px;
  }
  
  .newsteaser-v4 .content {
    min-height: 600px;
  }
}

@media only screen and (min-width: 768px) {  
  .content_page h1 + .mod_newslist {
    margin-top: 50px;
  }
  
  body.mmenu_open {
    overflow-y:hidden;
    height: 100%;
  }
  
  body.mmenu_open #mmenu {
    height: auto !important;
    overflow-y: scroll !important;
  }

  .mobile {
    display: none;
  }
  
  #mmenu #mmenu_top {
    padding: 100px 100px 121px 100px;
  }
  
  #mmenu nav.mod_navigation {
    display: inline-block;
    width: 100%;
    overflow-y: scroll !important;
  }
  
  #mmenu nav.mod_navigation ul.level_1 li {
    float: left;
    width: 16.6%;
  }
  
  #mmenu nav.mod_navigation ul.level_2 li {
    float: none;
    width: auto;
  }
  
  #mmenu .mod_navigation li a.submenu:after {
    display: none;
  }
  
  #mmenu nav.mod_navigation ul.level_2 li {
    border-left: none;
    padding-left: 0;
  }
  
  #mmenu nav.mod_navigation ul ul li {
    display: block;
    float: none;
  }
  
  #mmenu nav.mod_navigation ul.level_1 li a {
    padding-top: 0;
    padding-right: 0;
    position: relative;
    top: -5px;
    display: inline-block;
  }
  
  #mmenu nav.mod_navigation ul.level_2 li a {
    padding-top: 4px;
    padding-right: 0;
    display: inline-block;
  }
  
  #mmenu div.opener {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  .desktop {
    display: none;
  }
  
  .mmenu_trigger {
    right: 20px !important;
  }
  
  .header .langswitcher {
    margin-right: 60px;
    right: 0px;
    top: 20px;
  }
  
  .langswitcher ul li:after {
    width: 35px;
    left: -12px;
  }
  
  #mmenu #mmenu_middle {
    padding-top: 50px;
  }
  
  #mmenu nav.mobile_vertical {
    display: block !important;
  }
  
  #mmenu nav.mod_navigation ul.level_1 li {
    padding-bottom: 10px;
  }
  
  #mmenu nav.mod_navigation ul.level_2 li {
    padding-bottom: 5px;
  }
  
  #mmenu nav.mod_navigation ul.level_2 li a {
    display: inline-block;
    padding-right: 0;
  }
  
  #mmenu nav.mobile_vertical ul > li.open > ul {
    padding-bottom: 10px;
  }
  
  body.mmenu_open #header .inside {
    background: #fff;
  }
  
  .home #slider {
    background: transparent;
    padding-bottom: 0;
  }
  
  .home .aufgaben-aemter {
    background: #d6dae3 url('../img/bg-header-mobile.svg') no-repeat;
    padding: 30px 0 122px;
    background-position: bottom center !important;
    background-size: 4000px auto;
  }
  
  .home #slider .mod_search {
    padding: 155px 0 86px 0;
    width: 90%;
    margin-left: 5%;
  }
  
  .content_page #main .mod_search form {
    width: 100%;
  }
  
  .home #slider .mod_search .widget-text, .content_page #main .mod_search .widget-text {
    width: 83% !important;
    float: left;
  }
  
  .home #slider .mod_search .widget-submit, .content_page #main .mod_search .widget-submit {
    width: 17% !important;
    height: 70px !important;
    float: left;
  }
  
  .swiper-wrapper {
    display: inline-block;
  }
  
  .home .aufgaben-aemter, .home .ce_swiper-slider-start {
    margin: 0;
    width: 100%;
  }
  
  .home .ce_swiper-slider-start {
    padding: 0 !important;
    width: 90%;
    margin: 0 auto;
  }
  
  .home .aufgaben-aemter .swiper-wrapper .ce_iconbox.mb-xs-m {
    margin-bottom: 0 !important;
  }
  
  .ce_iconbox:not(.version2):not(.version3) .ce_iconbox_cwrapper {
    margin-top: 5px;
  }
  
  .home .aufgaben-aemter .swiper-wrapper .ce_iconbox .ce_iconbox_outside.padding {
    margin: 3px 0;
    padding: 0 10px;
    background: #fff;
    max-width: 100%;
    min-height: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    z-index: 100;
    border-bottom: none;
  }
  
  .home .ce_iconbox .ce_iconbox_inside {
    display: flex;
    flex-direction: row;
  }
  
  .home .aufgaben-aemter .ce_iconbox_icon {
    padding: 14px;
  }
  
  .home .aufgaben-aemter .swiper-wrapper .ce_iconbox .image_container img {
    width: 40px !important;
  }
  
  .home .aufgaben-aemter .swiper-wrapper p {
    padding-top: 5px;
  }
  
  .home .aufgaben-aemter .swiper-wrapper p a {
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 0;
    min-height: 0;
    font-size: 1rem;
    line-height: 1.3rem;
    text-align: left;
    letter-spacing: 0.5px;
  }
  
  .home .aufgaben-aemter .swiper-wrapper p a br {
    display: none;
  }
  
  h1 {
    font-size: 2.33rem;
    line-height: 2.66rem;
    margin-bottom: 25px;
  }
  
  h2 {
    font-size: 1.66rem;
    line-height: 2rem;
  }
  
  .home .mod_article.bg-styles:not(.fullwidth):not(.fullwidth-boxed-medium):not(.fullwidth-boxed-small) > .container {
    padding-top: 30px;
  }
  
  .content_page #main .inside .mod_article:first-of-type {
    background-position: center -830px;
    padding-top: 30px;
  }
  
  .content_page h1 {
    height: 240px;
    padding-bottom: 80px;
  }
  
  #main h2:not(.newsteaser-v4 .content h2) {
    margin-top: 0;
  }
  
  #main .ce_hyperlink a, #main a.btn {
    margin: 17px 0;
  }
  
  .h-align-right {
    text-align: left;
  }
  
  #main .ce_hyperlink a, #main a.btn {
    margin-top: 0;
  }
  
  .newsteaser-v4 .content h2:before {
    left: 7%;
  }
  
  .newsteaser-v4 .content {
    min-height: 0;
    padding: 28px 10% 5% 10%
  }
  
  .home .ce_iconbox.gemeindelink .ce_iconbox_inside, .home .ce_iconbox.aufgaben .ce_iconbox_inside {
    display: block;
  }
  
  .home .ce_iconbox.gemeindelink, .home .ce_iconbox.aufgaben {
    margin: 30px 16px 0 16px;
  }
  
  .home .ce_iconbox.gemeindelink img, .home .ce_iconbox.aufgaben img {
   width: 80px;
   height: auto; 
  }
  
  .ce_iconbox.kontakt {
    width: 100%;
  }
  
  .gemeindelinks, .aufgaben, .kontakt {
    padding-bottom: 0;
    margin-bottom: 0;
  }
  
  #main .column .attributes.bg-white .same-height-wrap h2::before {
    left: 25px;
  }
  
  #main .ce_tabs {
    margin-top: 30px;
  }
  
  #main .ce_tabs .tabs.classic {
    height: auto;
  }
  
  #main table thead tr td strong {
    font-size: 0.8rem;
  }
  
  form .widget:not(.widget.widget-radio), form .widget label:not(form .widget.widget-radio fieldset label), form .widget legend, form .widget input:not(.radio), form .widget.widget-radio div.inputcontainer, form .widget select, form .widget textarea, form .checkbox_container span, form .widget-radio .inputcontainer span {
    flex: none;
    width: 100%;
    max-width: none;
  }
  
  form .widget-radio.col .inputcontainer span,   form .widget-checkbox.col .inputcontainer span {
    margin-bottom: 15px;
  }
  
  #footer .top-themen {
    margin-bottom: 60px;
  }
  
  #footer .top-themen .ce_hyperlink {
    margin-top: 5px;
    margin-bottom: 5px;
  }
  
  #footer .impressum-datenschutz {
    padding-bottom: 60px;
  }
  
}

@media only screen and (max-width: 469px) {
  .mmenu_open .langswitcher ul li.kontakt {
    display: none;
  }
}

@media only screen and (max-width: 369px) { 
    .logo {
      width: 120px;
    }
    
    .langswitcher ul li:after {
      width: 10px;
      left: 0px;
    }
  } 