/*!
Theme Name: jarv
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: jarv
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

jarv is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/



/* font
-------------------------------------------------------------- */

@font-face {
    font-family: "Play";
    font-display: swap;
    src: url("fonts/Play-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Play";
    font-display: swap;
    src: url("fonts/Play-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Inter";
    font-display: swap;
    src: url("fonts/Inter-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'tm-jarv';
    src: url('fonts/tm-jarv.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.tm-jarv {
    font-family: 'tm-jarv' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tm-jarv-icon-quote:before {
    content: "\e900";
}

.tm-jarv-icon-placeholder:before {
    content: "\e901";
}

.tm-jarv-icon-mail:before {
    content: "\e905";
}

.tm-jarv-icon-phone-call:before {
    content: "\e902";
}

.tm-jarv-icon-right-arrow3:before {
    content: "\e903";
}

.tm-jarv-icon-right-arrow-angle:before {
    content: "\e904";
}

.tm-jarv-icon-mail:before {
    content: "\e905";
}


/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    background: #0C0C0E;
    font-weight: 400;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}



/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
html,
body {
    height: 100%;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: 700;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}


/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
optgroup,
textarea {
    color: #404040;
    font-family: -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

p {
    margin-bottom: 25px;
}

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

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 15px;
}

address {
    margin: 0 0 15px;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 25px;
}

ul,
ol {
    margin: 0 0 15px 25px;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li>ul,
li>ol {
    margin-bottom: 0;
    margin-left: 25px;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 25px 25px;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 0 0 25px;
}

table {
    margin: 0 0 25px;
    width: 100%;
}

/* Links
--------------------------------------------- */
:active,
:hover,
a:active,
a:hover {
    outline: 0;
}

a {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

a:hover,
a:focus,
a:active {
    color: #fff;
    text-decoration: none;
}

a,
a:visited {
    text-decoration: none;
}



/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/



/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

.post,
.page {
    margin: 0 0 25px;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 25px 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 25px;
}

/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 25px;
}

.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 25px;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 25px;
    display: grid;
    grid-gap: 25px;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 25px;
    margin-bottom: 25px;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 25px;
    margin-bottom: 25px;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
}


/* header
========================================================================== */
.tm-header__logo {
    z-index: 1;
}

.tm-header__logo,
.tm-header__logo a {
    display: flex;
    width: 170px;
}

.tm-header__logo img {
    width: 100%;
}

.tm-header {
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    position: relative;
    padding: 14px 0;
    background: transparent;
    position: absolute;
    z-index: 1000;
}


.tm-header_active {
    animation: slideDown 0.5s;
    position: fixed;
    background: #0C0C0E;
}

.tm-header-content {
    padding: 0 35px;
    width: 100%;
}

.tm-header__btn.tm-content-btn a {
    background: #D8232F;
}


@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}




@media (min-width: 1181px) {
    .tm-mob-back {
        display: none;
    }
}

@media (max-width: 1440px) {
    .tm-header__btn.tm-content-btn a {
        width: 190px;
    }
}

@media (max-width: 1180px) {

    .tm-header {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .tm-header__logo,
    .tm-header__logo a {
        width: 120px;
    }

    .tm-lang-wrap {
        display: none;
    }

    .tm-header__btn-wrap {
        padding-right: 30px;
    }

    .tm-header-content {
        padding: 0 20px;
    }

    .tm-header-mobile-wrapper {
        padding: 0 10px;
        display: none;
    }

}

@media (max-width: 670px) {

    .tm-header__logo,
    .tm-header__logo a {
        width: 110px;
    }

    .tm-primary-navigation {
        position: absolute;
        right: 0;
        top: 0;
    }


}

@media (max-width: 480px) {
    .tm-header__btn.tm-content-btn a {
        width: 160px;
        height: 35px;
    }
}

@media (max-width: 385px) {

    .tm-header__logo,
    .tm-header__logo a {
        max-width: 98px;
    }
}



/* menu
========================================================================== */

/* toggle ----------------- */
.tm-toogle-navigation>label {
    display: flex;
    flex-direction: column;
    width: 16px;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    right: 20px;
    top: 25px;
    justify-content: flex-end;
    align-items: flex-end;
}


.tm-toogle-navigation>label span {
    background: #fff;
    height: 2px;
    margin: 2px 0;
    border-radius: 3px;
    transition: .4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    z-index: 1;
}

.tm-toogle-navigation>label>span:nth-of-type(1) {
    width: 60%;
}

.tm-toogle-navigation>label>span:nth-of-type(2) {
    width: 100%;
}

.tm-toogle-navigation>label>span:nth-of-type(3) {
    width: 40%;
}

.tm-toogle-navigation>input[type="checkbox"] {
    display: none;
}



.tm-toogle-navigation input[type="checkbox"]:checked~label>span:nth-of-type(1) {
    transform-origin: bottom;
    transform: rotatez(45deg) translate(-2.9px, 6.5px);
    width: 50%;
}

.tm-toogle-navigation input[type="checkbox"]:checked~label>span:nth-of-type(2) {
    transform-origin: top;
    transform: rotatez(-45deg)
}

.tm-toogle-navigation input[type="checkbox"]:checked~label>span:nth-of-type(3) {
    transform-origin: bottom;
    width: 50%;
    transform: translate(-1px, -4px) rotatez(45deg);
}

@media (min-width: 1181px) {
    .tm-toogle-navigation>label {
        display: none;
    }
}

@media (max-width: 1180px) {
    .tm-toogle-navigation {
        height: 60px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .tm-toogle-navigation {
        height: 40px;
        padding: 0;
    }

    .tm-toogle-navigation>label {
        top: 15px;
    }
}

/* comp navigation ----------------- */
.tm-menu-wrapper-header ul,
.tm-menu-wrapper {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    position: relative;
    flex-wrap: wrap;
}

.tm-menu-wrapper ul {
    margin: 0;
    padding: 0;
    list-style: none;
    opacity: 0;
    position: absolute;
    width: 250px;
    background: #0C0C0E;
    height: 0;
    visibility: hidden;
    display: block;
    flex-wrap: wrap;
    z-index: 100;

}

.tm-menu-wrapper_header>li,
.tm-menu-wrapper_header>li>a {
    line-height: 78px;
}

.tm-menu-wrapper>li:not(:last-child) {
    padding-right: 46px;
}

.tm-menu-wrapper>li.menu-item-has-children {
    padding-right: 52px;
}

.tm-menu-wrapper>li>ul {
    -webkit-transition: opacity 0.6s, -webkit-transform 0.3s;
    transition: opacity 0.6s, -webkit-transform 0.3s;
    -o-transition: transform 0.3s, opacity 0.6s;
    transition: transform 0.3s, opacity 0.6s;
    transition: transform 0.3s, opacity 0.6s, -webkit-transform 0.3s;
    -webkit-transform: translateY(10%);
    -ms-transform: translateY(10%);
    transform: translateY(10%);
    opacity: 0;
    left: -12px;
    box-shadow: 0 7px 8px rgb(0 0 0 / 5%);
    padding-top: 20px;
    padding-bottom: 20px;
}

.tm-menu-wrapper>li>ul li {
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
}

.tm-menu-wrapper>li>ul li>ul {
    -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
    transition: opacity 0.6s, -webkit-transform 0.6s;
    -o-transition: transform 0.6s, opacity 0.6s;
    transition: transform 0.6s, opacity 0.6s;
    transition: transform 0.6s, opacity 0.6s, -webkit-transform 0.6s;
    -webkit-transform: translateX(10px) translateY(0%);
    -ms-transform: translateX(10px) translateY(0%);
    transform: translateX(10px) translateY(0%);
    opacity: 0;
    height: auto;
    visibility: hidden;
    left: 250px;
    top: 0;
}

.tm-menu-wrapper>li>ul li:hover>ul {
    -webkit-transform: translateX(0) translateY(0%);
    -ms-transform: translateX(0) translateY(0%);
    transform: translateX(0) translateY(0%);
    opacity: 1;
    visibility: visible;
}

.tm-menu-wrapper>li>ul li:hover>ul li {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.tm-menu-wrapper>li:hover>ul {
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
    opacity: 1;
    height: auto;
    visibility: visible;
}

.tm-menu-wrapper>li:hover>ul li {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.tm-menu-wrapper li.menu-item-has-children>span>a {
    position: relative;
}

.tm-menu-wrapper>li>ul li.menu-item-has-children>span>a::after,
.tm-menu-wrapper>li.menu-item-has-children>span>a::after {
    content: "";
    position: absolute;
    right: -16px;
    top: 4px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
}

.tm-menu-wrapper>li>ul li.menu-item-has-children>span>a::after {
    right: 5px;
}

.tm-menu-wrapper>li>ul li.menu-item-has-children>span>a::after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    top: 14px;
    right: 10px;
}

.tm-menu-wrapper>li.menu-item-has-children>span>a::after {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.tm-menu-wrapper>li>ul>li.current-menu-ancestor>span>a::after,
.tm-menu-wrapper>li.current-menu-ancestor>span>a:after,
.tm-menu-wrapper>li.current-menu-item.menu-item-has-children>span>a:after,
.tm-menu-wrapper>li.menu-item-has-children>span>a:hover:after,
.tm-menu-wrapper>li.menu-item-has-children:focus>span>a:after,
.tm-menu-wrapper>li.menu-item-has-children:hover>span>a:after,
.tm-menu-wrapper li li.current-menu-item.menu-item-has-children>span>a::after,
.tm-menu-wrapper li li.menu-item-has-children>span>a:hover::after {
    border: solid #fff;
    border-width: 0 2px 2px 0;
}

.tm-menu-wrapper li li.current-menu-item.menu-item-has-children>span>a::after {
    border: solid #fff;
    border-width: 0 2px 2px 0;
}

.tm-menu-wrapper li li.menu-item-has-children>span>a {
    padding-right: 25px;
}

.tm-menu-wrapper li li.menu-item-has-children>a::after {
    content: "";
    position: absolute;
    right: -16px;
    top: 16px;
    display: inline-block;
    padding: 2px;
}

.tm-menu-wrapper>li:hover>span>a,
.tm-menu-wrapper>li.current-lang>span>a,
.tm-menu-wrapper>li li.current-menu-ancestor>span>a,
.tm-menu-wrapper>li.current-menu-item>span>a,
.tm-menu-wrapper>li.current-menu-ancestor>span>a {
    color: rgba(255, 255, 255, .8);
}

.tm-menu-wrapper li li a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.tm-menu-wrapper li li.current-menu-item>span>a {
    color: #fff;
    background: rgba(255, 255, 255, .1);
    opacity: 1;
}

.tm-menu-wrapper li {
    list-style: none;
    position: relative;
    padding-left: 0;
    margin-bottom: 0;
}

.tm-menu-wrapper li::before {
    display: none;
}

.tm-menu-wrapper li a {
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease-out;
    opacity: 1;
    font-size: 20px;
    font-family: "Play", sans-serif;
    text-transform: uppercase;
}


.tm-menu-wrapper>li>span>a {
    color: #fff;
    opacity: 1;
    position: relative;
}


.tm-menu-wrapper li:hover {
    cursor: pointer;
}

.tm-menu-wrapper li li a {
    line-height: 16px;
    font-size: 16px;
    padding: 10px 18px;
    display: block;
    position: relative;
}

.tm-mob-back::before {
    background: #303030;
    content: '';
    height: 100vh;
    left: 0;
    position: fixed;
    opacity: 0;
    visibility: hidden;
    width: 100%;
    transition: all .3s;
    top: 0;
}



@media (min-width: 1181px) {
    .tm-mob-back {
        display: none;
    }
}

@media (max-width: 1440px) {
    .tm-menu-wrapper>li:not(:last-child) {
        padding-right: 32px;
    }

    .tm-menu-wrapper>li.menu-item-has-children {
        padding-right: 38px;
    }

    .tm-menu-wrapper li a {
        font-size: 18px;
    }
}

@media (max-width: 1180px) {


    .tm-menu-wrapper_header>li,
    .tm-menu-wrapper_header>li>a {
        line-height: 40px;
    }

    .tm-primary-menu-container {
        display: none;
        width: 100%;
        padding: 20px;
    }

    .tm-primary-navigation {
        position: absolute;
        z-index: 1;
        width: 100%;
        background: #303030;
        height: 0;
        top: 65px;
        left: 0;
        visibility: hidden;
    }


    [id=main-navigation-toggle]:checked~.tm-header__menu .tm-primary-navigation {
        visibility: visible;
        height: calc(100vh - 65px);
        overflow: auto;
    }

    [id=main-navigation-toggle]:checked~.tm-header__menu .tm-primary-navigation .tm-header__btn.tm-header__btn_mob,
    [id=main-navigation-toggle]:checked~.tm-header__menu .tm-primary-navigation .tm-primary-menu-container {
        display: block;
    }

    [id=main-navigation-toggle]:checked~.tm-header__menu .tm-toogle-navigation {
        background: #303030;
    }

    [id=main-navigation-toggle]:checked~.tm-mob-back::before {
        opacity: 1;
        visibility: visible;
    }

    [id=main-navigation-toggle]:checked~.tm-header__menu .tm-header-mobile-wrapper {
        display: block;
    }

    .tm-menu-wrapper>li:not(:last-child) {
        padding-right: 0;
    }

    .tm-menu-wrapper>li,
    .tm-menu-wrapper>li>span,
    .tm-menu-wrapper>li>span>a {
        width: 100%;
        display: block;
    }

    .tm-menu-wrapper>li>span>a::before {
        display: none;
    }

    .tm-menu-wrapper>li.menu-item-has-children>span>a::before,
    .tm-menu-wrapper>li.menu-item-has-children.current-menu-item>span>a::before,
    .tm-menu-wrapper>li.current-menu-ancestor>span>a::before,
    .tm-menu-wrapper>li.menu-item-has-children:hover>span>a::before,
    .tm-menu-wrapper>li.menu-item-has-children>span>a:hover::before {
        width: 23px;
        height: 23px;
        right: 0;
        z-index: 1;
        top: 7px;
        display: block;
    }



    .tm-menu-wrapper>li.current-menu-item>span>a::before {
        display: none;
    }

    .tm-menu-wrapper>li.current-menu-item.menu-item-has-children>span>a::before,
    .tm-menu-wrapper>li.lang-item:hover>span>a::before,
    .tm-menu-wrapper>li.lang-item>span>a:hover::before,
    .tm-menu-wrapper>li.current-lang>span>a:before,
    .tm-menu-wrapper>li:hover>span>a::before,
    .tm-menu-wrapper>li>span>a:hover::before {
        display: block;
    }

    .tm-menu-wrapper>li.current-lang>span>a:before {
        width: 100%;
        height: 3px;
    }

    .tm-menu-wrapper>li.menu-item-has-children>span>a::after {
        content: "";
        position: absolute;
        right: 7px;
        top: 15px;
        display: inline-block;
        z-index: 5;
    }

    .tm-menu-wrapper>li>ul {
        padding-top: 0;
        padding-bottom: 0;
    }

    .tm-menu-wrapper>li.lang-item>span>a:before {
        left: 0;
        top: 0;
    }

    .tm-menu-wrapper>li>ul li>ul,
    .tm-menu-wrapper ul {
        position: relative;
        height: auto;
        visibility: visible;
        width: 100%;
    }

    .tm-menu-wrapper li li a {
        padding: 13px 15px;
    }

    .tm-menu-wrapper li li:not(:last-child) {
        border-bottom: 1px solid #fff;
    }

    .tm-menu-wrapper>li>ul li>ul,
    .tm-menu-wrapper>li>ul {
        opacity: 1;
        box-shadow: 0 0 0 rgb(0 0 0 / 0%);
        left: 0;
        -webkit-transform: translateY(0%);
        -ms-transform: translateY(0%);
        transform: translateY(0%);
    }

    .tm-menu-wrapper>li>ul li>ul {
        left: 20px;
        width: calc(100% - 20px);
    }


    .tm-menu-wrapper>li>ul li {
        -webkit-transform: inherit;
        -ms-transform: inherit;
        transform: inherit;
    }
}


/* projects
========================================================================== */
.tm-project__data {
    background: #fff;
    padding: 15px 25px;
}

.tm-project__wrap-data {
    margin-top: -25px;
    z-index: 3;
}

.tm-project__img {
    width: 50px;
}

.tm-project__data,
.tm-project__data .tm-h2,
.tm-project__data .tm-h3 {
    color: #000;
}

.tm-projects-slider .swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

@media (max-width: 480px) {
    .tm-project__data.tm-flex-space {
        justify-content: flex-start;
    }

    .tm-project__data .tm-project__meters {
        width: 50%;
        margin-left: -10px;
        padding: 0 10px;
        font-size: 18px;
    }

    .tm-project__img {
        width: 35px;
    }
}

/* services
========================================================================== */
.tm-sidebar .menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tm-sidebar .menu-item a {
    display: flex;
    align-items: center;
    font-size: 20px;
    text-transform: uppercase;
    font-family: "Play", sans-serif;
    padding: 21px 50px 21px 25px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.tm-sidebar .menu-item:hover a {
    background: rgba(255, 255, 255, 0);
}

.tm-sidebar .menu-item.current-menu-item a::after {
    width: 25px;
    height: 25px;
    background: #D8232F;
    color: #fff;
    font-size: 13px;
    font-family: 'tm-jarv';
    content: "\e904";
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.tm-sidebar .menu-item {
    position: relative;
}

.tm-sidebar .menu-item::before {
    width: 3px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    content: '';
    background: #D8232F;
    transition: all 0.3s ease-in-out;
}

.tm-sidebar .menu-item:hover::before {
    width: 100%;
}

.tm-sidebar .menu-item:not(:last-child) {
    margin-bottom: 15px;
}

.tm-services-card__icon {
    width: 84px;
    height: 84px;
    background: #D8232F;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-services-card__icon img {
    width: 35px;
}

.tm-services-card__title {
    margin-left: 114px;
}

.tm-services-card__icon {
    position: absolute;
    left: 30px;
    top: -30px;
}




/* blog + page
========================================================================== */
.tm-single-header {
    background: #060606;
    padding: 150px 0 50px;
}

.wp-block-columns {
    margin-bottom: 25px;
}

.tm-page-photo,
.tm-services__header,
.tm-single-services-header,
.tm-category__header {
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 150px;
    padding-bottom: 60px;
    overflow: hidden;
}

.tm-services__header::after,
.tm-single-services-header::after,
.tm-page-photo::after {
    background: rgba(12, 12, 12, 0.8);
    content: '';
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.tm-single-services .tm-grid {
    margin-left: -60px;
    row-gap: 30px;
}

.tm-single-services .tm-grid>* {
    padding-left: 60px;
}

.tm-category__column {
    margin-top: 30px;
}

.tm-blog-card__img {
    overflow: hidden;
}

.tm-blog-card__img img {
    transform: scale(1);
    transition: all 0.3s ease-in-out;
}

.tm-blog-card:hover .tm-blog-card__img img {
    transform: scale(1.1);
}

.tm-blog-card__title:hover {
    opacity: .6;
    transition: all .3s ease-in-out;
}

.tm-blog-card__date {
    padding-left: 15px;
}

.tm-blog-card__date::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    left: 0;
    top: 7px;
}

.tm-blog-card {
    background: rgba(255, 255, 255, 0.2);
    height: 100%;
}


.tm-blog-card__header {
    padding: 25px 20px 40px;
}

.tm-blog-card__header::after {
    font-family: 'tm-jarv';
    content: "\e903";
    font-size: 30px;
    color: #D8232F;
    position: absolute;
    right: 10px;
    bottom: 3px;
    transform: rotate(45deg);
    transition: all 0.3s ease-in-out;
}

.tm-blog-card:hover .tm-blog-card__header::after {
    transform: rotate(0deg);
}

.tm-blog-card__line {
    font-size: 14px;
    opacity: .6;
}



@media (max-width: 1440px) {
    .tm-category__header.tm-margin-large-bottom {
        margin-bottom: 40px;
    }

}

@media (max-width: 980px) {
    .tm-single-services .tm-grid__width-1-4 {
        order: 2;
    }

    .tm-sidebar-bron {
        display: none;
    }
}

@media (max-width: 767px) {

    .tm-blog-card__left,
    .tm-blog-card__right {
        width: 100%;
    }

}


/* 404
========================================================================== */
.tm-404__content {
    max-width: 750px;
    margin: 80px auto 100px;
}

/* social
========================================================================== */
.tm-social {
    display: flex;
    column-gap: 10px;
}

.tm-social a {
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    transition: all .3s ease-out;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-social a:hover {
    background: rgba(255, 255, 255, 1);
    color: #000;
    text-decoration: none !important;
}

/* .tm-social a.tm-jarv-icon-youtube:hover {
    background: #f80f1b;
}

.tm-social a.tm-jarv-icon-whatsapp:hover {
    background: #18cf55;
}

.tm-social a.tm-jarv-icon-facebook:hover {
    background: #1675ec;
}

.tm-social a.tm-jarv-icon-telegram2:hover,
.tm-social a.tm-jarv-icon-telegram:hover {
    background: #27a3e2;
}

.tm-social a.tm-jarv-icon-viber:hover {
    background: #774e98;
}

.tm-social a.tm-jarv-icon-instagram:hover {
    background: #ff63e5;
}

.tm-social a.tm-jarv-icon-linkedin-full:hover {
    background: #3f8ed8;
} */


/* lang 
========================================================================== */
.tm-lang .wpml-ls-legacy-dropdown {
    width: 63px;
}

.tm-lang .wpml-ls-legacy-dropdown a {
    background: none;
    border: 0 none;
    color: #fff;
    font-family: "Play", sans-serif;
    font-size: 19px;
    padding: 2px 25px 4px 10px;
}

.tm-lang .wpml-ls-legacy-dropdown li::before {
    display: none;
}

.tm-lang .wpml-ls-legacy-dropdown a:hover,
.tm-lang .wpml-ls-legacy-dropdown a:focus {
    background: none;
}

.tm-lang .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    border: 0.2em solid transparent;
    border-top: 0.4em solid;
}

.tm-lang .wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    border-top: 0 none;
}

.tm-lang .wpml-ls-legacy-dropdown:hover a,
.tm-lang .wpml-ls-legacy-dropdown:focus a,
.tm-lang .wpml-ls-legacy-dropdown .wpml-ls-item:focus a,
.tm-lang .wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a,
.tm-lang .wpml-ls-legacy-dropdown a:focus,
.tm-lang .wpml-ls-legacy-dropdown a:hover {
    background: #2D2D2D;
    color: #e0e0e0;
}

.tm-lang .wpml-ls-legacy-dropdown .wpml-ls-sub-menu:hover a:hover {
    color: #fff;
}

/* map
========================================================================== */
.tm-map {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.tm-map iframe {
    width: 100%;
    height: 340px;
}

/* bron
========================================================================== */
.tm-bron {
    background: #D8232F;
    padding: 65px 0;
}

.tm-bron__text {
    max-width: 515px;
}

@media (max-width: 480px) {
    .tm-bron__content.tm-flex-nw {
        flex-wrap: wrap;
    }

    .tm-bron__icon {
        margin-bottom: 30px;
        width: 80px;
    }
}

/* footer
========================================================================== */
.tm-footer__header {
    padding: 80px 0;
}

.tm-footer__secondline {
    background: #060606;
    padding: 29px 0;
    font-size: 14px;
}

.tm-footer__copyright,
.tm-developer {
    opacity: .4;
}

.tm-developer a:hover {
    text-decoration: underline;
}

.tm-footer-contact {
    position: relative;
    padding-left: 106px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.tm-footer-contact::before {
    width: 84px;
    height: 84px;
    background: #D8232F;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 35px;
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'tm-jarv';
}

.tm-footer-contact_phone::before {
    content: "\e902";
}

.tm-footer-contact_address::before {
    content: "\e901";
}

.tm-footer-contact_mail::before {
    content: "\e905";
}

.tm-footer-wrapper {
    margin: 0;
    list-style: none;
}

.tm-footer-wrapper li {
    font-family: "Play", sans-serif;
    text-transform: uppercase;
    display: block;
}

.tm-footer-wrapper li:not(:last-child) {
    margin-bottom: 22px;
}

.tm-footer-wrapper li a:hover {
    opacity: .6;
}

.tm-footer-wrapper_catalog {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
}

.tm-footer-wrapper_catalog li {
    width: 50%;
    margin-left: -10px;
    padding-left: 10px;
}

.tm-footer__title {
    padding-bottom: 12px;
    position: relative;
    border-bottom: 1px solid rgba(217, 217, 217, 0.4);
}

.tm-footer__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 43px;
    height: 1px;
    background: #D8232F;
}

@media (max-width: 980px) {
    .tm-footer__header .tm-grid {
        row-gap: 40px;
    }
}

/* popup
========================================================================== */
.form-popup {
    position: relative;
    max-width: 840px;
    margin: 0 auto;
}

.mfp-close-btn-in .mfp-close {
    color: #fff;
}

.form-popup-content__title span {
    color: #000;
}

.form-popup-content__subtitle {
    font-weight: 400;
    margin-bottom: 35px;
}

.form-popup-content {
    background: #303030;
    padding: 40px 50px;
}

.form-popup-content__form {
    max-width: 610px;
    margin-left: auto;
    margin-right: auto;
}


@media (max-width: 1440px) {

    .form-popup-content {
        padding: 60px;
    }
}

@media (max-width: 1180px) {

    .form-popup-content {
        padding: 30px;
    }
}



/* form
========================================================================== */
.tm-form-title {
    font-weight: 300;
    margin-bottom: 15px;
}

.wpcf7-form-control {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    width: 100%;
    height: 65px;
    font-family: 'Play', sans-serif;
    font-size: 16px;
    padding: 7px 20px;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    color: #fff;
    font-weight: 300;
}

.tm-content-form__check .wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-response-output {
    display: none;
}

.wpcf7-not-valid {
    box-shadow: 0 0 0 rgba(173, 14, 14, .6);
}

.wpcf7-form-control::-webkit-input-placeholder {
    color: #fff;
}

.wpcf7-form-control::-moz-placeholder {
    color: #fff;
}

.wpcf7-form-control:-moz-placeholder {
    color: #fff;
}

.wpcf7-form-control:-ms-input-placeholder {
    color: #fff;
}

.wpcf7-form-control:focus,
.wpcf7-form-control:active {
    border-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

.wpcf7-form-control-wrap,
.wpcf7-textarea {
    display: block;
}

.wpcf7-textarea {
    height: 100px;
    resize: vertical;
}

.tm-form-btn,
.wpcf7-submit {
    width: 245px;
    background: #D8232F;
    color: #fff;
    display: flex;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    height: 55px;
    font-weight: 400;
    font-size: 20px;
    transition: all 0.3s ease-out;
    text-decoration: none;
    position: relative;
    padding: 5px;
    font-family: "Play", sans-serif;
    line-height: 1;
    outline: none;
    border: 0 none;
}

.wpcf7-submit>span,
.tm-form-btn>span {
    position: relative;
    z-index: 1;
    display: flex;
    column-gap: 8px;
    align-items: center;
}

.wpcf7-submit::before,
.tm-form-btn::before {
    width: 4px;
    height: 100%;
    background: #fff;
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    transition: all 0.3s ease-in-out;
}

.wpcf7-submit:hover::before,
.tm-form-btn:hover::before {
    width: 100%;
}

.tm-form-btn:hover,
.wpcf7-submit:hover {
    color: #000;
    cursor: pointer;
}

.wpcf7-spinner {
    display: none;
}

.wpcf7-not-valid-tip {
    position: absolute;
    font-size: 15px;
    bottom: -35px;
    left: 0;
    padding-left: 25px;
}

.wpcf7-list-item {
    display: flex;
    align-items: center;
    position: relative;
}

.tm-content-form__text {
    opacity: 0.6;
}

.tm-footer__form .tm-form-btn {
    background: rgba(255, 255, 255, .36);
    color: #fff;
}

.tm-footer__form .tm-form-btn:hover {
    background: rgba(255, 255, 255, 1);
    color: #000;
}


/* blocks
========================================================================== */
/* banner
------------------------------------------------------*/
.tm-banner-slider-wrap {
    width: 100vw;
    left: calc(-50vw + 50%);
    position: relative;
    min-height: 750px;
    background: #000;
}

.tm-banner-slider {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.tm-banner-slider-wrap .swiper-pagination {
    text-align: right;
}

.tm-banner-navigation-container,
.tm-banner-slider-container {
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 5;
}

.tm-banner-navigation-container {
    width: 1320px;
    height: 65px;
    position: relative;
}

.tm-banner-slider-container {
    width: 1320px;
}

.tm-banner-slider__item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tm-banner-slider__card {
    padding-top: 250px;
    padding-bottom: 160px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.tm-banner-slider__column {
    position: relative;
    z-index: 1;
}

.tm-banner-slider__content {
    max-width: 640px;
}

.tm-banner-slider__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.tm-banner-slider__item {
    overflow: hidden;
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.tm-banner-slider__card::after {
    background: linear-gradient(135deg, rgba(12, 12, 12, 1) 0%, rgba(12, 12, 12, 0) 100%);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% + 1px);
    z-index: 4;
    content: '';
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.tm-banner-slider-arrows {
    background: rgba(255, 255, 255, .16);
    padding: 13px 20px 14px;
}

.tm-banner-slider-arrows__prev {
    transform: rotate(-180deg);
}

.tm-banner-slider-arrows__separator {
    background: rgba(255, 255, 255, .16);
    width: 1px;
    height: 30px;
}


.tm-banner-slider-navigation-container {
    position: absolute;
    bottom: 30px;
    left: 0;
    z-index: 3;
    width: 100%;
}


@media (max-width: 1440px) {
    .tm-banner-slider-wrap {
        min-height: 550px;
    }
}

@media (max-width: 1320px) {

    .tm-banner-slider__title {
        font-size: 55px;
    }
}

@media (max-width: 1180px) {
    .tm-banner-slider__title {
        font-size: 45px;
    }
}

@media (max-width: 1140px) {
    .tm-banner-navigation-container {
        width: 100%;
    }

}

@media (max-width: 670px) {

    .tm-banner-navigation-container {
        width: 100%;
    }

    .tm-banner-slider__card {
        padding-top: 150px;
        padding-bottom: 140px;
    }

    .tm-banner-slider-wrap {
        min-height: 400px;
    }

    .tm-banner-slider {
        position: relative;
    }
}


/* about images
------------------------------------- */
.tm-img-about-1 {
    width: 100%;
}

.tm-img-about-1::before,
.tm-img-about-1::after {
    position: absolute;
    z-index: 0;
    content: '';
    display: block;
}

.tm-img-about-1::before {
    width: 5px;
    height: 165px;
    background: #D8232F;
    right: 80%;
    bottom: 5%;
}

.tm-img-about-1::after {
    width: 190px;
    height: 290px;
    border: 5px solid #D8232F;
    top: 8%;
    right: 15%;
}

.tm-img-about-1__img-1,
.tm-img-about-1__img-2 {
    z-index: 1;
}

.tm-img-about-1__img-2 {
    min-width: 60%;
    margin-left: -60%;
    margin-top: 30%;
}

.tm-img-about-1__img-1 {
    min-width: 55%;
}

.tm-img-about-2__data {
    background: #D8232F;
    border: 5px solid #0C0C0E;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    bottom: -90px;
}

.tm-img-about-2__img-1 {
    max-width: 85%;
    margin-bottom: 90px;
}

@media (max-width: 480px) {
    .tm-img-about-1::before {
        right: 90%;
    }
}

/* reviews + ceo
------------------------------------- */
.tm-ceo .tm-grid {
    margin-left: -40px;
    row-gap: 0;
}

.tm-ceo .tm-grid>* {
    padding-left: 40px;
}

.tm-ceo-card__list {
    display: flex;
    flex-direction: column;
    row-gap: 18px;
}

.tm-ceo-card__list-title {
    padding-left: 32px;
}

.tm-ceo-card__list-title::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 14px;
    height: 14px;
    border: 2px solid #D8232F;
    top: 4px;
}

.tm-review-slider.swiper {
    padding-left: 1px;
}

.tm-review-slider.swiper .swiper-slide {
    height: auto;
}

.tm-review-slider-card {
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 30px 0 85px;
    height: 100%;
}

.tm-ceo-card__header::after,
.tm-review-slider-card__header::after,
.tm-review-slider-card::after,
.tm-review-slider-card::before {
    position: absolute;
}

.tm-review-slider-card::after {
    font-family: 'tm-jarv';
    content: "\e900";
    font-size: 74px;
    color: rgba(255, 255, 255, 0.2);
    bottom: 0;
    right: 15%;
    line-height: 1;
}

.tm-review-slider-card::before {
    width: 4px;
    height: 111px;
    background: #D8232F;
    right: 10px;
    bottom: 10px;
}

.tm-review-slider-card__header {
    margin-left: 60px;
}

.tm-review-slider-card__header,
.tm-ceo-card__header {
    padding: 10px 0;
}

.tm-ceo-card__list-title::before,
.tm-ceo-card__header::after,
.tm-review-slider-card__header::before,
.tm-review-slider-card::before,
.tm-review-slider-card__header::after {
    content: '';
}

.tm-review-slider-card__header::before {
    background: #D8232F;
    width: 103px;
    height: 103px;
    position: absolute;
    left: -60px;
    top: -30px;
    z-index: 0;
}

.tm-ceo-card__header::after,
.tm-review-slider-card__header::after {
    z-index: 0;
    width: calc(100% - 43px);
    height: 100%;
    left: 43px;
    background: rgba(255, 255, 255, 0.2);
}

.tm-ceo-card__title,
.tm-ceo-card__ava,
.tm-review-card__title,
.tm-review-slider-card__ava {
    z-index: 1;
}

.tm-review-slider-card__content {
    padding: 0 43px;
}

.tm-review-wrap {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.tm-ceo-card__ava,
.tm-review-slider-card__ava {
    width: 87px;
    height: 87px;
    border-radius: 50%;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 30px;
}


/* benefits + benefits 2 + services grid
------------------------------------------------------*/
.tm-benefits-card__icon {
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D8232F;
}

.tm-benefits-card__icon img {
    width: 35px;
}

.tm-benefits-2-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.2);
}

.tm-services-grid-card__icon img,
.tm-benefits-2-card__icon img {
    width: 84px;
}

.tm-services-grid-card {
    padding: 30px;
    background: #0C0C0E;
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.tm-services-grid-card:hover {
    background: #1f1f1f;
}

.tm-services-grid-card__link {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
}

/* contact
========================================================================== */
.tm-contact-column {
    padding-left: 100px;
}

@media (max-width: 781px) {
    .tm-contact-column {
        padding-left: 0;
    }
}

/* sidebar
========================================================================== */
.tm-sidebar section:not(:last-child) {
    margin-bottom: 30px;
}

.tm-sidebar-bron {
    background: #D8232F;
    padding: 30px 20px;
}

.tm-sidebar-bron__btn.tm-content-btn a {
    width: 218px;
}

/* accordion slider
========================================================================== */

.accSlider__number {
    font-size: 35px;
    font-family: "Play", sans-serif;
}

.accSlider__line,
.accSlider__number,
.accSlider__text,
.accSlider__title {
    z-index: 2;
}

.accSlider__title.as-opened {
    min-width: 520px;
}

.accSlider__element {
    background: none !important;
}

.accSlider__line {
    background: #D8232F;
    height: 5px;
    width: calc(100% - 140px);
}

.accSlider__panel::after,
.accSlider__panel::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
}

.accSlider__panel::before {
    background: rgba(216, 35, 47, 0.2);
}

.accSlider__panel::after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.accSlider__panel > a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: block;
}

.accSlider__panel img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100% !important;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    position: absolute;
    height: 100% !important;
    z-index: 0;
}

/* accordion
========================================================================== */
.tm-content-accordion-list {
    position: relative;
    width: 100%;
    height: auto;
}

.tm-content-accordion-list>div {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tm-content-accordion-list>div:not(:last-child) {
    margin-bottom: 6px;
}

.tm-content-accordion-list>div.active {
    border-bottom: 0;
    padding-bottom: 0;
}

.tm-content-accordion-list>div .tm-content-accordion-list__title::after {
    right: 20px;
    top: 22px;
    position: absolute;
    width: 13px;
    height: 13px;
    font-size: 13px;
    line-height: 13px;
    content: "\e904";
    font-family: 'tm-jarv';
    -webkit-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    color: #fff;
    font-weight: 400;
    transform: rotate(0);
}

.tm-content-accordion-list>div.active .tm-content-accordion-list__title::after {
    -webkit-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    transform: rotate(90deg);
}

.tm-content-accordion-list__title {
    color: #fff;
    font-size: 20px;
    line-height: 26px;
    transition: all 0.3s ease-out;
    padding: 14px 52px 14px 25px;
    background: rgba(255, 255, 255, 0.1);
    font-family: "Play", sans-serif;
    text-transform: uppercase;
}

.tm-content-accordion-list__text {
    padding: 24px 0;
}

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

@media (max-width: 980px) {
    .tm-content-accordion-list__text {
        padding: 18px 0;
    }

    .tm-content-accordion-list>div .tm-content-accordion-list__title::after {
        top: 19px;
    }
}

@media (max-width: 768px) {
    .tm-content-accordion-list__text {
        padding: 18px 0;
    }

    .tm-content-accordion-list>div {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .tm-content-accordion-list__title {
        font-size: 16px;
        padding: 14px 40px 14px 25px;
    }

    .tm-content-accordion-list>div .tm-content-accordion-list__title::after {
        font-size: 13px;
        right: 15px;
    }
}

/* object fit
========================================================================== */
.tm-review-slider-card__ava img {
    object-fit: cover;
    width: 100%;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    position: absolute;
    height: 100%;
}


/* other pages
========================================================================== */
.tm-hidden-paragraphs-shadow {
    width: 100%;
    height: 190px;
    background: linear-gradient(180deg, rgba(12, 12, 14, 0.00) 0%, #0C0C0E 80.62%);
    margin-top: -190px;
    position: relative;
    z-index: 1;
}


.tm-read-more-button.expanded {
    margin-top: 30px;
}
.tm-read-more-button {
    width: 245px;
    background: rgba(255, 255, 255, .4);
    color: #fff;
    display: flex;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    height: 55px;
    font-weight: 400;
    font-size: 20px;
    transition: all 0.3s ease-out;
    text-decoration: none;
    position: relative;
    padding: 5px;
    font-family: "Play", sans-serif;
    line-height: 1;
    margin: 0 auto;
    cursor: pointer;
}
.tm-read-more-button:hover {
    color:  #000;
}
.tm-read-more-button span {
    position: relative;
    z-index: 1;
}
.tm-read-more-button::before {
    width: 4px;
    height: 100%;
    background: #fff;
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    transition: all 0.3s ease-in-out;
}
.tm-read-more-button:hover::before {
    width: 100%;
}


/* breadcrumb
========================================================================== */
.tm-breadcrumb-wrapper {
    font-size: 16px;
}

.tm-breadcrumb {
    color: #626262;
}

.tm-breadcrumb .widget {
    margin: 0;
    display: flex;
    justify-content: center;
}

.tm-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.tm-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.tm-breadcrumb .current-item {
    color: #fff;
}

.tm-breadcrumb .separator::before {
    font-family: 'tm-jarv';
    content: "\e901";
}

.tm-breadcrumb .current-item {
    color: #fff;
}


/* gutenberg
========================================================================== */
:where(.wp-block-columns.is-layout-flex) {
    gap: 1.5em;
}

ol+.wp-block-columns,
ul+.wp-block-columns,
p+.wp-block-columns {
    margin-top: 30px;
}

:where(.wp-block-columns.tm-gap-3.is-layout-flex) {
    gap: 3em;
}

@media (max-width: 480px) {
    :where(.wp-block-columns.tm-gap-3.is-layout-flex) {
        gap: 1.5em;
    }
}

/* swiper
========================================================================== */
.swiper-wrapper {
    box-sizing: border-box;
}

.swiper-button-prev,
.swiper-button-next {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease-in-out;
}

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

.swiper-button-prev::after,
.swiper-button-next::after {
    font-family: 'tm-jarv';
    font-size: 22px;
    color: #fff;
}

.swiper-button-prev::after {
    content: "\e903";
    transform: rotate(-180deg);
}

.swiper-button-next::after {
    content: "\e903";
}

.swiper-pagination {
    position: relative;
    padding-top: 30px;
}

.swiper-pagination-bullet,
.swiper-pagination-bullet-active {
    background: rgba(217, 217, 217, 0.6);
    width: 11px;
    height: 11px;
    border-radius: 0;
    opacity: 1;
    position: relative;
}

.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 8px;
}

.swiper-pagination-bullet-active::after {
    content: '';
    width: 21px;
    height: 21px;
    border: 2px solid #D8232F;
    position: absolute;
    left: -5px;
    top: -5px;
}

.slider__image {
    height: 233px;
    text-align: center;
    overflow: hidden;
}

.slider__image img {
    height: 100%;
}

.tm-projects-slider .swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

.tm-projects-slider .swiper-slide {
    width: fit-content;
}

@media (max-width: 1480px) {

    .swiper-button-prev,
    .swiper-button-next {
        width: 89px;
    }
}


@media (max-width: 570px) {

    .swiper-button-prev,
    .swiper-button-next {
        width: 69px;
        height: 50px;
    }
}

/* pagination
========================================================================== */
.category-pagination {
    margin-top: 70px;
}

.woocommerce-pagination ul.page-numbers span.page-numbers,
.woocommerce-pagination ul.page-numbers a.page-numbers,
.category-pagination .nav-links a.page-numbers,
.category-pagination .nav-links span.page-numbers {
    display: flex;
    min-width: 39px;
    height: 39px;
    align-items: center;
    justify-content: center;
    background: #434343;
    color: #fff;
    transition: all 0.3s ease-out;
    font-family: "Play", sans-serif;
}

/* .woocommerce-pagination ul.page-numbers a.page-numbers.current,
.woocommerce-pagination ul.page-numbers span.page-numbers.current,
.category-pagination .nav-links a.page-numbers.current,
.category-pagination .nav-links span.page-numbers.current {
    font-weight: 700;
} */

.woocommerce-pagination ul.page-numbers a.page-numbers,
.category-pagination .nav-links a.page-numbers {
    font-weight: 300;
}

.woocommerce-pagination ul.page-numbers a.page-numbers.prev,
.woocommerce-pagination ul.page-numbers a.page-numbers.next,
.category-pagination .nav-links a.page-numbers.prev,
.category-pagination .nav-links a.page-numbers.next {
    padding: 0 5px;
}



.woocommerce-pagination ul.page-numbers li:not(:last-child),
.category-pagination .nav-links li:not(:last-child),
.category-pagination .nav-links>*:not(:last-child) {
    margin-right: 8px;
}

.woocommerce-pagination ul.page-numbers a.page-numbers.current,
.woocommerce-pagination ul.page-numbers span.page-numbers.current,
.woocommerce-pagination ul.page-numbers a.page-numbers:hover,
.category-pagination .nav-links a.page-numbers.current,
.category-pagination .nav-links span.page-numbers.current,
.category-pagination .nav-links a.page-numbers:hover {
    background: #fff;
    color: #000;
}

.category-pagination .nav-links span.dots {
    background: none;
}

.category-pagination .nav-links {
    display: flex;
    justify-content: center;
}

.woocommerce nav.woocommerce-pagination {
    margin-top: 40px;
}

.woocommerce nav.woocommerce-pagination ul {
    margin: 0;
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li {
    border: 0 none;
}

.woocommerce nav.woocommerce-pagination ul li::before {
    display: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    padding: 0;
}

/* main style
========================================================================== */
:where(.wp-block-columns.tm-big-gap.is-layout-flex) {
    gap: 70px;
}

.wp-block-group.alignfull {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.wp-block-group.alignfull>div {
    max-width: 1320px !important;
    padding-left: 20px;
    padding-right: 20px;
    margin: auto;
}

.wp-block-group.alignfull>div .wp-block-columns,
.wp-block-group.alignfull>div p:last-child {
    margin-bottom: 0;
}

.tm-relative {
    position: relative;
}

.tm-youtube {
    width: 100%;
    position: relative;
    padding: 58% 0 0 0;
}

.tm-youtube iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.tm-fix-body {
    overflow: hidden;
}

.tm-main {
    padding: 154px 0 120px;
    flex: 1 1 auto;
}


.tm-main_photo,
.home .tm-main,
.tm-single-services,
.tm-services,
.tm-category,
.tm-single {
    padding: 0 0 90px;
}

.tm-page {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tm-centered-content {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.tm-padding {
    padding: 90px 0;
}

.tm-padding-small {
    padding: 50px 0;
}

.tm-padding-no-bottom {
    padding-bottom: 0;
}

.tm-flex {
    display: flex;
    flex-wrap: wrap;
}

.tm-flex-nw {
    display: flex;
}

.tm-flex-middle {
    align-items: center;
}

.tm-flex-middle-end {
    align-items: flex-end;
}

.tm-flex-center {
    justify-content: center;
}

.tm-flex-space {
    justify-content: space-between;
}

.tm-flex-end {
    justify-content: flex-end;
}

.tm-flex-column {
    flex-direction: column;
}

.tm-grid-right {
    order: 2;
}

.tm-gap20 {
    gap: 20px;
}

.tm-col-gap8 {
    column-gap: 8px;
}

.tm-col-gap10 {
    column-gap: 10px;
}

.tm-col-gap20 {
    column-gap: 20px;
}

.tm-col-gap30 {
    column-gap: 30px;
}

.tm-col-gap35 {
    column-gap: 35px;
}

.tm-row-gap20 {
    row-gap: 20px;
}


.tm-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -20px;
    row-gap: 20px;
}

.tm-grid>* {
    padding-left: 20px;
    box-sizing: border-box;
}

.tm-grid__width-1-1 {
    width: 100%;
}

.tm-grid__width-1-2 {
    width: 50%;
}

.tm-grid__width-5-20 {
    width: 55%;
}

.tm-grid__width-1-3 {
    width: 33.333%;
}

.tm-grid__width-2-3 {
    width: 35%;
}

.tm-grid__width-1-4 {
    width: 25%;
}

.tm-grid__width-1-5 {
    width: 20%;
}

.tm-grid__width-1-6 {
    width: 16.666%;
}

.tm-grid__width-1-8 {
    width: 80%;
}

.tm-grid__width-1-7 {
    width: 70%;
}

.tm-grid__width-7-10 {
    width: 75%;
}

.tm-grid__width-6-10 {
    width: 60%;
}

.tm-grid__width-6-20 {
    width: 65%;
}

.tm-grid__width-6-30 {
    width: 66.666%;
}

.tm-grid__width-4-10 {
    width: 40%;
}

.tm-grid__width-4-20 {
    width: 45%;
}

.tm-grid__width-3-10 {
    width: 30%;
}

.tm-grid__width-3-20 {
    width: 35%;
}

.tm-grid__width-3-30 {
    width: 33.333%;
}

@media (max-width: 1180px) {
    .tm-grid {
        margin-left: -20px;
    }

    .tm-grid>* {
        padding-left: 20px;
    }

    .tm-grid__width-1-6 {
        width: 33.333%;
    }
}

@media (max-width: 980px) {

    .tm-grid-right {
        order: inherit;
    }

    .tm-grid__width-1-3,
    .tm-grid__width-1-4 {
        width: 50%;
    }

    .tm-grid__width-2-3,
    .tm-grid__width-5-20,
    .tm-grid__width-6-20,
    .tm-grid__width-4-20,
    .tm-grid__width-1-2,
    .tm-grid__width-2-3,
    .tm-grid__width-1-5,
    .tm-grid__width-1-8,
    .tm-grid__width-1-7,
    .tm-grid__width-7-10,
    .tm-grid__width-6-10,
    .tm-grid__width-6-20,
    .tm-grid__width-4-10,
    .tm-grid__width-3-10,
    .tm-grid__width-4-20,
    .tm-grid__width-3-20,
    .tm-grid__width-6-30,
    .tm-grid__width-3-30 {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .tm-grid__width-1-6 {
        width: 50%;
    }
}

@media (max-width: 767px) {

    .tm-grid__width-1-3,
    .tm-grid__width-1-4 {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tm-grid__width-1-6 {
        width: 100%;
    }

    .tm-grid>*:last-child {
        margin-bottom: 0;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
.tm-h1,
.tm-h2,
.tm-h3,
.tm-h4,
.tm-h5,
.tm-h6,
.tm-hero-title {
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    font-family: "Play", sans-serif;
    text-transform: uppercase;
}

h1,
.tm-h1 {
    font-size: 55px;
}

h2,
.tm-h2 {
    font-size: 35px;
}

h3,
.tm-h3 {
    font-size: 25px;
}

h4,
.tm-h4 {
    font-size: 20px;
}

h5,
.tm-h5,
h6,
.tm-h6 {
    font-size: 18px;
}

.tm-hero-title {
    font-size: 65px;
}

.size40,
.size42 {
    font-family: "Play", sans-serif;
    line-height: 1.2;
}

.size40 {
    font-size: 40px;
}

.size42 {
    font-size: 42px;
}

.tm-uniq-font {
    font-family: "Play", sans-serif;
}


.extrabold {
    font-weight: 800;
}

.bold {
    font-weight: 700;
}

.semibold {
    font-weight: 600;
}

.medium {
    font-weight: 500;
}

.regular {
    font-weight: 400;
}

.light {
    font-weight: 300;
}

.extralight {
    font-weight: 200;
}

.color-white {
    color: #fff;
}

.color-red {
    color: #D8232F;
}

.color-grey {
    color: rgba(255, 255, 255, 0.4);
}

.bg-black {
    background: #060606;
}

.bg-grey {
    background: rgba(255, 255, 255, 0.1);
}

.text-center {
    text-align: center;
}

.trans {
    text-transform: uppercase;
}

.notrans {
    text-transform: inherit;
}

.maxcenter {
    margin-left: auto;
    margin-right: auto;
}

.max960 {
    max-width: 960px;
}

.tm-content-btn_centered,
.tm-content-btn_centered a {
    margin: 0 auto;
}


.tm-content-btn a {
    width: 245px;
    background: rgba(255, 255, 255, .4);
    color: #fff;
    display: flex;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    height: 55px;
    font-weight: 400;
    font-size: 20px;
    transition: all 0.3s ease-out;
    text-decoration: none;
    position: relative;
    padding: 5px;
    font-family: "Play", sans-serif;
    line-height: 1;
}

.tm-content-btn a::before {
    width: 4px;
    height: 100%;
    background: #fff;
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    transition: all 0.3s ease-in-out;
}

.tm-content-btn_red a::before {
    background: #D8232F;
}

.tm-content-btn a:hover::before {
    width: 100%;
}

.tm-content-btn a>span {
    position: relative;
    z-index: 1;
    display: flex;
    column-gap: 8px;
    align-items: center;
}

.tm-content-btn-icon {
    font-size: 30px;
    line-height: 0.8;
    display: block;
}

.tm-content-btn a:hover,
.tm-content-btn a:active,
.tm-content-btn a:focus {
    color: #000;
    text-decoration: none;
}

.tm-content-btn_red a:hover,
.tm-content-btn_red a:active,
.tm-content-btn_red a:focus {
    color: #fff;
    text-decoration: none;
}

.tm-content-btn_big a {
    width: 280px;
}

.tm-content-btn_small a {
    width: 218px;
}

.tm-content-btn_full-width a {
    width: 100%;
}




@media (max-width: 1440px) {
    .tm-padding {
        padding: 100px 0;
    }

    .tm-padding-no-bottom {
        padding-bottom: 0;
    }

    h1,
    .tm-h1 {
        font-size: 45px;
    }

    h2,
    .tm-h2 {
        font-size: 30px;
    }

    h3,
    .tm-h3 {
        font-size: 22px;
    }

    h4,
    .tm-h4 {
        font-size: 18px;
    }

    .size40,
    .size42 {
        font-size: 38px;
    }

    .tm-hero-title {
        font-size: 55px;
    }

    .tm-content-btn a {
        width: 190px;
        height: 45px;
        font-size: 16px;
    }

}

@media (max-width: 1180px) {

    h1,
    .tm-h1 {
        font-size: 38px;
    }

    h2,
    .tm-h2 {
        font-size: 25px;
    }

    h3,
    .tm-h3 {
        font-size: 20px;
    }

    .tm-hero-title {
        font-size: 40px;
    }

    .size40,
    .size42 {
        font-size: 35px;
    }

    .tm-main {
        padding: 114px 0 90px;
    }

    .tm-main_photo,
    .home .tm-main,
    .tm-single-services,
    .tm-services,
    .tm-category,
    .tm-single {
        padding: 0 0 90px;
    }

    .tm-padding {
        padding: 90px 0;
    }

    .tm-padding-no-bottom {
        padding-bottom: 0;
    }

}

@media (max-width: 980px) {


    .size40,
    .size42 {
        font-size: 28px;
    }

    .tm-padding {
        padding: 60px 0;
    }

    .tm-padding-no-bottom {
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .tm-main {
        padding: 74px 0 70px;
    }

    .tm-main_photo,
    .home .tm-main,
    .tm-single-services,
    .tm-services,
    .tm-category,
    .tm-single {
        padding: 0 0 90px;
    }
}

@media (max-width: 480px) {
    .tm-content-btn a {
        font-size: 16px;
    }

    .tm-content-btn a::after {
        font-size: 6px;
        right: -16px;
    }
}

@media (max-width: 350px) {

    .tm-content-btn,
    .tm-content-btn a,
    .tm-content-btn_big a {
        width: 100%;
    }
}



/* margins
========================================================================== */
.tm-margin-xxsmall-bottom {
    margin-bottom: 8px;
}

.tm-margin-xsmall-bottom {
    margin-bottom: 10px;
}

.tm-margin-small-bottom {
    margin-bottom: 15px;
}

.tm-margin-xstandart-bottom {
    margin-bottom: 20px;
}

.tm-margin-standart-bottom {
    margin-bottom: 25px;
}

.tm-margin-default-bottom {
    margin-bottom: 30px;
}

.tm-margin-xdefault-bottom {
    margin-bottom: 40px;
}

.tm-margin-medium-bottom {
    margin-bottom: 50px;
}

.tm-margin-large-bottom {
    margin-bottom: 60px;
}

.tm-margin-xlarge-bottom {
    margin-bottom: 90px;
}

.tm-margin-2xlarge-bottom {
    margin-bottom: 100px;
}

.tm-margin-3xlarge-bottom {
    margin-bottom: 120px;
}

.tm-margin-4xlarge-bottom {
    margin-bottom: 140px;
}

@media (max-width: 1440px) {
    .tm-margin-2xlarge-bottom {
        margin-bottom: 80px;
    }

    .tm-margin-3xlarge-bottom {
        margin-bottom: 90px;
    }

    .tm-margin-4xlarge-bottom {
        margin-bottom: 120px;
    }
}

@media (max-width: 980px) {

    .tm-margin-xlarge-bottom {
        margin-bottom: 60px;
    }

    .tm-margin-3xlarge-bottom {
        margin-bottom: 80px;
    }

    .tm-margin-4xlarge-bottom {
        margin-bottom: 90px;
    }
}

@media (max-width: 767px) {

    .tm-margin-3xlarge-bottom,
    .tm-margin-4xlarge-bottom {
        margin-bottom: 60px;
    }

    .tm-margin-xdefault-bottom,
    .tm-margin-medium-bottom,
    .tm-margin-large-bottom,
    .tm-margin-xlarge-bottom,
    .tm-margin-2xlarge-bottom {
        margin-bottom: 30px;
    }

}

.tm-margin-no-bottom {
    margin-bottom: 0;
}