#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: #eee; padding: 20px 0px;}
	#filterControl input {width: 48%; margin: 0px 4px; border-width: 0px; background-color: #fff;}
	#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: #bf5203 !important;
}

#clearFilter:hover,#clearFilter:focus {
  background-color: rgb(239,239,239);
  color: #c45708;
}

	#filterModal {position: absolute; width: 90%; max-width: 1000px; margin: 0px auto; z-index: 980; left: 0; right: 0}
	#bookResults {min-height: 600px;}	
	
	#filterOpenClose {text-align: left;margin: auto; position: relative;}
	#filterOpenCloseLink {background-color: #f0f0f0; padding: 8px 35px 8px 25px; color: #665f5f; text-decoration: none;}
	#filterOpenCloseLink:hover {text-decoration: none;background-color: #EEF0EE;}
	
	.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); /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
}

.filterDropDownOptions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.filterDropDownOptions p{
  margin: 0;
}

#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;
}

.filterDropDownTitle {margin-bottom: 20px;}
#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;}
    #filterModal {position: relative; width: 100%}
    
    /* #gradeFilter {border-top: 1px solid #ccc;} */
    .filterDropDown {border-bottom: 1px solid #ccc; padding: 10px 0px; cursor: pointer;}        
    /* .filterDropDown:hover {background-color: rgb(240,240,240);} */

  #filterForm .modal-dialog .dropdown-toggle:after{
        position: absolute;
        content: "\e800";
        font-family: "fontello";
        font-size: 20px;
        line-height: 24px;  
        color: #646464;
        right: 12px;
        top: 10px;    
  }    
    #filterForm .modal-dialog .dropdown-toggle:after{content: "\e801";}            
    #filterForm .modal-dialog .dropdown-toggle.show::after{
        content: "\e800";
      }
}

@media (max-width: 1023px) {
  #filterForm .modal-dialog{
    margin-left: auto;
    max-width: 100%;
    margin-right: auto;    
  }
}