
body {
    font-size: 1rem;
}

.limit-max-width {
    max-width: 800px;
}

#footer .list-group a .footerIcon, #footer .list-group button .footerIcon {
    width: 50px;
    text-align: center;
    font-size: 18px;
}


.value_list p {
    margin: 0;
}

.table-nonfluid {
    width: auto !important;
}

.column-fit {
    width: 1%;
    white-space: nowrap;
}

.multi-line-label > p {
    margin: 0;
}

@media (min-width: 768px) {
    .rwth-data-entry:nth-child(3n + 4) {
        page-break-before: always; /* FF33 */
    }
}

/*******************************************************
*       index box
*******************************************************/

.index-row {
    display: flex;
    flex-direction: column;
}

.index-box {
    display: flex;
    align-items: stretch;
    margin-bottom: 1rem;
    border : 1px solid #8ebae5;
    flex-direction: row;
    flex: 1 1 0px;
}

.index-box__icon-side {
    display: flex;
}

.index-box__icon_wrapper {
    background-color: #8ebae5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 73px;
    color: white;
    width: 150px;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.index-box-arrow-right {
    width: 0;
    height: 0;
    border-top: 10px solid transparent !important;
    border-bottom: 10px solid transparent !important;

    border-left: 14px solid #8ebae5;
    margin-top: auto;
    margin-bottom: auto;
}

.index-box-uneven {
    margin-left: 0px !important;
}

@media (min-width: 1024px) {
    .index-row {
        flex-direction: row;
    }

    .index-row > .index-box:first-child {
        margin-right: 5px;
    }

    .index-row > .index-box:last-child {
        margin-left: 5px;
    }

    .index-box.index-box-reverse {
        flex-direction: row-reverse;
    }

    .index-box.index-box-reverse .index-box__icon-side {
        flex-direction: row-reverse;
    }

    .index-box.index-box-reverse .index-box-arrow-right {
        transform: rotate(180deg)
    }

    .index-box-uneven {
        margin-right: 0px !important;
    }
}

/*******************************************************
*       Info box / different breaking behavior
*******************************************************/

.info-box {
    border : 1px solid #8ebae5;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.info-box__left {
    padding: 0;
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
}

.exclamation-wrapper {
    background-color: #8ebae5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 73px;
    color: white;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.icon-exclamation-point {
    font-size: 3.5rem;
}

.arrow-left {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;

    border-bottom: 14px solid #8ebae5;
    margin-left: auto;
    margin-right: auto;
}

.danger-box .arrow-left {
    border-bottom-color: #E10066;
}

.arrow-right {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;

    border-top: 14px solid #8ebae5;
    margin-left: auto;
    margin-right: auto;
}

.danger-box .arrow-right {
    border-top-color: #E10066;
}

@media (min-width: 768px) {
    .info-box {
        flex-direction: row;
    }

    .info-box__left {
        padding-right: 1.5rem;
        flex-direction: row;
    }

    .info-box__right {
        padding-left: 1.5rem;
        flex-direction: row;
    }

    .exclamation-wrapper {
        width: 97px;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .icon-exclamation-point {
        font-size: 5.5rem;
    }

    .arrow-left {
        border-top: 10px solid transparent !important;
        border-bottom: 10px solid transparent;

        border-right: 14px solid #8ebae5;
        margin-top: auto;
        margin-bottom: auto;
    }

    .danger-box .arrow-left {
        border-right-color: #E10066;
    }

    .arrow-right {
        border-top: 10px solid transparent !important;
        border-bottom: 10px solid transparent;

        border-left: 14px solid #8ebae5;
        margin-top: auto;
        margin-bottom: auto;
    }

    .danger-box .arrow-right {
        border-left-color: #E10066;
    }
}

.danger-box {
    border : 1px solid #E10066;
}

.danger-box .exclamation-wrapper {
    background-color: #E10066 !important;
}

/*******************************************************
*       Info box ENDE
*******************************************************/

.pencil {
    font-size: 2rem;
    position: absolute;
    bottom: -5px;
    right: -27px;
}

.edit-pencil {
    position: absolute;
    right: -57px;
    font-size: 5rem;
}

.field-eye {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
}

/*******************************************************
*       Template Warning
*******************************************************/

@media (min-width: 768px) {
    .rss-wrapper {
        margin-top: -53px;
    }
}

@media (min-width: 1024px) {
    .rss-wrapper {
        margin-top: -88px;
    }
}

@media (min-width: 1289px) {
    .rss-wrapper {
        margin-top: -71px;
    }
}

/*******************************************************
*       Tooltip container DEPRECATED PLS USE THE BOOTSTRAP ONE
*******************************************************/

.rwthtooltip {
    position: relative;
    text-align: left;
    display: inline-block;

}

.rwthtooltip img {
    font-size: 1.4rem;
    height: 35px;
    width: 35px;
}

.tooltip-big {
    font-size: 2.5rem;
    height: 50px;
    width: 50px;
}

.rwthtooltip .rwthtooltiptext {
    position: absolute;
    display: none;
    visibility: hidden;
    width: 300px;
    background-color: #ffffff;
    color: #000;
    text-align: center;
    border-radius: 6px;
    padding: 5px;

    z-index: 6;
    bottom: 42px;

    margin-left: 12px;
    transform: translateX(-50%);
    -webkit-box-shadow: 0 6px 30px -9px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0 6px 30px -9px rgba(0, 0, 0, 0.75);
    box-shadow: 0 6px 30px -9px rgba(0, 0, 0, 0.75);
}

.rwthtooltip .rwthtooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

/* Show the rwthtooltip text when you mouse over the rwthtooltip container */
.rwthtooltip:hover .rwthtooltiptext {
    visibility: visible;
    display: block;
    transition-delay: 500ms;
}

/*******************************************************
*       Side menu
*******************************************************/

menu {
    overflow-y: auto !important;
}

menu #menu-body .list-group-item.sub-menu-element {
    padding-left: 65px;
}

/*******************************************************
*       Back button
*******************************************************/

.mobile-back-button {
    position: fixed;
    top: 58px;
    right: 40px;
    z-index: 2000;
    font-size: 1.5rem;
    background-color: white;
    padding: 1rem;
    padding-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-back-button {
        position: fixed;
        top: 79px;
        right: 70px;
        z-index: 2000;
        font-size: 1.5rem;
        background-color: #ededed;
        padding: 1rem;
        padding-bottom: 1rem !important;
    }
}

@media (min-width: 1024px) {
    .mobile-back-button {
        display: none;
    }
}

/*******************************************************
*       Tabbed menu
*******************************************************/

.tabmenu {
    margin-left: -50px;
    padding-left: 50px;
    margin-right: -50px;
    padding-right: 50px;
    padding-top: 0px;
    margin-top: -70px;
    display: flex;
    flex-direction: column;
    /*     flex-wrap: nowrap; */
}

.tabmenu .nav-item {
    margin-bottom: 1px;
    flex-grow: 1;
    white-space:nowrap;
}

.tabmenu .nav-item .nav-link {
    font-size: 0.9rem;
    text-transform: initial;
    padding: 12px 50px 12px 40px;
}

.tabmenu .nav-item:last-of-type {
    margin-bottom: 0px;
}

.tabmenu .nav-item:last-of-type .nav-link {
    border-radius: 0 0 0 0;
}

html body main .content-sidemenu {
    padding: 210px 35px 20px 35px;
}

@media (min-width: 768px) {

    html body main .content-sidemenu {
        padding: 210px 70px 20px 70px;
    }

    .tabmenu {
        margin-top: -50px;
        flex-direction: row;
    }

    .tabmenu .nav-item {
        margin-bottom: 0px;
        margin-right: 1px;
        flex: 1 1 0px
    }

    .tabmenu .nav-item:nth-child(3) {
        page-break-after: always;
        /*break-after: always;*/
        margin-bottom: 1px;
    }

    .tabmenu .nav-item .nav-link {
        padding: 12px 50px 12px 20px;
    }

}

@media (min-width: 1024px) {

    .tabmenu {
        margin-top: -53px;
    }

    html body main .content-sidemenu {
        padding: 130px 50px 20px;
    }

}

@media (min-width: 1343px) {

    .tabmenu {
        margin-top: -13px;
    }

    tabmenu .nav-item {
        flex: auto;
    }

    .tabmenu .nav-item:nth-child(3) {
        page-break-after: unset;
        break-after: unset;
        margin-bottom: 0px;
    }

    .tabmenu .nav-item:last-of-type .nav-link {
        border-radius: 0 10px 0 0;
    }
}


/*******************************************************
*       Wicket - FeedbackPanel
*******************************************************/

main.app-content ul.feedbackPanel {
    margin: 0 0 1rem 0;
    padding: 0;
    font-size: 1rem;
}
.rss-h-element{
    font-size: 1.5rem;
}

main.app-content ul.feedbackPanel li {
    list-style-type: none;
}

[class^="feedbackPanel"] {
    padding: 0.5rem 1rem;
    color: white;
}

[class^="feedbackPanel"] a {
    color: white !important;
}

[class^="feedbackPanel"] a:hover {
    text-decoration: underline !important;
}

[class^="feedbackPanel"] a:visited {
    color: #cfcfcf !important;
}

@media (min-width: 768px) {
    [class^="feedbackPanel"] {
        padding: 0.5rem 2rem;
    }
}

.feedbackPanelERROR {
    background: #E10066;
}

.feedbackPanelINFO {
    background-color: var(--rwth-blue);
}

.feedbackPanelSUCCESS {
    background: #2098A0;
}

.feedbackPanelWARNING{
    color:#665200;
    background-color:#fff5cc;
}
.feedbackPanelWARNING a {
    color: #665200 !important;
}
.feedbackPanelWARNING a:visited {
    color: #960 !important;
}


[class^="feedbackPanel"]:first-child {
    padding-top: 1rem !important;
}

[class^="feedbackPanel"]:last-child {
    padding-bottom: 1rem !important;
}

/******** Ende Wicket - FeedbackPanel *****************/

/*******************************************************
*       Wicket - AutoCompleteTextField
*******************************************************/

div.wicket-aa-container {
    border-width: 1px;
    border-left-width: 5px;
    border-color: #cccccc;
    border-style: solid;
}

div.wicket-aa {
    /*font-family: "Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana;
    font-size: 12px;*/
    background-color: white;
    padding: 2px;
    padding-top: 0.25rem;
    text-align: left;
}

div.wicket-aa ul li.selected {
    background-color: #e8f1fa;
    padding: 2px;
    margin:0;
}



/******** Ende Wicket - AutoCompleteTextField *****************/

/*********************************************************
/*            Icon path redirect
+*********************************************************/

a.externerlink {
    background-image: url(../logos/externerlink.gif);
    background-position: left;
    background-repeat: no-repeat;
    padding-left: 16px
}

a.word {
    background-image: url(../logos/word_icon.gif);
    background-position: right;
    background-repeat: no-repeat;
    padding-right: 20px
}

a.ppoint {
    background-image: url(../logos/ppt_icon.gif);
    background-position: right;
    background-repeat: no-repeat;
    padding-right: 20px
}

a.zip {
    background-image: url(../logos/zip_icon.gif);
    background-position: right;
    background-repeat: no-repeat;
    padding-right: 20px
}

a.audio {
    background-image: url(../logos/audio_icon.gif);
    background-position: right;
    background-repeat: no-repeat;
    padding-right: 20px
}

a.video {
    background-image: url(../logos/video_icon.gif);
    background-position: right;
    background-repeat: no-repeat;
    padding-right: 20px
}


main.app-content li.pfeil {
    list-style-image: url(../logos/pfeil_r.gif)
}

menu #closeMenu .menu-close-button {
    color: white;
}

@media (max-width: 768px) {
    html body main #menu-icon {
        background-color: white;
        height: 85px;
        padding-top: 25px;
        top: 39px;
    }
}


/*********************************************************
*            Bootstrap Overwrites
+*********************************************************/

.btn {
    margin: 0;
    border-radius: 0;
}

menu .blue-top-div {
    background-color: white;
    border-bottom: none;
}

menu .blue-top-div:hover {
    background-color: white;
    border-bottom: none;
}


/*********************************************************
*            Date Picker
+*********************************************************/


.yui-skin-sam {
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
}

.yui-skin-sam img {
    height: 100%;
    right: 8px;
    position: absolute;
    transform: scale(0.6);
}

.yui-skin-sam > * {
    pointer-events: all;
}

.debug-bar {
    position: fixed;
    top: 0px;
    left: 50%;
}