/* 
    Created on : 22.11.2016, 21:36:19
    Author     : Roman Richter
*/

@font-face {
    font-family: "jambono-medium";
    font-style: normal;
    font-weight: normal;
    src: url("../font/jambono-medium.eot?#iefix") format("embedded-opentype"), url("../font/jambono-medium.svg") format("svg"), url("../font/jambono-medium.woff") format("woff"), url("../font/jambono-medium.ttf") format("truetype");
}
.icon-add,
.icon-add:hover,
.icon-add:visited,
.icon-add:active {
    background-image:url(../img/add.png);
    background-size: 18px 18px;
    background-repeat:no-repeat;
    color: transparent !important;
    height:18px;
    width:18px;
    display:inline-block;
    overflow:hidden;
}
.icon-add-bigger,
.icon-add-bigger:hover,
.icon-add-bigger:visited,
.icon-add-bigger:active {
    background-image:url(../img/add.png);
    background-size: 25px 25px;
    background-repeat:no-repeat;
    color: transparent !important;
    height:25px;
    width:25px;
    display:inline-block;
    overflow:hidden;
}
.icon-edit,
.icon-edit:hover,
.icon-edit:visited,
.icon-edit:active {
    background-image:url(../img/edit.png);
    background-repeat:no-repeat;
    color: transparent !important;
    height:18px;
    width:18px;
    display:inline-block;
    overflow:hidden;
}
.icon-view,
.icon-view:hover,
.icon-view:visited,
.icon-view:active {
    background-image:url(../img/view.png);
    background-repeat:no-repeat;
    color: transparent !important;
    height:18px;
    width:18px;
    display:inline-block;
    overflow:hidden;
}
.icon-view-bigger,
.icon-view-bigger:hover,
.icon-view-bigger:visited,
.icon-view-bigger:active {
    background-image:url(../img/view.png);
    background-size: 25px 25px;
    background-repeat:no-repeat;
    color: transparent !important;
    height:25px;
    width:25px;
    display:inline-block;
    overflow:hidden;
}
.icon-delete,
.icon-delete:hover,
.icon-delete:visited,
.icon-delete:active {
    background-image:url(../img/delete.png);
    background-repeat:no-repeat;
    color: transparent !important;
    height:18px;
    width:18px;
    display:inline-block;
    overflow:hidden;
}
.icon-mail-read,
.icon-mail-read:hover,
.icon-mail-read:visited,
.icon-mail-read:active {
    background-image:url(../img/mail-read.png);
    background-repeat:no-repeat;
    color: transparent !important;
    height:18px;
    width:18px;
    display:inline-block;
    overflow:hidden;
}
.icon-mail-unread,
.icon-mail-unread:hover,
.icon-mail-unread:visited,
.icon-mail-unread:active {
    background-image:url(../img/mail-unread.png);
    background-repeat:no-repeat;
    color: transparent !important;
    height:18px;
    width:18px;
    display:inline-block;
    overflow:hidden;
}
.top-bar.expanded .title-area {
    background: #3e1d14;
}
#actions-sidebar {
    background: #ede8d8;
}
.side-nav li.heading {
    color: #3e1d14;
}
.side-nav li a:not(.button) {
    color: #3e1d14;
}
.side-nav li a:not(.button):hover {
    color: #3b2611;
}
.top-bar.expanded, .top-bar, .top-bar-section ul li, .top-bar-section li:not(.has-form) a:not(.button) {
    background: none;
}
.top-bar {
    background:#be140b !important;
}
.top-bar-section li:not(.has-form) a:not(.button):hover {
    background-color: #f13d34;
    background: #f13d34;
}
table tr th {
    border-bottom: 2px solid #c00c1a;
    word-break:break-all;
}
table thead tr th {
    padding: 0.5rem 0.625rem 0.25rem;
}
ul.right {
    display:none;
}
nav.top-bar ul.top-menu li:first-child {
    margin-left:20px;
}
nav.top-bar ul.top-menu ul li:first-child {
    margin-left:0;
}
nav.top-bar ul.top-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
nav.top-bar ul.top-menu li {
    float: left;
}
nav.top-bar ul.top-menu ul li {
    margin-top:0;
}
nav.top-bar ul.top-menu li ul {
    display: none;
}
nav.top-bar ul.top-menu a {
    display: block;
    white-space: nowrap;
    padding: 10px;
    color:#FFF;
}
nav.top-bar ul.top-menu li ul li a {
    background:#ede8d8 !important;
    color:#3e1d14 !important;
}
nav.top-bar ul.top-menu li ul li a:hover {
    background:#e7e3d3 !important;
}
nav.top-bar ul.top-menu li:hover ul {
    display: block;
    position: absolute;
}
nav.top-bar ul.top-menu li:hover ul li {
    width:100%;
}
nav.top-bar ul.top-menu li ul li {
    position: relative;
    float:none;
    z-index:99999;
    width:100%;
}
.related h4 {
    display:inline-block;
}
.additional-item::after {
    display: inline-block;
    content: "";
    width: 23px;
    height: 18px;
    background: transparent url('../img/plus.png') no-repeat 5px 2px;
}
form, .form-size {
    position: relative;
    max-width: 680px; /* added Manuel Himmler */
    margin-left:auto; /*added Manuel Himmler*/
    margin-right:auto; /*added Manuel Himmler*/
}
.form-size { /* contacts/view view */
    float: none;
    max-width: 710px; /* added Manuel Himmler */
    padding-left: 0;
    padding-right: 0;
}
fieldset.search {
    max-width: 1290px;
    padding: 0px;
    margin: 0px auto;
}
.search-div{
    display: inline-block;
    width: 75%;
    margin-right: 30px;
}
button.search {
    float: none !important;
    display: inline-block;    
    padding: 0.53rem 2rem;
}
@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none) and (min-width: 725px) {
    button.search {
        top: 29px;
    }
}
nav.top-bar ul.top-menu li:last-child {
    float: left;
}
nav.top-bar ul.top-menu li:last-child a {
    padding-right:32px;
}
nav.top-bar ul.top-menu li ul li:last-child a {
    padding-right:11px;
}
nav.top-bar ul.top-menu li:last-child::after {
    float:right;
    content: "";
    background: transparent url('../img/icon-person.png') no-repeat;
    width:16px;
    height:16px;
    margin-bottom: -2px;
    margin-right: 10px;
    margin-top: -31px;
    cursor:pointer;
}
nav.top-bar ul.top-menu li ul li::after {
    display: none;
}

.scrollbar-display::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 11px;
    height: 11px;
}
.scrollbar-display::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white; /* Angleichen mit Hintergrundfarbe-nicht transparent! */
    background-color: rgba(0, 0, 0, .5);
}
label.calendar::after {
    display:inline-block;
    content: "";
    background: transparent url('../img/calendar.png') no-repeat 10px 3px;
    width:26px;
    height:17px;
    margin-left: 5px;
}

input[type="submit"].saveAndNew, button.saveAndNew {
    background: #118C4E;
}
input[type="submit"].saveAndNew:hover, input[type="submit"].saveAndNew:focus, button.saveAndNew:hover, button.saveAndNew:focus {
    background: #17ba68;
}

button[name="forceDuplicate"] {
    float:none !important;
    margin-left:10px;
    background:green;
}
button[name="discardDuplicate"] {
    float:none !important;
    background:#c3232d;
}
.form button[name="discardDuplicate"]:hover,
.form button[name="discardDuplicate"]:focus {
    background:red;
}
.form button[name="forceDuplicate"]:hover,
.form button[name="forceDuplicate"]:focus {
    background:#4CD387;
}
button[name="forceDuplicate"],
button[name="discardDuplicate"],
button[name="assignToBundler"] {
    padding: 0.5rem 1rem;
}
button[name="assignToBundler"] {
    font-size:0.75rem;
    background:#1798a5;
}
.form button[name="assignToBundler"]:hover,
.form button[name="assignToBundler"]:focus {
    background:#17CCA5;
}
.duplicateCheck {
    margin-bottom:20px;	
}
.duplicateCheck p {
    display:inline-block;
}
#filter-primary-table {
    width:auto;
    padding-right:1em;
    display:block;
}
.index table.filter {
    /*width:auto;*/
}
.index table thead {
    height: auto;
}
.index table.filter select,
.index table.filter input {
    margin:0;
}
.index table.filter input[type="checkbox"] {
    margin:1em 0 0;
}
.index table.filter th.fix {
    width:110px;
}
.index table.filter th.fix:last-child {
    width:90px;
}
input[type="numeric"] {
    -moz-appearance: none;
    background-color: #fff;
    border-color: #ccc;
    border-radius: 0;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    box-sizing: border-box;
    color: rgba(0, 0, 0, 0.75);
    display: block;
    font-family: inherit;
    font-size: 0.875rem;
    height: 2.3125rem;
    margin: 0 0 1rem;
    padding: 0.5rem;
    transition: border-color 0.15s linear 0s, background 0.15s linear 0s;
    width: 100%;
}
.suchergebnis-anzeige {
    position: relative;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    z-index:9999;
}
.suchergebnis-anzeige a{
    color:#be140b;
}
.data-expired {
    background-color: #ddd !important;
}
table.import {
    width:auto;
}
table.import tr th,
table.import tr td {
    word-break:normal;
    white-space:nowrap;
}
table.import th,
table.import td {
    font-size:0.75em;
}
table.import td.inspection-details-available:not(:empty) {
    cursor: pointer;
}
table.import tr.line-okay {
    background:#A2FB88;
}
table.import tr.line-not-okay {
    background:#FAFB88;
}
table.import tr.duplicates-found, table.import tr.origin-farm {
    background:#FAFB88;
}
table.import tr.duplicates-found {
    cursor: pointer;
}
table.import tr td.column-error {
    background:#FF7171;
}
table.import tr td.column-dependent-error {
    background:#c6c7c9;
}
table.import tr.line-dependent-error {
    background:#c6c7c9;
}
table.import tr td.column-error::before,table.import tr td.column-dependent-error::before {
    background: #0000ff none repeat scroll 0 0;
    border-radius: 10px;
    color: #fff;
    content: "i";
    font-weight: bold;
    margin-right: 5px;
    padding-left: 6px;
    padding-right: 6px;
}
.content {
    margin-bottom:0;
    padding-bottom:0;
    overflow-x:auto;
}
.import-submit-wrapper {
    box-sizing:inherit;	
    width:85%;
    float:right;
    padding:2rem;
}
.import-submit-wrapper form{
    width:auto;
    display: inline-block;
}

.top-bar .name h1 {
    font-size: 0.95rem;
}

/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #be140b;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    margin: 0;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button.active,.tab button:hover {
    background-color: #f13d34;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

.tabcontent h3{
    text-align: initial;
}

/* */

@media only screen and (max-width: 25em){
    fieldset.search {
        margin: 0;
    }
    button.search {
        position: relative;
        top: 0;
    }
}

@media only screen and (min-width: 64.0625em){
    .large-3{
        width:15%
    }
    .large-9{
        width:100%
    }
    .medium-4{width:15%}
    .medium-8 {
        width: 100%;
    }
    .vertical-table {
        margin-right: auto; /* added Manuel Himmler */ 
        margin-left: auto; /* added Manuel Himmler */ 
        max-width: 680px; /* added Manuel Himmler */ 
    }
    .vertical-table.fit {
        float: none;
        margin-right: 0;
        width: 35%;
    }
    .related {
        float:right;
        width:70%;
    }
    .row.fit,
    .related.fit {
        float:left;
    }
    .row.fit {
        width:auto;
    }
    .content .related h4:first-of-type {
        margin-top: 0;
    }
    .edit-left-wrapper {
        float:left;
        margin-right: 30px;
        width: 25%;
    }
    .edit-right-wrapper {
        float:right;
        width:70%;
    }
    form.fit {
        width:45%
    }
    table.flexible {
        table-layout:auto;
        width:100%;
    }
    table.flexible th.narrow {
        min-width:80px;
        width:5%;
    }
    table.flexible th {
        min-width:80px;
        width:20%;
    }
    table.flexible th.wide {
        min-width:80px;
        width:30%;
    }
    table.flexible th.x-wide {
        min-width:200px;
        width:30%;
    }
    table.flexible th.actions {
        min-width:80px;
        width:5%;
    }
    .outline,.outline:hover {
        border: 2px solid rgb(190, 20, 11);
    }
    nav.top-bar ul.top-menu li:last-child {
        float: right;
        min-width:110px;
    }
}
@media only screen and (max-width: 40em){
    .top-bar {
        overflow: visible;
    }
    .top-bar-section {
        height: auto;
    }
    nav.top-bar ul.top-menu li {
        float: none;
    }
    nav.top-bar ul.top-menu {
        padding: 45px 0 0;
    }
    nav.top-bar ul.top-menu ul li:first-child {
        margin-left: 20px;
    }
    nav.top-bar ul.top-menu li {
        margin-left: 20px;
    }
    nav.top-bar ul.top-menu li ul li a {
        background:#b2ada3 !important;
        color:#000 !important;
    }
    form.fit {
        width:100%
    }
    .vertical-table.fit {
        width: 100%;
    }
    nav.top-bar ul.top-menu li:last-child {
        float: none;
    }
    nav.top-bar ul.top-menu li:last-child::after {
        display:none;
    }
    button[name="forceDuplicate"] {
        float:left !important;
        margin-left:0;
        margin-right:10px;
    }
    .duplicateCheck p {
        display:block;
    }
    button[name="assignToBundler"] {
        text-indent: -9999px;
        line-height: 0;
        padding: 0.25rem 0.5rem;
    }

    .index table.filter {
        width:100%;
    }
    .import-submit-wrapper {
        width: 100%;
    }
}
@media only screen and (min-width: 40.0625em) and (max-width:64.0624em){
    nav.top-bar ul.top-menu li:last-child::after{
        margin-right: 0px;
    }
    nav.top-bar ul.top-menu li:last-child {
        float: left;
    }
    .index table.filter {
        width:100%;
    }
    button[name="forceDuplicate"] {
        float:left !important;
        margin-left:0;
        margin-right:10px;
    }
    .duplicateCheck p {
        display:block;
    }
    button[name="assignToBundler"] {
        text-indent: -9999px;
        line-height: 0;
        padding: 0.25rem 0.5rem;
    }

    .import-submit-wrapper {
        width: 66.6667%;
    }
}
@media only screen and (min-width: 40.001em) and (max-width:50em){
    form.fit {
        width:90%
    }
    .vertical-table.fit {
        width: 90%;
    }
}
@media only screen and (min-width: 50.001em) and (max-width:55em){
    form.fit {
        width:75%
    }
    .vertical-table.fit {
        width: 75%;
    }
    .related {
        float:none;
        width:80%;
    }
}

@media only screen and (min-width: 64.0626em) and (max-width:79.0625em){
    .vertical-table {
        width: 80%;
        float:none;
    }
    .row.fit,
    .related.fit {
        float:none;
    }
    .related {
        float:none;
        width:80%;
    }
    button[name="assignToBundler"] {
        text-indent: -9999px;
        line-height: 0;
    }
}

@media only screen and (min-width: 80em){
    form.fit {
        width:35%
    }
    .vertical-table.fit {
        width: 35%;
    }
}
@media only screen and (min-width: 90em){
    form.fit {
        width:30%
    }
    .vertical-table.fit {
        width: 30%;
    }
}
@media only screen and (min-width: 100em){
    form.fit {
        width:25%
    }
    .vertical-table.fit {
        width: 25%;
    }
}