.card-caption {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 1.4rem;
    font-weight: 600;
    width: 100%;
    height: 40px;
}

.card thead {
    display: none;
}

.card tbody tr {
    float: left;
    width: 25rem !important;
    min-width:250px;
    margin: 0.5rem;
    border: 1px solid #bfbfbf;
    border-radius: 0.5em;
    background-color: transparent !important;
    box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}

.card tbody tr td {
    display: block;
    border: 0;
    border-left: 3px solid transparent;
    white-space: normal;
}

.card tbody > tr:hover > td {
    border-left: 3px solid #faaf14;
    background-color: #FFF8E9;
}

//receiving
.card-receiving {
    border: 0.0625rem solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}

.popover {
    max-width: 100%;
}

.sortField>i {
    margin-right:5px
}

.sortField:hover {
    color: #faaf14;
}

//mobile
.btn-rounded {
    border-radius: 50px !important;
    font-size: 24px;
    line-height: 2;
    padding: 10px 24px;
}

.btn-rounded-r {
    border-radius: 50px 0 0 50px !important;
    font-size: 24px;
    line-height: 2;
    padding: 10px 24px;
}

.btn-rounded-l {
    border-radius: 0 50px 50px 0 !important;
    font-size: 24px;
    line-height: 2;
    padding: 10px 24px;
}

.btn-plus-minus {
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius:0px !important;
}

.input-group-btn:first-child > .btn-plus-minus {
    margin-right: 0px;
}

.btn-left {
    position: fixed;
    bottom: 60px;
    left: 10px;
    z-index: 10;
    padding: 10px 24px;
}

.cont-right {
    position: absolute;
    bottom: 20px;
    right: 10px;
    z-index: 10;
}

.cont-left {
    position: fixed;
    bottom: 70px;
}

.btn-right {
    position: fixed;
    bottom: 60px;
    right: 10px;
    z-index: 10;
    padding: 10px 24px;
}

.btn-back {
    position: absolute;
    bottom: 20px;
    z-index: 10;
    padding: 10px 24px;
}

.btn-back-to-menu, .btn-close-side-panel {
    bottom: 70px;
}

.btn-apply {
    position: fixed;
    bottom: 60px;
    right: 10px;
    z-index: 10;
    padding: 10px 24px;
}

.btn-receiving {
    position: fixed;
    bottom: 60px;
    right: 10px;
    z-index: 10;
    padding: 10px 24px;
}

.start-btn {
    transition: all 200ms ease;
    color: #fff;
    text-decoration: none;
    background-color: #7EAF3F;
    border-color: #7EAF3F;
    font-size: 24px;
    line-height: 2;
    padding: 10px 24px;
}

.start-btn:hover {
    transition: all 200ms;
    background-color: #7EAF3F;
    border-color: #7EAF3F;
    color: white;
}

.stop-btn {
    transition: all 200ms ease;
    color: #fff;
    text-decoration: none;
    background-color: #BB5534;
    border-color: #BB5534;
    font-size: 24px;
    line-height: 2;
    padding: 10px 24px;
}

.stop-btn:hover {
    background-color: #BB5534;
    border-color: #BB5534;
    color: white;
}

.pause-btn {
    transition: all 200ms ease;
    color: #fff;
    text-decoration: none;
    background-color: goldenrod;
    border-color: goldenrod;
    font-size: 24px;
    line-height: 2;
    padding: 10px 24px;
}

.pause-btn:hover {
    background-color: goldenrod;
    border-color: goldenrod;
    color: white;
}

.continue-btn {
    transition: all 200ms ease;
    color: #fff;
    text-decoration: none;
    background-color: goldenrod;
    border-color: goldenrod;
    font-size: 24px;
    line-height: 2;
    padding: 10px 24px;
}

.continue-btn:hover {
    background-color: goldenrod;
    border-color: goldenrod;
    color: white;
}

.cancel-btn {
    transition: all 200ms ease;
    color: #fff;
    text-decoration: none;
    background-color: #BB5534;
    border-color: #BB5534;
    font-size: 24px;
    line-height: 2;
    padding: 10px 24px;
}

.cancel-btn:hover {
    background-color: #BB5534;
    border-color: #BB5534;
    color: white;
}

.confirm-btn {
    transition: all 200ms ease;
    color: #fff;
    text-decoration: none;
    background-color: #faaf14;
    border-color: #faaf14;
    font-size: 24px;
    line-height: 2;
    padding: 10px 24px;
}

.confirm-btn:hover {
    background-color: #faaf14;
    border-color: #faaf14;
    color: white;
}

.card-work-reg {
    width: 100%;
    height: 140px;
    padding: 10px 10px;
    border: 0.0625rem solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
    
}

.card-work-reg-card {
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 10px;
    position: relative;
    min-width: 250px;
    //max-width: 300px;
}

.card-filter {
    width: 100%;
    min-height: 100px;
    padding: 10px 10px;
    border: 0.0625rem solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
    float: left;
}

.btn-light {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
    color: black;
}


.additonal-options > div {
    padding:25px 10px;
}

.additonal-options > div.active {
    border-left: 4px solid #faaf14;
    background-color: #fff8e9 !important;
}

.head-mobile {
    height: 50px !important;
}

.d-head-m-b-0 {
    margin-bottom: 0px !important;
    height: 50px !important;
}

.d-head-m-b-0 > div {
    min-height: 50px !important;
    max-height: 50px !important;
}

.d-head-m-b-0 > div .form-group {
    padding-top:3px;
}

.d-head-m-b-0 > div .form-control {
    height: 24px;
}

.d-head-m-b-10 {
    margin-bottom: 10px !important;
    height: 50px !important;
}

.d-head-m-b-10 > div {
    min-height: 50px !important;
    max-height: 50px !important;
}

.d-head-m-b-10 > div .form-group {
    padding-top: 3px;
}

.d-head-m-b-10 > div .form-control {
    height: 24px;
}

.card-work-reg>div>div>input[type=number] {
    border-top: 1px solid #ddd !important;
}


@media only screen and (min-width: 1600px) {
    .card-group-wt {
        max-width: 50vw;
    }
}

@media only screen and (max-width: 1600px) {
    .card-group-wt {
        max-width: 70vw;
    }
}


@media only screen and (max-width:  1280px) {

    .card-group-wt {
        max-width: 80vw;
    }

    .card-work-reg-card {
        width: 30%;
    }

    .card tbody tr {
        width: calc(25% - 10px) !important;
        min-width:250px;
    }
}

//tablet
@media only screen and (max-width: 968px) {

    .card-work-reg-card {
        width: 33.33%;
    }

    .card tbody tr {
        width: calc(33.333% - 10px) !important;
        min-width: 250px;
    }

    .card-group-wt {
        max-width: 100vw;
    }

}

//tablet and mobile
@media only screen and (max-width: 767px) {

    .card-work-reg-card {
        width: 50%;
    }

    .card tbody tr {
        width: calc(50% - 10px) !important;
        min-width: 250px;
    }


    .daily-plan-workers {
        margin-bottom: 20px;
    }

    .card-group-wt {
        max-width: 100vw;
    }

}

//tablet and mobile
@media only screen and (max-width: 535px) {

    .hidden-xxs {
        display: none !important;
    }

    .card tbody tr {
        min-width: 250px;
    }

    .card-group-wt {
        max-width: 100vw;
    }
}

//mobile
@media only screen and (max-width: 425px) {

    .card-work-reg-card {
        width: 100%;
    }

    .card-work-reg {
        width: 100%;
    }

    .card tbody tr {
        width: calc(100% - 20px) !important;
        margin: 1rem;
    }

    .hidden-xxxs {
        display: none !important;
    }

}



//PROGRESSS
.progress-card .progress {
    height: 8px;
    overflow: visible;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    
}

.progress-card .progress .progress-bar {
    position: relative;
    max-width:100%;
}

.progress .progress-bar {
    height: 100%;
    color: inherit;
}


.progress-card .progress .progress-bar:after {
    content: "";
    background: #fff;
    position: absolute;
    right: -6px;
    top: -4px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
}

.bg-c-red {
    background: #BB5534;
}

.progress-card .progress .progress-bar.bg-c-red:after {
    border: 3px solid #BB5534;
}

.bg-c-blue {
    background: #4099ff;
}

.progress-card .progress .progress-bar.bg-c-blue:after {
    border: 3px solid #4099ff;
}

.bg-c-green {
    background: #7EAF3F;
}

.progress-card .progress .progress-bar.bg-c-green:after {
    border: 3px solid #7EAF3F;
}

.bg-c-yellow {
    background: #faaf14;
}

.progress-card .progress .progress-bar.bg-c-yellow:after {
    border: 3px solid #faaf14;
}


//activity indicatior
.pulsating-circle {
    position: relative;
    width: 15px;
    height: 15px;

    &:before {
        content: '';
        position: relative;
        display: block;
        width: 300%;
        height: 300%;
        box-sizing: border-box;
        margin-left: -100%;
        margin-top: -100%;
        border-radius: 45px;
        background-color: #7EAF3F;
        animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    }

    &:after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        display: block;
        width: 100%;
        height: 100%;
        background-color: #7EAF3F;
        border-radius: 15px;
        box-shadow: 0 0 8px rgba(0,0,0,.3);
        animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -.4s infinite;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(.33);
    }

    80%, 100% {
        opacity: 0;
    }
}

@keyframes pulse-dot {
    0% {
        transform: scale(.8);
    }

    50% {
        transform: scale(1);
    }

    100% {
        transform: scale(.8);
    }
}




//card menu

.menu-item, .menu-open-button {
    background: white; //rgba(255,255,255,0); // #f0f0f0;
    border-radius: 100%;
    width: 60px;
    height: 60px;
    position: absolute;
    //top: 20px;
    color: black;
    text-align: center;
    line-height: 80px;
    transform: translate3d(0, 0, 0);
    transition: transform ease-out 200ms;
}

.menu-open {
    display: none;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: black;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -12.5px;
    margin-top: -1.5px;
    transition: transform 200ms;
}

.hamburger-1 {
    transform: translate3d(0, -8px, 0);
}

.hamburger-2 {
    transform: translate3d(0, 0, 0);
}

.hamburger-3 {
    transform: translate3d(0, 8px, 0);
}

.menu-open-button.active .hamburger-1 {
    transform: translate3d(0, 0, 0) rotate(45deg);
}

.menu-open-button.active .hamburger-2 {
    transform: translate3d(0, 0, 0) scale(0.1, 1);
}

.menu-open-button.active .hamburger-3 {
    transform: translate3d(0, 0, 0) rotate(-45deg);
}

.menu {
    display: table-caption;
    //position: absolute;
    //padding-top: 20px;
    //box-sizing: border-box;
    font-size: 20px;
    text-align: right;
    padding-right: 60px;
}

.menu-item:hover {
    background: white;
    color: #faaf14;
}

.menu-item:nth-child(2) {
    transition-duration: 180ms;
}

.menu-item:nth-child(3) {
    transition-duration: 180ms;
}

.menu-item:nth-child(4) {
    transition-duration: 180ms;
}

.menu-item:nth-child(5) {
    transition-duration: 180ms;
}

.menu-open-button {
    z-index: 2;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-duration: 400ms;
    transform: scale(1.1, 1.1) translate3d(0, 0, 0);
    cursor: pointer;
}

.menu-open-button:hover {
    transform: scale(1.2, 1.2) translate3d(0, 0, 0);
}

.menu-open-button.active {
    transition-timing-function: linear;
    transition-duration: 200ms;
    transform: scale(0.8, 0.8) translate3d(0, 0, 0);
}

.menu-open-button.active ~ .menu-item {
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.menu-open-button.active ~ .menu-item:nth-child(2) {
    transition-duration: 190ms;
    transform: translate3d(0, 60px, 0);
}

.menu-open-button.active ~ .menu-item:nth-child(3) {
    transition-duration: 290ms;
    transform: translate3d(0, 120px, 0);
}

.menu-open-button.active ~ .menu-item:nth-child(4) {
    transition-duration: 390ms;
    transform: translate3d(0, 180px, 0);
}

.menu-open-button.active ~ .menu-item:nth-child(5) {
    transition-duration: 490ms;
    transform: translate3d(0, 240px, 0);
}



label.menu-open-button {
    max-width: 60px;
}


///////////////STATUS BUTTONS CAPTIONS
.btn-status-bar > button {
    width: calc(100% / 8 - 5px );
    height: 35px;
    display: flex;
    overflow: hidden;
    justify-content: space-between;
}


.btn-status-bar > button span:first-child {
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 4px;
    overflow: hidden;
}

.btn-status-bar > button span:nth-child(2) {
    white-space: nowrap;
}

.cardStatus {
    width: 100%;
    display: flex;
    overflow: hidden;
    justify-content: space-between;
}

.cardStatus span:first-child {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.cardStatus span:last-child {
    white-space: nowrap;
    padding-left: 4px;
}

#map-container, #services-map {
    height: 100%;
}

.services-card-label {
    display: inline-block;
    border-radius: 5px;
    padding: 5px;
    font-weight: 600;
}

.tools-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 150px;
}

.card-work-reg {
    .card-body {
        img {
            max-height: 100%;
        }
    }
}

.services-table {
    height: calc(100% - 46px);
}

.services-card-header {
    height: 25px;
}

.map-round-icon, .map-remaining-workers {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid $icon-color;
    text-align: center;
}

.map-remaining-workers {
    border: none;
    background-color: $divider-color;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    display: inline-flex;
    font-weight: 500;
    font-size: 20px;
}

.daily-plan-workers {
    display: flex;
    flex-wrap: wrap;
    overflow: auto;
    max-height: 50vh;
}

.worker-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid $divider-color;
    padding: 10px;
    width: 100%;
    cursor: pointer;
}

.worker-item-selected {
    background-color: $custom-select-selected-color;
}

.card-worker-icon {
    position: relative;
    top: 13px;
    font-size: 3.4em;
}

#popoverTable img {
    max-height: 180px;
    object-fit: contain;
}

.input-border {
    border: 1px solid $input-border-color;
}

.title-2, .input-2 {
    width: 50%;
    display: inline-block;
    float: left;
}

.input2-selectpicker-wrapper {
    height: 46px;
}

.input2-selectpicker-wrapper > .bootstrap-select,
.input2-selectpicker-wrapper .dropdown-toggle {
    height: 100%;
}

#add-material-modal .card-work-reg-card,
#add-tool-modal .card-work-reg-card,
#add-operation-modal .card-work-reg-card, {
    width: 100%;
}

.btn-plus {
    position: absolute;
    left: 70px;
    bottom: 20px;
    z-index: 10;
}

.title-3, .input-3 {
    width: 33.333%;
    display: inline-block;
    float: left;
}

#info-card {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;

    .card-work-reg {
        display: flex;
        flex-direction: row;
        overflow: hidden;
        height: 205px;
        position: relative;

        .close-button {
            position: absolute;
            top: 10px;
            right: 10px;
            background: transparent;
            border: none;
            font-size: 40px;
            cursor: pointer;
        }

        .card-content {
            display: flex;
            width: 100%;

            .card-image {
                flex: 1;
                display: flex;
                align-items: center;
                justify-content: center;
                overflow: hidden;
                max-width: 225px;

                #info-card-image {
                    height: 100%;
                    width: auto;
                    object-fit: scale-down;
                }
            }

            .card-data {
                width: 100%;
                flex: 2;
                display: flex;
                flex-direction: column;
                padding: 10px;

                #info-card-title {
                    font-weight: 600;
                }

                #info-card-progress {
                    margin-top: 5px;
                }

                #info-card-buttons {
                    overflow-x: auto;
                    scrollbar-width: none;
                    display: flex;
                    flex-direction: row;
                    gap: 2px;
                }
            }
        }
    }
}

.document-head-select {
    .dropdown-toggle {
        background-color: $disabled-header-field !important;
    }
}

#work-order-documents .dropify-message {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scrollable-wrapper {
    overflow-y: scroll;
}

#work-order-documents .pdf-viewer {
    height: calc(100vh - 300px) !important;
}

.card-work-reg-img-container {
    height: calc(100% - 17px);

    img {
        object-fit: contain;
        height: 100%;
        width: 100%;
    }
}

#card-work-reg-documentation {
    text-align: center;
}

.card-work-reg-pointer {
    cursor: pointer;
}

.selectpicker-bold .filter-option-inner-inner {
    font-weight: 600;
}