
#PageBody #MainContent .datatable {
	margin-top:5px;
}
.header-wrapper{
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-end;
}
.header-wrapper h2{
	display: inline-block;
}
.toggle-slider{
	color:#001871;
	margin: 5px 15px;	
}
.toggle-slider label {
	cursor: pointer;
}
.toggle-slider .accessible-version{
	position: relative;
	margin-right:10px;
}
.toggle-slider .accessible-version:after{
	content: "?";
	background: #c69214;
	font-size:14px;
	font-weight:700;
	padding: 0px 6px;
	border-radius: 14px;
}
.toggle-slider .accessible-version:focus .accessible-version-popup:not(.hide),
.toggle-slider .accessible-version:hover .accessible-version-popup:not(.hide){
	position:absolute;
	top:23px;
	left:-10px;
	display:inline-block;
	background-color:#fff;
	border:2px solid #001871;
	width: 185px;
	padding: 15px;
	z-index:100;
}
.toggle-slider .accessible-version-popup{
	display:none;
}
.toggle-slider .switch > span{
	display: inline-block;
	position:relative;
	top:-3px;	
	font-size:14px;
}
.toggle-slider .switch input{
	position: relative;
	top: -2px;
	height: 16px;
	opacity: 0;
	-webkit-appearance: none;
	appearance: none;
}
.toggle-slider .slider{
	display:inline-block;
	position: relative;
	cursor:pointer;
	background-color: #28389180;
	border:2px solid #001871;
	padding-left:40px;
	height:19px;
	-webkit-transition: .4s;
	transition: .4s;
}
.toggle-slider .slider.round{
	border-radius: 34px;
	top:0;
	margin-left:5px;
	margin-right:5px;
}
.toggle-slider .slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 1px;
	border-radius: 13px;
    background-color: #001871;
    -webkit-transition: .4s;
    transition: .4s;
}
.toggle-slider input:checked + .slider{
	background-color:#001871;
}
.toggle-slider input:checked + .slider:before{
	background-color:#fff;
    -webkit-transform: translateX(23px);
    -ms-transform: translateX(23px);
    transform: translateX(23px);	
}
.toggle-slider #accessibilityToggle:focus + .slider{
	outline: 3px solid #c69214;
}

.table-search{
	display:flex;
	flex-flow: row wrap;
	width: 100%;
	justify-content: center;
	
}
.table-search .dropdown{
	display: inline-block;
	position:relative;
	overflow:visible;
}
.table-search .search-wrapper{
	display:flex;
	flex-flow:row nowrap;
	justify-content: space-between;
	width:90%;
	margin: auto;
}
.table-search .search-wrapper .dropdown-text:hover {
	cursor:pointer;
}
.table-search .search-wrapper #searchState{
	width:20%;
}
.table-search .search-wrapper #searchDistrict{
	width:35%
}
.table-search .search-wrapper #searchSubject{
	width:15%;
}
.table-search .search-wrapper #searchYear{
	width:15%;
}
.table-search .search-wrapper .button-apply-filters {
	background-color:#2773c2;
	border:1px solid #2773c2;
	border-radius:5px;
	color:#FFF;
	width:10%;
	font-size:12px;
	height:34px;
	align-self:flex-end;
	font-weight:700;
}
.table-search .search-wrapper .button-apply-filters:hover,
.table-search .search-wrapper .button-apply-filters:focus {
	background-color:#004c97;
	border:1px solid #004c97;
}
.table-search .search-wrapper .button-apply-filters.hide{
	visibility: hidden;
}
.table-search .search-wrapper .dropdown-label{
	display:block;
	font-weight:700;
}
.table-search .search-wrapper .dropdown-text{
	display:block;
	padding:5px;
	border:1px solid #000;
	font-size:14px;
}
.table-search .search-wrapper .dropdown .dropdown-text:after{
	content: "";
    width: 15px;
    height: 15px;
    background:url("/nationsreportcard/adminonly/design2021/img/dropdown_open.svg") 0 0 no-repeat;
    top: 33px;
    right: 0;
    position: absolute;
    display: inline-block;	

}
.table-search .search-wrapper .dropdown.closed .dropdown-text:after{
    background:url("/nationsreportcard/adminonly/design2021/img/dropdown_close.svg") 0 0 no-repeat;
}
.table-search .dropdown .select-checkbox{
	display:block;
	position:absolute;
	top:60px;
	left:0;
	z-index:101;
	background-color: white;
	list-style-type: none;	
	padding:5px;
	border: 1px solid black;	
	max-height: 200px;
	overflow-y:scroll;
	width:100%;
}
.table-search .dropdown .select-checkbox label:hover,
.table-search .dropdown .select-checkbox input:hover{
	cursor:pointer;
}
.table-search .dropdown .select-checkbox label input{
	margin-right: 10px;
}
.table-search .dropdown .select-checkbox.hidden {
	display:none;
}

.table-search .buttons {
	margin: 5px 0;
	height:auto;
}
.table-search .buttons button {
	color:white;
	background-color: #001871;
	border-radius: 5px;
	font-size:12px;
}
.table-search .buttons button:hover,
.table-search .buttons button:focus {
	background-color:#FFF;
	border: 1px, solid, #001871;
	color:#001871;	
}
.table-search .buttons button.remove-filters {
	background-color:#FFF;
	border: none;
	color:#0177C8;
	font-size:14px;
	font-weight:700;
	margin-left:10px;
}
.table-search .buttons button.clicked{
	background-color:#2773C2;
}
.table-search .buttons{
	display:flex;
	flex-flow: row wrap;
	width:90%;
}
.table-search .buttons button.remove-filters:hover,
.table-search .buttons button.remove-filters:focus {
	color:#171C66;
	text-decoration:underline;
}
.table-search .buttons button.remove-filters:after{
	content: "";
    border-left: none;
    padding-left: 0;
	margin-left: 0;
}

/**********************************************************/
/***               Responsive                           ***/
/**********************************************************/

/* MEDIUM =========================================== */
@media screen and (min-width: 992px) and (max-width: 1199px) {
	.table-search .search-wrapper{
		width:100%;
	}
	.table-search .search-wrapper .button-apply-filters {
		min-width:100px;
	}
}



/* SMALL ============================================ */
@media screen and (min-width: 768px) and (max-width: 991px) {
	.table-search .search-wrapper{
		flex-flow: row wrap;
		justify-content: flex-start;
		width:100%;

	}
	.table-search .search-wrapper #searchState{
		width:35%;
		margin-right: 20%;
	}
	.table-search .search-wrapper #searchDistrict{
		width:50%;
		margin-right:5%;
		order: 3;	
	}
	.table-search .search-wrapper #searchSubject{
		width:20%;
		order:2;
	}
	.table-search .search-wrapper #searchYear{
		width:20%;
		order:4;
		margin-right: 10%;
	}
	.table-search .search-wrapper .button-apply-filters {
		min-width:100px;
		order:5;
	}

}



/* XTRA-SMALL ========================================= */
@media screen and (max-width: 767px) {
	.table-search .search-wrapper{
		flex-flow: column nowrap;
		justify-content: flex-start;
		width:80%;
	}	
	.table-search .search-wrapper #searchState{
		width:100%;

	}
	.table-search .search-wrapper #searchDistrict{
		width:100%;
		margin-top:10px;
	}
	.table-search .search-wrapper #searchSubject{
		width:100%;
		margin-top:10px;
	}
	.table-search .search-wrapper #searchYear{
		width:100%;
		margin-top:10px;
	}
	.table-search .search-wrapper .button-apply-filters {
		width:100%;
		margin-top:20px;
	}	
}



/* Phones ========================================= */
@media screen and (max-width: 575px) {
	.table-search .search-wrapper{
		flex-flow: column nowrap;
		justify-content: flex-start;
		width:100%;
	}	
	.table-search {
	justify-content: left;
}

	.table-search .search-wrapper .button-apply-filters.hide {
		display: none;
	}

	.table-search .buttons button.remove-filters {
		margin-left: 0;
		padding-left: 0;
		display: block;
		width: 100%;
		text-align: left;
	}	
		.table-search .buttons {
			width: 100%;
		}
}
