/*
 Theme Name:   USYaks 
 Theme URI:	http://example.com/usyaks-child
 Description:  USYaks theme
 Author:   	Inikus LLC
 Author URI:   https://www.usyaks.org
 Template: 	twentytwentyone
 Version:  	1.0.1
 License:  	GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:     	usyaks
 Text Domain:  usyakschild
*/

:root {
	--global--color-background: #fff;
	--global--color-red: #BF1C2D;
	--global--color-orange: #F1562A;
	--global--font-size-page-title: 4rem;
	--entry-header--font-size: 2rem;
	--form--spacing-unit: 4px;
	--form--border-width: 1px;
	--form--border-color: #ced4da;
	--form--border-radius: .25rem;
	--button--border-radius: .25rem;
	--button--border-width: 1px;
	--button--padding-vertical: 6px;
	--button--padding-horizontal: calc(6px * 2);
	--button--font-weight: 400;
	--button--font-size: 1em;
	--primary-nav--font-size: 1rem;
	--primary-nav--padding: 8px;
	--primary-nav--font-size-sub-menu: .9rem;
}

.post-thumbnail, .entry-content .wp-audio-shortcode, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce), *[class*=inner-container] > *:not(.entry-content):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce), .default-max-width {
	max-width: min(calc(200vw - 8 * var(--global--spacing-horizontal)), 1200px);
}

input[type=checkbox]:checked:after {
	opacity: 0;
}

.site-header {
	padding-bottom: 0px;
    padding-top: 1px; /*calc(2.4 * var(--global--spacing-vertical));*/
}

.wp-block-nextend-smartslider3 {
	position: relative;
}

.banner-text {
	position: absolute;
	top: 50px;
	left: 50px;
	color: #fff;
	font-size: 2.7em;
	font-weight: 600;
	text-shadow: -1px -1px #333;
}

.entry-content {
	margin: 0 10px;
}

.primary-navigation .primary-menu-container > ul > .menu-item > a + .sub-menu-toggle {
	display: none;
}

.primary-navigation .sub-menu .sub-menu {
	display: none;
}
.primary-navigation .sub-menu > li:hover > .sub-menu {
	display: block;
	z-index: 10;
	position: absolute;
    left: 90%;
    top: 1px;
    width: 100%;
    border: gray 1px solid;
}

@media only screen and (min-width: 482px) {
	.primary-navigation .primary-menu-container > ul > .menu-item > a {
		padding-left: calc(1.25 * var(--primary-nav--padding));
		padding-right: calc(1.25 * var(--primary-nav--padding));
	}
	.primary-navigation .sub-menu .menu-item > a {
		padding: 8px;
		font-size: .98rem;
	}
	.primary-navigation {
		margin-top: -30px;
	}
	.header-search {
		position: absolute;
		top: 10px;
		right: 10px;
	}
	.header-search label {
		display: none;
	}
}

@media only screen and (min-width: 1190px) {
	.primary-navigation {
		margin-top: 0px;
	}
}

@media only screen and (min-width: 1280px) {
	.primary-navigation {
		margin-top: 35px;
	}
}

.orange {
	color: var(--global--color-orange);
}

.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
	color: #999;
}

#post-31 .wp-block-columns p {
	background-color: #000;
	padding: 5px;
	font-size: 1em;
}

@media (min-width: 782px) {
	#post-31 .wp-block-column:not(:first-child) {
		margin-left: .2em;
	}
	#post-31 .wp-block-columns {
		height: 205px;
		margin-bottom: 0px;
		margin-top: 0px;
	}
}
@media only screen and (max-width: 782px) {
	.site-header {
		padding-top: var(--global--spacing-vertical);
	}
	.banner-text {
		font-size: 1.3em;
	}
	.primary-navigation .sub-menu > li:hover > .sub-menu {
		display: block;
		z-index: 10;
		position: absolute;
		left: 0;
		top: 100%;
		background-color: #ccc;
	}
}

.alert {
	padding: 10px;
}
.alert .close {
	padding: 0 5px 2px;
	background-color: #666 !important;
}

#footer-connect a {
	text-decoration: none;
	margin-left: 15px;
}

.v-pager {
	text-align: center;
}

.v-image img {
	max-height: 350px;
	object-fit: contain;
}
.v-image .delete a {
	color: #dc3545 !important;
}
.v-image .disabled a {
	color: #6c757d !important;
}

.order-yaks .yak-details {
	border-bottom: #666 solid 1px;
	margin-bottom: 2px;
	padding: 5px;
}

.site .button:not(:hover):not(:active):not(.has-background), 
button:not(:hover):not(:active):not(.has-background), 
input[type=submit]:not(:hover):not(:active):not(.has-background), 
input[type=reset]:not(:hover):not(:active):not(.has-background), 
.wp-block-search .wp-block-search__button:not(:hover):not(:active):not(.has-background), 
.wp-block-button .wp-block-button__link:not(:hover):not(:active):not(.has-background), 
.wp-block-file a.wp-block-file__button:not(:hover):not(:active):not(.has-background) {
    background-color: #0d6efd;
}
.site .button, button, input[type=submit], input[type=reset], .wp-block-search .wp-block-search__button, .wp-block-button .wp-block-button__link, .wp-block-file a.wp-block-file__button {
    /* border: var(--button--border-width) solid transparent; */
    border-radius: var(--button--border-radius);
    cursor: pointer;
    font-weight: var(--button--font-weight);
    font-family: var(--button--font-family);
    font-size: var(--button--font-size);
    line-height: var(--button--line-height);
    padding: var(--button--padding-vertical) var(--button--padding-horizontal);
    text-decoration: none;
}

/* Shopping Cart */
.cart-icon {
	margin-bottom: 15px;
}
.cart-icon span.dashicons-cart {
	font-size: 1.5em;
}

/* Pre-Menu Header / Login/Logout */

#usy-loginout {
	margin: 19px 0 0 0;
}

@media only screen and (min-width: 482px) {
	#masthead {
		position: relative;
	}
	#usy-loginout {
		margin: 0;
		position: absolute;
		top: 9px;
		right: 1%;
	}
}

/* Newsletter Widget */
.newsletter-widget-area {
	text-align: center;
    background-color: rgb(19, 119, 181);
    padding: 20px;
    color: #fff;
}

.newsletter-widget-area #mailjetSubscriptionForm {
	display: flex;
    flex-direction: row;
    justify-content: center;
	margin-top: 5px;
}

.newsletter-widget-area .mailjet-widget-form-group {
	margin: 0;
	width: 50%;
}

.newsletter-widget-area .mailjet-widget-form-group #mailjet_widget_email {
	height:100%;
	width: 100%;
	margin: 0;
	border-width: 1px;
}


.newsletter-widget-area input[type=submit]:not(:hover):not(:active):not(.has-background) {
    background-color: var(--global--color-red);
}

.newsletter-widget .textwidget a {
	color: #fff;
	font-size: 3em;
}

.widget-area {
    margin-top: calc(1 * var(--global--spacing-vertical));
}

/* Yak Marketplace */
#yak-content {
	width: 100%;
}

.yak-for-sale {
	flex: 0 1 auto;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 20px;
	padding: 10px;
	border: solid 1px #ccc;
}

.yak-for-sale .yak-image {
	flex: 0 1 20%;
    margin: 0 20px 20px 0;
}

.yak-for-sale .yak-details {
	flex: 0 1 70%;
    margin: 0 20px 20px 0;    
	display: flex;
    flex-wrap: wrap;
}

.yak-for-sale .yak-number,
.yak-for-sale .yak-price,
.yak-for-sale .yak-birthdate,
.yak-for-sale .yak-delivery {
	flex: 0 1 35%;
}

.yak-for-sale .yak-sire,
.yak-for-sale .yak-dam,
.yak-for-sale .yak-owner,
.yak-for-sale .yak-ranch,
.yak-for-sale .yak-phone,
.yak-for-sale .yak-email {
	flex: 0 1 100%;
}

.yak-for-sale .yak-del-dist {
	margin-left: 35%;
    flex: 0 1 100%;
    font-size: .8em;
}

.yak-for-sale .yak-desc {
	font-size: .8em;
	margin: 15px 0;
}

.yak-for-sale h4 {
	flex: 0 1 100%;
	color: var(--global--color-red);
}

.form-group {
	margin-top: 15px;
}
.form-group label {
	margin: 0;
}

@media (min-width: 782px) {
	#form-marketplace .form-group input:not([type='checkbox']) {
		width: 35%;	
	}
}

/* Loading Overlay */
.loading-overlay {
    background: rgba( 26, 26, 26, 0.7 );
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 50;
    top: 0;
	left: 0;
}

.loading-overlay-image-container {
    position: fixed;
    z-index: 57;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50% );
	text-align: center;
	color: white;
}

.loading-overlay-img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

/* Pending Yaks */
.pending-yaks .yak-details {
	max-width: 800px;
    margin: 5px auto;
    border-bottom: solid 1px #666;
    padding: 5px;
}

.pending-yaks .yak-details input[type="button"] {
	min-width: 100px;
	padding: 3px;
	margin: 2px;
}

.pending-yak-buttons {
	max-width:800px;
	margin:30px auto;
	text-align:center;
}

.pending-yak-buttons input[type="button"] {
	width: 120px;
}

/* Edit Yak */
#v-container input[type="button"],
#v-container input[type="submit"] {
	width: 110px;
	margin: 5px;
}

#search-results {
	margin-top: 20px;
}

#search-results input[type="button"],
#yak-options input[type="button"]  {
	background-color:#bf1c2d;
	padding: 2px;
	width: 120px;
}

#search-results span.dashicons {
	font-size: 2em;
    color: #333;
    text-decoration: none;
}

/* Ultimate Member styles */
#post-1429 .entry-content {
	text-align: center;
}

#ranch-display {
	margin-top: 20px;
}

div.um-new-dropdown ul li a {
	line-height: 1.2;
}

.um-account-tab-yaks input[type="submit"] {
	display: none;
}

.um-member-card-header .um-member-metaline {
	font-size: .9em;
}
.um-member-metaline p {
	margin-bottom: 0;
}

/* Match-a-Yak */
.result-header label {
	font-size: 1em;
}