/*
Author:		Rico Floß, floss@51nullacht.de
Author URI: https://www.51nullacht.de/
Project:	logsol.de
Date:		2022-08
Client:		VOR Dresden
*/

/* BS: Small devices (landscape phones and up) */
@media (min-width: 576px) {

}

/* BS: Medium devices (tablets and up) */
@media (min-width: 768px) {

	h1, .h1 { font-size: 2.666rem; }
	h2, .h2 { font-size: 2rem; }
	h3, .h3 { font-size: 1.333rem; }

	.icon-medium { font-size: 2rem; }

	/* blockquote */
	blockquote::before { position: absolute; right: 100%; top: -.333rem; margin-right: .5rem; }
	main.item-content .source { padding-left: 5rem; padding-right: 5rem; margin-bottom: 3rem; }
	main.item-content > blockquote { padding: 3rem 5rem 2rem 5rem; }
	main.item-content > blockquote::before { top: 2.5rem; margin-right: -4rem; }

	/* editor */
	.editor-container .has-columns { column-count: 2; }

	/* main navigation */
	.main-navigation .children-toggle { top: 0; }

	/* footer navigation */
	.footer-navigation > li { display: inline-block; }

	/* toolbar */
	.bottom-toolbar { bottom: 1rem; }
		/* reset overlay if only sharing visible (on desktop there's no toolbar toggle) */
	body.toggle-toolbar-container:not(.toggle-social-sharing-container) { overflow: auto; }
	body.toggle-toolbar-container:not(.toggle-social-sharing-container) .bottom-toolbar::after { background-color: transparent; top: 100%; }
	.btn:not(.btn-none) span[class^="logsolicons-"]:only-child { width: 3.222rem; line-height: 3.222rem; }

		/* chat */
	button.rcw-launcher.chat-widget { bottom: 8.5rem; width: 3.222rem; height: 3.222rem; }
	body.scrolled-outside-firstview button.rcw-launcher.chat-widget { bottom: 12.5rem; }
	.rcw-widget-container:not(.rcw-close-widget-container) button.rcw-launcher.chat-widget { right: 25.5rem; }

	/* cpt */

		/* gradient */
	.hero-list-container .item-image::after { position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 0; content: '';
		/* background: rgb(255,255,255); background: linear-gradient(90deg, rgba(255,255,255,0) 50%, rgba(2,0,36,0.6) 100%); */
		background: rgb(255,255,255); background: linear-gradient(90deg, rgba(255,255,255, 0) 50%, rgba(0,0,0, .6) 100%);
	}

		/* testimonial */
	/* .testimonial-list-container .item-image { position: absolute; top: 1.5rem; z-index: +1; } */

		/* success-story */
	.success-story-list-container .loop-slider .item-logo.position-absolute { right: 1rem; transform: translateY(-50%); }
	.success-story-list-container figure .item-meta { position: absolute; top: 0; }
	.success-story-list-container .loop-slider .item-content { background-color: #fff; }

		/* post */
	.post-list-container .item-meta.position-absolute { top: 0; }
	.post-list-container[data-count="2"] .tns-ovh { overflow: visible; }

		/* keyvalues */
	/* .keyvalues-container:not(.wrap-wrap) .keyvalue-item { min-width: 180px; } */
	/* .keyvalues-container:not(.wrap-wrap) .keyvalue-item { min-width: 170px; } */
	.keyvalues-container:not(.wrap-wrap) .keyvalue-item { min-width: 200px; }
	.keyvalues-container .keyvalue-item .counter-item { font-size: 2rem; font-weight: 300; white-space: nowrap; }
			/* gutter */
	.keyvalues-container.gutter-line .keyvalue-item:nth-child(even):not(:last-child) { border-right: 1px solid var(--secondary); }
	.keyvalues-container.gutter-line .keyvalue-item:nth-child(odd):not(:last-child) { border-right: 1px solid var(--secondary); }
	body.colored-lightorange .keyvalues-container.gutter-line .keyvalue-item:nth-child(even):not(:last-child) { border-right: 1px solid var(--orange); }
	body.colored-lightpurple .keyvalues-container.gutter-line .keyvalue-item:nth-child(even):not(:last-child) { border-right: 1px solid var(--purple); }
	.keyvalues-container.gutter-line .keyvalue-item { border-bottom: none !important; }

	.keyvalues-container.wrap-imagemap .item-image.position-absolute svg { width: auto; }

	/* so */
	/* .wrapper .panel-grid.row_background-row-background-default:not(.row_background-row-background-full) { margin-left: 20px; margin-right: 20px;  } */

		/* with keyvisual */
	.panel-grid.has-row_keyvisual.panel-no-style,
	.panel-grid.has-row_keyvisual.panel-has-style > div { position: relative; }
	.panel-grid.has-row_keyvisual.panel-no-style::before,
	.panel-grid.has-row_keyvisual.panel-has-style > div::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; background-color: transparent; background-repeat: no-repeat; background-position: center right ; background-size: contain; }

	/* .panel-grid.has-row_keyvisual.panel-no-style::before,
	.panel-grid.has-row_keyvisual.panel-has-style > div::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 382.1 600'%3E%3Cpath fill='%23FFF' d='M141.3 496s18.6-20 11.6-56.8C140.5 381.1 107.1 171.7 104.4 0h-99c-4.5 177 50.2 444.5 91 522.4A721.8 721.8 0 0 0 0 600h99.9l2.3-1.6c275-176 679.9-164.8 679.9-164.8V328.4S424.2 339.6 141.3 496z' opacity='.5'/%3E%3C/svg%3E"); }
	.panel-grid.row_background-row-background-blue.has-row_keyvisual.panel-no-style::before,
	.panel-grid.row_background-row-background-blue.has-row_keyvisual.panel-has-style > div::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 382.1 600'%3E%3Cpath fill='%23FFF' d='M141.3 496s18.6-20 11.6-56.8C140.5 381.1 107.1 171.7 104.4 0h-99c-4.5 177 50.2 444.5 91 522.4A721.8 721.8 0 0 0 0 600h99.9l2.3-1.6c275-176 679.9-164.8 679.9-164.8V328.4S424.2 339.6 141.3 496z' opacity='.1'/%3E%3C/svg%3E"); }
	.panel-grid.row_background-row-background-beige.has-row_keyvisual.panel-no-style::before,
	.panel-grid.row_background-row-background-beige.has-row_keyvisual.panel-has-style > div::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 382.1 600'%3E%3Cpath fill='%23FFF' d='M141.3 496s18.6-20 11.6-56.8C140.5 381.1 107.1 171.7 104.4 0h-99c-4.5 177 50.2 444.5 91 522.4A721.8 721.8 0 0 0 0 600h99.9l2.3-1.6c275-176 679.9-164.8 679.9-164.8V328.4S424.2 339.6 141.3 496z'/%3E%3C/svg%3E"); } */

	.panel-grid.has-row_keyvisual.panel-no-style::before,
	.panel-grid.has-row_keyvisual.panel-has-style > div::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 782.09 600'%3E%3Cpath fill='%23FFF' d='M783.09 330.36S425.24 341.55 142.29 498c0 0 18.6-20.04 11.61-56.79C141.49 383.07 108.14 170.74 105.36-1H6.45c-4.53 177.05 50.21 447.52 91 525.4C51.01 554.99 12.41 591.03 1 602h99.94c.75-.52 1.47-1.07 2.26-1.59 275.01-176.02 679.88-164.83 679.88-164.83V330.36z' opacity='.5'/%3E%3C/svg%3E"); }
	.panel-grid.row_background-row-background-blue.has-row_keyvisual.panel-no-style::before,
	.panel-grid.row_background-row-background-blue.has-row_keyvisual.panel-has-style > div::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 782.09 600'%3E%3Cpath fill='%23FFF' d='M783.09 330.36S425.24 341.55 142.29 498c0 0 18.6-20.04 11.61-56.79C141.49 383.07 108.14 170.74 105.36-1H6.45c-4.53 177.05 50.21 447.52 91 525.4C51.01 554.99 12.41 591.03 1 602h99.94c.75-.52 1.47-1.07 2.26-1.59 275.01-176.02 679.88-164.83 679.88-164.83V330.36z' opacity='.1'/%3E%3C/svg%3E"); }
	.panel-grid.row_background-row-background-beige.has-row_keyvisual.panel-no-style::before,
	.panel-grid.row_background-row-background-beige.has-row_keyvisual.panel-has-style > div::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 782.09 600'%3E%3Cpath fill='%23FFF' d='M783.09 330.36S425.24 341.55 142.29 498c0 0 18.6-20.04 11.61-56.79C141.49 383.07 108.14 170.74 105.36-1H6.45c-4.53 177.05 50.21 447.52 91 525.4C51.01 554.99 12.41 591.03 1 602h99.94c.75-.52 1.47-1.07 2.26-1.59 275.01-176.02 679.88-164.83 679.88-164.83V330.36z' /%3E%3C/svg%3E"); }

	/* testimonials */
	/* .testimonial-list-container .item-content > div::before, */
	/* .success-story-list-container .item-content > figure::before, */
	/* .item-content.has-row_keyvisual::before,
	.testimonial-list-container .item-aside .bg-white::before { content: ''; position: absolute; z-index: 0; */
	.item-content.has-row_keyvisual::before { content: ''; position: absolute; z-index: 0;
		background-color: transparent; background-repeat: no-repeat; background-position: top right; background-size: contain;
	}
	/* .item-content.has-row_keyvisual::before { top: 0; left: 0; right: .6rem; bottom: -1.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 382.1 600'%3E%3Cpath fill='%23DCD0BA' d='M141.3 496s18.6-20 11.6-56.8C140.5 381.1 107.1 171.7 104.4 0h-99c-4.5 177 50.2 444.5 91 522.4A721.8 721.8 0 0 0 0 600h99.9l2.3-1.6c275-176 679.9-164.8 679.9-164.8V328.4S424.2 339.6 141.3 496z' opacity='.7'/%3E%3C/svg%3E"); } */
	.item-content.has-row_keyvisual::before { top: 0; left: 0; right: .6rem; bottom: -1.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 782.09 600'%3E%3Cpath fill='%23DCD0BA' d='M783.09 330.36S425.24 341.55 142.29 498c0 0 18.6-20.04 11.61-56.79C141.49 383.07 108.14 170.74 105.36-1H6.45c-4.53 177.05 50.21 447.52 91 525.4C51.01 554.99 12.41 591.03 1 602h99.94c.75-.52 1.47-1.07 2.26-1.59 275.01-176.02 679.88-164.83 679.88-164.83V330.36z' opacity='.7'/%3E%3C/svg%3E"); }
	/* .testimonial-list-container .item-content > div::before, */
	/* .success-story-list-container .item-content > figure::before, */
	/* .testimonial-list-container .item-aside .bg-white::before { top: 0; left: 0; right: 0; bottom: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 382.1 600'%3E%3Cpath fill='%23F1ECE3' d='M141.3 496s18.6-20 11.6-56.8C140.5 381.1 107.1 171.7 104.4 0h-99c-4.5 177 50.2 444.5 91 522.4A721.8 721.8 0 0 0 0 600h99.9l2.3-1.6c275-176 679.9-164.8 679.9-164.8V328.4S424.2 339.6 141.3 496z' opacity='.7'/%3E%3C/svg%3E"); } */
	/* .testimonial-list-container .item-aside .bg-white::before { top: 0; left: 0; right: 0; bottom: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 782.09 600'%3E%3Cpath fill='%23F1ECE3' d='M783.09 330.36S425.24 341.55 142.29 498c0 0 18.6-20.04 11.61-56.79C141.49 383.07 108.14 170.74 105.36-1H6.45c-4.53 177.05 50.21 447.52 91 525.4C51.01 554.99 12.41 591.03 1 602h99.94c.75-.52 1.47-1.07 2.26-1.59 275.01-176.02 679.88-164.83 679.88-164.83V330.36z' opacity='.7'/%3E%3C/svg%3E"); } */

	/* slider */
	.so-panel.widget_media_gallery .tns-outer { margin-left: 5.5rem; margin-right: 5.5rem; }

}

/* BS: Large devices (desktops and up) */
@media (min-width: 992px) {

	.display-4 { font-size: 2rem; }

	/* widget space */
	/* .panel-grid-cell.has-cell_background.cell_background-cell-background-lightblue + .panel-grid-cell.has-cell_background.cell_background-cell-background-lightblue::before { width: 1.1rem; height: auto; left: -1.1rem; right: auto; top: 0; bottom: 0; } */

	/* social links */
	body.blog .item-content .social-icons.list-inline { text-align: left !important; }

	/* main navigation */
	.main-navigation .children.lvl-0 > li { width: 50%; display: inline-block; }

	/* footer navigation; */
	.footer-navigation li a {  }

	/* hero */
	.hero-list-container .item-content { color: #fff; position: absolute; top: 0; z-index: +1; }
	body.single-success-story .content-header .item-image,
	.hero-list-container .item-image { height: 600px; }
	.hero-list-container .item-image::before { background-position: top left; }
	.hero-list-container .hero-slogan svg { vertical-align: baseline; }
	.hero-list-container .hero-slogan svg path { fill: #fff; }

	body.single-success-story .content-header .item-image > img { object-fit: cover; height: 100%; width: 100%; }

	/* defaul row with x margin / if colored remove x margin and add x padding to stretch color */
	/* .panel-grid.row_background-row-background-default:not(.row_background-row-background-full) { margin-left: 20px; margin-right: 20px;  }
	.panel-grid:not(.row_background-row-background-default):not(.row_background-row-background-full) { padding-left: 20px; padding-right: 20px;  } */

	/* so */
	.panel-grid:not(.collapse_behaviour-no_collapse) .panel-grid-cell:not(.panel-grid-cell-empty) ~ .panel-grid-cell:not(.panel-grid-cell-empty) { margin-top: 0; }

	/* image */
		/* image outside */
	.image-container.outside-top .item-image.is-icon { transform: translateY(-50%); }
	.image-container.outside-top .item-image:not(.is-icon) { margin-top: -6rem; }
	.image-container.outside-bottom .item-image.is-icon { transform: translateY(-50%); }
	.image-container.outside-bottom .item-image:not(.is-icon) { margin-bottom: -6rem; }

	/* tns slider */
	.tns-nav [data-nav] { font-size: 1rem; }

}

@media (min-width: 1300px) {

	.container-fluid { padding-left: 10px;  padding-right: 10px; }

	.display-4 { font-size: 2.666rem; }

	/* main navigation */
	.main-navigation a {  }
	.main-navigation > li { display: inline-block; position: static; }

		/* lvl 1 */
	.main-navigation > li.hover > a::after,
	.main-navigation > li > a:hover::after,
	.main-navigation > li > a:focus::after,
	.main-navigation > li[class*="current"] > a::after { position: absolute; content: ''; z-index: -1; height: 1.777rem; left: 1.5rem; right: 0; bottom: -.125rem; background-color: var(--light); }

		/* 0 children */
	.main-navigation li:focus-within > .children.lvl-0,
	.main-navigation li:hover > .children.lvl-0 { display: flex; flex-wrap: wrap; }
	.main-navigation .children.lvl-0 { position: absolute;  z-index: +2; top: 100%; left: 0; right: 0; }
	.main-navigation .children.lvl-0::before { z-index: -1;
		background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 782.1 600'%3E%3Cpath fill='%23FFF' d='M141.3 496s18.6-20 11.6-56.8C140.5 381.1 107.1 171.7 104.4 0h-99c-4.5 177 50.2 444.5 91 522.4A721.8 721.8 0 0 0 0 600h99.9l2.3-1.6c275-176 679.9-164.8 679.9-164.8V328.4S424.2 339.6 141.3 496z' opacity='.7'/%3E%3C/svg%3E") no-repeat top left;
		background-size: cover;
	}
	/* .main-navigation .children.lvl-0::after { background-color: #F2F4F6; z-index: -2; } */
	.main-navigation .children.lvl-0 > li:first-child { width: 80%; margin-bottom: 1.666rem; padding-bottom: 1.666rem; border-bottom: 1px solid #fff; }
	/* .main-navigation .children.lvl-0 > li:not(:first-child) { width: 33.333%; } */
	/* .main-navigation .children.lvl-0 > li { width: 80%; } */
	.main-navigation .children.lvl-0 > li:not(:first-child) { width: 30%; }
	/* .main-navigation .children.lvl-0 > li { width: 30%; } */
	/* .main-navigation li:focus-within > .children.lvl-0 { display: flex; flex-wrap: wrap; } */
	/* .main-navigation .children.lvl-0 > li { width: 25%; } */
			/* show */
	/* .main-navigation li[class*="current"] > .children.lvl-0, */
	/* .main-navigation li.hover > .children.lvl-0 { display: flex; } */

	/* meta navigation */
	.meta-navigation li { width: auto !important; }
	.meta-navigation li.language-item:not(:first-child) { margin-left: 1rem; }

	/* success story / posts: chess pattern */
	/* .success-story-list-container .item-container.socalledeven:before, */
	.post-list-container .item-container:nth-child(4n-2)::before { right: -5.5rem; }
	/* .success-story-list-container .item-container.socalledodd:before, */
	.post-list-container .item-container:nth-child(4n-1)::before { left: -5.5rem; }

	/* testimonial */
	/* .testimonial-list-container .tns-controls { margin-left: 5rem; margin-right: 5rem; position: relative; } */

	/* toolbar */
	/* .toggle-toolbar,
	.bottom-toolbar { right: auto; left: 50% !important; margin-left: 560px; } */
	/* body.toggle-social-sharing-container .bottom-toolbar,
	body.toggle-social-sharing-container .bottom-toolbar,
	body.toggle-toolbar-container .bottom-toolbar { margin-left: 0; padding-left: 560px; } */

	/* keyvalues */
	.keyvalues-container .keyvalue-item .counter-item { font-size: 4rem; }
}

/* BS: Extra large devices (large desktops and up) */
@media (min-width: 1600px) {

}