.notifications .segment {
    border-top: none !important;
}

.notifications .segment.green {
    background-color: #f5fdf5
}

.notifications .segment.red {
    background-color: #fff6f6
}

.login-form {
    max-width: 400px;
    margin: auto;
    margin-top: 75px;
}

.login-form .title {
    margin-bottom: 5rem;
    text-align: center;
}

.login-form h1 {
    font-size: 1.5rem
}

.login-form h2 {
    font-size: 2rem;
}

.ui.day.segment.background {
    border: 0;
    box-shadow: none;
}

.ui.day.segment.background {
    padding: 0;
    border: 0;
    box-shadow: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.ui.red.day.segment.background.segment.segment.segment.segment:not(.inverted) {
    border: 1px solid #f2f2f2;
    border-left: 3px solid #db2828;
}

.ui.orange.day.segment.background.segment.segment.segment.segment:not(.inverted) {
    border: 1px solid #f2f2f2;
    border-left: 3px solid #f2711c
}

.ui.yellow.day.segment.background.segment.segment.segment.segment:not(.inverted) {
    border: 1px solid #f2f2f2;
    border-left: 3px solid #fbbd08
}

.ui.olive.day.segment.background.segment.segment.segment.segment:not(.inverted) {
    border: 1px solid #f2f2f2;
    border-left: 3px solid #b5cc18
}

.ui.green.day.segment.background.segment.segment.segment.segment:not(.inverted) {
    border: 1px solid #f2f2f2;
    border-left: 3px solid #21ba45
}

.ui.teal.day.segment.background.segment.segment.segment.segment:not(.inverted) {
    border: 1px solid #f2f2f2;
    border-left: 3px solid #00b5ad
}

.ui.blue.day.segment.background.segment.segment.segment.segment:not(.inverted) {
    border: 1px solid var(--border-color);
    border-left: 3px solid #2185d0;
}

.ui.violet.day.segment.background.segment.segment.segment.segment:not(.inverted) {
    border: 1px solid #f2f2f2;
    border-left: 3px solid #6435c9
}

.ui.purple.day.segment.background.segment.segment.segment.segment:not(.inverted) {
    border: 1px solid #f2f2f2;
    border-left: 3px solid #a333c8
}

.ui.pink.day.segment.background.segment.segment.segment.segment:not(.inverted) {
    border: 1px solid #f2f2f2;
    border-left: 3px solid #e03997
}

.ui.brown.day.segment.background.segment.segment.segment.segment:not(.inverted) {
    border: 1px solid #f2f2f2;
    border-left: 3px solid #a5673f
}

.ui.grey.day.segment.background.segment.segment.segment.segment:not(.inverted) {
    border: 1px solid #f2f2f2;
    border-left: 3px solid #767676
}

.ui.black.day.segment.background.segment.segment.segment.segment:not(.inverted) {
    border: 1px solid #f2f2f2;
    border-left: 3px solid #1b1c1d
}


.ui.selection.dropdown.status {
    padding-top: 3.5px !important;
    padding-bottom: 3.5px !important;
    padding-left: 10px !important;
}

.ui.selection.dropdown.status .ui.label, .ui.selection.dropdown.status .text {
    width: 100%;
}

.ui.selection.dropdown.status .default.text {
    padding: 7px;
}

.ui.selection.dropdown.status .menu > .item {
    padding-top: 3.5px !important;
    padding-bottom: 3.5px !important;
    padding-left: 10px !important;
}

.ui.label.referenceno {
    border: 1px solid gray;
    border-left: 5px solid gray;
    background-color: #EAEAEA;
    border-radius: 0;
    color: black;
}

.ui.label.late {
    border-radius: 0;
    text-transform: uppercase;
}

.ui.label.delay {
    border-radius: 0;
    text-transform: uppercase;
}

.ui.table .timewindow-col {
    min-width: 160px;
}

.ui.label.Booking, .ui.label.Inspection {
    border: 1px solid #EAEAEA;
    border-left: 5px solid #EAEAEA;
    border-radius: 0;
    color: black;
}

.Booking.PREBOOKED {
    background-color: #fff8e6;
    border-color: #fbbd08 !important;
}

.Booking.BOOKED {
    background-color: #f0faeb;
    border-color: #66CC33 !important;
}

.Booking.ARRIVED {
    background-color: #fff0e6;
    border-color: #f26202 !important;
}

.Booking.PROCESSING {
    background-color: #e6fffe;
    border-color: #00b5ad !important;
}

.Booking.PROCESSED {
    background-color: #f3e3fb;
    border-color: #B200FF !important;
}

.Booking.CLOSED {
    background-color: #EAEAEA;
    border-color: gray !important;
}

.Booking.CANCELLED {
    background-color: white;
    color: gray !important;
}


/* INSPECTION STATUS */
.Inspection.OPEN {
    background-color: #f0faeb;
    border-color: #66CC33 !important;
}

.Inspection.CLOSED {
    background-color: #EAEAEA;
    border-color: gray !important;
}

.Inspection.PLANNED {
    background-color: #fff8e6;
    border-color: #fbbd08 !important;
}

/*
    SCHEDULE MONTH
*/

.schedule.monthly {
    width: 100%;

    /*border-top: 1px solid #EAEAEA;
    border-left: 1px solid #EAEAEA;*/
}

.schedule.monthly .days {
    font-size: 0;
}

.schedule.monthly .days .day {
    font-size: 0.9rem;
    color: gray;
    font-weight: bold;
    height: 30px;
    border: none;
    text-align: center;
    padding: 5px;
    /*border-right: 1px solid #EAEAEA;*/
    border-bottom: 1px solid #DBDBDB;
    border-left: none !important;
}

.schedule.monthly .week {
    font-size: 0.9rem;
    color: gray;
    font-weight: bold;
    display: inline-block;
    width: 2%;
    vertical-align: middle;
    line-height: 140px;

    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.schedule.monthly .day {
    display: inline-block;
    width: 14%;
    /*border: 1px solid #EAEAEA;*/
    border-bottom: 1px solid #DBDBDB;
    border-right: 1px solid #DBDBDB;
    height: 140px;
    vertical-align: top;
    padding: 10px;
    color: black;
    position: relative;
    /*margin: 0.5px;*/
    /*border-radius: 4px;*/
}

.schedule.monthly .day:not(.header):hover {
    transform: scale(1.07);
    transition: transform 0.2s;
    border: 1px solid var(--main-color) !important;
    background: white;
    z-index: 2;
}

.schedule.monthly .day.monday {
    border-left: 1px solid #DBDBDB;
}

.schedule.monthly .day .no {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    line-height: 32px;
    color: black;
    display: inline-block;
    height: 32px;
    width: 32px;
    margin-top: -5px;
    margin-left: -5px;
}

.schedule.monthly .day.today {
    /*border-color: gray;*/
}

.schedule.monthly .day.today .no {
    color: white !important;
    background-color: #2185d0;
    border-radius: 20px;
}

.schedule.monthly .day .template {
    display: inline-block;
    color: gray;
    padding-left: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

@media (max-width: 1300px) {
    .schedule.monthly .day .template {
        display: none;
    }
}

.schedule.monthly .day .pallets {
    position: absolute;
    right: 0;
    top: -5px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.8rem;
    font-weight: bold;
    text-align: right;
}

@media (max-width: 1300px) {
    .schedule.monthly .day .pallets {
        display: none;
    }
}

.schedule.monthly .day .bottom {
    position: absolute;
    bottom: 5px;
    width: calc(100% - 1.5rem);
}

.schedule.monthly .day .holiday.label {
    background-color: #fff5f5 !important;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1300px) {
    .schedule.monthly .day .holiday.label {
        display: none;
    }
}

.schedule.monthly .day .progress, .schedule.monthly .day .progress .bar {
    height: 17px;
}

.schedule.monthly .day .progress .text {
    position: absolute;
    width: 100%;
    text-align: right;
    color: black;
    font-size: 0.8rem;
    line-height: 1.35rem;
    vertical-align: top;
    padding-left: 3px;
    padding-right: 3px;
    z-index: 1;
    font-weight: bold;
}

.schedule.monthly .day .round.labels .label {
    width: 29px;
    height: 29px;
    border-radius: 35px;
    padding: 8px 0;
    text-align: center;
    font-size: 0.8rem;
    background-color: transparent;
    margin-right: 0;
}

/*.schedule.monthly .day.saturday, .schedule.monthly .day.sunday {
  background-color: #FAFAFA;
}*/

/*.schedule.monthly .day.today {
  background-color: #f2fcfd;
}*/

.schedule.monthly .day.closed {
    background-color: #f8f8f8;
}

.schedule.monthly .day.closed.no-template {
    background: repeating-linear-gradient(
            45deg,
            white,
            white 10px,
            #f8f8f8 10px,
            #f8f8f8 20px
    );
}

.schedule.monthly .day.closed .no {
    color: gray;
}

.schedule.monthly .filler {
    display: inline-block;
}

.schedule.monthly .filler.fill-1 {
    display: none;
}

.schedule.monthly .filler.fill-2 {
    width: 14.285%;
}

.schedule.monthly .filler.fill-3 {
    width: 28.57%;
}

.schedule.monthly .filler.fill-4 {
    width: 42.855%;
}

.schedule.monthly .filler.fill-5 {
    width: 57.14%;
}

.schedule.monthly .filler.fill-6 {
    width: 71.425%;
}

.schedule.monthly .filler.fill-0 {
    width: 85.71%;
}

/*
    SCHEDULE DAY
*/

.schedule.day {
    width: 100%;
    margin-top: 20px;
    /*overflow-y: hidden;
    overflow-x: auto;*/
}

.schedule.day .inner {
    white-space: nowrap;
}

.schedule.day .hours {
    display: inline-block;
    width: 60px;
    border-right: 1px solid #DBDBDB;
    position: relative;
    position: -webkit-sticky;
    position: sticky;
    left: -30px;
    background-color: white;
    z-index: 3;
}

.schedule.day .slots {
    display: block;
    white-space: nowrap;

    position: -webkit-sticky;
    position: sticky;
    top: -30px;
    background-color: white;
    z-index: 2;
}

.schedule.day .slots .header {
    display: inline-block;
    width: 130px;
    border-bottom: 1px solid #DBDBDB;
    vertical-align: bottom;
}

.schedule.day .slots .header:first-child {
    display: inline-block;
    width: 60px;
    border-bottom: none !important;
}

.schedule.day .header, .schedule.day .header .icon {
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
}

.schedule.day .hours .hour {
    position: relative;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    height: 60px;
    box-sizing: border-box;
    text-align: right;
    font-weight: bold;
    padding: 0px 10px 5px 5px;
}

.schedule.day .hours .hour.past, .schedule.day .hours .hour.past.muted {
    color: rgba(0, 0, 0, 0.4);
}

.schedule.day .hours .hour .timeline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 2px solid #ff0000;
    color: #ff0000;
    /*background: #eaeaea;*/
}

.schedule.day .hours .hour .timeline .arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.schedule.day .hours .hour .timeline .text {
    vertical-align: bottom;
    font-size: 0.8rem;
    font-weight: normal;
}

.schedule.day .hours .hour .muted {
    font-size: 0.8rem;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.6);
}

.schedule.day .slot {
    white-space: normal;
    display: inline-block;
    width: 130px;
    vertical-align: top;
}

.schedule.day .slot .header {
    border-right: 1px solid #DBDBDB;
    z-index: 1;
    position: relative;
}

.schedule.day .cell {
    border-right: 1px solid #DBDBDB;
    border-bottom: 1px solid #DBDBDB;
    box-sizing: border-box;
    text-align: center;
    font-size: 0.9rem;
    padding: 1px;
    position: relative;
}

.schedule.day .cell .ui.dropdown.item {
    display: none;
}

.schedule.day .cell:hover .ui.dropdown.item {
    display: block;
    position: absolute;
    z-index: 6;
    right: 3px;
}

.schedule.day .cell .frame {
    /*border: 1px solid #EAEAEA;*/
    height: 100%;
    padding: 5px;
    overflow: hidden;
    display: block;
    color: black;
    border-radius: 2px;
}

.schedule.day .cell:hover .frame:not(.CLOSED) {
    transform: scale(1.1);
    transition: transform 0.2s;
    z-index: 5;
    position: relative;
}

.schedule.day .cell:hover .frame.Booking {
    transform: scale(1.1);
    transition: transform 0.2s;
    z-index: 5;
    position: relative;
}

.schedule.day .cell:hover .frame.OPEN, .schedule.day .cell:hover .frame.EMERGENCY {
    background: white;
    border: 1px solid var(--main-color) !important;
}

.schedule.day .cell .frame:not(.len30) .text {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: calc(100% - 10px);
    /*pointer-events: none;*/
}

.schedule.day .cell .frame .icon {
    pointer-events: none;
}

.schedule.day .cell .frame .processes {
    position: absolute;
    bottom: 0;
    right: 5px;
}

.schedule.day .cell .frame .processes .label {
    width: 0.4em;
    height: 0.4em;
    padding: 0.45em !important;
    opacity: 0.75;
    margin: 0;
}

.schedule.day .cell .frame.CLOSED:not(.Booking) {
    background: repeating-linear-gradient(
            45deg,
            white,
            white 10px,
            #f8f8f8 10px,
            #f8f8f8 20px
    );
    font-size: 0;
}

.schedule.day .cell .frame.OPEN {
    color: rgba(0, 0, 0, 0.5);
    /*color: rgba(0, 153, 26, 0.7);*/
    position: relative;
    border: none;
    line-height: 1.3rem;
}

/*.schedule.day .cell .frame.OPEN:before {
  content: "";
  position: absolute;
  border: 4px dashed #EAEAEA;
  top: -3px;
  bottom: -3px;
  left: -3px;
  right: -3px;
}*/

.schedule.day .cell .frame.EMERGENCY {
    /*border-color: rebeccapurple;
    border-style: dashed;*/
    color: rgba(241, 114, 13, 0.7);
    /*background-color: rgb(197 144 25 / 1%);*/
    position: relative;
    border: none;
    border-radius: 0;
}

/*.schedule.day .cell .frame.EMERGENCY:before {
  content: "";
  position: absolute;
  border: 4px dashed rebeccapurple;
  top: -3px;
  bottom: -3px;
  left: -3px;
  right: -3px;
}*/

.schedule.day .cell .frame.PARCEL {
    border: 1px solid #45B7F9 !important;
    background-color: #bce2fa;
}

.schedule.day .cell .frame.PARCEL.FULL {
    background-color: #f1f1f1;
    border-color: #B7B7B7 !important;
}

.schedule.day:not(.template) .cell .frame.PARCEL {
    border: 1px solid #EAEAEA;
    border-left: 5px solid #EAEAEA;
    text-align: left;
    padding: 2px;
    font-size: 11px;
    line-height: 14px;
}

.schedule.day .cell .frame.Booking {
    position: relative;
    text-align: left;
    padding: 2px;
    font-size: 11px;
    line-height: 13px;
    border: 1px solid #EAEAEA;
    border-left: 5px solid #EAEAEA;
}

.schedule.day .cell .row {
    font-size: 11px;
    max-height: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    line-height: 15px;
    padding: 0;
    text-align: left;
    max-width: 100%;
}

.schedule.day .cell .frame.droppable {
    border: 2px solid black !important;
    z-index: 10;
    position: relative;
}

.schedule.day .cell .frame.droppable:not(.Booking) {
    background: rgba(63, 164, 201, 0.05);
}

.schedule.day .cell .frame.Booking.droppable, .schedule.day .cell .frame.Booking.dragged {
    transform: scale(1.1);
    transition: transform 0.2s;
    z-index: 10;
    position: relative;
}

.schedule.day .cell .frame.dragged, .template .cell .frame.dragged {
    transform: scale(1) !important;
    transition: transform 0.2s;
    opacity: 0.7;
    /*max-height: 30px;*/
}

.schedule.day .cell .frame.loading:before {
    content: '';
    position: absolute;
    background: rgba(0, 0, 0, 0.05);
    top: -3px;
    bottom: -3px;
    left: -3px;
    right: -3px;
}

.schedule.day .cell .frame.loading:after {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    margin: -15px 0 0 -15px;
    width: 30px;
    height: 30px;
    -webkit-animation: loader .6s infinite linear;
    animation: loader .6s infinite linear;
    border: 0.2em solid #767676;
    border-radius: 500rem;
    -webkit-box-shadow: 0 0 0 1px transparent;
    box-shadow: 0 0 0 1px transparent;
    visibility: visible;
    z-index: 101;
    border-left-color: rgba(0, 0, 0, .1);
    border-right-color: rgba(0, 0, 0, .1);
    border-bottom-color: rgba(0, 0, 0, .1);
}

.schedule.day .cell .frame .late.label, .schedule.day .cell .frame .delay.label {
    padding: 2px;
    font-size: 11px;
    border-top-left-radius: 2px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.schedule.day.template .cell .frame.FTLEMERGENCY {
    background-color: #F0D1FF !important;
    border: 1px solid #D787FF;
}

.schedule.day.template .cell .frame.FTLCARRIER {
    background-color: #fff5c0 !important;
    border: 1px solid #FFDD05;
}

.schedule.day.template .cell .frame.FTLALL {
    background-color: #cffccf !important;
    border: 1px solid #49ED49;
}

.schedule.day.template .cell .frame.LINKED {
    background-color: #EAEAEA !important;
    border: 1px solid silver;
}

/*.schedule.day.template .cell .frame {
    padding: 5px;
}*/

.schedule.day.template .cell .row {
    font-size: 11px;
    max-height: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    line-height: 15px;
    padding: 0;
    text-align: left;
    max-width: 100%;
}

.schedule.day .stack {
    height: 61px;
    /*border-top: 1px solid #EEEEEE;*/
}

.schedule.day .stack .header {
    height: 61px;
    box-sizing: border-box;
    text-align: right;
    font-weight: bold;
    padding: 5px 10px 5px 5px;
    width: 120px;
    display: inline-block;
    vertical-align: top;

    position: -webkit-sticky;
    position: sticky;
    left: -30px;
    background-color: white;
    z-index: 3;
}

.schedule.day .stack .cell {
    display: inline-block;
    width: 130px;
    margin: 0.5px;
    border-left: 1px solid #EAEAEA;
    border-top: 1px solid #EAEAEA;
    border-collapse: collapse;
    /*border-bottom: 0;*/
}


.schedule.day .stack .cell {
    padding: 0;
}

.schedule.day .stack .cell .frame {
    margin: -1px;
    height: calc(100% + 2px);
}

/*
.schedule.day .stack .cell .frame.OPEN {
  border-style: dashed;
  color: gray;
}*/

.slotType {
    float: right;
    border-radius: 0 !important;
    vertical-align: text-bottom;
    color: black !important;
}

.slotType.PARCEL {
    border: 1px solid #45B7F9 !important;
    background-color: #bce2fa;
}

.slotType.FTLEMERGENCY {
    background-color: #F0D1FF !important;
    border: 1px solid #D787FF;
}

.slotType.FTLCARRIER {
    background-color: #fff5c0 !important;
    border: 1px solid #FFDD05;
}

.slotType.FTLALL {
    background-color: #cffccf !important;
    border: 1px solid #49ED49;
}

.slotType.LINKED {
    background-color: #EAEAEA !important;
    border: 1px solid silver;
}

.slotType.CLOSED {
    background-color: #EAEAEA;
    border: 1px solid gray;
}

.ui.compact.table > tbody > tr > th, .ui.compact.table > tfoot > tr > th, .ui.compact.table > thead > tr > th, .ui.compact.table > tr > th {
    position: -webkit-sticky;
    position: sticky;
    top: -30px;
    z-index: 3;
}

.translate.notice {
    margin-top: 20px;
    color: grey;
}