/*
 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
*/

body {
	counter-reset: count;
	background-color: var(--base-3);
    color: var(--contrast);
}
a {
    text-decoration: none;
	color: var(--accent);
}
button.menu-toggle {
    padding-right: 5px;
}
.main-navigation .main-nav ul li a {
    line-height: 30px;
}
.jet-filter+.jet-filter {margin-top: 0px !important;}
#letterloop .letters {width: 100%;display: inline-flex;font-size: 15px;}
.icon {
    width: 4%;
}
.type {
    width: 12%;
}
.title {
    width: 30%;
}
.datee_t_h {
    width: 10%;
}
.size {width: 8%;}
.monthly {width: 10%;}
.yearlyreturn {width: 10%;}
.tags {width: 17%;}
.ticker {
    width: 15%;
}
.download {
    width: 4%;
	text-align: center;
}
.download a {
    margin: auto;
}
#letterloop .jet-listing-grid__item:nth-child(even) {
    background: var(--contrast-3);
}
.columntitle h2 {
    font-weight: 700;
}
.top-tags a {font-weight: 600; text-transform: capitalize; border: 1px solid #b8b8b8; padding: 5px 13px;}
.csscounter .gb-loop-item::before {counter-increment: count; content: counter(count) ""; font-size: 36px; font-weight: 600; color: grey; position: absolute; margin: -9px 0 0 -37px; }
.umenu a {padding: 15px;}
.umenu .current-menu-item a {background: rgb(0 89 198 / 10%);border-bottom: 2px solid #0059C6;margin-bottom: -2px;color: #0059C6 !important;font-weight: bold;}
.pmpro-account h2.pmpro_section_title, #pmpro_form .pmpro_checkout h2, .pmpro_checkout_box-billing h2 { font-size: 18px; margin-bottom: 10px; }
ul.wp-block-social-links { margin: 0;}
.inarticle button {background-color: #5298e8;}
.jet-form-col { padding: 0; }
.jet-form-row {margin: 0 !important;}
.site-footer .jet-form-row--first-visible { border-radius: 10px; overflow: hidden; padding: 0; }
.main-navigation a, .main-navigation .menu-toggle, .main-navigation .menu-bar-items {
    font-weight: 500;
    text-transform: capitalize;
    line-height: 2.2em;
}
.nav-float-right #site-navigation { margin-left: 0 !important; }
.authorimg img { height: 100px; width: 100px;border-radius: 50%; background: #ffffff; border: 1px solid #eeeeee;}
.authorimgsm img { height: 25px; width: 25px;border-radius: 50%; background: #ffffff; border: 1px solid #eeeeee;}
.site-footer input#email {
    border-color: #ffffff;
}
.pmpro_login_wrap {
    text-align: center;
}
#loginform label {
    text-align: center !important;
}
.pmpro_login_wrap input {
    width: 100%;
    max-width: 100% !important;
}
input#rememberme {
    width: unset;
}
form.pmpro_form label, #loginform label {
    font-weight: 400;
    margin-bottom: 4px;
}
.inside-article a, .dynamic-entry-content a {
    text-decoration: underline;
}
.home .inside-article a {
    text-decoration: none;
}
.site-footer ul.wp-block-navigation__container.is-vertical {
    row-gap: 1px;
}
.pmproaccess .pmprohide, .pmpro_form_field-username, .pmpro_login_wrap h2, .pmpro_login_wrap hr, .pmpro_content_message .pmpro_card_content .pmpro_btn, fieldset#pmpro_form_fieldset-marketing, div#bconfirmemail_copy_div {
	display: none !important;
}
.monthlyimg img {
    max-height: 250px;
    object-fit: contain;
    width: 100%;
}
.grecaptcha-badge { visibility: hidden; }

/* Post content design */ 
blockquote {
    font-size: inherit !important;
    padding: 0 0 0 20px;
}
article h2 {
    font-size: 1.30em;
	font-weight: 800;
}
article h3 {
    font-size: inherit;
    font-weight: 700;
}
figcaption a {
    color: inherit !important;
}
article figure.wp-block-image {
    margin-bottom: 30px;
}


/* checkout page */
.pmpro-checkout.logged-in fieldset#pmpro_user_fields {
    display: block !important;
}
.pmpro-checkout fieldset#pmpro_user_fields {
    display: none;
}
#pmpro_form h2 {
    font-size: 20px;
}
#pmpro_form h3 {
    font-size: 18px;
}
#pmpro_payment_method .pmpro_form_field-radio-items {
	display: grid;
	grid-template-columns: 3fr 2fr;
	grid-gap: var(--pmpro--base--spacing--large)
}
.pmpro-checkout .gateway_authorizenet .pmpro_form_label,
.pmpro-checkout .gateway_braintree .pmpro_form_label,
.pmpro-checkout .gateway_paypal .pmpro_form_label,
.pmpro-checkout .gateway_stripe  .pmpro_form_label {
	background-image: url(images/pay-with-credit-cards.png);
	background-position: left bottom;
	background-size: 250px auto;
	background-repeat: no-repeat;
	padding-bottom: 45px;
}
.pmpro-checkout .gateway_paypalexpress .pmpro_form_label {
	background-image: url(images/pay-with-paypal.png);
	background-position: left bottom;
	background-size: contain;
	background-repeat: no-repeat;
	padding-bottom: 40px;
}
.error404 div#primary {
    height: 30vh;
    margin: 50px;
}
@media only screen and (max-width: 767px) {
	#pmpro_payment_method .pmpro_form_field-radio-items {
		display: flex;
		flex-direction: column;
		gap: var(--pmpro--base--spacing--large);
	}
	body {
		font-size: 16px;
	}
}
@media only screen and (min-width: 768px) {
	#pmpro_form #pmpro_pricing_fields, #pmpro_form .pmpro_form_fieldset {
		width: 50%;
	}
	#pmpro_form div#pmpro_pricing_fields {
		float: right;
		width: 48%;
	}
}
.post-type-archive .trialcta, .archive .trialcta, .trialcta .trial-notice, span.wp-block-navigation-item__description, #pmpro_level-17 div#pmpro_level_cost, #pmpro_level-17 #pmpro_pricing_fields .pmpro_card_actions {
    display: none !important;
}
li.wp-block-navigation-item {
    list-style: none;
}
a.wp-block-navigation-item__content {
    color: var(--contrast);
}
ul.wp-block-navigation__container.items-justified-left {
    display: inline-flex;
    padding: 13px 0;
}
li.wp-social-link {
    list-style: none;
    background: transparent !important;
    margin-bottom: -10px;
}
.cpt-description p {
    font-size: 15px;
    margin-bottom: 10px;
}

/* Fullscreen iFrames by rbfraphael@gmail.com */
.fs-iframe-wrapper {
    position: relative;
}

.fs-iframe-wrapper button.close {
    display: none;
    background: transparent;
    color: gray;
    padding: 0;
    border: none;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
    font-size: 3rem;
    font-weight: 300;
    z-index: 1;
}

.fs-iframe-wrapper iframe {
    position: relative;
    width: 100%;
    min-height: 1100px;
}

.fs-iframe-wrapper.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 999;
}

.fs-iframe-wrapper.fullscreen button.close {
    display: block;
}

.fs-iframe-wrapper.fullscreen iframe {
    height: 100%;
}

.fs-iframe-wrapper.fullscreen button.fullscreen {
    display: none;
}
/* -- Fullscreen Iframes --  */
