/* 
Theme Name: Silvi Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Allek Perfenly
Author URI: #
Template: hello-elementor
Version: 2.0.0
Text Domain: silviins
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

body > div{
    max-width: 100%;
}
body.admin-bar #masthead {
	transform: translateY(32px);
}
#masthead {
    transition: .6s;
}
#masthead.affix-top {
    background-color: transparent;
}
#masthead.menu-hidden {
    top: -100%;
}

svg * {
    mask: add;
}

.silvi-table table {
    border-collapse: unset;
}

.silvi-table table th:not(:last-child),
.silvi-table table td:not(:last-child) {
    border-right: 0;
}

.silvi-table table td {
    border-top: 0;
}

.silvi-table table tbody tr:hover>td,
.silvi-table table tbody tr:hover>th,
.silvi-table table tbody>tr>td,
.silvi-table table tbody>tr>th {
    background-color: #ffffff !important;
}

.silvi-table table th {
    font-weight: 500 !important;
}

.silvi-table table tr:first-child td:first-child,
.silvi-table table tr:first-child th:first-child {
    border-top-left-radius: 10px;
}

.silvi-table table tr:first-child td:last-child,
.silvi-table table tr:first-child th:last-child {
    border-top-right-radius: 10px;
}

.silvi-table table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

.silvi-table table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

.price {
    display: flex !important;
    flex-direction: column;
    line-height: 30px !important;
}

.wc-block-components-button {
    background-color: var(--e-global-color-secondary);
    color: var(--e-global-color-7ad45694);
    border: 0;
}

.wc-block-components-button:hover {
    background-color: var(--e-global-color-accent);
    font-weight: bold;
    color: var(--e-global-color-secondary);
}

.wc-block-components-product-name {
    font-weight: bold;
    color: var(--e-global-color-secondary);
}

.wc-block-components-totals-item__value span,
.wc-block-cart-item__total .wc-block-formatted-money-amount {
    font-size: 2em;
}

.blur-bgr::before {
    filter: brightness(120%) contrast(100%) saturate(30%) blur(6px) hue-rotate(0deg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* Gallery */
body:not(.home) .gallery-columns-2 { column-count: 2;}
body:not(.home) .gallery-columns-3 { column-count: 3;}
body:not(.home) .gallery-columns-4 { column-count: 4;}
body:not(.home) .gallery-columns-5 { column-count: 5;}
body:not(.home) .gallery-columns-6 { column-count: 6;}
body:not(.home) .gallery-columns-7 { column-count: 7;}
body:not(.home) .gallery-columns-8 { column-count: 8;}
body:not(.home) .gallery-columns-9 { column-count: 9;}

@media only screen and (max-width: 768px) {
    body:not(.home) .gallery-columns-2,
    body:not(.home) .gallery-columns-3,
    body:not(.home) .gallery-columns-4,
    body:not(.home) .gallery-columns-5,
    body:not(.home) .gallery-columns-6,
    body:not(.home) .gallery-columns-7,
    body:not(.home) .gallery-columns-8,
    body:not(.home) .gallery-columns-9 {
        column-count: 2;
    }
}
@media only screen and (max-width: 460px) {
    body:not(.home) .gallery-columns-2,
    body:not(.home) .gallery-columns-3,
    body:not(.home) .gallery-columns-4,
    body:not(.home) .gallery-columns-5,
    body:not(.home) .gallery-columns-6,
    body:not(.home) .gallery-columns-7,
    body:not(.home) .gallery-columns-8,
    body:not(.home) .gallery-columns-9 {
        column-count: 1;
    }
}
