.stretched-link::after {
	z-index: 3;
}

/*
 * Header 
 */

.header-nav > div {
	position: relative;
}

#site-search {
	position: absolute;
	width: calc(100% - 20px);
    top: 0;
    right: 0;
    bottom: 0;
    background: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (min-width: 768px) {
	#site-search {
		width: 400px;
	}
}

@media (min-width: 992px) {
	#site-search {
		width: 600px;
	}
}

#site-search form {
	flex: 1 0 auto;
}

#site-search .form-control {
	border: none;
	border-bottom: none;
	border-radius: 0;
	background: #ffffff;
	height: 42px;
	font-size: inherit;
}

#site-search button[type="submit"] {
	padding: 0;
	font-size: 16px;
	height: 42px;
	width: 42px;
	line-height: 42px;
	border: none;
	border-radius: 0;
	color: #000;
}

#site-search button[type="submit"]:hover,
#site-search button[type="submit"]:focus {
	color: #ffffff;
}

#site-search .btn-link {
	color: #000;
	background: #ffffff !important;
	border-radius: 0;
	padding: 0;
    width: 42px;
    height: 42px;
    line-height: 42px;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

#site-search .btn-link:hover,
#site-search .btn-link:focus {
	color: #00a753;
}

#menu-header-nav .mega-menu {
    position: relative;
}

#menu-header-nav .mega-menu > .sub-menu {
    max-width: 600px;
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%);
    background: #fff;
    padding: 2em;
    border: none;
    border-radius: 35px;
}

#menu-header-nav .sub-menu > li > a,
#menu-header-nav .sub-menu > li > .uabb-has-submenu-container > a {
	padding-top: 5px;
	padding-bottom: 5px;
}

@media (max-width: 767px) {
	.header-nav[class*="-clone"] {
		position: absolute;
		left: 0;
		right: 0;
		top: calc(100% - 20px);
		background: #2b4258;
		padding: 10px 0;
	}
	
	.header-nav .uabb-creative-menu.uabb-menu-default .menu > li > a,
	.header-nav .uabb-creative-menu.uabb-menu-default .menu > li > .uabb-has-submenu-container > a {
		padding-top: 15px;
		padding-bottom: 15px;
	}
	
	.header-nav .uabb-creative-menu .sub-menu {
		box-shadow: none !important;
	}
	
	.header-nav .uabb-creative-menu .sub-menu > li > a,
	.header-nav .uabb-creative-menu .sub-menu > li > .uabb-has-submenu-container > a,
	.header-nav .uabb-creative-menu .sub-menu > li > a:hover,
	.header-nav .uabb-creative-menu .sub-menu > li > a:focus,
	.header-nav .uabb-creative-menu .sub-menu > li > .uabb-has-submenu-container > a:hover,
	.header-nav .uabb-creative-menu .sub-menu > li > .uabb-has-submenu-container > a:focus {
		background-color: transparent !important;
	}
	
	.header-nav .menu .uabb-has-submenu .sub-menu .sub-menu {
		display: block !important;
		border-bottom: 1px solid rgba(255,255,255,0.5);
		padding-bottom: 10px;
		margin-bottom: 10px;
	}
	
	#menu-header-nav .sub-menu > li > a,
	#menu-header-nav .sub-menu > li > .uabb-has-submenu-container > a {
		color: #ffffff !important;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	
	.header-nav .uabb-creative-menu .sub-menu > li.uabb-creative-menu > a > span,
	.header-nav .uabb-creative-menu .sub-menu > li > .uabb-has-submenu-container > a > span {
		color: inherit !important;
	}
}

/*
 * WooCommerce
 */

button,
input[type=button],
input[type=submit] {
	color: #000;
	background-color: #fff;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	text-transform: uppercase;
	border: 2px solid #000;
	border-radius: 50px
}

button:hover,
input[type=button]:hover,
input[type=submit]:hover,
button:focus,
input[type=button]:focus,
input[type=submit]:focus {
	background-color: #00a753;
	color: #fff;
	border: 2px solid #000;
	border-radius: 50px;
	border-color: #00a753
}

/*
 * Page Cards
 */

.page-feed .fl-post-feed {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-align: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	margin-left: -10px;
	margin-right: -10px;
}

.page-feed .fl-post-feed-post {
    border: none;
    width: 100%;
	margin-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
	-webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.page-feed .fl-post-feed-post:last-child {
	margin-bottom: 20px !important;
}

@media (min-width: 576px) {
	.page-feed .fl-post-feed-post {
		width: 50%;
	}
}

@media (min-width: 992px) {
	.page-feed .fl-post-feed-post {
		width: 25%;
	}
}

.page-card.card {
	border: 1px solid #c1c1c1;
	border-radius: 22px;
	overflow: hidden;
	height: 100%;
}

.page-card .card-img-top {
	border-radius: 0;
	aspect-ratio: 15/13;
    object-fit: cover;
    background-color: #dbdbdb;
}

.page-card--body {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

.page-card--title {
	margin-bottom: 1rem;
}

.page-card--title,
.page-card--title .stretched-link {
	color: inherit;
}

.page-card--button,
.product-card--button,
.file-gallery--item-button {
	font-size: 16px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-family: Roboto, sans-serif;
	font-weight: 700;
	border: 2px solid #000000;
	background: none;
	padding: 0;
	border-radius: 50px;
	-moz-border-radius: 50px;
	-webkit-border-radius: 50px;
	width: 165px;
	min-height: 55px;
	position: relative;
	overflow: hidden;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.file-gallery--item-button {
	min-height: 35px;
	display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.page-card--button,
.page-card--button::after,
.page-card--button-text,
.product-card--button,
.product-card--button::after,
.product-card--button-text,
.file-gallery--item-button,
.file-gallery--item-button::after {
	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-ms-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	transition: all 200ms linear;
}

.page-card:hover .page-card--button,
.product-card:hover .product-card--button,
.file-gallery--item:hover .file-gallery--item-button {
	border-color: #00a753;
}

.page-card:hover .page-card--button-text,
.product-card:hover .product-card--button-text,
.file-gallery--item:hover .file-gallery--item-button-text {
	color: #ffffff;
	position: relative;
	z-index: 2;
}

.page-card--button::after,
.product-card--button::after,
.file-gallery--item-button::after {
	content: '';
	position: absolute;
	z-index: 1;
	background: #00a753;
	bottom: 0;
	height: 0;
	width: 100%;
}

.page-card:hover .page-card--button::after,
.product-card:hover .product-card--button::after,
.file-gallery--item:hover .file-gallery--item-button::after {
    height: 100%;
}

.file-gallery--item {
    display: flex;
    flex-direction: column;
}

.file-gallery--item-image {
    width: 300px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}