@font-face {
    font-family: 'Manrope';
    src: url('/wp-content/themes/middlecap/Manrope-VariableFont_wght.ttf') format('truetype');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

body, html {
	font-family: 'Manrope', sans-serif;
	color: rgba(80,86,89,1);
	font-size: 16px;
}
.entry-content p, .entry-content ol, .entry-content ul, .entry-content dl, .entry-content dt, .elementor-image figcaption{
	font-family: 'Manrope', sans-serif;
	font-size: 1rem;
}
.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide){
	max-width: 1200px;
}
body.template-full-width .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide), body.template-full-width [class*="__inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide){
	max-width: none;
	width: 100%;
}
section{
	padding: 1rem 0;
}
figcaption, .wp-caption-text{
	margin-top: 1rem;
}

#site-header{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1024;
}

body.home .bg{
	position: absolute;
	z-index: -1;
	left: -50%;
	width: 200%;
}
body.home .bg img{
	width: 100%;
}


.entry-content h2, h2{
	font-size: 54px;
	line-height: 60px;
	font-weight: bold;
	margin: 2rem auto;
}
.entry-header{
	padding: 0;
}

.elementor-image-carousel figcaption{
	position: absolute;
	top: 30%;
	left: 10%;
	right: 10%;
	text-align: center;
	color: #fff;
	font-size: 4vw !important;
}
.elementor-widget-image-carousel .swiper-slide figure{
	padding-top: 42%;
	position: relative;
}
.swiper-image-stretch .swiper-slide .swiper-slide-image{
	position: absolute;
	left: 50%;
	top: 50%;
	min-width: 100%;
	min-height: 100%;
	width: 100%;
	height: auto;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
.elementor-6 .elementor-element.elementor-element-5099b7b .swiper-pagination-bullet{
	width: 0.8vw;
	height: 0.8vw;
	border: 1px solid #fff;
}
.swiper-pagination-bullet{
	opacity: 1;
	background: transparent;
}
.swiper-pagination-bullet:hover{
	background: rgba(255,255,255,0.4);
}
.swiper-pagination-bullet-active, .swiper-pagination-bullet-active:hover{
	background: #fff;
}

body.home:before{
	position: fixed;
	z-index: -1;
	content: "INVESTMENTS MADE BY EXPERIENCE";
	font-weight: 900;
	font-size: 15.2vw;
	line-height: 30vh;
	left: -2%;
	right: -6%;
	top: 4%;
	color: rgba(0,0,0,0.05);
}

#foot h5{
	font-size: 18px;
	margin-bottom: 1em;
}
#foot, #foot li, #foot p{
	color: rgba(80,86,89,1);
	font-size: 14px;
	line-height: 30px;
}
#foot p{
	margin-bottom: 0;
}
#foot .elementor-widget:not(:last-child){
	margin-bottom: 0;
}
#foot a{
	color: inherit;
}
#foot .langed{
	display: none;
}

/* 2505 - fixed some bugs */
.singular .featured-media {
	margin-top: 5rem;
}
.single-post.reduced-spacing.missing-post-thumbnail .post-inner {
    padding-top: 9rem;
}
@media only screen and (min-width: 700px) {
.singular .featured-media {
	margin-top: 6rem;
}	
}
@media only (min-width: 1200px) {
.single-post .featured-media img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    min-width: 1200px;
}
}

/* menu nejak zobrazuje pre kazdy jazyk po update - platilo pre rok 2023 ... */
.elementor-widget-navigation-menu:not(:nth-of-type(1)){
	display: none !important;
}

/* 2025 - salvaging wrecked site ... */
.entry-header{
	display: none;
}

.hover-efect figure{
	overflow: hidden;
}
.hover-efect figure:before, .hover-efect figure:after {
    position: absolute;
    content: "";
    width: 160%;
    right: -25%;
    bottom: 100%;
    height: 100%;
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    -webkit-transform: rotate(-11deg);
    transform: rotate(-11deg);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.hover-efect figure:before{
	bottom: 10%;
    -webkit-transform-origin: right top;
    transform-origin: right top;
    -webkit-transform: rotate(-27deg); 
    transform: rotate(-27deg);
}

.hover-efect:hover figure:before {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

.hover-efect:hover figure:after {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}
.hover-efect figcaption{
	z-index: 10 !important;
}

body.home .bg, .cs-bg {
    position: absolute;
    z-index: -1;
    left: 50%;
    width: 105vw;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

#foot .elementor-icon-list-item:hover .elementor-icon-list-text {
    color: var(--e-global-color-primary);
}

body:not(.overlay-header) .primary-menu > li > a{
	color: var( --e-global-color-text );
	font-size: 15px;

	font-weight: bold;
	text-transform: uppercase;
}

.primary-menu ul {
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

/* homepage */
.entry-content h2{
	font-family: 'Manrope';
	color: var(--e-global-color-primary);
    text-transform: uppercase;
	font-size: 54px;
    line-height: 60px;
    font-weight: bold;
    margin: 2rem auto;
	letter-spacing: 0;
}
.elementor-widget-wp-widget-recent-posts {
	top: 120px;
}
.elementor-widget-wp-widget-recent-posts h5{
	margin-top: 0;
    margin-bottom: 6px;
}
.hp-p p{
	font-size: 20px;
}
@media (min-width: 1200px){
	.hp-p{
		padding-right: 140px;
	}
}


/* old header css */
body #site-header{
	background-color: transparent;
	transition: background-color 0.3s ease;
	-webkit-transition: background-color 0.3s ease; 
}
body #site-header.scrolled{
	background-color: white;
	border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #00000021;
}
#site-header a{
    white-space: nowrap !important;
}
#site-header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
#site-header section{
    padding: 0;
}
#site-header .elementor-widget:not(:last-child){
    margin: 0;
}
#site-header a{
	color: white;
}
#site-header.scrolled a{
	color: var( --e-global-color-text );
}
#site-header a:hover{
	color: var(--e-global-color-primary);
	text-decoration: none;
}
.primary-menu .icon::before, .primary-menu .icon::after{
	background-color: white;
}
#site-header.scrolled .primary-menu .icon::before, #site-header.scrolled .primary-menu .icon::after{
	background-color: var( --e-global-color-text );
}
.primary-menu li.current-menu-item > a, .primary-menu li.current-menu-item > .link-icon-wrapper > a{
	text-decoration: none;
}

#site-header .sub-menu{ background: #F5F5F5;}
body:not(.overlay-header) .primary-menu > li > ul:after{ border-bottom-color: #F5F5F5;}
#site-header .sub-menu a{
	color: var( --e-global-color-text );
}
#site-header a.logo-link svg{
	width: 100px;
    height: 52.66px;
    position: absolute;
    top: 10px;
}
#site-header a.logo-link svg .st1{ fill:white;}
#site-header.scrolled a.logo-link svg .st1,
body.showing-menu-modal #site-header a.logo-link svg .st1 { fill:var( --e-global-color-text );}
ul.primary-menu{
	letter-spacing: 0;
}
.primary-menu ul{
	width: 16rem;
	padding: 0.5rem 0;
	top: calc(100% + 1.3rem);
}
.header-inner .toggle svg > *{
	pointer-events: none;
}
.header-inner .toggle path {
	fill: transparent;
}
.nav-toggle .toggle-icon, .nav-toggle svg {
    height: 5rem;
    width: 5rem;
}
.ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  .hamRotate.active {
    transform: rotate(45deg);
  }
  .hamRotate180.active {
    transform: rotate(180deg);
  }
  .ham-line {
    fill:none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke:#fff;
    stroke-width:5.5;
    stroke-linecap:round;
  }
  #site-header.scrolled .ham-line, .ham.active .ham-line{ stroke:var(--e-global-color-text);}

  .ham4 .ham-top {
    stroke-dasharray: 40 121;
  }
  .ham4 .ham-bottom {
    stroke-dasharray: 40 121;
  }
  .ham4.active .ham-top {
    stroke-dashoffset: -68px;
  }
  .ham4.active .ham-bottom {
    stroke-dashoffset: -68px;
  }

.toggle.close-nav-toggle{
	display: none;
}

.header-inner .toggle {
    padding-right: 1rem;
    margin-right: 0.4rem;
}
#site-header a.logo-link svg {
	width: 90px;
	height: 47.4px;
	position: absolute;
	top: 6px;
}
/*
.menu-modal {
	background: #fff;
	  background-color: rgb(255, 255, 255);
	display: block;
	opacity: 1;
	overflow-y: auto;
	overflow-x: hidden;
	position: fixed;
	bottom: 0;
	left: 100vw;
	right: 100vw;
	top: 0;
	pointer-events: none;

	transition: all 0.4s;
}

.menu-modal.active{
	left: 0;
    right: 0;
	pointer-events: all;
}
	*/

@media (min-width: 1200px) {
	#site-header a.logo-link svg {
		width: 100px;
		height: 52.66px;
		position: absolute;
		top: 10px;
	}
    .header-inner {
		max-width: 1200px;
		padding: 1.6rem 0;
		justify-content: flex-start;
	}
	.header-navigation-wrapper {
        margin-left: 130px;
	}
	.header-inner ul.primary-menu > .menu-item:nth-last-of-type(1){
		margin-left: 2.5em;
	}
	.primary-menu ul a {
		padding: 0.55rem 1rem;
	}
	.primary-menu .icon::before {
		height: 0.6rem;
		width: 0.15rem;
	}
	.primary-menu .icon::after {
		height: 0.15rem;
		width: 0.6rem;
	}
	.primary-menu > li > .icon {
		right: 0rem;
		top: calc(50% - 0.6rem);
	}
}
@media (min-width: 1220px) {
	.primary-menu > li {
		margin: 0.8rem 0 0 1.7rem;
	}
}
.menu-modal .mobile-menu{
	margin-top: 74px;
}
@media (min-width: 280px) {
	.modal-menu{
		position: relative;
		left: 0;
   	 	width: 100%;
	}
	button.sub-menu-toggle {
		padding: 0 0.5rem;
	}
	.fill-children-current-color *{ fill:var(--e-global-color-text);}
    .header-inner {
        padding: 2.18rem 0;
    }
	.modal-menu > li > a, .modal-menu > li > .ancestor-wrapper > a {
        font-size: 18px;
        padding: 1.1rem 0;
	}
	 .menu-modal nav *{
		border-color: transparent;
	}

	.modal-menu a {
		display: block;
		padding: 10px;
		text-decoration: none;
		text-transform: uppercase;
		font-weight: bold;
		letter-spacing: 0;
		color: var(--e-global-color-text);
		font-size: 18px;
	}
	.modal-menu a:focus, .modal-menu a:hover, .modal-menu li.current-menu-item > .ancestor-wrapper > a, .modal-menu li.current_page_ancestor > .ancestor-wrapper > a {
		text-decoration: none;
	}
	.modal-menu ul li a {
		color: var(--e-global-color-text);
		font-weight: 600;
	}

}



#site-header .lang-menu .sub-arrow{
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    transition: all 0.3s ease;
}
#site-header .lang-menu:hover .sub-arrow{
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

#site-header:not(.scrolled) a:not(:hover) svg{
    fill: var( --e-global-color-text );
}
#site-header a:hover svg{
    fill: var( --e-global-color-text );
}


html[lang="en-GB"] .langed:not(.lang-en){
    display: none !important;
}
html[lang="sk-SK"] .langed:not(.lang-sk){
    display: none !important;
}
html[lang="de-DE"] .langed:not(.lang-de){
    display: none !important;
}
html[lang="fr-FR"] .langed:not(.lang-fr){
    display: none !important;
}

#massite-headerthead .lang-menu .sub-arrow{
	-webkit-transform: none;
	transform: none;
}

@media screen and (max-width: 1024px){
    #masthead{
        background: #fff !important;
        padding: 10px 0;
    }
    body #masthead section{
        color: var( --e-global-color-text ) !important;
        border: none !important;
    }
    #masthead svg{
        fill: var( --e-global-color-text ) !important;
    }
    #masthead .logo{
        position: absolute;
        top: -4px;
        left: 8px;
        z-index: 100000;
        width: auto;
    }
    #masthead .menu-is-active{
        margin-top: 12px;
    }
    body.home .entry-content > div > div > section:first-child{
        margin-top: 80px !important;
    }
    body #masthead.scrolled section{
        border-bottom: none !important;
    }
    #masthead ul > .menu-item:not(.lang-item) ~ .lang-item{
        display: block;
    }
    #masthead .hfe-nav-menu__toggle.elementor-clickable{
        padding-right: 20px;
    }
    #masthead .hfe-nav-menu .sub-arrow{
        font-size: 25px;
    }
}

body.page .featured-media{
	display: none;
}
.entry-content .elementor-top-section:nth-of-type(1){
	padding-top: 0;
}