body, html {
    font-family: Arial;
    height: 100%;
    margin: 0px;
    /*
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    */
}

.Page1 {
    background-color: #384347;
    /*
    background-image: url("../img/Well3.jpg");
    */
    height: 90vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.Page1I {
    background-color: #384347;
    /*
    background-image: url("../img/Well3.jpg");
    */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.Slide1 {
    background-image: url("../img/Slide1.jpeg");
    height: 100%; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.Slide2 {
    background-image: url("../img/Slide2.jpg");
    height: 100%; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.Slide3 {
    background-image: url("../img/Slide3.jpg");
    height: 100%; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.Slide4 {
    background-image: url("../img/Slide4.jpg");
    height: 100%; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.Slide5 {
    background-image: url("../img/Slide5.jpg");
    height: 100%; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.Slide6 {
    background-image: url("../img/Slide6.jpg");
    height: 100%; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.Slide7 {
    background-image: url("../img/Slide7.jpg");
    height: 100%; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.Slide8 {
    background-image: url("../img/Slide8.jpg");
    height: 100%; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.rectangle {
  border: 5px solid red;
  position: relative;
}

.container {
  position: relative; /* Important for absolute positioning of child */
  /* Other container styles */
}

.centerhigher {
  position: absolute;
  top: 25%; /* Adjust this value to move it higher or lower, e.g., 30% for higher than center */
  transform: translateX(-50%); /* Adjusts horizontal position for true centering */
  /* Other div styles */
}

.RowFlag {
    height: 17%;
    object-fit: cover;
}
.RowFlag img {
    height: 100%;
    object-fit: contain;
}

.TextWithObr {
    color: white;
    font-weight: 900;
    -webkit-text-stroke: 1px white; /* Толщина и цвет обводки */
    text-stroke: 1px white; /* Толщина и цвет обводки (стандартное свойство) */
}
.FactPict {
    /*background-color: #384347;*/
    /*display: block;*
    /*position:relative;*/
    position: inherit;
/*    background-image: url("../img/Factory.jpg");
*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index:-100;
/*    width: 100%;
    height: auto;
    max-height: 100%;*/
    width: 99vw;
    height: 81vh;
    object-fit: cover;
/*    padding-top: 19vh;*/
}

.FactPict_GearMotor {
    /*background-color: #384347;*/
    /*display: block;*
    /*position:relative;*/
    position: inherit;
    background-image: url("../img/image015.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index:-100;
/*    width: 100%;
    height: auto;
    max-height: 100%;*/
    width: 99vw;
    height: 100vh;
    object-fit: cover;
    padding-top: 19vh;
    padding: 40px 60px;
}

.FactPict_GearMotor2 {
    /*background-color: #384347;*/
    /*display: block;*
    /*position:relative;*/
    position: inherit;
    background-position: center;
    background-size: cover;
/*
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: auto;
    max-height: 100%;*/
/*    width: 99vw;
    height: 100vh;*/
    object-fit: cover;
    /*
    padding-top: 19vh;
    padding: 40px 60px;
    */
    z-index:-100;
}

.FactPict_IndustrialGear {
    /*background-color: #384347;*/
    /*display: block;*
    /*position:relative;*/
    position: inherit;
    background-image: url("../img/image018.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index:-100;
/*    width: 100%;
    height: auto;
    max-height: 100%;*/
    width: 99vw;
    height: 100vh;
    object-fit: cover;
    padding-top: 19vh;
    padding: 40px 60px;
}

.HDR1 {
/*    background-image: url("../img/DTC.svg");*/
    font-family: Arial Black;
    font-size: 5vh;
    text-align: center;
    position:sticky;
    left: 2vh;
    top: 2rem;
    color:red;
    font-weight: bold;
    transform: scale(1);
    width: 15vh;
    line-height:5vh;
    padding: 10px 10px;
}

.HDR1_R {
    font-family: Arial;
    font-size: 1.8rem;
    position:absolute;
    left: -5rem;
    top: 1rem;
    width: 99vw;
    color:white;
    text-align: right;
}

.HDR2_Nav
{
    border-style: solid;
    border-color: aqua;
    /*left: 20vw;*/
    /*width: 55vw;*/
    /*position: fixed;*/
    /*top: 3vh;*/
    text-align: right;
    transform: scale(1);
    height: 10vh;
}

.btn-New
{
    height: 9vh;
    text-align: center;
    font-size: 2.5vh;
    transform: scale(1);
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    width: 100%;
}

.HDR_Main
{
    width: 100%;
}

.HDR_Main td
{
    padding: 0;
}

.HDR2_Contact
{
    /*
    border-style: solid;
    border-color: aqua;
    */
    /*
    left: 70vw;
    position: fixed;
    top: 3vh;
    */
    width: 20vw;
    text-align: right;
    transform: scale(1);
    padding-right: 3vh;
}

.HDR2_Phone {
    /*
    font-family: Arial;
    font-size: 1.8rem;
    position:absolute;
    left: -5rem;
    top: 3.5rem;
    width: 99vw;
    color:white;
    text-align: right;
    z-index:100;
    */
    font-family: Arial;
    font-size: 1em;
    color:white;
    transform: scale(1);
    /*
    line-height: 2vh;
    position: inherit;
    left: 0px;
    top: 1vh;
    */
    width: 70%;
}

.HDR2 {
    font-family: Arial;
    font-size: 1.6rem;
    position:absolute;
    left: 5rem;
    top: 18rem;
    color:white;
}

.HDR3_Email {
    /*
    font-family: Arial;
    font-size: 1.8rem;
    position:absolute;
    left: -5rem;
    top: 6rem;
    width: 99vw;
    color:white;
    text-align: right;
    z-index:100;
    */
    font-family: Arial;
    font-size: 1rem;
    color:white;
    transform: scale(1);
    /*
    line-height: 2vh;
    position: inherit;
    left: 0px;
    top: 6vh;
    */
    width: 70%;

}

.HDR3 {
    font-family: Arial;
    font-size: 1.4rem;
    position:absolute;
    left: 5rem;
    top: 20rem;
    color:white;
}

.HDR1_P2 {
    font-family: Arial;
    font-size: 1.8rem;
    color:white;
    float: left;
    position: absolute;
    top:1.5rem;
}

.HDR2_P2
{
    float: right;
    padding-top: 2rem;
    padding-right: 1rem;
}

.HDR2_Phone_P2 {
    font-family: Arial;
    font-size: 1.8rem;
    color:white;
    text-align: right;
    z-index:100;
}

.HDR2_Email_P2 {
    font-family: Arial;
    font-size: 1.8rem;
    color:white;
    text-align: right;
    z-index:100;
}

.Page2 {
    background-color: #DDE6EC;
}

.Page2E {
    background-color: #384347;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 99vw;
    color:white;
    padding-left: 2rem;
    padding-right: 2rem;
    overflow: hidden;
    height: 19vh;
}

.Info1{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.P2TD img{
    margin-top: 30px;
}

.P2HDR1 {
    font-family: Arial;
    font-size: 1.8rem;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.P2TXT1 {
    font-family: Arial;
    margin-top: 10px;
    margin-left: 40px;
    margin-right: 20px;
    margin-bottom: 10px;;
}

.P2TD {
    text-align: center;
    vertical-align: middle;
}

.P2INFO2 {
    font-family: Arial;
    margin-top: 30px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 10px;;
}

.P2UL1 {
    font-family: Arial;
    margin-top: 10px;
    margin-left: 40px;
    margin-right: 20px;
    margin-bottom: 30px;;
}
.P2IMG1 {
    display:block;
    margin: 0 auto;
}

.P2IMG2 {
    text-align: center;
}

.Page3 {
    background-color: #384347;
/*    background-image: url("../img/Factory.jpg");*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 99vw;
    color:white;
    position: relative;
    top: 2rem;
    display:grid;
    padding-left: 2rem;
    padding-right: 2rem;
}

/*
.footer-bottom {
    display:grid;
    align-items:flex-end;
    padding:32px 0 40px;
    gap:0;
    row-gap:32px;
}
*/
.div-bottom {
    background-color: #384347;
    position: revert;
/*    display: inline-table;*/
    top: 2rem;
    display: block;
    padding-top: 80px;
    background-color: #34383c;
    color: #ebeced;
}

.footer-bottom {
    font-family: "Helvetica Now Text", sans-serif;
    font-size: 12px;
    line-height: 20px;
    margin-top: 40px;
    grid-column: 2/-2;
    border-top: 1px solid #999b9d;
    display: flex;
    padding: 20px 0 40px;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;

}

.copyright {
    display: inline;
    margin-left: 30px;
}

.legal {
    column-gap: 10px;
}
.hydrated > a {
        color: currentColor;
        text-decoration: none;
        background: linear-gradient(to bottom, #ebeced, #ebeced) right 0 top 3px/1px 13px no-repeat;
        padding-right: 9px;
}

      .swiper-slide {
        font-size: 18px;
        color: #fff;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
      }

      
      .swiper-slide .title {
        font-size: 41px;
        font-weight: 300;
      }

      .swiper-slide .subtitle {
        font-size: 21px;
      }

      .swiper-slide .text {
        font-size: 14px;
        max-width: 500px;
        line-height: 1.3;
      }

.swiper-pagination-bullet {
    border-style: solid;
    border-color: red;
}

.swiper-pagination {
    zoom: 400%;
}

.stage-teaser {
    display: block;
    position: absolute;
    background-color: rgb(255, 255, 255);
    box-sizing:border-box;
    color: rgb(52,56,60);
    opacity: 0.80;
    z-index:1000;
/*    top: 50vh;*/
    bottom: 100px;
    left: 0px;
    width: 45vw;
    
/*    height: 26vh;*/
    visibility: visible;
    font-size: 48px;

    max-height:400px;
    min-height:auto;
    max-width:634px;
    /*width:calc(100% - var(--grid-margin) - var(--grid-margin));*/
    display: grid;
    align-items: center;
    padding: 0px;
}

.swiper-pagination
{
    --swiper-pagination-bottom: 2px;  
}

.stage-teaser .title {
    font-size: 5cqw;
    visibility: visible;
    margin: 0vh;
    font-size: large;
    font-weight: bold;
/*    padding: clamp(24px, 2.778vw, 40px) clamp(24px, 3.472vw, 50px) 32px clamp(5px, 5.556vw, 80px);*/
    padding: clamp(24px, 2.778vw, 40px) 10px 32px clamp(5px, 2vw, 80px);
    text-wrap: balance;
    width: fit-content;
}

.title {
    visibility: hidden;
}

.tdWithLogo {
    width: 0px;
}

.HDRLink {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    -webkit-text-stroke: 1px;
}

.HDRLink:hover {
    color: white;
}
.HDR_Main td {
    text-align: center;
}

@keyframes blink {  
  0% { color: red; }
  100% { color: black; }
}
@-webkit-keyframes blink {
  0% { color: red; }
  100% { color: black; }
}
.blink {
  -webkit-animation: blink 1s linear infinite;
  -moz-animation: blink 1s linear infinite;
  animation: blink 1s linear infinite;
} 

#Card1:target, #Card2:target, #Card3:target, #Card4:target {
    animation: hilite 4s;
}

@keyframes hilite {
  0% {
    border: solid;
    border-color: red;
    -webkit-transition: all 1s linear;
  }
  100% {
    border: none;
  }
}

nav {
  display: flex; /* Используем flexbox для выравнивания */
  align-items: center; /* Выравниваем элементы по центру */
  justify-content: space-between; /* Распределяем пространство между логотипом и меню */
  padding: 10px;
  height: 9vh;
}

.logo {
  height: 7vh; /* Пример высоты логотипа */
}

nav ul {
  list-style: none; /* Убираем маркеры списка */
  margin: 0;
  padding: 0;
  display: flex; /* Делаем пункты меню горизонтальными */
  justify-content: space-around;
  width: 100%;
}

nav li {
  margin-left: 50px; /* Отступ между пунктами меню */
}

nav a {
  text-decoration: none; /* Убираем подчеркивание ссылок */
  color: #333;
}
.subRequest {
    text-decoration: none;   
    color: rgb(222, 0, 0);
}

.subRequest::before {
    content: "";
    width: 26px;
    height: 18px;
    background-image: url("../img/IDTC_3.svg");
    color: rgb(222, 0, 0);
    display: inline-block;
}

.subRequest:hover {
 text-decoration: none;   
}

.subRequest:hover::before {
    content: "";
    width: 26px;
    height: 18px;
    color: rgb(222, 0, 0);
    background-image: url("../img/IDTC_2.svg");
    display: inline-block;
}

h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    /*font-family: 'Helvetica Now Display';*/
}

.bd a:visited, p a:visited {
    color: red;
}

li.link:before {
    content: '✔\00a0';
}

.swiper-button-prev {
    z-index: 10100;
}