/*
 Theme Name:   Astra Child
 Theme URI:    https://www.imperosoftware.com/
 Description:  Astra child theme
 Author:       Thrive
 Author URI:   https://thrivesearch.com/
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/

/* Custom properties */
:root {
	--hellobar-height:  0;
}

/* Fontawesome overrides */
.far, .fa {
	font-weight: 300 !important;
}

#main-banner {
	position: relative;
}

#main-banner #globe {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	width: 100% !important;
	height: auto !important;
}

#main-banner {
	background-image: linear-gradient(180deg, #2B4671 0%, #35AED9 53.12%, #E1EDF0 100%);
}

#services {

}

#services > header {
	display: flex;
	align-items: center;
	justify-content: center;
}

.service-wrapper {
	height: 0;
	visibility: hidden;
}

.service-wrapper.active {
	height: auto;
	visibility: visible;
}

.service__anchor {
	display: inline-block;
	margin: 0 20px 20px;
	text-align: center;
	color: #969696;
}

.service__anchor:focus {
	outline: 0;
}

.service__anchor.active {
	color: #15A2DF;
}

.service__anchor > i {
	display: inline-block;
	margin-bottom: 0.25rem;
	font-size: 50px;
}

.service__anchor > span {
	display: block;
}

#services-wrapper {

}

#services-wrapper .pp-tabs-labels .pp-tabs-label {
	flex: 0 0 auto;
	margin-left: 20px;
	margin-right: 20px;
	background: none !important;
}

#services-wrapper .pp-tabs-labels .pp-tabs-label .pp-tab-label-inner:after,
#services-wrapper .pp-tabs-labels .pp-tabs-label.pp-tab-active .pp-tab-label-inner:after {
	background: none !important;
	transition: none !important;
	transform: none !important;
}

#services-wrapper .pp-tab-icon {
	display: inline-block;
	margin-right: 0;
}

#services-wrapper .pp-tab-title {
	display: block;
	text-align: center;
}

#cta {
	position: relative;
	z-index:  1;
}

.gform_wrapper div.gfield.gfield_error, .gform_wrapper div.gfield.gfield_error {
    padding: 8px;
	padding-right: 8px !important;
    border-top: none;
    border-bottom: none;
}

/* #featured-post */
/******************/
#featured-post .uabb-blog-posts-shadow {
	background:  none;
	box-shadow:  none;
}

#featured-post .uabb-blog-post-inner-wrap {
	display: flex;
	padding-top:  40px;
	border-radius:  20px;
	background-color:  rgb(90, 183, 219);
}

#featured-post .uabb-blog-post-content {
	margin-top:  -30px;
	text-align:	left;
}

#featured-post .uabb-post-heading {
	color: #fff;
	font-size:  38px;
	line-height:  1.2;
}

#featured-post .uabb-cat-links a,
#featured-post .uabb-post-meta {
	color:  #fff;
	color:  rgba(255, 255, 255, 0.75);
}

#featured-post .uabb-blog-posts-description {
	color:  #fff;
	color:  rgba(255, 255, 255, 0.75);
}

#featured-post .uabb-read-more-text * {
	color:  #fff;
	font-weight:  900;
}

#featured-post .uabb-post-thumbnail {
	border-top-left-radius: 0.75rem;
	box-shadow:  0px 0px 17px -2px rgb(0 0 0 / 75%);
}

#featured-post .uabb-post-thumbnail img {
	visibility: hidden;
}

@media screen and (max-width: 768px) {
	#fatured-post::after {
		content: '.';
		display:  block;
		clear:  both;
		color: transparent;
	}

	#featured-post .uabb-blog-posts,
	#featured-post .uabb-blog-posts-shadow {
		height:  auto !important;
	}

	#featured-post .uabb-post-wrapper {
		position: static !important;
	}

	#featured-post .uabb-blog-post-inner-wrap {
		flex-wrap: wrap;
	}

	#featured-post .uabb-blog-post-content, 
	#featured-post .uabb-post-thumbnail {
		flex:  0 0 100%;
	}

	#featured-post .uabb-blog-post-content {
		order:  2;
		margin-top:  0;
	}

	#featured-post .uabb-post-thumbnail {
		order:  1;
		border-top-left-radius: 0;
	}
}
/* end of:  #featured-post */

/* Careers */
/***********/
.jobs .uabb-post-heading > a {
	position:  relative;
}

.jobs .uabb-post-heading > a::before {
	position:  relative;
	top:  0.65rem;
	content: '.';
	display:  inline-block;
	width: 6px;
	height: 6px;
	margin-right:  0.65rem;
	border-radius:  50%;
	background-color: #15A2DF;
	color:  transparent;
}
/* end of:  Careers */

/* Gravity forms css */
@media (max-width: 1200px) {
	.fl-node-60f13e03e8ad5 .uabb-gf-style .gform_wrapper .gform_footer input[type=submit] {
		padding-left: 100px !important;
		padding-right: 100px !important;
	}
}



@media screen and (min-width:  1964px) {
	body.has-hellobar {
		padding-top:  var(--hellobar-height);
	}
	
	body.has-hellobar #page > header {
		top:  var(--hellobar-height);
	}
}



@media screen and (max-width: 932px) {
	ul.menu .menu-item.btn-orange > a{
		display:  block;
		width:  250px;
		margin:  12px 20px 0;
		padding:  12px 20px;
		border-radius:  5px;
		font-weight:  700;
		text-align: center;
		background:  #F5AC3D;
		transition: all 200ms linear;
	}

	ul.menu .menu-item.btn-orange > a:focus,
	ul.menu .menu-item.btn-orange > a:hover {
		background:  #f49200;
	}
}

/* Case Study download link */
.case-study-download-cta[href=''] {
    display: none;
}
/* end of: Case Study download link */


/* Gravity Form */
.gform--custom .gform_wrapper {
	padding: 60px 40px 40px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgb(0 0 0 / 11%), 0 0 4px rgb(18 25 97 / 4%);
    box-shadow: 2px 1.5px 25px -12px rgb(0 0 0 / 59%);
	background: #67d3ff;
}

.gform--custom .gfield {
	margin-bottom: 32px
}

.gform--custom .gform_wrapper li.gfield input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']), 
.gform--custom .gform_wrapper li.gfield textarea, 
.gform--custom .gform_wrapper div.gfield input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']), 
.gform--custom .gform_wrapper div.gfield textarea {
    background: transparent;
	border: 0;
	border-bottom: 2px solid #000;
	padding-left: 0 !important;
	padding-right: 0 !important];
}

.gform--custom .gform_wrapper .gform_validation_errors {
    display: none;
    margin-top: -24px;
	margin-bottom: 42px;
	border-width: 0;
    border-radius: 3px;
    background-color: transparent;
    box-shadow: none;
}

.gform--custom .gform_wrapper .gform_validation_errors > h2 {
    font-size: 13px;
    font-weight: 400;
}

.gform--custom .gform_wrapper div.gfield.gfield_error, 
.gform--custom .gform_wrapper div.gfield.gfield_error {
    margin-top: 0;
	padding: 0;
}

.gform--custom .gform_wrapper .gfield.gfield_error {
	background: none;
}

.gform--custom .gform_wrapper li.gfield_error input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']), 
.gform--custom .gform_wrapper li.gfield_error textarea, 
.gform--custom .gform_wrapper div.gfield_error input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']), 
.gform--custom .gform_wrapper div.gfield_error textarea {
	border-color: #ce0000;
	background-color: #fff9f9;
    background-color: transparent;
	transition: all 0.3s ease-in-out;
}

.gform--custom .gform_wrapper li.gfield_error input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']):focus, 
.gform--custom .gform_wrapper li.gfield_error textarea,
.gform--custom .gform_wrapper div.gfield_error input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']):focus, 
.gform--custom .gform_wrapper div.gfield_error textarea:focus {
	border-color: #ccc;
    border-color: #000;
	background-color: transparent;
}

.gform--custom .gform_wrapper .validation_message {
    margin-top: 0;
    padding: 0 !important;
    border: 0;
    background: none;
}

.gform--custom .gform__footer {

}

/* wp-content/plugins/gravityforms/images/spinner.svg */
.gform--custom .gform__footer .gform_ajax_spinner {

}
/* end of: Gravity Form */


/* Classroom Landing Page Floating Form */

#classroom-lp-floating-form-wrapper-overlay .uabb-overlay {
    display: none;
}

#classroom-lp-floating-form-wrapper-overlay .uabb-modal {
    top: auto !important;
    left: auto;
    bottom: 0;
    right: 0;
    transform: none !important;
    width: 420px !important;;
}

@media screen and (max-width: 932px) {
    #classroom-lp-floating-form-wrapper-overlay .uabb-modal {
        width: 100% !important;
    }
}

#classroom-lp-floating-form-wrapper-overlay .uabb-modal .uabb-modal-close {
	top: 6px;
	right: 2px;
}

#classroom-lp-floating-form-wrapper-overlay .uabb-modal .uabb-modal-close .uabb-close-icon {
	color: #666;	
	font-weight: 100;
	font-size: 20px;
}

#classroom-lp-floating-form-wrapper-overlay .uabb-modal .uabb-modal-text > p {
    display: none;
}

#classroom-lp-floating-form-wrapper-overlay .gform_wrapper {
    margin-top: 1rem;
}

.classroom-lp-gform_wrapper .gform_validation_errors {
    display: none;
}

.classroom-lp-gform .gfield .font-large {
    font-weight: 700;
    font-size: 1.2rem;
    text-align: left;
}

.classroom-lp-gform .gform_page_footer {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 0 !important;
}

.classroom-lp-gform.gform_confirmation_wrapper .button,
.classroom-lp-gform .gform_page_footer .button,
.classroom-lp-gform .gform_page_footer .button:focus {
    display: inline-block;
    flex-grow: 2;
    padding: 10px 40px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #15A2DF;
    color: #fff;
    text-transform: none;
}

.classroom-lp-gform .gform_page.second-page .gform_previous_button {
    display: none;
}

.classroom-lp-gform .gform_page.third-page .gform_previous_button {
    flex: 0 0 auto;
    padding: 10px 20px;
}
.classroom-lp-gform .gform_page_footer .gform_ajax_spinner {
    flex-basis: 100%;
    height: 10px;
}

.classroom-lp-gform.gform_confirmation_wrapper {
	padding: 10px;
	text-align: center;
}

.classroom-lp-gform.gform_confirmation_wrapper .uabb-modal-close {
	position: static;
	text-decoration: underline;
}
/* End of: Classroom Landing Page Floating Form */

/* Blog Spacing */
#blog .uabb-blog-posts {
    position: static !important;
    height: auto !important;
    display: flex;
    flex-wrap: wrap;
}

#blog .uabb-blog-posts .uabb-post-wrapper {
    position: static !important;
    height: auto !important;
}

#blog .uabb-blog-posts .uabb-post-wrapper > div {
    height: auto !important;
}

#blog .uabb-blog-posts-grid #infscr-loading {
    position: static !important;
}
/* End of: Blog Spacing */
