/* Broad Changes */

@media print { /* Required for printing to work */
  body, h1, h2, h3, ol, ul, div, span, p {
      overflow: visible !important;
  }
}

@media only screen
  and (min-device-width: 320px)
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
  .text-sm-wrap {
    white-space: normal !important;
  }
}


html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  color: #25567e;
  padding: 0px;
  margin: 0px;
  font-family: 'open-sans', sans-serif;
  font-size: .875rem;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  background-color: #f4f4f4;
  -webkit-print-color-adjust:exact !important;
  print-color-adjust:exact !important;
}

main {
  flex: 1 0 auto;
}

a{
  outline: none;
}

a:active{
  outline: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

h1 {
  font-size: 2em;
}

h1, h2, h3, h4, h5, .section_header {
  font-family: 'Roboto', sans-serif;
}


/*Bootstrap Modifications*/
/* Note: These should only apply until we can find a work around for using Bootstraps build in SASS library (See Github)*/

.accordion-button {
  font-size: 1rem;
  font-weight: 600;
}

.accordion-body {
  font-size: .9rem;
  line-height: 1.6;
}

@media (max-width:992px) {
  /* Mostly used to fix mobile margins in cases where they dont properly extend to the side, such as the court cards*/
  .mx-n2 {
    margin-right: -1rem;
    margin-left: -1rem;
  }

  .container-lg > .row > .col-12 > .common_container, form > .row, .tab-pane > .row {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
  }
}

@media (min-width:992px) {

}

.tip-wide {
  --bs-tooltip-max-width: 320px !important;
  --bs-tooltip-font-size: .65rem !important;
}

.tooltip-inner{
  text-align: left;
}

/* Mostly used to fix non-mobile margins in cases where they dont properly extend to the side, such as the court cards*/
.ms-n2_half {
  margin-left: -.75rem;
}
.me-n2_half {
  margin-right: -.75rem;
}


.vertical-center {
  display: flex;
  align-items: center;
  min-height: 50vh;
}

.common_container {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid lightgrey !important;
  border-radius: 5px;
}

.oral_container {
  border: 2px solid white !important;
  box-shadow: inset 0 0 5px #fff;
  background-color: #eafbfe;
  color: black;
  text-decoration: none;
  border-radius: 46px;
}

div.common_container.oral_container {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 0 10px #fff;
  border: 1px solid lightgrey !important;
  border-radius: 5px;
}

a.oral_container span.upcoming_case{
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.oral_container a.oral_title{
  color: black;
  text-decoration: none;
}

.btn-outline-primary, .btn-outline-secondary, .btn-outline-info{
  background-color: white;
}

a.oral_container:hover {
  background-color: #94e4f4;
  color: white;
}

.oral_container a.oral_title:hover{
  text-decoration: underline;
}

.nav-link {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
}

.navbar {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
}

.btn-special {
  background-color: #f2f2f2;
  border-color: #1f64a7;
}

.btn-court {
  background-color: #005a9c;
  color: white;
  border: none;
  border-radius: 5px;
}

.btn-court:hover {
  background-color: #004374;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-court:active {
  background-color: #00355b;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-outline-court {
  color: #005a9c;
  border: 1px solid #005a9c;
  border-radius: 5px;
  cursor: pointer;
}

.btn-outline-court:hover {
  background-color: #005a9c;
  color: white;
  border: 1px solid #005a9c;
  border-radius: 5px;
}

.fs-7 {
  font-size: .9rem !important;
}

.fs-8 {
  font-size: .75rem !important;
}

/*In House CSS*/
@media (max-width:992px) {
  #nav_main_menu > .nav-item {
    border-top: 1px solid white;
  }
}

.disabler {
  pointer-events: none;
  background-color: #e9ecef;
}

.toc a.active{
  color: #0083e0 !important;
  border-left-color: #0083e0 !important;
  border-left: 3px solid;
}

.processing-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  display: none;
  z-index: 30000;
  background-image: url('/graphics/trans.png');
}

.processing-text {
  margin: 200px auto 0;
  width: 300px;
  height: 60px;
  font-weight: bold;
  font-size: x-large;
  text-align: center;
}

#main_container {width: 1000px;border: 1px solid #543216;background-color: #fefefe;font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
.top_nav {font-size:14px;color:#25567e;font-weight:bold;}
.top_nav a {color:#25567e;text-decoration: none;}
#left_nav {font-size:12px;font-weight:bold;}
#left_nav ul {font-size:12px;padding-left:14px;font-weight:normal;}
#content {color: #25567e;width: 880px;background-color: #fefefe;margin:5px 20px 20px 20px;font-size: 12px;text-align: left;}
#content p {color: #25567e;}
#content td {color: #25567e;}
#content li {color: #25567e;}
#search_box {font-size:14px;width:173px;}

.auth_container{
  display: flex;
  flex-flow: row;
  flex-shrink: 0;
  gap: .5rem;
  list-style: none;
  padding: 0;
  text-align: center;
}

.nav_main{
  display: flex;
  flex-direction: row-reverse;
  gap: .5rem;
}

#nav_main_menu {
  width: 100%
}

.nav_login_button:hover {
  color: #628db8;
}

.nav_login_button:active {
  color: #3e6e9e !important;
}

.navbar_button {
  color: white;
  border: none;
}

.navbar_button:hover {
  background-color: #628db8;
}

.navbar_button:focus {
  box-shadow: 0 0 0 2px;
}

.footer {
  flex-shrink: 0;
}

#search_form {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.court_color_button {
  background-color: #005a9c;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}

.court_color_button:hover {
  background-color: #004374;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}

.court_color_button:active {
  background-color: #00355b;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}


#court_cards {
  display: flex;
  justify-content: space-between;
}

.court_card_information {
  background-color: #fff;
  width: 48%; /* Two courts side by side */
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search_container {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.attorney_container {
  padding: 20px;
  margin-bottom: 20px;
}

.case_container {
  margin-bottom: .5rem;
}

.case_container:last-child {
  margin-bottom: 0rem;
}


#upload_docket, #page_header{
  color: black;
}
#upload_title{
  color: darkgray;
  font-size: 15pt;
}
#upload_title_line{
  height: 1px;
  border-top: 1.5px groove #ccc;
  margin: 3px;
}

.hidden {
  visibility: hidden;
  overflow: hidden;
  transition: all .55s;
}

.hidden.visible{
  visibility: visible;
}

.address_display {
  margin: 10px 0;
  padding: 10px;
  background-color: #eee;
  border-radius: 4px;
}

#success-notification-0, #success-notification-1, #failed-notification-0, #failed-notification-1 {
  font-weight: bold;
}

.notice_header {
  font-size: 1rem;
}

.notice_text {
  font-size: .8rem;
}

.notice_text:last-child {
  margin-bottom: 0px;
}

.tip h1 {font-size:16px;}
.tip a {font-size:14px;color:#553216;}
.tip a:hover {color:#990000;}
.tip img {border:2px solid #553216;}
.header {width:900px;background-image:url('/graphics/header_bkg.jpg');}
.menu a {font-weight:bold;}
.menu a:hover {font-weight:bold;color:black;}
.login_label {color:white;}
.login_name {width:150px;}
.login_pass {width:150px;}
.login_sub {width:160px;}
.doc_sub_button { width:140px; font-size:x-small;}
.search_fields {color:#25567e;font-size:small;}
.search_values {color:#25567e;font-size:small;}
.search_values select {width:142px;}
.links a{color:#000099;}
.links a:hover{color:#990000;}
.input_fields { box-sizing:content-box;
-ms-box-sizing:content-box;
-moz-box-sizing:content-box;
-webkit-box-sizing:content-box;
}

.hidden_div {
  display: none;
}

.new_select {
  width: 140px;
}

.secure-leave-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  margin: 0 auto;
}

.secure-leave-table th,
.secure-leave-table td {
  padding: 8px;
  border: 1px solid #ddd;
}

.secure-leave-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

/*modal dialog*/
/* hiding close button (x) */
.no-close .ui-dialog-titlebar-close {
    display: none;
}

.efile-dialog .ui-widget-header {
    border: 1px solid #e5e5e5;
    background: #1f64a7;
    color: #fff;
    font-weight: bold;
}

.efile-dialog {
  width: 50% !important;
}

@media (max-width:992px) {
  .efile-dialog {
    width: 95% !important;
  }
}

/* Screen Reader Specific CSS */
.skip-link:focus {
  position: absolute;
  top: 0;
  left: 0;
  background: #ffffff;
  padding: 10px;
  z-index: 1000;
}
