/*
Theme Name: Mindfulness 2024
Author: Consulterce.com
Author URI: https://consulterce.com/
Theme URI: https://consulterce.com/
Tags: consulterce
Text Domain: Mindfulness 2024
Tags: full-site-editing
*/

body { -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */ } 
textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;background:white /*Remove default iOS styling of forms*/}

/* --- Newsletter Opt In ---  */ 

.bg, form.email { /* Wrapper Homepage */
    text-align: center; 
}

 .bg input.signup { /* Homepage Input Field BG */
	    background: #f8f8f8;
	}

.formstyle { /* Style for input form and button */
	font-size: .85em;
	color: var(--wp--preset--color--foreground);
	padding: 1.2em 1em;
	box-sizing: border-box;
			width: 95%;
}

input.signup { /* Style for input form */
	background: white;
	border: 1px solid #d3d3d3;
    margin: 1.3rem 0;
		    font-family: var(--wp--preset--font-family--merriweather);
	border-radius: 3px;
	-webkit-appearance: none;
}


/* Style for Signup Button */
button.signup_button.formstyle {
    background-color: var(--wp--preset--color--secondary);
    font-weight: 600;
	    font-family: var(--wp--preset--font-family--merriweather);
	height: fit-content;
    cursor: pointer;
    border: 0;
    border-radius: 3px;
    transition: all 0.23s ease-in-out 0s;
}

/* Amazon Affiliate Links */
a[href*="https://amzn.to"]:after {
    content: "↗";
}

/* Table Head Styling in Absence of json functionality */

.wp-block-table thead {
    border: 1px solid !important;
    background: var(--wp--preset--color--light-grey)
}
.wp-block-table tfoot { border-top: 2px solid !important; }


code { /* For calculator results in <code> attributes */
    background: var(--wp--preset--color--dark-grey);
	font-size: .9em;
    font-family: monospace,monospace;
    border-radius: 3px;
    padding: 5px;
}

/* --- CATEGORY BLOG DROPDOWN --- */

select[name="cat"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--wp--preset--color--dark-grey);
    font-family: var(--wp--preset--font-family--merriweather);
	font-size: 16px;
    color: var(--wp--preset--color--dark-grey-second);
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
	background-color: white; 
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"><polygon points="1,3 6,9 11,3" fill="%23757575"/></svg>');
    background-repeat: no-repeat;
    background-position: 97% center;
}