﻿/*----------------------------------------------------------------------------------------------------------*/
/*This file is for overriding css from other imported packages and libraries, e.g. Radzen, Blazorise, etc...*/
/*----------------------------------------------------------------------------------------------------------*/
/* colors */
.badge-orange {
  color: #fff;
  background-color: #fd7e14;
}

/*Blazored Toast*/
/*Header*/
.blazored-toast-header {
  display: none !important;
}

.blazored-modal {
    max-height: calc(100vh - 100px);
}

/*Blazored Modal*/
/*Header*/
.bm-header {
    word-break: break-word !important;
    padding: 1em !important;
    justify-content: center !important;
}

/*Content*/
.bm-content {
    max-height: 100%;
    overflow: auto;
    padding: 1em;
    margin-top: 0.5em;
}

.bm-title {
    color: #003951;
    white-space: pre-line;
    font-size: 30px;
    font-weight: bold;
}

/*Close button*/
.blazored-modal-close {
  outline: none !important;
  color: white;
}

/* -- Radzen -- START */
/*Dropdowns*/
.rz-dropdown {
  overflow: unset !important;
  /*height: unset !important;*/
  flex-direction: column-reverse;
}

/*Labels*/
.ui-dropdown-label {
  margin-bottom: 0px;
}

.rz-dropdown-label {
  margin-bottom: 0px !important;
}

/*Calendar*/
.rz-datepicker-calendar {
  width: 300px;
}

.rz-datepicker-title {
  display: flex;
  justify-content: center;
  align-items: center;
}

/*Dropdown select width*/
.dropdown-select {
  width: 224.4px !important;
}

/* -- Radzen -- END*/
/*Selectable row color in activity tracing*/
/*.bg-primary {
    background-color: #add8e6 !important;
    border-width: 2px;
    border-color: black;
    border-style: solid;
}*/
/*Activity tracing table row height*/
.table-row-selectable {
  line-height: 14px;
}

/*Upload file button for worktask/create*/
.custom-file {
  width: 66px;
}

.custom-file-label {
  overflow: hidden;
}

.custom-file-label::after {
  padding: 0.375em;
  height: calc(1.5em + 0.9rem);
  border-radius: 0;
  background-color: #1b6ec2;
  border-color: #1861ac;
  color: white;
}

/*Input search at workers index page*/
#searchworkers {
  outline: 0;
  padding: 0 1.6rem;
  border-radius: var(--rad);
  border-color: lightgray;
  transition-property: width, border-radius;
  z-index: 1;
  position: relative;
}

/*Remove arrows form input type number ,first one is from chrome ,second for firefox */
.removearrows::-webkit-inner-spin-button,
.removearrows::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.removearrows {
  -moz-appearance: textfield;
}

/*max height of register form on register page*/
.maxheight-95 {
  max-height: 95vh;
}

/*accordion padding on workdays add*/
.accordionpadding {
  padding: 0 9px !important;
  padding-top: 15px !important;
}

/*activity tracing hover over table*/
tr.table-row-selectable:hover {
  cursor: default;
}

/*button on profile page*/
.btn-profile {
  height: 30px;
  width: 30px;
  padding: 3px;
  border-radius: 0;
}

/*pagination bar*/
.pagination {
  z-index: 0;
}

/*harcoded font size to avoid nav bar font size inheritance*/
.b-bar-item {
  font-size: 15px;
  line-height: 1.5;
}

/*header icons responsive*/
.header-responsive {
  display: flex !important;
  flex-basis: auto !important;
}

/*side bar navigation anchor tag */
.remove-decoration {
  text-decoration: none;
  color: inherit;
}
.remove-decoration:hover {
  text-decoration: none;
  color: inherit;
}

/*============*/
/* Blazorise */
/*============*/
/* Rich Text Editor */
.ql-editor {
  min-height: 150px;
  max-height: fit-content;
}

.clear-btn {
  height: 35px;
}

.input-icon {
  position: relative;
}

.input-icon > i {
  position: absolute;
  display: block;
  transform: translate(0, -50%);
  top: 50%;
  pointer-events: none;
  width: 25px;
  text-align: center;
  font-style: normal;
}

.input-icon > input {
  padding-left: 25px;
  padding-right: 0;
}

.input-icon-right > i {
  right: 11px;
}

.input-icon-right > input {
  padding-left: 12px;
  padding-right: 25px;
}

.font-16 {
  font-size: 16px;
}

.font-13 {
  font-size: 13px;
}

.font-11 {
  font-size: 11px;
}

.font-20 {
  font-size: 20px;
}

.carousel-control-prev {
  align-items: flex-start;
  top: 300px;
}

.carousel-control-next {
  align-items: flex-start;
  top: 300px;
}

.b-bar-vertical-inline.b-bar-dark .b-bar-brand .b-bar-link.active, .b-bar-vertical-popout.b-bar-dark .b-bar-brand .b-bar-link.active, .b-bar-vertical-small.b-bar-dark .b-bar-brand .b-bar-link.active {
  padding-left: 24px;
}

#cookies-alert {
  position: fixed;
  bottom: 0;
  z-index: 2;
  left: 0;
  right: 0;
  margin-left: 25%;
  margin-right: 25%;
}

.nav {
  color: #778F9D;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  border-bottom: 3.5px solid #ED880E !important;
  color: #ED880E !important;
}

.nav-tabs .nav-link {
  outline: none;
  color: #778F9D !important;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  border: none;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
  border-color: #ED880E;
}

.nav-tabs .nav-link.disabled {
  color: #D3D3D3;
}

.rz-selectbutton .rz-button.rz-state-active, .rz-selectbutton .rz-state-active.rz-paginator-element {
  background-color: #ED880E !important;
  border: solid 1px #003951 !important;
  color: white !important;
}

.rz-selectbutton .rz-button, .rz-selectbutton .rz-paginator-element {
  display: inline-block !important;
  background-color: #ffffff !important;
  color: #3a3a3a !important;
  border: solid 1px #dadfe2 !important;
  font-weight: 500 !important;
  border-radius: 0px !important;
}

.rz-datepicker-calendar td .rz-state-active {
  background-color: #ED880E;
}

.rz-dropdown-item.rz-state-highlight, .rz-state-highlight.rz-menuitem, .rz-state-highlight.rz-autocomplete-list-item, .rz-state-highlight.rz-multiselect-item, .rz-dropdown-items li.rz-state-highlight, .rz-autocomplete-items li.rz-state-highlight, .rz-multiselect-items li.rz-state-highlight {
  background-color: #ED880E;
}

.rz-dropdown-item:hover, .rz-menuitem:hover, .rz-autocomplete-list-item:hover, .rz-multiselect-item:hover, .rz-dropdown-items li:hover, .rz-autocomplete-items li:hover, .rz-multiselect-items li:hover {
  background-color: #ED880E;
}

.b-bar-vertical-inline.b-bar-dark .b-bar-link.active, .b-bar-vertical-popout.b-bar-dark .b-bar-link.active, .b-bar-vertical-small.b-bar-dark .b-bar-link.active {
  background: #ED880E;
}

.b-bar-vertical-inline.b-bar-dark .b-bar-dropdown-menu .b-bar-dropdown-item.active, .b-bar-vertical-popout.b-bar-dark .b-bar-dropdown-menu .b-bar-dropdown-item.active, .b-bar-vertical-small.b-bar-dark .b-bar-dropdown-menu .b-bar-dropdown-item.active {
  background: #ED880E;
}

.b-bar-vertical-inline.b-bar-dark .b-bar-link:hover, .b-bar-vertical-popout.b-bar-dark .b-bar-link:hover, .b-bar-vertical-small.b-bar-dark .b-bar-link:hover {
  background: var(--b-bar-item-dark-hover-background, rgba(255, 255, 255, 0.3)) !important;
}

.b-bar-vertical-inline, .b-bar-vertical-popout, .b-bar-vertical-small {
  box-shadow: none !important;
}

.badge-primary {
  background-color: #003951;
}

::-webkit-scrollbar {
  width: 6px !important;
  --rz-scrollbar-size:10px;
}

::-webkit-scrollbar-thumb {
  background: #003951 !important;
}

.form-control:focus {
  border-color: #ED880E;
}

.corners {
  background: #FFF;
  /*height: 500px;*/
  margin: 5em auto 0;
  max-width: 1024px;
  line-height: 25px;
  position: relative;
  width: 80%;
  font-family: arial;
  font-size: 14px;
  padding: 10px;
  padding-top: 40px;
  -webkit-box-shadow: 0 1px 7px hsla(0deg, 0%, 0%, 0.2);
  -moz-box-shadow: 0 1px 7px hsla(0deg, 0%, 0%, 0.2);
  box-shadow: 0 1px 7px hsla(0deg, 0%, 0%, 0.2);
}

/* Corner Effect */
.corners:after,
.corners:before {
  background: #e6e6e6;
  content: "";
  height: 50px;
  position: absolute;
  top: -25px;
  width: 100px;
  -webkit-box-shadow: 0 5px 10px -7px hsla(0deg, 0%, 0%, 0.5);
  -moz-box-shadow: 0 5px 10px -7px hsla(0deg, 0%, 0%, 0.5);
  box-shadow: 0 5px 10px -7px hsla(0deg, 0%, 0%, 0.5);
}

.corners:after {
  left: -50px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.corners:before {
  right: -50px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.corners p {
  word-break: break-all;
}

/*Change to tooltip left and right padding so it doesnt overflow*/
[data-tooltip]:not(.is-loading)::before, [data-tooltip]:not(.is-disabled)::before, [data-tooltip]:not([disabled])::before {
  padding: var(--b-tooltip-padding, 0.25rem 0.5rem);
}

.dropdown-item {
  padding: 10px;
}

.dropdown-item:focus, .dropdown-item:hover {
  background-color: #DEE2E6;
}

.dropdown-item.active, .dropdown-item:active {
  background-color: inherit;
}

.dropdown-menu {
  padding: 0.25rem 0;
}

.position-static {
  position: relative !important;
}

.table-row-selectable {
  line-height: 1.25 !important;
}

.page-item.active .page-link {
  background-color: #ED880E !important;
  color: white !important;
}

.page-item:not(.disabled):not(.active) .page-link:hover {
  background-color: #ED880E !important;
  color: white !important;
}

.rz-selectbutton {
  text-align: center;
}

.table-fixed-header .table thead tr th {
  z-index: 1;
}

.b-numeric-handler-wrap {
  display: none;
}

.b-numeric {
  width: auto;
}

textarea.form-control {
  min-height: 5em;
  min-width: 14em;
}

.step-active .step-text {
  color: #ED880E;
}

.step-active .step-circle {
  background-color: #ED880E;
  border-color: #ED880E;
}

.step-active .step-circle::before {
  color: #ED880E;
}

.step-text {
  font-size: 0.75rem;
}

.steps-content {
  margin-bottom: 2rem;
  position: relative;
}

.steps-content > .active {
  position: absolute;
  font-family: serif;
  top: 0;
  color: #003951;
}

.rounded-lg {
  border-radius: 1em !important;
}
