/* POB 10.09.2024 - 08:42 */
:root {
	--sw-color-black: #1a1919;
	--sw-color-white: #fff;
	/* --sw-color-pink: #d6006d; */
	/* --sw-color-blue: #162b44; */
	/* --sw-color-yellow: #ffdd6a; */
	
	--sw-font-family-1: 'custom-font-family-1', Helvetica, Arial, sans-serif;
	--sw-font-family-2: 'custom-font-family-2', Helvetica, Arial, sans-serif;
}

::selection {
	/* background: #ffdd6a; */
}

a {
	/* avoid "all" or "visibility" due to flickering when using JS effects */
	transition: color 0.2s, background-color 0.2s, border-color 0.2s,  opacity 0.2s;
	cursor: url(/wp-content/uploads/cursor3.cur), auto;
}
a:focus, a:hover {
	text-decoration: none;
}

img:not(.woocommerce-product-gallery img) {
	pointer-events: none; /* Hides visual search icon in Edge */
}

.fg-paragraph p, .fg-paragraph ul, .accordion-v1 .panel-body p, .accordion-v1 .panel-body ul {
	margin-bottom: 15px;	
}
.fg-paragraph p:last-child {
	margin-bottom: 0;
}
.accordion-v1 .panel-body div:last-of-type + p {
	margin-top: 15px;
}
.fg-paragraph p, .fg-paragraph li, .fg-heading, .fg-heading p, .fg-text-dark.fg-heading, .fg-text-dark.fg-heading p, h1>a, h2>a, h3>a, .panel-body, .panel-body p, .panel-body li, .ff-richtext {
	color: var(--sw-color-black);
}
.fg-paragraph a, .fg-paragraph p a, .fg-text-dark.fg-heading a {
	color: var(--sw-color-black);
}
.fg-paragraph a:hover, .fg-paragraph p a:hover {
	color: var(--sw-color-black);
}

h1 > p, h2 > p, h3 > p, h4 > p {
	margin: 0;
}
.fg-paragraph strong, .fg-paragraph strong:hover, .accordion-v1 .panel .panel-body p strong, .accordion-v1 .panel .panel-body p strong:hover {
	font-weight: 400 !important;
    font-family: var(--sw-font-family-2);
    font-size: 113% !important;
    line-height: 0.85;
    letter-spacing: -0.05em;
}

/* bootstrap > v.3 standard class for hiding */
.d-none {
	display: none !important;
}

/* 
	Fixed patterns/images in the background
	- To flexibly position the content elements at the right layer, use the following globale Styles, both with position relative and z-index !important:
		- Element in front of Dots (z-index: 1)
		- Element behind Dots (z-index: -1)
	- The left and right indented content elements need some special handling (see Ecofin case for more details):
		Content/Column itself needs z-index auto, set by a css class to override the style attribute set during run time
		
.page-wrapper:before, .page-wrapper:after {
	width: 100vw;
	position: fixed;
	opacity: 0.25;
}
.page-wrapper:before {
	content: url(/wp-content/uploads/pattern_bottom_left.svg);
    top: 53vh;
}
.page-wrapper:after {
	content: url(/wp-content/uploads/pattern_top_right.svg);
    top: 0;
	z-index: -1;
}
.fg-section, .fg-row {
	z-index: auto !important;
}
.z-index-auto {
	z-index: auto !important;
	position: relative;
}
*/

/*
	lightbox
	- For Fullscreen Design set mfp-content zu full size and use the ark standard Sections and Rows to control the width of the content
	- To open the Lightbox also by Clicking on Post Title and Image the corresponsing lightbox css class must be set in custom.js
	- don't use width: 100vw; in .mfp-content, positions the lightbox to the end of the page
	.mfp-iframe-holder  .mfp-content {
		max-width: none;
		height: 100vh;
		width: 100%;
	}
*/
/*
.mfp-bg {
	background: var(--sw-color-white);
	opacity: 0.72;
}
.mfp-iframe-holder .mfp-content {
	max-width: 1135px;
	min-height: 773px;
}
.mfp-iframe-holder {
	padding: 0;
}
.mfp-iframe-scaler iframe {
	background-color: transparent;
	box-shadow: 2px 6px 12px #00000029;
}
.mfp-iframe-scaler iframe {
	background-color: var(--sw-color-white);
}
.mfp-iframe-holder .mfp-close {
	top: 10px;
	right: 10px;
	border-radius: 0;
	opacity: 1;
	background: none;	
	width: 32px;
	height: 32px;
	font-size: 40px;
	line-height: 0.85;
	color: var(--sw-color-black);
}

Decoration / No Decoration in Lightbox iFrame - the css classes must be set in custom.js
body.no-decoration {
	background-color: var(--sw-color-white);
}
body.no-decoration .ark-header, body.no-decoration .footer-container, body.no-decoration #footer, body.no-decoration.page .page-wrapper .fg-container-no-padding, body.no-decoration.single-portfolio .page-wrapper .fg-container-no-padding, body.no-decoration .menu-top-menu-container, body.no-decoration .titlebar, body.no-decoration .contact-sidenav {
	display: none;
}
.ark-header, .footer-container, #footer, .page .page-wrapper .fg-container-no-padding, .single-portfolio .page-wrapper .fg-container-no-padding, .menu-top-menu-container, .titlebar, .contact-sidenav {
	visibility: hidden;
}
body.decoration .ark-header, body.decoration .footer-container, body.decoration #footer, body.decoration.page .page-wrapper .fg-container-no-padding, body.decoration.single-portfolio .page-wrapper .fg-container-no-padding, body.decoration .menu-top-menu-container, body.decoration .titlebar, body.decoration .contact-sidenav {
	visibility: visible;
}
*/

/* Header Image and Text */
.header-large {
	height: 41vw;
	max-height: 760px;
	
	/* Header Text Positioning */
	display: flex;
    flex-direction: column;
    justify-content: end;
    padding-bottom: 80px;
}
.header-medium {
    height: 36vw;
	max-height: 665px;
}
/* .header-small { */
    /* height: 35vw; */
/* } */

/*
	Header Text: Type Writing

.header-text {
	display: inline-block;
	float: left;
	clear: both;
}
.header-text div {
	width: 0;
	background-color: var(--sw-color-yellow);
	animation: typing 1s steps(30, end) forwards;
}
.header-text:last-child div {
	animation-delay: 1s;
}
.header-text p {
	margin-left: calc(15px + 4.5vw);
	margin-right: 20px;
	margin-bottom: 9px;
	overflow: hidden;
	white-space: nowrap;
}

@keyframes typing {
	0% { width: 0; }
	100% { width: 100%; }
}
*/

/*
	Header Text: Poligon.
	The Poligon ist different for left and right aligned Text. The Case below is for right alinged Text.
	For left aligned Text, use the following polygons:
	clip-path: polygon(100% 80%, 100% 100%, 0 100%, 0 0);
	clip-path: polygon(100% 20%, 100% 100%, 0 100%, 0 0);

.header-text p {
	font-weight: 600;
	margin: 0;
	line-height: 1.8;

	-webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
	clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);

	transform: translateY(-50px);
	opacity: 0;
	animation-name: titleAnimation;
	animation-timing-function:ease;
	animation-duration: 3.5s;
	-webkit-animation-fill-mode: forwards;
}
.header-text p:nth-child(1){
  animation-delay: 1.7s;
}
.header-text p:nth-child(2){
  animation-delay: 1.6s;
}
.header-text p:nth-child(3){
  animation-delay: 1.5s;
}
.header-text p:nth-child(4){
  animation-delay: 1.4s;
}

@keyframes titleAnimation {
    0% {
      transform: translateY(-50px);
      opacity: 0;
      -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
      clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
  }
  20% {
      transform: translateY(0);
      opacity: 1;
      -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 15%);
      clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 15%);
  }
  100% {
       transform: translateY(0);
       opacity: 1;
      -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 15%);
      clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 15%);
  }
}
*/

.display-flex-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.display-flex-row-center {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
}
.display-flex-row-center-center {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}
.display-flex-column {
	display: flex;
	flex-direction: column;
}
.display-flex-column-center {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.image-full-width {
	/* height: 24vw; */
	/* max-height: 560px; */
}

/* Portfolio flex - adapt margins if a custom horizontal margin is set in ark portfolio element */
.ff-portfolio-grid {
	height: auto !important;
}
.ff-portfolio-grid .cbp-wrapper-outer .cbp-wrapper {
	position: static;
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
	width: auto;
}
.ff-portfolio-grid .cbp-item {
	position: static;
	margin: 0 15px;
}
.cbp-item-off {
    display: none;
}

.ffb-btn, .ffb-btn .btn-text {
	transition: color 0.25s, background-color 0.25s, border 0.25s;
}
.ffb-btn:hover .btn-text {
	color: var(--sw-color-black) !important;
}
.page-wrapper .ffb-btn:hover {
	border-color: var(--sw-color-black) !important;
}
.radio input[type=radio], .checkbox input[type=checkbox] {
	margin-top: 3px;
}
form label.error {
	color: red;
	margin-top: -5px !important;
}
form input[type=text]::placeholder, form textarea::placeholder {
	color: color: var(--sw-color-black) !important;
}

.back-link p {
	margin: 0;
}
/*.back-link a:hover, .back-link a:hover span {
	color: #89acc8 !important;
} */	
.back-link a span, .back-link a span:hover {
	font-size: 115% !important;
	transition: all 0.25s;
}

/* 100% = browser width without scrollbars */
.column-left-indented-to-content {
	padding-right: 0;
}
.column-left-indented-to-content.col-lg-4 {
	padding-left: calc((100% - 1170px) / 2);
	width: calc(390px + (100% - 1170px) / 2);
}
.column-left-indented-to-content.col-lg-6 {
	padding-left: calc((100% - 1170px) / 2);
	width: calc(585px + (100% - 1170px) / 2);
}
.column-left-indented-to-content.col-lg-8 {
	padding-left: calc((100% - 1170px) / 2);
	width: calc(780px + (100% - 1170px) / 2);
}
.column-left-indented-to-content.col-lg-12 {
	padding-left: 0;
	width: 100%;
}
.column-right-indented-to-content {
	padding-left: 0;
}
.column-right-indented-to-content.col-lg-4 {
	padding-right: calc((100% - 1170px) / 2);
	width: calc(390px + (100% - 1170px) / 2);
}
.column-right-indented-to-content.col-lg-6 {
	padding-right: calc((100% - 1170px) / 2);
	width: calc(585px + (100% - 1170px) / 2);
}
.column-right-indented-to-content.col-lg-8 {
	padding-right: calc((100% - 1170px) / 2);
	width: calc(780px + (100% - 1170px) / 2);
}
.column-right-indented-to-content.col-lg-12 {
	padding-right: 0;
	width: 100%;
}

.two-columns-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin-bottom: 23px;
}
.two-columns-list p {
	margin-bottom: 5px;
}
.two-columns-list p:nth-child(odd) {
	width: 60px;
}
.two-columns-list p:nth-child(even) {
	width: calc(100% - 60px);
}
/*
.accordion-v1 {
    margin-bottom: 0;
	padding-bottom: 30px;
}
.accordion-v1 .panel-group .panel + .panel {
    margin-top: 0;
	padding-top: 25px;
}
.accordion-v1 .panel-title > a {
	padding: 10px 70px 10px 30px;
	background-color: var(--sw-color-blue) !important;
}
.accordion-v1 .panel-title > a.ffb-title:after {
    line-height: 28px !important;
	margin-top: -20px;
	padding: 0 2px;
    font-size: 40px !important;
	font-weight: 300 !important;
}
.accordion-v1 .panel-title > a.ffb-title[aria-expanded="false"]:after {
	margin-top: -15px;
	padding: 0;
}
.accordion-v1 .panel-body {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	background-color: var(--sw-color-white) !important;
	padding: 25px 30px;
}
.accordion-v1 .panel-body p:last-child {
	margin-bottom: 0;
}
.accordion-v1 .panel-body p {
	width: 100%;
}
.accordion-v1 .panel-body div {
	width: 50%;
}

.accordion-v1 .panel-body div:nth-of-type(odd) {
	width: 30%;
}
.accordion-v1 .panel-body div:nth-of-type(even) {
	width: 70%;
}
.accordion-v1 .panel-body div {
	padding: 10px 20px;
}
.accordion-v1 .panel-body div:nth-of-type(1), .accordion-v1 .panel-body div:nth-of-type(2) {
	background-color: var(--sw-color-blue);
	font-weight: 500 !important;
	color: var(--sw-color-white) !important;
}
.accordion-v1 .panel-body div:nth-of-type(2n+1) {
	border-right: 1px solid var(--sw-color-black);
}
.accordion-v1 .panel-body div:nth-of-type(4n+3), .accordion-v1 .panel-body div:nth-of-type(4n+4) {
	background-color: var(--sw-color-yellow);
}
.accordion-v1 .panel-body div:nth-of-type(4n+5), .accordion-v1 .panel-body div:nth-of-type(4n+6) {
	background-color: var(--sw-color-pink);
}
*/

#footer a:hover {
	text-decoration: none;
}

.webagency li {
	margin: 0;	
}

ul.footer-navigation {
	margin: 0;
	list-style: none;
	overflow: hidden;
	padding: 0;
}
.footer-navigation li {
	margin-left: 0;
	margin-right: 28px;
	list-style: none;
	float: left;
}

/* change default bootstrap - start */
.navbar-collapse, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
	padding-right: 10px;
	padding-left: 10px;
}
.row {
	margin-right: -10px;
    margin-left: -10px;
}
/* change default bootstrap - end */

.gallery .fg-row {
	padding-bottom: 20px;
}
.gallery.team .fg-row .fg-col:not(:first-child) {
	padding-bottom: 40px;
}
.gallery .fg-row .fg-col .fg-paragraph p {
	margin-bottom: 0;
}
.column-count-rte-content {
	column-gap: 20px;
}
.column-count-rte-content p {
	/* safari not working */
	break-after: avoid-column;
	margin-bottom: 20px;
	hyphens: auto;
    hyphenate-limit-chars: 10 4 4;
}
.text-content-with-rows .fg-container > .fg-row:not(:last-child) {
	padding-bottom: 70px;
}
.text-content-with-rows.project-detail .fg-container > .fg-row:not(:last-child) {
	padding-bottom: 45px;
}
.text-content-with-rows .fg-container > .fg-row .fg-paragraph + .fg-row {
	padding-top: 15px;
	padding-bottom: 15px;
}
.text-content-with-rows.projects p {
	letter-spacing: 0.02em !important;
	line-height: 1.5 !important;
}
.text-content-with-rows.projects p strong {
	letter-spacing: 0 !important;
}
.text-content-with-rows .fg-container > .fg-row > .fg-col img + img {
	padding-top: 20px;
}
.paragraph-extra-margin p {
	margin-bottom: 24px;
}
.paragraph-project-detail-summary p {
	margin-bottom: 5px;
}
.paragraph-project-detail-summary div {
	margin-bottom: 20px;
}
#portfolio-navigation .fg-wrapper {
	position: absolute;
	z-index: 5;
	right: 10px;
	top: 24px;
}
.portfolio-single-nav {
	display: flex;
    justify-content: flex-end;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}
.portfolio-single-nav .next a {
	padding-right: 20px;
}
.portfolio-single-nav .prev a {
	padding-left: 20px;
}
.portfolio-single-nav .between, .portfolio-single-nav .between:hover {
	font-family: var(--sw-font-family-2) !important;
    font-size: 17px !important;
    margin-bottom: -3px;
}
.theme-icons-md {
	padding: 0;
	min-width: auto;
	min-height: auto;
}
/* fixes lightbox more than 100% width */
.cbp-popup-wrap {
	width: 100vw;
}

/* Ark Map Element
.ff-map > div {
	pointer-events: all !important;
}
*/

/* Tablet (SM) */
@media screen and (min-width: 768px) {
	.webagency {
		float: right;
	}

	.custom-map #combinedMap {
		/* min-height: 300px; */
	}
	/* patch image size alignment */
	.gallery:not(.team) .col-sm-3, .gallery:not(.team) .col-md-3 {
        width: 25.3%;
    }
	.gallery:not(.team) .col-sm-6, .gallery:not(.team) .col-md-6 {
        width: 49.4%;
    }
	.gallery:not(.team) .col-sm-9, .gallery:not(.team) .col-md-9 {
        width: 74.7%;
    }
	.column-count-rte-content {
		column-count: 2;
	}
}

/* Laptop (MD) */
@media screen and (min-width: 992px) {
	.custom-map #combinedMap {
		/* min-height: 325px; */
	}
	/* patch image size alignment */
	.gallery:not(.team) .col-sm-3, .gallery:not(.team) .col-md-3 {
        width: 25.15%;
    }
	.gallery:not(.team) .col-sm-6, .gallery:not(.team) .col-md-6 {
        width: 49.7%;
    }
	.gallery:not(.team) .col-sm-9, .gallery:not(.team) .col-md-9 {
        width: 74.85%;
    }
	.column-count-rte-content {
		column-count: 3;
	}
	.text-content-with-rows.project-detail .fg-paragraph p, .text-content-with-rows.project-detail .fg-paragraph p:hover, .paragraph-project-detail-summary div, .paragraph-project-detail-summary div:hover {
		font-size: 17px !important;
	}
}

/* Desktop (LG) */
@media screen and (min-width: 1200px) {
	/* patch image size alignment */
	.gallery:not(.team) .col-sm-3, .gallery:not(.team) .col-md-3 {
        width: 25.05%;
    }
	.gallery:not(.team) .col-sm-6, .gallery:not(.team) .col-md-6 {
        width: 49.9%;
    }
	.gallery:not(.team) .col-sm-9, .gallery:not(.team) .col-md-9 {
        width: 74.95%;
    }	
	.paragraph-project-detail-summary p:first-child, .paragraph-project-detail-summary div:nth-child(2) {
		height: 37px;
	}
	.paragraph-project-detail-summary div:nth-child(2) {
		min-width: 140px;
	}
	.paragraph-project-detail-summary p:nth-child(3) {
		min-width: 82px;
	}
	.paragraph-project-detail-summary p, .paragraph-project-detail-summary div {
		height: 53px;
		margin-bottom: 10px;
	}
	.paragraph-project-detail-summary p {
		float: left;
	}
	.paragraph-project-detail-summary div {
		float: right;
		text-align: right;
	}	
}

/* Extra Large Additional Media Query  */
@media screen and (min-width: 1650px) {	
	/* patch image size alignment */
	.gallery:not(.team) .col-sm-3, .gallery:not(.team) .col-md-3 {
        width: 25%;
    }
	.gallery:not(.team) .col-sm-6, .gallery:not(.team) .col-md-6 {
        width: 50%;
    }
	.gallery:not(.team) .col-sm-9, .gallery:not(.team) .col-md-9 {
        width: 75%;
    }
    .container {
		width: 1340px !important;
	}

	.column-left-indented-to-content.col-lg-4 {
		padding-left: calc((100% - 1340px) / 2);
		width: calc(456.66px + ((100% - 1340px) / 2));
		padding-right: 0;
	}
	.column-left-indented-to-content.col-lg-6 {
		padding-left: calc((100% - 1340px) / 2);
		width: calc(685px + ((100% - 1340px) / 2));
		padding-right: 0;
	}
	.column-left-indented-to-content.col-lg-8 {
		padding-left: calc((100% - 1340px) / 2);
		width: calc(913.33px + ((100% - 1340px) / 2));
		padding-right: 0;
	}
	.column-right-indented-to-content.col-lg-4 {
		padding-right: calc((100% - 1340px) / 2);
		width: calc(456.66px + (100% - 1340px) / 2);
	}
	.column-right-indented-to-content.col-lg-6 {
		padding-right: calc((100% - 1340px) / 2);
		width: calc(685px + (100% - 1340px) / 2);
	}
	.column-right-indented-to-content.col-lg-8 {
		padding-right: calc((100% - 1340px) / 2);
		width: calc(913.33px + (100% - 1340px) / 2);
	}

	.image-float-left {
		width: 28% !important;
	}
	.image-float-right {
		width: 28% !important;
	}
	.text-content-with-rows.project-detail .fg-paragraph p, .text-content-with-rows.project-detail .fg-paragraph p:hover, .paragraph-project-detail-summary div, .paragraph-project-detail-summary div:hover {
		font-size: 18px !important;
	}
	.paragraph-project-detail-summary p:nth-child(3) {
		min-width: 108px;
	}
}

/* Extra Large Additional Media Query  */
@media screen and (min-width: 2000px) {	

}

/* Laptop (MD)  */
@media screen and (max-width: 1199px) {
	.column-left-indented-to-content.col-md-4 {
		padding-left: calc((100% - 970px) / 2);
		width: calc(323.33px + (100% - 970px) / 2);
	}
	.column-left-indented-to-content.col-md-6 {
		padding-left: calc((100% - 970px) / 2);
		width: calc(485px + (100% - 970px) / 2);
	}
	.column-left-indented-to-content.col-md-8 {
		padding-left: calc((100% - 970px) / 2);
		width: calc(646.66px + (100% - 970px) / 2);
	}
	.column-left-indented-to-content.col-md-12 {
		padding-left: 0;
		width: 100%;
	}
	.column-right-indented-to-content.col-md-4 {
		padding-right: calc((100% - 970px) / 2);
		width: calc(323.33px + (100% - 970px) / 2);
	}
	.column-right-indented-to-content.col-md-6 {
		padding-right: calc((100% - 970px) / 2);
		width: calc(485px + (100% - 970px) / 2);
	}
	.column-right-indented-to-content.col-md-8 {
		padding-right: calc((100% - 970px) / 2);
		width: calc(646.66px + (100% - 970px) / 2);
	}
	.column-right-indented-to-content.col-md-12 {
		padding-right: 0;
		width: 100%;
	}
}

/* Portfolio Medium  */
@media screen and (max-width: 1099px) {

}

/* Tablet (SM) */
@media screen and (max-width: 991px) {
	/*
	.mfp-iframe-holder .mfp-content {
		max-width: none;
		min-height: 100vh;
	}
	*/
	.column-left-indented-to-content.col-sm-4 {
		padding-left: calc((100% - 750px) / 2);
		width: calc(250px + (100% - 750px) / 2);
	}
	.column-left-indented-to-content.col-sm-6 {
		padding-left: calc((100% - 750px) / 2);
		width: calc(375px + (100% - 750px) / 2);
	}
	.column-left-indented-to-content.col-sm-8 {
		padding-left: calc((100% - 750px) / 2);
		width: calc(500px + (100% - 750px) / 2);
	}
	.column-left-indented-to-content.col-sm-12 {
		padding-left: 0;
		width: 100%;
	}
	.column-right-indented-to-content.col-sm-4 {
		padding-right: calc((100% - 750px) / 2);
		width: calc(250px + (100% - 750px) / 2);
	}
	.column-right-indented-to-content.col-sm-6 {
		padding-right: calc((100% - 750px) / 2);
		width: calc(375px + (100% - 750px) / 2);
	}
	.column-right-indented-to-content.col-sm-8 {
		padding-right: calc((100% - 750px) / 2);
		width: calc(500px + (100% - 750px) / 2);
	}
	.column-right-indented-to-content.col-sm-12 {
		padding-right: 0;
		width: 100%;
	}
}

/* Portfolio Small  */
@media screen and (max-width: 799px) {

}

/* Phone (XS) */
@media screen and (max-width: 767px) {
	.image-fullwidth {
		/* min-height: 70vw; */
	}

	.column-left-indented-to-content.col-xs-4 {
		width: 33.33%;
	}
	.column-left-indented-to-content.col-xs-6 {
		width: 50%;
	}
	.column-left-indented-to-content.col-xs-8 {
		width: 66.66%;
	}
	.column-right-indented-to-content.col-xs-4 {
		width: 33.33%;
	}
	.column-right-indented-to-content.col-xs-6 {
		width: 50%;
	}
	.column-right-indented-to-content.col-xs-8 {
		width: 66.6%;
	}
	.column-left-indented-to-content.col-xs-12, .column-right-indented-to-content.col-xs-12 {
		padding-left: 0;
		padding-right: 0;
		width: 100%;
	}

	.webagency {
		float: left;
	}	

	.custom-map #combinedMap {
		/* min-height: 54vw; */
	}
	.gallery .fg-row .fg-col {
		padding-bottom: 20px;
	}
	.text-content-with-rows.project-detail .fg-row .col-sm-6:first-child {
		margin-bottom: 20px;
	}
	.paragraph-project-detail-summary {
		margin-bottom: 30px;
	}
	.paragraph-project-detail-summary p:first-child, .paragraph-project-detail-summary div:nth-child(2) {
		height: 37px;
	}
	.paragraph-project-detail-summary div:last-child {
		padding-bottom: 30px;
	}
	.paragraph-project-detail-summary p, .paragraph-project-detail-summary div {
		height: 53px;
		margin-bottom: 10px;
		min-width: 35vw;
	}
	/* .paragraph-project-detail-summary p, .paragraph-project-detail-summary div { */
		/* height: 45px; */
		/* margin-bottom: 10px; */
		/* min-width: 35vw; */
	/* } */
	.paragraph-project-detail-summary p {
		float: left;
	}
	.paragraph-project-detail-summary div {
		float: right;
		text-align: right;
	}
	#portfolio-navigation .fg-wrapper {
	    top: 27px;
	}
	.portfolio-single-nav {
		zoom: 0.8;
	}
}

/* Portfolio Extra Small  */
@media screen and (max-width: 579px) {
	.ff-portfolio-grid .cbp-item {
		margin-right: 0;
	}
}

/* Extra Small 1 Additional Media Query  */
@media screen and (max-width: 480px) {
	.image-float-left, .image-float-right {
		width: 100% !important;
		margin: 0 0 20px !important;
	}	
	.paragraph-project-detail-summary p, .paragraph-project-detail-summary div {
		min-width: 29.5vw;
	}
}

/* Extra Small 2 Additional Media Query  */
@media screen and (max-width: 400px) {
	/* .paragraph-project-detail-summary p, .paragraph-project-detail-summary div { */
		/* min-width: 29vw; */
	/* } */
	.text-content-with-rows.project-detail .fg-paragraph p, .text-content-with-rows.project-detail .fg-paragraph p:hover, .paragraph-project-detail-summary div, .paragraph-project-detail-summary div:hover {
		font-size: 16px !important;
	}
}
/* Extra Small 2 Additional Media Query  */
@media screen and (max-width: 350px) {
	.paragraph-project-detail-summary p, .paragraph-project-detail-summary div {
		min-width: 28vw;
	}
}

/* Extra Small 3 Additional Media Query  */
@media screen and (min-width: 580px) and (max-width: 991px) {

}

/* Extra Small 4 Additional Media Query  */
@media screen and (min-width: 550px) and (max-width: 767px) {
	.flex-basis-33 {
		flex-basis: 33%;
	}
	.flex-basis-50 {
		flex-basis: 50%;
	}
}

/* effects */
@-webkit-keyframes fadeInUpSPWE {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 12px, 0);
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInUpSPWE {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 12px, 0);
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUpSPWE;
  animation-name: fadeInUpSPWE;
  -webkit-animation-timing-function: ease-out;
  animation-timing-function: ease-out;
}