.text-right{text-align: right !important;}
.text-left{text-align: left !important;}
.todos-agenda {padding-bottom: 20px;}
.todos-agenda .grid-view{ border: 1px solid #ccc; border-radius: 5px;margin-top: 10px;}
.todos-agenda table.bordered tr td{border-bottom: 1px solid #ccc;padding: 10px;font-size: 14px;}
.todos-agenda table.bordered{table-layout: fixed;}

/* Start: Filter */
.doc-advance-filter-elements.clicked{margin-top: -21px;}
.doc-advance-filter-elements.clicked input[type="text"]{color: #333;padding: 3px 10px;height: 36px;}
.doc-advance-filter-elements .col-md-4{display: inline-block;vertical-align: top; width: 30%;}
/*.doc-advance-filter-elements .col-md-4.custom-dropdown-wrapper {width: 39%;}*/
.doc-advance-filter-elements .custom-dropdown dd label{width: 85%;}
.doc-advance-filter-elements .row .col-md-4{padding-bottom: 10px;}
.doc-advance-filter-elements .row .col-md-4.causelist-form-controls{
    display: block;padding-top: 10px;
}
.doc-advance-filter-elements .row .col-md-4.causelist-form-controls .comingsoontext{
    color: #ff0000;font-size: 18px;
}
.page-agenda-index .custom-dropdown dt a {padding: 3px 25px 0 10px;}
/*.form-group{margin-bottom: 0;}*/
.doc-advance-filter-elements .row .col-md-4 .hasDatepicker{
    background: #fff url("/themes/app/images/side-bar-calender-icon.png") no-repeat scroll 95% 50%;
}
.doc-advance-filter-elements.clicked div.selector select{top:0;}
.doc-advance-filter-elements {
    background: #fff none repeat scroll 0 0;border: 1px solid #fd933d;padding: 20px 20px 10px;
    margin-top: -21px;
}
.client_search {
    border: 1px solid #fd933d;display: inline-block;height: 35px;padding: 6px 0;
    vertical-align: top;position: relative;top: 0px;right: 0;
}
.client_search span {
    color: #de972b;cursor: pointer;font-size: 14px;padding: 8px 10px 9px;
    transition: all 1s ease-in-out 0s;
}
.client_search span:hover{background: #fd933d;color:#fff;}
.client_search.clicked {background-color: #fff;border-bottom: none;height: 52px;}
.view-case-filter-actions.col-md-4 {padding-top: 25px;}
.doc-advance-filter-elements .row .col-md-4 .submitbutton {margin-right: 5px;}
.doc-advance-filter-elements .row .col-md-4.comingsoontext {
    color: #ff0000;display: inline-block;font-size: 16px;
    font-weight: 600;padding: 30px 0 0;vertical-align: middle;
}
/* End: Filter */

.page-agenda-index .view-case-row:hover {/*background: #efefef;*/cursor: pointer;}
.page-agenda-index .hasDatepicker{cursor:pointer;}
.page-agenda-index .manditary-field {display: none;}

.page-agenda-index .export_div{margin-top:20px;}
.page-agenda-index .open-export-elements.clicked {margin-top: -1px;}

/* Start: Export Dropdown */
.search-dd-wrapper {vertical-align: top; padding-top: 0px;padding-left: 10px;padding-right: 15px;}
.middle_wrapper .section-1 .right .row{float: right;}
.action-btn {display: inline-block; color: #333;padding: 0; position: relative; /*width: 100px;*/}
.action-btn p{background: #fff url('/themes/app/images/select-arrow.png') no-repeat scroll 86% center; border-radius: 3px;border: 1px solid #ccc;}
.action-btn .exportas{cursor: pointer; padding: 5px 33px 0px 10px; height: 34px; line-height: 23px;}
.action-btn ul.exportas-items{display:none; position: absolute; padding: 0;text-align: left; border: 1px solid #cfcfcf; background: #fff; width: 100%;}
.action-btn ul.exportas-items a{color: #333333; transition: none; cursor: pointer; padding: 2px 8px 2px 8px; font-size: 14px; margin: 0; display: inline-block;}
.action-btn ul.exportas-items li{list-style: none; cursor: pointer; }
.action-btn ul.exportas-items li:hover{ background-color: #337ab7;}
.action-btn ul.exportas-items li:hover a{color: #fff;}

.middle_wrapper .agenda_container .section-1 .left { float: left; overflow: hidden; width: auto;}
.middle_wrapper .agenda_container .section-1 .right {width: auto; }
.middle_wrapper .section-1 .right .row.agenda-filter-basic { float: none; display: inline-block; vertical-align: top;}
.middle_wrapper .section-1 .right .row.agenda-filter-basic .col-md-4 { width: 30%; padding: 0 3.5px; vertical-align: top;}
.middle_wrapper .section-1 .right .row.agenda-filter-basic .col-md-4.action-btns { width: auto; margin: 20px 12px 0 0; }
.agenda_container .search-dd-wrapper { margin: 20px 0 0 0; padding: 0 7px 0 10px; }
.agenda_container .advance-filter-btn {  margin: 20px 0 0 5px; }
.agenda_container .advance-filter-btn.clicked { border-bottom: none; margin: 20px 0 -1px 5px; }

.action-btn a.pdf{ background: #ECECEC;border-radius: 3px;font-size: 14px;border: 1px solid #35cfb5;color: #35cfb5;outline: 0 none;padding:6px 12px;cursor:pointer;text-decoration: none;}
.action-btn a.pdf.clicked {background: #35cfb5;color:#fff;}
.action-btn a.pdf:hover{background: #35cfb5;border: 1px solid #35cfb5;color: #fff;text-decoration: none;}
.action-btn a.excel{ background: #ECECEC;border-radius: 3px;font-size: 14px;border: 1px solid #FD933D;color: #DE972B; outline: 0 none; padding: 6px 8px;cursor:pointer;text-decoration: none;margin: 0 0 0 5px;}
.action-btn a.excel:hover{background: #FD933D;color: #fff;text-decoration: none;}
.action-btn a.print{background: #ECECEC;border-radius: 3px;font-size: 14px; border: 1px solid #010101; color: #3E3E3E; outline: 0 none; padding: 6px 8px;cursor:pointer;text-decoration: none;}
.action-btn a.print:hover{background: #010101;color: #fff;text-decoration: none;}
.action-btn label{font-weight: normal;}
/* End: Export Dropdown */

/*.middle_wrapper .section-1 .left {word-break: break-word;width: auto;}
.middle_wrapper .section-1 .right {width: 72.5%;vertical-align: top;padding-top: 4px;}*/
.client_search {border: 1px solid #fd933d;display: inline-block;height: 35px; padding: 6px 0;vertical-align: top;position: relative;top:0px;right: 0;}
.client_search span{color: #de972b; cursor: pointer; font-size: 14px;padding: 8px 10px 9px; transition: all 1s ease-in-out 0s;}
.client_search span:hover{background: #fd933d;color: #fff;transition: all 1s ease-in-out 0s;}
.client_search.clicked{background-color: #fff; border-bottom: none; height: 60px;}
.page-clients-invoices-index .custom-dropdown dd ul{height:168px;}
.page-clients-invoices-index .mutliSelect ul li {padding: 5px 3px;}
.page-clients-invoices-index .sprite.download_icon {background-position: -193px -77px;}
.payment-contant-wrapper {background-color: #fff;}
.invoice-client-name {padding: 20px;}
.table-total-amount{width:50%;float:right;border: 1px solid #ccc;border-top: 0;border-right:0;}
.document-search-filter-btns .submitbutton {margin-right: 6px;}
.middle_wrapper .section-1 .right .col-md-4 {display: inline-block;float: none;vertical-align: middle; width: 24%;padding-right: 0;}
.middle_wrapper .section-1 .right .col-md-4 label {text-align: left; width: 100%;}
.middle_wrapper .section-1 .right .col-md-4.action-buttos-section {padding-top: 21px;width: auto;}
.col-md-4 .submitbutton {font-size: 14px;padding: 8px 15px 7px;}
.col-md-4 a.submitbutton {margin-left: 11px; margin-right: 5px;font-size: 14px;}
.middle_wrapper .section-1 .right .col-md-4 .hasDatepicker{  background: #fff url("/themes/app/images/side-bar-calender-icon.png") no-repeat scroll 96% 8px; height: 34px;cursor: pointer;}

/*Nikhil Code here*/
.middle_wrapper .agenda_container .section-1 .right{float: right; font-size: 0;}
.middle_wrapper .section-1 .right .row.agenda-filter-basic{text-align: right; margin-left: 0px;}
/*Nikhil Code end*/

/* Start: Advance Export */
.advance-export-btn {
    display: inline-block;height: 34px;padding: 6px 0;vertical-align: top;
    position: relative;top: 0px;right: 0;border: 1px solid #000;
}
.advance-export-btn span {
    color: #000;cursor: pointer;font-size: 14px;
    padding: 8px 10px 9px;transition: all 1s ease-in-out 0s;
}
.advance-export-elements {
    background: #fff none repeat scroll 0 0;border: 1px solid #000;
    padding: 20px 20px 20px;width: 100%;clear: both;
}
.advance-export-elements .export_checkbox_div{width:20%; padding-bottom: 20px; height: 45px;}
.advance-export-elements .export_checkbox_div label{cursor:pointer;}
.advance-export-btn-div .clicked {
    border-bottom: none;margin: 0px 0 -1px 0;background-color: #fff;height: 52px;
}
.advance-export-btn span:hover{background: #000;color:#fff;}
.advance-export-elements .row{
    margin: 0px;
}
.advance-export-elements h1{
    margin-bottom: 20px;
}
.downld_opt_cvr{
    padding-top: 10px;
}
.downld_opt_cvr h3{
    font-size: 20px;
    display: inline-block;
    margin-top: 0px;
    font-weight: normal;
}
.downld_opt_cvr::after {
    content: "";
    display: block;
    clear: both;
}
#advanceexport-exp_as > label:first-child{
    margin-right: 10px;
}
.downld_opt_lbl{
    margin: 5px 15px 0 0;
}
.downld_opt_radio{
    margin: 7px 20px 0 0;
}
.showmorefilteroptions{
    font-size: 15px;
    font-weight: 600;
    color: #263959;
}
.showmorefilteroptions:hover{
    cursor: pointer;
}
.agenda_container .section-2 .grid-view table.bordered th:first-child{
    width: 45px;
}
.page-agenda-index .open-export-elements .export_checkbox_div{
    padding-bottom: 15px;
}

/* End: Advance Export */

#uniform-agendacasesearch-petitioners, #uniform-agendacasesearch-opponents {display: none}
#uniform-agendacasesearch-opponents_adv {display: none}

/* START: Legends */
.page-agenda-index .grid-view{margin-top: 15px;}
.legends .cases_status{float:left;}
.legends .cases_priority{float:right;}
.sub_legends_heading{float:left;margin-right: 5px;font-weight: bold;}
.sub_legends{float:left;}
.legends .sub_legends .legends_color{
    width: 20px;
    height: 20px;
    float:left;
    margin-right: 2px;
}

/*.sub_legends .active_cases {background-color: green;}
.page-agenda-index .bordered .active_cases{color:green;}

.sub_legends .closed_cases {background-color: #ba02ee;}
.page-agenda-index .bordered .closed_cases{color:#ba02ee;}

.sub_legends .transferred_cases {background-color: blue;}
.page-agenda-index .bordered .transferred_cases{color:blue;}

.sub_legends .direction_cases {background-color: orange;}
.page-agenda-index .bordered .direction_cases{color:orange;}

.sub_legends .order_reserved_cases {background-color: purple;}
.page-agenda-index .bordered .order_reserved_cases{color:purple;}

.sub_legends .sine_die_cases {background-color: violet;}
.page-agenda-index .bordered .sine_die_cases{color:violet;}
*/
.sub_legends .legends_text{
    float: left;
    margin-right: 5px;
    font-weight: bold;
}

.cases_priority .priority_Others, .page-agenda-index .bordered .priority_Others{background-color: #eef8fb !important;}
.cases_priority .priority_Routine, .page-agenda-index .bordered .priority_Routine{background-color: #ceffff !important;}
.cases_priority .priority_Important, .page-agenda-index .bordered .priority_Important{background-color: #ffffdd !important;}
.cases_priority .priority_Critical, .page-agenda-index .bordered .priority_Critical{background-color: #ffeedd !important;}
.cases_priority .priority_Super_Critical, .page-agenda-index .bordered .priority_Super_Critical{background-color: #ff0000 !important;}
.cases_priority .priority_Normal, .page-agenda-index .bordered .priority_Normal{background-color: #ffffff !important;}

/* END: Legends */

#uniform-agendacasesearch-petitioners_adv {display: none;}

/* Custom fix */
.ol_wrap {display: flex; flex-wrap: wrap;}
.ol_wrap a {color:#337ab7!important;}
.ol_wrap a:hover {color: #40577e!important;}
.ol_wrap a:first-child:not(:only-child):after {content: ""; height:89%; width: 1px; background: #ddd; display: inline-block; vertical-align: middle; margin: 0 7px;}

/* Responsive Media Query */
@media only screen and (max-width:1023px){
    .search-dd-wrapper {display: inline-block;padding-top: 10px;}
    .search-dd-wrapper{padding-top: 0;}
    div.middle_wrapper .section-1 .left{display: block;float: none;width: 100%;}
    div.middle_wrapper .section-1 .right {width: auto;display: block;}
}

@media only screen and (max-width:767px){
    .todos-agenda table.bordered tr td:first-child{border-top: 1px solid #ccc;}
    .todos-agenda table.bordered tr td{display: block;width: 100%;border-left: 0;border:1px solid #ccc;border-top: 0;font-size: 14px;}
    .todos-agenda table.bordered tr td:nth-child(4) {text-align: left !important;}
    .todos-agenda table.bordered tr td::before {content: attr(data-th) ": ";font-weight:600;display: block;}
    .todos-agenda table.bordered tbody tr {display: block;margin-top: 15px;}
    .todos-agenda table.bordered tbody tr:first-child{margin-top: 0;}
    .todos-agenda table.bordered {margin: 15px 0;table-layout: fixed;width: 100%;padding: 0 15px;}
    .todos-agenda .grid-view{background-color: #fff;}
    .todos-agenda table.bordered tr td:first-child{}
    .action-btn ul.exportas-items{z-index: 999;}
    .action-btn .exportas{display: block;}
    .middle_wrapper .section-1 .right .col-md-4 {width: 50%;padding-right: 15px;}
    .middle_wrapper .section-1 .right .col-md-4.action-buttos-section { width: 100%;text-align: right;}
    .search-dd-wrapper{float: none;}
    .todos-agenda table.bordered thead tr th{display: none;}
    .section-2 .grid-view table.bordered td::before{ content: attr(data-th) ""; font-weight: 600;}
    .todos-agenda table.bordered tr td::before{content: attr(data-th) " ";}
    .list-page-last-row, .grid-page-last-row{padding-left: 20px;}
    .section-2 .grid-view{padding: 0;}
    .search-dd-wrapper{padding: 0;}
    .middle_wrapper .agenda_container .section-1 .left { float: none; width: 100%; margin: 0 auto 0px; }
    .middle_wrapper .agenda_container .section-1 .right {float: none; width: 100%; margin: 0 auto; }
    .middle_wrapper .section-1 .right .row.agenda-filter-basic { float: none; width: 100%; text-align: left; margin: 0 auto; display: flex; flex-wrap: nowrap;}
    .middle_wrapper .section-1 .right .row.agenda-filter-basic .col-md-4.action-btns { margin: 20px 0 0 0; }
    .agenda_container .search-dd-wrapper { width: auto; }
    .advance-filter-elements .col-md-4 { display: block; }
    
    .middle_wrapper .section-1 .right .row.agenda-filter-basic .col-md-4 {padding: 0; width: 50%; margin: 0 5px 0 0;}


}


@media only screen and (max-width:600px){
    .action-btn p {background-position: right 10px center;}

}

@media only screen and (max-width:480px){
    .search-dd-wrapper {display: inline-block;float: none; padding: 0 0 0 5px; width: 47%;}
    .action-btn ul.exportas-items{width: 93%;}
    .middle_wrapper .section-1 .right .col-md-4 { padding-right: 15px; width: 100%;padding-bottom: 10px;}
    .middle_wrapper .section-1 .right .col-md-4.action-buttos-section {padding-top: 10px;}
    .action-btn { display: inline-block; float: left; padding: 0;}
    .list-page-last-row .pagination { position: initial; text-align: left;}
    .action-btn {width: 100%;}
    .middle_wrapper .section-1 .right .col-md-4.action-buttos-section .submitbutton {box-sizing: border-box;display: inline-block; float: left; width: 31%;margin-right: 10px;text-align: center;}
    .middle_wrapper .section-1 .right .col-md-4.action-buttos-section .search-dd-wrapper {display: inline-block; float: right; width: 32%;padding: 0;}
    .middle_wrapper .section-1 .right .col-md-4.action-buttos-section a.submitbutton{margin-left: 0;margin-right: 0;}
    .action-btn ul.exportas-items {width: 100%;}
    .middle_wrapper .section-1 .right .row.agenda-filter-basic .col-md-4 { width: 49%; padding: 0;} 
}

@media only screen and (max-width:414px){
    .action-btn ul.exportas-items{width: 100%;}
    .search-dd-wrapper{width: 43%;}
}

@media only screen and (max-width:320px){
    .middle_wrapper .section-1 .right .col-md-4.action-buttos-section .search-dd-wrapper{width: 31%;}
}

/*Nikhil Responsive Code Start*/
@media only screen and (max-width:1024px){
    .advance-export-btn-div .clicked{ 
        height: 51px;
    }
}
@media only screen and (max-width:768px) and (min-width: 760px){

    .middle_wrapper .agenda_container .section-1 .right{
        float:left;
        width: 100%;
    }
    .middle_wrapper .agenda_container .section-1 .left{
        float: none;
    } 
}
@media only screen and (max-width:768px){

    .advance-export-elements .export_checkbox_div{
        width: 33%;
    }
    .page-agenda-index .showmoreoptions-wrapper > div:nth-child(16) .lbl, 
    .page-agenda-index .showmoreoptions-wrapper > div:nth-child(18) .lbl { margin-bottom: 0; }

}

@media only screen and (max-width:480px){
    .advance-export-elements .export_checkbox_div{
        width: 50%;
        margin-bottom: 15px;
    }
    .downld_opt_lbl{
        float: none;
        display: block;
        margin: 0 0 3px 0;
    }
    .page-agenda-index .export_div,
    .agenda_container .advance-filter-btn,
    .agenda_container .advance-filter-btn.clicked{
      
        margin-right: 0px;
    }
}

@media only screen and (max-width:390px){
    .advance-export-elements .export_checkbox_div label{
        font-size: 12px;
    }
    .downld_opt_cvr h3{
        font-size: 18px;
    }
}

/*Nikhil Responsive Code End*/

/*Nikhil Landscape Responsive Code Start*/
@media only screen and (max-width:736px) and (orientation:landscape){
    .middle_wrapper .section-1 .right .row.agenda-filter-basic{float: left;text-align: left;}
}
@media only screen and (max-width:667px) and (orientation:landscape){
    .middle_wrapper .section-1 .right .row.agenda-filter-basic{width: 100%;}
}



/*Nikhil Landscape Responsive Code End*/

.agenda_container .section-2 .section-2 .legends{display: none}
.section-2 .grid-view table.bordered a.view_order_link { color: blue;}
