/* error */
.error {
    color: red;
    font-weight: 600 !important;
}

.red {
    color: red;
}
.text-center{
    float: none;
    margin-left: auto;
    margin-right: auto;
}

/* Datatable Action button */
.actions-a a {
    /* margin-right: 6px; */
    margin: 2px;
}

/* sweet-alert */
.swal2-styled.swal2-confirm.btn-danger {
    background: #c82333;
    background-color: #c82333;
    box-shadow: none;
}

.swal2-styled.swal2-confirm:focus,
.swal2-styled.swal2-confirm:hover,
.swal2-styled.swal2-confirm:active {
    box-shadow: none !important;
}

/* Tab */
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.modal .content {
    width: 100%;
}

/* Add More Block */
.hidden {
    display: none;
}

.add_more_title {
    width: 100%;
    display: block;
    overflow: hidden;
    margin-bottom: 5px;
}

.add_more_row {
    position: relative;
    background: #e8e8e8;
    margin: 0 0 10px 0;
}

.add_more_row_box {
    display: block;
    width: 100%;
}

.remove-add-more {
    position: absolute;
    right: 7px;
    top: 2px;
    color: #ff3131;
    cursor: pointer;
    z-index: 11;
}

.add_more_more_btn i {
    padding-right: 2px;
}

/* toast */
#toast-container>div {
    opacity: 1 !important;
}

/* Location auto-completed */
.pac-container {
    z-index: 9999;
}

/* Filter */
.custom-filter {
    margin-bottom: 10px;
    display: block;
    overflow: hidden;
}

.custom-filter .form-control {
    width: max-content;
    float: right;
    margin-bottom: 10px;
    margin-right: 10px !important;
}

.custom-filter .btn {
    margin-left: 10px;
    margin-bottom: 5px;
}

/* File upload */
.form-upload-file.form-control {
    height: auto;
}

.custom-filter .input-group {
    width: 280px;
    margin-bottom: 10px;
}

.custom-filter .input-group .form-control {
    margin-bottom: 0;
    margin-right: 10px;
}

.custom-filter {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 0px 9px 0px #00000038;
    margin-bottom: 60px;
    position: relative;
    overflow: unset;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.custom-filter::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: rgba(0, 0, 0, .125);
    position: absolute;
    bottom: -30px;
    left: 0;
}

/* Custom loho */
.custom-logo {
    width: 80%;
    padding: 0 15px;
}

/* Primary color changes */
.btn-primary,
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary.focus,
.btn-primary:focus {
    background-color: #9246f2;
    border-color: #9246f2;
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #9246f2;
}

.card-primary:not(.card-outline)>.card-header {
    background-color: #9246f2;
}

.card-primary.card-outline {
    border-top: 3px solid #9246f2;
}

.btn-link,
.btn-link:hover,
.btn-link.hover,
a,
a:hover,
a.hover {
    color: #9246f2;
}

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

.card.card-outline-tabs {
    border-top: 0;
}

.card-primary.card-outline-tabs>.card-header a.active,
.card-primary.card-outline-tabs>.card-header a.active:hover {
    border-top: 3px solid #9246f2;
}

.preloader {
    transition: inherit;
    background: #ffffff8c;
}

.profile-user-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.portfolio-wrapper .profile-user-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

table.dataTable thead th,
table.dataTable thead td {
    padding: 8px 10px;
}

.auth_logo {
    width: 150px;
    display: block;
    margin: auto;
}

.pr-images .profile-user-img {
    margin: 3px;
}

/* Sidebar scroll css */
.os-viewport-native-scrollbars-invisible {
    height: calc(100vh - 5.4rem);
}

.callout.callout-info {
    border-left-color: #9246f2;
}
.word-break-all {
  word-break: break-all;
}
.word-break-word {
  word-break: break-word;
}

.portfolio-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 12px 6px;
}

.portfolio-img-wrapper{
    position: relative;
}

.remove-portfolio-img {
    position: absolute;
    padding: 4px;
    top: 8px;
    right: 8px;
    cursor: pointer;
    width: 22px;
    height: 22px;
    background-color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.service-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 12px 6px;
}


.remove-service-img {
    position: absolute;
    padding: 4px;
    right: 8px;
    cursor: pointer;
    width: 22px;
    height: 22px;
    background-color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

