/*
Theme Name:     Stanley Wedding
Author:         Michael Aronoff
Template:		kadence
Author URI:     https://www.ciicweb.com
Description:    Custom theme for Stanley Wedding
Version:        2.0
*/

/* Lock icon for Link */
.button.header-button.button-size-custom.button-style-filled::before {
	content: "\f023";
	font-family: "Font Awesome 5 Free";
	margin-right: 10px !important;
}

/* Footer Changes */
.footer-widget-area-inner .widget.widget_block {
	margin: 10px 0 0 0;
}
.footer-widget-area-inner .wp-block-kadence-advancedheading {
	color: #fff;
	font-size: 18px;
	line-height: 1;
	padding: 0 !important;
}

/* Smaller body text */
.smalltext { font-size: .8em; }

/* List with no dot */
.plainli { list-style: none; }

/* Image Caption Size */
.uagb-image-caption { font-size: .7em; line-height: 1.4em; }

/* Search Box Adjustments */
.ast-header-html-2 input.search-submit { display: none !important; }
.ast-header-html-2 #search-field { border-radius: 6px 0px 0px 6px; padding: 8px 0px 3px 13px; }
.ast-header-html-2 .search-field::placeholder {	color: #aaa !important; }
.ast-header-html-2 .search-field:focus::placeholder { color: #fff !important; }
.ast-header-html-2 .search-submit.ast-search-submit { background: #69727d; border-radius: 0px 6px 6px 0; padding: 10px 10px 10px 10px; margin-left: -4px; }

/* SSS Form Adjustments */
#container .collet40 .woocommerce .columns-1, #content .collet40 .woocommerce .columns-1 { padding: 0 40px !important; }
.wp-block-uagb-container div.super-speedy-search-form { z-index: 1; }
#container div.super-speedy-search-form, #content div.super-speedy-search-form { border: 1px solid #eeeeee !important; border-radius: 0 !important; max-width: 460px; margin: 0 auto; }
#container div.super-speedy-search-form .sss_search_button, #content div.super-speedy-search-form .sss_search_button { height: 37px !important; border-radius: 0px !important; background: #69727d !important; }

/*superspeedysearch tweaks*/
.ast-header-search .super-speedy-search-form { border-radius: 8px !important; border: 1px solid #69727d !important; max-width: 340px !important; width: 340px !important; }
.ast-header-search .sssinputwrapper { border-radius: 8px !important; }
#ssstext1 { padding: 10px 20px; border-radius: 8px 0px 0px 8px; }
.super-speedy-search-form .sss_clear_button { height: 46px; color: #ffffff !important; }
.super-speedy-search-form .sss_search_button { background: #0b75a1 !important; height: 46px !important; border-radius: 0px 8px 8px 0px !important; }
.super-speedy-search-form .sss_maybe_close_button { display: none; }
.super-speedy-search-form .sssresults.sssajax { top: 2.1em !important; }
.super-speedy-search-form .sss_scroll_container { max-height: 650px !important; }
[class^="wpi-sss-icon-"], [class*=" wpi-sss-icon-"] { font-size: 22px !important;  margin-bottom: 2px !important; }

/* Search Page Results Tweaks */
.search-results #primary { margin-top: 20px; margin-bottom: 0px; }
.search-results .blog-layout-4 { border-radius: 12px; }
.search-results .ast-row .blog-layout-4 .post-content { padding: 0px 10px; }
.search-results .post-thumb-img-content.post-thumb { padding: 0; }
.search-results .entry-title.ast-blog-single-element { font-size: 20px; }
.search-results .attachment-thumbnail.size-thumbnail.wp-post-image { border-radius: 12px; margin-top: 2px; }
.search-results .ast-blog-featured-section.post-thumb.ast-blog-single-element { margin-bottom: 6px; }
.search-results .ast-blog-layout-4-grid .ast-article-post { width: 19%; margin: 6px; border-radius: 12px; border: 1px solid #ccc !important; padding: 0px !important; }
.search-results .entry-header.ast-blog-single-element.ast-blog-meta-container { display: none; }
.search-results .ast-excerpt-container.ast-blog-single-element p { font-size: 16px; line-height: 20px; }
.search-results .ast-blog-single-element.ast-read-more-container.read-more a { font-size: 12px; text-transform: uppercase; font-weight: 700; }
.search-results .woocommerce-breadcrumb { display: none; } 
.search-results .woocommerce-products-header { display: none; }
.search-results .ast-shop-toolbar-container .ast-shop-toolbar-aside-wrap { width: 50%; }
.search-results .ast-shop-toolbar-aside-wrap:nth-of-type(1) { min-width: 86%; }
.search-results .ast-blog-single-element.ast-read-more-container.read-more { margin: 4px 4px 0px 0px; }
.ast-pagination .page-numbers { display: inline-block; 	width: 2.33333em; height: 2.33333em; font-size: 16px; font-size: 1.06666rem; line-height: calc(2.33333em - 3px); font-weight: 500; }
.search-results.woocommerce .ast-shop-toolbar-container .ast-shop-toolbar-aside-wrap { min-width: 86%; }
.search-results .ast-quick-view-text { display: none !important; }
.search-results .ast-quick-view-text:hover { display: none !important; }
.ast-pagination .page-numbers, .ast-pagination .page-navigation { font-size: 16px; font-size: 0.88888888888889rem; } 
.ast-pagination-default .post-page-numbers.current .page-link, .ast-pagination-default .ast-pagination .page-numbers.current { border-radius: 2px; }
.ast-pagination .page-numbers { background: #0b75a1 !important; white-space: nowrap; color: #fff !important; }
.ast-pagination .next.page-numbers { padding-right: 74px !important; }
.ast-pagination .prev.page-numbers { padding-right: 98px; float: left; padding-left: 18px !important; }
.ast-pagination { text-align: center; }
#content #ssstext4 { border-radius: 12px; }
.search-no-results #content .super-speedy-search-form button[type="submit"], .error404 #content .super-speedy-search-form button[type="submit"] { margin: -5px 0; }

#content  div.super-speedy-search-form, #content div.super-speedy-search-form { border: 1px solid #0b75a1 !important; border-radius: 0 !important; max-width: 660px; margin: 0 auto; }
#content  div.super-speedy-search-form .sss_search_button, #content div.super-speedy-search-form .sss_search_button { height: 40px !important; border-radius: 0px !important; background: #0b75a1 !important; }
#content [class^="wpi-sss-icon-"], #content  [class*=" wpi-sss-icon-"] { font-size: 22px !important; margin-bottom: -2px !important; } 
#content .sss_clear_button { background: #a1a1a1; }
#content .super-speedy-search-form .sss_clear_button { height: 35px !important; }

/* Caption Text Size */
.wp-element-caption { width: 100%; padding: 0 5%; }
.wp-caption .wp-caption-text { font-size: .7em !important; }

/* superscript and subscript */
.sup { font-size: 75%; position: relative; top: -0.5em; vertical-align: baseline; }
.sub { font-size: 75%; position: relative; bottom: -0.25em; vertical-align: baseline; }

/* Fancy Lists */
.STANLEY_Lists { padding-bottom: 10px; }
.STANLEY_Lists .standard-arrow { padding-left: 40px; }

/* Google Map */
.vsg-map iframe { border: 1px solid rgba(166, 166, 166, 0.25); border-radius: 6px; }

/* ADCOA Text Divider */
.STANLEY-divider { display: flex; align-items: center; /* Corrected to align vertically */ text-align: left; max-width: 1300px; margin: 0 auto; }
.STANLEY-divider::after { content: ''; flex-grow: 1; box-sizing: border-box; border-top: 2px solid #b0b0b0; border-bottom: 2px solid #b0b0b0; height: 7px; margin: 0.85rem -.65rem .65rem .65rem; }

/* Tick */
ul.tick {
	list-style: initial;
	list-style-image: url(/wp-content/uploads/arrow.png) !important;
	margin: 10px !important;
	line-height: 1.5em;
}
/*ul.tick li {
	background: rgba(0,0,0,0) url(/wp-content/uploads/arrow.png) no-repeat scroll left 3px;
	line-height: 1.5em;
	list-style: outside none none;
	margin: 0 0 0 -20px;
	padding: 0 0 2px 25px;
}*/

ul.tick li {
	list-style: inherit !important;
	margin: 0 0 0 40px !important;
	padding: 0px !important;
}
.tick.shortlist {
	margin: 0 !important;
}

/* Table Block Adjustments */
.wp-block-table.has-head th, .wp-block-table.has-head thead tr  { background: #eeeeee; }
.wp-block-table.centertable td { text-align: center; white-space: nowrap; }
.wp-block-table.centeronly td { text-align: center; }
.wp-block-table.small-text { font-size: .75em; line-height: 1.5em; }
.wp-block-table.smaller-text { font-size: .65em; line-height: 1.5em; }
.sidehead th { background: #b0b0b0; }
.sidehead td { background: #f0f0f0; }
.sidehead td:first-of-type { background: #d9d9f3; }

.ytvideo { max-width: 700px; margin: 0 auto !important; }

* Block Editor Adjustments */
.block-editor :where(.wp-block) {
	margin-bottom: 10px !important;
	margin-top: 10px !important;
}
.block-editor ul.tick {
	margin: 0 0 20px 0 !important;
}
.block-editor .edit-post-visual-editor__post-title-wrapper {
	margin-bottom: 40px;
}