:root {
    --color-font-primary: #000;
    --color-primary:  #007A3E;
    --color-custom-secondary: rgba(131, 167, 28, 0.7);
    --color-grey: #9c9b9b;
    --color-red: #ea5355;
    --color-green: #78b93c;

    /* Anchors */
    --anchor-color: var(--color-primary);
    /* Buttons */
    --button-primary-background-color: var(--color-primary);
    --button-primary-background-color-active: #fff;
    --button-primary-border-color: var(--color-primary);
    --button-primary-color: #fff;
    /* Header */
    --header-background-color: #fff;
    /* Header - Search input */
    --search-background-color: var(--color-custom-secondary);
    /* Header - Navbar alphatar */
    --alphatar-background-color: var(--color-primary);
    --alphatar-font-color: #fff;
    /* Header - Navbar dropdown */
    --navbar-dropdown-background-color: #fff;
    --navbar-dropdown-background-color-hover: var(--color-custom-secondary);
    --navbar-dropdown-color: var(--color-font-primary);
    --navbar-dropdown-icon-color: var(--color-font-primary);
    /* Course */
    --progressbar-background-color: var(--color-primary);
    --progressbar-color: #ccc;
    /* Course - Grid */
    --course-grid-title-color: var(--color-font-primary);
    --course-grid-card-background-color: var(--color-custom-secondary);
    /* Course - List */
    --course-list-category-background-color: var(--color-custom-secondary);
    --course-list-lower-category-background-color: var(--color-custom-secondary);
    --course-list-category-color: var(--color-font-primary);
    /* Course - Rating */
    --course-rating-color: var(--color-font-primary);
    --course-rating-star-color: var(--color-primary);
    /* Admin - Component tiles */
    --tiles-background-color: var(--color-custom-secondary);
    /* Admin - Navigation sliders */
    --navigation-slider-color: var(--color-primary);
    /* Admin - Panels */
    --colored-info-color: var(--color-font-primary);
    --course-stats-background-color: transparent;
    --dashboard-panel-background-color: transparent;
    --dashboard-panel-border-color: rgba(0,0,0,.1);
    /* Admin - Nav pills */
    --navpill-background-color: var(--color-primary);
    --navpill-font-color: #fff;
    /* Admin - Chart */
    --chart-color-primary: var(--color-primary);
    --chart-color-secondary: var(--color-grey);
}

html.new-ui-html:root {
    --c-brand-primary: var(--color-primary);

    --c-brand-primary-darken-5: #d9d9d9;
    --c-brand-primary-darken-7: #d7d7d7;
    --c-brand-primary-darken-10: #d4d4d4;
    --c-brand-primary-darken-15: #cfcfcf;
    --c-brand-primary-darken-17: #cdcdcd;
    --c-brand-primary-darken-20: #cacaca;
    --c-brand-primary-darken-25: #c5c5c5;
    --c-brand-primary-lighten-7: #e5e5e5;
    --c-brand-primary-lighten-40: #ffffff;
}

span.tw-bg-red-accent {
	background-color: #ce3703;
}

#enrollment_requirements_forms_user_form_1 div.alert.alert-info {
	display:none !important;
}

#enrollment_requirements_forms_user_form_2 div.alert.alert-info {
	display:none !important;
}

::-moz-selection { /* Code for Firefox */
    color: #fff;
    background: var(--color-primary);
}

::selection {
    color: #fff;
    background: var(--color-primary);
}


/* Update Design -Fixes*/
#ef-navigation i.fa {
    color: var(--color-primary);
}

#ef-navigation button > span {
    color: var(--color-primary);
}
#ef-navigation span.badge {
    color: white;
}

.ef-switch-account>i{
    overflow: unset;
    word-wrap: anywhere;
    word-break: keep-all;
    white-space: break-spaces;
}

div.breadcrumb-x > div > ol > li > a > span > span, div.breadcrumb-x > div > ol > li > a > span, div.breadcrumb-x > div > ol > li > a {
    /*color: #d0e3d0 !important;*/
    color: white !important;
}
#ef-navigation > li.user-preferences > button > span.img-placeholder > span.img-overlay > span.img-thumbnail{
    background-color: #007A3E !important;
}
#ef-navigation > li.user-preferences > button > b.caret{
    color: #007A3E;
}
#communication > button > i, #ef-navigation > li:nth-child(3) > button > i{
    color: #007A3E;
}

#ef-navbar .container ul.nav.navbar-nav li.open .dropdown-toggle{
    background-color:white;
}

#searchDiv > div.searchDivRight{
    display:none;
}
#searchDiv{
    background-color: transparent !important;
}

/* Ticket #5149 - Förderlogo auf Startseite */

@media only screen and (max-height:750px)
{
    html:not(.popup) body:not(.ef-user-signed-in)
    {
        min-height:750px;
    }
}

/* Ticket #4500 - Abschlusskriterium "nach einer bestimmten Zeit" */

#ef-complete-timer
{
    display:none;
}

/* Ticket #4442 - Schwarzer Rand bei Videodatei */

#ef-video-1
{
    background-color:#ffffff;
}

#ef-video-1_html5_api
{
    height:auto;
}

/*WAS IST DA LOS?html:not(.popup) body
{
  min-height:750px;
}*/

.elfinder-quicklook {
    background-color: #777 !important;
}

/* Questions */

#ef-toggle-fullscreen {
    display: none;
}

.panel-primary > .panel-heading {
    background-color: #007a3e!important;
}

.selectize-input.focus {
    border-color: #007a3e;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 122, 62, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 122, 62, 0.6);
}

.ef-grid-cell-new-value > option:hover {
    background-color: #007a3e!important;
}
.form-control:focus {
    border-color: #007a3e!important;
}

#billboard a > font, #billboard a > u > font {
    color: #007a3e!important;
    text-decoration: underline;
    font-weight: bold;
}



/* LOGIN */
body:not(.ef-user-signed-in) > container > #ef-index-page > div,body:not(.ef-user-signed-in) > container > #ef-index-page > div >div
{
    box-shadow: none!important;
}
body:not(.ef-user-signed-in) .ef-block {
    box-shadow: none!important;
    background-color: rgba(0,0,0,0)!important;
}

body:not(.ef-user-signed-in) #ef-logo a.ef-navbar-logo img {
    content: url('/plugins/Customizing/assets/images/LFI_Logo_4c_Negativ_transparent.png');
}

#foerderlogo{
    height: auto;
}

@media(min-width: 1200px) {
    #foerderlogo{
        bottom: 75px;
        position: absolute;
        left: 4%;
    }
}

#foerderlogo >img {
    width: 100%;
    max-width: 609px;
    z-index: 1;
}

@media (min-width: 991px) and (max-width: 1199px) {
    #foerderlogo{
        bottom: 75px;
        position: absolute;
        left: 2%;
    }

    #foerderlogo >img {
        width: 80%;
    }
}
@media only screen
and (max-device-width : 768px)
{
    body {
        background-size: 78% 36%!important;
    }
}
@media only screen
and (max-device-width: 1024px)
{
    body {
        background-size: 78%!important;
    }
}
@media only screen
and (max-device-width : 767px)
{
    body {
        background-image: none!important;
    }
    #ef-index-page > div.col-md-9 > div > div > div > div > div > p:nth-child(3) > span > font > b {
        font-size: 20px!important;
    }
    #ef-index-page .col-md-9 {
        margin-top: 5px!important;
        line-height: 1em!important;
        padding-left: 10px!important;
    }
    .ef-custom-block {
        width: 90vw;
    }
}

/* LOGIN */
#ef-index-page .col-md-3 #ef-login-index{
    margin-top: 20px;
    border: 2px solid #007a3e;

}

u {
    font-weight: bold;
}


#ef-index-page > div:nth-child(2) > div:nth-child(1) > div > div > div > div {
    margin-top: 10px;
    font-size: 20px!important;
    color: #007a3e;
}

#ef-index-page > div:nth-child(2) > div:nth-child(1) > div > div > div > div > h2 {
    color: #007a3e;
    font-weight: 700;
}

#ef-index-page .col-md-9 {
    margin-top: 20px;
    padding-left: 50px;
}

#ef-index-page > div.col-md-9 > div > div > div > div > div > p:nth-child(3) > span > font > b {
    color: #007a3e;
    font-size: 30px;
}

/* FOOTER */
.footer {
    position:absolute;
    left: 0;
    bottom: 0;
    height: 60px;
    width: 100%;
    overflow: hidden;
    background-color: #007a3e;
    z-index: 3;
}

.login-footer {
    display: flex;
    height: auto;
    justify-content: space-between;
}

.inner-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%!important;
    color: white!important;
}

.inner-footer a {
    color: white!important;
    text-transform: uppercase;
}
.inner-footer p {
    margin: 0!important;
}

.inner-footer * {
    padding: 1vw;
}


html:not(.popup) body {
    position: relative;
    background-color:#ffffff;
    /*
  	padding-bottom: 6rem;
  	background: url('/plugins/Customizing/assets/images/background.png') no-repeat;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom right;
  	background-size: 60%;*/
}

#ef-navbar
{
    background-color:#ffffff;
}

#ef-navbar .container .navbar-header .ef-navbar-logo img
{
    padding:0px;
}

#ef-navbar form.navbar-form > div.form-group > div.input-group
{
    box-shadow:none;
}

#ef-navbar form.navbar-form .selectize-input,
#ef-navbar form.navbar-form span.search-handle,
#ef-navbar form.navbar-form.ef-active .selectize-input,
#ef-navbar form.navbar-form.ef-active span.search-handle,
#ef-navbar form.navbar-form input[type='text']
{
    background-color:#f4f4f4;
}

#ef-navbar form.navbar-form .selectize-input,
#ef-navbar form.navbar-form span.search-handle,
#ef-navbar form.navbar-form input[type='text']
{
    border:none;
}

#ef-navbar .container ul.nav.navbar-nav li.open a.dropdown-toggle
{
    background:none;
}

#ef-navbar .container ul.nav.navbar-nav > li > a,
#ef-navbar .container ul.nav.navbar-nav > li > a:hover
{
    color:#007a3e;
}

#ef-navbar .container ul.nav.navbar-nav > li a.dropdown-toggle .img-thumbnail
{
    background-color:#007a3e !important;
    box-shadow:none;
}

div.img-placeholder.alphatar div.img-thumbnail:after
{
    color:#ffffff;
}

div.breadcrumb-x
{
    background-color:#007a3e;
    box-shadow:0px 3px 3px -3px rgba(0, 0, 0, 0.3);
}

div.breadcrumb-x ol.breadcrumb li
{
    margin-right:15px;
}

div.breadcrumb-x ol.breadcrumb li a
{
    color:#ffffff;
}

div.breadcrumb-x ol.breadcrumb li.active a
{
    font-size:inherit;
    font-weight:normal;
    color:#d0e3d0;
}

.breadcrumb > li + li::before
{
    display:none;
}

div.ef-block
{
    box-shadow:0px 0px 3px 1px rgba(0, 0, 0, 0.15);
}

div.ef-block table.iconTable td.iconData:hover
{
    background-color:#f4f4f4;
}

ul.customTabs > li.active > a,
ul.tabulizedList > li.tabulizedElement.selected > a:not(:first-child)
{
    color:#84a719;
}

ul.tabulizedList > li.tabulizedElement.selected > a:not(:first-child)::after
{
    display:none;
}

#slider,
#sliderNested
{
    display:none !important;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus
{
    background-color:#007a3e;
}

.ef-my-courses .ef-block-header a.ef-block-handle.ef-my-courses-toggle-view.active,
.ef-my-courses .ef-block-header a.ef-block-handle:hover
{
    color:#007a3e;
}

.ef-my-courses .ef-courses-list ul li.ef-my-courses-category
{
    margin-top:0px;
    margin-bottom:0px;
}

.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,
.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: #d0e3d0 !important;
}

.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
{
    color:#007a3e;
}

.ef-my-courses ul li.ef-my-courses-category > ul > li:nth-child(n+1) div.ef-entry-head:hover,
.ef-my-courses ul li.ef-my-courses-category > ul > li:nth-child(2n+2),
.ef-my-courses ul li.ef-my-courses-category > ul > li:nth-child(2n+2) div.ef-entry-head:hover
{
    background-color:#ffffff;
}

.ef-my-courses .ef-courses-list div.ef-entry-head span.ef-entry-name a:hover,
.ef-unit-tree ul.ef-courses-list div.ef-entry-head span.ef-entry-name a:hover
{
    color:#007a3e;
}

a:hover
{
    text-decoration:none;
}

a.link:link,
a.link:visited
{
    color:#007a3e !important;
}

a.link:link:hover
{
    text-decoration:none;
}

.btn.btn-primary:not(.active),
.btn.btn-primary:not(.active):hover,
.btn.btn-primary:not(.active):focus
{
    background-color:#007a3e;
    border-color:#007a3e;
}

.has-feedback .form-control
{
    padding-right:0px;
}

#ef-login-index div.ef-block-content form div.row #forgot-passwd
{
    color:#007a3e;
}

#content-title-row
{
    margin-bottom:15px;
}

/* Certificate */
.ef-dashboard-header .ef-course-certificate.custom {
    padding: 0;
    margin: 10px 0 10px 0;
}

.ef-dashboard-header .ef-course-certificate.custom a {
    display: flex;
    align-items: center;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 8px;
    border-radius: 6px;
    float: none !important;
}

.ef-dashboard-header .ef-course-certificate.custom .ef-course-certificate-information {
    text-align: left;
    color: var(--color-primary);
}

.ef-dashboard-header .ef-course-certificate.custom .icon-cert_icon {
    margin: 0;
}

/* Chart */
[fill="#67b7dc"] {
    fill: rgba(131, 167, 28, 0.7) !important;
}

[stroke="#67b7dc"] {
    stroke: rgba(131, 167, 28, 0.7) !important;
}

[fill="#009688"] {
    fill:  rgba(0,122,63,0.5) !important;
}

[stroke="#009688"] {
    stroke:  rgba(0,122,63,0.5) !important;
}

/**
 * Design neu
*/
#userNavBar .new_ui-bullhorn,
#userNavBar .new_ui-bullhorn button {
    background-color: var(--c-navbar-menu-bg);
    color: var(--c-navbar-menu-text) !important;
}

.new-ui .ef-unit-tree .ef-entry-description .description-padding {
    white-space: normal;
}

html:not(.popup) .new-ui > .twui-content > main.custom-sidebar .custom-sidebar-inner {
    /*overflow-x: hidden;*/
}

/* Toolbar */
.new-ui .twui-menu .hover\:tw-bg-gray-800:hover i,
.new-ui .twui-menu .tw-text-white,
.new-ui .twui-menu .hover\:tw-text-white:hover {
    color: white !important;
}

.new-ui .twui-menu .twui-switch-ui:hover i,
.new-ui .twui-menu .tw-text-orange-300 {
    color: white !important;
}

.new-ui .fa-solid.fa-circle-small.tw-text-green-600 {
    color: var(--color-primary);
}

.new-ui #ef-timeout-timer-container-new > button.twui-open-modal {
    background-color: rgba(131, 167, 28, 0.7) !important;
}

.new-ui > div.twui-menu.twui-old-navbar-replacement  > div.tw-flex.grow.tw-flex-col {
    background-color: var(--color-primary);
}

.tw-menu-item-drawer.tw-fixed a:hover:not([href*="users/edit/"]):not([href*="messages/view/"]):not([href*="switchToAdmin/1"]),
.tw-menu-item-drawer.tw-fixed li > a:hover,
.tw-menu-item-drawer.tw-fixed button:hover {
    background-color: var(--color-primary) !important;
    color: white! important;
}

.new-ui .tw-menu-item-drawer.tw-fixed button.twui-toggle-accordion {
    border-color: var(--color-primary) !important;
}

.new-ui .tw-menu-item-drawer.tw-fixed #nv-sign-out {
    background-color: var(--color-primary) !important;
}

.new-ui div.iconData.iconElement:hover {
    background-color: var(--color-primary) !important;
}
.new-ui #mapped-accounts .ef-switch-account  > div:hover {
    background-color: var(--color-primary) !important;
}

/**
 * Buttons
*/
a.ef-toggle-hidden-section, .ef-anchor-like, a.link, a.link:visited, a.link:hover, a.link:link, .colored-info {
    color: var(--color-primary) !important;
}

.btn-success {
    border-color: var(--button-primary-border-color) !important;
    background-color: var(--button-primary-background-color) !important;
}

.ef-dashboard-header .ef-main-action-button .btn.btn-success,
*.progress .progress-bar.progress-bar-success {
    background-color: var(--button-primary-background-color);
}

.btn.btn-primary, 
.btn.btn-primary:hover, 
.btn.btn-primary:active, 
.btn.btn-primary:focus {
    border-color: var(--button-primary-border-color) !important;
}

.btn-primary:active, .btn-primary.active, .open > .btn-primary.dropdown-toggle {
    background-color: var(--button-primary-background-color) !important;
}

.media-body-content .btn.btn-danger,
.media.ef-post-body .btn.btn-default,
.media.ef-discussion-message .btn.btn-default,
.btn.btn-primary,
.btn.btn-success,
.btn-info,
.btn-danger,
.btn-warning,
.btn-primary:not(.note-btn).active,
.btn-primary:not(.note-btn).focus,
.radio-button-group label.btn-default:has(input:checked)  {
    background-color: var(--button-primary-background-color) !important;
    border-color: var(--button-primary-border-color) !important;
    color: var(--button-primary-color) !important;
}

.media-body-content .btn.btn-danger:hover,
.media.ef-post-body .btn.btn-default:hover,
.media.ef-discussion-message .btn.btn-default:hover,
.btn.btn-primary:not(.note-btn):hover,
.btn.btn-success:hover,
.btn-info:hover,
.btn-danger:hover,
.btn-warning:hover,
.btn.btn-default:not(.note-btn),
input.ef-set-required-branch.btn-default {
    background-color: var(--button-primary-background-color-active) !important;
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

button.fc-button-active.active{
    background-color: white !important;
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

input.ef-set-required-branch.btn-default:hover,
.btn-default:not(.note-btn).active,
.btn-default:not(.note-btn).focus,
.btn.btn-default:not(.note-btn):hover {
    background-color: var(--button-primary-background-color) !important;
    border-color: var(--button-primary-border-color) !important;
    color: var(--button-primary-color) !important;
}

button.twui-switch-ui {
    display: none;
}

body > div.breadcrumb-x > div.container > ol.ef-breadcrumb > li.active{
    width:50%;
}

/* navbar helpdesk buttons */
div.breadcrumb-x > .container > span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.helpdesk-button {
    background-color: transparent !important;
    width: 75px;
    text-align: center;
    color: white !important;
    font-weight: bold;
}

.footer > .inner-footer > a {
    font-weight: bold;
}
#treeImage {
    position: absolute;
    bottom: 0;
    right: 0;
    height: auto;
    opacity: 0.6;
    pointer-events: none;
    width: 50vw;
    max-width: 600px;
    z-index:2;
}

@media (max-width: 991px) {
    #treeImage {
        display: none;
    }
}

.ef-dashboard-header img.ef-default-avatar {
    width: 100%;
    max-width: none !important;
}

#ef-billboard-body ol {
    list-style-type: decimal;
    list-style-position: outside;
    padding-left: 2rem;
}

#ef-billboard-body ul {
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 2rem;
}

/* survey report progress bar */
table tr > td > .progress {
    background-color: #c4c4c4 !important;
}
table tr > td > .progress .progress-bar {
    background-color: var(--color-primary) !important;
    color: white !important;
}

#ef-course-completion-modal .btn {
    width: 100%;
    margin-bottom: 10px;
}

/* CATALOG */
.course-cost > img {
    display: none;
}

/* CustomSurveyReport - make all question type td elements the same length */
#overview > div > .ef-block > .ef-block-content > table.table-responsive > tbody  > tr:first-of-type > td:first-of-type {
    width: 300px;
}
#overview > div > .ef-block > .ef-block-content > table.table-responsive > tbody  > tr:first-of-type > td:nth-of-type(2) {
    width: 0;
}

/* remove blue oultine for all buttons */
button:focus,
a:focus {
    outline: none !important;
}

#ef-timeout-timer-container-new > button > span.text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* course widget design */
#widgetGrid .courseContainer .courseTitle {
	-webkit-line-clamp: 3 !important; 
}
#widgetGrid .courseContainer .statusContainer {
	margin-top: 5px;
}

#widgetGrid .courseContainer .courseImage {
  margin-bottom: 4px !important;
}
#widgetGrid .courseContainer .courseCategory {
  display: none;
}
#widgetGrid .courseContainer .course-link {  
  font-size: 1.5rem !important;
  font-weight: 400;
  line-height: 1.5rem;
}

#widgetGrid .widgetHeading h2,
#widgetGrid .widgetHeading span {
 	font-size: 2rem; 
}
#widgetGrid .widgetSubheading {
    font-size: 1.6rem !important;
  	padding-top: 1px !important;
}

#widgetGrid .courseContainer .statusContainer {
 	display: none; 
}
#widgetGrid .courseContainer .courseLabels {
 	margin-bottom: 14px;    
    align-items: flex-start;
    flex-flow: wrap;
}
#widgetGrid .courseLabels .cLabel.label-ef-expires {
 	 background-color: var(--c-brand-primary);
}

/* message title */
.col-md-10.ef-constrain-images > .ef-pm-title-row > .h2.ef-pm-title,
.col-md-10.ef-constrain-images > .ef-pm-title-row > .h2.ef-pm-title > h1.h2 {
 	 font-size: 25px;
}

/* DO NOT ADD/EDIT AFTER THIS LINE */
#ef-navbar, #ef-navbar li a.dropdown-toggle[aria-expanded="true"]{background-color:#007A3E;border-color:#007A3E;}
html.new-ui-html:root{--c-brand-primary:#007a3e;--c-brand-primary-darken-5:#007539;--c-brand-primary-darken-7:#007337;--c-brand-primary-darken-10:#007034;--c-brand-primary-darken-15:#006b2f;--c-brand-primary-darken-17:#00692d;--c-brand-primary-darken-20:#00662a;--c-brand-primary-darken-25:#006125;--c-brand-primary-lighten-7:#078145;--c-brand-primary-lighten-40:#28a266;}
*.btn.btn-primary, *.btn.btn-primary:not(.active), *.btn.btn-primary:hover, *.btn.btn-primary:hover:not(.active), *.btn.btn-primary:focus, *.btn.btn-primary:focus:not(.active){background-color:#007A3E;border-color:#007A3E;}
div.breadcrumb-x{background-color:#007A3E;border-color:#007A3E;}
