﻿
input:focus:required:invalid {
    border: 1px solid red;
}

.danger {
    color: #ff4d7e !important;
}

.error{
    color: red;
    border: thin solid red;
    margin-left: 5px;
    font-size: 1rem;
}
.err {
    background-color: blanchedalmond !important
}

label.error {
    color: #fd397a;
    display: none !important;
}

/*resize width of header*/
/*.dataTables_scrollHeadInner, .dataTables_scrollFootInner, .table {
    width: 100% !important;
}*/
.submitbutton {
    text-align: right;
    text-align: right;
    float: left;
    margin-left: 168px
}

.form-control.error {
    border-color: #fd397a;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fd397a' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23fd397a' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
    padding-right: calc(1.5em + 1.3rem);
    background-repeat: no-repeat;
    background-position: center right calc(0.375em + 0.325rem);
    background-size: calc(0.75em + 0.65rem) calc(0.75em + 0.65rem);
}

    .form-control.error:focus {
        border-color: #fd397a;
        -webkit-box-shadow: 0 0 0 0.2rem rgba(253, 57, 122, 0.25);
        box-shadow: 0 0 0 0.2rem rgba(253, 57, 122, 0.25);
    }



.form-control:focus, .form-control:active {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.invalid-feedback {
    color: red !important;
    margin-left: 5px !important;
    font-size: 1rem !important;
}

label.invalid-feedback {
    display: inline;
}

.header-menu .menu-nav > .menu-item .menu-submenu.menu-submenu-classic {
    padding: 0px !important;
}

.was-validated select.select2:invalid + .select2.select2-container.select2-container--default span.select2-selection, select.select2.is-invalid + .select2.select2-container.select2-container--default span.select2-selection {
    border-color: #fa5c7c !important; 
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fa5c7c' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23fa5c7c' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated select.select2:invalid + .select2.select2-container.select2-container--default .select2-selection__arrow, select.select2.is-invalid + .select2.select2-container.select2-container--default .select2-selection__arrow {
    right: 25px !important;
}

select[disabled].select2, .select2-container--disabled .select2-selection {
    background-color: #E4E6EF !important;
}

/*.was-validated select.select2:valid + .select2.select2-container.select2-container--default span.select2-selection, select.select2.is-valid + .select2.select2-container.select2-container--default span.select2-selection {
    border-color: #0acf97;
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%230acf97' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}*/

.was-validated select.select2:valid + .select2.select2-container.select2-container--default .select2-selection__arrow, select.select2.is-valid + .select2.select2-container.select2-container--default .select2-selection__arrow {
    /*right: 25px !important;*/
}

.txtbox, th > input{
    height: 100% !important;
    width: 100% !important;
    margin: 0px;
    border: none;
    padding: 5px !important;
    background: transparent;
    border-radius: 0px !important;
}
.txt > div.datemitipicker > input  {
    border-radius: 0px !important;
}

.txt > div.datemitipicker {
    margin-top:-1px;
    margin-left:-1px;
}

.txt span.selection > span {
    background: transparent !important;
    border-color: transparent !important;
    border-radius: 0px !important;
}

td > select ~ span > span > span {
    border-radius: 0px !important;
    margin-left: -1px;
}
.custom-file-input:lang(en) ~ .custom-file-label::after {
    content: "Browse";
    height: 35px;
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 35px;
    padding: 5px;
    font-weight: 400;
    line-height: 1.5;
    color: #464e5f;
    background-color: #fff;
    border: 1px solid #e5eaee;
    border-radius: .42rem;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.custom-file-input.is-valid ~ .custom-file-label, .was-validated .custom-file-input:valid ~ .custom-file-label {
    border-color: #1bc5bd
}

.custom-file-input.is-valid:focus ~ .custom-file-label, .was-validated .custom-file-input:valid:focus ~ .custom-file-label {
    border-color: #1bc5bd;
    -webkit-box-shadow: 0 0 0 .2rem rgba(27,197,189,.25);
    box-shadow: 0 0 0 .2rem rgba(27,197,189,.25)
}

.input-group > .custom-file, .input-group > .custom-select, .input-group > .form-control, .input-group > .form-control-plaintext {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    margin-bottom: 0
}

    .input-group > .custom-file + .custom-file, .input-group > .custom-file + .custom-select, .input-group > .custom-file + .form-control, .input-group > .custom-select + .custom-file, .input-group > .custom-select + .custom-select, .input-group > .custom-select + .form-control, .input-group > .form-control + .custom-file, .input-group > .form-control + .custom-select, .input-group > .form-control + .form-control, .input-group > .form-control-plaintext + .custom-file, .input-group > .form-control-plaintext + .custom-select, .input-group > .form-control-plaintext + .form-control {
        margin-left: -1px
    }

    .input-group > .custom-file .custom-file-input:focus ~ .custom-file-label, .input-group > .custom-select:focus, .input-group > .form-control:focus {
        z-index: 3
    }

    .input-group > .custom-file .custom-file-input:focus {
        z-index: 4
    }

    .input-group > .custom-select:not(:last-child), .input-group > .form-control:not(:last-child) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0
    }

    .input-group > .custom-select:not(:first-child), .input-group > .form-control:not(:first-child) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0
    }

.input-group > .custom-file {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

    .input-group > .custom-file:not(:last-child) .custom-file-label, .input-group > .custom-file:not(:last-child) .custom-file-label::after {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0
    }

    .input-group > .custom-file:not(:first-child) .custom-file-label {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0
    }

.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: calc(1.5em + 1.3rem + 2px);
    margin-bottom: 0
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(1.5em + 1.3rem + 2px);
    margin: 0;
    opacity: 0
}

    .custom-file-input:focus ~ .custom-file-label {
        border-color: #ab82fd;
        -webkit-box-shadow: none;
        box-shadow: none
    }

    .custom-file-input:disabled ~ .custom-file-label, .custom-file-input[disabled] ~ .custom-file-label {
        background-color: #f3f6f9
    }

    .custom-file-input:lang(en) ~ .custom-file-label::after {
        content: "Browse"
    }

    .custom-file-input ~ .custom-file-label[data-browse]::after {
        content: attr(data-browse)
    }



.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: calc(1.5em + 1.3rem);
    padding: .65rem 1rem;
    line-height: 1.5;
    color: #464e5f;
    content: "Browse";
    background-color: #f3f6f9;
    border-left: inherit;
    border-radius: 0 .42rem .42rem 0
}

.fail {
    color: red;
}

.invalidbg {
    background-color: rgb(245, 126, 126);
}

.addborder {
    border-style: solid;
    border-width: thin;
    border-radius: 0px;
}


.btn-xs {
    height: 27px !important;
    width: 27px !important;
}


.btnsection {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 35px;
    width: 35px;
}

/*Dualbox-List*/
.dual-listbox__container > div {
    width: 44%;
}

    .dual-listbox__container > div > div {
        width: 100%;
    }

    .dual-listbox__container > div > ul {
        width: unset !important;
        width: 100%;
    }

.dual-listbox__buttons {
    width: unset !important;
    width: 5% !important;
}
.csgrid > tbody > tr > td {
    padding:0;height:35px
}
td.txt {
    padding: 0px !important;
    height: 34px !important;
}
.trid {
    cursor: pointer;
}

#btnSubmit:focus {
    box-shadow: inset 0 0 0 20rem var(--darken-1);
}


/*remove card header min-height and padding*/
.rvcardheader {
    min-height: 0px !important;
    padding: 0px !important;
}





/*Session out modal*/

.modal-login {
    color: #636363;
    width: 350px;
    position: absolute;
    left: 40%;
    top: 30%;
    transform: translate(-50%, -50%);
}

    .modal-login .modal-content {
        padding: 20px;
        border-radius: 5px;
        border: none;
    }

    .modal-login .modal-header {
        border-bottom: none;
        position: relative;
        justify-content: center;
    }

.modal-login {
    background: #ecf0f1;
    border-color: #dee4e7;
    text-align: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 13px;
}

    .modal-login .avatar {
        position: absolute;
        margin: 0 auto;
        left: 0;
        right: 0;
        top: -70px;
        width: 95px;
        height: 95px;
        border-radius: 50%;
        z-index: 9;
        background: #fff;
        padding: 2px;
        box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
    }

.avatar {
    border-radius: 50%;
}

.modal-login .avatar img {
    border-radius: 50%;
    width: 100%;
}

span.field-icon {
    position: absolute;
    display: inline-block;
    cursor: pointer;
    right: 0.5rem;
    top: 1rem !important;
    z-index: 3;
}

.hover-zoom {
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

    .hover-zoom:hover {
        -moz-transform: scale(1.3);
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
    }

/* 3 dot pin */
.popover-body {
    min-width: 78px !important;
    padding: 2px !important;
}

.statement-main-color {
    background-color: #0D5EA6 !important;
    color: white;
}