/*
Theme Name: CampusPrinting
Theme URI: 
Author: Jaime Butler
Author URI: 
Description: Theme für CampusPrinting
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 7.3
Version: 1.63
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: campusprinting
Tags: blog, portfolio, entertainment, grid-layout, one-column, two-columns, three-columns, four-columns, block-patterns, block-styles, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, full-width-template, rtl-language-support, style-variations, template-editing, theme-options, translation-ready, wide-blocks

CampusPrinting WordPress Theme, (C) 2024 Mike McAlister.
CampusPrinting is distributed under the terms of the GNU GPL.
*/

/* CSS Reset
---------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	scroll-behavior: smooth;
}

b,
strong {
	font-weight: var(--wp--custom--font-weight--semi-bold);
}

ol,
ul {
	padding: 0;
}

ol:where(:not([class*="wp-block"])),
ol:where(.wp-block-list),
ul:where(:not([class*="wp-block"])),
ul:where(.wp-block-list) {
	padding-inline-start: var(--wp--preset--spacing--medium);
}

div[class*="wp-block-"] figcaption {
	color: var(--wp--preset--color--secondary);
	font-size: var(--wp--preset--font-size--x-small);
	margin-bottom: 0;
	margin-top: 20px;
	text-align: center;
}

img,
figure {
	max-width: 100%;
	height: auto;
}

/* Standardize form styling
--------------------------------------------- */
/* navigation */

@media (min-width: 600px) {
	.cmp-mobile-nav,
	.pre-menu #mega-menu-wrap-max_mega_menu_1 {
		display: none !important;
	}
}
.cmp-mobile-nav {
display: none !important; }
@media (max-width: 600px) {
	.cmp-desktop-nav,
	.desktop-max-menu{
		display: none !important;
	}
}
input,
button,
textarea,
select {
	font: inherit;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
}

input:not([type="submit"]),
select,
textarea,
.wp-block-post-comments-form input:not([type="submit"]):not([type="checkbox"]),
.wp-block-post-comments-form textarea {
	color: var(--wp--preset--color--main);
	border-radius: 5px;
	border: solid 1px var(--wp--preset--color--main-accent);
	padding: .5em 1em;
	font-size: var(--wp--preset--font-size--small);
}

input:focus-visible,
textarea:focus-visible {
	outline-color: var(--wp--preset--color--primary);
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

label {
	width: 100%;
	display: block;
}

::placeholder {
	color: var(--wp--preset--color--secondary);
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.75;
}

/* Helper styles that can't be done via theme.json
---------------------------------------------------------------------------- */

a.more-link {
	display: block;
}

/* Inline code */
*:not(.wp-block-code) > code {
	background-color: var(--wp--preset--color--tertiary);
	font-weight: var(--wp--custom--font-weight--medium);;
	padding: 3px 5px;
	position: relative;
	border-radius: 3px;
}

/* Adjust terms at bottom of posts */
.single .wp-block-group .wp-block-post-terms,
.blog .wp-block-group .wp-block-post-terms {
	margin-bottom: -8px !important;
}

/* Remove margin on term description on archive pages */
.wp-block-term-description p:last-child {
	margin-bottom: 0;
}

/* Remove last separator on post list */
.remove-border-and-padding .wp-block-post-template li:last-child .wp-block-separator {
	display: none;
}

/* Hide post meta div if no tags assigned */
.single .wp-block-group:has(> .post-meta:empty) {
	display: none;
}

.wp-block-group:empty:has(+ .comment-respond) {
	display: none;
}

.row-logos > figure {
	flex-shrink: 1 !important;
}

@media (max-width: 781px) {
	.campusprinting-hide-on-mobile {
		display: none;
	}
}

/* Custom shop styling
--------------------------------------------- */
/*Store notice*/
.woocommerce-store-notice, p.demo_store {
	background-color: #d04893;
	font-size: var(--wp--preset--font-size--small);
}
/* style login page*/

.cmp-main-login {
	max-width: 580px;
}

.cmp-login {
	max-width: 500px;
}



.cmp-login > a {
  border-radius: 5px;
  border-width: 0;
  background-color: var(--wp--preset--color--main);
  color: var(--wp--preset--color--base);
  font-family: inherit;
  font-size: var(--wp--preset--font-size--small);
  font-weight: var(--wp--custom--font-weight--medium);
  line-height: inherit;
  padding-top: .6em;
  padding-right: 1em;
  padding-bottom: .6em;
  padding-left: 1em;
  text-decoration: none;
  display: block;
  max-width: 300px;
  text-align: center
}

/*toggle transition on login page*/
.cmp-login-non-switch {
    opacity: 0; /* Start fully hidden */
    max-height: 0; /* Start with zero height */
    overflow: hidden; /* Prevent content from spilling out during transition */
    transition: opacity 0.3s ease, max-height 0.3s ease; /* Smooth transition */
}

.cmp-login-non-switch.visible {
    opacity: 1; /* Fully visible */
    max-height: 1400px; /* Adjust this value to fit your content */
}
.cmp-login-non-switch .col2-set .col-1, .cmp-login-non-switch .col2-set .col-2 {
	width: 100%;
}
/* hide account details for PW reset and email change */
.woocommerce-MyAccount-content label[for="account_email"],
.woocommerce-MyAccount-content input.woocommerce-Input--email,
.woocommerce-MyAccount-content label[for="password_current"],
.woocommerce-MyAccount-content label[for="password_1"],
.woocommerce-MyAccount-content label[for="password_2"],
.woocommerce-MyAccount-content span.password-input,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset {display: none !important;}

/* edu-id styles*/
/* 
#wayf_logo_div
#wayf_logo
#wayf_intro_div

#IdPList
#user_idp
#wayf_remember_checkbox_div
#wayf_remember_checkbox

#wayf_submit_button */
#wayf_div {max-width: 400px;border-radius: 5px;}
#wayf_div #wayf_intro_label {font-size: var(--wp--preset--font-size--small) !important;}

#wayf_div #IdPList img {height: 30px !important; width: 30px !important;}
#wayf_div #IdPList .idd_listItemLogo {height: 20px !important; width: 20px !important;}
#wayf_div #wayf_remember_checkbox_label {padding-top: 0.4rem;}
#wayf_div #wayf_submit_button {
	background-color: #000;
	color: #fff;
	border-radius: 5px;
	padding-top: .4em;
	padding-right: 0.8em;
	padding-bottom: .4em;
	padding-left: 0.8em;
	border: none;
	cursor: pointer;
	font-size: var(--wp--preset--font-size--small);
}

#wayf_div #wayf_submit_button:hover {
	text-decoration: underline;
}

/*must login promt before checkout */
.wc-block-must-login-prompt {
	text-align: center;
	margin: 0 auto;
}

.wc-block-must-login-prompt a {
	display: block;
	margin: 0 auto;
	max-width: 300px;
	border-radius: 5px;
	border-width: 0;
	background-color: var(--wp--preset--color--main);
	color: var(--wp--preset--color--base);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--medium);
	line-height: inherit;
	margin-top: 30px;
	padding-top: .6em;
	padding-right: 1em;
	padding-bottom: .6em;
	padding-left: 1em;
	text-decoration: none;
}

.cmp-login > a:hover,
.wc-block-must-login-prompt a:hover { 
	cursor: pointer;
	text-decoration: underline;
}



/*fix quantity selector width*/
.wc-block-add-to-cart-form .quantity .qty {
	width: 6.5rem;
}
/*hide roduct price on cart*/
.wc-block-cart-item__prices .wc-block-components-formatted-money-amount {
	display: none !important;
} 


/* categorie description */
.custom-term-description {
	max-width: var(--wp--style--global--wide-size);
    /* font-size: 1.2rem;
    line-height: 1.6; */
    /* color: #333;
    background-color: #f9f9f9; */
    border-radius: 8px;
    margin-bottom: 5rem;
}

/* Product Documents */
.woocommerce-Tabs-panel--description p a {
	
}

/* my account styling*/
.cmp-my-account .woocommerce {
	max-width: 100% !important;
}

.cmp-my-account .woocommerce h2{
	font-size: var(--wp--preset--font-size--medium);

}

@media (min-width: 600px) {
	.cmp-my-account .woocommerce-MyAccount-navigation {
		width: 25%;
	}
}

.cmp-my-account .woocommerce-MyAccount-navigation ul {
	border: 0.3px solid var(--wp--preset--color--tertiary);
}

.cmp-my-account .woocommerce-MyAccount-navigation ul li {
	border: 0.3px solid var(--wp--preset--color--tertiary);
	padding: 0px !important;
	background-color: var(--wp--preset--color--base);
}

.cmp-my-account .woocommerce-MyAccount-navigation ul li:hover {
	border: 0.3px solid var(--wp--preset--color--main-accent);
	background-color: var(--wp--preset--color--tertiary);
}

.cmp-my-account .woocommerce-MyAccount-navigation ul li.is-active {
	background-color: var(--wp--preset--color--tertiary);
}

.cmp-my-account .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 10px !important;
}

/* disable quantity selector on cart*/
/* Make the quantity input read-only */
.wc-block-components-quantity-selector__input {
    pointer-events: none; /* Disable interaction */
    background-color: #f9f9f9; /* Optional: Gray out the field */
    cursor: not-allowed;
}

/* Disable the minus and plus buttons */
.wc-block-components-quantity-selector__button--minus,
.wc-block-components-quantity-selector__button--plus {
    pointer-events: none; /* Disable interaction */
    opacity: 0.5; /* Optional: Make the buttons look disabled */
    cursor: not-allowed;
	display: none;
}

/* styling the regular option fileds on product*/
.variations {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd !important;
    background: #f8f8f8;
    border-radius: 4px;
}

.variations tr {
    margin-bottom: 1rem !important;
}

.variations th,
.variations td {
    display: block;
}

.variations td {
	line-height: 0 !important;
}

.variations td.label {
    padding: 5px 0;
}

.variations select,
.print-calculator-field select {
    width: 100%;
	height: auto !important;
    max-width: 100% !important;
    padding: 0.5em 1em !important;
    border: 1px solid #ddd;
	background-color: #fff !important;
    border-radius: 4px;
	line-height: normal !important;
}

.reset_variations {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
}

/* PitchPrint button styles and hidding social shares */
.ppc-main-btn-sec {
	margin-bottom: 4rem;
}

.ppc-main-btn-sec input {
	background-color: #d04893;
	color: #fff;
	cursor: pointer;
}

.pp_social {display: none;}

.collection-div.is-scroll [data-balloon="ziehen Sie das geünschte Bild auf die Platzhalter im Design"] {
	display: block;
	word-wrap: break-word;
}

/* Box shadow on product image and gallery*/
.wp-block-woocommerce-product-image-gallery img,
.woocommerce-product-gallery__image  {
	/* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px !important;
}

/* Forms */
.cmp-newsletter-form {
	text-align: center;
	margin: 0 auto;
	max-width: 300px;
}

/* Thankyou page */
.wp-block-woocommerce-order-confirmation-totals-wrapper table th,
.wp-block-woocommerce-order-confirmation-totals-wrapper table td {
	border: 1px solid #ddd;
} 

.wp-block-woocommerce-order-confirmation-totals-wrapper table th.wc-block-order-confirmation-totals__product,
.wp-block-woocommerce-order-confirmation-totals-wrapper table th.wc-block-order-confirmation-totals__total {
	background-color: #000;
	color: #fff;
	border: 1px solid #ddd;
}

/* filter menu home*/
.cmp-filter-menu-home .wpc-posts-found {
	display: none;
}

.cmp-filter-menu-home .wpc-term-item-content-wrapper label{
	border: 1px solid rgba(0,0,0,0) !important;
}

.cmp-filter-menu-home .wpc-term-item-content-wrapper label a{
	font-weight: 500 !important;
}

.wc-block-components-shipping-rates-control__package__description--free,
.wc-block-checkout__shipping-option--free {display: none;}

.d-none {
	display: none;
}


.notranslate.glink.nturl img {
    border-radius: 20px;
    filter: saturate(0.5) brightness(1.2);
}

.notranslate.glink.nturl img:hover {
    filter: saturate(1);
}

@media (min-width: 600px) and (max-width: 768px) {
	#mega-toggle-block-0 {
		display: none;
	}
}
@media only screen and (max-width: 600px) {
#mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle {
	height: unset;
}
}
@media (min-width: 600px){
	.mega-kontakt-button-mobile {
		display: none !important;
	}
}
@media (max-width: 600px){
	.pre-menu .wp-container-core-buttons-is-layout-b2891da8 {
		display: none !important;
	}
	.mega-toggle-block {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.wp-container-core-group-is-layout-fe637650 {
		gap: 10px !important;
	}
	.wp-block-search__inside-wrapper {
		max-width: 220px !important;
	}
	header .wp-container-core-group-is-layout-cb46ffcb {
		align-items: start !important;
	}
	#mega-menu-max_mega_menu_1 {
		padding-top: 3rem;
	}
}

.mega-kontakt-button-mobile {
	margin-top: 2rem !important;
	background-color: var(--wp--preset--color--main) !important;
    border-radius: 5px !important;
    color: var(--wp--preset--color--base) !important;
    font-family: inherit !important;
    font-size: var(--wp--preset--font-size--small) !important;
    font-weight: var(--wp--custom--font-weight--medium) !important;
    padding-top: .6em !important;
    padding-right: 1em !important;
    padding-bottom: .6em !important;
    padding-left: 1em !important;
	width: 45% !important;
    margin-left: 10px !important;
}
.mega-kontakt-button-mobile  a {
	color: #fff !important;
}
.page-id-2471 #customer_login .u-column1.col-1,
.page-id-136 #customer_login .u-column2.col-2 {
	display: none;
}
.page-id-2471 #customer_login .u-column2.col-2 {
	width: 100% !important;
	float: unset; 
}
#customer_login .u-column1.col-1 h2, #customer_login .u-column2.col-2 h2 {
	text-align: center;
}


