.view_case_wrapper .view_case_left {width:100%;}
.view_case_wrapper .view_case_right {width:100%; float: left; margin: 0 0 40px 0;}
.view_right_inner{width:100%; display: flex; flex-wrap: wrap; gap:10px;}
.view_right_inner .vrbox {border-radius: 12px; background: #fff; padding: 0 20px; box-shadow: 0 2px 8px rgba(215, 215, 215, 0.8);}
.view_right_inner .vrlt {width: 300px;}
.view_right_inner .vrrt { flex: 1;}


.view-list-grid {display: block; text-transform: uppercase; padding: 20px 0; border-bottom: 1px solid #ECF0F1;}
.view-list-grid:last-child {border: 0 none;}
.view-list-grid .viewlist-label {text-transform: uppercase; font-weight: bold; font-size: 13px; color: #7F8C8D; text-align: left;}
.view-list-grid .viewlist-cnt {font-size: 13px; text-align: left;}
.view-list-grid .fw-400 {font-weight:normal;}
.view-list-grid .fw-400 .viewlist-nt-favor {color:#DF6C6F; font-weight: bold;}
.view-list-grid .fw-400 .viewlist-in-favor {color:#3c763d; font-weight: bold;}


.view-list-grid.order-case-status-wrapper .viewlist-cnt {font-weight:bold; text-transform:uppercase; color:#40577e;}
.view-list-grid.case-status-wrapper .viewlist-cnt {color:#DF6C6F; font-weight:bold;}
.view-list-grid .viewlist-cnt form {width:fit-content;}
.view-list-grid .viewlist-cnt.span_final_comply_appeal_date {padding: 20px; background: #F8F9FA; margin-top: 10px; border-left: 4px solid #5da4d4;}

.view_case_wrapper .section-2 #view-order-case-tabs {display:flex; padding:0 25px; border-left:1px solid #ccc; border-right:1px solid #ccc; padding-top:20px; background:#fff; white-space:nowrap; border-bottom: 1px solid #ddd;}

.view_case_wrapper .section-2 ul.nav li {border-bottom:1px solid #ADB4BE; border-left:1px solid #ADB4BE; border-top:1px solid #ADB4BE; display:inline-block; margin:0; background:#f3f3f3; cursor:pointer; padding:0 10px 0 0; list-style:outside none none; float:none;}
.view_case_wrapper .section-2 ul.nav li {padding:0;}
.view_case_wrapper .section-2 ul.nav li a span label {font-weight:normal;}
.view_case_wrapper .section-2 ul.nav li a {margin:0; padding:7px 11px; font-size:13px; vertical-align:middle; color:#484848; text-align:center;}
.view_case_wrapper .section-2 ul.nav li:first-child {border-top-left-radius:5px;}
.view_case_wrapper .section-2 ul.nav li:last-child {border-right:1px solid #ADB4BE; border-top-right-radius:5px; clip-path: polygon(0 0, 100% 0, 100% 100%, calc(100% - 20px) 100%, 0 100%, 20px 50%) !important}
.view_case_wrapper .section-2 ul.nav li:last-child:before {border-top-right-radius:5px;}
.view_case_wrapper .section-2 ul.nav li.active {border-bottom-color:#fff !important; margin-bottom: 0!important;}
.view_case_wrapper .section-2 ul.nav li.disable_tab {opacity:0.45; pointer-events:none; cursor:not-allowed;}
.view_case_wrapper .section-2 ul.nav li.disable_tab a {cursor:not-allowed; color:#aaa;}
.view_case_wrapper .section-2 ul.nav li img {vertical-align:middle; padding:0 10px;}

.view_case_wrapper .section-3 {font-size:14px; padding:10px 0;}

.view_case_wrapper .descending .section-1 {padding: 25px;}
.page-orders-view .view_case_wrapper .descending .section-1 h1 {/*font-weight:normal; font-size:18px; line-height:normal;*/ padding-bottom:20px;}
.page-orders-view .view_case_wrapper .cases-description {margin: 0; clear: both;}
.page-orders-view .view_case_wrapper .cases-description p {font-size: 16px; color: #194759;}
.page-orders-view .view_case_wrapper .order-summary {clear: both; padding-bottom: 15px;}
.page-orders-view .view_case_wrapper .order-summary p {font-size: 13px; line-height: 22px;}
.page-orders-view .view_case_wrapper .case-activity-form-wrapper form .form-group.field-ordercomplyworkflow-opinion_agp_office_record {margin-top:5px;}
.page-orders-view .view_case_wrapper .descending .case-activity-tab .case-activity-form-wrapper {padding:25px; display:flex; flex-wrap:wrap; justify-content:space-between;}


/*.opinion_law_jd_text, .comply_appeal_remarks, .agp_opinion {margin:30px 0 0 0;}*/

.view_case_wrapper .section-2 .tab-content .order-activity-item-container ul.pagination {padding:5px 0 0 !important;}
.view_case_wrapper .section-2 .tab-content .order-activity-list-container {clear:both;}

.order-activity-list-container {padding-top:10px;}

.view_case_wrapper .descending .section-2 .tab-content .order-activity-list-container {background:#ececec; padding-top:10px;}
.descending .order-activity-item-container {padding:10px 25px; margin-bottom:10px; background:#fff; border-radius:5px; border:1px solid #ccc;}
.case-comply-appeal-tab .case-activity-form-wrapper, .case-law-jd-tab .case-activity-form-wrapper {margin-top:20px; margin-bottom:24px;}
.case-comply-appeal-tab .case-activity-form-wrapper, .case-final-decision-tab .case-activity-form-wrapper {margin-top:20px; margin-bottom:24px;}
.case-comply-appeal-tab .case-activity-form-wrapper .case-activity-form-left, .case-law-jd-tab .case-activity-form-wrapper .case-activity-form-left {display:inline-block; vertical-align:top; width:5%;}
.case-comply-appeal-tab .case-activity-form-wrapper .case-activity-form-left, .case-final-decision-tab .case-activity-form-wrapper .case-activity-form-left {display:inline-block; vertical-align:top; width:5%;}

.case-comply-appeal-tab .case-activity-form-wrapper .case-activity-form-left img {height:34px; width:auto; border-radius:3px;}
.case-final-decision-tab .case-activity-form-wrapper .case-activity-form-left img {height:34px; width:auto; border-radius:3px;}
.case-law-jd-tab .case-activity-form-wrapper .case-activity-form-left img {height:34px; width:auto; border-radius:3px;}
.case-comply-appeal-tab .case-activity-form-wrapper .case-activity-form-right {display:inline-block; width:94%;}
.case-law-jd-tab .case-activity-form-wrapper .case-activity-form-right {display:inline-block; width:94%;}
.case-final-decision-tab .case-activity-form-wrapper .case-activity-form-right {display:inline-block; width:94%;}
.case-comply-appeal-tab .case-activity-form-wrapper .case-activity-form-right .section-6 {padding:0; margin:0px;}
.case-law-jd-tab .case-activity-form-wrapper .case-activity-form-right .section-6 {padding:0; margin:0px;}
.case-final-decision-tab .case-activity-form-wrapper .case-activity-form-right .section-6 {padding:0; margin:0px;}
.case-comply-appeal-tab .case-activity-form-wrapper .case-activity-form-right .section-7 #hearing-details {width:100%; float:left;}
.case-law-jd-tab .case-activity-form-wrapper .case-activity-form-right .section-7 #hearing-details {width:100%; float:left;}
.case-final-decision-tab .case-activity-form-wrapper .case-activity-form-right .section-7 #hearing-details {width:100%; float:left;}

.case-comply-appeal-tab .case-activity-form-wrapper .case-activity-form-right .section-7 #hearing-details .case-activity-info ul.field-caseactivityinfo-who_attended {float:left; margin-top:4px; margin-bottom:16px; width:100%;}
.case-law-jd-tab .case-activity-form-wrapper .case-activity-form-right .section-7 #hearing-details .case-activity-info ul.field-caseactivityinfo-who_attended {float:left; margin-top:4px; margin-bottom:16px; width:100%;}
.case-final-decision-tab .case-activity-form-wrapper .case-activity-form-right .section-7 #hearing-details .case-activity-info ul.field-caseactivityinfo-who_attended {float:left; margin-top:4px; margin-bottom:16px; width:100%;}
.page-cases-view .case-comply-appeal-tab .view-case-filter-container .view-case-filter-form-container .row .view-case-filter-actions {display:table-cell; float:none; padding:0 0 0 15px; position:relative; top:10px; width:17%;}
.page-cases-view .case-law-jd-tab .view-case-filter-container .view-case-filter-form-container .row .view-case-filter-actions {display:table-cell; float:none; padding:0 0 0 15px; position:relative; top:10px; width:17%;}
.page-cases-view .case-final-decision-tab .view-case-filter-container .view-case-filter-form-container .row .view-case-filter-actions {display:table-cell; float:none; padding:0 0 0 15px; position:relative; top:10px; width:17%;}

.case-comply-appeal-tab .view-case-filter-container {padding:20px 0 0;}
.case-law-jd-tab .view-case-filter-container {padding:20px 0 0;}
.case-final-decision-tab .view-case-filter-container {padding:20px 0 0;}

.descending .case-comply-appeal-tab .view-case-filter-container {padding:10px 25px !important; border:1px solid #ccc; border-top:none; border-bottom:0; border-radius:0; background:#fff;}
.descending .case-law-jd-tab .view-case-filter-container {padding:10px 25px !important; border:1px solid #ccc; border-top:none; border-bottom:0; border-radius:0; background:#fff;}
.descending .case-final-decision-tab .view-case-filter-container {padding:10px 25px !important; border:1px solid #ccc; border-top:none; border-bottom:0; border-radius:0; background:#fff;}
.descending .case-comply-appeal-tab .case-activity-form-wrapper {border:1px solid #ccc; padding:25px; border-radius:4px; background:#fff; margin:0; border-top:none; border-top-left-radius:0; border-top-right-radius:0; display: flex; flex-wrap: wrap; justify-content: space-between;}
.descending .case-law-jd-tab .case-activity-form-wrapper {border:1px solid #ccc; padding:15px 20px 10px; border-radius:4px; background:#fff; margin:0; border-top:none; border-top-left-radius:0; border-top-right-radius:0;}
.descending .case-final-decision-tab .case-activity-form-wrapper {border:1px solid #ccc; padding:15px 20px 10px; border-radius:4px; background:#fff; margin:0; border-top:none; border-top-left-radius:0; border-top-right-radius:0;}

.descending .case-comply-appeal-tab .view-case-filter-container {padding:0px 25px !important;}
.descending .case-law-jd-tab .view-case-filter-container {padding:0px 25px !important;}
.descending .case-final-decision-tab .view-case-filter-container {padding:0px 25px !important;}
.page-orders-index .sprite.view_icon_disabled {background-position:-161px -227px; width:20px;}
.page-orders-index td.case-actions-section.small-height .selector {margin-bottom:5px;}

.Todo_wrapper {padding: 0;}
.Todo_wrapper .todo_section1 {box-shadow: none;}
.Todo_wrapper .todo_section1 #create-todos-form {width: calc(100% + 40px); position: relative; left: -20px;}

#order-comply-appeal-activity-form .field-ordercomplyworkflow-case_id {display: none;}

/* Custom */
.payment-history {margin-top:40px; clear: both; width: 100%; float: left;}
.payment-history h2 {margin: 0 0 5px 0;}
.payment-history table th, .payment-history table td {min-width: 150px;}

.order-history-item-actions {clear: both; width: 100%; float: left;}
.order-history-item-actions .left {float: left;}
.order-history-item-actions .right {float: right;}
.order-history-item-actions .right > span{vertical-align: bottom; font-size: 14px;}
.order-history-item-actions .right span.sprite {width: 25px; vertical-align: bottom;}
.order-history-item-actions .right .edit-icon{ background-position:-79px -11px; background-size: 400px auto; height: 17px; margin-right: 7px; padding: 0; width: 17px;}


.order-parent-tab .section-4 {margin-left: 0; padding: 10px 20px; float: left; width: 100%; margin-bottom: 5px;}
.order-parent-tab .section-4 .form-group:last-of-type {margin-bottom: 0;}
.order-parent-tab .opinion_law_jd_text .form-group, .order-parent-tab .comply_appeal_remarks .form-group,.order-parent-tab .final_comply_appeal_remarks .form-group, .order-parent-tab .agp_opinion .form-group {margin-top: 15px; margin-bottom: 0;}
.order-parent-tab .activity-chunks {margin-left: 0; clear: both; width: 100%; padding: 0 0 10px 0; float: left;}
.order-parent-tab .sec-3 {width: 100%; float: left;}
.order-parent-tab .sec-3:first-of-type {margin-top: 0;}
.order-parent-tab .section-4 .opn_agp_off_rec {display: inline-block; margin-right: 5px;}
.order-parent-tab .section-4 .submit_cancel_wrapper {display: inline-block;}
.order-parent-tab .section-4 .submitbutton {margin-top: 20px;}
.order-todo-list-container {float: left; width: 100%;}

.page-admin-orders-management-index .cke_top { display:none;}
.page-admin-orders-management-index .editor_summary{min-width: 300px;}

.lastrow-btn-section #btn-order-decision{margin-right: 10px; background-color: #000;}
.lastrow-btn-section #btn-order-decision:hover, .lastrow-btn-section #btn-order-decision.btn-clicked:hover,
.lastrow-btn-section .btn-order-decision.btn-clicked{ background: #ffffff; color: #263959; border: 1px solid #263959; border-bottom-color: #fff; margin-bottom: -1px; padding-bottom: 20px!important;}
.lastrow-btn-section #btn-order-decision{margin-left: 0px;}
.bulk-decision{margin-top: 5px;margin-bottom: 15px;}
.bulk-decision .bulk-decision-wrapper{display: block; margin-right: 0;}
.bulk-decision{display: block; margin-top: 15px;}
.bulk-decision .bulk-decision-wrapper{display: inline-block; margin-right: 0; width: 100%;}
.tbl-list-select .bulk-decision-wrapper.bulk-decision { display: table; width: 100%; border: 1px solid #263959; margin-left: 0; padding: 10px 20px 0 20px; margin-top: 0;}
.page-orders-index .tbl-list-select .bulk-decision-wrapper.bulk-decision div.selector { width: 100% !important; height: 35px; /*padding: 3px 10px; */}
.tbl-list-select .btn-submit {padding: 10px 15px 9px 15px;}

.bulk-decision .form-group:first-child {display: flex; align-items: center; flex-wrap: wrap; width: 45%;}
.bulk-decision .form-group:first-child label {width:auto;}
.bulk-decision .form-group:first-child div.selector {width:calc(100% - 100px)!important; min-width:inherit;}
.bulk-decision .form-group:first-child div.selector span {line-height:normal; padding: 6px 20px 0 0;}
.bulk-decision .form-group:last-child {width:30%;}
.bulk-decision .form-group:first-child {width: 100%;}
.bulk-decision.bulk-decision-wrapper .col-xs-12.col-sm-4 { padding-right: 0px;}
.tbl-list-select .bulk-decision.bulk-decision-wrapper .col-xs-12.col-sm-4 { padding-left: 0;}
/*.tbl-list-select .bulk-decision-wrapper.bulk-decision { padding: 10px 20px 0 20px;}*/

.page-orders-index .tbl-list-select {display: flex !important; flex-wrap: wrap; gap: 10px; align-items: center;}

.order-history-item-wrapper .submitbutton {margin: 10px 10px 0 0;}
.order-history-item-wrapper .order-history-inline-actions .inline-order-history-action {display: inline-block; text-align: right; width: 100%;}

.view_tooltip_wrapper {position: relative;}
.view_tooltip_wrapper .view_tooltip_short a,
.view_tooltip_wrapper .view_tooltip_full a { color: #40577e; text-decoration: underline; }
.view_tooltip_container .toggle-view-tooltip span { color: #337ab7; font-weight: bold; }
.view_tooltip {cursor: pointer; position: relative; display: inline-block;}

.view_tooltip::after {content: attr(data-full); visibility: hidden; opacity: 0; background: #333; color: #fff; padding: 6px 10px; border-radius: 4px; position: absolute; white-space: normal; width: 300px; bottom: 0; left: 0; z-index: 9999; transition: opacity .2s ease;}
.view_tooltip:hover::after {visibility: visible; opacity: 1;}


.view_tooltip {bottom:23px; font-weight: normal; max-width: 320px; left: 10px; transform: none; padding: 0;}
.view_tooltip .tooltip-height {overflow-y: auto; max-height: 400px; padding: 8px 12px; display: block; width: 100%; height: 100%;}
.page-orders-view .section-2 .grid-view {overflow: inherit;}

.page-orders-view .responsive-sidebar-case-details {display: none;}
.order-parent-tab table tr td {white-space: normal !important; line-height: normal;}
.escalation_team_wrapper {text-transform: none; display: flex; flex-wrap: wrap; gap:10px; align-items: flex-start; margin-top: 10px;}
.escalation_team_wrapper dl {margin-bottom: 0;}
.escalation_team_wrapper dt p {line-height: 18px!important;}
.side-bar {padding: 52px 20px 0 0;}
.page-orders-view .sidebar-case-section table tr td {width: 50%; max-width: 145px;}
.page-orders-index .middle_wrapper .section-1 .left {float: left;width: auto;}
.page-orders-index .middle_wrapper .section-1 .left h2 {padding: 5px 0 20px;}
.page-orders-index .middle_wrapper .section-1 .right{float: right;width: auto;}

/* Responsive Starts Here */
@media only screen and (max-width: 1024px) {
    .view_case_wrapper .view_case_right {margin: 0;}
    .side-bar {display: none;}
    .page-orders-index .middle_wrapper .section-1 .right .search-dd-wrapper {padding-top: 0;}
}
@media only screen and (max-width:600px) {
    .page-orders-index div.middle_wrapper .section-1 .left {width: 100%;}
    .page-orders-index div.middle_wrapper .section-1 .right {width: 100%;padding-bottom:0px;}^M
    .page-orders-index .middle_wrapper .section-1 .right .list-page-search-container{padding-bottom: 0; display: block;}
    .page-orders-index .Case_main .case-advance-filter-btn, .page-orders-index .Case_main .export_div{margin-right: 0px; margin-left: 5px;}
}

@media only screen and (max-width: 1340px) and (min-width:768px) {
   
}

@media only screen and (max-width: 1230px) and (min-width:1024px) {
    .view_case_wrapper .section-2 ul#view-case-tabs li a span {display:block; text-align:center;}
    .view_case_wrapper .section-2 ul#view-case-tabs li a span label {font-weight:normal; font-size:13px;}
}


@media only screen and (max-width:991px) {
    .page-cases-view .case-comply-appeal-tab .view-case-filter-container .view-case-filter-form-container .row .view-case-filter-actions {top:14px;}
    .page-cases-view .case-law-jd-tab .view-case-filter-container .view-case-filter-form-container .row .view-case-filter-actions {top:14px;}
    .page-cases-view .case-final-decision-tab .view-case-filter-container .view-case-filter-form-container .row .view-case-filter-actions {top:14px;}
}


@media only screen and (max-width:768px) {
    .case-comply-appeal-tab .case-activity-form-wrapper .case-activity-form-left {display:none;}
    .case-comply-appeal-tab .case-activity-form-wrapper .case-activity-form-right {width:100%;}
    .case-law-jd-tab .case-activity-form-wrapper .case-activity-form-left {display:none;}
    .case-final-decision-tab .case-activity-form-wrapper .case-activity-form-left {display:none;}
    .case-law-jd-tab .case-activity-form-wrapper .case-activity-form-right {width:100%;}
    .case-final-decision-tab .case-activity-form-wrapper .case-activity-form-right {width:100%;}
}

@media only screen and (max-width:767px) {
    .view_case_wrapper .descending .section-1 {padding: 15px;}
    .view_case_wrapper .view_case_right {margin: 0;}
    .page-orders-view .view_right_inner {padding-bottom: 10px;}
    .view_right_inner .vrlt {width:100%; display: flex; flex-wrap: wrap;}
    .view_right_inner .vrlt .view-list-grid {width: 50%;}

    .page-orders-view .view_case_wrapper .descending .case-activity-tab .case-activity-form-wrapper {padding: 15px;}

    .view_case_wrapper .section-2 .tab-nav-wrap {padding-bottom: 0;}
    .view_case_wrapper .section-2 #view-order-case-tabs {display: none; padding: 0 15px; border-bottom: 0 none;}
    .view_case_wrapper .section-2 ul.nav.nav-tabs li {display: block; clip-path: polygon(0 0, 100% 0, 100% 1000%, 100% 100%, 0 100%) !important;}
    .page-orders-view .view_case_wrapper .section-2 ul.nav li:first-child::before, .view_case_wrapper .section-2 ul.nav li:last-child::before {border-radius: 0!important;}
}
@media only screen and (max-width:600px) {
    .page-orders-index div.middle_wrapper .section-1 .left {width: 100%;}
    .page-orders-index div.middle_wrapper .section-1 .right {width: 100%;padding-bottom:0px;}
    .page-orders-index .middle_wrapper .section-1 .right .list-page-search-container{padding-bottom: 0; display: block;}
    .page-orders-index .Case_main .case-advance-filter-btn, .page-orders-index .Case_main .export_div{margin-right: 0px; margin-left: 5px;}
}

@media only screen and (max-width:540px) {
    .view_right_inner .vrlt .view-list-grid {width: 100%;}
}
@media only screen and (max-width:480px) {
   .page-orders-index .open-export-elements.clicked {margin-top: -21px;}
}
