#page .ui-header {
	background: #FFFFFF;
}

.mobile-ver {
	display: none !important;
}

.ui-link, .mobile-black-link, .mobile-black-link a {
	color:#000000 !important;
}

.ui-collapsible-heading-toggle {
	//font-size: 0.9em !important;
}

.ui-btn-inline {
	//font-size: 0.7em !important;
}

.mobile-top {
	vertical-align: top;
}

.mobile-middle {
	vertical-align: middle;
}

.mobile-bottom {
	vertical-align: bottom;
}

.mobile-left {
	text-align: left;
}

.mobile-center {
	text-align: center;
}

.mobile-right {
	text-align: right;
}

.mobile-tiny-text {
	font-weight: normal !important;
	//font-size: 14px;
}

.mobile-little-text {
	font-weight: normal !important;
	//font-size: 16px;
}

.mobile-small-text {
	//font-size: 20px;
	color: #000000;
	white-space: normal;
}

.mobile-normal-text {
	font-size: 0.8em;
}

.mobile-large-text {
	font-size: 1em;
}

.mobile-big-text {
	font-size: 1.5em;
}

.mobile-huge-text {
	font-size: 2em;
}

.mobile-light-text {
	font-weight: lighter;
}

.mobile-a-btn {
	white-space: normal;
	//font-size: 1em !important;
	margin:0 0 0 0;
}

.mobile-a-btn-last {
	margin:0 0 0.5em 0;
}

.mobile-a-nounder {
	text-decoration: none;
}

.mobile-nomargin {
	margin: 0 0 0 0;
}

.mobile-header {
	background-color: #FFFFFF;
	background-size: 100% 100%;
}

.panel-search-btn div {
	border: none;
}

.content-primary {
	margin-left: 15px;
	margin-right: 15px;
}

#page .ui-content {
	padding-top: 0;
}

#top-container {
	text-align: left;
}

#db-table tr {
	width: 100%;
}

#db-table td {
	width: 50%;
}






@media only screen and (min-width: 992px) {
	#page, .mobile-ver {
		display:none;
	}

	#desktop {
		display:block;
	}
  .pagination_mobile {
    display:none;
  }

  
  .pagination_desktop {
    display:block;
  }
  
  
	.search-result-list>li>p>a {
    text-decoration: underline;
	}  
	.search-result-list>li>a {
    text-decoration: underline;
	}  
	.search-result-list>li>p>small>a {
    text-decoration: underline;
	}  
  
  
}

@media only screen and (min-device-width: 992px) {
	#page, .mobile-ver {
		display:none;
	}

	#desktop {
		display:block;
	}
  .pagination_mobile {
    display:none;
  }
  .pagination_desktop {
    display:block;
  }

	.search-result-list>li>p>a {
    text-decoration: underline;
	}  
	.search-result-list>li>a {
    text-decoration: underline;
	}  
	.search-result-list>li>p>small>a {
    text-decoration: underline;
	}  

}

@media only screen and (max-width: 991px) {
	#desktop {
		display:none;  
	}
	
	#page, .mobile-ver {
		display:block;
	}
	
	body {
		font-size: 1em;
	}
	
	.resize-icon {
		zoom: 150%;
	}
	
	.mobile-tiny-text {
		font-size: 0.75em;
	}
	
	.mobile-little-text {
		font-size: 0.9em;
	}
	
	.mobile-small-text {
		font-size: 1em;
	}
	
	.mobile-big-text {
		font-size: 1.5em;
	}

	.mobile-header-logo a {
		font-size: 1.8em;
	}
	
	.mobile-header-img {
		width: 70px;
	}
	
	.content-primary {
		margin-left: 15px;
		margin-right: 15px;
	}
	
	.mobile-footer-map {
		zoom: 100%;
	}
	
	.mobile-header td {
		width: auto;
	}
	
	#main-content {
		padding-top: 10px;
	}
	
	.nav-item {
		float: none;
	}
	
	.search-result-list li {
		border: 1px #d3d3d3 solid;
		padding: 0 10px 0 15px;
		margin-bottom: 10px;
	}
	
	#pagination-list {
		display: -webkit-flex;
		-webkit-flex-wrap: wrap;
		margin: auto;
	}
	
	#pagination-list li{
		display: inline;
	}
	
	#pagination-list>.page-item:not(.disabled) a {
		color: unset !important;
	}
	
	#pagination-list>.page-item:not(.disabled)>a {
		border-color: #a9a9a9;
	}
	
	.page-item.disabled a {
		color: #d3d3d3 !important;
	}
	
	.page-link, .result-num{
		text-shadow: none;
	}
	
	.search-result-list a {
		color: #38c !important;
	}
	
	.mobile-search-result-text-middle {
		display: inline-block;
		padding: 0 10px 0 10px;
		line-height:55px;
	}
	
	.nav-tabs {
		border-bottom-color: #6c757d;
	}
	
	.nav-tabs>.nav-item>a.active, .nav-tabs>.nav-item>a:hover {
		border-top-color: #6c757d;
		border-left-color: #6c757d;
		border-right-color: #6c757d;
	}
	
	.ui-select span, .ui-select option, .ui-select optgroup {
		font-size: 0.75em;
	}
	
	.ui-select optgroup {
		font-weight: bold;
	}
  
	form table {
    table-layout: fixed; 
    width: 100%;		
	}  
	parties table {
    table-layout: fixed; 
    width: 100%;		
	}  
  
	coram table {
    table-layout: fixed; 
    width: 100%;		
	}     
	coram table tbody tr td {
    white-space: normal;
	}     
	parties table tbody tr td {
    white-space: normal;
	}     
  
  table tbody tr td a {
  word-break: break-all;
  }  
  
  .pagination_mobile {
    display:block;
  }
  .pagination_desktop {
    display:none;
  }
  
}

@media only screen and (max-device-width: 991px) {
	#top-container {
		text-align: center;
	}
	
	body {
		box-sizing: border-box !important;
		margin-left: 0 !important;
		padding-left: 1.5em !important;
	}
	
	.search-input, .search-radio {
		font-size: 1.1em !important;
	}
  
  
  .pagination_mobile {
    display:block;
  }
  .pagination_desktop {
    display:none;
  }
  
}

@media only screen and (max-device-width: 767px){
	#desktop {
		display:none;  
	}
	
	#page, .mobile-ver {
		display:block;
	}
	
	body {
		font-size: 0.9em;
	}
	
	.resize-icon {
		zoom: 130%;
	}
	
	.mobile-tiny-text {
		font-size: 0.65em;
	}
	
	.mobile-little-text {
		font-size: 0.76em;
	}
	
	.mobile-small-text {
		font-size: 0.85em;
	}
	
	.mobile-big-text {
		font-size: 1.35em;
	}

	.mobile-header-logo a {
		font-size: 1.63em;
	}
	
	.mobile-header-img {
		width: 62px;
	}
	
	.content-primary {
		margin-left: 15px;
		margin-right: 15px;
	}
	
	.mobile-footer-map {
		zoom: 90%;
	}
	
	.mobile-header td {
		width: auto;
	}
	
	.ui-select span, .ui-select option, .ui-select optgroup {
		font-size: 0.65em;
	}
}

@media only screen and (max-device-width: 575px){
	#desktop {
		display:none;  
	}
	
	#page, .mobile-ver {
		display:block;
	}
	
	body {
		font-size: 0.8em;
	}
	
	.resize-icon {
		zoom: 110%;
	}
	 
	.mobile-tiny-text {
		font-size: 0.55em;
	}
	
	.mobile-little-text {
		font-size: 0.62em;
	}
	
	.mobile-small-text {
		font-size: 0.69em;
	}
	
	.mobile-big-text {
		font-size: 1.2em;
	}
	
	.mobile-header-logo a {
		font-size: 1.46em;
	}
	
	.mobile-header-img {
		width: 54px;
	}
	
	.content-primary {
		margin-left: 5px;
		margin-right: 5px;
	}
	
	.mobile-footer-map {
		zoom: 100%;
		width: 100%;
	}
	
	.mobile-header td {
		width: auto;
	}
	
	#db-table td {
		display: block;
		width: 100%;
	}
	
	.ui-select span, .ui-select option, .ui-select optgroup {
		font-size: 0.55em;
	}
	
	
}

@media only screen and (max-width: 575px){
	.mobile-search-result-text-middle {
		display: block;
		padding: unset;
		line-height: unset;
	}
	
	#main-content {
		overflow-x: auto;
	}
	
	#mobile-input-container {
		//overflow-x: auto;
	}
	
	#outerContainer {
		overflow-x: auto;
	}
}


fieldset {
    border:1px solid #CCCCCC !important;
    border-radius:10px;
    padding:1em !important;
    margin-bottom:1em !important;
}

a:link{
  color:#0000FF !important; /** Override jQuery Mobile link color to blue **/
  font-weight:normal !important;
}
a:visited{
  color:#660099 !important;
  font-weight:normal !important; /** Override jQuery Mobile visited link color to purple **/
}
.mobile-header-logo a {
  color:#000000 !important; /** Override jQuery Mobile header logo color to black **/
}








@media print{
	#page, .mobile-ver {
		display:none;
	}

	#desktop {
		display:block;
	} 
  
}



