/* Add your css code here */
.site-logo {
    max-width: 40rem;
}

#block-rkonf-main-menu,
#main-navigation-inner-h .mobile-nav,
div#main-navigation-h div#main-navigation-inner-h nav#block-rkonf-main-menu ul {
    background: #00ace5;
    color: #FFFFFF;
    cursor: pointer !important;
}

a:focus,
a:hover,
a,
div#main-container-inner li a {
    color: #00ace5;
}

h2.w3-block-title {
    /* border-bottom: 2px #00ace5 solid; */
    background: #ddf1f6;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0px;
    font-size: 1rem;
}

#main-navigation-h li.active,
nav#block-rkonf-main-menu ul li a.is-active,
nav#block-hauptnavigation-3 ul li a.is-active,
nav#block-hauptnavigation-3 ul li.active>a {
    background: #1779ba;
    color: #FFFFFF !important;
}

#main-navigation-h li {
    text-transform: uppercase;
}

nav#block-rkonf-main-menu ul li ul li {
    color: #00ace5;
}

nav#block-hauptnavigation-3 ul li {
    border-top: 1px solid #8D908B;
    width: 100%;
}

nav#block-hauptnavigation-3 ul li.active {
    border: 0px !important;
}

nav#block-hauptnavigation-3 ul li:last-of-type {
    border-bottom: 1px solid #8D908B;
}

nav#block-hauptnavigation-3 ul li ul li:last-of-type {
    border-bottom: 0px;
}

#footer-menu-inner {
    border-top: 1px solid #8D908B;
}

div#main-container-inner .first-sidebar div.d8-fade.w3-sidebar-first.w3-mobile,
.second-sidebar div.d8-fade.w3-sidebar-second.w3-mobile {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.w3-hover-over:hover,
.w3-hover-over:hover,
.w3-button:hover {
    background: #1779ba !important;
    color: #FFFFFF !important;
}

.w3-sidebar-second.w3-mobile .block-block-content div.w3-row.field.field--name-body p {
    margin-top: 0px;
}

h1.page-title,
h1 {
    font-size: 1.3rem;
    padding: 0px;
    margin-top: 0px;
    line-height: 1.3;
}

nav#block-hauptnavigation-3 ul li ul.ul-child {
    display: block;
    position: relative;
    box-shadow: none;
}

nav#block-hauptnavigation-3 ul li ul li a {
    padding-left: 2rem;
}

nav#block-hauptnavigation-3 a {
    white-space: normal;
}

nav#block-hauptnavigation-3 span.dropdown-arrow.w3-hover-over.clickable-dropdown-menu-fa-down {
    display: none
}

.ul-parent li ul.ul-child {
    z-index: unset !important;
}

nav#block-rkonf-main-menu ul li ul.ul-child {
    z-index: 1 !important;
}

.w3-sidebar-second.w3-mobile section {
    margin-bottom: 2rem;

}

section#block-rkonf-wichtigelinks ul {
    margin-top: 0px;
}

body {
    line-height: 1.5;
}

.field--name-field-dateien div.field__items div.w3-bar-item.field__item {
    width: 100%;
    margin-bottom: .25rem;
}

@media (max-width: 992px) {
    #block-hauptnavigation-3 {
        display: none;
    }

    .ul-parent li.li-expanded>span,
    .ul-parent li.li-expanded>a>span {
        padding: 8px 16px;
    }

    div#main-navigation-h div#main-navigation-inner-h nav#block-rkonf-main-menu ul li {

        color: #FFFFFF !important;
        background: #00ace5;
    }
}

.w3-search-block-form .form-item {
    width: 80%;
}

.form-search.w3-input.w3-border {
    border-right: 0px !important;
    box-shadow: none;
}

.w3-search-block-form .form-type-search input {
    border-right: none !important;
    text-indent: 20px;
    background-color: transparent;
}

.w3-search-block-form input {
    width: 100%;
}

.w3-search-block-form .form-actions {
    width: 20%;
}

.search-button-block.form-submit {
    border-left: 0 !important;
}


input.search-button-block,
form#search-form input.button {
    background-image: url('../../../../bildung-z.ch/sites/default/files/arrow2.png');
    box-shadow: none;
}

.w3-search-block-form .form-type-search::before {
    background: none;
}

input.w3-button.search-button-block:hover,
form#search-form input.button:hover {

    background-image: url('../../../../bildung-z.ch/sites/default/files/arrow_hover.png') !important;

    background-color: #e6e9ec !important;
    animation: none !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 16px 16px !important;
}

.main-box.w3css-content a:hover,
.main-box.second-sidebar a:hover {
    border-bottom: 2px solid #00ace5;
}

table thead th {
    text-align: left;
}


table tr td span,
table tr td {
    font-size: .85rem;
    line-height: 1.3;
}

table tr td img {
    margin: .5rem 1rem .5rem 0;
}

div.w3-row.field.field--name-field-bild div {
    margin-right: 0px;
}

div.field--name-field-datum-von,
div.views-field-created,
.views-field-field-datum-von {
    background: #e3e3e3;
    padding: 8px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#block-views-block-veranstaltungen-block-1-2 div.views-field.views-field-field-datum-von>div>time:nth-child(2) {
    display: none;
}

h2 {
    font-size: 1.15rem;
}

.view-veranstaltungen .views-field-title {
    margin-bottom: 2rem;
}

.field__items>div>span:nth-child(2) {
    display: none;
}

fieldset#edit-essen--wrapper.js-webform-buttons {
    margin: 1.5rem 0;
}

fieldset#edit-essen--wrapper legend {
    font-weight: bold;

}

form#webform-submission-anmeldung-zur-fachtagung-2024-add-form label {
    font-size: 1rem !important;
}

input.webform-button--submit {
    float: left;
}

form input.button.form-submit:hover {
    animation: none !important;
}

form#webform-submission-anmeldung-zur-fachtagung-2024-add-form input#edit-actions-submit {
    margin-left: 0px !important;
}

section#block-rkonf-content form {
    margin-bottom: 2rem;
}

section#block-rkonf-content form input#edit-actions-submit {
    margin-left: 0px !important;
    width: 100%;
}

section#block-rkonf-content form#search-form input.button {
    width: 60px;
    float: left !important;
    color: transparent;
    border-left: 0px !important;
    right: inherit;
    animation: none !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 16px 16px !important;
}

section#block-rkonf-content form#search-form input.button:hover {
    color: transparent !important;

}

.w3-search-block-form .form-type-search input {
    text-indent: 0px;
}