/*
       * Base structure
       */

/* Move down content because we have a fixed navbar that is 70px tall */
body {
    padding-top: 70px;
}

/*
* Global add-ons
*/

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/*
* Top navigation
* Hide default border to remove 1px line.
*/
.navbar.navbar-fixed-top {
    box-shadow: 0 0 5px 0 #aaa;
    border: none;
    background-color: white;
    background-image: none;
}

/*
* Sidebar
*/
.sidebar {
        position: fixed;
        top: 70px;
        bottom: 0;
        left: 0;
        z-index: 1040;
        display: block;
        padding: 0px 20px 20px 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color:  #f6f6f6;
        width: 300px;
        font-size: 16px;
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 5px !important;
    /*padding-top: 5px !important;*/
}

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #9d9d9c;
}


/*blue bar for active menu entry*/
.nav-sidebar > li.active > a::before {
    content: '';
    position: absolute;
    background-color: #006699;
    height: 100%;
    width: 2em;
    bottom: 0;
    left: -1.3em;
}


/*
* Main content
*/
#main {
    padding: 20px;
}

#content {
    /* sticky footer calculation*/
    min-height: calc(100vh - 150px);
}

/*avoid horizontzal scroll bar caused by negative margin of the container*/
#firstRow {
    margin-left: 0;
    margin-right: 0;
}

#main .page-header {
    margin-top: 0;
}

#contentContainer{
    margin-top: 5vh;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: 5vw;
    margin-left: 5vw;
}


/*left top blue corner*/
div .navbar-header {
    width: 285px; /*same width as the sidebar menu (=300px), minus 16 px to make it look as wide as the login area below it*/
    background-color: #006699;
}

.navbar-header .navbar-brand {
    width: 191px;
    text-align: center;
    height: 70px;
    padding: 25px 15px;
}

#logo-fixed {
    /*height: 8vh;*/
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2000;
}

#logo-fixed .navbar-brand {
    padding:10px;
}

#logo-fixed img {
    max-height: 85px !important;
}

#headerLinkList {
    margin-right: 90px;
}

#headerLinkList li a {
    /*  css properties to center the header links vertically */
    padding: 0 15px;
    line-height: 70px;
    color: #006699 !important;
}


#headerLinkList li > a > u {
    /*   prevents thin underline from user agent stylesheet*/
    text-decoration: none;
}

#headerLinkList li > a > u.visibleUnderline {
    text-decoration: none;
    border-bottom: 5px solid #006699;
}


#logInLiElement {
    height: 70px; /*same as blue corner above the login*/
    background-color:  #373737;
;
}

#loggedInArea {
    height: 70px;
    position: relative;
    display: block;
    padding: 10px 15px;
    background-color: #373737;
}


a[name="tuHeaderLink"] {
    font-size: 1.2em;
    font-weight: bold;
}

#languageToggle {
    margin-top: 1.8em;
    margin-left: 2em;
}


#footer {
    height: 70px;
}

#footerContent {
    height: inherit;
    margin-bottom: 0px;
    background-color: #ededed;
    z-index: 100;
    background-image: none;
}

#footerContainer {
    /*   width of sidebar menu + 20 px*/
    margin-left: 320px !important;
    margin-right: 0;
}

a[name="footerLink"] {
    color: #777 !important;
}

a[name="hiddenLanguageLink"] {
    display: none;
}


#homePageHeading {
    font-weight: bolder;
    margin-top: 0;
}

#homeNewsText {
    margin-bottom: 20px;
}

#homeLink {
    color: white !important;
    background-color: #069;
    font-weight: bolder;
    font-size: 2em;
    border-right: 1px solid #3284ad;
}

#searchglobalprocessor {
    margin-left: -45px;
    padding: 65px 37.5px 65px 75px;
    height: 200px;
    width: calc(100% + 90px);
    background: url(bib_ffw.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position-x: calc(67% + 105px);
    margin-top: -30px;
    box-shadow: 0 0 5px 0 #aaa;
}

#update-form input {
    margin: 5px 0;
}


#red-box {
    position: relative;
    height:75px;
    background-color: #E31E2F;
    width: 60%;
}
#searchInputGroup {
    padding: 10px;
}


#searchInputGroup .form-control {
	height: 55px;
	font-size: 18px;
    border: 0px solid transparent;
}


#searchInputGroup #searchButton {
    background-image: none;
    background-color: transparent;
    border: none;
    box-shadow: none;
    color: white;
    font-size: 24px;
    height: 55px;
    width: 55px;
    padding-right: -10px;
}

#searchInputGroup div.input-group-btn.search-panel button {
    height: 55px;
    font-size: 18px;
}

#red-box::after {
	content: ' ';
	position: absolute;
	left: 100%;
	top: 0%;
	width: 0px;
	height: 0px;
	border-top: 37.5px solid transparent;
	border-bottom: 37.5px solid transparent;
	border-left: 24px solid #E31E2F;
	clear: both;
}

#languageSwitch {
    background-color: #006699;
    height: 5vh;
}


#homeAnLanguageSwitch {
    background-color: #006699;
    height: 5vh;
}

#homeAnLanguageSwitchContent {
    background-color: #006699;
    margin-top: 1vh;
    margin-left: 1vw;
}

#repositumlogo {
    color: white;
    background-color: #006699;

}

#biblogo {
    margin-top: 10px;
}

#bibbanner {
    width: 200px;
    height: 100px;
}


#homeButton {
    margin-left: 1vw;
    font-weight: bold;
    color: #fff;
    font-size: x-large;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    float: left;
}

.text-title-gray {
    color: #676767;
    font-size: 1.2rem;
    line-height: 1.46;
}


#homeTextContainer {
    margin-left: 2vw;
    margin-top: 2vh;
}

#series-list {
    min-height: 20px;
    margin-bottom: 40px;
    border-radius: 0px;
    box-shadow: inset 0 0px 1px rgba(0,0,0,0.05);
}

/*!* search results and facets *!*/
#p.pagination {
    display: none;
}
#export-biblio-panel {
    padding: 5px 8px;
}
.discovery-result-results {
    clear: both;
}
.discovery-result-results .table > tbody > tr > td:first-child {
    padding-left: 0;
}

.discovery-result-results .panel.panel-info {
    border: none;
    box-shadow: none;
}

.tu-facets-box .facetsBox .panel {
    border: none;
    box-shadow: none;
}

.facetsBox .panel .list-group-item {
    background: transparent;
}

.tu-facets-box {
    background-color: #f6f6f6;
}

/******* logIn **************/
#loginNameSpan{
    max-width: 145px;
    overflow-x: visible;
    color: white;
    font-weight: bold;
}

.fit {
    display: inline-block;
    white-space: nowrap;
}

#nameContainer{
    float:left;
    max-width: 145px;
    margin-left: 10px;
    margin-top: 10px;
}

a[name="loginMenuLink"] {
    color: black;
}

a[name="loginMenuLink"]:hover, a[name="loginMenuLink"]:focus {
    text-decoration: none;
    color: black;
    background-color: #ddd;
}

#loginArrowButton {
    border: none;
    width: 50px;
    height: 50px;
    outline: none;
    background: none;
    display: inline-block;
    float: right;
}

#notLoggedInArrow {
    margin-left: 160px;
}

#loggedInArrow {
    color: white;
}

#loginAnchor {
    position: absolute;
    top: 15px;
    color: white !important;
}

#logOutIcon {
    color: black;
}

/*removes the bootstrap hover effect from the login link*/
#loginAnchor:hover {
    background-color: transparent;
}


.popover.loginPopOver {
    margin-left: -80px;
    margin-top: -1vh !important;
}

.popover.loginPopOver .arrow {
    left: 85% !important;
}


/****** Login circle with initials ******************/
[data-letters]:before {
    content: attr(data-letters);
    display: inline-block;
    font-size: 1em;
    width: 3em;
    height: 3em;
    line-height: 3em;
    text-align: center;
    border-radius: 50%;
    background: #006699;
    vertical-align: middle;
/*    margin-right: 1em;*/
    color: white;
    font-weight: bold;
}

#nameDisplay {
    color: white;
    font-weight: bold;
    float: left;
}


/*Sidemenu*/
#menuMarginDiv {
    margin-top: 30px;
}

a[name="subMenuEntryLink"] {
    padding-left: 25px !important;
}

a[name="menuHeading"] {
    font-weight: bold;
}

li[name="menuHeading"] {
    margin-top: 15px;
}

li[name="adminMenuEntry"] {
    padding-left: 10px !important;
}


/****** Bootstrap link overrides ********/
ul.nav.nav-sidebar li a, ul.nav.nav-sidebar li a:visited {
    color:  #373737 !important;
}

ul.nav.nav-sidebar li a:hover, ul.nav.nav-sidebar li a:active {
    color: black !important;
}

ul.nav.nav-sidebar li.active a {
    color: white !important;
}


button[name="linkButton"] {
    background-color: #006699;
    border: none;
    color: white;
    width: 100%;
    height: 100%;
    min-height: 100px;
}

div[name="linkButtonText"] {
    font-weight: bold;
    position: absolute;
    top: 1vh;
    /*left: 3vh;*/
    padding-left: 1vh;
}

#repositumLink{
    padding: 20px;
    margin-bottom: 20px;
    background-color: #d0d0d0;
}

#linkUnderDescription{
    margin-top: 5px;
}

/*faq page*/
#faqHeading {
    font-family: Arial, Verdana;
    font-weight: 800;
    font-size: 2.5rem;
    color: #091f2f;
    text-transform: uppercase;
}


.accordion-section .panel-default > .panel-heading {
    border: 0;
    background: #f4f4f4;
    padding: 0;
}
.accordion-section .panel-default .panel-title a {
    display: block;
    font-style: italic;
    font-size: 1.5rem;
}
.accordion-section .panel-default .panel-title a:after {
    font-family: 'FontAwesome';
    font-style: normal;
    font-size: 3rem;
    content: "\f106";
    color: #1f7de2;
    float: right;
    margin-top: -12px;
}
.accordion-section .panel-default .panel-title a.collapsed:after {
    content: "\f107";
}
.accordion-section .panel-default .panel-body {
    font-size: 1.2rem;
}



/*AcademicPress page*/
#academicPressInfoText{
    margin-bottom: 2vh;
}

div[name="academicPressText"]{
    color: #646363;
}

.license-warning {
    display: none;
    margin-bottom: 5px !important;
}

.ccQuestion {
    margin-bottom: 20px;
}

#ccSection{
    display: none;
    margin-top: 30px;
}

#chosen-licence {
    display: none;
}

/* Leos Multilanguage-support hack */
html [lang="en"] { display: none; }
html[lang="en"] [lang="en"] { display: unset; }
html[lang="en"] [lang="de"] { display: none; }

.itemDisplayTable .title {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    font-weight: 600;
}

.itemDisplayTable tr.title td.metadataFieldLabel {
    padding: 8px !important;
}

.itemDisplayTable td, .itemDisplayTable th {
    padding-left: 0 !important;
}

/* Mindestgröße für Kontaktinfos */
.col-md-3 .panel.panel-primary {
    min-width: 185px;
}

/* Linksbündig ohne Einzug */
#accordion .informationHeader, .faqHeader {
    margin-left: 0 !important;
}

/* Ausgeblendetes Menü in der Sidebar immer ausgeblendet */
.sidebar .nav-sidebar .dropdown.hidden-md.hidden-lg {
    display: none;
}

#repositumSearchBox{
    margin-bottom: 3em;
}

/* Abstand unter dem Item - wenn Media-Badges darunter sind */
#wrapperDisplayItem {
    margin-bottom: 1em;
}

#collapseOneseriesdetails .dynaField,
#collapseOneseriesdetails .dynaField div {
    min-width: unset !important;
}

#researcher .nav-tabs > li.active > a:hover,
#researcher .nav-tabs > li.active > a:focus {
    border: 1px solid #006699;
    color: #006699;
}
#researcher .ui-state-hover {
    border: none;
    background: unset;
    font-weight: unset;
}
#researcher {
    margin-top: 5px;
}

/*Submission progress bar*/
.submitProgressButtonCurrent.btn{
    color: black;
    background-color: white;
    opacity: 1 !important;
    font-weight: bold;
    border-color: #ccc;
    border-style: solid;
    border-width: 1px 1px 0px 1px;
}

.submitProgressButtonDone.btn{
    color: #006699;
    background-color: #E1E1E1;
    font-weight: bold;
    border-color: #ccc;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
}

.submitProgressButtonNotDone.btn{
    color:#9D9D9D;
    font-weight: bold;
    border-color: #ccc;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
}

#verify_file_button{
    white-space: break-spaces;
}

[data-thumbnail_type="withFrame"] {
    box-shadow: 0px 0px 1px 0 #aaa;
}

[data-button-type="secondary"] {
    border: 1px solid #006699!important;
    color: #006699!important;
    background-color: #ffffff!important;
    box-shadow: 0 0 0 1px #006699 inset!important;
}


#resumable-upload-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#uploadFileHeadingSection {
    margin-bottom: 30px;
}

#uploadButtonsContainer {
    display: flex;
    justify-content: space-around;
}

#uploadButtonsContainer input {
    margin-left: 2px;
    margin-right: 2px;
    flex-grow: 1;
}

#uploadFileMainRow {
    margin-top: 4vh;
}

#uploadFileButtonRow {
    margin-bottom: 2vh;
}

#embargoRow {
    margin-bottom: 2vh;
}

[data-isSimpleUploadPart] {
    display: none;
}


[data-isIconButtonBlue] {
    color: #006699;
    border:none;
    background-color: transparent;
}

#submit_own{
    border: none;
    background-color: transparent;
    color: #006699;
    padding: unset;
}

#submit_own:hover {
    text-decoration: underline;
}

.my-dspace-table-header {
    background-color: #f6f6f6;
}

#my-dspace-main-links{
    margin-bottom: 2em;
}


div[name='center-container'] {
    display: flex;
    justify-content: center;
}

#submissionStartButtonsContainer {
    display: flex;
    justify-content: flex-start;
    padding-left: 15px;
}


#submissionStartButtonsContainer button {
    margin-right: 5px;
    margin-left: 5px;
}

@media (max-width: 992px) {
    #submissionStartButtonsContainer {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 130px;
    }

    #submissionStartButtonsContainer button {
        height: 34px;
        width: unset;
    }
}

