body {
	font-family: 'Open Sans', sans-serif;
	padding-right: 0px;
	padding-left: 0px;
	height: auto;
	color: #444;
}

table {
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	float: left;
}

.table th,
.table td {
	text-align: left;
}

table.dataTable td.dt-control:before {
  background-color:#950952 !important;
}

table.dataTable td.dt-control {
  margin: 5px 0px 0px 0px;
}

.selected {
	background-color: rgba(149, 9, 82, 0.2);

}

h2 {
	font-size: 26px;
	color: #950952;
}

.table td {
	border: none;
	text-transform: capitalize;
}

.table th {
	border-bottom: 3px dashed #950952;
}

table.display td {
	padding: 10px 10px;
	background-color: none;
}

tr.odd {
	background-color: white;
}

a {
	color: #950952;
	text-decoration: underline;
}

.download,
.credit {
	float: right;
}

.source {
	font-size: 13px;
	font-weight: bold;
	float: left;
	margin-bottom: 5px;
}

.search_row {
	font-weight: bold;
	font-size: 12px;
	float: left;
}

.table th {
	font-size: 15px;
	background-color: none;
	color: #950952;
	font-weight: bold;
}

.table thead th {
	vertical-align: middle;
	cursor: pointer;
}

/* .table p {
  margin: 0 0 5px;
} */

label,
input,
button,
select,
textarea {
	line-height: 30px
}

input,
textarea,
select,
.uneditable-input {
	height: 25px;
	line-height: 25px;
}

select {
	width: 75px
}

.form-inline input {
	margin-left: 5px;
}

.dataTables_length {
	padding-left: 10px
}

td.left.sorting_1,
.table-hover tbody tr:hover td {
	background-color: rgba(149, 9, 82, 0.2);
	filter: alpha(opacity=20);
	filter: progid: DXImageTransform.Microsoft.Alpha(opacity=20);
	-moz-opacity: 0.20;
}

.table tbody>tr:nth-child(odd)>th>td.sorting_1 {
	background-color: rgba(149, 9, 82, 0.1);
}

/* .shown td .dt-control {
  content: "-" !important;
} */


/* 
	Max width before this PARTICULAR table gets nasty
	This query will take effect for any screen smaller than 760px
	and also iPads specifically.
	*/

@media only screen and (max-width: 450px) {
	/* For mobile phones: */
	/* Force table to not be like tables anymore */
	table,
	thead,
	tbody,
	th,
	td,
	tr {
		display: block;
	}
	h1 {
		font-size: 25px;
		line-height: 1.2;
	}
	.search_row {
		float: none;
	}
	.source {
		font-size: 12px;
		font-weight: bold;
		margin-top: 2px;
	}
	p {
		font-size: 13px;
		margin: 0;
	}
	h2 {
		font-size: 18px;
		margin: 0;
	}
	.download {
		font-size: 13px;
		float: left;
	}
	body {
		padding-right: 0px !important;
		padding-left: 0px !important;
		margin: 0;
	}
  .container-fluid {
    padding: 0px !important;
  }
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	.pagination ul>li>a,
	.pagination ul>li>span {
		padding: 4px 8px;
	}
	.pagination {
		width: 100%;
		font-size: 11px;
		margin: 0;
	}
	.form-search label,
	.form-inline label,
	.form-search .btn-group,
	.form-inline .btn-group {
		font-size: 13px;
	}
	input,
	textarea,
	.uneditable-input {
		width: 70%;
		display: block;
		margin-left: 25px;
	}
	tr {
		border: 1px solid #ccc;
	}
	td {
		/* Behave  like a "row" */
		border: none;
/* 		border-bottom: 1px solid #eee; */
		position: relative;
		padding-top: 20%;
		text-align: right;
		height: 70%;
	}
	table.display td.center {
		text-align: right;
	}
	table.display td {
		padding: 30px 10px 3px 10px;
	}
  table.dataTable.display tbody td {
    border: 0px !important;
  }
	td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: -8px;
		left: 8px;
		width: 45%;
		padding-right: 10px;
    padding-bottom: 2px;
		white-space: nowrap;
	}
  
  table.dataTable td.dt-control {
    height: 1em !important;
  }
  table.dataTable td.dt-control:before {
    height: 1.2em !important;
    width:1.2em !important;
    font-size: 1.2em !important;
    padding: 0px 0px 0px 0px !important;
    margin: 2px !important;
    position: absolute;
    top:0px
    
  }
  
  
  td:nth-of-type(3) {
		padding-top: 5px;
	}

  
  td:nth-of-type(2),  td:nth-of-type(3),  td:nth-of-type(4),  td:nth-of-type(5) {
    margin-bottom: 5px;
  }
  
  td:nth-of-type(3):before {
		content: "Income Sources (Senate Only)";
		font-weight: bold;
		text-align: left;
    float:none;
	}
  
  td:nth-of-type(4):before {
		content: "Employment (House Only)";
		font-weight: bold;
		text-align: left;
    float:none;
	}
  
  td:nth-of-type(5):before {
		content: "Boards or Service Roles";
		font-weight: bold;
		text-align: left;
    float:none;
	}
  
   td:nth-of-type(6):before {
		content: "Corporate Ownership";
		font-weight: bold;
		text-align: left;
    float:none;
	}
  
  
	/*
		Label the data for mobile use
		*/
/* 	td:nth-of-type(1):before {
		content: "Name";
		font-weight: bold;
		text-align: left;
	}
	td:nth-of-type(2):before {
		content: "Employer";
		font-weight: bold;
		text-align: left;
	}
	td:nth-of-type(3):before {
		content: "Offense";
		font-weight: bold;
		text-align: left;
	}
	td:nth-of-type(4):before {
		content: "Population (2014)";
		font-weight: bold;
		text-align: left;
	}
	td:nth-of-type(5):before {
		content: "DV Rate";
		font-weight: bold;
		text-align: left;
	} */
}


/* Smartphones (portrait and landscape) ----------- */

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
	body {
		padding: 0;
		margin: 0;
/* 		width: 320px; */
	}
}


/* iPads (portrait and landscape) ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
	body {
		width: 495px;
	}
}
