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

body {
    font-family: "Inter Tight", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    /*font-weight: 500;*/
}

#main-nav button.navbar-toggler {
    border: 0!important;
    box-shadow: none!important;
    margin-left: 0.5rem;
	padding: 0.35rem 0.5rem;
}
#main-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

nav#main-nav {
  --bs-navbar-color: rgba(0, 0, 0, 0.55);
  --bs-navbar-hover-color: rgba(0, 0, 0, 0.7);
  --bs-navbar-disabled-color: rgba(0, 0, 0, 0.3);
  --bs-navbar-active-color: rgba(0, 0, 0, 0.55);
}

nav#main-nav .nav-link:hover {
	color: var(--bs-navbar-hover-color);
}

.img-rounded img, img.img-rounded {
    border-radius: 0.75rem!important;
}

.rounded-3 {
    border-radius: 0.75rem!important;
}

.form-control::placeholder {
    color: #a4a4a4 !important;
    opacity: 1;
}
.form-floating > .form-control::placeholder {
    color: #a4a4a4 !important;
}

a.link-on-hover {
	text-decoration: none;
}
a.link-on-hover:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
    text-underline-offset: 0.45em;
}
.nav-links a {
	text-underline-offset: 0.45em;
}

body.page-id-908,
body.page-id-6,
body.page-id-29,
body.page-id-21 {
    background-color: #1e1e20;
    color: white;
}

.shadow-secondary {
    box-shadow: 5px 4px 0 var(--bs-warning);
}

.text-shadow-light {
    text-shadow: 0 0 30px #ffffff
}
.text-shadow-light-sm {
    text-shadow: 0 0 10px #ffffff
}

.text-shadow-dark {
    text-shadow: 0 0 30px #000000
}
.text-shadow-dark-sm {
    text-shadow: 0 0 10px #000000
}

.wp-block-separator {
    width: 100%;
    border-width: 1px;
    opacity: 0.25;
}

mark.has-inline-color {
    padding: 0;
}

/* text in padding fix */
@media (max-width: 575px) {
	.pt-1.pb-1, .py-1, .p-1 {
		padding-top: 0.295rem !important;
		padding-bottom: 0.225rem !important;
	}
	.pt-2.pb-2, .py-2, .p-2 {
		padding-top: 0.6rem !important;
		padding-bottom: 0.45rem !important;
	}
}

@media (min-width: 576px) {
    .main-slider h1.header-slider {
        font-size: calc(1.475rem + 2.7vw);
        font-weight: 600;
        line-height: 1.2;
    }
}
@media (min-width: 1400px) {
    .main-slider h1.header-slider {
        font-size: 3.5rem;
    }
}

ul.two-columns {
    column-count: 2;
    column-gap: 1rem;
}
ul.two-columns.no-break > li {
    -webkit-column-break-inside: avoid;
    break-inside: avoid;
}

.button-bordered-fade {
	position: relative;
}
.button-bordered-fade:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(to bottom, white, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
}

@media (min-width: 1200px) and (max-width: 2300px) and (orientation: landscape) {
    .full-screen-adaptive { 
        height: 100vh !important; 
    }
}
@media (max-width: 600px) and (min-height: 700px) and (orientation: portrait) {
    .full-screen-adaptive{ 
        height: 100vh !important; 
    }
}

@media (max-width: 991px) {
    .lg-grid-lines .col-content {
        border-left: 0 !important;
        border-right: 0 !important;
    }
    .lg-grid-lines .m-col:not(:last-child) .col-content {
        border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-dark) !important;
    }
    .lg-grid-lines .m-col:last-child .col-content {
        border-bottom: unset !important;
    }
}


/* Check list style */
.is-style-check-list,
.is-style-check-list-2 {
    list-style-type: '✓ ';
    padding-left: 1.25rem;
    line-height: 1.6;
}
ul.is-style-check-list li::marker,
ul.is-style-check-list-2 li::marker {
    color: gray;
    font-size: 1em;
    font-weight: bold;
}
ul.is-style-check-list-2 {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}
.wp-block-image.is-style-rounded-custom img {
    border-radius: 1rem !important;
}

.gradient-cover .wp-block-cover__background {
    background: linear-gradient(to right,  #000000 0%, #000000 100%)!important;
}

.pills-custom ul.nav.m-tabs.nav-pills.nav-fill {
    border: 1px solid lightgray;
    border-radius: var(--bs-nav-pills-border-radius);
    padding: 4px;
    background-color: #e0e0e0;
	line-height: 1.25;
}
.pills-custom.m-bootstrap-tabs .nav-pills.nav-fill .nav-item {
    flex: 1 1 0;
}

/* Slider Block styles
--------------------------------------*/
.is-style-icons-carusel figure.k-block-slick-classic-item img.k-block-slick-classic-image {
    aspect-ratio: 4/3;
    object-fit: contain;
    object-fit: scale-down;
    padding: 0 1rem;
}

/* Shorcode Carouser Styles
---------------------------------------*/
.modal-shortcode-carousel-ratio {
    aspect-ratio: 16/9;
    object-fit: cover;
    padding: 0;
}

img.shortcode-card {
    aspect-ratio: 4/3;
    object-fit: cover;
    padding: 0;
}

/* Lead Form
---------------------------------------*/
.lead-input {
    position: relative;
}
.lead-input>i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.lead-input input::placeholder {
    color: inherit;
}

/* Testimonial
---------------------------------------*/
.testimonial-video-wrapper iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    border-radius: 1rem;
}
@media (min-width: 992px) {
    .testimonial-list-item:nth-child(even) .testimonial-content-wrapper {
        order:1;
    }
    .testimonial-list-item:nth-child(even) .testimonial-video-wrapper {
        order:2;
    }
}

/* WOW delay classes
---------------------------------------*/
/* Delay Utilities */
.delay-2000 { animation-delay: 2s !important; }
.delay-1750 { animation-delay: 1.75s !important; }
.delay-1500 { animation-delay: 1.5s !important; }
.delay-1255 { animation-delay: 1.25s !important; }
.delay-1000 { animation-delay: 1s !important; }
.delay-750 { animation-delay: 0.75s !important; }
.delay-500 { animation-delay: 0.5s !important; }
.delay-250 { animation-delay: 0.25s !important; }
@media (max-width: 991px) {
	.delay-2000 { animation-delay: unset !important; }
	.delay-1750 { animation-delay: unset !important; }
	.delay-1500 { animation-delay: unset !important; }
	.delay-1255 { animation-delay: unset !important; }
	.delay-1000 { animation-delay: unset !important; }
	.delay-750 { animation-delay: unset !important; }
	.delay-500 { animation-delay: unset !important; }
	.delay-250 { animation-delay: unset !important; }
}
/* Duration Utilities */
.fast { animation-duration: 0.5s !important; }
.slow { animation-duration: 2s !important; }

/* FOOTER FORM color
---------------------------------------*/
#footer-form .btn-primary {
    --bs-btn-color: #000;
    --bs-btn-bg: #f4f4f4;
    --bs-btn-border-color: #f4f4f4;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #cfcfcf;
    --bs-btn-hover-border-color: #c3c3c3;
    --bs-btn-focus-shadow-rgb: 207, 207, 207;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #c3c3c3;
    --bs-btn-active-border-color: #b7b7b7;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #f4f4f4;
    --bs-btn-disabled-border-color: #f4f4f4;
}
#footer-form .form-control {
    color: #171717;
    background-color: #ffffff;
    border: 1px solid #ffffff;
}

/* Number Accordion Block Styline
---------------------------------------*/
.accordion-numbered .accordion-button:not(.collapsed)::after {
    transform: unset;
}
div:has(.accordion-numbered) {
  counter-reset: accordion-counter;
}
.accordion-numbered .accordion-button::after {
    counter-increment: accordion-counter;
    content: "/0" counter(accordion-counter);
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10%;
    color: inherit;
    font-size: 2rem;
    font-weight: 300;
    opacity: 0.5;
}
@media (min-width: 992px) {
    .accordion-numbered .accordion-button::after {
        margin-left: 40%;
    }
}
@media (min-width: 1400px) {
    .accordion-numbered .accordion-button::after {
        margin-left: 50%;
    }
}
.accordion-numbered .accordion-button {
    --bs-accordion-inner-border-radius: calc(var(--bs-accordion-border-radius) - 3px);
    justify-content: space-between;
    line-height: 1;
}

/* Style pagination function
---------------------------------------*/
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    margin-top: 2rem;
    justify-content: center;
}
.pagination .page-numbers {
    position: relative;
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    color: var(--bs-primary, #0d6efd);
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    margin-left: -1px;
}
.pagination .page-numbers:first-child {
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
    margin-left: 0;
}
.pagination .page-numbers:last-child {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}
.pagination a.page-numbers:hover {
    z-index: 2;
    color: var(--bs-primary, #0d6efd);
    background-color: #e9ecef;
    border-color: #dee2e6;
}
.pagination .page-numbers.current {
    z-index: 3;
    color: #fff;
    background-color: var(--bs-primary, #0d6efd);
    border-color: var(--bs-primary, #0d6efd);
}
.pagination .dots {
    color: #6c757d;
    pointer-events: none;
}


/* SCertificate slider syles
---------------------------------------*/
.slider-cert .slick-slide {
    transition: all 0.5s ease-in-out;
    transform: scale(0.45);
    opacity: 0.3; 
}
.slider-cert .slick-center + .slick-slide {
    transform: scale(0.65);
    opacity: 0.6;
}
.slider-cert .slick-slide.slick-active:has(+ .slick-center) {
    transform: scale(0.65);
    opacity: 0.6;
}
.slider-cert .slick-center {
    opacity: 1 !important;
    transform: scale(1) !important;
    z-index: 10; 
}
.slider-cert .slick-track {
    display: flex;
    align-items: center;
}

/* Sliders Additional Styles
---------------------------------------*/
.upper-slide-buttons .slick-next {
    right: 1rem !important;
    left: unset !important;
    top: -3.5rem !important;
    bottom: unset !important;
}
.upper-slide-buttons .slick-prev {
    right: 5rem !important;
    left: unset !important;
    top: -3.5rem !important;
    bottom: unset !important;
}
.upper-slide-buttons .slick-next::before {
    content: "\f138";
}
.upper-slide-buttons .slick-prev::before {
    content: "\f12f";
}
.upper-slide-buttons .slick-prev::before,
.upper-slide-buttons .slick-next::before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    transform: unset;
    font-size: 2rem;
    border: unset;
}


/* List in styles elements
---------------------------------------*/
.inline-list, .system-carousel ul {
  list-style: none;
  padding-left: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}
.system-carousel ul {
  margin-top: 0.75rem;
}
.inline-list li, .system-carousel ul li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem; 
}
.inline-list li::before, .system-carousel ul li::before {
  font-family: "bootstrap-icons" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f26a"; 
  color: inherit; 
}

/* Line numbers
---------------------------------------*/
.line-numbers {
    position: relative;
}
.line-numbers img {
    position: relative;
    z-index: 2;
}
.line-numbers:before {
    position: absolute;
    border-left: 1px solid #5d5d5d;
    content: "";
    top: 1rem;
    bottom: calc(25% - 2rem);
    left: 32px;
    right: unset;
    z-index: 1;
}

@media (min-width: 768px) {
    .line-numbers {
        position: relative;
    }
    .line-numbers img {
        position: relative;
        z-index: 2;
    }
    .line-numbers:before {
        position: absolute;
        border-bottom: 1px solid #5d5d5d;
        content: "";
        top: 42px;
        bottom: unset;
        left: 1rem;
        right: calc(25% - 2rem);
        z-index: 1;
    }
}

/* Line numbers
---------------------------------------*/
.number-accordion {
  counter-reset: accordion-number; 
}
.number-accordion .accordion-button::before {
  counter-increment: accordion-number; 
  content: counter(accordion-number, decimal-leading-zero) " "; 
  margin-right: 10px;
  font-weight: normal;
  opacity: 0.5; 
}

/* Sliders Additional Styles
---------------------------------------*/
.upper-slide-buttons .slick-next {
    right: -0.75rem !important;
    left: unset !important;
    top: -3.5rem !important;
    bottom: unset !important;
}
.upper-slide-buttons .slick-prev {
    right: 3.5rem !important;
    left: unset !important;
    top: -3.5rem !important;
    bottom: unset !important;
}
.upper-slide-buttons .slick-next::before {
    content: "\f135";
}
.upper-slide-buttons .slick-prev::before {
    content: "\f12c";
}
.upper-slide-buttons .slick-prev::before,
.upper-slide-buttons .slick-next::before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    transform: unset;
    font-size: 1.5rem;
    border: unset;
	border: 1px solid black;
	width: initial;
	height: initial;
	border-radius: 0.375rem;
	padding: 0.25rem
}

/* Price list Additional Styles
---------------------------------------*/
.custom-price-table-container {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.cpt-table-header {
	letter-spacing: 0.5px;
}
.cpt-price-row {
	position: relative;
    transition: transform 0.2s ease-in-out;
}
.cpt-price-row:hover {
    background-color: #e0e0e0;
    transform: scale(1.03);
}
.cpt-price-row:hover .cpt-order-btn {
	background-color: #202020;
	color: #fff;
}
@media (max-width: 575px) {
	.cpt-table-header, .cpt-price-row {
		font-size: 0.875rem;
	}
	.cpt-price-row:hover {
		transform: initial;
	}
}

/* Text slider carousel over
---------------------------------------*/
.system-item-carousel.carousel-item::before {
    content: attr(data-text);
    position: absolute;
    top: 1%;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(0,0,0,0.05);
    text-transform: uppercase;
    font-size: 13rem;
    line-height: 1;
    font-weight: 600;
    z-index: 0;
    
}
@media (max-width: 991px) {
	.system-item-carousel.carousel-item::before {
		top: 10%
		font-size: 12rem;
	}
}
@media (max-width: 765px) {
	.system-item-carousel.carousel-item::before {
		font-size: 7rem;
	}
}

.system-item-carousel.carousel-item img {
    position: relative;
    z-index: 1;
}

.system-item-carousel.carousel-item {
    position: relative;
    overflow: hidden;
}
