﻿.new-request.row {
    margin: 0;
}

/*.new-request .card-title > ul.stepper {
    width: 10em;
    float: left;
    padding: 0;
    margin: 0;
}
@media (max-width: 576px) {
    .new-request .card-title > ul.stepper {
        width: 12em;
        left: calc(50% - 6em);
    }
}*/




/*.new-request .card-title > ul.stepper li {
    align-items: center !important;
    flex-direction: row !important;
}

    .new-request .card-title > ul.stepper li a {
        padding: 0.7em 1em;
    }

    .new-request .card-title > ul.stepper li:first-of-type a {
        padding-left: 0;
    }

    .new-request .card-title > ul.stepper li:last-of-type a {
        padding-right: 0;
    }

.new-request .card-title .stepper-horizontal {
    flex-direction: row;
}

.stepper-horizontal li:not(:first-child)::before, .stepper-horizontal li:not(:last-child)::after {
    position: relative !important;
    left: unset;
    height: 1.2px !important;
    top: unset !important;
}

.new-request .card-title .stepper-horizontal li:not(:first-child)::before, .new-request .card-title .stepper-horizontal li:not(:last-child)::after {
    margin: 0;
}

.new-request .card-title > ul.stepper li a .circle {
    margin: 0;
    background-color: transparent;
    color: var(--primary);
    border: solid 1px var(--primary);
}

.new-request .card-title > ul.stepper li.inprogress a .circle,
.new-request .card-title > ul.stepper li.completed a .circle {
    margin: 0;
    background-color: var(--primary) !important;
    color: #ffffff;
    border: solid 1px var(--primary);
}

    .new-request .card-title > ul.stepper li.inprogress a .circle i.fa,
    .new-request .card-title > ul.stepper li.completed a .circle span.num {
        display: none;
    }

    .new-request .card-title > ul.stepper li.inprogress a .circle span.num,
    .new-request .card-title > ul.stepper li.completed a .circle i.fa {
        display: inline-block;
    }*/




.new-request .card-body {
    padding: 1em 2em;
}

    .new-request .card-body form div.actions {
        text-align: center;
        padding: 2.5em 1em 0.3em 1em;
        display: table;
        width: 100%;
        position: absolute;
        bottom: 0;
    }
        .new-request .card-body form div.actions > div {
            display: table;
            width: 100%;
            margin: auto;
        }

        .new-request .card-body form div.actions button {
            font-size: 0.95em;
            color: rgba(0,0,0,0.7);
            padding: .8em 1.5em;
            float: left;
            width: 100%;
        }

@media (min-width: 576px) {
    .new-request .card-body form div.actions > div {
        width: auto;
    }
    .new-request .card-body form div.actions button {
        width: auto;
    }
}

.new-request .card-body form div.actions button.submit {
    background-color: #02346d;
    color: #ffffff;
    padding: .8em 2.7em;
}

    .new-request .card-body form div.actions button.submit:active {
        background-color: var(--primary);
    }





.new-request .card-body form {
    display: block;
    position: relative;
    height: 23em;
    transition: 0.3s;
}

    .new-request .card-body form div.step {
        position: absolute;
        display: table;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        transition: 0.2s 0.1s;
    }

        .new-request .card-body form div.step.active {
            opacity: 1;
            visibility: visible;
        }




.new-request form h3 {
    padding: 0 0.5em 1.4em;
    font-size: 1.2em;
    text-align:center;
}

.new-request form .req-item {
    position: relative;
    margin: 0.5em -2px;
    padding: 0 3%;
    display: inline-block;
    transform: scale(1);
}

    .new-request form .req-item:hover {
        transform: scale(1.05);
    }

    .new-request form .req-item .btn {
        padding: 2.2em 1.2em 1.8em;
        width: 100%;
        font-size: 1.1em;
        font-weight: 600;
    }

        .new-request form .req-item .btn.active {
            /*box-shadow: 0 2px 5px 0 rgba(66, 139, 202,0.5),0 2px 10px 0 rgba(66, 139, 202, 0.5);*/
        }

    .new-request form .req-item .form-check {
        padding: 0;
        text-align: right;
        margin: -1.2em -0.7em 0.8em;
    }

        .new-request form .req-item .form-check input.form-check-input {
            margin: 0;
            padding: 0;
        }

.new-request .req-item .form-check label.form-check-label {
    margin: 0;
    padding: 0;
    margin-right: 2em;
}

.new-request form .req-item div.img {
    width: 100%;
    height: 4em;
    margin-bottom: 1.3em;
}

    .new-request form .req-item div.img > img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }


/*.new-request .card-body form .field,
.new-request .card-body form .multifield {*/
.new-request .card-body form .field {
    margin: 0 -2px;
    display: inline-block;
    position: relative;
}

    /*.new-request .card-body form .multifield .multifield-item {
        margin: 0 -2px;
        display: inline-block;
        position: relative;
        width: 50%;
    }

        .new-request .card-body form .multifield .multifield-item:first-of-type {
            padding-left: 1.2em;
        }

        .new-request .card-body form .multifield .multifield-item:last-of-type {
            padding-right: 1.2em;
        }*/










.form-check-input[type="radio"].with-gap:checked + label::after, .form-check-input[type="radio"]:checked + label::after, label.btn input[type="radio"].with-gap:checked + label::after, label.btn input[type="radio"]:checked + label::after {
    background-color: var(--primary);
}

.form-check-input[type="radio"].with-gap:checked + label::after, .form-check-input[type="radio"].with-gap:checked + label::before, .form-check-input[type="radio"]:checked + label::after, label.btn input[type="radio"].with-gap:checked + label::after, label.btn input[type="radio"].with-gap:checked + label::before, label.btn input[type="radio"]:checked + label::after {
    border-color: var(--primary);
}






.new-request .card .success-form {
    position: absolute;
    /*left: 3em;*/
    left:40%;
    bottom: 4em;
    width: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    z-index: 10;
    background-color: var(--primary);
    color: #ffffff;
    text-align: center;
    border-radius: .2rem;
    transition: 0.3s;
}

    .new-request .card .success-form.active {
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        opacity: 1;
        visibility: visible;
    }

    .new-request .card .success-form > div {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -55%);
        padding: 2em;
        width: 100%;
        opacity: 0;
        transition: 0.4s;
    }

    .new-request .card .success-form.active > div {
        opacity: 1;
    }

    .new-request .card .success-form p {
        font-size: 1.5em;
        margin-bottom: 1em;
    }

    .new-request .card .success-form a {
        font-size: 0.8em;
        border-radius: 0.5em;
        color: var(--primary) !important;
        border: none !important;
        background-color: #fff !important;
        padding: 0.8em 1.7em !important;
    }














/*data Table*/
.table-container {
}

.requests-list {
    padding: 0;
    overflow: hidden;
    width: calc(100% - 18em);
    display: block;
    float: left;
}
@media(max-width:768px) {
    .requests-list {
        width: 100%;
    }
}
    .requests-list .card-body {
        padding: 0;
    }
.requests-list .table-container .dataTables_wrapper {
    /*background-color: #eaeff2;*/
    /*border: 1px solid #d1d2d4;
    border-radius: 0.35em;*/
    overflow: hidden;
    /*margin: 0 0.6em 0.6em;*/
    overflow-x: auto;
}

.table-container table.dataTable.no-footer {
    /*border-bottom: 1px solid #d1d2d4 !important;*/
    border-bottom:none !important;
    background-color:#ffffff;
}

.table-container .wrapper {
    display: table;
    width: 100%;
    background-color: var(--primary);
    padding: 0.6em 1.6em 0.1em;
    font-size: 0.9em;
}

.table-container .dataTables_wrapper .dataTables_info {
    clear: none;
    color: #ffffff;
    padding-top: 0.4em;
    float: right !important;
}

.table-container .dataTables_wrapper .dataTables_filter {
    float: left !important;
}

    .table-container .dataTables_wrapper .dataTables_filter input {
        background-color: #fff;
        background-image: none;
        border: 1px solid #ccc;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
        border-radius: 0.2em;
        padding: 0.3em 0.5em;
        margin: 0;
        margin-right: 0.5em;
    }

.table-container table {
    text-align: center;
}
    .table-container table tr {
        position: relative;
        cursor:pointer;
    }
    .table-container table tbody tr td:last-of-type:after,
    .table-container table tbody tr td:first-of-type:before {
        content: "\f0e6";
        font-family: FontAwesome;
        font-size: 0.9em;
        position: absolute;
        height: 1.6em;
        background-color: #CC0000;
        top: calc(50% - 1em);
        width: 1.6em;
        opacity: 0.9;
        display:none;
        border-radius: 50%;
        color: #ffffff;
    }
    .table-container table tbody tr.unread td:last-of-type:after {
        display: block;
        left: 1.5em;
    }
    .table-container table tbody tr td:first-of-type:before {
        right: 0.4em;
        font-size: 0.86em;
        top: 0.4em;
    }
    @media(max-width:1200px) {
        .table-container table tbody tr.unread td:last-of-type:after {
        left: 1em;
    }
}
@media(max-width:992px) {
    .table-container table tbody tr.unread td:last-of-type:after {
        top: 0.5em;
        left: 0.5em;
    }
    .table-container table tbody tr.unread td {
        padding-top: 1.8em;
    }
}
@media(max-width:576px) {
    .table-container table tbody tr.unread td:last-of-type:after {
        display: none;
    }

    .table-container table tbody tr.unread td:first-of-type:before {
        display: block;
    }
}
            .table-container table tbody tr:hover {
                background-color: rgba(0,0,0,0.05);
            }
        .table-container table thead {
            box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
            position: relative;
            margin-bottom: 1em !important;
            background-color: var(--secondary);
            color: #fff;
        }
    .table-container table th {
        /*border-bottom: 1px solid #d1d2d4 !important;*/
        padding: 0.9em 0.4em !important;
        font-size: 0.95rem;
        border: none !important;
    }
.table-container  .table td {
    border: none;
    border-bottom:solid 1px rgba(0,0,0,0.1);
}
.table-container .table tr:last-of-type td {
    border-bottom: none;
}
    .table tbody:before {
        line-height: 0.5em;
        content: "\200C";
        display: block;
    }
.table-container table td.resolved {
    /*    background-color: #caffcb !important;
    color: #1a8042;*/
    background-color: #b9eeba !important;
    color: #097031 !important;
}
.table-container table td.informationprovided {
    background-color: #dbffdc !important;
    color: #2b9153;
}
.table tbody a:hover{
    color:var(--secondary);
}


.table-container .bottom {
    display: table;
    width: 100%;
    padding: 1em 1.5em;
    font-size: 0.9em;
    background-color: #fff;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 0.5em;
}

.dataTables_wrapper .dataTables_paginate {
    float: left !important;
    padding-top: 0;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        color: var(--secondary) !important;
        background-color: #fff !important;
        border-color: #ddd !important;
        border-radius: 0;
        margin: 0 -0.4px;
        padding: 0.3em 0.8em;
    }

        .dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover, .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
            background: none !important;
            z-index: 2 !important;
            color: #fff !important;
            background-color: var(--secondary) !important;
            border-color: var(--secondary) !important;
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button#datatable_previous {
            border-radius: 0 0.3em 0.3em 0;
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button#datatable_next {
            border-radius: 0.3em 0 0 0.3em;
        }


        @media(max-width:576px){
            .table-container .detail-link {
                display: none;
            }
        }











/*.requests-detail ul {
    display: table;
    padding: 0;
    margin: 0;
}

.requests-detail li {
    display: inline-block;
    width: 100%;
    list-style: none;
    margin-bottom: 0.7em;
    padding-bottom: 0.7em;
    border-bottom: solid 1px rgba(0,0,0,0.08);
}

    .requests-detail li:last-of-type {
        border-bottom: none;
    }

    .requests-detail li > h2,
    .requests-detail li > span {
        margin: 0 -2px;
        display: inline-block;
    }

    .requests-detail li > h2 {
        font-size: 1em;
        color: rgba(0,0,0,0.85);
        text-align: right;
    }

    .requests-detail li > span {
        font-size: 0.92em;
        color: rgba(0,0,0,0.7);
        text-align: left;
    }

@media(max-width:576px) {
    .requests-detail li > h2 {
        text-align: center;
    }

    .requests-detail li > span {
        text-align: center;
    }
}*/





.request-detail {
    padding: 0;
    overflow: hidden;
}

    .request-detail .card-body .tab-content {
        padding: 1em !important;
    }

    .request-detail .card-title .md-tabs {
        margin: 0 !important;
        background-color: var(--secondary);
    }
@media(max-width:576px) {
    .request-detail .card-title .md-tabs.nav-tabs .nav-item {
        margin: auto;
        text-align: center;
    }
}


.request-detail .details {
    font-size: 0.95em;
    padding-bottom: 1em;
    position: relative;
}

        /*.request-detail .details:after {
            content: "";
            position: absolute;
            left: 20%;
            bottom: 0;
            width: 60%;
            height: 1px;
            background-color: rgba(0,0,0,0.1);
        }*/

        .request-detail .details ul {
            padding: 0;
            list-style: none;
        }

            .request-detail .details ul li {
                display: inline-block;
                margin: 0.5em -2px;
                padding: 0 5px;
            }

@media(min-width:768px) {
    .request-detail .details ul li:nth-child(2n) {
        padding-right: calc(2em);
    }

    .request-detail .details ul li:nth-child(2n+1) {
        padding-left: calc(2em);
    }
}

.request-detail .details ul li a {
    font-size: 1em;
    display: inline-block;
    color: rgba(0,0,0,0.95);
    float: right;
}

.request-detail .details ul li span {
    font-size: 0.92em;
    display: inline-block;
    color: rgba(0,0,0,0.7);
    float: left;
}



.request-detail .details .attachment {
    margin-top:0.5em;
}
    .request-detail .details .attachment a {
        display: block;
        width: 100%;
        font-size: 0.9em;
    }










.request-detail .conversations-list {
    display: table;
    margin: 0 0 1em;
    position: relative;
    width:100%;
}

    .request-detail .conversations-list .conversation {
        padding: 1em 1.2em 1.6em 1.5em;
        border-radius: 0.6rem;
        /*width: 60%;*/
        margin: 0.5em 0;
        position: relative;
    }

        .request-detail .conversations-list .conversation.input {
            float: left;
            background-color: rgba(0,0,0,0.07);
        }

        .request-detail .conversations-list .conversation.output {
            float: right;
            background-color: rgb(220, 248, 198);
        }

        .request-detail .conversations-list .conversation > p {
            font-size: 0.95em;
            position: relative;
            margin-bottom:0.5em;
        }

        .request-detail .conversations-list .conversation > a {
            font-size: 0.95em;
            padding-right: 1.8em;
            position: relative;
            color: rgba(0, 123, 255,0.8);
            margin-bottom: 0.5em;
            display: block;
        }

            .request-detail .conversations-list .conversation > a:before {
                content: "";
                position: absolute;
                right: 0;
                /*right:2.7em;*/
                /*top: 0.25em;*/
                top: 0;
                width: 1.25em;
                height: 1.25em;
                background-position: center right;
                background-repeat: no-repeat;
                background-size: contain;
                background-image: url('../Images/Icons/attahcIcon64.png');
            }

        .request-detail .conversations-list .conversation > span {
            position: absolute;
            left: 1.5em;
            bottom: 1em;
            font-size: 0.75em;
            opacity: 0.87;
        }
    .request-detail .conversations-list .nothing {
        width: 100%;
        text-align: center;
    }


.request-detail .conversations-add {
    overflow: hidden;
    padding: 0;
    padding-left: 3em;
    border: solid 1px rgba(0,0,0,0.2);
    border-radius: 0.3rem;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    position: relative;
}

    .request-detail .conversations-add > input {
        background-color: transparent;
        border: none;
        outline: none;
        width: 100%;
        box-shadow: none;
        padding: 0.5em 1em;
    }

    .request-detail .conversations-add input#newConversationFileInput {
        display: none;
    }

    .request-detail .conversations-add > a {
        position: absolute;
        width: 2em;
        height: 1.5em;
        left: 1.2em;
        top: 0.55em;
        display: none;
    }

        .request-detail .conversations-add > a#attachConvesation {
            display: block;
        }

    .request-detail .conversations-add.have-text > a {
        display: none !important;
    }

        .request-detail .conversations-add.have-text > a#sendConvesation {
            display: block !important;
        }

    .request-detail .conversations-add > a > img {
        object-fit: contain;
        object-position: center left;
        position: relative;
        height: 100%;
        width: 100%;
    }

@media(max-width:576px) {
    .request-detail #conversation-md div.grids > div {
        padding: 0;
    }
}


.caseresolution {
    font-size: 0.95em;
    position: relative;
    width:100%;
    text-align:center;
}

.caseresolution_survey{
    text-align:center;
    display:block;
    position:relative;
    width:100%;
    margin-top:2.5em;
    padding-top:2em;
}
    .caseresolution_survey:before{
        position:absolute;
        content:"";
        left:10%;
        width: 80%;
        height:1px;
        top:0;
        background-color:rgba(0,0,0,0.1);
    }
    .caseresolution_survey > a {
        display: inline-block;
        color: #fff !important;
        background-color: #02346d;
        border: 0;
        -webkit-box-shadow: 0 2px 5px 0 rgba(0,20,40,.2),0 2px 10px 0 rgba(0,20,40,.1);
        box-shadow: 0 2px 5px 0 rgba(0,20,40,.2),0 2px 10px 0 rgba(0,20,40,.1);
        font-weight: 500;
        padding: .7em 2em .6em;
        font-size: .9em;
        border-radius: .4em;
    }
        .caseresolution_survey > a:hover {
            background-color: #01235c;
            -webkit-box-shadow: 0 6px 14px 0 rgba(0,20,40,.25),0 6px 24px 0 rgba(0,20,40,.15);
            box-shadow: 0 6px 14px 0 rgba(0,20,40,.25),0 6px 24px 0 rgba(0,20,40,.15);
        }




    .file-field input.file-path.error {
        color: #dc3545;
    }