/*
 Theme Name:   smartsteuer Child
 Theme URI:    https://www.smartsteuer.de
 Description:  smartsteuer Child Theme
 Author:       Holger Koenemann
 Author URI:   http://www.holgerkoenemann.de
 Version:      0.2.0
 License:      Commercial
*/

body {
    min-width: 320px;
}

/** Footer Cookie Settings **/

.smde-footer-cookie-settings {
    background-color: #232934;
    text-align: center;
    font-size: 0.8rem;
    padding: 8px;
}

.smde-footer-cookie-settings a:link,
.smde-footer-cookie-settings a:visited {
    color: rgba(255, 255, 255, 0.7);
}

/*** Searchform ***/

.searchform {
    max-width: 550px;
    display: flex;
    margin: 0 auto;
}

.searchform input[type=text] {
    min-width: 80px;
    flex-grow: 1;
    height: 45px;
    border: 2px solid #9cceec;
    border-radius: 99px;
    box-shadow: 0 2px 4px rgba(9, 134, 208, 0.1);
    padding: 0 12px;
    box-sizing: border-box;
    color: #03314d;
    font-size: 16px;
    font-weight: 600;
    transition: .12s;
}

.searchform input[type=text]:focus {
    border-color: #0986d0;
    outline: none;
}

.searchform label {
    display: none;
}

/*** "Das Wichtigste in Kürze" Box ***/

.summary-box {
    position: relative;
    background-color: #EFF8FF;
}

.summary-box ul {
    padding-inline-start: 20px;
}

.summary-box ul > li {
    padding-bottom: 1rem;
}

.summary-box ul > li:last-child {
    padding-bottom: 0;
}

.summary-box i {
    position: absolute;
    left: 50%;
    font-size: 2.3rem;
    transform: translate(-50%, -81px);
    border: 16px solid #ffffff;
    background: #ffffff;
    border-radius: 99px;
    color: #0986D0;
}

@media screen and (max-width: 767px) {
    .summary-box i {
        font-size: 2.1rem;
        transform: translate(-50%, -78px);
        border: 14px solid #ffffff;
    }
}

/*** TABLE OF CONTENTS PLUS PLUGIN ***/

#toc_container {
    background: none !important;
    border: none !important;
    padding: 0;
}

#toc_container li {
    padding: 4px 0;
    font-weight: bold;
    font-size: 1.2rem !important;
}

#toc_container ul.toc_list > li > ul li > a {
    font-size: 90%;
    font-weight: 500;
}

/*** Steuerwissen template ***/

.steuerwissen-bio img {
    width: 200px;
    border-radius: 999px !important;
}

.steuerwissen-bio h2 {
    font-weight: 500;
}

@media screen and (max-width: 547px) {
    .steuerwissen-bio img {
        width: 140px;
    }
}

/*** Back-to-top-button ***/

#back-to-top-button {
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 48px;
    right: 24px;
    bottom: 24px;
    z-index: 1;
    background: #0986D0;
    border-radius: 999px;
    text-decoration: none;
    font-size: 2.2rem;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(10, 60, 90, 0.25);
}

@media screen and (min-width: 1287px) {
    #back-to-top-button {
        height: 56px;
        width: 56px;
        right: 36px;
        bottom: 36px;
    }
}

#back-to-top-button i {
    position: relative;
    top: -1px;
}

/*** Notification bar ***/

#smde-notification-bar a:hover {
    text-decoration: none;
}

.smde-notification-bar-wrapper {
    display: block;
    padding: 11px 0;
}

.smde-notification-bar-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.smde-notification-bar-stichtag-counter {
    display: flex;
    font-weight: bold;
}

.smde-notification-bar-stichtag-counter > div {
    margin-right: 10px;
}

.smde-notification-bar-stichtag-counter > div::after {
    content: "Tage";
    margin-left: 5px;
}

.smde-notification-bar-stichtag-counter > div:nth-child(2)::after {
    content: "Std.";
}

.smde-notification-bar-stichtag-counter > div:nth-child(3)::after {
    content: "Min.";
}

.smde-notification-bar-stichtag-counter > div:nth-child(4)::after {
    content: "Sek.";
}

.smde-notification-bar-stichtag-counter > div:nth-child(4) {
    margin-right: 0;
}

/* Styles for soon-to-be-deprecated components. Should be removed once we can */

@media (min-width: 576px) {
    .card-deck .card {
        flex: 1;
    }
}

.service-world-old.nav {
    background: none;
    border: none;
}

.service-world-old .sui-btn {
    margin: 0.25rem;
}

.service-world-old .nav-link:hover {
    border: none;
}

.service-world-old-content .sui-btn-outline.bg-white:hover {
    color: inherit !important;
}

.old-features.nav {
    border: none !important;
}

.old-features .nav-link, .old-features .nav-link.active {
    border: none !important;
    box-shadow: none !important;
}

.old-features .nav-link.active h3 {
    font-weight: 600 !important;
}

.old-features .nav-link:hover {
    border: none;
    color: inherit;
}
