.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1400px;
}

body.home .page-head, body.blog .page-head, body.post-template-default .page-head { display:none; }
.elementor-widget-container p a { color:#d1221f; }
.elementor-widget-container p a:hover { color:#d1221f; text-decoration:underline; }
.hide-element { display:none!important;}

#toTop { color:#c52615; }
#toTop:hover { color:#c52615; opacity:0.7;  }
.jet-mega-menu-sub-menu { margin-top: 48px; border-top:solid 1px #ddd; border-right:solid 1px #ddd; border-left:solid 1px #ddd; border-bottom:solid 1px #ddd; min-width: 275px; }

.jet-sticky-section--stuck .jet-mega-menu-sub-menu { margin-top:48px; }

.jet-mega-menu-sub-menu .jet-mega-menu-item__inner a { color:#000; font-weight:500;}
.jet-mega-menu-sub-menu .jet-mega-menu-item__inner a:hover { color:#c52615; }
.jet-mega-menu-sub-menu__list { padding-top:12px!important; padding-bottom:12px!important; }
.jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-item__dropdown { font-size:14px;}

.elementor-widget-text-editor p:last-child { margin-bottom:0px; }
.elementor-widget-text-editor p strong, .elementor-widget-text-editor p b { font-weight:500; }
.elementor-widget-text-editor p a { color:#cf261f; }
.elementor-widget-text-editor p a { color:#cf261f; text-decoration:underline; }

.elementor-12 .elementor-element.elementor-element-a1143d3 .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item:last-child { margin-right:0px!important; }

body.home .page-head { display:none; }

#jet-menu-item-541 .top-level-link { margin-right:0px!important; }

.swiper-slide-contents { padding:30px; background-color:rgb(0, 0, 0,0.3) }


.elementor-column {
    padding-left: 15px;
    padding-right: 15px;
  }

.full-width .elementor-column {
    padding-left: 0px;
    padding-right: 0px;
  }

.jet-sticky-section--stuck {
    box-shadow: 0px 3px 4px #0000001A;
}

@media (max-width: 767px) {
  .full-width .elementor-column {
    padding-left: 0px!important;
    padding-right: 0px!important;
  }
	
	 .jet-sticky-section--stuck {
        box-shadow: none;
        border-width: 0px 0px 6px 0px !important;
		border-color:#fff!important;
    }
	
.elementor-1381 .elementor-element.elementor-global-1792 .jet-nav--horizontal { border-bottom:solid 1px #ddd; border-left:solid 1px #ddd; border-right:solid 1px #ddd;}
}



.logo img { 
  -moz-transition: all .4s ease-in-out;
  -webkit-transform: translate3d(0,0,0);
  transition: all .4s ease-in-out; 
}

.elementor-12 .elementor-element.elementor-element-b128aad img { 
  -moz-transition: all .4s ease-in-out;
  -webkit-transform: translate3d(0,0,0);
  transition: all .4s ease-in-out; 
}

.jet-sticky-section--stuck .logo img { 
  max-width: 75%; 
  -moz-transition: all .4s ease-in-out; 
  -webkit-transform: translate3d(0,0,0); 
  transition: all .4s ease-in-out; 
}

.page-preloader {
  border-top-color: #000;
  border-right-color: #000;
}

.elementor-menu-anchor { 
  display: block;
  position: relative;
  top: -125px;
  visibility: hidden;
}

.mabel-bhi-businesshours {
    color: #000;
    text-transform: none;
    line-height: 18px;
    font-size: 15px;
}

.mabel-bhi-businesshours tr td:first-child {
    font-weight: 600;
    padding-right: 20px;
}

.mabel-bhi-businesshours tr td {
    padding: 4px;
}

.mabel-bhi-businesshours tr.mbhi-is-current {
    font-weight: 600;
    color: #c52615;
}


/*Products*/

.ewd-upcp-single-product-tags { margin-top:18px!important;}
.ewd-upcp-single-product-description ul.wp-block-list { margin-bottom:18px; margin-top:12px;}
.ewd-upcp-single-product-description ul.wp-block-list li { margin-bottom:8px}
.ewd-upcp-single-product-price span {
    margin-right: 12px!important;
    border: solid 1px rgb(199, 40, 34, 0.5)!important;
    padding: 4px!important;
}

.ewd-upcp-catalog-sidebar-content, .ewd-upcp-catalog-sidebar-title { display:none!important; }


.ewd-upcp-single-product-description {
    margin: 0px 0px!important;
}
.ewd-upcp-catalog-header-bar { display:none; }

.ewd-upcp-catalog-product-thumbnail { border:solid 1px #fff!important; }
.ewd-upcp-single-product-thumbnails {
    width: 150px!important;
    height: 480px;
    overflow-y: auto!important;
}


.ewd-upcp-single-product-details-title-and-price,
.ewd-upcp-standard-product-page .ewd-upcp-single-product-details-description { float:left!important; }
.ewd-upcp-catalog-product-price span {font-weight: 500; }
.ewd-upcp-catalog-category-label,
.ewd-upcp-catalog-sidebarX { display:none!important; }
.ewd-upcp-catalog-product-thumbnail .ewd-upcp-catalog-product-price { color:#c52615!important; }

.ewd-upcp-catalog-product-thumbnail-image-div img {
    min-height: 277px;
    object-fit: cover !important;
	border:solid 1px #ddd !important;
}

.ewd-upcp-catalog-product-thumbnail-body-div a {
    text-transform: none!important;
    font-weight: 500;
	text-align:left!important;
    color: #000!important;
}
.ewd-upcp-catalog-product-thumbnail .ewd-upcp-catalog-product-price, .ewd-upcp-catalog-product-price span { text-align:left!important; }
.ewd-upcp-catalog-product-thumbnail-body-div a:hover { color:#c52615!important; }

.ewd-upcp-catalog-display { width: 100%!important; }
:where(.wp-block-columns.is-layout-flex) {
    gap: 0em;
}
.wp-block-table table { width:100%!important; }
.wp-block-table table td, .wp-block-table table th { padding:8px 18px!important;}
.wp-block-table table th { background: #eaecf7; border-top: solid 1px #fff; font-weight:500; }
.wp-block-table table td {padding-left: 12px !important; font-size: 16px; line-height: 22px; border: solid 1px #eaecf7;
    border-left: 0px;}

.ewd-upcp-standard-product-page .ewd-upcp-single-product-details-description { padding-top:0px!important;}
.ewd-upcp-single-product-images-divX { display:none!important; }

.ewd-upcp-single-product-price span:last-of-type {
    text-decoration: none;
    background: #c52615;
    padding: 3px 12px;
    color: #fff;
}

.ewd-upcp-single-product-details-description, .ewd-upcp-single-product-details, .ewd-upcp-single-product-details-title-and-price,
.ewd-upcp-standard-product-page .ewd-upcp-single-product-details-description { width:90%!important; }
.ewd-upcp-sale-price { background: #d1221f!important; }


articleA .elementor-1381 .elementor-element.elementor-element-ff3d6d9,
articleA .elementor-element .elementor-element-026f252,
articleA .elementor-element.elementor-element-6809e13,
articleA .elementor-element .elementor-element-46ad958 { display:none!important; }

article ul li strong, article p strong { font-weight:500; }
/*END*/

.disabled.right { text-align:center!important; }
@media (max-width: 767px) {
  .elementor-menu-anchor { 
    display: block;
    position: relative;
    top: -125px;
    visibility: hidden;
  }
	
	.m-full-width .elementor-column {
    	padding-left: 0px!important;
    	padding-right: 0px!important;
  }
	
	.wp-block-table table { width:100%!important; }
	
	.ewd-upcp-standard-product-page .ewd-upcp-single-product-details-description { width:100%!important; }
	
	.page-menu .m-layout-tablet .jet-nav--horizontal { border-bottom:solid 2px #ddd; }
	
	.elementor-column {
    padding-left: 8px;
    padding-right: 8px;
  }
}

.inquire .wpcf7-form textarea {width: 100%!important; }

.inquire .wpcf7-form input[type="text"], .inquire .wpcf7-form input[type="email"], .inquire .wpcf7-form input[type="textarea"] {
    width: 100%!important; 
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450!important;
}
.wpcf7-response-output.success { border:solid 2px green!important; border-color:green!important;}

.elementor-2170 .elementor-element.elementor-element-0095034 .disabled {
    border-color: #fff !important;
    padding: 0px !important;
    border-width: 0px !important;
}

.elementor-2170 .elementor-element.elementor-element-0095034 .disabled 
{
	background: #eaecf8;
    padding: 6px !important;
	font-weight:400!important;
}
.hide-this { display:none; }

.ewd-upcp-single-product-breadcrumbs { display:none; }
@media (max-width: 520px) {
	.jet-sticky-section--stuck { border-bottom:solid 8px #fff; }
	
	 .elementor-column {
    	padding-left: 8px!important;
    	padding-right: 8px!important;
  }
	
	.elementor-post__excerpt { display:none!important; }
	
	.swiper-slide-contents .elementor-slide-description { display:none!important; }
	.swiper-slide-contents .elementor-slide-heading { display:block; }
	.swiper-slide-contents { background-color:none; }
	
	 .ewd-upcp-single-product-details {
        width: 100% !important;
    }
	
	.ewd-upcp-standard-product-page .ewd-upcp-single-product-title { font-size:1.1em!important; line-height:1.3em!important;  margin-bottom: 18px !important; }
	
	.ewd-upcp-single-product-thumbnails {
    max-height: 200px;
    overflow-y: scroll;
}

}




.blocks-gallery-grid:not(.has-nested-images),.wp-block-gallery:not(.has-nested-images) {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    margin: 0;
    padding: 0
}

.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    margin: 0 1em 1em 0;
    position: relative;
    width: calc(50% - 1em)
}

.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n) {
    margin-right: 0
}

.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figure,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figure,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figure,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figure {
    align-items: flex-end;
    display: flex;
    height: 100%;
    justify-content: flex-start;
    margin: 0
}

.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image img,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item img {
    display: block;
    height: auto;
    max-width: 100%;
    width: auto
}

.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption {
    background: linear-gradient(0deg,#000000b3,#0000004d 70%,#0000);
    bottom: 0;
    box-sizing: border-box;
    color: #fff;
    font-size: .8em;
    margin: 0;
    max-height: 100%;
    overflow: auto;
    padding: 3em .77em .7em;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 2
}

.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption img,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption img {
    display: inline
}

.blocks-gallery-grid:not(.has-nested-images) figcaption,.wp-block-gallery:not(.has-nested-images) figcaption {
    flex-grow: 1
}

.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image a,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image img,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item a,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item img,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image a,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image img,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item a,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item img {
    flex: 1;
    height: 100%;
    object-fit: cover;
    width: 100%
}

.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item {
    margin-right: 0;
    width: 100%
}

@media (min-width: 600px) {
    .blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item {
        margin-right:1em;
        width: calc(33.33333% - .66667em)
    }

    .blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item {
        margin-right: 1em;
        width: calc(25% - .75em)
    }

    .blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item {
        margin-right: 1em;
        width: calc(20% - .8em)
    }

    .blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item {
        margin-right: 1em;
        width: calc(16.66667% - .83333em)
    }

    .blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item {
        margin-right: 1em;
        width: calc(14.28571% - .85714em)
    }

    .blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item {
        margin-right: 1em;
        width: calc(12.5% - .875em)
    }

    .blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n),.blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n),.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n),.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n),.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n),.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n),.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n) {
        margin-right: 0
    }
}

.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:last-child,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:last-child,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:last-child,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:last-child {
    margin-right: 0
}

.blocks-gallery-grid:not(.has-nested-images).alignleft,.blocks-gallery-grid:not(.has-nested-images).alignright,.wp-block-gallery:not(.has-nested-images).alignleft,.wp-block-gallery:not(.has-nested-images).alignright {
    max-width: 420px;
    width: 100%
}

.blocks-gallery-grid:not(.has-nested-images).aligncenter .blocks-gallery-item figure,.wp-block-gallery:not(.has-nested-images).aligncenter .blocks-gallery-item figure {
    justify-content: center
}

.wp-block-gallery:not(.is-cropped) .blocks-gallery-item {
    align-self: flex-start
}

figure.wp-block-gallery.has-nested-images {
    align-items: normal
}

.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
    margin: 0;
    width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px)/2)
}

.wp-block-gallery.has-nested-images figure.wp-block-image {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    max-width: 100%;
    position: relative
}

.wp-block-gallery.has-nested-images figure.wp-block-image>a,.wp-block-gallery.has-nested-images figure.wp-block-image>div {
    flex-direction: column;
    flex-grow: 1;
    margin: 0
}

.wp-block-gallery.has-nested-images figure.wp-block-image img {
    display: block;
    height: auto;
    max-width: 100%!important;
	border:solid 1px #ddd;
    width: auto
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    background: linear-gradient(0deg,#000000b3,#0000004d 70%,#0000);
    bottom: 0;
    box-sizing: border-box;
    color: #fff;
    font-size: 13px;
    left: 0;
    margin-bottom: 0;
    max-height: 60%;
    overflow: auto;
    padding: 0 8px 8px;
    position: absolute;
    scrollbar-color: #0000 #0000;
    scrollbar-gutter: stable both-edges;
    scrollbar-width: thin;
    text-align: center;
    width: 100%;
    will-change: transform
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar {
    height: 12px;
    width: 12px
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar-track {
    background-color: initial
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar-thumb {
    background-clip: padding-box;
    background-color: initial;
    border: 3px solid #0000;
    border-radius: 8px
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus-within::-webkit-scrollbar-thumb,.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus::-webkit-scrollbar-thumb,.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:hover::-webkit-scrollbar-thumb {
    background-color: #fffc
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus,.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus-within,.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:hover {
    scrollbar-color: #fffc #0000
}

@media (hover: none) {
    .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
        scrollbar-color:#fffc #0000
    }
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img {
    display: inline
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption a {
    color: inherit
}

.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border img {
    box-sizing: border-box
}

.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border>a,.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border>div,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>a,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>div {
    flex: 1 1 auto
}

.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border figcaption,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded figcaption {
    background: none;
    color: inherit;
    flex: initial;
    margin: 0;
    padding: 10px 10px 9px;
    position: relative
}

.wp-block-gallery.has-nested-images figcaption {
    flex-basis: 100%;
    flex-grow: 1;
    text-align: center
}

.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) {
    margin-bottom: auto;
    margin-top: 0
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) {
    align-self: inherit
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>div:not(.components-drop-zone) {
    display: flex
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
    flex: 1 0 0%;
    height: 100%;
    object-fit: cover;
    width: 100%
}

.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image) {
    width: 100%
}

@media (min-width: 600px) {
    .wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image) {
        width:calc(33.33333% - var(--wp--style--unstable-gallery-gap, 16px)*.66667)
    }

    .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image) {
        width: calc(25% - var(--wp--style--unstable-gallery-gap, 16px)*.75)
    }

    .wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image) {
        width: calc(20% - var(--wp--style--unstable-gallery-gap, 16px)*.8)
    }

    .wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image) {
        width: calc(16.66667% - var(--wp--style--unstable-gallery-gap, 16px)*.83333)
    }

    .wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image) {
        width: calc(14.28571% - var(--wp--style--unstable-gallery-gap, 16px)*.85714)
    }

    .wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image) {
        width: calc(12.5% - var(--wp--style--unstable-gallery-gap, 16px)*.875)
    }

    .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) {
        width: calc(33.33% - var(--wp--style--unstable-gallery-gap, 16px)*.66667)
    }

    .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)~figure.wp-block-image:not(#individual-image) {
        width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px)*.5)
    }

    .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:last-child {
        width: 100%
    }
}

.wp-block-gallery.has-nested-images.alignleft,.wp-block-gallery.has-nested-images.alignright {
    max-width: 420px;
    width: 100%
}

.wp-block-gallery.has-nested-images.aligncenter {
    justify-content: center
}