* {
    font-style: normal;
    font-weight: 100;
    caret-color: #ed7e23 !important;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: brandon-grotesque, sans-serif;
    padding-top: 100px;
    margin-bottom: 20px;
    min-height: 100vh;
    height: 100vh;
    background: rgb(255, 255, 255); /* Old browsers */
    background-image: linear-gradient(to left, #e4e4e4, #fefefe 100%);
}


.fixed-top-2 {
    margin-top: 50px;
}

.navbar {
    padding: 0px 15px 0px 15px !important;
    white-space: nowrap !important;
}

.navbar2 {
    background-color: #f8f9fb !important;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(200, 200, 200, 1);
    -moz-box-shadow: 0px 0px 20px 0px rgba(200, 200, 200, 1);
    box-shadow: 0px 0px 20px 0px rgba(200, 200, 200, 1);
}

#uitemplateitems_card,.shadow-grey {
    -webkit-box-shadow: 0px 0px 15px 0px rgba(200, 200, 200, 1);
    -moz-box-shadow: 0px 0px 15px 0px rgba(200, 200, 200, 1);
    box-shadow: 0px 0px 15px 0px rgba(200, 200, 200, 1);
}



.input-group .form-control {
    margin-bottom: 0px !important;
}

.navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show > .nav-link, .navbar-dark .navbar-nav .active > .nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show > .nav-link {
    color: #ed7e23 !important;
}

body > div.modal.fade.DTED.show > div > div > div > div.DTE_Footer.modal-footer > div.DTE_Form_Buttons > button {
    background-color: #ed7e23 !important;
    color: #000 !important;
}

#myTab > li > a {
    color: #ed7e23 !important;
}

.bodylogin {
    background: radial-gradient(circle, transparent 50%, black 150%), url('/images/login-landing.png') bottom right no-repeat fixed;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.form-control:focus {
    border-color: #ed7e23 !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(237, 126, 35, 0.6) !important;
}

.btn-mediativ {
    color: white !important;
    background-color: #ed7e23 !important;
    border-color: #ed7e23 !important;
}

.btn-mediativ:hover {
    background-color: #ed5000 !important;
    border-color: #ed5000 !important;
}

.btn.btn-card-toggle {
    color: rgb(108, 117, 125);
}

.btn.btn-card-toggle:hover {
    color: #000;
}

.btn.btn-card-toggle:hover .text-mediativ {
    color: #ed5000 !important;
}

.text-mediativ {
    color: #ed7e23 !important;
}

table td > button:not(.btn-outline-secondary) {
    box-shadow: 0 0 0 1px #6c757d;
}

.bg-mediativ {
    background-color: #ed7e23 !important;
}

/* Custom checkbox styling with Mediativ color */
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #ed7e23 !important;
    border-color: #ed7e23 !important;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(237, 126, 35, 0.25) !important;
}

.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    background-color: #ed7e23 !important;
    border-color: #ed7e23 !important;
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    background-color: #ed7e23 !important;
    border-color: #ed7e23 !important;
}

.text-background {
    color: #555 !important;
}

.footer {
    opacity: 0.75;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20px;
}

.footer p {
    margin: 0px !important;
}

.userpanel {
    margin-right: 20px !important;
}

.userpanel .user {
    color: rgba(255, 255, 255, .5) !important;
}

.page-item.active .page-link {
    background-color: #ed7e23 !important;
    border-color: #ed7e23 !important;
    color: #000 !important;
}

.page-link {
    color: #ed7e23 !important;
}

.page-item.active .page-link {
    color: #ffffff !important;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #343a40 !important;
    background: #ed7e23 !important;
    font-weight: normal !important;
    color: #fff !important;
}

.ui-accordion-content {
    padding: 5px !important;
}

.ui-accordion .ui-accordion-header {
    padding: 3px !important;
}

.modal-full {
    min-width: 20%;
    margin-left: 80px;
}

.modal-full .modal-content {
    min-height: 100vh;
}

.cursor-pointer {
    cursor: pointer;
}

.chosen-container-active .chosen-choices {
    border: 1px solid #ed7e23 !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(237, 126, 35, 0.6) !important;
}

.slick-prev:before, .slick-next:before {
    color: #ed7e23 !important;
}

.previewslide .card-text {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.previewslide {
    height: 247px;
    opacity: 0;
    overflow: hidden;
    transition: opacity 200ms ease-in;
}

.previewslide.slick-initialized {
    opacity: 1;
    overflow: visible;
}

/* --- DataTables: keep wide tables inside their card ---------------------- */

/* Most of our tables carry the "nowrap" class, so a cell never wraps and the
   table simply grows as wide as its longest value - past the card and past the
   page, which pushed the whole layout sideways. Every DataTable gets this
   scroll container (see base.blade.php) so an over-wide table scrolls on its
   own instead. */
.dt-hscroll {
    overflow-x: auto;
}

/* Free text that is cut off with an ellipsis instead of widening its column.
   Emitted by dtTruncRender(), which keeps the full value in the title. */
table.dataTable span.dt-trunc {
    display: inline-block;
    max-width: 20rem;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

/* The search box sits in a col-sm-2 in most of our dom strings, which is
   narrower than the label ("Search:" plus the input) wants to be - so it stuck
   out of its column and, on pages without a card around it, past the page
   edge. inline-flex keeps the label shrink-to-fit (and therefore right-aligned
   as before) while letting the input give way when the column is tight. */
.dataTables_wrapper .dataTables_filter label {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.dataTables_wrapper .dataTables_filter input {
    min-width: 0;
    flex: 0 1 auto;
}

/* Badge cells (groups, stop times, ...) wrap on purpose, but the column must
   not get arbitrarily wide either - the badges break into a second line once
   they hit this width. */
table.dataTable div.dt-badges {
    white-space: normal;
    max-width: 26rem;
}
