/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* basic */
.no-margin p {
	margin-bottom: 0;
}

.link-style a {
	color: white;
}

.link-style a:hover,  .menu-footer-bar-container a {
	color: white;
	text-decoration: none;
}
.img-padding img {
	padding-bottom: 0;
}
.navigation-branding img{
	height: 70px!important;
}
@media(max-width: 768px) {
h1 {
	font-size: 30px;
}
}
.box-align .gb-inside-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.box-align .gb-inside-container > *:last-child {
    margin-top: auto;
}

/* menu settings */

@media(max-width: 768px) {
 .menu-bar-item {
	display: none;
	}
}
	
	/* right menu color change on scroll and hover */
	.sub-menu-right .menu-bar-items .highlight  {
		border: 1px solid white;
	}
	.sub-menu-right .menu-bar-items .highlight:hover  {
		background: white;
	}
	.sub-menu-right .menu-bar-items .highlight a:hover {
		color: black!important;
	}
	.navigation-stick .menu-bar-items .highlight {
		border: 1px solid black;
	}
	.navigation-stick .menu-bar-items .highlight:hover {
		background: #8024FF;
		border-color: #8024FF;
	}
	.navigation-stick .menu-bar-items .highlight a:hover {
		color: white!important;
	}

	/* end right menu color change */

.main-navigation .menu-bar-item > a, .main-navigation.sticky-navigation-transition .menu-bar-item > a, .main-nav .menu-item > a, .main-nav .menu-item.sticky-navigation-transition > a {
	line-height: 40px;
}
nav {
	border-bottom: 1px solid white;
}

.main-navigation .menu > .menu-item > a::after {
    content: "";
    position: absolute;
    right: 0;
    left: 50%;
    bottom: 15px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);

    display: block;
    width: 0;
    height: 2px;

    background-color: currentColor;
    transition: 0.3s width ease;
}
.main-navigation .menu > .menu-item.current-menu-item > a::after,
.main-navigation .menu > .menu-item > a:hover::after  {
    width: 80%;
}

/* service page boxes*/
.link a {
	text-decoration: none;
}
.link a:hover {
	color: black;	
}
.link:hover {
	box-shadow: 10px 10px 5px rgba(0,0,0,0.1);
	transition: 0.5s;
}

/* post navigation layout*/
.navigation a {
	text-decoration: none;
}
.navigation a:hover {
	text-decoration: underline;
}
/* post display*/
.news a {
	text-decoration: none!important;
}
/* post header*/
.hero-category a {
	margin: 20px;
	padding: 5px 10px;
	color: white;
	border: 1px solid white;
	border-radius: 10px;
	text-decoration: none;
}
.hero-category a:hover {
	color: white;
}
.page-hero {
	margin-bottom: 30px;
}
.hero-meta {
	color: #f8f8f8;
	font-size: 14px;
	margin: 20px;
}
.gb-grid-wrapper.cu-new-query > .gb-query-loop-item {
    width: 100%;
}

/* ellipse banner*/
.ellipse::before {
	content: '';
    position: absolute;
    top: -6%;
    left: 55%;
    width: 13vw;
    height: 29vw;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: rotate(-25deg);
    min-width: 8em;
    min-height: 20em;
}
.ellipse::after {
	content: '';
    position: absolute;
	top: 20%;
    left: 64%;
    width: 13vw;
    height: 37vw;
	border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: rotate(45deg);
    min-height: 28em;
    min-width: 12em;
}
/* debug carousel display*/
.wp-block-uagb-post-carousel .slick-list article { 
    min-height: 500px;
}
@media only screen and (min-width: 768px) {
	.wp-block-uagb-post-carousel .slick-list .uagb-post__inner-wrap > .uagb-post__text:first-child, .wp-block-uagb-post-carousel .slick-list .uagb-post__inner-wrap > .uagb-post-grid-byline, .wp-block-uagb-post-carousel .slick-list .uagb-post__inner-wrap > .wp-block-button {
	top: 150px;
}
}
