/*
Theme Name: Invest
Author: Cormo
Author URI: http://cormo.pl/
Version: 1.2
Text Domain: invest
Domain Path: /languages/
*/
body { font-family: 'DM Sans', sans-serif; font-size: 15px; }

a { color: inherit; text-decoration: none; } 
a:hover { color: inherit; } 
img { object-fit: cover; image-rendering: -webkit-optimize-contrast; } 

:focus { outline: 1px dotted #606060 !important; box-shadow: none !important; }

ul li::marker { color: #007d78; } 
.badge { border-radius: 1px; }

.text-primary { color: #007d78 !important; }
.bg-primary { background: #007d78 !important; }
.btn-primary { background: #007d78 !important; border-color: transparent !important; }
.btn-outline-primary { border-color: #007d78 !important; background: none !important; }

.bg-secondary { background: #05275B !important; }
.text-secondary { color: #254478 !important; }

.navbar-brand { letter-spacing: -1px; font-weight: 700; white-space: normal; line-height: 1.1; color: #404040; }
.navbar-brand > * { max-width: 250px; }

.text-info { color: #236f94 !important; }
.bg-info { background: #236f94 !important; }
.btn-info { background: #236f94 !important; border-color: transparent !important; color: #FFF; }

.logo-back  { height: 30px; width: 160px; object-fit: scale-down; }

.bg-shadow { background: linear-gradient(0deg, rgba(37, 68, 120, 0.7), rgba(37, 68, 120, 0.7)); }
.card-shadow-hover:hover { box-shadow: 1px 1px 8px rgba(0,0,0,0.1); }

.screen-reader-text { display: none; }

.fw-medium { font-weight: 500; }

.separator { width: 1px; background: #AAA; }

.top-icon { font-size: 26px; }
.top .btn:hover { text-shadow: 1px 1px 2px rgba(0,0,0,0.2); }
.flag-icon { height: 15px; max-width: none; object-fit: scale-down; }

.height-130 { height: 130px; }

.h1 { font-weight: 700; font-size: 3.5rem; }
.h { border-bottom: 1px solid #D5D5D5; }

.search-form { width: 100%; border: 1px solid #D5D5D5; position: relative; }
.search-form label { display: block; }
.search-field { display: block; width: 100%; padding-left: 50px; border: 0; height: 38px; }
.search-submit { position: absolute; top: 0; left: 0; bottom: 0; opacity: 0; }
.search-form:before { content: "\f52a"; font-family: bootstrap-icons !important; position: absolute; line-height: 1; top: 12px; left: 15px; }

.nav-link { color: #3A3A3A; font-weight: 500;  font-size: 1rem; transition: color 1.6s; }
.nav-link:hover { color: #007d78; transition: color 0.2s }

.menu-item a { color: #3A3A3A; transition: color 1.6s; }
.menu-item a:hover { color: #007d78; transition: color 0.2s }

.custom-logo { height: 50px; width: auto; object-fit: scale-down; }

.intro { height: 486px; background: #202020; background-repeat: no-repeat; background-position: 50% 50%; background-size: cover; }  


.navbar-toggler { box-shadow: none !important; }
.navbar-toggler span { display: block; height: 3px; margin-bottom: 5px; border-radius: 1px; background: #254478; width: 30px; transition: all 0.4s; }
.navbar-toggler span:nth-child(1) {  transform-origin: 5px 5px; }
.navbar-toggler span:nth-child(3) { width: 15px; float: right; }
.navbar-toggler:not(.collapsed) span:nth-child(1) { transform: rotate(45deg); }
.navbar-toggler:not(.collapsed) span:nth-child(2) { transform: rotate(-45deg); }
.navbar-toggler:not(.collapsed) span:nth-child(3) { opacity: 0; }


#multimedia .slick-slide { opacity: 0.1; transition: opacity 2s; pointer-events: none; }
#multimedia .slick-center { opacity: 1; pointer-events: auto; }
#multimedia .slick-arrow { position: absolute; top: 0; bottom: 0; height: 40px; margin: auto; background: none; border: 0; color: #FFF; width: 40px; text-align: center; z-index: 100; }
#multimedia .slick-arrow:hover { color: #ffdd08; }
#multimedia .slick-prev { left: 25%; }
#multimedia .slick-next { right: 25%; }

.footer a { color: inherit; }
.footer .list-unstyled ul { list-style-type: none; padding: 0; font-size: 0.8rem; margin: 0.3rem 0; }

.entry-image { max-height: 40vh; }
.post-container { margin-top: -50px; background: #FFF; }

@media (max-width: 767px) {
  .post-container { margin-top: 0px; }
}

.post-content h2 { font-size: 1.4rem; font-weight: 700; }
.post-content h3 { font-size: 1.3rem; font-weight: 700; }
.post-content img {  max-width: 100%; height: auto; border-radius: 2px; }
.post-content figure.wp-block-image { border: 1px solid #EEE; padding: 2px; border-radius: 2px; }
.post-content figure.wp-block-image figcaption { font-size: 0.8rem; padding: 0.3rem 0.5rem; display: none; }
.post-content figure.size-large img { width: 100%; }
.post-content a { color: #007d78; }

.prev-next-post a { display: block; height: 100%; }
.table-layout-fixed { table-layout: fixed; }
.table-area td { vertical-align: top; }
.table-area tbody td.text-info { --bs-table-accent-bg: #FFF }
.area-placeholder { min-height: 50px; }

.nearest-icon img { width: 24px; height: 24px; padding: 4px; background: red; margin-right: 5px; border-radius: 3px; }
#map-full svg { max-width: 100%; height: auto; }


.tile { overflow: hidden; min-height: 100px; }
.tile .bg-secondary { opacity: 0.9; transition: opacity 0.4s; }
.tile:hover .bg-secondary { opacity: 1; }
.tile .wp-post-image { transition: transform 0.3s; }
.tile:hover .wp-post-image { transform: scale(1.05); }

.tile-thumbnail-text { transition: opacity 0.4s; }
.tile-thumbnail:hover .tile-thumbnail-text { opacity: 1 !important; }

.tile-thumbnail { overflow: hidden; }
.tile-thumbnail .wp-post-image { transition: transform 0.3s; }
.tile-thumbnail:hover .wp-post-image { transform: scale(1.05); }

.tile-icon img { object-fit: scale-down; } 

.btn-map-height-fix { min-height: 70px; }
.container-map-height-fix { min-height: 246px; }

.partners img { max-height: 100px; max-width: 100%; width: auto; border: 1px solid transparent; margin: auto; object-fit: contain; margin: 0 auto; }
.partners img:hover { border-color: #EEE; }
.partners .partner { height: 100px; }

.slick-5-styles { margin: 0 50px; position: relative; }
.slick-5-styles .slick-arrow { position: absolute; top: 0; bottom: 0; height: 40px; margin: auto; background: none; border: 0; width: 40px; text-align: center; z-index: 100; }
.slick-5-styles .slick-arrow:hover { color: #ffdd08; }
.slick-5-styles .slick-prev { left: -50px; }
.slick-5-styles .slick-next { right: -50px; }

.calendar-card { border-left: 1px solid #AAA; }
.calendar-items { height: 105px; } 
.h-calendar-item { min-height: 105px; opacity: 0; transition: opacity 0.7s; }
.slick-initialized .h-calendar-item { opacity: 1; }


.bg-warning .nearest-icon img { border: 1px solid rgb(33, 37, 41, 0.25); border-radius: 4px; }

.img-150 { width: 150px; height: 150px; object-position: center top; } 

.paginator > * { display: inline-block; padding: 0.1rem 0.5rem; }
.paginator .current { background: #007d78; color: #FFF; }

.pods-form { border: 1px solid #CCC; padding: 0.5rem 1.2rem; margin-bottom: 3rem; }
.pods-form-ui-label { margin-top: 1rem; margin-bottom: 0.5rem; font-weight: bold; }
.pods-field .pods-radio-pick__option__label { font-weight: normal; display: flex; align-items: flex-start; line-height: 1.2; }
.pods-radio-pick__option__label input { margin: 0 0.3rem 0 0; position: relative; top: 2px; }
.pods-form-ui-comment { font-style: italic; }
.pods-dfv-list-add { border: 1px solid #CCC; border-radius: 4px; padding: 0.4rem 1rem; font-family: inherit; display: inline-block; }
.pods-form .pods-submit { float: none; margin-top: 1rem; text-align: right; }
.pods-submit-button { background: #007d78; color: #FFF; border: 0; border-radius: 4px; padding: 0.4rem 1rem; font-family: inherit; font-weight: bold; }
.pods-form-ui-heading { margin: 1.8rem 0 0; }
.pods-form-ui-field-type-pick { margin: 0 0.5rem 0 0; }
.pods-checkbox-pick__option--single { padding-left: 0 !important; }
.pods-form-ui-field-type-paragraph { font-family: inherit !important; min-height: 100px !important; }

.pods-radio-pick { border: 0 !important; display: flex; gap: 1rem; list-style-type: none; }
.pods-radio-pick__option { border: 0 !important; padding: 5px 0 !important; } 

@media print {
	#content .post-container { margin-left: 0 !important; padding-left: 0 !important; margin-right: 0 !important; padding-right: 0 !important; margin-top: 0 !important; }
}

.blurred { filter: blur(2px); transition: all 0.5s; }

.wp-block-embed-youtube { border: 1px solid #EEE; padding: 0.2rem; margin-bottom: 2rem; }
.wp-block-embed-youtube .wp-block-embed__wrapper {  position: relative; padding-bottom: 56.25%; /* 16:9 */ height: 0; }
.wp-block-embed-youtube iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.wp-block-embed figcaption { font-size: 0.9rem; padding: 0.4rem; }
.wp-block-media-text .wp-block-media-text__media { border: 1px solid #EEE; padding: 0.2rem; display: inline-block; }
.wp-block-media-text__content { margin-bottom: 2rem; }

.wp-block-gallery { display: grid; }
.wp-block-gallery.has-nested-images figure.wp-block-image { flex-grow: 0; }

.wp-block-table td { padding: 0.3rem; } 
.wp-block-table tr:nth-child(2n+1) { background: #FAFAFA; } 

.wp-block-media-text { margin-bottom: 2rem; }

.post-video-thumbnail {  position: relative; padding-bottom: 56.25%; /* 16:9 */ height: 0; }
.post-video-thumbnail iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.page-icon.active,
.page-icon:hover { box-shadow: 0 0 10px rgba(0,0,0,0.5); }
.page-icon img { object-fit: scale-down; height: 50px; width: 50px; }


.lightbox.modal .ratio { background: none !important; }
.modal-backdrop.show { opacity: 0.8; }

.formo-stepper-container { display: none; }
.formo-reset-wrapper { position: static !important; }
.formo-badge-option.selected { background-color: #2a879c !important; border-color: #2a879c !important; }
.formo-btn-primary { background-color: #2a879c !important; }
.formo-page-wrapper h2 { font-size: 1.5rem!important; margin-bottom: 0.75rem!important;}
.formo-step-header-description { font-size:1.2rem!important; color: #fff; animation: appearColor 30s ease forwards; }
.blur-delay { color: #fff; animation: appearColor 30s ease forwards; }
@keyframes appearColor { to { color: #777; } }

@media (prefers-reduced-motion: reduce) {
	.formo-step-header-description, .blur-delay { animation: none; filter: none; opacity: 1; color: #777; }
}

body.contrast { background: #000; color: #fff; }
body.contrast .text-primary,
body.contrast .text-secondary,
body.contrast a { color: #FFF !important; }
body.contrast hr { background: #FFF; opacity: 1; }
body.contrast .card { background: #000 !important; }
body.contrast .bg-info,
body.contrast .bg-primary,
body.contrast .bg-light,
body.contrast .bg-secondary,
body.contrast .post-container,
body.contrast .bg-white { background: #000 !important; }
body.contrast .badge { background: #FFF !important; color: #000 !important; }


.ol-box{box-sizing:border-box;border-radius:2px;border:2px solid #00f}
.ol-mouse-position{top:8px;right:8px;position:absolute}
.ol-scale-line{background:rgba(0,60,136,.3);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}
.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}
.ol-scale-bar{position:absolute;bottom:8px;left:8px}
.ol-scale-step-marker{width:1px;height:15px;background-color:#000;float:right;z-index:10}
.ol-scale-step-text{position:absolute;bottom:-5px;font-size:12px;z-index:11;color:#000;text-shadow:-2px 0 #fff,0 2px #fff,2px 0 #fff,0 -2px #fff}
.ol-scale-text{position:absolute;font-size:14px;text-align:center;bottom:25px;color:#000;text-shadow:-2px 0 #fff,0 2px #fff,2px 0 #fff,0 -2px #fff}
.ol-scale-singlebar{position:relative;height:10px;z-index:9;border:1px solid #000}
.ol-unsupported{display:none}
.ol-unselectable,.ol-viewport{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}
.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}
.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}
.ol-control{position:absolute;background-color:rgba(255,255,255,.4);border-radius:4px;padding:2px}
.ol-control:hover{background-color:rgba(255,255,255,.6)}
.ol-zoom{top:.5em;left:.5em}
.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0 linear}
.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0 linear .25s}
.ol-zoom-extent{top:4.643em;left:.5em}
.ol-full-screen{right:.5em;top:.5em}
.ol-control button{display:block;margin:1px;padding:0;color:#fff;font-size:1.14em;font-weight:700;text-decoration:none;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:rgba(0,60,136,.5);border:none;border-radius:2px}
.ol-control button::-moz-focus-inner{border:none;padding:0}
.ol-zoom-extent button{line-height:1.4em}
.ol-compass{display:block;font-weight:400;font-size:1.2em;will-change:transform}
.ol-touch .ol-control button{font-size:1.5em}
.ol-touch .ol-zoom-extent{top:5.5em}
.ol-control button:focus,.ol-control button:hover{text-decoration:none;background-color:rgba(0,60,136,.7)}
.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}
.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}
.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em)}
.ol-attribution ul{margin:0;padding:0 .5em;font-size:.7rem;line-height:1.375em;color:#000;text-shadow:0 0 2px #fff}
.ol-attribution li{display:inline;list-style:none;line-height:inherit}
.ol-attribution li:not(:last-child):after{content:" "}
.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}
.ol-attribution button,.ol-attribution ul{display:inline-block}
.ol-attribution.ol-collapsed ul{display:none}
.ol-attribution:not(.ol-collapsed){background:rgba(255,255,255,.8)}
.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0;height:1.1em;line-height:1em}
.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}
.ol-attribution.ol-uncollapsible button{display:none}
.ol-zoomslider{top:4.5em;left:.5em;height:200px}
.ol-zoomslider button{position:relative;height:10px}
.ol-touch .ol-zoomslider{top:5.5em}
.ol-overviewmap{left:.5em;bottom:.5em}
.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}
.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:inline-block}
.ol-overviewmap .ol-overviewmap-map{border:1px solid #7b98bc;height:150px;margin:2px;width:150px}
.ol-overviewmap:not(.ol-collapsed) button{bottom:1px;left:2px;position:absolute}
.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}
.ol-overviewmap:not(.ol-collapsed){background:rgba(255,255,255,.8)}
.ol-overviewmap-box{border:2px dotted rgba(0,60,136,.7)}
.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}
.ol-popup{position:absolute;background-color:#fff;-webkit-filter:drop-shadow(0 1px 4px rgba(0,0,0,0.2));filter:drop-shadow(0 1px 4px rgba(0,0,0,0.2));padding:15px;border-radius:4px;border:1px solid #ccc;bottom:12px;left:-50px;min-width:280px;font-size:.85em}
.ol-popup:after,.ol-popup:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}
.ol-popup:after{border-top-color:#fff;border-width:10px;left:48px;margin-left:-10px}
.ol-popup:before{border-top-color:#ccc;border-width:11px;left:48px;margin-left:-11px}
.ol-popup-closer{text-decoration:none;position:absolute;top:6px;right:8px;cursor:pointer;color:#909090}
.ol-popup-closer:after{content:"✖"}
.ol-popup .infowindow-header{font-size:1.2em;font-weight:700;margin-bottom:.6em}
