/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
    background-image: url("/static/img/bg_pattern.png") !important;

}

.bonares-body {
    margin: 0;
    padding: 0;
    background: #ededed;
    background: url("/static/img/geometric_pattern.png");
    background-position: right top, right bottom;
    background-repeat: repeat-y;
}

b {
    font-weight: 550 !important;
}

h2 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: #333;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333333;
}

h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

h5 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

h6 {
    font-size: 1rem;
    margin-bottom: 4px;
    margin-top: 6px;
}

.bonares-label {
    font-weight: 520 !important;
}

table, th {
    min-height: 50px !important;
    color: #333;
    font-weight: normal;
}

.verticalLine {
    border-left: thick solid #333333;
}

th {
    font-weight: 600;
}

.btn-link2 {
    color: #1679a4;
}


.bonares-link {
    color: #1679a4;
    text-decoration: none;
    background-color: transparent;
}

.bonares-btn-primary {
    color: #fff !important;
    background-color: #1679a4 !important;
}

/*  Navigation link in top navigation bar */
.bcd-nav-link {
    color: #333333;
    margin-right: 23px;
}

.bcd-nav-link .active {
    color: #1679a4;
}

.bcd-nav-link-signup {
    color: #337ab7;
    text-decoration: none;

}

/* navigation links in the footer */
.bcd-footer-nav-link {
    color: #333333;
    /*margin-right:30px;*/
}

.bcd-footer-nav-item .active {
    color: #1679a4 !important;
}

.bcd-footer-nav-item {
    margin-right: 30px;
}

/* Add an icon for every external link starting with http */
a[href^="http://"], a[href^="https://"] {
    background: url("/static/img/icon_external_link.png") center right no-repeat;
    padding-right: 13px;

}

/* Remove external link icon for specific urls */
a[href^="https://www.bmbf.de/"],
a[href^="https://www.bonares.de"],
a[href^="https://www.bonares.de/imprint"],
a[href^="https://www.bonares.de/privacypolicy"],
a[href^="https://www.bonares.de/contact"],
a[href^="https://newsletter.bonares.de/home"],
a[href^="https://maps.bonares.de/mapapps/account/login/?lang=en"],
a[href^="https://maps.bonares.de/mapapps/resources/apps/bonares/index.html?lang=en"],
a[href^="https://lte.bonares.de"],
a[href^="https://tools.bonares.de/agredit"],
a[href^="https://datenzentrum.bonares.de/research-data.php"],
a[href^="https://twitter.com/BonaRes4u"],
a[href^="https://nextcloud.bonares.de"] {
    background: none;
    padding-right: 0 !important;
}



.navbar {
    background-image: url("/static/img/bg_pattern.png"), url("/static/img/geometric_pattern.png");
    background-position: left top, right bottom;
    background-repeat: repeat, no-repeat;
    border-bottom-width: 1px;
    background-color: transparent !important;
    border-color: transparent !important;
    font-family: 'Titillium Web', sans-serif;
    opacity: .9;
    z-index: 99;
    height: 105px !important;
    /*line-height: 70px;*/
}

.navbar-fixed-top, .navbar-fixed-bottom {
    right: 0;
    left: 0;
}

.navbar-brand {
    color: #333333 !important;
    font-size: 26px !important;
}


a:hover {
    text-decoration: none !important;
}

.card-header {
    background-color: #f7f7f7 !important;
    color: #333333 !important;
    font-size: 1.15em;
    font-weight: 550;

}

.table .thead-dark th {
    color: #fff;
    background-color: #4d4d4d;
    border-color: #4d4d4d;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #dddddd;
}

/* ------------------------------------------------------------------------------*/

.bcd-banner-wrapper.research_data {
    background-image: url("/static/img/researchData.jpg");
    background-repeat: repeat-x;
    padding-top: 50px;
    padding-bottom: 15px;
}


/* Navigation menu ------------------------------------------------ */


/* Normal color of navbar text*/
.navbar-inverse .navbar-nav > li > a {
    margin-top: 35px;
    color: #4d4d4e; /* Normal text color */
    padding-top: 8px; /* Defines indirectly height of menu */
    padding-bottom: 8px; /* Defines indirectly height of menu */
    padding-left: 25px; /* width of menu items */
    padding-right: 25px; /* width of menu items */
    margin-right: 10px; /* Space between menu items */
    background-color: #eeeeee;
}

/* Hover menu item */
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {

    background-color: #ccc !important;
}

.navbar-inverse .navbar-nav > .active > a {
    color: #2ba2db;
    font-size: 16px;
}

/* Active menu item*/
.navbar-inverse .navbar-nav >
.active > a, .navbar-inverse
.navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav >
.active > a:focus {
    background-image: none !important;
    color: #ffffff !important; /* Active text color */
    background-color: #24a3de !important;
    box-shadow: none !important;
}


/* Login in sidebar */
.input-group .form-control {
    margin: 5px;
}

.form-group {
    /* margin-bottom: 1.5rem !important;*/
}


.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

.btn-primary {
    background-color: #1679a4;
    background-image: none;
    text-shadow: none !important;
    border: none !important;

}


.btn-outline-primary {
    color: #1679a4;
    border-color: #1679a4;
}

.asteriskField {
    color: #ff0000;
}

/* Footer ------------------------------------------------ */

.footer {
    clear: both;
    position: relative;
    z-index: 99;
    min-height: 200px;
    background-image: url("/static/img/footer-back.png");
    background-position: bottom center;
    background-repeat: no-repeat;
    background-color: #fff;
    margin-top: 15px
}

.bcd-footer ul li {
    list-style: none;
}


.twitter-wrapper {
    position: relative;
    height: 33px;
    width: 33px;
    padding-left: 0;
    padding-top: 0px;
    margin-top: 2px;
    margin-left: 5px;
    background: url("/static/img/twitter.png") no-repeat !important;
    padding-right: 30px !important;
    padding-top: 5px !important;
    background-position: 0 0;
}


.inner-wrapper {
    width: 1140px;
    margin: 0 auto;
    margin-top: 0px;
    position: relative;
}


.panel-default > .panel-heading {
    background-image: none;
    background-color: #1679a4;
    color: #fff;

}

.panel-info > .panel-heading {
    background-image: none;
    background-color: #777;
    color: #fff;

}

.panel-info {
    border-color: #ddd;
}


legend {
    margin-left: 5px !important;
    margin-top: 20px !important;
    padding-bottom: 5px !important;
    color: #1679a4;
    font-size: 16px;
}

/* BonaRes left or right navigation boxes */
.research-tile-wrapper {
    clear: both;
}

.research-tile {
    position: relative;
    padding: 10px 20px;
    clear: both;
    width: 100%;
    /* margin-bottom:20px;*/
}

.research-tile-body {
    float: left;
    width: 100%;
    margin-top: 30px;
    /*margin-bottom:15px;*/
    min-height: 40px;
    height: auto
}

.research-tile-content {
    clear: both;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    background: #f7f7f7;
    border-bottom: 1px solid #fff
}

.research-tile-content a {
    color: #333
}

.research-tile-content a:hover {
    color: #fff
}

.research-tile-content:hover {
    background: #2E9766;
    color: #fff
}

.research-tile-content:hover a {
    background: #2E9766;
    color: #fff
}

.research-portal-color {
    background-color: rgb(255, 255, 255);
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-attachment: scroll;
    background-image: none;
    background-size: auto;
    background-origin: padding-box;
    background-clip: border-box;
}

.research-tile-header {
    font-family: 'Titillium Web' sans-serif;
    font-size: 22px;
    color: #4d4d4e
}

.research-tile-footer {
    font-family: 'Titillium Web' sans-serif;
    font-size: 16px;
    width: 100%;
    color: #4d4d4e
}

.project-portal-side-list-wrap {
    margin-top: 10px
}

.project-portal-side-list-wrap .project-portal-side-list {
    display: block;
    width: 100%;
    margin-bottom: 1px;
    background: #f7f7f7;
    min-height: 40px;
    text-decoration: none;
    color: #333;
    font-size: 16px
}

.project-portal-side-list-wrap .project-portal-side-list a {
    background: #f7f7f7;
    /*background:#f7f7f7 url("/static/img/arrow.png") 96% 50% no-repeat;*/
    min-height: 40px;
    display: block;
    width: 100%;
    padding: 10px 10px 10px 10px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    cursor: pointer
}

.project-portal-side-list-wrap .project-portal-side-list a:hover {
    background: #379f86 url("/static/img/arrow.png") 96% 50% no-repeat;
    color: #fff
}

/* ############################################################################*/
/* DOI Manager style for side menu */
/* ############################################################################*/

.doi-banner-wrapper.project_header {
    background-image: url("/static/img/projectHeader.jpg");
    background-repeat: repeat-x;
    padding-top: 60px;
    /*padding-bottom: 30px;*/
}

.doi-project-portal-side-list-wrap {
    margin-top: 30px
}

.doi-project-portal-side-list-wrap .doi-project-portal-side-list {
    display: block;
    width: 100%;
    margin-bottom: 1px;
    background: #f7f7f7;
    min-height: 40px;
    text-decoration: none;
    color: #333;
    font-size: 16px
}

.doi-project-portal-side-list-wrap .doi-project-portal-side-list a {
    background: #f7f7f7;
    background: #f7f7f7 url("/static/img/arrow.png") 96% 50% no-repeat;
    min-height: 40px;
    display: block;
    width: 100%;
    padding: 10px 20px 10px 10px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    cursor: pointer
}

.doi-project-portal-side-list-wrap .doi-project-portal-side-list a:hover {
    background: #2ba2db url("/static/img/arrow.png") 96% 50% no-repeat !important;
    color: #fff
}

.doi-cite-link {
    font-size: 16px;
    color: #333333 !important;
    margin-right: 30px;
}

.doi-cite-link .active .show {
    color: #337ab7 !important;

}

.doi-tab-pane {
    margin-top: 10px !important;
    /*border: solid 1px #ddd !important;*/
    padding: 5px !important;
    background-color: #fff !important;
}

.doi-tab-content {
    margin-top: 15px;
}

.doi-nav-pills .doi-cite-link.active, .doinav-pills .show > .doi-cite-link {
    color: #fff !important;
    background-color: #bbb !important;
    padding: 5px;
    margin-bottom: 10px;

}

.doi-table-plain tbody tr,
.doi-table-plain tbody tr:hover,
.doi-table-plain tbody td {
    background-color: transparent;
    border: none;
    padding: 0.2rem;
}


/* ############################################################################*/
/* end of DOI Manager styles */
/* ############################################################################*/


.checkbox {
    margin-left: 10px;
    font-weight: normal !important;
}

.bonares-radio {
    margin-left: 10px;
}


/* ------------------------------------------------------------------------------*/

.banner-wrapper.research_header {
    background-image: url("/static/img/researchData.jpg");
    background-repeat: repeat-x;
    padding-top: 60px;
    /*padding-bottom: 30px;*/
}

.inner-main-content-new-wrapper {
    position: relative;
    width: 1266px;
    margin: auto;
}

@media (max-width: 575px) {
    .bcd-nav-link {
        font-size: 10px;
    }
}

@media (min-width: 576px) and (max-width: 921px) {
    .bcd-nav-link {
        font-size: 12px;
    }
}

@media (min-width: 922px) and (max-width: 1399px) {
    .bcd-nav-link {
        font-size: 12px;
    }

    .cs-container {
        width: 87%;
        margin: 0 auto;
    }
}

@media (min-width: 1400px) {
    .bcd-nav-link {
        font-size: 16px;
    }

    .cs-container {
        width: 73%;
        margin: 0 auto;
    }
}

.dropdown-item {
    font-size: 14px !important;
}


.bootstrap-select {
    background-color: #fff;
    color: #000;
    border-color: #999;
}
.dropdown-header {
    color: #54B4E2 !important;       /* Project, Service color: #5BBFC4 */
    font-weight: bold;
}
.btn-light:hover {
    color: #212529;
    background-color: #fff;         /* old: #e2e6ea;   */
    border-color: #dae0e5;
}

.card.services-overview {
    background-color: #f7f7f7 !important;
    box-shadow: none;
    border: none;
}

.service-icon {
    font-size: 36px;
    color: #47A44B;
    margin-top: 15px;
}

.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem
}
.badge-pill {
  padding-right: 0.6em;
  padding-left: 0.6em;
  color: #7f7f7f;
  background-color: #fff;
  border-style: solid;
  border-width: thin;
  border-color: #7f7f7f;
  /*cursor: help !important;*/
}

/* Here some overrides, so that the project selection box in the signup form wont look deactivated */
/* Fix for issue https://github.com/zalf-rdm/bonares-toolbox/issues/251 */
.bootstrap-select>.dropdown-toggle.bs-placeholder,
.bootstrap-select>.dropdown-toggle.bs-placeholder:active,
.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,
.bootstrap-select>.dropdown-toggle.bs-placeholder:hover {
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
}
.btn-light {
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
}


/* The switch - the box around the slider */

.switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 34px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2E9766;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(55px);
    -ms-transform: translateX(55px);
    transform: translateX(55px);
}


/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/*------ forms ---------*/

.on {
    display: none;
}

.on, .off {
    color: white;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    font-size: 10px;
    font-family: Verdana, sans-serif;
}

input:checked+.slider .on {
    display: block;
}

input:checked+.slider .off {
    display: none;
}

/* language switch */
.language-wrapper {
    float: left;
    padding-top: 6px;
    padding-right: 60px;
    padding-left: 30px;
}

.de_en {
    font-family: 'Titillium Web',sans-serif;
  float: left;
  padding-right: 5px;
  font-size: 14px;
}
.en_de {
    font-family: 'Titillium Web',sans-serif;
  float: right;
  padding-left: 7px;
  font-size: 14px;
}
.language-wrapper .active {
  color: #2ba2db;
}
.language-wrapper .language-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 17px;
}
.language-wrapper .language-switch input {
  display: none;
}
.language-slider {
  position: absolute;
  cursor: pointer;
  top: 3px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #28a3db;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.language-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 0px;
  bottom: -4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  box-shadow: 0 0 5px grey;
}
input:checked + .language-slider {
  background-color: #28a3db;
}
input:focus + .language-slider {
  box-shadow: 0 0 1px #2196F3;
}
input:checked + .language-slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
/* Rounded sliders */
.language-slider.round {
  border-radius: 34px;
}
.language-slider.round:before {
  border-radius: 50%;
}

/* --- Start Fixed Table in app_user_registration/administration */
.table th,
.table td {
  padding: 0.2rem;    /* orig 0.75 */
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}
/*  Fixed Table Header */
.table-fixed thead{
    width: 100%;
}
.table-fixed tbody{
    height: 700px;
    overflow-y: auto;
    width: 100%;
}
/* makes scrollbars */
.table-fixed thead,
.table-fixed tbody,
.table-fixed tr,
.table-fixed td,
.table-fixed th{
    display: block;
}
/* delimitation between row */
.table-fixed tr:after{
    content: "";
    display: block;
    visibility: hidden;
    clear: both;
}
.table-fixed tbody td,
.table-fixed thead > tr > th{
    float: left;
}
.table-fixed th,
.table-fixed td{
    padding: 0.2rem;
}
.table-fixed {
    border-left: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}
/* --- End of Fixed Table in user_registration/administration   */
