html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* zusätzlich */

.selected-item {
    background-color: #eaf0fe !important;
    font-weight: bold;
}

.nav-link {
    color: gray !important;
    font-size: 13px !important;
}

    .nav-link.active {
        color: black !important;
        font-weight: bold;
    }

    .nav-link:hover {
        color: #E4342D !important;
    }




.fixed-size-table {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    display: block;
    border: 1px solid #ddd;
}

    .fixed-size-table table {
        width: 100%;
        border-collapse: collapse;
    }


.scrollable-list {
    max-height: 300px;
    overflow-y: auto;
    border-top: 1px solid #ddd;
}

.tmc-button-color {
    background-color: #E4342D !important;
    color: white !important;
}

    .tmc-button-color:hover {
        background-color: firebrick !important;
        color: black !important;
    }






/* ------------------------------------------------- Matthias neu Telerik ------------------------------------------------- */


:root {
    --kendo-font-size: 11px;
    --kendo-line-height: 1.0;
}

/* Globale Schriftgröße für Telerik-Komponenten */
.k-grid,
.k-button,
.k-textbox,
.k-dropdown,
.k-input,
.k-combobox {
    font-size: 11px !important;
}

/* Schriftgröße für Tabellen (TelerikGrid) */
.k-grid {
    font-size: 11px !important;
    border-radius: .375rem !important;
    /*box-shadow: 6px 6px 14px 1px silver;*/ /*Hier schatten löschen falls nicht erwünscht*/
}


.k-form-label {
    margin-top: 4px !important;
    margin-bottom: 2px !important;
}




/* Schriftgröße in den Tabellen-Headern */
.k-grid-header th {
    font-size: 11px !important;
    padding: 2px 4px !important;
}

/* Schriftgröße in den Tabellenzellen */
.k-grid td {
    font-size: 11px !important;
    padding: 2px 4px !important;
}

/* Buttons kompakter mit größerer Schrift */
.k-button {
    padding: 2px 8px !important;
    min-height: 22px !important;
    font-size: 13px !important;
    text-align: center !important;
    vertical-align: central !important;
    align-items: center !important;
    align-content: center !important;
}

.k-button-icon {
    text-align: center !important;
    vertical-align: central !important;
    align-items: center !important;
    align-content:center !important;
    padding-bottom: 5% !important;
}


/* Formularelemente kompakter mit größerer Schrift */
.k-form .k-label,
.k-form .k-input,
.k-form {
    font-size: 12px !important;
    padding: 3px !important;
}

/* Zeilenhöhe beibehalten */
.k-grid tr {
    height: 22px !important;
    border-bottom: 0.8px solid #ddd !important;
}

/* Toolbar-Abstand */
.k-grid-toolbar {
    padding: 2px !important;
    border-top-left-radius: .375rem !important;
    border-top-right-radius: .375rem !important;
}

.k-toolbar {
    padding: 2px !important;
}

/* Abstand zwischen Formgruppen */
.k-form .k-form-group {
    margin-bottom: 4px !important;
}

/* Feinere Linien zwischen Spalten und Zeilen */
.k-grid td,
.k-grid-header th {
    border-width: 0.8px !important;
    border-color: #ccc !important;
}

/* Kleinere Comboboxen mit größerer Schrift */
.compact-combobox .k-dropdown-wrap {
    height: 22px !important;
    font-size: 13px !important;
}

/* Linienabstand weiter reduzieren */
.k-grid-header th,
.k-grid td {
    border-width: 0.5px !important;
    padding: 2px 4px !important;
}



/* Buttons noch kompakter mit größerer Schrift */
.k-button {
    padding: 2px 8px !important;
    min-height: 22px !important;
    font-size: 13px !important;
}

/* Abstand zwischen den Formelementen */
.k-form .k-form-group {
    margin-bottom: 4px !important;
}

/* Form-Überschriften */
.k-form-legend {
    margin-top: 3px !important;
    margin-bottom: 0px !important;
    font-size: 13px !important;
}

.k-label {
    margin-top: 4px !important;
    margin-bottom: 0px !important;
    font-size: 13px !important;
}

.k-form-fieldset {
    margin-top: 3px !important;
    margin-bottom: 0px !important;
    font-size: 13px !important;
}

.k-form-field {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    font-size: 13px !important;
}

/* Pfeile in NumericTextbox entfernen */
.k-numerictextbox .k-spinner-increase {
    display: none !important;
}

.k-numerictextbox .k-spinner-decrease {
    display: none !important;
}

/* Tabellen-Header-Höhe */
.k-grid-header {
    height: 28px !important;
}

/* Kleinere Eingabefelder mit größerer Schrift */
.k-input,
.k-textbox,
.k-dropdown,
.k-combobox .k-dropdown-wrap {
    min-height: 22px !important;
    padding: 2px 6px !important;
    font-size: 13px !important;
}

/* Kleinere Textareas mit größerer Schrift */
textarea.k-input {
    font-size: 12px !important;
    min-height: 30px !important;
}

/* Abstände in den Toolbars */
.k-grid-toolbar .k-button {
    margin: 0 2px !important;
    padding: 2px 6px !important;
    font-size: 12px !important;
}


/* Selectet Farbe von Blau auf Rot */

.k-grid tr.k-selected {
    background-color: #E4342D !important;
    color: white !important;
}

.k-grid tr.k-hover {
    background-color: transparent !important;
}


.k-grid tr.k-selected:focus {
    background-color: #E4342D !important;
    outline: none !important;
    box-shadow: none !important;
}


.k-grid .k-state-selected {
    background-color: #E4342D !important;
    color: white !important;
}

/*
.k-grid tr.k-selected:hover {
    background-color: #E4342D !important;
}


.k-grid tr.k-selected td {
    border-color: #E4342D !important;
}*/


.k-grid tr.k-selected {
    /*    background-color: #E4342D !important;*/
    background-color: rgba(228, 52, 45, .1) !important;
    color: black !important;
}


    .k-grid tr.k-selected td {
        background-color: rgba(228, 52, 45, .1) !important;
        color: black !important;
        /* opacity: 0.2 !important;*/
    }


    .k-grid tr.k-selected:hover td {
        background-color: rgba(228, 52, 45, .1) !important;
    }


    .k-grid tr.k-selected:focus td {
        background-color: rgba(228, 52, 45, .1) !important;
        outline: #000000 !important;
        /*box-shadow: none !important;*/
    }


/*.k-grid .k-grid-content {
    scrollbar-width: medium !important;
    scrollbar-color: #c0c0c0 transparent !important;
}*/



/*  Hovereffekt für input etc.  */
.k-input.k-focus,
.k-textbox.k-focus,
.k-searchbox.k-focus,
.k-autocomplete.k-focus,
.k-multiselect.k-focus,
.k-dropdown.k-focus,
.k-datepicker.k-focus,
.k-combobox.k-focus {
    border-color: #777773 !important;
    box-shadow: 0 0 5px #777773 !important;
    outline: none !important;
}


.k-state-focused,
.k-state-active {
    border-color: #777773 !important;
    box-shadow: 0 0 5px #777773 !important;
}


.k-searchbox:focus-within,
.k-input:focus-within {
    border-color: #777773 !important;
    box-shadow: 0 0 5px #777773 !important;
}

/* Suchefeld vergrössern */
/*k-grid-search {
    min-width: 1120px !important;
}*/

.k-input-inner {
    padding-left: 3px !important;
    padding-right: 3px !important;
}

.k-searchbox {
    min-width: 150px !important;
    height: 25.5px !important;
}

.k-toolbar-spacer {
}


/* Hintergrundfarbe Checkbox auf Rot */
.k-checkbox:checked {
    background-color: #777773 !important;
    border-color: #777773 !important;
}


    .k-checkbox:checked::before {
        color: white !important;
    }


    .k-checkbox:focus,
    .k-checkbox:checked:focus {
        /* outline: 0.5px solid #1D1D1B !important;*/
        box-shadow: 0 0 5px #777773 !important;
        /*border-color: #E4342D !important;*/
        border-color: #777773 !important;
    }


    .k-checkbox:checked + .k-checkbox-label {
        color: #777773 !important;
    }



/* Kontrast schaffen */

/*.k-checkbox,
.k-radio {
    background-color: #F8F7F7 !important;
}*/

/* Hintergrundfarbe */
/*.k-input,
.k-textbox,
.k-dropdown .k-input,
.k-multiselect .k-input,
.k-datepicker .k-input,
.k-combobox .k-input {
    background-color: #F8F7F7 !important;
}



.k-state-active,
.k-state-focused {
    background-color: #FFFFFF !important;  
}*/


.geopr-gray {
    background-color: #F8F7F7 !important;
    border-radius: .375rem !important;
}

.georp-shadow {
    box-shadow: 6px 6px 14px 1px silver;
    /*10px 10px 15px 7px silver;*/
    border-radius: .375rem !important;
}

/*
.no-legend-border .k-form-fieldset:first-child > .k-form-legend::before {
    display: none !important;
}

.no-legend-border .k-form-fieldset:first-child  .k-form-legend {
    border: none !important;
    padding-top: 0 !important;
    margin-top: -5px !important; 
}
*/


/* Neu */

.mass-modification-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.form-label-switch-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.telerik-blazor input.k-input, .telerik-blazor .k-numerictextbox {
    width: 100%;
}


.custom-checkbox-sizing {
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}


    .custom-checkbox-sizing .k-checkbox-wrap {
        height: 40px;
        width: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .custom-checkbox-sizing .k-checkbox-box {
        width: 124px;
        height: 124px;
        border-radius: 4px;
    }




/* Pattern styles */
.left-half {
    float: left;
    width: 49%;
}

.right-half {
    float: left;
    width: 49%;
}

.custom-grid {
    font-size: 11px !important;
    border-radius: .375rem !important;
    box-shadow: none !important;
}

/*.custom-antenna-form .k-form-buttons.k-actions-start {
    margin: 10px !important;
   
}

:deep(.custom-antenna-form .k-form-buttons.k-actions-start) {
    margin: 10px !important;
}
*/


.label-azimuth {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
    font-size: 11px;
    position: relative;
    vertical-align: middle;
    margin-bottom: 0rem;
    padding-top: 0.25rem;
    padding-bottom: 2.5px;
}


/*    .label-azimuth:hover::after {
        content: attr(data-fulltext);
        position: fixed; 
        background: rgba(0, 0, 0, 0.85);
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        white-space: normal;
        z-index: 9999;
        max-width: 300px;
        
        left: 10px;
        top: calc(100% + 10px);
    }*/

/*.k-form-field-wrap {
    margin-bottom: 1rem;
}*/

.k-form-field-wrap {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 4px !important; 
}

.scaled-container {
    transform: scale(0.75);
    transform-origin: right center;
    display: inline-block;
}

/* Switch */
.k-switch {
    transform: scale(0.6);
    transform-origin: right center;
}


.k-switch-track {
    height: 12px;
}

.k-switch-thumb {
    height: 16px;
    width: 16px;
}




/* Checkbox */
/*.k-checkbox {
    transform: scale(1.5) !important;
    transform-origin: left center !important; 
}*/

/*.checkbox-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;

}
*/
/*.checkbox-wrapper*/
/*.k-checkbox {
    margin-top: 8px;
    transform-origin: right center;*/
/*        vertical-align: middle;
        align-items: center;
        justify-content: flex-end;*/

/*margin-left: 1rem !important;

}*/




.label-ellipsis {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
    font-size: 12px;
    position: relative;
    vertical-align: middle;
}

    .label-ellipsis:hover::after {
        content: attr(data-fulltext);
        position: absolute;
        background: rgba(0, 0, 0, 0.85);
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        white-space: normal;
        z-index: 9999;
        max-width: 300px;
        top: 100%;
        left: 0;
    }

/*
.card {
    transform: scale(0.95) !important;
}*/

/*.k-grid-header th,
.k-grid-content td {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    vertical-align: middle !important;
}*/


/*.k-grid-header th,*/
.k-grid-content td {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    margin-bottom: 8px !important;
    vertical-align: middle !important;
}

/*.spacer {
    display: inline-block;
    width: 80px !important;
}*/

.form-checkbox {
    margin-top: 5px !important;
}

.size-checkbox {
    height: 25px !important;
    width: 25px !important;
}

.k-input-inner {
    border-radius: 5px !important;
    font-size: 13px !important;
}


table {
    width: 100%;
    table-layout: auto;
}


.vertical-bottom {
    text-align: center;
    padding: 10px;
    vertical-align: bottom;
}

.title {
    text-align: center;
    padding: 10px;
    vertical-align: middle;
}

.td-buttons {
    text-align: center;
    padding: 10px;
    vertical-align: middle;
}

td button, th button {
    white-space: nowrap;
    padding: 5px 10px;
    font-size: 0.9rem;
}

th {
    font-weight: bold;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.k-button-text td {
    font-size: 13px !important;
}

.k-input-value-text {
    font-size: 13px !important;
}

.k-label .k-form-label td {
    font-size: 13px !important;
    font-weight: bold !important;
}

.k-grid-content td {
    padding-bottom: 3px !important;
    padding-top: 3px !important;
    font-size: 13px !important;
}
.k-grid-header td {
    font-size: 13px !important;
    font-weight: bold !important;
}


.k-column-title {
    font-size: 13px !important;
}
