/*
Theme Name:   Cancom Basic Theme (GREYD.SUITE Child)
Description:  Custom Version of the GREYD.SUITE main theme.
Author:       Cancom x GREYD
Author URI:   https://www.cancom.com
Template:     greyd_suite
Version:      2.1
Tags:         
*/

/**
 * CSS für WPML kreis um Sprachauswahl
 */

.menu-item-object-wpml_ls_menu_item,
.wpml-ls-item-legacy-list-horizontal {
	margin-left: 5px !important;
	border: 1px solid #cdcdcd;
	border-radius: 20px;
	padding: 6px 7px;
	outline: none;
	font-size: 11px;
	max-width: 38px !important;
	max-height: 36px !important;
}

.wpml-ls-item-legacy-list-horizontal {
	padding: 6px 0px !important;
}

li.menu-item-type-post_type:nth-child(3) {
	margin-right: 30px !important;
}

.wpml-ls-item a[title^="DE"],
.wpml-ls-item a[title^="AT"],
.wpml-ls-item a[title^="EN"] {
	margin-bottom: 0px !important;
}

.wpml-ls-item {
	margin: 6px;
}

/**
  * Rankmath Breadcrumps
  */

nav.rank-math-breadcrumb {
	color: #7c8795;
}

nav.rank-math-breadcrumb a {
	color: #7c8795;
}

nav.rank-math-breadcrumb a:hover {
	color: #da002d;
}


/**
  * Footer neu mit Buttons und Conditional Content
  */

div.ccfooternav .search_result {
	padding-top: 0px;
	padding-bottom: 0px;
}

div.ccfooternav a.link {
	margin-bottom: 0px;
}

/**
  * Footer Social Icons Format
  */

div.cc-social img {
	min-width: 3vw !important;
	min-height: 3vh !important;
}

/**
  * Quicklinks
  */

.wp-block-greyd-buttons .quicklink {
	text-align: left;
	color: var(--color31) !important;
	border-color: var(--color31) !important;
	font-weight: 400;
}

.wp-block-greyd-buttons .quicklink .arrow_right,
.wp-block-greyd-buttons .quicklink .arrow_down,
.wp-block-greyd-buttons .quicklink .arrow_right-up {
	float: right;
	margin-top: 3px;
}

@media only screen and (max-width: 768px) and (orientation: portrait) {

	.wp-block-greyd-buttons .quicklink .arrow_right,
	.wp-block-greyd-buttons .quicklink .arrow_down,
	.wp-block-greyd-buttons .quicklink .arrow_right-up {
		display: none;
	}
}

a.quicklink {
	margin-left: 5%;
	margin-bottom: 0px !important;
}

a.quicklink:hover {
	background: var(--color31) !important;
	color: var(--color62) !important;
	border-color: var(--color31) !important;
}

/**
  * BURGER MENU MOBILE RED BOX
  */

@media only screen and (max-width: 768px) {

	/* header burger title */
	span#dropmenu_all::after {
		position: absolute;
		top: 36px;
		content: 'MENU';
		color: #fff;
		font-size: 0.6em;
		right: 11px;
	}

	/* header burger wrapper */
	.header-wrapper .burger_wrapper.mobile {
		position: fixed;
		left: auto;
		min-width: 3.5em;
		margin-left: 0px;
		right: 0px;
		min-height: 60px;
	}

	/* header burger button */
	.header-wrapper .hamburger-box {
		top: -6px;
		left: 4px;
	}

	/* offmenu close button */
	.navigation.v2 .offmenu#mainmenuoff .hamburger .hamburger-box {
		scale: 1.5;
		top: 20px;
		right: 20px;
	}

	.holder.horizontal.holder_right .menu_wrapper.on {
		margin-right: 4em !important;
	}

	/* #mainmenu.scrolled .burger_wrapper.mobile {
		 margin-top: 20px !important;
	 } */
}

/**
  * Borlabs
  */

._brlbs th {
	border-bottom: 1px solid var(--color61);
	width: 30%;
	font-weight: var(--TBLfontWeight);
	font-size: var(--TBLfontSize);
}

table._brlbs {
	margin-bottom: 50px;
}


/* Basic */
#BorlabsCookieBox * {
	font-family: "Gotham", "Arial", sans-serif !important;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
}

#BorlabsCookieBox ._brlbs-bar {
	background-color: #000 !important;
	color: #fff !important;
	font-family: "Gotham", "Arial", sans-serif !important;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
}

/* Layout */
#BorlabsCookieBox ._brlbs-bar .container {
	max-width: 100vw !important;
	padding-left: calc(1712px * 0.045) !important;
	padding-right: calc(1712px * 0.045) !important;
}

@media (max-width: 1024px) {
	#BorlabsCookieBox ._brlbs-bar .container {
		padding-left: calc(100% * 0.05) !important;
		padding-right: calc(100% * 0.05) !important;
	}
}

/* Logo */
#BorlabsCookieBox ._brlbs-bar .cookie-logo {
	max-width: 100px !important;
}

/* Button */
#BorlabsCookieBox ._brlbs-btn {
	background-color: #da002d !important;
	color: #fff !important;
	text-align: center !important;
	border-radius: 2em !important;
}

#BorlabsCookieBox ._brlbs-btn:hover,
#BorlabsCookieBox ._brlbs-btn:active,
#BorlabsCookieBox ._brlbs-btn:focus {
	background-color: #bf0026 !important;
	color: #fff !important;
	outline: none;
}

/* Link */
#BorlabsCookieBox ._brlbs-manage a {
	color: #ff0035;
}

#BorlabsCookieBox ._brlbs-manage a:hover {
	color: #ff0035;
}

#BorlabsCookieBox ._brlbs-refuse a,
#BorlabsCookieBox a {
	color: #ff0035 !important;
}

#BorlabsCookieBox a:hover,
#BorlabsCookieBox ._brlbs-refuse a:hover {
	color: #ff0035 !important;
}

/* Hide Testmessage */
#BorlabsCookieBox p > .text-center {
	opacity: 0 !important;
	visibility: hidden !important;
	height: 0 !important;
	width: 0 !important;
}

/* Boxen */
#BorlabsCookieBox .cookie-preference table,
#BorlabsCookieBox .bcac-item {
	background-color: #131313 !important;
	border-radius: 4px !important;
	color: #fff !important;
	padding: 1em !important;
}

#BorlabsCookieBox .cookie-preference table tr td,
#BorlabsCookieBox .cookie-preference table tr th {
	background: transparent !important;
	border-color: #383838 !important;
	color: #fff !important;
}

/* Switch */
.BorlabsCookie ._brlbs-btn-switch input:checked + ._brlbs-slider {
	background-color: #da002d
}

/* Desktop only */
@media(min-width:768px) {

	/* space after logo */
	.BorlabsCookie .col-10 p {
		padding-left: 1em !important;
		padding-right: 1em !important;
	}

	/* button right aligned */
	#BorlabsCookieBox ._brlbs-bar ._brlbs-accept {
		text-align: right !important;
	}
}

/* Mobile */
@media(max-width:767px) {

	/* layout */
	#BorlabsCookieBox ._brlbs-bar .container {
		padding: 0 10px !important;
		max-width: 90vw !important;
	}

	/* button section full width */
	.BorlabsCookie .col-12 {
		-webkit-box-flex: 0 !important;
		-ms-flex: 0 0 100% !important;
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}

	/* logo wider */
	.BorlabsCookie .col-2 {
		-webkit-box-flex: 0 !important;
		-ms-flex: 0 0 33.3333333333% !important;
		flex: 0 0 33.3333333333% !important;
		max-width: 33.3333333333% !important;
	}

	/* text full width */
	.BorlabsCookie .col-10 {
		-webkit-box-flex: 0 !important;
		-ms-flex: 0 0 100% !important;
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}

	/* logo */
	#BorlabsCookieBox ._brlbs-bar .cookie-logo {
		padding-bottom: 1em !important;
	}
}

@media(max-width: 575px) {

	/* button full width */
	#BorlabsCookieBox ._brlbs-btn {
		width: 100% !important;
	}
}

#BorlabsCookieBox ._brlbs-box,
#BorlabsCookieBox ._brlbs-bar {
	padding-top: 50px;
	padding-bottom: 50px;
}

/* Barrierefreiheit: Unterstirch bei Buttins entferenen */

/* https://secure.helpscout.net/conversation/2875308732/3667?viewId=7806586 */
/* Task ID Atarim 1995577 */

.is-style-clear.button:hover {
  text-decoration: none !important; 
}