.style2020 table tr.thead-second th {
    white-space: nowrap !important;
}


/* Corn table column widths */

.corntable { table-layout: fixed; width:100%;}
.corntable th { box-sizing: border-box; }
.corntable .th-favorite { width: 35px; }
.corntable .th-sub:not(.th-favorite) { padding-right: 20px !important}
.corntable .th-name { width: 155px !important; }
.corntable .th-reifezahl { width: 150px !important; }
.corntable .th-reifezahl-silo,.corntable .th-reifezahl-korn { width: 75px !important; }
.corntable .th-zulassung { width: 140px !important; }
.corntable .th-zulassung-land,.corntable .th-zulassung-jahr { width: 70px !important; }

.corntable .th-nutzungsrichtung {
    width: 150px !important;
}
.th-nutzungsrichtung-oeko {
    width: 60px;
}
/*.corntable .th-nutzungsrichtung-korn, .corntable .th-nutzungsrichtung-biogas { width: 95px !important; }
.corntable .th-nutzungsrichtung-silo { width: 110px !important; }
    */
.corn-table-body .corntable .th-nutzungsrichtung-korn, .corn-table-body .corntable .th-nutzungsrichtung-biogas,
.corn-table-body .corntable .th-nutzungsrichtung-silo {
    width: 50px !important;
}


.corntable .td-zuechter { white-space:nowrap; overflow: hidden; text-overflow: ellipsis;}
 
/*@media (min-width:992px) {
    .corntable .th-zuechter {
        width: calc(940px - 35px - 165px - 75px*2 - 80px*2 - 95px*2 - 110px - 3px*10 - 50px);
    }
    .corntable .td-zuechter {
        width: calc(940px - 35px - 165px - 75px*2 - 80px*2 - 95px*2 - 110px - 3px*10 - 40px);
    }
   
}*/

.corntable .td-zuechter, .corntable .th-zuechter {
    width: calc(1170px - 35px - 155px - 50px*4 - 9px - 300px - 3px*10 - 70px);
}

@media (max-width:1200px) {

    .corntable .td-zuechter {
        width: calc(1170px - 35px - 155px - 75px*2 - 50px*4 - 9px - 300px - 3px*10 - 90px);
    }
    
}


    
/*.tab-pane-corndata {
    width: 100% !important;
    
    height: calc(100vh - 600px);
    overflow: auto;
}*/

.tab-pane-corndata .action-menu, .corn-table-container {
    margin-left: 0px;
    margin-right: 0px;
}
.corn-table-container {
    position:relative;
}
.corn-table-header {
    position: absolute;
    width: calc(100% - 19px);
    top: 0px;
    left: 0px;
    overflow: hidden;
}
.corn-table-body {
    padding-top: 75px;
    height: calc(100vh - 360px);
    overflow-y: scroll;
    overflow-x: auto;
}
.corn-table-container {
    overflow:hidden;
    margin-top:20px;
}
/* forms*/
html main.style2020 .app-form-search-box {
    padding-right: 70px;
    color: #363D3D;
}

/* Favorite status */
.favorite-container { cursor:pointer;}
.favorite-container .favorite-status {
    display: none;
}
.th-favorite:hover .favorite-container .favorite-inactive {
    display:inline-block;
}
.th-favorite .favorite-container.is-favorite .favorite-active {
    display: inline-block !important;
}
.th-favorite .favorite-container.is-favorite .favorite-inactive {
    display: none !important;
}
.corn-table-body .corntable td.th-favorite {height:32px;}

.corn-table-body td.cell-placeholder { height: 32px;}

/* Usage as K, S, B */
.corntable .usage-state.is-used-true {
    background: url('img/icon-check-orange.svg') no-repeat center center;
    background-size: contain;
    width: 18px;
    height: 18px;
}

.show-ready-2-use-features .ir2u {
    outline: 3px solid red;
}
.filterbox.row { margin-right: 0px; margin-left: 0px}

/* Filter tags */
.filter-tag {
    background: #EFA82C;
    border: solid 1px #EFA82C;
    border-radius: 3px;
    float: left;
    margin-right: 5px;
    position:relative;
    margin-bottom: 5px;
    color: white;
    padding: 0.5em 0.5em;
    cursor:pointer;
}
    .filter-tag .filter-tag-inner {
        display: inline-block;
        white-space: nowrap;
        width: 100%;
        padding-right: 25px;
        max-width: 250px;
        overflow: hidden;
        text-overflow: ellipsis;
       height:17px;
    }
    .filter-tag .filter-tag-remove {
       
        position: absolute;
        right: 10px;      
        top: 50%;
        transform: translateY(-50%);
        
    }
    .filter-tag.remove-all-filter {
        background: white;
        color: #EFA82C;
    }



main.style2020 h1 {
    font-size: 3rem;
    margin-top:1rem;
    line-height: 1.4;
    letter-spacing: -0.1rem;
    margin-bottom: 12px;
}

main.style2020 .nav-tabs.nav-tabs-major li a {
    border: none;
    font-size: 1.7rem;
    background-color: #F3F3F3;
    color: #363D3D;
    margin-right: 5px;
    border-radius: 0px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    padding: 7px 14px;
    letter-spacing: 1.5px;
}

main.style2020  #mais>.tabs-main>.nav-tabs-secondary {
    /*display: none;*/
}
main.style2020 { margin-top:0px;}

    main.style2020 .search-fab {
        position:absolute;
    }
    main.style2020 .helpicon{
        right: 5px;
    }
    /*main.style2020 .filtericon {
        right: 25px;
    }*/
    main.style2020 .searchicon {
        /*right: 47px;*/
        right: 5px;
    }


    main.style2020 .corn-table-body .corntable .th-name { width: 154px !important; }

    /*main.style2020 div.checkbox-styled input[type=checkbox] + label.toggle-favorites-filter::before {
        border: solid 2px #EFA82C;
    }
    main.style2020 .action-menu .link-fav {
        color: #363D3D
    }
    main.style2020 .search-result-container, main.style2020 .favorite-filter-container, main.style2020 {
        float: left;
    }*/
    main.style2020 .export-menu { padding-top: 5px; }

    main.style2020 .current-filter:after  {
        display: table;
        content: " ";
        clear: both;
        float: none;
    }
    main.style2020 .current-filter { margin-top: 20px; }
    /* Adjust the header */

html body #toggle-login.hidden-md {
    display: block !important;
    
   
}
@media (min-width:768px){

    html body #toggle-login.hidden-md {
        color: #EFA82C;
    }
}
html.sortenspiegel2020 body #LoginWrapper, html.sortenspiegel2020 body .breadcrumb, html.sortenspiegel2020 body .header .logo {
    display: none;
}

html body .header {
    height: 58px;
}
.user-info-x-container {
    position: absolute;
    right: 65px;
    top: 60px;
}
@media screen and (max-width: 767px) {
    html body .header {
        padding-top: 30px;
        height:50px;
    }

    .user-info-x-container {
      
        right: 23px;
        top: 55px;
    }
}



/* Sorting */
.sort-button {
   
    background: url(/res/sortenspiegel/assets/img/icon-caret-down-white.svg) no-repeat center center;
   
    width:10px;
    height:17px;
    background-size:contain;
}
.sort-th {
    cursor: pointer;
 
}
.sort-th .sort-button { display: none; }
    .sort-th:hover .sort-button {
        display: inline-block;
    }

.sorting-desc .sort-button {
    display: inline-block;
    background: url(/res/sortenspiegel/assets/img/icon-caret-up-white.svg) no-repeat center center;
}
.sorting-asc .sort-button {
    display: inline-block;
}

main.style2020 table tbody tr:nth-child(2n) td {
    background-color: rgba(0, 0, 0, 0.04);
}
main.style2020 table tbody tr:hover td {
    background-color: rgba(0, 0, 0, 0.1);
}
/* Spinner */
main.style2020 .loading-bar-spinner.overlay {
    background-color: rgba(255, 255, 255, 0.85);
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    position: absolute;
    cursor: wait;
}
main.style2020 .loading-bar-spinner.spinner {
    left: 50%;
    margin-left: -25px;
    top: 50%;
    margin-top: -25px;
    position: absolute;
    z-index: 999;
    -webkit-animation: loading-bar-spinner 3000ms linear infinite;
    animation: loading-bar-spinner 3000ms linear infinite;
}
    main.style2020 .loading-bar-spinner.spinner .spinner-icon {
        width: 50px;
        height: 50px;
        background-image: url(img/corn-animation.gif);
        background-size: cover;
    }


/* Alerts */
.modal.dmk-alert .modal-body {
    max-height: 80vh;
    overflow:auto;
}
.modal.dmk-alert .modal-body pre {
    white-space:pre-wrap;
}
.modal.alert-type-error .modal-header .fas:before {
    content: "\f071";
    color: rgba(249, 72, 6, 1);
}
.modal.alert-type-error .btn {
    background-color: rgba(249, 72, 6, 1);
    color:white;
}
.modal.alert-type-warn .modal-header .fas:before {
    content: "\f071";
    color: #EFA82C;
}
.modal.alert-type-warn .btn {
    background-color: #EFA82C;
    color: white;
}
.modal.alert-type-info .modal-header .fas:before {
    content: "\f05a";
    color: blue;
}
.modal.alert-type-success .modal-header .fas:before {
    content: "\f00c";
    color: #5cb85c;
}
.modal.alert-type-success .btn {
    background-color: #5cb85c;
    color:white;
}
.modal.dmk-alert .user-input, .modal.dmk-alert .btn-apply, .modal.alert-type-input .modal-body span {
    display: none;
}
.modal.alert-type-input  .user-input, .modal.alert-type-input .btn-apply,.modal.alert-type-confirm .btn-apply {
    display: inline-block;
}
/* Tooltips */

html body .ui-tooltip-content {
    width: 390px;
    max-width: 100%,
}
html body .ui-tooltip {
    max-width: 400px;
}
html body .ui-tooltip-content, html body .ui-tooltip-content,  code {
    font-size: 12px;
}
html body .ui-tooltip-content b {
    font-weight:600;
}

@-webkit-keyframes loading-bar-spinner {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes loading-bar-spinner {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


/* Extened filter */
.extended-filter-buttons {
    border-top: solid 1px rgba(255, 255, 255, 0.4);
}
.extended-filter .nav-tabs-secondary {
   border: solid 1px #EFA82C;
    padding-top: 10px;;
}

.extended-filter { display: none;}


.sortenspiegel2020 .nav-width > .col-md-8 { width:100%; }
.sortenspiegel2020 .nav-width .search-toggle {
    right: 95px !important;
}
.sortenspiegel2020 .nav-width #toggle-login {
    right: 10px !important;
    position: absolute !important;
    
}
.sortenspiegel2020 #LoginWrapper { width: 100% !important; }
.search-result-container { position:relative; }
.search-result-container img.loading-animation {
    display: none;
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 7px;
    width: 100%;
}
.search-result-container.animate-loading img.loading-animation {
    display: block;
}


@media screen and (max-width: 767px) {
    .navbar-default .navbar-toggle {
        
        right: -5px;
    }

    .sortenspiegel2020 .nav-width #toggle-login {
        right: 50px !important;
        position: absolute !important;
    }
}
#einzelkriterien .filterbox { padding: 10px 20px; }
#einzelkriterien .filterbox .row { margin-bottom:5px; padding-bottom: 5px;}
#einzelkriterien select.form-control { padding:4px 12px; height:30px;}
main.style2020 #einzelkriterien .form-grouper { padding: 0px;}



/* Animated property */

@keyframes value-changed-animation { from { background-color: green; } to { background-color: #F3F3F3; } }
@-webkit-keyframes value-changed-animation { from { background-color: green; } to { background-color: #F3F3F3; } }
@-moz-keyframes value-changed-animation { from { background-color: green; } to { background-color: #F3F3F3; } }
@-ms-keyframes value-changed-animation { from { background-color: green; } to { background-color: #F3F3F3; } }
.property-animated {
    animation: value-changed-animation 1s 1;
}
.no-results { background-color:red;}