/*
Theme Name: Scituate Historical Society - Divi Child Theme
Theme URI: https://
Version: 1.0
Description: A customized Divi Child Theme
Author: Michelle Archambault
Author URI: https://micawebdesign.com
Template: Divi
*/

/* basic typography settings not covered in theme customizer */
body { 
	font-weight: 300;
}

a { 
	font-weight: 400;
}

ul.shs-indented-list {
	padding: 0 0 0 8%; 
	margin: 0 0 10px 0;
}

.shs-list ul li,
.shs-list ol li,
ul.shs-indented-list li {
	margin-bottom: 20px;
}

ol li::before {
  content: " ";
  margin-right: 5px;
}

#shs-main-header-sticky {
	display:none;
}

/* for main nav dropdown menu */
#shs-main-header .et-menu-nav .sub-menu {
	top: calc(75% - 1px);
}

#shs-main-header.et_pb_sticky .et-menu-nav .sub-menu {
	top: calc(100% - 1px);
}

#shs-main-header.shs-trans-header .et_pb_menu__search-input {
	color: #fff;
	max-width: 600px;
}

#shs-main-header.shs-trans-header .et_pb_menu__search-input::placeholder {
	color: #DDDDDD;
}

#shs-main-header.et_pb_sticky .et_pb_menu__search-input {
	color: #444;
}

#shs-main-header.et_pb_sticky .et_pb_menu__search-input::placeholder {
	color: #666;
}

/*
#shs-main-header .et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__search-button, .et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__close-search-button {
	margin-left: 30px;
} */

#shs-main-header a.et_pb_menu__cart-button,
#shs-main-header-sticky a.et_pb_menu__cart-button {
	margin-left: 20px;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li.menu-cta > a,
.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu ul li.menu-cta > a,
.et-db #et-boc .et-l .et_pb_menu_1_tb_header.et_pb_menu ul li.menu-cta > a,
 ul#menu-main-menu-1 li.menu-cta > a,
 ul#mobile_menu2 li.menu-cta > a {
	background: url(https://www.shs.micawebdesign.com/wp-content/uploads/2021/06/cta-menu-bkg2.png) repeat-x center;
    color: #fff!important;
    padding-left: 14px !important;
    padding-right: 30px !important;
}

.et-db #et-boc .et-l .et-menu .menu-cta.menu-item-has-children>a:first-child:after,
.et-menu .menu-cta.menu-item-has-children>a:first-child:after {
	right: 10px;
}

/* for the home page hero */

.shs-full-width-header .et_pb_fullwidth_header_container {
	width:80%;
	max-width: 1240px;
}

/* buttons with arrow */

.et_pb_button.shs-cta-button:after {
    padding-left: 0 !important;
	padding-top: 3px;
}


/* Divi Blog Extras - grid extended  */

.el_dbe_grid_extended a.more-link {
	font-weight: 500;
}

.el-read-more-link {
	margin: 24px 0;
}

/* related read preview sections */
.related-read-blog .post-categories a {
	cursor: default;
}

/* for the event calendar feed */

.ecs-categories a {
	 cursor: default;
	color: #505050;
	font-weight: 300;
}

#home-event-feed h2 {
	margin-bottom: 15px;
}

#home-event-feed .act-view-more:after {
	padding-top: 3px !important;
}

.related-read-blog .post-categories a {
	padding: 0 !important;
	text-transform: uppercase;
	border-bottom: solid 2px #E09900 !important;
	padding-bottom: 5px;
	font-weight: 500 !important;
}

.related-read-blog .el-read-more-btn a:after {
	padding-left: 0 !important;
}

.shs-grid-blog-preview .el-read-more-link {
	margin-bottom: 0;
}

.shs-grid-blog-preview .author .et-pb-icon {
	display: none;
}

.shs-grid-blog-preview .author::before {
	content: "By "; 
	font-weight: 400;
}

.shs-grid-blog-preview .et_pb_post_extra.el_dbe_block_extended {
	border-radius: 0;
	-webkit-box-shadow: none;
    -ms-box-shadow: none;
	box-shadow: none;	
	border: 1px solid #aaa;	
}

.shs-grid-blog-preview .wp-post-image {
	border-radius: 0;
}

.explore-historic-property-blog .post-data {
	display:none;
}

.explore-historic-property-blog .post-content {
	padding: 0 20px !important;
	
}

.explore-historic-property-blog article {
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

.explore-historic-property-blog article .wp-post-image {
	border-radius: 0 !important;
}

#archive-header-banner h1 {
	position: relative;
	top: 15px;
}

/*move wrapped title, meta, and text up over the image*/

.shs-blog-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	padding: 30px;
	z-index: 1;
}


/*keep the moved items positioned with their parent items*/

.shs-blog .et_pb_blog_grid article {
	position: relative;
}


/*remove spacing around entire blog post*/

.shs-blog .et_pb_blog_grid .et_pb_post {
	padding: 0px;
}


/*remove negative margins on blog featured image*/

.shs-blog .et_pb_image_container {
	margin: 0;
}


/*remove the margin below the featured image frame*/

.shs-blog .et_pb_post .entry-featured-image-url {
	margin: 0;
}



.shs-blog .et_pb_blog_grid .entry-featured-image-url::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

/*remove border around the officer's table*/
#officer-table td {
	border: none;
}

.image-repro-fee-table tr td {
	border:none !important;
}

/* override the narrower setting for custom post types - ick */
.et-db #et-boc .et-l .shs-cpt-section .et_pb_row {
	max-width: 1240px;
}

.archive.tax-collection_category .et_pb_row_0_tb_header.et_pb_row {
	padding: 0 !important;
}

.archive.tax-collection_category #shs-main-header {
	padding-top: 31px !important;
	padding-bottom: 31px !important;
}

.archive.tax-collection_category .et-db #et-boc .et-l a {
	color: #444 !important;
}

.archive.tax-collection_category .et-search-form, .archive.tax-collection_category .et-db #et-boc .et-l .et-search-form, .nav li ul, .archive.tax-collection_category .et-db #et-boc .et-l .nav li ul, .archive.tax-collection_category .et_mobile_menu, .archive.tax-collection_category .et-db #et-boc .et-l .et_mobile_menu, .footer-widget li:before, .archive.tax-collection_category .et-db #et-boc .et-l .footer-widget li:before, .archive.tax-collection_category .et-db #et-boc .et-l .et_pb_pricing li:before, blockquote, .archive.tax-collection_category .et-db #et-boc .et-l blockquote {
	border-color: #fff;
}

._df_book  a.df-ui-download {
	display: none;
}

.shs-flip-book ._df_book {
	background-color: #323232 !important;
}

.shs-flip-book .df-container>.df-ui-next, 
.shs-flip-book .df-container>.df-ui-prev {
	color: #f5f5f5;
}

/*set the height of the slide image*/

.shs-image-gallery.et_pb_gallery_fullwidth .et_pb_gallery_image img {
   width: auto;
   height: 600px;
}


/*align the slide image to the middle*/

.shs-image-gallery .et_pb_gallery_image {
   line-height: 0;
   text-align: center;
}


/*style the slider previous and next buttons*/

a.et-pb-arrow-prev {
   color: #000!important;
   background: rgba(255,255,255,.5);
   margin-left: 18px!important;
   opacity: 1!important;
}

a.et-pb-arrow-next {
   color: #000!important;
   background: rgba(255,255,255,.5);
   margin-right: 18px!important;
   opacity: 1!important;
}

.woocommerce-message a {
	color: #fff;
} 

.membership-total-container input {
	max-width: 100px !important;
}

.membership-level-container input {
	padding-bottom: 15px !important;
}

.shs-form-section-heading {
	padding-top: 20px;
	padding-bottom: 15px;
	color: #7c7c7c;
	border-bottom: 1.5px solid #e9ecef;
}

.credit-card-info-container label {
	font-size: 14px;
}

@media all and (min-width: 768px) {
   .et-pb-arrow-next {
      opacity: 1;
      right: 22px;
   }
   .et-pb-arrow-prev {
      opacity: 1;
      left: 22px;
   }
}

@media all and (max-width: 767px) {
   .et-pb-arrow-next {
      opacity: 1;
      right: 0;
   }
   .et-pb-arrow-prev {
      opacity: 1;
      left: 0;
   }
}

.fluentform .ff-el-input--label label {
	font-weight: 400 !important;
}

form .ff-btn-submit {
	background-color: #e09900 !important;

}

form .ff-btn {
	border-radius: 0 !important;	
}

@media (min-width: 768px) {
	#home-event-feed .col-sm-6 {
		width: 100%;
	}
}




