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

/* custom meta range handlers */
input.dimensionField {
    width: 49%;
    margin-right: 1%;
    display: inline-block;
}

.uncode-single-product-gallery {
    background: #fff;
    box-shadow: 0px 20px 60px -30px rgb(0 0 0 / 45%);
}

.productImageColumn p.emptyAttacment {
    display: none!important;
}
.productImageColumn .productAttatchments {
    margin-left: 16px;
}

/* Hide default recaptcha iframe and style form recaptcha texts */
.grecaptcha-badge {
    display: none !important;
}
.copywriteGoogle {font-size:10px;opacity:0.6;transition:0.2s;}
.copywriteGoogle:hover {opacity:1;}
.contactForm input[type=checkbox] {
    margin: 10px auto;
    width: auto!important;
}
.copywriteGoogle a {text-decoration:underline;}

/* Retail listing logo sizes */
.location_listing1 .wpgmp_listing_grid .fc-component-content ul li.fc-component-thumb .fc-feature-img {
    width: 100%;
    height: auto;
    max-height: 150px;
    text-align: center;
    padding: 9px 18px!important;
    display: flex;
    justify-content: center;
}
.location_listing1 .wpgmp_listing_container .fc-item-kairav .fc-component-content ul li.fc-component-thumb img {
    width: auto!important;
    height: auto;
    margin: 0!important;
    padding: 0;
    object-fit: contain;
    max-width:50%;
}

/* retail pagination styles */
.wpgmp_pagination {
    text-align: center;
}
.wpgmp_pagination a, .wpgmp_pagination span {
    display: inline-block;
    margin-right: 4px;
    text-decoration: none;
    padding: 10px;
    border: 0;
    color: #333!important;
    background: transparent!important;
}
span.current {
    color: #29b6f6!important;
}

/* recap for product details */
tr.woocommerce-product-attributes-item {
    vertical-align: top;
}

/* TEMP FIXES FOR PRODUCT FILTER BAR */
span.prdctfltr_filter_title, span.prdctfltr_instock, span.prdctfltr_sale {
    display: none!important;
}
.col-widgets-sidebar .widget-container .widget-title {
    margin: 0 0 8px;
    padding: 0 0 8px;
}

/* TEMP HIDE ADD-TO-CART AND PRICES */
div.product form.cart .button {display:block!important; color:red!important;}
td.price.woocommerce-grouped-product-list-item__price {display:block!important; color:red!important;}
form.woocommerce-ordering {display: none!important;}

/* SHOW PARENT/CHILD RELATIVES FROM SELECTED CATEGORY */
.current-cat-parent,.current-cat {opacity:0;transition:0.2s;}
.cat-item a {font-size: 14px;line-height: 24px;font-weight: 400;}
.current-cat > a {font-weight: 600; color: #333!important;}

/* UPSELL CAROUSEL */
.single-product .upSellSection {height:0px;opacity:0;pointer-events:none;}

.single-product .grouped_form:before {
    content: 'Ryhmän tuotteet'!important;
	font-weight: 600;
    width: 100%;
    color: #303133;
    font-size: 16px;
}
.single-product a.single_add_to_wishlist:after {
    content: 'Lisää toivelistalle';
}
body.single-product :lang(en) .grouped_form:before {
    content: 'Product Group Contents'!important;
}
body.single-product :lang(en) a.single_add_to_wishlist:after {
    content: 'Add to Wishlist';
}

/* PRODUCT ASSETS */
a.vc-digia-media-category__list__item__link {color:#2b7eb2;}
a.vc-digia-media-category__list__item__link:hover {text-decoration:underline;}
a.vc-digia-media-category__list__item__link:before {
    content: '\e128';
    font-family: 'uncodeicon';
    padding-right: 10px;
}

/* MEGA MENU STYLES */
@media (min-width: 960px) {
  .menu-horizontal .menu-smart>.mega-menu .mega-menu-inner>li>a {
      pointer-events: all;
      cursor: pointer;
  }
}
.mega-menu-inner > li > a {
    font-weight: 600;
}

/* HEADER TEXT BLOCK */
.header-overlay .block-bg-overlay {
  opacity:1!important;
  background: linear-gradient(to right, rgba(255,255,255,0.6) 0%,rgba(255,255,255,0) 66%)!important;
}
.header-wrapper h1 span {
    font-size: 60px;
}
/* HEADER WITH BLUE BOX */
.blueCell .style-color-191199-bg {
    background-color: rgb(43 126 178 / 90%)!important;
}
.header-wrapper .blueCell h1 span {
    font-size: 40px;
}
.main-container .row-container .penta-top-padding {padding-top:200px;}

/* BREADCRUMB */
.row-breadcrumb.row-breadcrumb-light {
    border-color: #f4f4f4;
    background-color: #f9f9f9;
}

/* POST GALLERY HOVER EFFECTS */
.post-gallery-hover .t-overlay-text {
  background: rgb(43 126 178 / 90%);
}

/* SECONDARY MENU */
.hmenu .menu-secondary {
    background: linear-gradient(to bottom, #ffffff 0%,#f3f3f3 50%,#ededed 51%,#ffffff 100%);
    box-shadow: 0px 0px 5px rgb(0 0 0 / 20%);
}

/* AWS SECONDARY MENU */
.top-menu input.aws-search-field {
    min-width: 400px;
}
/* footer */
.site-footer .aws-search-field {
    background: rgba(255,255,255,1);
}

/* AJAX FILTERS */
h4.filter-title {
    margin: 10px 0px;
}
.yith-wcan-filters .yith-wcan-filter .yith-wcan-dropdown .dropdown-wrapper, .yith-wcan-filters .yith-wcan-filter .yith-wcan-dropdown.open {
    box-shadow: 0px 4px 15px 5px rgb(0 0 0 / 10%);
    border: 1px solid #ccc;
}
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.label.active:not(.with-image),
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.label:not(.with-image):not(.disabled):hover {
    background-color: #2b7eb2;
    box-shadow: 0px 0px 0px #2b7eb2;
}

/* PRODUCT PAGE STYLES */
/* specs */
.shop_attributes p {word-break: break-word!important;}
tr.woocommerce-product-attributes-item:nth-child(odd) {background: #f4f4f4!important; vertical-align:top;}
tr.woocommerce-product-attributes-item td:first-child {width;40%:}
tr.woocommerce-product-attributes-item td:last-child {width;60%:}
/* product img & gallery */
div.product .woocommerce-product-gallery-nav li img {
    height: auto;
    max-height: 100px;
  	object-fit: contain;
}
div.product div.images img {
    height: auto;
    max-height: 500px;
  	object-fit: contain;
}
/* Spec list */
th.woocommerce-product-attributes-item__label {
    width: 300px!important;
    padding: inherit;
    padding-left: 10px;
}
td.woocommerce-product-attributes-item__value {
    white-space: break-spaces;
}
.woocommerce-product-attributes tr th {
    width: 60%!important;
    max-width: 200px;
    white-space: normal;
}
th.woocommerce-product-attributes-item__label {
    padding: 2px 10px !important;
}
/* Grouped products */
.woocommerce-grouped-product-list-item__label a {
    font-weight: 400;
    color: #333;
    font-size: 16px;
}
.group_table tr {
    border-bottom: 1px solid #f1f1f1;
    padding:10px 5px!important;
}
.group_table tr:last-child {
    border-bottom: none;
}
div.product form.cart .group_table td {
    padding: 0px;
}
td.label.tinyImg {
    background-image: url(../../wp-content/plugins/woocommerce/assets/images/placeholder.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}
.woocommerce-grouped-product-list .hiddenGroups {display:none;}
.woocommerce-grouped-product-list .showAll td {padding: 9px 0px!important;font-weight: 400;}
.woocommerce-grouped-product-list .showAll:hover {
  cursor:pointer;color:#2b7eb2;
}


/* WP MAP PRO STYLES */
.wpgmp_map_parent {
    margin-bottom: 0px!important;
}
.wpgmp_filter_wrappers, .location_listing1, .location_pagination1 {
    width: 100%!important;
    margin: 0px auto;
}
/*
.wpgmp_filter_wrappers > div, .location_listing1 > div, .location_pagination1 > div {
    width: 100%!important;
    float: none!important;
    max-width: 1200px;
    margin: 0px auto!important;
}
*/
.wpgmp_filter_wrappers {
    background: linear-gradient(to bottom, #ffffff 0%,#f3f3f3 20%,#ededed 51%,#ffffff 100%)!important;
    box-shadow: inset 0px 0px 0px 1px rgb(0 0 0 / 10%);
    margin-bottom: 0px!important;
    text-align: left;
}
.wpgmp_filter_wrappers .wpgmp_listing_header, .wpgmp_filter_wrappers .categories_filter {
    width: 50%!important;
    padding: 0px 5px;
}
.wpgmp_filter_wrappers .wpgmp_search_form, .wpgmp_filter_wrappers div.categories_filter select {
    margin: 10px 0px!important;
}
.wpgmp_filter_wrappers .categories_filter select option {
    color: #fff!important;
}
.wpgmp_filter_wrappers input.wpgmp_search_input.wpgmp_auto_suggest.pac-target-input {
    margin: 0px!important;
}
.style-light .wpgmp_filter_wrappers select:not([multiple]) {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNTBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgNTAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDUwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMjIuNiw4YzAtMC4xLDAtMC4yLDAuMS0wLjJsMC41LTAuNWMwLjEtMC4xLDAuMS0wLjEsMC4yLTAuMWMwLjEsMCwwLjIsMCwwLjIsMC4xbDMuNywzLjdsMy43LTMuN2MwLjEtMC4xLDAuMS0wLjEsMC4yLTAuMXMwLjIsMCwwLjIsMC4xTDMyLDcuOEMzMiw3LjksMzIuMSw4LDMyLjEsOGMwLDAuMSwwLDAuMi0wLjEsMC4ybC00LjQsNC40Yy0wLjEsMC4xLTAuMSwwLjEtMC4yLDAuMXMtMC4yLDAtMC4yLTAuMWwtNC40LTQuNEMyMi43LDguMiwyMi42LDguMSwyMi42LDh6Ii8+PC9zdmc+)!important;
}
div.wpgmp_search_form:after {
    right: 0px!important;
    top: auto!important;
    bottom: 0px!important;
    height: 82%!important;
}
.fc-item-box.fc-component-2.wpgmp_locations {
    background: #fff!important;
}
.fc-feature-img {
    padding: 36px!important;
}

/* INSTRUCTIONS POST GALLERY STYLES */
.isotope-filters ul.menu-smart > li > span {
    padding: 0px 9px;
}
.isotope-filters .menu-smart span a {
    padding: 18px!important;
    border: 1px solid #ccc;
    font-size: 14px!important;
}
.isotope-filters .menu-smart span a.active {
    border: 1px solid #2b7eb2;
    background: #2b7eb2;
    color: #fff!important;
}
.postsAsList h3.t-entry-title.h6 a {
    background: #2b7eb2;
    padding: 18px;
    display: block;
    color: #fff!important;
    font-size: 18px;
    text-align: center;
}
.postsAsList h3.t-entry-title.h6 a:hover {
    background-color: #1e71a5 !important;
    border-color: #1e71a5 !important;
}

/* CONTACT FORMS */
.wpcf7-form input, .wpcf7-form select, .wpcf7-form textarea {
    width: 100%;
    margin: 0px;
    background: rgba(0,0,0,0.6);
}
.style-dark input[type="submit"] {
    background: #2b7eb2;
    padding: 18px 36px;
    display: block;
    width:auto!important;
    color: #fff!important;
    text-align: center;
    border:none;
}
.style-dark input[type="submit"]:hover {
    background-color: #1e71a5 !important;
    border-color: #1e71a5 !important;
}

/* BOXED TEXT-BLOGS */
.boxedText .uncode_text_column {
    box-shadow: 0px 10px 10px rgb(0 0 0 / 10%);
    padding: 18px;
}

/* PDF listed link styles */
.pdfLink .uncode_text_column ul {
    padding:0px!important;
}
.pdfLink .uncode_text_column li {
    list-style: none;
    padding:0px;
}
.pdfLink .uncode_text_column li a {
    padding: 5px 10px;
    display: block;
}
.pdfLink .uncode_text_column li a:before {
    content: '\f1c1';
    font-family: 'uncodeicon';
    margin-right: 8px;
    font-size: 20px!important;
    vertical-align: middle;
}
.pdfLink .uncode_text_column li a:hover {
    background:#f4f4f4;
}

/* YITH AJAX FILTER */
.blockUI.blockOverlay {
  z-index: 1000;
  border: none;
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background:url(https://maler-test-woo-tg25gq.e-business.fi/wp-content/uploads/2021/10/loading.gif) center center no-repeat rgba(255, 255, 255, 0.7)!important;
  opacity: 1!important;
  cursor: wait;
  position: fixed!important;
}