/*
basic style resets
 */

aside .box:not(.bild_2010):not(.boxBtnOnly) {
    background: var(--color_logo);
    border: none;
    color: var(--color_bg);
}
aside .box:not(.bild_2010):not(.boxBtnOnly) * {
    color: #fff;
}

aside .box:not(.bild_2010):not(.boxBtnOnly) .calWeek td a {
    background: #fff;
    color: #3b4857;
}
aside .box:not(.bild_2010):not(.boxBtnOnly) .calWeek td.category_11 a {
    background: #fe9132;
    color: #fff;
}

/*.btn:not(.btnIconLeft) {
    background: none;
    color: #3b4857;
    font-weight: 500;
    line-height: 1.333;
}
.boxBtnOnly .btn {
    padding: 7px 40px 7px 15px;
    width: 100%;
}
.btn .icon {
    color: #fe9132;
}
.btn.btnRaised {
    background: #fe9132;
    color: #fff;
    font-weight: 400;
    border-radius: calc(.667em + 5px);
}
.btn.btnRaised .icon {
    color: #fff;
}
.btn:hover {
    color: #d67a11;
}
.btn:hover .icon {
    color: inherit;
}
.btn.btnRaised:hover {
    background: #d67a11;
    color: #fff;
}*/

.gridWrap .articleGrid {
    display: flex;
    flex-direction: column;
}
.articleGrid .wrap {
    border-radius: 5px;
    flex-grow: 1;
}
.articleGrid.shadow .wrap, dl {
    padding: 15px;
    /*background: #fafafa;*/
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.16);
}
.articleGrid.tax_hintergrund-377b8d .wrap {
    box-shadow: none;
    padding: 0;
}

@media only screen and (min-width: 960px) {
    .withAside .user-control .gridWrap .gridWidth_33,
    .user-control .gridWrap .gridWidth_25 {
        width: 50%;
    }
}
@media only screen and (min-width: 1400px) {
    .withAside .user-control .gridWrap .gridWidth_33,
    .user-control .gridWrap .gridWidth_25 {
        width: 33.33%;
    }

    .gridWrap .gridWidth_33 {
        width: 33.33%;
    }
}
@media only screen and (min-width: 1400px) {
    .user-control .gridWrap .gridWidth_25 {
        width: 25%;
    }

    .withAside .user-control .gridWrap .gridWidth_33,
    .user-control .gridWrap .gridWidth_25 {
        width: 25%;
    }
}

.taxFilter {
    background-color: #ebebeb;
    padding: 10px;
    margin-bottom: 2em;
}
dl { margin: 2.5em 0; }
dl dd {
    font-weight: 600;
}
dl dt {
    border-top: 1px solid #ccc;
    padding-top: 5px;
    margin-top: 10px;
}
dl dt:first-child { border: none; }

@media (min-width: 1300px) {
    dl {
        column-count: 2;
    }
}

.articleGrid .actions {
    padding-top: 0.5em;
}
.articleGrid .actions .icon-ok-squared:before {
    color: #fe9132;
}
.articleGrid .actions > span, .articleGrid .actions > a {
    display: inline-block;
    margin-top: 0.5em;
}

.articleGrid.shadow a {
    text-decoration: none;
}

.offline {
    opacity: 0.6;
    transition: all 0.5s ease 0s;
}
.offline:hover {
    opacity: 1;
}

    /*
    specfic styles for user_control
     */
#user_control_header {
    top: 0;
    right: 0;
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    height: 80px;
    left: 102px;
}
#user_control_header > div {
    padding: 0 10px
}
#user_control_header > div:first-child {
    padding-left: 0;
}
#user_control_header > div:last-child {
    padding-right: 0;
}
#user_control_header a {
    text-decoration: none;
}
#user_control_header .label {
    color: #3b4857;
    display: none
}
#user_control_header .user {
    display: none
}
#user_control_header a:hover .label {
    color: inherit;
}
#user_control_header .messagesBtn .icon {
    position: relative;
    margin-right: .5em;
}
#user_control_header .messagesBtn .count {
    position: absolute;
    bottom: -.5em;
    right: -.625em;
    border-radius: 50%;
    line-height: 1;
    background: #3b4857;
    color: #fff;
    font-weight: bold;
    text-align: center;
    width: 1.25em;
    height: 1.25em;
    overflow: hidden;
    padding: .125em 0;
    font-size: .667em;
}

#user_control_aside li {
    padding: 10px 0;
}
#user_control_aside li + li {
    border-top: 1px solid #fff;
}
#user_control_aside a {
    text-decoration: none;
}
#user_control_aside .active {
    font-weight: bold;
    color: #fe9132;
}
#user_control_aside .nav-active-pointer {
    color: #fe9132;
    display: none;
}
#user_control_aside .nav-icon {
    margin-right: 1em;
}

#dashboard .itemList {
    list-style: none;
    margin: 0;
    padding: 0;
}
#dashboard .itemList li + li {
    margin-top: 15px;
}
#dashboard .itemList .itemLine {
    color: inherit;
    text-decoration: none;
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#dashboard .itemList a.itemLine {
    padding-right: 1em;
}
#dashboard .itemList .iconMore {
    position: absolute;
    right: 0;
    top: 50%;
    line-height: 1;
    margin-top: -.5em;
    color: #fe9132;
}
#dashboard .itemList .itemLine > *:not(.icon) + *:not(.icon):before {
    content: ' | ';
    font-weight: 400;
}
#dashboard .itemList .headline {
    font-weight: 500;
}
#dashboard .btn {
    text-align: right;
    display: block;
}
#dashboard .btnWrap {
    justify-content: end;

}
#dashboard .articleGrid {
    flex-grow: 1;
}
#dashboard .downloads {
    margin-top: 0;
    margin-bottom: 0;
}
#dashboard .downloads ul {
    margin-top: -15px;
    margin-bottom: -15px;
    container-type: inline-size;
}
#dashboard .downloads .grids_2 .gridItem {
    width: 100%;
}

.ansprechpartner {
    margin-bottom: 0;
}

.optsContainer + .optsContainer,
.optsContainer + .btnContainer,
fieldset + .btnContainer,
.optsContainer + .optsFieldset,
.form .optsFieldset + .optsFieldset {
    margin-top: 1em;
}

.formContainer {
    display: block;
    font-size: 1em;
    margin: 0.67em 0;
    background-color: #fafafa;
    padding: 0.25em 1em;
}

@container (min-width: 480px) {
    #dashboard .downloads .grids_2 .gridItem {
        width: 50%;
    }
}

@media (min-width: 720px) {
    #user_control_header .user {
        display: block;
    }
    #user_control_header .label {
        display: inline;
    }
}

@media (min-width: 1024px) {
    aside .box.boxBtnOnly,
    aside .box.bild_2010 .imagesInnerWrap {
        padding-right: 15px;
    }

    #user_control_header {
        position: static;
        padding-left: 240px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    #user_control_header .user {
        flex-grow: 1;
    }

    .baseSpacer {
        padding-left: 5%;
        padding-right: 5%;
    }
    aside {
        margin-right: calc((-100% + 30px) * 10 / 180);
    }
}
@media (min-width: 2000px) {
    aside {
        width: 20%;
    }
    aside + #content {
        width: 80%;
    }
}
