#filterForm {padding: 0px;}
	#filterLoading {display: none;}
	#filterButton {text-align: center; margin-bottom: 8px;}
	#resetFilter {display: none;}

	.blocker {z-index: 10000 !important} 
	#filterControl {text-align: center; background-color: #f5eef5;}
	#filterControl .btn {width: 100%;}
	/* #seeResults {
    background-color: #f47920 !important;
    color: #fff;
    border-bottom-right-radius: 5px !important;
    -moz-border-bottom-right-radius: 5px !important;
    -webkit-border-bottom-right-radius: 5px !important;
} */
#seeResults:hover,#seeResults:focus {
  background-color: #ff5f20 !important;
  text-decoration: underline;

}

#clearFilter:hover,#clearFilter:focus{
  background-color: #444343;
  text-decoration: underline;
  color: white; 
}

	#filterModal {position: absolute; width: 90%; max-width: 1000px; margin: 0px auto; background-color: #fff; z-index: 980; left: 0; right: 0; padding: 0;}
	#bookResults {min-height: 600px;}	
	
	#filterOpenClose {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    bottom: 5%;
    z-index: 9;
  }
	#filterOpenCloseLink {background-color: #f0f0f0; padding: 5px 30px 5px 12px; color: #222121;}
	#filterOpenCloseLink:hover,#filterOpenCloseLink:focus {
    text-decoration: none;
    background-color: #76370A;
        
  }
  #filterOpenCloseLink:hover,#filterOpenCloseLink:focus,
  #filterOpenCloseLink:hover:after,#filterOpenCloseLink:focus:after{
  color: white;
  }
	
	.filterClose:after {
    position: absolute;
    content: "\e801";
    font-family: "fontello";
    top: 50%; 
    font-size: 20px;
    line-height: 24px;
    margin: -10px 4px 0;
    color: #646464;
   
}
	.filterOpen:after {
    position: absolute;
    content: "\e800";
    font-family: "fontello";
    top: 50%; 
    font-size: 20px;
    line-height: 24px;
    margin: -10px 4px 0;
    color: #646464;
   
}

.overlayFilter {
  position: absolute; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 20px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 2;
  cursor: pointer;
}

.filterDropDownOptions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.filterDropDownOptions li+li{
  margin-top: 10px;
  display: block;
}

#filterDropDownOptionsAlpha {display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height:250px;
  width: 100%;}

#filterDropDownOptionsAlpha label {width: 40px; height: 20px;}

#alphaFilter ul li{
  min-width: 50px;
  margin-bottom: 5px;
  float: left;
  margin-top: 0;
}

.filterDropDownTitle {font-weight: bold;}
#filterForm .modal-dialog h6 {font-weight: bold; margin: 0;}
  #filterForm .modal-dialog .dropdown-toggle::after{
    display: block !important;
  }

  #filterForm .dropdown-menu{
    position: static !important;
    transform: inherit !important;
    padding: 10px 0px 10px 0px;
    border: 0;
    display: block;
  }



/* Customize the label (the container) */

.filterDropDown .containerCheck,.filterDropDown .filterCheckbox {
  display: inline !important;
}
.containerCheck {
  font-weight: normal
  display: block;
  position: relative;  
  margin-bottom: 2px;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.containerCheck input {
  /* position: absolute;
  opacity: 0;  
  height: 0;
  width: 0; */

  cursor: pointer;
  margin-right: 10px;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 4px;
  left: 0;
  height: 13px;
  width: 13px;
  background-color: #fff;
  border: 1px solid #000
}

/* On mouse-over, add a grey background color */
.containerCheck:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.containerCheck input:checked ~ .checkmark {
  background-color: #f47920;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.containerCheck input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.containerCheck .checkmark:after {
 
}


@media (max-width: 991px) {

  #filterForm .modal-dialog{
    margin: 0;
    max-width: 100%;
  }
  #filterForm .dropdown-menu{
    display: none;
  }
  #filterForm .dropdown-menu.show{
    display: block !important;
  }


    .advsearch-holder {margin-top: 0px; position: relative !important;}
    #filterModal {position: relative; width: 100%}
    
    #gradeFilter {border-top: 1px solid #ccc;}    

  .filterDropDownOpen:after,
  .filterDropDownClosed:after {
    position: absolute;
    font-family: "fontello";
    font-size: 20px;
    line-height: 24px;
    color: #646464;
    right: 12px;
    top: 10px;      
  }   
.filterDropDownOpen:after{content: "\e800";}            
.filterDropDownClosed:after{content: "\e801";}            

  .filterDropDownOptions {
    display: none;
  }
  .filterDropDownTitle {
    line-height: 40px;
    cursor: pointer;
    position: relative;
  }
  .filterDropDownTitle:hover {color: #f47920 !important;}
  .filterDropDown {border-bottom: 1px solid #ccc;}        
}