/**
Theme Name: TM Pro Child Theme
Author: Tiffany Mark
Author URI: https://tiffanymark.com/
Description: This child theme uses TM Pro, one of the fastest and most versatile theme suitable for blogs, portfolios, business and nonprofit websites. It is very lightweight and offers unparalleled speed.
Version: 1.0.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tm-child-theme
Template: astra
*/

/* Copyright logo */
a.tm-logo, 
a.tm-logo:hover {
  text-decoration: none;
  color: var(--ast-global-color-6); /*light*/
  opacity: .5;
}
a.tm-logo:hover {
  opacity: 1;
}
.tm-logo img {
  vertical-align: middle;
}


/* Header */
.main-header-bar.ast-sticky-active,
#ast-fixed-header .main-header-bar {
	box-shadow: none;
}
.ast-desktop-popup-content .ast-builder-menu-mobile .main-header-bar-navigation .menu-item-has-children > .ast-menu-toggle {
	line-height: 1;
}

/* Change title tag colour for dark headers */
.home .ast-site-identity .site-title a, 
.page-id-415 .ast-site-identity .site-title a /* home */,
.page-id-15 .ast-site-identity .site-title a /* race */,
.page-id-6082 .ast-site-identity .site-title a /* icebreaker */,
.page-id-5932 .ast-site-identity .site-title a /* iron */,
.page-id-189 .ast-site-identity .site-title a /* poker paddle */,
.blog .ast-site-identity .site-title a /* news */
{
	color: var(--ast-global-color-6); /* white */
}

.home .ast-site-title-wrap {
	display: none;
}

/* Footer */
.site-below-footer-wrap[data-section="section-below-footer-builder"]{
	background: var(--ast-global-color-5) url(//lotus.miffanytark.com/wp-content/themes/astra-child-tm/assets/images/footer-bg-waves.svg) bottom center repeat-x !important;
    background-size: 600px !important;
}
/* Menu */
#ast-mobile-site-navigation span.ast-icon.icon-arrow,
.main-header-menu .sub-menu .menu-item:not(.menu-item-has-children) .menu-link .icon-arrow {
	vertical-align: text-top;
}  
.ast-desktop-popup-content .sub-menu .menu-link > .icon-arrow svg:first-of-type,
.ast-mobile-popup-content .sub-menu .menu-link > .icon-arrow svg:first-of-type {
	width: .5em;
}

/* Buttons */
button, .ast-button, .button, input[type="button"], input[type="reset"], input[type="submit"] {
	box-shadow: none;
}
.ast-menu-toggle, 
.ast-menu-toggle:focus,
.ast-menu-toggle:focus-visible,
.ast-menu-toggle:hover,
.ast-mobile-popup-drawer.active .menu-toggle-close:focus, 
#ast-scroll-top:focus {
	border-style: none;
	border-width: 0;
}
.ast-menu-toggle:focus {
    outline: none;
}
.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
	line-height: 1.6em;
}
.ast-header-break-point .ast-icon.icon-arrow svg {
	width: .67em;
	height: .75em;
}

/* Tables */
th {
	text-align: left;
}
.borderless-table table,
.borderless-table td {
	border-width: 0;
}
.borderless-table td {
	padding: .25em 0em;
}

/* Layout & Columns */
.four-columns {
	column-count: 4;
}
@media screen and (max-width: 1200px) {
	.four-columns {
		column-count: 3;
	}	
}
@media screen and (max-width: 900px) {
	.four-columns {
		column-count: 2;
	}	
}
@media screen and (max-width: 767px) {
	.four-columns {
		column-count: 1;
	}	
}
/* Page Image */
.post-thumb-img-content.post-thumb {
	border-radius: 20px;
	overflow: hidden;
}
/* Photo Credits */
.photo-credit figcaption {
	display: inline-block;
    position: absolute;
    bottom: 0;
	right: 2em;
    font-size: .75em;
	font-style: italic !important;
    color: var(--ast-global-color-6);
    background: rgba(0, 0, 0, .4);
    padding: 0px .75em;
    border-radius: 1.5em;
	opacity: .8;
}
.photo-credit figcaption a {
	color: var(--ast-global-color-6);
}

/* Animations */
[data-aos] {
    animation-duration: 3.2s !important;
    transition-duration: 3.2s !important;
    
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.wp-block-uagb-container.hover-opacity::before {
    transition: opacity 0.5s ease;
}

.wp-block-uagb-container.hover-opacity:hover::before {
    opacity: 0.75;
}
/* Blog */
.entry-content :where(h1,h2,h3,h4,h5,h6) {
	margin-top: 0;
}
.blog .ast-grid-common-col {
	padding-left: 0; 
	padding-right: 0;
}

.single-post h2 {font-size: 2em; line-height: 1.2em;}
.single-post h3 {font-size: 1.5em;}
.single-post h4 {font-size: 1.25em;}

.single-post img {
	border-radius: .75em;
}

/* Google Forms */
.google-form-wrapper {
    height: 600px;
    overflow-y: visible;
}

.google-form-wrapper iframe {
    height: 100%;
    width: 100%;
    border: 0;
}

/* PayPal Forms */
#payment_box {
    all: initial;
    display: block;
	font-family: inherit;
}
#paypal-container-H3YDNBV2XN7UJ select {
    position: static;
    transform: none;
    margin: 0;
    padding: initial;
    line-height: normal;
    height: auto;
}

#paypal-container-H3YDNBV2XN7UJ #selector-variant-0 {
  font-size: 1rem;
  font-weight: normal;
}
#paypal-container-H3YDNBV2XN7UJ .item-header,
#paypal-container-H3YDNBV2XN7UJ .item-header h3 {
  font-size: 1rem;
  font-weight: normal;
	letter-spacing: 1px;
}

/* Fluent Forms */
div.fluentform .ff-el-is-error .ff-el-form-control {
	border-color: #d40202;
}
div.fluentform .text-danger,
div.fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label:after,
div.fluentform .ff-el-is-error .ff-el-form-check-label, 
div.fluentform .ff-el-is-error .ff-el-form-check-label a {
	color: #d40202;
}
