/* SG Coded */

#sp-header {
    padding-left: 50px;
    position: relative;
}
#sp-header-topbar {
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 15px;
    padding-top: 15px;
}
#sp-header.header-sticky {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    animation: spFadeInDown 0.5s;
    background-color: #104382;
}

#sp-header {
    padding-left: 50px;
}
.sp-column.d-flex.align-items-center.justify-content-end {
  float: left;
}


/*Top Title Background */
.sp-page-title {
    background-color: #fbfbfb;
   border-width: 0px 0px 1px 0px;
  border-color: #e6e6e6;
    border-style: solid;
}

.sp-page-title::before {
  content: "";
  background: none;
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 70%;
}
.sp-page-title .sp-page-title-heading, .sp-page-title .sp-page-title-sub-heading {
    color: #000;
}
/* End */


/* Dropdown menu */
.sp-megamenu-parent .sp-dropdown .sp-dropdown-items {
    list-style: none;
    padding: 0;
        padding-left: 0px;
    margin: 0;
        margin-left: 0px;
}

.sp-mega-group-child.sp-dropdown-items {
    border-left: 2px solid #fff;
    padding-left: 20px !important;
    margin-left: 20px !important;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    display: block;
    padding-top: 2px;
    padding-bottom: 8px;

}

.sp-mega-group-child.sp-dropdown-items {
   margin-top: 2px !important;
  margin-bottom: 5px !important;;
}

.sp-megamenu-parent .sp-mega-group > li > a {
    margin-bottom: 6px;
}

.sp-megamenu-parent .sp-mega-group > li > a {
    text-transform: none;
 }

/* End */

/* Offcanvas Menu */
.offcanvas-menu {
    background-color: #740909;
    color: #ffffff;
}
/* Offcanvas Logo Replacement*/
.offcanvas-menu .logo img{opacity: 0
}

.offcanvas-menu .logo{
  background-image: url(https://new.chestertownship.org/images/2022/02/22/offcanvas2022.png); 
  background-repeat: no-repeat; 
  background-size: 200px;
  background-position-y: center;
  
}
.offcanvas-menu .offcanvas-inner {
  padding-top: 0px !important;
}

/* End */

/* Top Search */

.top-search-input-wrap {
  position: fixed;
  top: 0px;
  left: 0px;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  z-index: 999;
  display: none;
  -webkit-animation: searchZoomIn 0.4s;
  animation: searchZoomIn 0.4s;
}
.top-search-input-wrap form {
  width: 100%;
}
.top-search-input-wrap .search-wrap {
  width: 100%;
}
.top-search-input-wrap .search-wrap .search.esoprts-top-search {
  float: none !important;
  width: 75%;
  margin: 0 auto;
  max-width: 900px;
}
.top-search-input-wrap .search-wrap .search.esoprts-top-search h3.sp-module-title {
  display: none;
}
.top-search-input-wrap .search-wrap .search.esoprts-top-search input {
  background: transparent;
  height: auto;
  box-shadow: none;
  padding: 0px;
  width: 100%;
  color: #000;
  font-size: 100px;
  border-color: #000;
  border-style: solid;
  border-width: 0 0 4px;
  border-radius: 0;
  font-weight: 300;
}
.top-search-input-wrap .search-wrap .search.esoprts-top-search input::-webkit-input-placeholder {
  opacity: 1;
  color: #000;
}
.top-search-input-wrap .search-wrap .search.esoprts-top-search input::-moz-placeholder {
  opacity: 1;
  color: #000;
}
.top-search-input-wrap .search-wrap .search.esoprts-top-search input:-ms-input-placeholder {
  opacity: 1;
  color: #000;
}
.top-search-input-wrap .search-wrap .search.esoprts-top-search input::-webkit-search-cancel-button, .top-search-input-wrap .search-wrap .search.esoprts-top-search input::-webkit-search-decoration {
  -webkit-appearance: none;
}
.top-search-input-wrap .search-wrap .search.esoprts-top-search input:focus {
  outline: 0;
  box-shadow: none;
}
.top-search-input-wrap .search-upper-part {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 80%;
  transition: transform 0.6s;
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transform: translate3d(0, -100%, 0);
}
.top-search-input-wrap .search-bottom-part {
  background-color: #000;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 20%;
  transition: transform 0.6s;
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transform: translate3d(0, 100%, 0);
  top: 80%;
}
.top-search-input-wrap .search-bottom-part h3 {
  color: #fff;
  margin: 0 0 30px;
  font-size: 24px;
  font-weight: 700;
  text-transform: none;
}
.top-search-input-wrap .search-bottom-part h3:before {
  content: "\f178";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 24px;
  color: #fff;
  display: inline-block;
  padding-right: 20px;
}
.top-search-input-wrap .search-bottom-part .sppb-media > .pull-left {
  margin-right: 0;
}
.top-search-input-wrap .search-bottom-part .feedback-contact-form .sppb-addon-feature {
  margin-bottom: 0;
}
.top-search-input-wrap .search-bottom-part .feedback-contact-form .sppb-addon-feature .sppb-media .sppb-icon .sppb-icon-container i {
  font-size: 40px;
  color: #fff;
}
.top-search-input-wrap .search-bottom-part .feedback-contact-form .sppb-addon-feature .sppb-media .sppb-media-body {
  padding-right: 0;
  padding-top: 0;
}
.top-search-input-wrap .search-bottom-part .feedback-contact-form .sppb-addon-feature .sppb-media .sppb-media-body .sppb-addon-title {
  color: #fff;
}
.top-search-input-wrap .search-bottom-part .feedback-contact-form .sppb-addon-feature .sppb-media .sppb-media-body .sppb-addon-text {
  color: #fff;
}
.top-search-input-wrap.search-open .search-upper-part, .top-search-input-wrap.search-open .search-bottom-part {
  transform: translate3d(0, 0, 0);
}
.top-search-input-wrap .search-info-text {
  color: #000;
  text-align: right;
  display: block;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
}
.top-search-input-wrap .search-suggested-tag ul {
  margin: 0;
  padding: 0;
}
.top-search-input-wrap .search-suggested-tag ul li {
  border: 0;
  display: inline-block;
  padding: 0;
}
.top-search-input-wrap .search-suggested-tag ul li a {
  color: #fff;
  display: inline-block;
  line-height: 1;
  margin-bottom: 10px;
  margin-right: 10px;
}
.top-search-input-wrap .search-suggested-tag ul li a:before {
  display: none;
}
.top-search-input-wrap .search-address-content i {
  color: #fff;
  font-size: 40px;
}
.top-search-input-wrap .search-address-content h4 {
  color: #fff;
  margin-top: 0;
  font-weight: 500;
}
.top-search-input-wrap .search-address-content p {
  color: #fff;
  margin-bottom: 0;
}
.top-search-input-wrap .search-address-content .search-address {
  width: 70%;
  margin-left: 30px;
}
.search-upper-part {
  background-color: #f8d022;
}
.icon-top-wrapper i, .j2store-minicart-button .cart-item-info a, .sp-custom-login .info-text a {
  font-size: 18px;
}
.icon-top-wrapper {
  height: auto;
  line-height: 80px;
  position: relative;
  z-index: 999999;
}
.icon-top-wrapper i {
  cursor: pointer;
  transition: 3ms;
}
.icon-top-wrapper i.search-open-icon {
  color: #fff;
  text-align: center;
  border-radius: 50%;
  transition: 0.35s;
}
.icon-top-wrapper i.search-open-icon:hover {
  color: #f8d022;
}
.icon-top-wrapper i.search-close-icon {
  font-size: 22px;
  color: #000;
  z-index: 9999;
  position: relative;
  margin-left: 10px;
}
.icon-top-wrapper .search-close-icon {
  display: none;
}

/* Top Search Icon */
.icon-top-wrapper i.search-open-icon {
    float: right;
    margin-top: 6px;
}

.icon-top-wrapper {
   margin-right: 30px;
 }

/* End */

/* SearchDropdown Colors */
.search-upper-part {
    background-color: #f0f0f0;
}

.top-search-input-wrap .search-wrap .search.esoprts-top-search input {
    font-size: 60px;
    font-weight: 800;
}

/* End Top Search */




/* Screen between 1106px and 1440 */
@media (min-width:1106px) and (max-width:1440px) {

  .sp-dropdown.sp-dropdown-mega {
    width: 700px !important;
}
  .menusizesm .sp-dropdown.sp-dropdown-mega {
    width: 645px !important;
}

  }

/* End */

/* Screen between 768 and 1105 */
@media (min-width:768px) and (max-width:1105px) {

  .sp-megamenu-parent.menu-animation-fade-up.d-none.d-lg-block {display: none !important;
}
  #offcanvas-toggler {
    height: 60px !important;
    line-height: 60px !important;
}
  #offcanvas-toggler {
		display: flex !important;
	}
  #sp-header {
    height: 60px;
}
	.sp-page-title .sp-page-title-heading {
    font-weight: 800;
    font-size: 60px !important;
    line-height: 50px !important;
    position: relative;
    z-index: 2;
    max-width: 100% !important;
    margin-bottom: 0px !important;
}
	
	.sp-page-title {
    padding: 50px 0px 50px 0px !important;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
   }
/* End */

/* Screen Size Under 767 */
@media only screen and (max-width: 767px) {
  
	 #sp-header {
    padding-right: 20px;
}

	.sp-column.d-flex.align-items-center.justify-content-end {
  float: right;
}
	
	.sp-page-title .sp-page-title-heading {
    font-weight: 800;
    font-size: 40px !important;
    line-height: 40px !important;
    position: relative;
    z-index: 2;
    max-width: 100% !important;
    margin-bottom: 0px !important;
}
	
	
	.sp-page-title {
    padding: 30px 0px 30px 0px !important;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
}
/* End */

/* Title Headers */

.sp-page-title .sp-page-title-heading {
    font-weight: 800;
    font-size: 60px;
    line-height: 50px;
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin-bottom: 0px;
}

.sp-page-title {
    padding: 60px 0px 60px 0px;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}




/* ********** Footer *********** */

/* Bottom - Footer CSS */
#sp-bottom {
    padding: 50px 0px 20px 0px;
    font-size: 14px;
    line-height: 1.6;
}
/* Bottom Image Color Overlay */
.overlay {
  background-image: url("/images/bottom2.jpg");
  position: relative;
}
.overlay:before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(26, 66, 128, 0.43);
}

/* ********** End Footer *********** */

/* ********** EasyBlog *********** */


.eb-entry-title {
   font-weight: 800;
   font-size: 50px;
   letter-spacing: -1px;

}

#eb.eb-mod * {
    line-height: 24px;
}

/*#eb .eb-post-thumb .eb-post-image img {
    height: 225px !important;
    width: auto !important;
    margin-left: auto;
    margin-right: auto;
    float: left !important;
    margin: 10px 15px 0 0;
   
}*/

#eb .eb-image-popup-button::before {
   display: none !important;
}

#eb .eb-post-content .eb-post-thumb .eb-post-image img {
    height: 225px !important;
    width: auto !important;
    margin-left: auto;
    margin-right: auto;
    float: left !important;
    margin: 10px 15px 0 0;

}


#eb .eb-entry-article.clearfix .eb-image.eb-post-thumb.is-full {
	width: 325px !important;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    float: left !important;
    margin: 10px 15px 0 0;

}


#eb .eb-post-content .eb-post-title {
    font-family: 'Mulish', sans-serif;
    font-size: 24px !important;
    font-weight: 800;
    color: #000000;
    text-decoration: none;
  line-height: 30px !important;


}

#eb .eb-post-content .btn.btn-default.btn-md {
    color: #fff !important;
    background-color: #2B2B2B !important;
    border-color: #1d2124;
    padding: 18px 35px 18px 35px !important;
    font-weight: 400;
    font-size: 18px;

}

#eb .eb-post-content .btn.btn-default.btn-md:hover {
    color: #FFF !important;
    background-color: #740909 !important;
    border-color: #1d2124;
    padding: 18px 35px 18px 35px !important;
    font-weight: 400;
    font-size: 18px;

}


/* ********** End *********** 


#eb .btn {
    color: #fff !important;
    background-color: #2B2B2B !important;
    border-color: #1d2124;
    padding: 18px 35px 18px 35px !important;
    font-weight: 400;
    font-size: 18px;

}



#eb .btn-default {
    color: #fff !important;
    background-color: #2B2B2B !important;
    border-color: #ddd !important;
    font-weight: 400;
    font-size: 18px;
}*/

