/* Scrollbar-Styles */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #28384b; }
::-webkit-scrollbar-thumb:hover { background: #1b2836; }

/* ================== Standard ================== */

body { font-family:'Open Sans', sans-serif !important; font-size:17px !important; letter-spacing:0.25px; line-height:1.6; }

a { color:#4375b4 !important; }
a:hover { color:#28384b !important; }

h1, h2, h3 { font-family:'Karma', serif !important; font-weight:500 !important; }
h1 { font-size:36px !important; border-bottom:none !important; margin-bottom:70px !important; padding-bottom:0 !important; margin-top:5px !important; }
h1:after { content:''; left:15px; margin-top:50px; border-bottom:1px solid #000; width:50px; position:absolute; }
h2 { font-size:30px !important; border-bottom:none !important; margin-bottom:15px !important; padding-bottom:0 !important; margin-top:0; }
.entry-content h2 { font-family:'Open Sans', sans-serif !important; font-size:24px !important; font-weight:600 !important; border-bottom:none !important; margin-bottom:20px !important; padding-bottom:0 !important; margin-top:50px; }


.widget h3 { font-size:24px !important; border-bottom:none !important; padding-bottom:0 !important; }
.widget .fas, .widget .fab { color:#4375b4 !important; }


.site-content p { padding-bottom:15px !important; margin-bottom:5px !important; }
.site-content ul { padding-bottom:15px; margin-bottom:0; }
.site-content li { padding-bottom:15px; margin-bottom:0; }

/* ================== Menu ================== */

#menu-topmenu { display:inline-block; }
#menu-topmenu li { float:left; display:inline; width:50px; }
#menu-topmenu li a { border-bottom:15px solid #fff; writing-mode:vertical-rl !important; transform:rotate(180deg) !important; float:left; width:50px; display:inline; height:215px; font-size:16px; text-indent:15px; text-transform:uppercase; font-weight:500; letter-spacing:0.5px; padding:0 14px; margin-right:1px;  }

#menu-topmenu-1 { display:table; width:100%; }
#menu-topmenu-1 li { float:left; display:table; width:calc(100% / 7 - 1px); }
#menu-topmenu-1 li a { width:100%; border-bottom:15px solid #fff; writing-mode:vertical-rl !important; transform:rotate(180deg) !important; float:left; display:table; height:200px; font-size:14px; text-indent:15px; text-transform:uppercase; font-weight:500; letter-spacing:0.5px; padding:0 25%; vertical-align:middle; }
@media screen and (max-width: 992px) {
  .header .widget_nav_menu { margin-bottom:0px !important; bottom:0; margin-top:15px; margin-left:auto; margin-right:auto; width:100% !important; }
}

.bg-mainnav { background:#28384b !important; margin-top:0; z-index:15; position:relative; }
.navbar-nav a { color:#fff !important; padding-left:20px !important; padding-right:20px !important; font-weight:400 !important; font-size:16px !important; }
.navbar-nav a:hover { background:#3d5260 !important; }

/* ================== Overrides ================== */

.container { max-width:1200px !important; } 

ul.dropdown-menu { min-width:220px !important; }
.dropdown-menu { padding:0 !important; margin:-1px 0 0 0 !important; min-width:300px; }
.dropdown-menu { color:#333 !important; }
.dropdown-menu .nav-item a { color:#333; }

#masthead { background:#fff !important; box-shadow:none !important; padding-left:0 !important; padding-right:0px !important; }
header .widget { margin-bottom:0 !important; }

.smallhead { height:110px; overflow:hidden; }

.navbar-brand img { margin-top:200px; margin-bottom:15px; }

.widget { margin-bottom: 3.5rem !important; font-size:17px !important; }

@media screen and (max-width: 768px) {
  .widget { margin-top:30px !important; }
}


.header { }
.header .widget_nav_menu { margin-bottom:0px !important; position:relative; bottom:-6px; margin-top:15px; margin-left:auto; margin-right:auto; width:357px; }
.header .headimage { position:absolute; bottom:5px; max-height:300px; right:0; }
.header .logo { position:absolute; bottom:75px;}
.header .logo img { width:285px;}
.logo-mobile { margin-top:15px; }
.logo-mobile img { max-width:185px; }
.header .header-search { position: absolute; bottom:25px; width:100%; }
.header .header-search input { border-top:none !important; border-left:none !important; border-right:none !important; }
.header .header-search .fas { color:#fff !important; }

.teaser { background-size:cover !important; background-position:center center !important; height:300px; width:100%; }
@media screen and (max-width: 768px) {
  .teaser { margin-top:15px; height:200px; }
}

.footer { font-size:14px; color:#fff; }
.footer p { padding:0 !important; margin:5px 0 0 0 !important; color:#fff; }
.footer a { color:#fff !important; }
.footer a:hover { color:#cecece !important; background:transparent !important; }
.footer .widget { margin:0 !important; text-align:right; }
.footer .nav { display:unset !important; }
.footer .flex-column { flex-direction:unset !important; }
.footer #menu-footermenu ul { display:inline; list-style-type:none; text-align:right; }
.footer #menu-footermenu li { display:inline; list-style-type:none; text-align:right; }
.footer #menu-footermenu .nav-link { display:inline !important; font-size:14px; text-align:right; margin:0 !important; }
.footer #menu-footermenu li:after { content:"|"; }
.footer #menu-footermenu li:last-child:after { content:none; }

@media screen and (min-width: 769px) {
  section.widget { margin:0 auto !important; }
}


.wp-caption {
    background: #fff !important;
    border: 1px solid #cecece  !important;
    max-width: 100% !important;
    padding:15px !important;
    text-align: left !important;
}
.wp-caption .wp-caption-text { text-align:left; font-size:14px !important; }

#slb_viewer_wrap .slb_theme_slb_default .slb_data_title, #slb_viewer_wrap .slb_theme_slb_default .slb_group_status { font-family:'Open Sans', sans-serif !important; font-size:20px !important; ; }

.img-priorities { margin:0px !important; padding:0px !important; }
.alignnone { margin-left:0 !important; margin-right:0 !important; }
.figure-img { width:100%; margin-bottom:0 !important; height:90px; }
.figure-caption { padding:5px 10px; text-align:center; color:#28384b; font-weight:600; font-size:17px !important; }
.home .entry-content figure { margin:1em 0 !important; }
/*.entry-content figure { margin:0 0 25px 25px !important; } */

.categories-index { padding:0 !important; }
.home .wp-caption { padding:0 !important; border:none !important; }

label { width:100%; }
input.form-control { border-radius:0 !important; }
.acceptance-952 { font-size:12px !important; }

.cli-plugin-button, .cli-plugin-button:visited { color:#ffffff !important; }
.cli-plugin-button:hover { color:#ffffff !important; }

a.arrow-right { padding:10px 20px; background:#28384b !important; color:#fff !important; }
a.arrow-right:hover{ background:#1b2836 !important; color:#fff !important; text-decoration:none; }

.responsive_map {
height: 0;
overflow: hidden;
padding-bottom: 56%;
position: relative;
}

.responsive_map iframe {
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}

.nomargin { margin-left:-15px !important; margin-right:-15px !important; }

.kanzlei-mitarbeiter { margin-bottom:30px; border-bottom:1px solid #cecece; padding-bottom:30px; }
.kanzlei-mitarbeiter-content .position { font-style:italic; }
.kanzlei-mitarbeiter-content ul { padding-left:20px; }
.kanzlei-mitarbeiter-content li { margin-bottom:3px; }
.kanzlei-mitarbeiter-content h3 { margin-bottom:0 !important; }
.kanzlei-mitarbeiter-image { position:relative; margin:30px auto; text-align:center; }
.kanzlei-mitarbeiter-image img { position:relative; height:350px; width:360px; object-fit:cover; max-width:100%; max-height:100%; border:1px solid #cecece; }

.kontaktbox { margin:0 0 50px 0; }
@media screen and (max-width: 768px) {
  .kontaktbox { padding-top:30px; padding-bottom:20px; margin:0; text-align:center; border-bottom:1px solid #cecece; }
  .kontaktbox:last-child { padding-top:30px; padding-bottom:20px; margin:0; text-align:center; border-bottom:0; }
}

section.bewertungen::before { background:#cecece; position:relative; width:100%; height:100%; content:""; }
@media screen and (max-width: 992px) {
  .ti-widget.ti-goog .ti-controls { display:block !important; top:110% !important; }
}

.bild-text-block-widget-image { margin-bottom:30px; }

.widget_archive ul { margin:0; }
.widget_archive a.nav-link { margin:0; padding:0 !important; }