/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.6
Text Domain: uncode
*/


.hiddenIMG {visibility: hidden;}

/* fronpage header background failsafe */
div#page-header.has-video .frontpage-header {
    background-color: #f4f4f4;
    background-image: url(https://feeniksinkilta.fi/wp-content/uploads/2025/12/background-failsafe.webp);
    background-size: cover;
    background-position: center center;
}
div#page-header.has-video .frontpage-header:before {
    background: radial-gradient(ellipse at center, #0057b7 0%, #003796 100%);
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    backdrop-filter: blur(5px);
    opacity: 1;
    background: transparent;
}

/* link styles */
body.textual-accent-color .style-dark p a {color:#ffd700;}
body.textual-accent-color .post-body .style-dark p a:not(.btn-text-skin):hover:not(.btn):hover {color:#ffd700!important;text-decoration:underline;}
body.textual-accent-color p a:hover {text-decoration:underline;}

/* button styles */
.btn.btn-color-136901, .btn.btn-color-136901 > * {
    color: #000 !important;
}

.btn-container.btn-inline {
    padding-left: 0px !important;
    padding-bottom: 9px !important;
}

/* make popups scrollable */
.pum-content-uncode {
    max-height: 90vh !important;
    overflow: auto !important;
}

/* main nav */
header#masthead .menu-container {mix-blend-mode:multiply;}
header#masthead:not(.is_stuck) .menu-container {background-color:rgba(0, 87, 183, 0);box-shadow:0px 0px 0px rgba(0, 0, 0, 0);}

/* form notifications */
form.wpcf7-form.submitting > * {filter:opacity(0.8) blur(2px);cursor:wait;}
.wpcf7 form.sent > * {display:none!important;}
.wpcf7 form.sent > .showAfter {display:block!important;}
.wpcf7 form.sent .wpcf7-response-output {display:none!important;}
.wpcf7 form.sent .notification {background:rgba(0, 0, 0, 0.2);padding:18px!important;margin:18px 0px;border:1px solid #333;}
.wpcf7 form.sent .notification h4 {margin:0px!important;}

/* form styles */
.style-light .ui-br, .style-dark .style-light .ui-br, .style-light hr, .style-dark .style-light hr, .style-light pre, .style-dark .style-light pre, .style-light table, .style-dark .style-light table, .style-light table td, .style-dark .style-light table td, .style-light table th, .style-dark .style-light table th, .style-light input, .style-dark .style-light input, .style-light textarea, .style-dark .style-light textarea, .style-light select, .style-dark .style-light select, .style-light .seldiv, .style-dark .style-light .seldiv, .style-light .select2-choice, .style-dark .style-light .select2-choice, .style-light .select2-selection--single, .style-dark .style-light .select2-selection--single, .style-light fieldset, .style-dark .style-light fieldset, .style-light .seldiv:before, .style-dark .style-light .seldiv:before, .style-light .tab-container .menu-smart .nav-tabs:not(.tabs-vertical), .style-dark .style-light .tab-container .menu-smart .nav-tabs:not(.tabs-vertical), .style-light .tab-container .nav-tabs, .style-dark .style-light .tab-container .nav-tabs, .style-light .menu-smart .nav-tabs:not(.tabs-vertical) > li.active > a, .style-dark .style-light .menu-smart .nav-tabs:not(.tabs-vertical) > li.active > a, .style-light .nav-tabs > li.active > a, .style-dark .style-light .nav-tabs > li.active > a, .style-light .border-100 .tab-content::before, .style-dark .style-light .border-100 .tab-content::before, .style-light .tab-content.vertical, .style-dark .style-light .tab-content.vertical, .style-light .nav-tabs.tabs-vertical > li, .style-dark .style-light .nav-tabs.tabs-vertical > li, .style-light .panel, .style-dark .style-light .panel, .style-light .panel-group .panel-heading + .panel-collapse:before, .style-dark .style-light .panel-group .panel-heading + .panel-collapse:before, .style-light .divider:before, .style-dark .style-light .divider:before, .style-light .divider:after, .style-dark .style-light .divider:after, .style-light .plan, .style-dark .style-light .plan, .style-light .plan .plan-title, .style-dark .style-light .plan .plan-title, .style-light .plan .item-list > li, .style-dark .style-light .plan .item-list > li, .style-light .plan .plan-button, .style-dark .style-light .plan .plan-button, .style-light .uncode-single-media-wrapper.img-thumbnail:not(.single-advanced), .style-dark .style-light .uncode-single-media-wrapper.img-thumbnail:not(.single-advanced), .style-light .post-share, .style-dark .style-light .post-share, .style-light .post-tag-share-container, .style-dark .style-light .post-tag-share-container, .style-light .widget-container .widget-title, .style-dark .style-light .widget-container .widget-title, .style-light .widget-container.widget_calendar #wp-calendar caption, .style-dark .style-light .widget-container.widget_calendar #wp-calendar caption, .style-light .widget-container.widget_calendar .wp-calendar-nav, .style-dark .style-light .widget-container.widget_calendar .wp-calendar-nav, .style-light #comments .comment-list .comments-list:first-child, .style-dark .style-light #comments .comment-list .comments-list:first-child, .style-light #respond .comment-list .comments-list:first-child, .style-dark .style-light #respond .comment-list .comments-list:first-child, .style-light #comments .comments-list .comment-content, .style-dark .style-light #comments .comments-list .comment-content, .style-light #respond .comments-list .comment-content, .style-dark .style-light #respond .comments-list .comment-content, .style-light ul.dwls_search_results, .style-dark .style-light ul.dwls_search_results, .style-light ul.dwls_search_results li, .style-dark .style-light ul.dwls_search_results li, .style-light .ajax-filter-sidebar .ajax-filter-sidebar-header, .style-dark .style-light .ajax-filter-sidebar .ajax-filter-sidebar-header, .style-light .ajax-filter-sidebar .ajax-filter-sidebar-footer, .style-dark .style-light .ajax-filter-sidebar .ajax-filter-sidebar-footer, .style-light .swatch-type-label, .style-dark .style-light .swatch-type-label, .style-light .swatch--logo, .style-dark .style-light .swatch--logo, .style-light .widget-container .tagcloud a, .style-dark .style-light .widget-container .tagcloud a {
    border-color: #ccc;
}

/* privacy policy (uncode) */
button.gdpr-agreement.btn-accent.btn-flat.gdpr-submit-consent.gdpr-submit-accept-all {
    border-radius: 100px;
    font-size: 16px !important;
    font-weight: 500 !important;
    font-family: 'EB Garamond';
}

@media (max-width: 959px) {

}

/* GENERAL MOBILE STYLES */
@media (max-width: 569px) {

	/* fonts and buttons */
	h2:not([class*="fontsize-"]), .h2:not([class*="fontsize-"]) {font-size: 30px;}
	h3:not([class*="fontsize-"]), .h3:not([class*="fontsize-"]) {font-size: 22px;}
	body, p, li, dt, dd, dl, address, label, pre, code, .nav-tabs .tab-excerpt, .block-wrapper-parent {font-size: 14px;}
	.text-lead, .text-lead:not(ul):not(ol) > * {line-height: 1.2;}
	.text-lead, .text-lead > *, .nav-tabs .tab-excerpt.text-lead {font-size: 14px;}
	.btn-lg {font-size: 16px !important;padding: 16px 27px !important;}
	
	/* paddings & margins */
	.main-container .row-container .triple-top-padding, .block-wrapper-parent .row-container .triple-top-padding {padding-top: 36px;}
	.main-container .row-container .triple-bottom-padding, .block-wrapper-parent .row-container .triple-bottom-padding {padding-bottom: 36px;}
	.main-container .row-inner > div:not(.vc_helper), .block-wrapper-parent .row-inner > div:not(.vc_helper) {padding: 18px 0px 0px 0px;}
	.main-container .row-container .row-parent .column_child.single-internal-gutter .uncont > *:not(.uncode-owl-nav-wrap):not(:first-child):not(.pin-spacer):not([data-sticky]), 
	.block-wrapper-parent .row-container .row-parent .column_child.single-internal-gutter .uncont > *:not(.uncode-owl-nav-wrap):not(:first-child):not(.pin-spacer):not([data-sticky]), 
	.main-container .row-container .row-parent .column_child.single-internal-gutter .uncont > .uncode-owl-nav-wrap:not(:first-child) > *:not(.pin-spacer):not([data-sticky]), 
	.block-wrapper-parent .row-container .row-parent .column_child.single-internal-gutter .uncont > .uncode-owl-nav-wrap:not(:first-child) > *:not(.pin-spacer):not([data-sticky]) {margin-top: 9px;}
	
}