/*
==================================================================
Theme Name: mDurance
Version: 1.0
Author: Neobrand®
Author URI: https://neobrand.com
==================================================================
*/

@import url('css/config.css');

/* General */

body {
	background-color: var(--grey-100);
}

html {
	scroll-behavior: smooth;
}

.gradient {
	background-color: var(--main);
	color: #fff;
}

.btn {
	width: fit-content;
	padding: 20px 30px;
	border-radius: 4px;
	color: white;
	transition: all 320ms ease;
	position: relative;
	overflow: hidden;
}

.btn::after {
	content: '';
	width: 200%;
	height: 100%;
	background: var(--main);
	transition: all 560ms ease;
	position: absolute;
	left: -100%;
	top: 0;
	z-index: -1;
}

.btn:hover::after {
	left: 0;
}

.btn.small {
	padding: 10px 20px;
}

.btn.outline {
	border: 2px solid var(--main);
	color: var(--main);
	background: transparent;
}

.btn.outline:hover {
	background-color: var(--main);
	color: var(--black);
}

.btn.black {
	background: var(--black);
	color: #fff;
}

.btn.white {
	background: white;
	color: var(--black);
}

.line {
	width: fit-content;
	padding-bottom: 4px;
	text-decoration: none;
	background: linear-gradient(to right, currentColor 0%, currentColor 100%);
	background-size: 100% 2px;
	background-position: left 0 bottom 0;
	background-repeat: no-repeat;
	transition: background-size .25s cubic-bezier(.785, .135, .15, .86) 0s;
}

.icon img {
	width: auto;
	height: 70px;
}

/* Header */

#hero.small {
	height: fit-content;
}

#header {
	background-color: rgb(23 29 34 / 90%);
	backdrop-filter: blur(10px);
	transition: all 320ms ease;
}

#header.fixed {
	transform: translateY(-40px);
}

#header #top {
	height: 40px;
	border-bottom: 2px solid rgb(255 255 255 / 10%);
}

#header nav figure {
	transform: translateY(-2px);
}

#header .menu a {
	white-space: nowrap;
}

#header .menu > span > a::after {
	content: '';
	width: 0%;
	height: 1px;
	background-color: #fff;
	position: absolute;
	left: 50%;
	bottom: -10px;
	transition: all 280ms ease;
}

#header nav div a:hover::after,
#header nav div a.current::after {
	width: 100%;
	left: 0;
}

#header .login i {
	display: none;
}

#header .parent {
	padding-bottom: 20px;
	margin-top: 20px;
	white-space: nowrap;
}

#header .parent .absolute {
	width: fit-content;
	opacity: 0;
	pointer-events: none;
	transition: all 320ms ease;
	padding: 40px 25px;
	background-color: rgb(23 29 34 / 90%);
	backdrop-filter: blur(10px);
	transform: translateY(30px);
	border-radius: 10px;
}

#header .parent .absolute a {
	font-size: 16px;
}

#header .parent:hover .absolute {
	opacity: 1;
	pointer-events: all;
}

#lang-switch i {
	transform: translateY(-0.5px);
}

#lang-switch span > *:first-child::after {
	content: '';
	height: 12px;
	width: 1px;
	margin-left: 5px;
	background-color: #fff;
	opacity: 0.5;
	display: inline-block;
}

#lang-switch a {
	opacity: 0.5;
}

#lang-switch a:hover {
	opacity: 1;
}

/* Hero */

.home #hero,
.included #hero {
	min-height: calc(100vh - 140px);
}

.included #hero  {
	height: 100%;
}

.home #hero .image {
	transform: translateY(50%) translateX(-50%);
}

.home #hero .image img {
	width: 450px;
}

#ytbg0 {
	opacity: .1;
}

/*.blog #hero {
	min-height: 700px;
}*/
#hero {
	height: 550px;
}

#hero figure.bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgb(23 29 34 / 75%);
}

/*.regular #hero {
	height: inherit;
}*/

.resource #hero {
	height: 100%;
}

.resource #hero figure {
	height: auto;
}

.resource #hero figure img {
	object-fit: contain;
}

/* Content */

.home #access .grid{
	grid-template-columns: .4fr .6fr;
}

.home #access .logo svg {
	max-height: 90px;
} 

.included #hero .content li {
	margin-bottom: 15px;
}

.product-slider figure img,
.product-thumbs figure img {
	object-fit: contain;
}

.included #intro figure,
.regular #intro figure {
	width: 100%;
	height: auto;
}

#intro figure {
	width: 100%;
	min-width: 345px;
	height: 520px;
	border-radius: 0 10px 10px 0;
}

#intro figure.big {
	width: 100%;
	min-width: 570px;
	height: 720px;
	border-radius: 10px;
}

#benefits article figure img {
	opacity: 0.5;
}

#benefits ol {
	counter-reset: item;
	margin-left: -30px;
}

#benefits ol li {
	counter-increment: item;
	padding-left: 30px;
}

#benefits ol li::before {
	width: 20px;
	height: 20px;
	border-radius: 50vw;
	line-height: 1;
	content: counter(item);
	background: linear-gradient(to top right, var(--main), var(--main-200));
	color: var(--black);
	font-weight: var(--weight-700);
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	left: 0;
}

#how figure::before,
#specs_video figure::before,
#hero .video::before,
section .video:before {
	content: '\f04b';
	font-family: "Font Awesome 6 Free";
	font-size: 40px;
	font-weight: 900;
	width: 90px;
	height: 90px;
	color: white;
	background-color: var(--black);
	border-radius: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	transform: translate(-50%, -50%) scale(1);
	transition: all 280ms ease;
	z-index: 1;
}



#how figure:hover::before,
#specs_video figure:hover::before {
	transform: translate(-50%, -50%) scale(1.1);
}

#specialties figure img {
	max-height: 300px;
	opacity: 0.25;
}

#investigation figure.background img {
	opacity: 0.4;
}

#data .grid {
	gap: 5px;
}

#data .count {
	margin-left: -2px;
	background-color: #0c1013;
}

.features #data .count,
.demo #data .count {
	background: var(--blue);
}

#data .count:first-child {
	margin-left: 0;
	border-radius: 10px 0 0 10px;
}

#data .count:last-child {
	border-radius: 0 10px 10px 0;
}

#call figure::after {
	content: '';
	background: linear-gradient(to right, var(--main), transparent);
	position: absolute;
	inset: 0;
}

#cloud .content p {
	color: var(--black);
}

.contact .content p {
	color: var(--black);
}

#contact .content p {
	color: white;
}

#contact .content a {
	color: var(--black);
}

#app::before {
	content: '';
	width: 100%;
	height: 150px;
	position: absolute;
	top: 0;
	left: 0;
	background: var(--black);
}

#app::after {
	content: '';
	width: 100%;
	height: 150px;
	position: absolute;
	bottom: 0;
	left: 0;
	background: var(--softgrey);
}

#app .content p {
	color: white;
	transition: all 280ms ease;
}

#app .content p.title,
#cloud .content p.title {
	font-weight: 700;
}

#app .content p.active,
#cloud .content p.active {
	font-size: var(--size-500);
	letter-spacing: 1px;
}

#news article h3 a:hover {
	color: var(--main);
}

#news article figure {
}

#news article figure img {
	transition: all 320ms ease-in;
}

#news article figure:hover img {
	transform: scale(1.1);
}

.grid .aspect-video figure img {
	transition: all 320ms ease-in;
}

/*
.grid .aspect-video:hover figure img,
.grid .aspect-video.current figure img {
	opacity: .6;
}
*/

#reviews article figure::before {
	content: '\f04b';
	width: 38px;
	height: 40px;
	padding-left: 2px;
	border-radius: 50vw;
	background: var(--black);
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 18px;
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	transform: translate(-50%, -50%) scale(1);
	transform-origin: center center;
	transition: all 280ms ease;
	position: absolute;
	top: 50%;
	left: 50%;
}

#reviews article figure:hover::before {
	transform: translate(-50%, -50%) scale(1.2);
	transform-origin: center center;
}

#reviews .navigation {
	max-width: 1300px;
	transform: translateY(calc(100% + 50px));
}

#reviews .prev::after,
#reviews .next::after {
	color: var(--main);
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 32px;
}

#reviews .prev::after {
	content: '\f104';
}

#reviews .next::after {
	content: '\f105';
}

#events  figure.absolute {
	opacity: .4;
}

#new .grid {
	grid-template-columns: repeat();
}

.content h2,
.content h4 {
	color: var(--main);
}

.content h2,
.content h3,
.content h4 {
	font-size: var(--size-600);
	font-weight: var(--weight-700);
	margin-bottom: var(--space-30);
}

.content h3 {
	font-size: var(--size-600);
}

.content p {
	font-size: var(--size-300);
	margin-bottom: var(--space-30);
}

.content p:last-child {
	margin-bottom: 0;
} 

.content ul,
.content ol {
	float: left;
}

.content ol {
	padding-left: var(--space-25);
}
.content ol li {
	margin-bottom: var(--space-20);
}

.content ul li {
	position: relative;
	padding-left: var(--space-25);
	margin-bottom: var(--space-20);
}

.content ol li {
	list-style: decimal;
}

.content ul li::before {
	content: '\f00c';
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: var(--size-200);
	color: var(--main);
	position: absolute;
	left: 3px;
	top: 0px;
}

.features #features article:nth-child(even),
.regular #features article:nth-child(even) {
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
}

.features #features article:last-child,
.regular #features article:last-child {
	margin-bottom: 0;
}

.features #features article:nth-child(odd),
.regular #features article:nth-child(odd) {
	grid-template-columns: .4fr .6fr;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
}

.features #features article:nth-child(odd) .content,
.regular #features article:nth-child(odd) .content {
	order: -1;
}

.features #features .grid,
.regular #features .grid {
	grid-template-columns: .6fr .4fr;
}

.features #features article .app,
.regular #features article .app {
	top: 50%;
	transform: translateY(-50%);
	width: 270px;
	height: auto;
}

.features #features article:nth-child(odd) .app,
.regular #features article:nth-child(odd) .app {
	left: 60px;
}

.features #features article:nth-child(even) .app,
.regular #features article:nth-child(even) .app {
	right: 60px;
}

.features #main-cta,
.regular #main-cta {
	margin-bottom: 0;
}

#features article.radius {
	border-radius: 10px;
}

#features .content h2,
#features .content h3,
#features .content h4 {
	color: white;
	line-height: 1.2;
}

/* Webinars */

.home #team article {
	width: calc(33% - var(--space-30));
}

/* Behind mDurance */

#specs figure > img {
	max-height: 800px;
	object-fit: contain;
}

/* Blog */

#pagination {
	grid-column: 1 / -1;
}

#pagination span,
#pagination a {
	height: 45px;
	padding: 10px;
	border: 2px solid var(--main);
	border-radius: 4px;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

#pagination a:hover {
	background-color: var(--main);
	color: #fff;
}

#pagination span {
	color: var(--grey);
	border-color: var(--grey);
}

.hideformulariomobile {
	display: none;
}

.single .report .grid {
	grid-template-columns: .7fr .3fr;
}

.single #post {
	border-bottom: 2px solid rgb(255 255 255 / 10%);
}

.single #post h1 {
	font-size: var(--size-700);
}

.single #post h1,
.single #post h2,
.single #post h3 {
	margin-bottom: var(--space-30);
}

.single #post iframe {
	width: 100%;
} 

.single #post p,
.single #post li {
	font-size: var(--size-300);
	margin-bottom: var(--space-30);
}

.single #post .wp-embed-aspect-16-9 > div {
	width: 100%;
	aspect-ratio: 16 / 9;
	position: relative;
}

.single #post .wp-embed-aspect-16-9 > div iframe {
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
}

.webinar #hero {
	background: #0c1013;
	height: auto;
}

.webinar #hero .video {
	aspect-ratio: 16/9;
}

.webinar #hero .contact {
	min-height: 500px;
	background-color: rgb(0 0 0 / 70%);
}

.accordion .item.active i {
	transition: all 320ms ease;
}

.accordion .item.active i {
	transform: rotate(225deg);
}

.included #benefits ol {
	padding-left: 25px;
}

.opinions .grid {
	grid-template-columns: .25fr .75fr;
}

.opinions .text p {
	color: white;
	font-style: italic;
}

#date .content p,
#date .content li {
	color: white;
}

#date .content ul li::before {
	color: var(--black);
}

.included #hero .content ul {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: var(--space-30);
}

.icon svg {
	width: auto;
	height: 70px;
}

#sidebar figure:hover img{
	transform: scale(1.1);
}

#sidebar figure img{
	transition: all 320ms ease;
}

/* Resources */

#news article figure,
.loop article figure,
#cases article figure {
	min-height: 250px;
	max-height: 250px;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

#news article figure > a,
.loop article figure > a,
#cases article figure > a {
	width: 100%;
	height: 100%;
}

.loop article .icon svg,
#cases article .icon svg {
	width: 90px;
	height: auto;
}

#cases .caseSwiper {
	padding-inline: 29px;
}

#cases .caseSwiper .swiper-pagination {
	position: absolute;
	bottom: 0;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
	position: static;
}

.mytablet .swiper-wrapper figure {
	border-radius: 30px;
	overflow: hidden;
	padding: 15px;
}

.swiper-pagination-bullet {
	background: white;
}

.swiper-pagination-bullet-active {
	background: var(--main);
}

.swiper-button-next,
.swiper-button-prev {
	width: 40px;
	height: 40px;
	color: var(--main);
	background: white;
	border-radius: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 700;
	cursor: pointer;
}

#hero .swiper-button-next,
.myGallery .swiper-button-next {
	right: 10px;
	opacity: .4;
	transition: all 320ms ease;
}

#hero .swiper-button-prev,
.myGallery .swiper-button-prev {
	left: 10px;
	opacity: .4;
	transition: all 320ms ease;
}

.swiper:hover .swiper-button-prev,
.swiper:hover .swiper-button-next {
	opacity: 1;
}

.swiper-button-next {
	right: 10px;
}

.swiper-rtl .swiper-button-prev {
	left: 0;
}

.swiper-button-next::after,
.swiper-button-prev::after {
	font-size: 22px;
}

#work.cta figure::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--black);
	opacity: .7;
}

#search input[type="text"]::placeholder {
	color: #fff;
	font-size: 20px;
	font-weight: 400;
}

#search input[type="text"] {
	height: 60px;
	border: none;
	padding-left: 15px;
	border-radius: 5px 0 0 5px;
	background-color: var(--black-plus);
	color: #fff;
	font-size: 20px;
	font-weight: 400;
}

#search input[type="text"]::placeholder {
	font-size: var(--size-200);
	font-weight: var(--weight-700);
}

#search .btn {
	min-width: 60px;
	background-color: var(--main);
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
}

#search .btn::after {
	display: none;
}

#subscribe .content p {
	color: white;
}

/* Footer */

#footer {
	background-color: var(--black-plus);
}

#footer .logos figure:first-child {
	width: 65%;
}

#footer .logos figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#footer #copy {
	border-top: 2px solid rgb(255 255 255 / 10%);
	border-bottom: 2px solid rgb(255 255 255 / 10%);
}

#footer .help {
	border-bottom: 2px solid rgb(255 255 255 / 10%);
	display: grid;
	grid-template-columns: 100px 1fr;
}

/* Shop */

#main-product article {
	border-bottom: 1px solid var(--grey);
}

#main-product article figure img {
	mix-blend-mode: plus-lighter;
}

#accessories article figure {
	height: 200px;
	border-right: 1px solid var(--grey);
}

#accessories article figure span {
	padding: 5px;
	bottom: 10px;
	left: 10px;
}

#accessories article .popup,
#cart-popup {
	background-color: rgb(23 29 34 / 80%);
	opacity: 0;
	transition: all 560ms ease;
	pointer-events: none;
}

#accessories article .popup.active,
#cart-popup.active {
	opacity: 1;
	pointer-events: all;
}

#accessories article .popup .close {
	width: 40px;
	height: 40px;
	transition: all 280ms ease;
}

#accessories article .popup .close:hover {
	color: black;
}

#accessories article .popup > div,
#cart-popup > div {
	width: 100%;
	max-width: 720px;
	opacity: 0;
	transform: translateY(20px);
	transition: all 320ms ease;
}

#accessories article .popup.active > div,
#cart-popup.active > div {
	opacity: 1;
	transform: none;
	transition-delay: 400ms;
}

#accessories article .popup .content p,
#accessories article .popup .content li {
	color: var(--black);
	margin-bottom: 0;
}

#accessories article .popup .footer {
	border-top: 1px solid var(--grey);
}

#cart-popup {
	background-color: rgb(23 29 34 / 80%);
}

#cart-popup .header {
	border-bottom: 1px solid var(--grey);
}

#cart-popup .footer {
	border-top: 1px solid var(--grey);
}

#whatsapp,
#cart {
	width: 70px;
	height: 70px;
	border-radius: 50vw;
	font-size: 32px;
	background-color: #25d366;
	right: 40px;
	bottom: 100px;
	z-index: 20;
}

#cart {
	background-color: #36404a;
	bottom: 180px;
}

#cart span {
	width: 20px;
	height: 20px;
	border-radius: 50vw;
}

#content ul,
#content ol {
	width: 100%;
	padding-left: 20px;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 5px;
} 

#content ol {
	padding-left: 0;
	counter-reset: item;
}

#content ol li {
	counter-increment: item;
}

#content ul li::before {
	content: "\2022";
	color: var(--main);
	font-weight: bold;
	display: inline-block;
	width: 1em;
	margin-left: -1em;	
}

#content ol li::before {
	width: 1rem;
	margin-right: 20px;
	content: counter(item);
	border-radius: 100%;
	color: var(--main);
	text-align: center;
	display: inline-block;
	font-weight: 700;
}

/* Tabs */

.border-btn {
	width: fit-content;
    padding: 20px 30px;
    border-radius: 4px;
    font-weight: 700;
    border: 2px solid var(--main);
    color: var(--main);
    transition: all 320ms ease;
    position: relative;
    overflow: hidden;
    transition: all 320ms ease;
}

.border-btn.active {
	background: var(--main);
	color: white;
}

.tabs > div {
	display: none;
	opacity: 0;
	pointer-events: none;    
	animation: fadeIn 0.6s ease 1 forwards;
	transform: translateY(15px);
}

@keyframes fadeIn {
	100% {
		opacity: 1;
		transform: none;
	}

}
.tabs > div.active {
	display: flex;
	flex-direction: column;
	pointer-events: all;
}

#kd {
	border-top: 2px solid rgb(255 255 255 / 10%);
}

#kd img {
	max-width: 90%;
}