/*Base styles - for global html elements (example: body, a, p, h1...)*/
.a-con-res {
    color: rgba(0, 138, 116, 1)!important;
    text-decoration: underline!important;
}

.cursor-help {
    cursor: help;
}

.cursor-pointer {
    cursor: pointer;
}

input[type=checkbox][disabled] {
    background-color: #e9ecef;
    cursor: not-allowed;
}

/*Text styles - for font size, text color and other text and font styles*/
/*Class name example: .font-12, .text-blue*/

* {
    font-family: 'Montserrat', sans-serif;
}

.text-m2e-red {
    color: #B71234;
}

.text-grey {
    color: #eeeeee;
}

.text-con-res-green {
    color: rgba(0, 138, 116, 1);
}

.text-no-field-note {
    color: rgba(200, 34, 47, 0.6);
}

.text-1rem {
    font-size: 1rem;
}

.text-12px {
    font-size: 12px;
}

.text-10px {
    font-size: 10px;
}

.text-no-wrap {
    white-space: nowrap;
}

.text-initial-inspection {
    color: #cc0f3f;
}

.text-re-inspection {
    color: #048934;
}

.text-additional-inspection {
    color: #00408e;
}

.text-final-inspection {
    color: #2e3436;
}

.fw-500 {
    font-weight: 500;
}

/*Background styles*/
/*Class name example: .bg-color-name*/

.bg-m2e-red {
    background-color: #B71234;
}

.bg-con-res-green-dark {
    background-color: rgba(0, 138, 116, 0.7)!important;
}

.bg-danger-light {
    background-color: rgba(220, 53, 69, 0.4);
}

.bg-con-res-green-light {
    background-color: rgba(0, 138, 116, 0.2)!important;
}

.bg-grey-light {
    background-color: rgba(227, 227, 227, 0.4)!important;
}

.bg-total-price {
    background-color: rgba(211, 121, 79, 0.4) !important;
}

.bg-total-qty {
    background-color: rgba(224, 207, 77, 0.4) !important;
}

.bg-blue-observation-type {
    background-color: rgba(34, 155, 163, 0.3)!important;
}

.bg-blue-prices {
    background-color: rgba(34, 155, 163, 0.3)!important;
}



/*Navigation styles*/

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.dropdown-item:focus, .dropdown-item:hover,
.dropdown-item.active, .dropdown-item:active {
    background-color: rgba(0, 138, 116, 0.7)!important;
    color: #fff!important;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    z-index: 1021;
}

.dropdown-toggle::after {
    vertical-align: 0.15em!important;
}

@media (min-width: 992px) {
    #my_account_show {
        left: -6.68rem!important;
    }
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 138, 116, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-light .navbar-toggler {
    border: none;
}

.navbar-toggler:focus,
.navbar-toggler:focus-visible {
    box-shadow: none;
    border: none;
}

@media (max-width: 991px) {
    .dropdown-toggle#my_account_toggle::after {
        display: inline-block!important;
        right: 0!important;
    }
}


/*Table styles/*
/*Class name example: .tbl- */

.table-padding-2 >:not(caption)>*>* {
    padding: 1.5rem 0.6rem;

}

.table-rounded-25px {
    border-radius: 25px !important;
}

thead > tr > th {
    border-bottom-color: rgba(0, 138, 116, 1) !important;
    border-bottom-width: 2px !important;
}

#user-info-table > thead > tr > th,
#user-info-table > thead > tr > td {
    border-bottom-color: rgba(0, 138, 116, 1) !important;
    border-bottom-width: 2px !important;
}

#user-info-table > thead > tr > th {
    font-weight: 400;
}

#user-info-table > thead > tr > td {
    font-weight: 500;
}

.border-top-con-res {
    border-top-color: rgba(0, 138, 116, 1) !important;
    border-top-width: 2px !important;
}

.border-bottom-con-res {
    border-bottom-color: rgba(0, 138, 116, 1) !important;
    border-bottom-width: 2px !important;
}

.border-bottom-grey {
    border-bottom-color: rgb(222, 226, 230) !important;
    border-bottom-width: 1px !important;
}



/*Button styles/*
/*Class name example: .btn-submit | .btn-edit*/

.btn-m2e-red, .btn-m2e-red:hover {
    background-color: #B71234;
    color: #fff;
}

.btn-con-res-green {
    background-color: rgba(0, 138, 116, 0.7);
    color: #fff;
}

.btn-con-res-green:hover {
    background-color: rgba(0, 138, 116, 1);
    color: #fff;
}

.button-active {
    background-color: rgba(0, 138, 116, 1);
    color: #000;
}

.btn-purple, .btn-purple:hover {
    background-color: #5F21CA;
    color: #fff;
}

.btn-tirq, .btn-tirq:hover {
    background-color: #21CAB4;
    color: #fff;
}

.btn-activity-white {
    border: 2px solid rgba(0, 138, 116, 1) !important;
    color: rgba(0, 138, 116, 1);
    background-color: #fff;
}

.btn-activity-white-second {
    border: 1px solid rgba(0, 138, 116, 1) !important;
    color: rgba(0, 138, 116, 1);
    background-color: #fff;
}

.btn-activity-white:hover {
    font-weight: 500;
    color: rgba(0, 138, 116, 1);
}

.btn-transparent-con-res-green-text {
    background-color: transparent;
    color: rgba(0, 138, 116, 1);
}

.btn-transparent-con-res-green-text:hover {
    background-color: rgba(0, 138, 116, 1);
    color: #fff;
}

#logout_button:hover {
    background-color: #ffffff!important;
    color: #000!important;
}

.btn-excel {
    background-color: #0d7239;
}

.btn-primary {
    color: #fff;
    background-color: #297EFC!important;
    border-color: #297EFC!important;;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0d6efd!important;
    border-color: #0d6efd!important;;
}

.btn-h-fit-content {
    height: fit-content;
}

/*Padding styles*/
/*Class name example: .padding-10 (rem) | .padding-10px (px)*/

.pb-24px {
    padding-bottom: 24px;
}

/*Margin styles*/
/*Class name example: .margin-10 (rem) | .margin-10px (px)*/

.mr-15px {
    margin-right: 15px;
}

.mr-25px {
    margin-right: 25px;
}

.ml-25px {
    margin-left: 25px;
}

.ml-5px {
    margin-left: 5px;
}

.mr-5px {
    margin-right: 5px;
}

.mt-32px {
    margin-top: 32px;
}
/*Splide slider styles*/

.simple_slider_hover{
    cursor:pointer;
    cursor:hand;
}

.simple_slider_disabled {
    opacity : 0.2;
    filter: alpha(opacity=20);
    zoom: 1;
}

/*Other classes*/

.w-100px {
    width: 100px;
}

.w-45px {
    width: 45px;
}

.w-20px {
    width: 20px;
}

.w-150px {
    width: 150px;
}

.w-120px {
    width: 120px;
}

.w-200px {
    width: 200px;
}

.w-15per {
    width: 15%;
}

.w-25per {
    width: 25%;
}

.w-30per {
    width: 30%;
}

.min-h-200px{
    min-height: 200px;
}

.h-fit-content {
    height: fit-content;
}

.top-65px {
    top: 55px;
}

.img-border-con-res-green {
    border: 0.5px solid #008a74;
}

.breadcrumb-item {
    text-decoration:underline;
    font-size: 14px;
}

.breadcrumb-item.active {
    color: #fff;
    text-decoration: none!important;
}

.page-link {
    color: rgba(0, 138, 116, 1)!important;
}

.page-item.active .page-link {
    background-color: rgba(0, 138, 116, 0.7)!important;
    color: #fff!important;
    border-color: rgba(0, 138, 116, 1)!important;
}

.sortable tr {
    cursor: move;
}

.modal-90 {
    max-width: 90%;
}

.modal-80 {
    max-width: 60%;
}

.rotate {
    transform: rotate(-90deg);

    /* Safari */
    -webkit-transform: rotate(-90deg);

    /* Firefox */
    -moz-transform: rotate(-90deg);

    /* IE */
    -ms-transform: rotate(-90deg);

    /* Opera */
    -o-transform: rotate(-90deg);

    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

#pdf-spinner {
    position: fixed;
    top: 35%;
    left: 35%;
    width: 30%;
    height: 150px;
    z-index: 1000;
    padding-top: 45px;
}

#cancel-spinner {
    top: 5px;
    right: 7px;
}

.disabled-level {
    font-size: 11px;
    color: #008a74;
}

.scaled-observation-icon-40 {
    width: 40px;
    height: auto;
    max-height: 40px;
}

.scaled-observation-icon-75 {
    width: 75px;
    height: auto;
    max-height: 75px;
}

.revision-info-holder {
    border: 1.5px solid rgba(0, 138, 116);
    border-radius: 5px;
}

.revision-info-holder-active {
    background-color: rgba(0, 138, 116, 0.1);
}

.revision-info-holder-other {
    background-color: rgba(0, 0, 0, 0.1);
}

input::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

/*Upload photos*/

.location-photo-checkbox {
    height: 20px;
    width: 20px;
}


/*info component*/

.info-card-header,
.info-card-body {
    padding: 0.3rem 0.3rem!important;
}

/* Card */

.card-header-dark {
    background-color: rgba(0,0,0,0.2);
}

.card-header-red {
    background-color: #dc35454d;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button{
    color: #000!important;
    padding-bottom: 13px!important;
}

.hidden-accordion {
    height: 0px!important;
    opacity: 0;
}

.fixed-accordion-button::after {
    transform: none!important;
}

/* tooltip */

.tooltip.show {
    opacity: 1;
}

.tooltip-inner {
    background-color: rgba(0, 138, 116, 1);
    opacity: 1 !important;
    max-height: 250px;
    max-width: 400px;
}
.tooltip.bs-tooltip-right .tooltip-arrow::before {
    border-right-color: rgba(0, 138, 116, 1) !important;
}
.tooltip.bs-tooltip-left .tooltip-arrow::before {
    border-left-color: rgba(0, 138, 116, 1) !important;
}
.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: rgba(0, 138, 116, 1) !important;
}
.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: rgba(0, 138, 116, 1) !important;
}

.no-field-note-tooltip {
    background-color: rgba(200, 34, 47, 0.5);
}

.tooltip-overflow{
    overflow: scroll!important;
}

/*User badge*/

.user-badge {
    height: 30px;
    width: 30px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 100%;
    padding-top: 6px;
    text-align: center;
    background-color: rgba(0, 138, 116, 0.7);
    display: inline-block;
}

.user-badge-lg {
    height: 50px;
    width: 50px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 100%;
    padding-top: 14px!important;
    text-align: center;
    background-color: #fff;
    color: rgba(0, 138, 116, 1);!important;
    margin: auto;
}

.user-badge-lg-hidden {
    background-color: transparent;
    color: transparent;
    border-radius: none;
}

.disabled-sidebar {
    color: #bebebe;
}

.disabled-checkbox {
    background-color: #6c757d!important;
    border-color: #6c757d!important;
}

/*guide info*/

.truncate-guide {
    max-width: 600px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow: ellipsis;
}

.field-note-levels {
    height: 45px;
    overflow: hidden;
}

#collapse_observations {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    background-color: #e9ecef;
    max-height: 200px;
    overflow: scroll;
}

/*User avatar classes*/

#sidebar-avatar {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    margin: 0 auto;
    background-size: cover;
}

#nav-user-avatar {
    background-size: cover;
}

.nav-avatar-link::after {
    vertical-align: 0.8em !important;
}

/*large and extra large*/

/*owl carousel*/

.owl-item {
    padding: 10px!important;
}

/*end of owl carousel*/

@media (min-width: 992px) {

    .w-lg-100 {
        width: 100%;
    }

    .sidebar-close {
        display: none!important;
    }

    a.nav-link {
        padding-top: 11px;
        padding-bottom: 0px;
    }
}

/*medium*/

@media (min-width: 768px) and (max-width: 991px) {

    .min-h-md-250px {
        min-height: 250px;
    }

    .sidebar-close {
        display: none!important;
    }
}

/*extra small and small and medium */

@media (max-width: 991px) {

    .breadcrumb-item {
        margin-bottom: 5px;
    }

    #pdf-spinner {
        width: 50%;
        left: 25%;
    }
}

/*extra small <576px*/

@media (max-width: 575px) {

    .d-xs-none {
        display: none;
    }

    .breadcrumb-item {
        font-size: 12px;
    }
}
