/*
Main responsive theme file Type 1
*/
/* 
    Created on : 22.09.2020, 11:24:13
    Author     : Jens Eberle <osticket.com.de>
*/

/* Allg. Struktur */
* {
    margin: 0px;
    padding: 0px;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

*:not(textarea) {
    /*firefox zeigt damit die Zeilenumbrüche in textareas als Leerzeichen an, nicht als Zeilenumbruch */
    white-space: normal;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    letter-spacing: 0.02rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
}

#content {
    background-color: #4c4f52;
}

h1 {
    font-size: 1.8rem;
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.4rem;
}

h4 {
    font-size: 1.2rem;
}

h5 {
    font-size: 1.0rem;
}

h6 {
    font-size: 0.8rem;
}

p {
    margin: 0.5rem 0rem;
}

p:first-of-type {
    margin-top: 0rem;
}

p:last-of-type {
    margin-bottom: 0rem;
}

.container-fluid {
    max-width: 75rem;
}

img {
    border: 0px;
    text-decoration: none;
    max-width: 100%;
    height: auto !important;

}

.black-white {
    /* black-white: */
    /* -webkit-filter: grayscale(1) invert(1);
    filter: grayscale(1) invert(0); */
}

.rounded-xlg {
    border-radius: .5rem !important;
}

a {
    color: #43BEFD;
    text-decoration: none;
}

a:focus,
a:hover {
    color: #2891c9;
    ;
    text-decoration: none;
}

.bg-lightgrey {
    background-color: transparent !important;
}

.border-lightgrey {
    border-color: #dbdcdd !important;
}

.w-40 {
    width: 40% !important;
}

/* Header */
/** message bars **/
.error_barRT,
.warning_barRT,
.notice_barRT,
.msg_error,
.msg_warning,
.msg_notice {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0.5rem 1rem;
    min-height: 1.5rem;
    margin: 0rem;
}

.error_barRT,
.warning_barRT,
.notice_barRT {
    border-radius: 0rem;
}

.msg_error,
.msg_warning,
.msg_notice {
    border-radius: 1rem;
}

.error_barRT i,
.msg_error i {
    color: #dc3545;
    font-size: 120%;
}

.warning_barRT i,
.msg_warning i {
    color: #f9b900;
    font-size: 120%;
}

.notice_barRT i,
.msg_notice i {
    font-size: 120%;
    color: #1abb3f;
}

.error_barRT.alert-dismissible .close,
.warning_barRT.alert-dismissible .close,
.notice_barRT.alert-dismissible .close,
.msg_error.alert-dismissible .close,
.msg_warning.alert-dismissible .close,
.msg_notice.alert-dismissible .close {
    padding: 0.4rem 1rem;
}

.error_barRT p,
.warning_barRT p,
.notice_barRT p,
.msg_error p,
.msg_warning p,
.msg_notice p {
    padding-left: 0.5rem;
    padding-right: 1rem;
    margin-bottom: 0rem;
}

.alert-warning {
    background-color: #ffecb0;
    border-color: #f9db7f;
}

#header-logo img {
    max-height: 5rem;
    max-width: 24rem;
}

#navbarMenueRight {
    flex-grow: 0;
}

#menueRight {
    font-size: 1.1rem;
    white-space: nowrap;
    align-items: flex-start;
}

#menueRight .flag-icon {
    width: 2em;
    line-height: 1.5em;
}

#menueRight .dropdown-menu {
    width: auto;
    min-width: auto;
    background-color: #999c9f;
}

#menueRight .nav-link {
    color: rgba(255, 255, 255, .5);
}

#menueRight .nav-link:hover {
    color: rgba(255, 255, 255, .75);
}

#menueRight .nav-link.active {
    border-top: 0.1rem solid rgba(255, 255, 255, .5);
    background-color: rgba(255, 255, 255, .1);
    border-bottom: 0.25rem solid rgba(255, 255, 255, .5);
}

@media only screen and (max-width: 768px) {
    #menueRight i {
        font-size: 150%;
    }
}

.navbar-mainNavbar {
    background: #f60;
    color: #eee !important;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.01rem;
    text-shadow: 0.05rem 0.05rem 0.2rem #333;
    box-shadow: inset 0 -2px 10px -2px rgba(0, 0, 0, 0.5);
}

.navbar-mainNavbar .navbar-text,
.navbar-mainNavbar a {
    color: rgb(13, 13, 13)
        /* im Original:!important */
    ;
    opacity: 0.8;
}


.navbar-mainNavbar a:hover {
    /* color: #333 !important; */
    text-shadow: 0.01rem 0.01rem 0.02rem #888;
    opacity: 1;

}

.navbar-mainNavbar li.active {
    background: #cc5404;
    color: #eee;
}

.navbar-mainNavbar .active a:hover {
    color: #333;
    text-shadow: 0.05rem 0.05rem 0.05rem #888;
}

#navbarMainNav i {
    font-size: 130%;
}


.mainNavFootLine {
    height: 0.2em;
}

.navbar-nav {
    margin-top: 0rem;
}

@media only screen and (min-width: 768px) {
    .navbar-mainNavbar {
        font-size: 0.9rem;
    }

    .navbar-mainNavbar li {
        padding-left: 0.5rem !important;
        border-right: 0.05rem solid #aaa;
    }

    .navbar-mainNavbar li:first-of-type {
        border-left: 0.05rem solid #aaa;
    }
}

/* Body */
/** allg. styles **/
.page-content {}

table {
    width: 100%;
}

td:not(:last-child) {
    padding-right: 0.5rem;
}

.btn-info {
    color: #fff !important;
}

.table-hover tbody tr:hover {
    background-color: #ffdbc4;
}

#ticketTable .card th {
    border-bottom: 1px solid #484848;
}

#ticketTable .card td {
    border-bottom: 1px solid #ccc;
}

#ticketTable thead th.selected,
#ticketTable td.selected {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

#ticketTable .card td.selected {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-left: none !important;
    border-right: none !important;
}

#ticketTable th.selected,
#ticketTable .card th.selected a {
    background-color: #00000040;
}

#ticketTable td.selected {
    background-color: #00000020;
}

#ticketTable .card {
    border-top-width: 0.25rem !important;
    border-right-width: 0.5rem !important;
}

/** Sidebar **/
.sidebar {
    margin-top: 40%;
}


.sidebar-bg {
    /* background-color: #dbdcdd; */
}

/** Landing page **/
#kb-search-input-lp {}

.landing_page_faq_header {
    color: #eee;
    background-color: #f60;
    font-weight: 600;
    letter-spacing: 0.01rem;
    text-shadow: 0.05rem 0.05rem 0.2rem #333;
}

/** Ticket View **/
#msg_info i {
    font-size: 2rem;
}

/* Inline image hovering with download link */
.image-hover {
    display: inline-block;
    position: relative;
    max-width: 100%;
    /* Ensure image hovered is resized */
}

.image-hover .caption {
    position: absolute;
    right: 3px;
    bottom: 5px;

    visibility: hidden;
    opacity: 0.5;
    transition: visibility 0s linear, opacity 0.2s ease-in;
}

.image-hover:hover .caption {
    visibility: visible;
    opacity: 1;
    transition-delay: 0.2s;
}

.icon-download-alt {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.icon-download-alt:before {
    content: "\f381";
}

#ticketThread {
    position: relative;
}

#ticketThread::before {
    border-left: 3px dotted #17a2b880;
    position: absolute;
    content: "";
    top: 1.5rem;
    bottom: 0;
    right: 0;
    left: 1.5rem;
}

.thread-entry .avatar,
.thread-event .avatar {
    width: 2.5rem;
    height: auto;
}

.thread-entry .avatar+.trenner {
    width: 0.5rem;
    border-top: dotted 1rem #ccc;
}

.thread-entry.response .avatar+.trenner {
    margin-left: -0.5rem;
    width: 1rem;
}

@media (min-width: 576px) {
    #ticketThread::before {
        left: 4.5rem;
    }

    .thread-entry .avatar,
    .thread-event .avatar {
        width: 3rem;
    }
}

@media (min-width: 768px) {
    #ticketThread::before {
        left: 6.5rem;
    }

    .thread-entry .avatar,
    .thread-event .avatar {
        width: 5rem;
    }
}

.avatar>img.avatar {
    width: 100%;
    height: auto;
}

.thread-event img {
    height: 2rem !important;
    width: auto !important;
    margin-right: 0.25rem;
}

.thread-event .type-icon {
    height: 2.5rem;
    width: 2.5rem;
}

/* Form Fields */
.renderedFormFieldWrap {
    display: flex;
    flex-direction: column;
}

.renderedFormFieldWrap em {
    /* Info Field Hilfstext */
    padding-bottom: 0.5rem;
}

.form-group em,
.renderedFormFieldWrap em {
    display: block;
    font-style: italic;
    letter-spacing: 0.1rem;
    text-shadow: 2px 2px 3px #999;
    font-weight: 400;
    color: #333;
}

.renderedFormFieldWrap .thread-body {
    padding: 1rem 0.5rem;
    border-bottom: 1px solid #ccc;
}

.renderedFormFieldWrap .thread-body h3 {
    /* Info Field Label */
    font-size: 120%;
    font-weight: 600;
}

.renderedFormFieldWrap .thread-body p {
    /* Info Field Hilfstext */
}

.renderedFormFieldWrap .thread-body div {
    /* Info Field Inhalt */
}

.renderedFormFieldWrap .freetext-files {
    /* Info Field AttachmentsDiv */
    background-color: #e8e8e8;
    border-bottom: 0.25rem solid #17a2b8;
}

.renderedFormFieldWrap .freetext-files .title {
    /* Info Field Attachments-TitleDiv */
    padding: 0.75rem 0.5rem 0.75rem 1.5rem;
    color: #0c5460;
    font-weight: 600;
    background-color: #d1ecf1;
    border-top: 0.025rem solid #17a2b8;
    border-bottom: 0.025rem solid #17a2b8;
}

.renderedFormFieldWrap .freetext-files .file {
    /* Info Field Attachments-filesDiv */
    display: inline-block;
    padding: 0.5rem;
}

@media (min-width: 576px) {

    /* ab sm */
    .renderedFormFieldWrap .thread-body {
        padding: 1rem 1.5rem;
    }
}

/* jsTree Dropdowns */
.renderedFormFieldWrap input,
.renderedFormFieldWrap select,
.jsTreeDisplayField {
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5 !important;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.jsTreeBox {
    color: #495057;
}

.renderedFormFieldWrap input:focus,
.renderedFormFieldWrap select:focus,
.jsTreeDisplayField:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.renderedFormFieldWrap input,
.renderedFormFieldWrap select {
    width: 100% !important;
    min-width: 1rem;
}

.renderedFormFieldWrap button.action-button {
    background-color: #17a2b8;
    color: #fff;
    border-color: #17a2b8;
    margin: 0.25rem 0.5rem;
    padding: 0.25rem;
    display: inline-block;
    font-weight: 400;
    font-size: 0.8rem;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.renderedFormFieldWrap button:hover {
    color: #fff;
    background-color: #138496;
    border-color: #117a8b;
}

/* Zeitzone-Feld*/
.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: auto !important;
}

.select2-container .select2-selection__rendered {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.5rem;
}

input[type='tel'],
input[type='tel']+* {
    margin-left: 1rem;
    margin-right: 1rem;
}

input[type='tel']+* {
    max-width: 10rem;
}

.renderedFormFieldWrap .filedrop {
    width: 100%;
    padding-bottom: 0px !important;
}

.jsTreeWrapper {
    max-width: 100% !important;
}

.form-group:last-of-type {
    border-bottom: none !important;
}

/* Checkbox styling  https://dev.to/proticm/styling-html-checkboxes-is-super-easy-302o */
.checkbox {
    display: inline-flex;
    margin: 0rem;
    cursor: pointer;
    position: relative;
}

.checkbox>input {
    height: 25px;
    width: 25px !important;
    margin: auto 1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    border: 1px solid #ced4da;
    border-radius: 4px;
    outline: none;
    transition-duration: 0.3s;
    background-color: #eee;
    cursor: pointer;
}

.checkbox>input:checked {
    border: 1px solid #6c757d;
    background-color: #06bead
}

.checkbox>input:active {
    border: 2px solid #34495E;
}

.section-break,
.section-break h3,
.section-break em,
.section-break em p {
    margin: 0rem !important;
}

.section-break h3 {
    color: #17a2b8 !important;
    font-weight: bolder;
    font-size: 1.2rem;
    padding: 1rem;
    padding-top: 0.1rem;
    border-bottom: 1px solid #17a2b8;
}

.section-break em {
    display: block;
    padding: 1.5rem !important;
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* date/timepicker popup */
#ui-datepicker-div {
    /* Popup zentrieren*/
    left: 0 !important;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 34em !important;
}

@media (max-width: 40em) {
    .ui-datepicker-group {
        width: 100% !important;
    }

    #ui-datepicker-div {
        width: 17em !important;
    }
}



/* Footer */
#footer {
    color: #bdb9b9;
}

#footer a {
    color: #f60;
    text-decoration: none;
}

#footer a:hover {
    color: #cc5404;
    transition: 0s ease-in-out;
    -webkit-transform: scale(1);
    transform: scale(1);
}

#footer .nav-item {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02rem;
    background-color: rgba(100, 100, 100, 0.5);
    text-shadow: 0.05rem 0.05rem 0.05rem #333;
}

#footer .nav-item:hover {
    background-color: rgba(110, 110, 110, 0.5);
    color: #cc5404;
}

#footer .nav-item a:hover {
    background-color: rgba(150, 150, 150, 0.5);
    text-shadow: 0.05rem 0.05rem 0.05rem #333;
}


#poweredBy {
    font-size: 0.8rem;
}

#poweredBy img {
    height: 1.5rem;
}

#loading {
    background: rgb(230, 230, 230);
    height: auto;
}

#loading .innerdiv {
    display: flex;
    align-items: center;
}

#loading i {
    font-size: 2.5rem;
    color: #cc5404;
}

#loading h4 {
    color: #f60;
}

.card-body ol,
.card-body ul {
    margin-top: 1rem;
    margin-left: 1rem;
}

.card-body ol ol,
.card-body ol ul,
.card-body ul ol,
.card-body ul ul {
    margin-top: 0;
}

ol ol li {
    list-style-type: lower-alpha;
}