* {
    box-sizing: border-box;
    background-position: center;
    background-size: contain;
}

:root {
    --primary: #D5D1CE;
    --secondary: #CECECE;
    --third: #8B8B8B;
    --fourth: #544F40;
    --fifth: #FFF0D8;
    --sixth: #FED9A1;
    --seventh: #5EAF23;
    --eight: #C0EAC0;
    --ninth: #99E27E;
    --tenth: #4081BB;
}

button {
    outline: none !important;
}


html,
body {
    width: 100%;
    height: 100%;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Overpass', sans-serif;
}

h1 {
    font-size: 2em;
    font-weight: bold;
}

h2 {
    font-size: 1.5em;
    font-weight: bold;
}

h3 {
    display: block;
    font-size: 1.17em;
    font-weight: bold;
}

h4 {
    font-size: 1.00em;
    font-weight: bold;
}

h5 {
    font-size: 0.83em;
    font-weight: bold;
}

h6 {
    font-size: 0.67em;
    font-weight: bold;
}

a:hover {
    color: inherit;
    text-decoration: none;
}

.headline h2 {
    font-weight: 200 !important;
}

.card {
    background: none;
    border: none;
}

.card:hover {
    opacity: 0.8;
}

.navbar-toggler {
    outline: none;
}


.offcanvas-collapse {
    background-color: White!important;
}

.navbar-brand {
    right: 20px;
}

.fixed-top {
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}

.nav-link {
    font-size: 1.625em;
    font-weight: 100;
    line-height: 1.21;
}


.card img {
    padding: 20px;
}

.card div {
    padding: 0px;
}

.card-body {
    font-size: 1.6em;
    line-height: 1.22;
    text-align: center;
    color: #544f40;
}

.subheadline {
    font-size: 1.2em;
}



.navbar-light .navbar-nav .nav-link {
    color: var(--fourth);
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 12px;
    padding-right: 12px;
}

.navbar-light .navbar-nav .nav-item.active .nav-link,
.navbar-light .navbar-nav .nav-item:hover .nav-link {
    color: var(--seventh);
}


.headline h1 {
    line-height: 1.19;
    color: var(--fourth);
}

.headline h2 {
    font-weight: 300;
    line-height: 1.2;
    color: var(--fourth);
}


.nav-link.logout:hover,
.nav-link.icon:hover {
    color: var(--fourth) !important;
    background-color: rgba(0, 0, 0, 0.05);
}

.navbar-nav .nav-link.logout svg {
    height: 19px;
    vertical-align: baseline;
}

.nav-link.icon svg {
    height: 31px;
    vertical-align: top;
}

#first,
#last {
    visibility: hidden;
}



div#controlpanel label {
    display: block;
    text-align: center;
    height: auto;
    background-color: #CCCCCC;
    float: left;
    width: 10em;
}

div#thumbs p {
    padding: 0px 10px;
}

#controlpanel {
    background-color: #FFF;
    border-bottom: solid 1px #000;
}

.title {
    color: #ccc;
    background-image: url(images/navbar_bg.png);
    background-repeat: repeat-x;
    line-height: 20px;
    background-position: -6px;
}



#pathnavi {
    font-family: Overpass;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    color: #e44c16;
}

.overlay {
    cursor: pointer;
}

.modal-content {
    font-family: 'Overpass', sans-serif;
}

/* kontaktformular */
form .nav.nav-tabs {
    justify-content: space-between;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 6px solid #f36633;
    margin-bottom: 80px;
}

form .nav.nav-tabs .nav-item {
    transform: translate(0, 27px);
}

form .nav.nav-tabs .nav-link {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    box-shadow: 0 0 0 7px #f8f9fa;
    border: solid 3px #f36633 !important;
    background-color: White !important;
    color: #f36633 !important;
    text-align: center !important;
    line-height: 50px !important;
    padding: 0px !important;
    margin: 0px !important;
}

form .nav-tabs .nav-link.active {
    background-color: #fed9a1 !important;
}

.form-group {
    margin-bottom: 2.4rem;
}

.form-group>label {
    font-weight: 600;
    font-size: 1.2em;
    line-height: 1.2;
    text-align: left;
    color: #544f40;
}

.form-group .btn {
    background: none;
    color: #544f40;
    border: none;
    font-size: 1.2em;
}

.form-group .btn:hover {
    color: var(--seventh);
}

input.form-control::placeholder {
    color: #bebebe;
}

.form-group .form-control {
    border-radius: 18px;
    font-weight: 300;
}

label.required:after {
    color: var(--seventh) !important;
}

.form-check-inline {
    margin-right: 3em;
}

textarea.form-control {
    resize: none; 
    padding: 12px;
}

.vorschau {
    font-family: Overpass;
    font-size: 1.4em;
    line-height: 1.2;
    text-align: left;
    color: #544f40;
    display: flex;
    flex-wrap: wrap;
}

.vorschau-heading {
    padding: 26px;
    padding-left: 10px;
    margin-bottom: 0px;
}

.vorschau>div:first-child,
.vorschau>div:last-child {
    width: 50%;
    padding: 26px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0px;
}

#container {
    margin-bottom: 140px;
}

.last[name="form_page_submit"],
.last[name="formReturnUrl"] {
    background-color: #F36633;
    color: #FFFFFF;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 26px;
}

.last[name="form_page_submit"]:hover,
.last[name="formReturnUrl"]:hover {
    color: Black;
}


.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled):focus {
    color: #F36633 !important;
    background-color: initial !important;
    border-color: initial !important;
    outline: none !important;
    box-shadow: none !important;
}

.formular.modal-title {
    padding-top: 18px;
}

/* auftraege */
/* auftraege */
/* auftraege */

h1.submission {
    margin-top: 2em;
    padding-bottom: 26px;
    font-size: 3em;
    font-weight: bold;
    line-height: 1.19;
    text-align: center;
    color: #544f40;
}

.submissions .tab-content>.tab-pane {
    overflow: auto;
}

.submissions .nav-tabs {
    background-color: #EAEAEA;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.submissions .nav-item {
    position: relative;
}

.submissions .nav-item.active {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}


.submissions .nav-link {
    font-size: 1.25em;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    color: #939393;
}

.submissions .nav-link span {
    width: 100%;
    height: calc(100% - 20px);
    border-right: 1px solid #939393;
    position: absolute;
    left: 0px;
}

.submissions .nav-link.active {
    line-height: 1.2;
    text-align: left;
    color: #544f40;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.submissions .table {
    background-color: white;
}

.submissions .table td,
.submissions .table th {
    vertical-align: middle;
    color: #544f40;
    max-width: 200px;
    font-size: 1.2em;
    font-weight: 300;
    line-height: 1.2;
    text-align: left;
}

.submissions .table td.status {
    border-radius: 38px;
    background-color: #ffe8d8;
}

.submissions .table thead th {
    border: none;
    font-weight: 600;
}

.submissions .table-secondary {
    background-color: white;
    font-size: 1.3em;
    font-weight: bold;
    line-height: 1.2;
    text-align: left;
    color: #544f40;
}

.submissions .table .details,
.submissions .table .details0 {
    text-align: center;
}

.submissions .details,
.submissions .details0 {
    display: inline-block;
    min-width: 100px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 38px;
    font-size: 0.8em;
    font-weight: 300;
    line-height: 1.2;
    padding: 8px;
    border: none;
    text-align: center;
    color: #544f40;
}

.submissions .details {
    background-color: #ffe8d8;
    border: 1px solid Transparent;
}

.submissions .details0 {
    background-color: White;
    border: 1px solid DarkGray;
}

.submissions .delete {
    color: White;
    background-color: #f36633;
    border: 1px solid DarkGray;
}

.submissions .details0:hover {
    border: 1px solid Gray;
}

.vorschau .details.green,
.vorschau .details.black {
    border-radius: 38px;
    padding: 5px 14px;
}

.vorschau .details.green,
.submissions .details.green {
    background-color: #ffe8d8;
}

.vorschau .details.black,
.submissions .details.black {
    background-color: #d8ffdd;
}

.table-hover .table-secondary:hover {
    background-color: Transparent;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, .025);
}

.submission-view .table thead {
    background-color: #EAEAEA;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.submissions,
.submission-view {
    margin-bottom: 200px;
}

#exampleModal1 div[data-title] {
    margin-left: 5px;
    margin-right: 40px;
    position: relative;
    display: block;
    flex-wrap: wrap;
    justify-content: center;
}

#exampleModal1 div[data-title] button {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    border-radius: 30px;
    background-color: white;
    color: black;
    font-size: 0.9em;
    display: block;
    border-color: #544f40;
}

#exampleModal1 div[data-title] img,
#exampleModal1 div[data-title] video {
    opacity: 0.6;
}

#exampleModal1 div[data-title] button:not(.active):hover {
    border-color: var(--seventh)!important;
}

#exampleModal1 div[data-title] button:focus {
    box-shadow: initial!important;
    background-color: initial!important;
    color: initial!important;
}

#exampleModal1 div[data-title] button:active {
    border-color: #544f40!important;
}

#exampleModal1 div[data-title] button.active {
    background-color: var(--seventh)!important;
    border-color: #544f40!important;
    color: White!important;
}

#exampleModal1 div[data-title] img,
#exampleModal1 div[data-title] video {
    cursor: pointer;
}

#exampleModal1 div[data-title] img.action,
#exampleModal1 div[data-title] video.action {
    outline: 4px solid grey;
    outline-offset: 1px;
}

#exampleModal1 div[data-title] .active + img,
#exampleModal1 div[data-title] .active + video,
#exampleModal1 div[data-title]:hover img,
#exampleModal1 div[data-title]:hover video {
    opacity: 1;
}

#exampleModal1 div[data-title]>video,
#exampleModal1 div[data-title]>img {
    width: auto;
    height: 280px;
}

#exampleModal1 div[data-title]>object {
    width: auto;
    height: 480px;
}


#exampleModal1 .modal-header {
    padding-left: 40px;
}

#exampleModal1 .modal-body {
    display: block;
    position: relative;
    padding: 0px 40px;
    padding-top: 20px;
}

#exampleModal1 .modal-title {
    font-size: 2.0em;
    font-weight: bold;
    line-height: 1.39;
    text-align: left;
    color: #544f40;
}

#exampleModal1 .modal-body>div {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

#exampleModal1 h4 {
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
    color: #544f40;
}

#exampleModal1 .modal-footer button {
    border-radius: 36px;
    border: solid 1px #707070;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.4;
    color: #544f40;
    background-color: #ffffff;
}


#divImageMediaPreview {
    display: flex;
    align-content: flex-end;
    align-items: flex-end;
    flex-wrap: nowrap;
    overflow-x: auto;
}

#divImageMediaPreview:not(:empty) {
    padding-bottom: 20px;
    padding-left: 6px;
}

.bestellungen-link a {
word-break: break-all; }

.form-group .hidden {
visibility: hidden;
}

.popup .modal-body {
    padding: 40px;
    font-size: 1.6em;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
    color: #544f40; 
}

.popup .modal-footer {
    justify-content: center;
}

.popup .modal-footer button {
line-height: 19px;
width: 122px;
height: 31px;
border-radius: 16px;
background-color: #f36633;
}

#divImageMediaPreview {
cursor: pointer;
}

#divImageMediaPreview > img {
    margin-left: 5px;
    margin-top: 5px;
}

#divImageMediaPreview > img:hover {
    outline: 4px solid grey;
    outline-offset: 1px;
}

.nav-item .haleon_logo{
    width: 90px;
    height: auto;
}


@media all and (min-width: 576px) {
    label[custom-data="auftragsteller"] {
        /* margin-top: -108px; */
        display: block;
        position: relative;
    }
}

@media all and (min-width: 992px) {
    .navbar-nav>li:nth-last-child(2) {
        right: 150px;
        position: absolute;
    }

    .navbar-nav>li:last-child {
        right: 14px;
        position: absolute;
    }
}

@media all and (max-width: 991.98px) {
    .offcanvas-collapse {
        top: 47px;
    }

    .navbar-expand-lg>.container {
        margin-left: 12px;
    }

    .vorschau>div:first-child,
    .vorschau>div:last-child {
        width: 100%;
    }
    #first,
    #last {
        display: none;
    }

}

@media all and (max-width: 768px) {




}
