/*
 Theme Name:   Megastrap Child
 Author:       Konstantin
 Template:     megastrap
*/

body {
    font-family: 'Roboto', sans-serif;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: 'Cinzel';
}

ul.navbar-nav li.menu-item a {
    text-transform: uppercase;
    font-weight: 300;
}

hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots),
hr.wp-block-separator.is-style-default {
    opacity: 1;
    width: 10rem;
	max-width: 100%;
    border-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
	nav.navbar.navbar-megastrap-default {
		padding-top: 1rem;
		padding-bottom: 1rem;
	}
	.fixed-navbar-placehoder.m-fixed-navbar-placeholder {
		min-height: 4.9rem!important;
	}
}
nav.navbar .dropdown-menu {
	border-radius: 0;
}
nav.navbar:active .navbar-toggler,
nav.navbar:hover .navbar-toggler,
nav.navbar .navbar-toggler {
	/*border: none;*/
	box-shadow: none;
}
nav.navbar .offcanvas {
    max-width: 90%;
}
nav.navbar.navbar-mobile a.nav-link {
    text-align: center;
    font-size: 1.4rem;
}
nav.navbar.navbar-mobile ul.dropdown-menu li.menu-item {
    /* text-align: center; */
    margin: 0.5rem 0.35rem 0.35rem 0.75rem;
    line-height: 1.2;
	font-size: 1.05rem;
}
nav.navbar.navbar-mobile ul.dropdown-menu li.menu-item a:before {
    content: "→ ";
	color: var(--bs-primary);
}
nav.navbar.navbar-mobile .dropdown-menu {
	border-radius: 0;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

/* image style */
figure.wp-block-image.size-full.is-style-shadow {
    position: relative;
    max-width: calc(100% - 1.5rem);
    margin-bottom: 1.5rem;
	z-index: 1;
}
figure.wp-block-image.size-full.is-style-shadow:before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: 5rem;
    width: calc(100% - 3.5rem);
    height: 100%;
    background-color: var(--bs-secondary);
    z-index: -1;
}
figure.block-editor-block-list__block.wp-block-image.size-full.is-style-shadow:before {
	z-index: 0;
}
.link-inline a {
	color: inherit;
	text-decoration: none;
}
/* white lines on columb */
.is-style-lines-white.block-editor-block-list__block .m-column-section-half-edit,
.is-style-lines-white {
    position: relative;
}
.is-style-lines-white.block-editor-block-list__block .m-column-section-half-edit:before,
.is-style-lines-white:not(.block-editor-block-list__block):before {
    content: "";
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    width: 12rem;
    height: 7rem;
    border-left: 1px solid white;
    border-bottom: 1px solid white;
    max-width: 40%;
    max-height: 20%;
}
.is-style-lines-white.block-editor-block-list__block .m-column-section-half-edit:after,
.is-style-lines-white:not(.block-editor-block-list__block):after {
    content: "";
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 12rem;
    height: 7rem;
    border-right: 1px solid white;
    border-top: 1px solid white;
    max-width: 40%;
    max-height: 20%;
}

/* small inline img v-align */
p>img, p>svg {
    vertical-align: -0.08em;
}
/* price p tags */
.price-rows p {
	margin-top: 0;
	margin-bottom: 0;
}

/* fancy lead */
.wp-block-group.is-fancy-lead.wp-block-group-is-layout-constrained>.wp-block-group__inner-container>* {
	line-height: 1; 
	margin: 0 1rem;
}
.wp-block-group.is-fancy-lead.wp-block-group-is-layout-constrained {
	line-height: 1;
	text-align: center;
	overflow: hidden;
	margin-bottom: 0.5rem;
}
.wp-block-group.is-fancy-lead.wp-block-group-is-layout-constrained>.wp-block-group__inner-container {
	display: inline-block;
	position: relative; 
}
.wp-block-group.is-fancy-lead.wp-block-group-is-layout-constrained>.wp-block-group__inner-container:before,
.wp-block-group.is-fancy-lead.wp-block-group-is-layout-constrained>.wp-block-group__inner-container:after {
	content: "";
	position: absolute;
	height: 5px;
	border-bottom: 1px solid currentcolor;
	border-top: 1px solid currentcolor;
	top: 50%;
	transform: translateY(-50%);
	width: 7rem;
}
.wp-block-group.is-fancy-lead.wp-block-group-is-layout-constrained>.wp-block-group__inner-container:before {
	right: 100%;
	margin-right: 15px;
}
.wp-block-group.is-fancy-lead.wp-block-group-is-layout-constrained>.wp-block-group__inner-container:after {
	left: 100%;
	margin-left: 15px;
}

/* PLL switcher */
ul.revolution-pll-switcher .lang-item {
	font-size: 0.875rem;
	font-weight: 300;
}
ul.revolution-pll-switcher.revolution-pll-switcher-mobile .lang-item {
	font-size: 1rem;
	font-weight: 300;
	text-transform: uppercase;
}
ul.revolution-pll-switcher .lang-item>a {
	text-decoration: none;
}
ul.revolution-pll-switcher .lang-item:not(:last-child):after {
    content: "/";
    margin-left: 0.15em;
    margin-right: 0.15rem;
}

/* hepers classes */
.no-underline-link a {
	text-decoration: none;
	color: inherit;
}
.no-underline-link a:hover {
	/*text-decoration: underline;*/
	color: inherit;
}

.zoom:not(.block-editor-block-list__block) img {
  position: relative;
	transition: transform .2s; /* Animation */
}
.zoom:not(.block-editor-block-list__block):hover img {
  transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

/* Check list style */
.is-style-check-list {
    list-style-type: '✓ ';
    padding-left: 1.25rem;
    line-height: 1.6;
}
ul.is-style-check-list li::marker {
    color: inherit;
    font-size: 1.2em;
    font-weight: bold;
}