﻿/*START: Validation Message*/
 

.is-invalid {
    color: #DA1010;
    font-size: 12px;
}

.field-validation-error {
    color: #DA1010;
    font-size: 12px;
}

.input-validation-error {
    border-color: #DA1010;
    padding-right: calc(1.5em + 1.55rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f1416c'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f1416c' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.3875rem) center;
    background-size: calc(0.75em + 0.775rem) calc(0.75em + 0.775rem);
    margin-bottom: 3px;
}


    .input-validation-error ~ .invalid-feedback,
    .input-validation-error ~ .invalid-tooltip {
        display: block;
    }

.form-control.input-validation-error {
    border-color: #DA1010;
    padding-right: calc(1.5em + 1.55rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f1416c'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f1416c' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.3875rem) center;
    background-size: calc(0.75em + 0.775rem) calc(0.75em + 0.775rem);
}

    .form-control.input-validation-error:focus {
        border-color: #DA1010;
        box-shadow: 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.25);
    }

.form-select.readonly {
    cursor: not-allowed;
    pointer-events: none;
    background-color: var(--bs-secondary-bg);
}

textarea.form-control.input-validation-error {
    padding-right: calc(1.5em + 1.55rem);
    background-position: top calc(0.375em + 0.3875rem) right calc(0.375em + 0.3875rem);
}

.form-select.input-validation-error {
    border-color: #DA1010;
}

    .form-select.input-validation-error:not([multiple]):not([size]), .form-select.input-validation-error:not([multiple])[size="1"] {
        --bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f1416c'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f1416c' stroke='none'/%3e%3c/svg%3e");
        padding-right: 5.5rem;
        background-position: right 1rem center, center right 3rem;
        background-size: 16px 12px, calc(0.75em + 0.775rem) calc(0.75em + 0.775rem);
    }

    .form-select.input-validation-error:focus {
        border-color: #DA1010;
        box-shadow: 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.25);
    }

.form-control-color.input-validation-error {
    width: calc(3rem + calc(1.5em + 1.55rem));
}

.form-check-input.input-validation-error {
    border-color: #DA1010;
}

    .form-check-input.input-validation-error:checked {
        background-color: var(--bs-form-invalid-color);
    }

    .form-check-input.input-validation-error:focus {
        box-shadow: 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.25);
    }

    .form-check-input.input-validation-error ~ .form-check-label {
        color: var(--bs-form-invalid-color);
    }
/*END: Validation Message*/
.ui-widget.ui-widget-content {
    border: 1px solid #c5c5c5;
    height: 140px !important;
    overflow-y: auto;
    overflow-x: hidden;
}


.modal-close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
}

.modal-alert-primary {
    position: relative;
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    color: var(--primary);
    padding-left: 35px;
}

    .modal-alert-primary i {
        position: absolute;
        left: 0;
    }

.pl-35 {
    padding-left: 35px;
}

.modal-title {
    font-size: 24px;
    line-height: 36px;
    font-weight: 600;
}

.alert-warning {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #656565;
    background: #FFF6A5;
    border-radius: 8px;
    padding: 10px 10px 10px 40px;
    position: relative;
}

    .alert-warning i.bi {
        font-size: 24px;
        color: var(--primary);
        position: absolute;
        left: 10px;
    }

.modal-desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.global-modal-popup .form-check-input[type=checkbox] {
    width: 16px;
    height: 16px;
}

.tagify__dropdown {
    background: #fff !important;
}

.tagify.form-control {
    border: 1px solid #2a42e4 !important;
}

.home-search-block .tagify.form-control {
    border: none;
}

.home-search-block .tagify.form-control {
    padding: 4px 4px 4px 35px;
    border: 0px;
}


.nav-link:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 .25rem #000;
}


/* Custom tooltip CSS starts */
.custom-tooltip-alert {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

    .custom-tooltip-alert #customTooltipAlertContent, .custom-tooltip-alert .loginPagecCustomTooltip {
        position: absolute;
        width: 420px;
        background: #fef8eb;
        padding: 5px 10px;
        border-radius: 8px;
        border: 1px solid #c3ac7b;
        left: 50%;
        top: 30px;
        z-index: 9;
        display: none;
        transform: translateX(-50%);
    }

        .custom-tooltip-alert #customTooltipAlertContent:before, .custom-tooltip-alert .loginPagecCustomTooltip:before {
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-bottom: 10px solid #c3ac7b;
            content: '';
            position: absolute;
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
        }

    .custom-tooltip-alert .loginPagecCustomTooltip {
        left: -43px;
        top: 40px;
        transform: translateX(0%);
    }

        .custom-tooltip-alert .loginPagecCustomTooltip:before {
            left: 10px;
            transform: translateX(0%);
        }

.loginCustomTooltipAlert:hover .loginPagecCustomTooltip {
    display: block;
}

/* Custom tooltip CSS ends */

/* Password field css starts */
.password-field {
    position: relative;
}
.password-field .form-control {
    padding-right: 80px;
}
.hide-password{
    display: none;
}
.show-password, .hide-password {
    position: absolute;
    top: 34px;
    right: 5px;
    cursor: pointer;
    background: #fff;
    border: 0px;
}
.show-password span, .hide-password span {
    color: #0C61E7 !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.3px;
    text-decoration: none;
}
.password-field .form-control.input-validation-error {
    padding-right: 110px;
}
.password-field .form-control.input-validation-error + .show-password, .password-field .form-control.input-validation-error + .show-password + .hide-password {
    right: 40px;
}
/* Password field css ends */

.password-rules li {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.3px;
}

.password-rules {
    margin-bottom: 0px;
    margin-top: 0px;
}

.password-rules li.rule-passed, .password-rules li.valid {
    list-style-type: none;
    position: relative;
    color: #008A00;
}

.password-rules li.invalid {
    color: #DA1010;
}

.password-rules li.rule-passed:before, .password-rules li.valid:before {
    background-image: url('../tenant/oh/images/rule-passed.svg');
    background-repeat: no-repeat;
    background-position: left;
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: -22px;
    top: 3px;
}

.accordion-button:focus {
    outline: 2px solid #000 !important;
    box-shadow: 0 0 0 !important;
}

/* Tagify custom CSS changes starts */
.tagify__tag__removeBtn:hover {
    background: #000 !important;
}

.tagify__tag__removeBtn:hover + div > span {
    opacity: 1 !important;
}

.tagify__input:focus:empty::before {
    color: #595c5f !important;
}

.tagify--empty .tagify__input::before {
    color: #595c5f !important;
}

.tagify__dropdown__item--active {
    background: #2A42E4 !important;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #0c61e7 !important;
    background: #0c61e7 !important;
}

.form-check-input[type=checkbox] {
    border-color: #5b5b5b !important;
}

.form-check-input:focus {
    outline: 0px solid #000;
    border: 2px solid #000 !important;
    box-shadow: 0 0 0;
}

@media (max-width: 1408.9px) {
    .search-block-header .search-input input {
        width: 150px;
    }
    header.after-login-header .nav-item {
        padding-left: 8px;
    }
}

@media(max-width: 1278px) {
    header.after-login-header .navbar-right ul li:first-child {
        margin-right: 0px;
    }
   
    header.after-login-header #navbarNav {
        top: 70px;
    }
    header.after-login-header #user-details-dropdown {
        top: 57px;
    }
    .search-block-header .search-input input {
        padding-left: 40px;
        width: 150px;
    }
}

@media (max-width: 1199px) {
    header #navbarNav {
        position: absolute !important;
        top: 66px !important;
    }
    header .navbar-logo {
        height: 60px;
    }
    header #navbarNav li {
        padding: 0px 0px;
    }

    header #navbarNav .nav-item .dropdown-menu[data-bs-popper] {
        top: 0px;
    }

    header #navbarNav .nav-item .dropdown-menu li {
        padding: 8px 25px !important;
    }
    main#content {
       // margin-top: 5em !important;
    }
    .search-section {
        margin: 20px 0px;
    }
    .search-block-header .search-input input {
        padding-left: 40px;
        width: 150px;
    }
    header.after-login-header .nav-item {
        padding: 0px 8px;
    }
}

@media (max-width: 991px) {
    .search-section {
        margin: 20px 0px;
    }
}

@media (max-width: 767px) {
    .search-section {
        margin: 20px 0px;
    }
}

@media (max-width: 575px) {
    .custom-tooltip-alert {
        position: unset;
    }

    .flex-wrap-mobile {
        flex-wrap: wrap;
    }

        .flex-wrap-mobile > div.form-check {
            width: 100%;
        }

    .custom-tooltip-alert #customTooltipAlertContent, .custom-tooltip-alert .loginPagecCustomTooltip {
        width: 300px;
        left: 0;
        top: 30px;
        transform: translateX(0%);
    }

    .custom-tooltip-alert .loginPagecCustomTooltip {
        top: 40px;
    }
}
/* Custom tooltip CSS ends */

.ui-widget.ui-widget-content {
    border: 1px solid #c5c5c5;
    height: 140px !important;
    overflow-y: auto;
    overflow-x: hidden;
}


.job-share-posted .dropdown a:after {
    display: none;
}
.job-share-posted .dropdown a {
    cursor: pointer;
}


/*Button classes*/
.btn-lightblue {
    background: #EEF2FC !important;
    color: #0C61E7 !important;
    border: 1px solid #0C61E7 !important;
}

.btn-blue {
    color: #FFFFFF;
    background: #0C61E7 !important;
    border: 1px solid #0C61E7 !important;
}

    .btn-blue:hover {
        transition: 0.3s;
        background: #0C61E7;
        color: #FFFFFF;
    }