:root {
    --oekb-color-primary-font: #404040;
    --oekb-color-secondary-font: #1a1a1a;
    --oekb-color-primary: #004f9e; 
    --oekb-color-blue-button: #407BB6;
    --oekb-color-blue-button-hover: #004F9E;
    --oekb-color-blue-background: #004077; 
    --oekb-color-blue-light: #ebf0f4; 
    --oekb-color-green: #20693e;
    --oekb-color-green-light: #669900;
    --oekb-color-orange: #f39200;
}

#ef-navigation > li > a {
	color: rgb(64, 64, 64) !important;
}

div#ef-description > #ef-description-short {
	display: none !important;
}
div#ef-description > #ef-description-full {
	display: block !important;
}

div.ef-course-description > div#ef-description > button.more-less-link {
  display: none !important;
}

html,
body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #404040;
}

body {
    background: transparent url('/assets/images/oekb-wissen.jpg') no-repeat 0 0;
    background-size: cover;
}

a,
a:link,
a:visited,
a:hover,
a:active,
.btn-link,
.btn-link:hover,
.ef-anchor-like, 
.ef-anchor-like:hover, 
a.link, 
a.link:hover {
    color: var(--oekb-color-primary);
}

h1, 
h2,
h3 {
    color: #1a1a1a;
}

.btn {
    border-radius: 0;
}

.btn-info,
*.btn.btn-primary, 
.btn.btn-primary,
*.btn.btn-primary:not(.active), 
.btn.btn-success,
.btn-default {
    color: #fff !important;
    border-color: var(--oekb-color-blue-button) !important;
    background-color: var(--oekb-color-blue-button) !important;
    box-shadow: none;
    padding: 6px 10px !important;
    font-size: 14px !important;
}

.btn-info:hover,
*.btn.btn-primary:hover, 
*.btn.btn-primary:hover:not(.active), 
*.btn.btn-primary:focus, 
*.btn.btn-primary:focus:not(.active),
.btn.btn-success:hover,
.btn-default.active,
.btn-default.active:focus,
.btn-default.active:hover,
.btn-default:focus,
.btn-default:hover {
    color: #fff !important;
    border-color: var(--oekb-color-blue-button-hover) !important;
    background-color: var(--oekb-color-blue-button-hover) !important;
}


hr {
    border-color: rgba(0,0,0,.05);
}

button,
button:focus {
    outline: none;
}

/* Captcha */
.frc-captcha {
    background-color: transparent !important;
    border: 0 !important;
}

html:not(.popup) body:not(.ef-user-signed-in) #ef-index-page .frc-captcha button.frc-button {
    background-color: #fff !important;
    color: #000 !important;
}

.frc-captcha > * {
	color: black !important;
}

/* Block container */
div.ef-block {
    border-radius: 0;
    box-shadow: none;
}

/* Logo */
#ef-navbar .container .navbar-header .ef-navbar-logo img,
#ef-navbar .container .navbar-header {
    max-width: 370px;
}

/* Header - Breadcrumb */
.breadcrumb-x {
    box-shadow: none;
    border-bottom: 3px solid var(--oekb-color-primary) !important;
}

.breadcrumb-x ol.ef-breadcrumb {
    padding-left: 0;
}

/* Header - Search input */
#ef-navbar form.navbar-form #searchDiv {
    background-color: #ebf0f4;
}

/* Header - Navbar buttons */
#ef-navbar .container ul.nav.navbar-nav > li > button,
#ef-navbar .container ul.nav.navbar-nav > li > button:hover {
    color: #404040;
}

/* Header - Navbar alphatar  */
.img-thumbnail {
    background-color: #004077 !important;
    box-shadow: none !important;
}

/* Header - Dropdowns */
#ef-navbar .container ul.nav.navbar-nav li.open .dropdown-toggle,
#ef-navbar .container ul.nav.navbar-nav li .dropdown-toggle + ul.dropdown-menu,
#ef-navbar .container ul.nav.navbar-nav ul.dropdown-menu li a ~ ul.dropdown-menu,
#ef-navbar .container ul.nav.navbar-nav > li.user-preferences ul.dropdown-menu:after {
    background-color: #004077;
}

#ef-navbar .container ul.nav.navbar-nav li#user-roles a.ef-switch-account span.fa {
    color: rgba(255,255,255,.1);
}

#ef-navbar .container ul.nav.navbar-nav ul.dropdown-menu li.divider,
#ef-navbar .container ul.nav.navbar-nav ul.dropdown-menu > li > a:hover {
    background-color: rgba(255,255,255,.1);
}

#ef-navbar .container ul.nav.navbar-nav li#communication ul.dropdown-menu li.content {
    border-color: rgba(255,255,255,.1);
}

#ef-navbar .container ul.nav.navbar-nav ul.dropdown-menu > li a.dropdown-item, 
#ef-navbar .container ul.nav.navbar-nav ul.dropdown-menu > li *.dropdown-text,
#ef-navbar .container ul.nav.navbar-nav > li.open > button, 
#ef-navbar .container ul.nav.navbar-nav > li.open > button:hover {
    color: #fff;
}

/* Alerts */
.alert.alert-warning {
    background-color: var(--oekb-color-primary) !important;
}

.alert.alert-warning a {
    color: #fff !important;
}

.ef-new-feature-alert,
.alert-info {
    color: #fff;
    background-color: var(--oekb-color-primary) !important;
    border-color: var(--oekb-color-primary) !important;
}

.ef-new-feature-alert button[type=button].close,
.ef-new-feature-alert a {
    color: #fff !important;
}

.alert-warning hr,
.alert-info hr {
  border-top-color: #fff;
}

/* Login */

html:not(.popup) body:not(.ef-user-signed-in) div.ef-block {
    background-color: rgba(0, 79, 158,.8) !important;
}

#ef-login-index .ef-login-with.ef-saml-login,
#ef-login-index .ef-block-footer {
    display: none !important;
}

#ef-login-index header {
    padding: 15px 35px 0;
}

#ef-login-index header * {
    color: #fff;
}

#ef-login-index .signup-slogan {
    padding: 5px 0 0 0;
    display: flex;
    gap: 10px;
}

#ef-login-index .signup-slogan > p,
#ef-login-index .info > div {
    flex: 1;
}

/*
#ef-login-index .signup-slogan::before {
    content: '';
    background: transparent url('/assets/images/signup-edit.svg') no-repeat center 0;
    width: 30px;
    height: 25px;
    background-size: contain;
    margin: 4px 0 0 0;
}
*/

#ef-login-index .info::before {
    content: '';
    background: transparent url('/assets/images/oekb-info.svg') no-repeat center bottom;
    width: 30px;
    height: 35px;
    background-size: contain;
    margin: 14px 0 0 0;
}

#ef-login-index .signup-slogan * {
    font-size: 14px;
    color: #fff;
}

#ef-login-index header h3 {
    font-size: 28px;
}

#ef-login-index header p {
    font-size: 16px;
    line-height: 140%;
}

#ef-login-index div.ef-block-content form {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

#ef-login-index div.ef-block-content form > div {
    width: 50%;
    max-width: none !important;
}

#signup_register_personal_form legend {
    font-size: 25px;
}

@media(max-width: 767px) {
    #ef-login-index div.ef-block-content form {
        flex-wrap: wrap;
    }

    #ef-login-index div.ef-block-content form > div {
        width: 100%;
        margin: 0 !important;
    }

    #ef-login-index .signup-slogan {
        margin: 0 0 15px 0;
    }

    #ef-login-index .column-info {
        padding: 0 15px;
    }
}

#ef-login-index .info {
    display: flex;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    align-items: center;
}

#ef-login-index .column-info {
    margin: 15px 0 0 30px;
}

#ef-login-index .info .fa-info {
    font-size: 36px;
    width: 30px;
    text-align: center;
}

#ef-login-index .info a {
    color: #fff;
}

#ef-login-index .info p {
    margin: 0;
}

html:not(.popup) body:not(.ef-user-signed-in) #ef-index-page label,
#ef-index-page #forgot-passwd,
html:not(.popup) body:not(.ef-user-signed-in) #ef-index-page :not(input),
html:not(.popup) body:not(.ef-user-signed-in) #ef-index-page .help-block.ef-error-block {
    color: #fff !important;
}

html:not(.popup) body:not(.ef-user-signed-in) #ef-index-page .form-control.selectize-input.items .item,
html:not(.popup) body:not(.ef-user-signed-in) #ef-index-page .selectize-dropdown .option {
    color: #333 !important;
}

html:not(.popup) body:not(.ef-user-signed-in) #ef-index-page .input-group-addon:last-child {
    background-color: #fff;
}

html:not(.popup) body:not(.ef-user-signed-in) #ef-index-page .input-group-addon:last-child > i {
    color: #333 !important;
}


/* Courses */
*.progress .progress-bar.progress-bar-success {
    background-color: #669900;
}

.ef-unit-tree .ef-unit-link.passed, 
.ef-unit-tree .ef-unit-link.passed:hover, 
.ef-unit-tree .ef-unit-link.passed:link, 
.ef-unit-tree .ef-unit-link.passed:active, 
.ef-unit-tree .ef-unit-link.passed:visited {
    color: #669900 !important;
}

.ef-unit-tree .active-content:before {
    background: #669900;
}

.ef-my-courses-controls .ef-my-courses-toggle-view.active,
.ef-unit-tree .ef-entry-head span.ef-entry-name a:hover {
    color: var(--oekb-color-primary) !important;
}

.ef-dashboard-header .ef-course-name h1 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
}

.ef-dashboard-header h2.course-content-heading {
    font-weight: 700;
}

.ef-unit-tree ul > li.ef-courses-list-item.lesson-entry:nth-child(odd) {
    background-color: transparent;
}

/* Course - Test */
.ef-question-indicator .ef-question-indicator-current {
    background-color: var(--oekb-color-primary) !important;
    border: 2px solid transparent !important;
    color: #fff;
}

.ef-question-indicator .ef-question-indicator-done {
    background-color: var(--oekb-color-primary) !important;
    border: 2px solid transparent !important;
    color: #fff !important;
    opacity: .5;
}

.ef-question-indicator .ef-question-indicator-incomplete {
    background-color: #fff !important;
    border: 2px solid transparent !important;
}

.panel-primary > .panel-heading {
    background-color: #004077;
    border-color: #004077;
}


/* Course grid */
.ef-card-entries .ef-card .ef-card-wrap {
    border-radius: 2px;
    box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 15%);
}

.ef-card-entries .ef-card .ef-card-wrap:hover {
    box-shadow: none;
}

.ef-card-entries .ef-card .ef-card-wrap div.caption {
    background-color: #fff;
}

.ef-card-entries .ef-card .ef-card-wrap div.caption .ef-plain.ef-header {
    font-size: 20px;
    line-height: 120% !important;
    max-height: 70px;
}

.ef-card-entries .ef-card .ef-card-wrap div.caption .ef-plain.ef-header a {
    color: #404040 !important;
}

.ef-card-entries .ef-card .ef-card-wrap div.caption .ef-plain.ef-header a:hover {
    text-decoration: none;
}

.ef-card-entries .ef-card .ef-card-wrap div.caption .ef-plain.ef-header::after {
    content: "";
    background-color: #004077;
    display: block;
    width: 20%;
    height: 4px;
    margin-top: 10px;
    transition: width .3s linear 0s;
}

.ef-card-entries .ef-card .ef-card-wrap div.caption .ef-plain.ef-header:hover::after {
    width: 100%;
}

div.ef-my-courses.ef-my-courses-grid div.ef-block div.ef-block-content div.ef-course-card div.caption div.ef-entry-status div.ef-my-courses-progress-bar,
.ef-my-courses ul li .ef-my-courses-progress-bar,
*.progress {
    border-radius: 0;
}

*.progress .progress-bar > .progress-bar-content {
    display: none;
}

/* Course list */
.ef-courses-list {
    background-color: #fff;
}

.ef-my-courses .ef-courses-list ul li.ef-my-courses-category > div.ef-entry-head,
.ef-my-courses .ef-courses-list ul li.ef-my-courses-category > div.ef-entry-head:hover {
    background-color: #fff;
    border-bottom: 4px solid #f39200;
}

.ef-my-courses .ef-courses-list ul li.ef-my-courses-category ul li.ef-my-courses-category > div.ef-entry-head,
.ef-my-courses .ef-courses-list ul li.ef-my-courses-category ul li.ef-my-courses-category > div.ef-entry-head:hover {
    background-color: #fff;
    border-bottom: 4px solid #669900; 
}

.ef-my-courses ul li.ef-my-courses-category > div.ef-entry-head .ef-expand-collapse-handle,
.ef-my-courses ul li.ef-my-courses-category > div.ef-entry-head span.ef-entry-name, 
.ef-my-courses ul li.ef-my-courses-category > div.ef-entry-head span.ef-entry-name:hover, 
.ef-my-courses ul li.ef-my-courses-category > div.ef-entry-head span.ef-entry-name a.ef-entry-link {
    color: #404040;
}

.ef-my-courses .ef-courses-list div.ef-entry-head span.ef-entry-name a:hover {
    color: var(--oekb-color-primary);   
}

.ef-my-courses .ef-courses-list ul li.ef-my-courses-category {
    background: none;
}

.ef-unit-tree li.ef-courses-list-item:not(.lesson-entry),
.ef-my-courses .ef-courses-list ul li.ef-my-courses-category ul li,
.ef-unit-tree .lesson-entry:nth-child(odd):not(:last-child) > ul > .unit-entry:last-child {
    border-color: rgba(0,0,0,.08);
}

.ef-my-courses ul li.ef-my-courses-category > ul > li div.ef-entry-head:hover {
    background-color: rgba(0,0,0,.1);
}

.ef-my-courses ul li.ef-my-courses-category > ul > li:nth-child(2n+2) {
    background-color: rgba(0,0,0,.02);
}

.ef-my-courses .ef-courses-list ul li.ef-my-courses-category ul li:first-child {
    border-top: 0;
}

/**
 * Form 
*/

.form-control,
.input-group-addon {
    border-radius: 0;
}


/* Admin - Component tiles */
div.ef-block table.iconTable td.iconData:hover {
    background-color: rgba(0, 64, 119,.05);
}

/* Admin - Dashboard panels */
div.dashboard-panel .panel div.panel-body {
    background-color: #fff;
}

div.dashboard-panel .panel {
    border: 1px solid rgba(0,0,0,.03);
}

/* Admin - Navigation sliders */
ul.tabulizedList > li.tabulizedElement.selected > a:not(:first-child):after {
    border-color: var(--oekb-color-primary);
}

#slider {
    background: var(--oekb-color-primary);
}

div.tabs-ruler hr,
div.tabs-ruler-special > hr {
    display: none;
}

ul.tabulizedList > li.tabulizedElement.selected > a:not(:first-child) {
    color: var(--oekb-color-primary);
}

/* Admin - Course stats, Preview box, Panel */
.ef-dashboard-header .ef-preview-box-course-stats,
.ef-preview-box,
.ef-preview-box-mini {
	background-color: #fff;
    border: 0;
}

.ef-dashboard-header .ef-preview-box-course-stats .ef-info-text {
    margin-top: 0;
    padding: 5px 0 15px 0;
}

.ef-dashboard-header .ef-preview-box-course-stats .ef-info-header {
	margin-top: 20px;
}

.ef-preview-box {
    padding-bottom: 10px;
}

.panel {
    box-shadow: none;
    border-radius: 0;
}

.colored-info {
    color: rgba(0,0,0,.7);
}

/* Admin - Nav pills */
.nav-pills > li.active > a, 
.nav-pills > li.active > a:focus, 
.nav-pills > li.active > a:hover {
    background-color: var(--oekb-color-primary);
}

/* Admin - Table */
table:not(.iconTable) {
    background: rgba(255,255,255,.8);
}
.sortedTable tr.oddRowColor {
    background-color: rgba(0,0,0,.02);
}

.sortedTable tr.evenRowColor:hover,
.sortedTable tr.oddRowColor:hover {
    background: rgba(0,0,0,.05);
}

/* Admin - Chart */
[fill="#67b7dc"] {
    fill: var(--oekb-color-primary) !important;
}

[stroke="#67b7dc"] {
    stroke: var(--oekb-color-primary) !important;
}

[fill="#009688"] {
    fill: grey !important;
}

[stroke="#009688"] {
    stroke: grey !important;
}

/* DO NOT ADD/EDIT AFTER THIS LINE */
#ef-navbar, #ef-navbar li a.dropdown-toggle[aria-expanded="true"]{background-color:#FFFFFF;border-color:#FFFFFF;}
html,body{background-color:#FFFFFF;}
div.breadcrumb-x{background-color:#FFFFFF;}
div.dashboard-panel div.panel-body{background-color:#EBF0F4;}
