/*
Theme Name: Ferrycenter
Theme URI: https://ferrycenter.ch
Template: accelerate-pro
Author: gigerIT GmbH
Author URI: https://gigerit.ch
Description: Ferrycenter is the official theme for Ferrycenter.ch
Tags: one-column,two-columns,left-sidebar,right-sidebar,flexible-header,custom-background,custom-colors,custom-header,custom-logo,custom-menu,featured-images,footer-widgets,post-formats,blog,threaded-comments,theme-options,translation-ready,rtl-language-support,e-commerce
x-release-please-start-version
Version: 1.6.4
x-release-please-end
Updated: 2026-02-25 10:00:00
*/

/* Replaces [Critical] Global */
html,
body {
  overflow-x: hidden;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body,
button,
input,
select,
textarea,
p,
.entry-meta,
.read-more,
.more-link,
.widget_testimonial .testimonial-author,
.widget_testimonial .testimonial-author span,
#site-title a,
#site-description,
.main-navigation li,
.small-menu li,
h1,
h2,
h3,
h4,
h5,
h6,
.widget_recent_work .recent_work_title .title_box h5 {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* [Content] Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.1;
}

h1 {
  text-transform: uppercase;
  color: #0061ac;
}

h2 {
  color: #0061ac;
  line-height: normal;
}

h3 {
  color: #003264;
}

h1.cfc-wave:before,
h2.cfc-wave:before,
body.ferry-wp-page.wp-singular h2:before {
  content: "";
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("https://cdn.ferrycenter.ch/assets/wave/cfc-wave-256.png");
  width: 102px;
  height: 22.3px;
  margin-bottom: 12px;
}

body.ferry-wp-page.wp-singular h2:before,
h2.cfc-wave:before {
  width: 50px;
  height: 12px;
  margin-bottom: 10px;
}

/* [Content] Links */

a {
  color: #0061ac;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #003264;
  text-decoration: none;
}

.main-navigation a,
.main-navigation li {
  font-weight: 500;
  text-transform: uppercase;
}

/* End of Replaces [Critical] Global */

/* replaces [Theme] Main Menu */

.main-navigation ul li ul li a,
.main-navigation ul li ul li.current-menu-item a,
.main-navigation ul li.current-menu-ancestor ul li a,
.main-navigation ul li.current-menu-item ul li a,
.main-navigation ul li.current_page_ancestor ul li a,
.main-navigation ul li.current_page_item ul li a {
  width: 100% !important;
}

.main-navigation ul li ul {
  width: 100%;
}

.main-navigation ul li ul li {
  width: 100%;
}

ul#menu-main ul.sub-menu {
  box-shadow: 0px 0px 10px #c5c5c5;
}

nav#site-navigation .menu-toggle {
  display: none;
  cursor: pointer;
  line-height: 32px;
  text-transform: uppercase;
  color: #444;
  background: #fff;
  font-weight: 400;
}

nav#site-navigation .menu-toggle:active,
nav#site-navigation .menu-toggle:hover {
  color: #444;
  background: #fff;
  text-transform: uppercase;
}

@media screen and (max-width: 767px) {
  nav#site-navigation .menu-toggle {
    display: block;
  }

  #site-navigation.main-navigation .menu-primary-container>ul,
  #site-navigation.main-navigation>ul.menu {
    display: none;
  }

  #site-navigation.main-small-navigation .menu-primary-container>ul,
  #site-navigation.main-small-navigation>ul.menu {
    display: block;
  }

  #site-navigation.main-small-navigation ul {
    box-shadow: 0px 5px 8px #000000a1;
  }
}

/* End of replaces [Theme] Main Menu */

/* Breadcrumbs */
nav.rank-math-breadcrumb p {
  font-size: 85%;
}

/* #region: Archive pagination */

.pagination {
  width: 100%;
}

.pagination .nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.pagination .page-numbers {
  border: 1px solid #f2f2f2;
  border-radius: 2px;
  color: #666666;
  display: inline-block;
  line-height: 1.4;
  min-width: 36px;
  padding: 6px 10px;
  text-align: center;
  text-decoration: none;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover,
.pagination .page-numbers:focus {
  background-color: #0061ac;
  border-color: #0061ac;
  color: #ffffff;
  text-decoration: none;
}

.pagination span.dots {
  background-color: #fff;
}

/*endregion: Archive pagination */

/* Ferry archives: keep featured images centered and proportional */
body.post-type-archive.ferry-wp-page #content .post-featured-image {
  align-items: center;
  display: flex;
  float: none;
  justify-content: center;
  padding-right: 0;
  text-align: center;
  width: 100%;
}

body.post-type-archive.ferry-wp-page #content .post-featured-image a {
  display: inline-flex;
  justify-content: center;
}

body.post-type-archive.ferry-wp-page #content .post-featured-image img {
  display: block;
  height: auto !important;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  object-fit: contain;
  width: auto !important;
}

body.post-type-archive-ferry_operator #content,
body.post-type-archive-ferry_country #content,
body.post-type-archive-ferry_country_route #content {
  margin-left: 0;
  margin-right: 0;
}

body.post-type-archive #content .ferry-operators-grid {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

body.post-type-archive #content .ferry-operator-item {
  min-width: 0;
}

body.post-type-archive #content .ferry-operator-link {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  text-align: center;
}

body.post-type-archive #content .ferry-archive-media {
  align-items: center;
  aspect-ratio: 4 / 3;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

body.post-type-archive #content .ferry-archive-media--contain {
  padding: 1.25rem;
}

body.post-type-archive #content .ferry-archive-media--contain img {
  display: block;
  margin: 0;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto !important;
  height: auto !important;
}

body.post-type-archive #content .ferry-archive-media--cover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.post-type-archive #content .ferry-operator-name {
  margin: 0;
  overflow-wrap: anywhere;
}

@media screen and (max-width: 768px) {
  body.post-type-archive #content .ferry-operators-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.post-type-archive-ferry_subregion.blog-grid #content.ferry-subregions-list {
  display: block;
}

body.post-type-archive-ferry_subregion.blog-grid #content.ferry-subregions-list article {
  width: 100%;
}

.entry-content li {
  line-height: 1.3;
  margin-bottom: 15px;
}

a {
  color: #0061ac;
  text-decoration: none;
}

.btn {
  align-items: center;
  border-radius: 4px;
  display: inline-grid;
  grid-template-areas: "prepend content append";
  grid-template-columns: max-content auto max-content;
  justify-content: center;
  line-height: normal;
  max-width: 100%;
  position: relative;
  text-decoration: none;
  text-align: center;
  background-color: #0061ac;
  padding: 0.8rem 1.2rem;
  color: #fff !important;
  border: none;
  box-shadow: 0 10px 22px rgba(0, 50, 100, 0.22), 0 2px 6px rgba(0, 50, 100, 0.16);
  font-weight: 700;
  font-size: 100%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
  transition: filter 140ms ease, box-shadow 160ms ease, transform 160ms ease;
  margin-bottom: 0 !important;
}

.btn.btn-variant-tonal {
  box-shadow: none;
  background-color: #0062acca;
}

.btn-sm {
  padding: 0.4rem 0.5rem;
  font-size: 90%;
}

.btn:hover {
  filter: brightness(1.08) saturate(1.08);
  box-shadow: 0 14px 30px rgba(0, 50, 100, 0.26), 0 3px 10px rgba(0, 50, 100, 0.18);
  color: #fff !important;
  text-decoration: none !important;
}

.btn:active {
  transform: translateY(0.5px);
  filter: brightness(0.98);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.22), 0 8px 18px rgba(0, 50, 100, 0.18) !important;
}

.btn:focus {
  outline: none;
}

.btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.22),
    0 0 0 6px rgba(0, 97, 172, 0.38),
    0 10px 22px rgba(0, 50, 100, 0.22),
    0 2px 6px rgba(0, 50, 100, 0.16);
}

@media screen and (max-width: 768px) {
  .btn {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding: 0.7rem 1rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}


/* a:hover {
    text-decoration: underline;
} */

.blog-grid #content {
  display: flex;
  align-items: stretch;
  flex-flow: row wrap;
  row-gap: 4rem;
  /* Add spacing between rows */
}


.text-secondary {
  color: #003264;
}


/* Merged from migrate-custom-styles.css (non-overriding rules only) */
body.blog .entry-content,
body.archive .entry-content {
  font-weight: normal;
}

.related-posts-wrapper .entry-title a:hover {
  color: #0061ac !important;
}

.callout-box {
  padding: 40px 30px 40px;
  background-color: #0061ac;
  color: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
  max-width: 400px;
}

.callout-box h1 {
  color: #fff !important;
  font-weight: 700;
  font-size: 36px;
  padding-left: 19px;
  padding-bottom: 18px !important;
}

.callout-box h2 {
  color: #fff !important;
  padding-bottom: 18px !important;
  font-weight: 700;
  font-size: 30px !important;
  padding-left: 19px;
}

.callout-box-wave {
  position: relative;
  padding-top: 70px;
}

.callout-box-wave::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 41px;
  width: 100%;
  height: 80px;
  background: url('/wp-content/uploads/2024/04/cfc-wave-white.png') no-repeat left top / contain;
  z-index: 10;
}

.callout-box ul li {
  margin-bottom: 20px;
  font-size: 15px;
}

.callout-box ul {
  list-style: none;
  padding: 0;
}

.callout-box li {
  padding-left: 1.3em;
}

.callout-box li:before {
  content: "\f00c";
  font-family: FontAwesome;
  display: inline-block;
  margin-left: -1.3em;
  width: 1.3em;
  margin-right: 2px;
}

.callout-box a:hover,
.callout-box a {
  color: #fff;
}

#content.cfcwp_other h1 {
  color: #0061ac;
  padding-bottom: 0;
}

#content.cfcwp_other h2 {
  font-size: 30px;
}

#content.cfcwp_other h2 span {
  font-size: 24px;
}

#content.cfcwp_other h2 {
  color: #003264;
}

#content.cfcwp_other h3 {
  font-size: 20px;
  color: #444;
}

h1 span {
  color: #003264;
}

h2.big {
  font-size: 30px !important;
  line-height: 36px;
  padding-bottom: 18px !important;
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  #content.cfcwp_other h2 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  #content.cfcwp_other h2 span {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 768px) {
  h2.big {
    font-size: 1.5rem !important;
  }
}

.mw200 {
  max-width: 200px;
}

.fullw {
  width: 100% !important;
}

.mx-a {
  margin-left: auto;
  margin-right: auto;
}

tr,
td,
th {
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

a:active,
a:focus {
  outline: 0 !important;
  border: none;
  -moz-outline-style: none;
}

.text-inverse,
.text-inverse h1,
.text-inverse h2,
.text-inverse h3 {
  color: #fff !important;
}

table {
  table-layout: auto;
  border-collapse: collapse;
}

td {
  width: auto;
}

td,
li {
  font-weight: 400;
}

@media screen and (max-width: 768px) {

  th,
  td {
    padding: 6px 4px;
    font-size: 80%;
  }
}

article.post .entry-meta {
  display: none;
}

.emergency-phonenumbers h2 {
  margin-top: 20px;
  padding-bottom: 5px;
}

#content.ferry-routes h1,
#content.ferry-routes h2 {
  color: #0061ac;
}

#content.ferry-routes h2 {
  font-size: 21px;
  padding-bottom: 5px;
}

#content.ferry-routes h3 {
  font-size: 20px;
  color: #003264;
}

i.cfc-wave {
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url('https://cdn.ferrycenter.ch/assets/wave/cfc-wave-256.png');
  width: 102px;
  height: 22.3px;
  margin-bottom: 12px;
}

#content .route-table {
  margin-bottom: 20px;
}

#content .header-table {
  margin-bottom: 0px;
}

#content col.from {
  width: 30%;
}

#content col.divider {
  width: 10%;
}

#content col.to {
  width: 30%;
}

#content col.company {
  width: 30%;
}

#content .routes-list ul {
  margin-left: 0;
  padding-left: 0;
}

#content .routes-list ul li {
  list-style: none;
  border-bottom: 1px;
  border-color: #eaeaea;
  border-style: solid;
  margin-bottom: 0;
}

#content .routes-list ul li a {
  padding: 15px;
  display: block;
}

#content .routes-list ul li a:hover,
#content .routes-list ul li a:active {
  background: #fafafa;
  text-decoration: none;
}

.cfcwp_hidden {
  display: none !important;
}

.o08 {
  opacity: 0.8;
}

.eg-invisiblebutton {
  box-shadow: none !important;
  height: 100% !important;
  width: 100% !important;
  display: block;
  position: absolute;
  z-index: 9;
}

#main a.vc_btn3 {
  background-color: #1a62a8;
  color: #ffffff;
  border-color: #1a62a8;
  background-image: none;
  border-radius: 0;
  box-shadow: 0px 2px 5px #777;
  font-weight: 700;
  font-size: 100%;
  text-transform: uppercase;
}

body.single-ufaq #main a.vc_btn3.vc_btn3-color-primary.vc_btn3-style-modern {
  padding-top: 14px;
  padding-bottom: 14px;
  padding-left: 20px;
  padding-right: 20px;
}

#main a.vc_btn3:hover {
  background-color: #1a62a8db;
  border-color: #1a62a8db;
}

#main a.vc_btn3:active {
  box-shadow: inset 0px 0px 5px #555;
}

#main .button-inverse a.vc_btn3.vc_btn3-color-primary.vc_btn3-style-modern {
  background-color: #fff;
  color: #000;
  box-shadow: 0 0 5px #153f69;
}

#main a.vc_btn3.vc_btn3-color-primary.vc_btn3-style-modern:active {
  box-shadow: inset 0px 0px 5px #153f69;
}

#main .vc_btn3-container.vc_btn3-inline.btn-portmap button {
  font-weight: 800;
  font-size: 4em;
  color: #fff;
}

#main a.btn-portmap img {
  box-shadow: 0px 0px 10px #000;
}

#main a.btn-portmap:active img {
  box-shadow: inset 0px 0px 10px #000;
}

@media screen and (max-width: 768px) {

  body.page-template-tpl-faehrverbindungen .vc_col-sm-3,
  body.page-template-tpl-faehrverbindungen-v2 .vc_col-sm-3 {
    width: 50%;
    float: left;
  }
}

#secondary ul.child-sidebar-menu li a {
  transition: background-color ease 0.1s, color ease 0.1s;
}

#secondary ul.child-sidebar-menu li a {
  padding: 0.4em;
  display: block;
  outline: none;
  font-weight: 400;
}

#secondary ul.child-sidebar-menu>li>a {
  font-weight: 600;
}

#secondary ul.child-sidebar-menu li a:hover {
  text-decoration: none;
  color: #fff;
  background-color: #0061ac;
}

#secondary ul.child-sidebar-menu li.current_page_item>a {
  font-weight: 700;
  color: #fff;
  background-color: #0061ac;
}

p {
  font-weight: normal;
}

#page {
  border-top: 0 !important;
}

p#breadcrumbs {
  font-size: 12px;
}

body.ferry-wp-page header.entry-header h1 {
  padding-bottom: 0;
}

body.ferry-wp-page header.entry-header {
  margin-bottom: 20px;
}

.main-navigation ul li.current-page-ancestor a {
  background-color: #0061AC;
  color: #ffffff;
}

#site-navigation-sticky-wrapper .menu-primary-container {
  z-index: 1000;
}

.mBot0 {
  margin-bottom: 0;
}

.mBot0 h3 {
  padding-bottom: 0;
}

.main-navigation a {
  padding: 12px 14px;
}

#header-logo-image img {
  max-height: 80px;
}

.inner-wrap {
  max-width: 1200px;
}

#colophon {
  --footer-brand-blue: #0061ac;
  --footer-brand-blue-dark: #003264;
  --footer-brand-blue-deep: #002448;
  --footer-text: #f2f8ff;
}

.footer-widgets-wrapper {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--footer-brand-blue) 0%, #005696 52%, var(--footer-brand-blue-dark) 100%) !important;
  border-top: 0;
  padding: 28px 0 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.footer-widgets-wrapper::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -140px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.footer-widgets-area p {
  color: var(--footer-text);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-align: center;
}

.footer-widgets-area .widget-title,
.footer-widgets-area h3.widget-title {
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.015em;
}

.footer-widgets-area a {
  color: var(--footer-text);
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-widgets-area a:hover {
  color: #fff !important;
  text-decoration-color: rgba(255, 255, 255, 0.95);
}

.footer-widgets-area .textwidget .announcement {
  margin: 16px auto 0;
  max-width: 680px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 24px rgba(0, 22, 46, 0.18);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: #fff !important;
  text-align: center;
}

#colophon .widget ul li {
  border: 0;
  margin-bottom: 8px;
  font-weight: 400;
  line-height: 1.55;
}

#colophon .widget ul li:last-child {
  margin-bottom: 0;
}

#colophon .widget {
  padding-bottom: 20px;
}

#colophon .widget> :last-child {
  margin-bottom: 0;
}

.footer-socket-wrapper .copyright {
  margin: 0;
  color: var(--footer-text);
  font-size: 0.95rem;
}

.footer-socket-wrapper .copyright a {
  color: #fff;
  font-weight: 600;
}

.footer-socket-wrapper {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, var(--footer-brand-blue-dark) 0%, var(--footer-brand-blue-deep) 100%);
}

#cfc_footer_contact {
  text-align: center;
}

#cfc_footer_contact .footer_social {
  font-size: 26px;
}

#cfc_footer_contact .footer_social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 6px;
  border-radius: 999px;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#cfc_footer_contact .footer_social a:hover {
  color: #fff;
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

@media screen and (max-width: 767px) {
  #cfc_footer_contact {
    text-align: center;
  }

  .footer-widgets-wrapper {
    padding: 22px 0 10px;
  }

  .footer-widgets-area .textwidget .announcement {
    padding: 12px 14px;
  }

  #colophon .widget {
    padding-bottom: 16px;
  }

  .footer-widgets-area .widget-title,
  .footer-widgets-area h3.widget-title {
    margin-bottom: 8px;
  }

  #cfc_footer_contact .footer_social a {
    width: 40px;
    height: 40px;
    margin: 0 4px;
  }
}

@media screen and (max-width: 768px) {
  .wpml-ls-legacy-list-horizontal {
    padding: 0;
  }
}




#header-right-section .widget {
  text-align: left;
}

/* WPML language switcher in header */
#header-right-sidebar {
  overflow: visible;
}

#header-right-section .wpml-ls-item-legacy-dropdown-click {
  position: relative;
  text-align: left;
}

#header-right-section .wpml-ls-item-toggle,
#header-right-section .wpml-ls-link {
  text-align: left;
}



#header-right-section .wpml-ls-sub-menu {

  z-index: 9999;
}

#header-right-section .wpml-ls-sub-menu>li {
  display: block;
  width: 100%;
  float: none;
  clear: both;
}


.wpml-ls img {
  margin-bottom: 0;
}

.wpml-ls-legacy-dropdown-click a {
  padding: 10px 10px !important;
}

@media screen and (max-width: 768px) {
  #header-right-section .widget {
    padding: 10px 0 0 0;
  }
}

@media screen and (max-width: 768px) {
  #main {
    padding-top: 15px;
  }
}

body.home #main {
  padding-top: 0;
}


body.home .entry-header {
  display: none;
}


body.home #main .hero {
  padding: 300px 15px;
}

body.home #main .hero h2 {
  font-size: 6rem;
  text-align: center;
}

@media screen and (max-width: 768px) {
  body.home #main .hero {
    padding: 0 15px 160px;
  }

  body.home #main .hero h2 {
    font-size: 2.5rem;
  }
}


@media (min-width: 1024px) {
  .advantages-block .icon {
    margin-top: 50px;
  }
}



/* WPForms  */

.bootstrap-select .btn {
  color: #000 !important;
}