body {
  position: static !important;
}

/* Скругление углов во вкладках с названиями. В этом примере радиус скругления - 10px. */
.t817__tab {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}


.t817__content {
    border-top-left-radius: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

.t817__tab_active:before {
    background-color: transparent !important;
}

.t817__content_rounded {
    border-top-left-radius: 20px !important;
}


.player{
  -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); /*ios 7 border-radius-bug */
  -webkit-transform: rotate(0.000001deg); /*mac os 10.6 safari 5 border-radius-bug */
  -webkit-border-radius: 15px; 
  -moz-border-radius: 15px;
  border-radius: 15px; 
  overflow: hidden; 
 }

@media screen and (min-width: 1200px){
    .t214__blockimg{     
        transition: 0.2s ease-in-out; 
    }   
    .t214__blockimg:hover{
        transform: scale(1.05); 
    }
}

    .t214__blockimg{ 
        border-radius: 30px !important;   
        overflow: hidden; 

    }
    
.t214__blockimg {
    margin: 0px !important;  
    
}    

.tlk-userbar__user-image {
    width: 40px !important;
    height: 40px !important;
    margin-top: 8px !important;
}

.tlk-userbar__user-image svg {
    max-width: 100%;
    max-height: 100%;
}

.tlk-userbar {
    position: relative; 
    z-index: 3 !important;
}


a {
  text-decoration: underline;
}

canvas.marks {
  width: 100%;
  height: auto;
}

.div-select-container {
  padding: 10px;
  background-color: #000;
  cursor: pointer;
}

select {
  height: 30px;
  margin-right: 20px;
  padding-left: 10px;
  border-radius: 20px;
  border: 1px solid #000;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('https://res.cloudinary.com/dyl3vzy7m/image/upload/v1685040332/arrow_down_qpfv0x.svg');
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 10px; 
  cursor: pointer;
}

.select-container {
  display: flex;
  border-radius: 20px;
  align-items: center;
  margin-left: 0;
  width: 170px;
  animation-duration: 0.5s;
  cursor: pointer;
}

.select-container-menu {
  display: flex;
  border-radius: 20px;
  background-color:#000;
  align-items: center;
  margin-left: 0;
  width: 156px;
  animation-duration: 0.5s;
  cursor: pointer;
}

#menu-select {
  border-color: #000;
  color: #fff;
  background-color: #000;
  background-image: url('https://res.cloudinary.com/dyl3vzy7m/image/upload/v1685658264/menu_icon_03_n0inul.svg');
  width: 100%;
}


select:first-child {
  margin-right: 10px;
  width: 170px;
}

select:last-child {
  margin-right: 0;
  width: 170px;
}


.loading {
  height: 24px;
}
.loading img {
  height: 30px;
}

.send-icon {
  height: 16px;
}
.send-icon img {
  height: 16px;
}



#logo {
  width: auto;
  height: 60px;
  vertical-align: middle;
  padding-bottom: 0px;
  margin-right: 30px;
}

#chat-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  /*overflow-y: auto;*/
  height: calc(100vh - 100px);
  box-sizing: border-box;
  margin: 0 auto;
}


#chat-container {
  border: 0px solid #505050;
  border-radius: 10px;
  background-color: transparent;
  width: 80%;
  height: calc(100vh - 200px);
  max-height: 800px;
  position: relative;
  overflow-y: auto;
  /*overflow-y: scroll;*/
  padding: 0px;
  margin: 30px auto 0 auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#chat-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari и Opera */
}

@media only screen and (max-width: 600px) {
  #chat-wrapper {
    height: calc(100vh - 150px);
  }

  #chat-container {
    height: calc(100vh - 250px);
    max-height: 600px;
  }
}

.message {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 10px;
}

.user-message, .bot-message {
  position: relative;
  line-height: 1.5;
  opacity: 0;
  animation-name: fadeIn;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}


.user-message {
  background-color: #F4F4F5;
  color: #000;
  font-family: Helvetica, sans-serif;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 10px;
}

.user-message:before {
  content: "\1F431   Me:";
  position: absolute;
  top: -25px;
  left: 5px;
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  color: #505050;
}

.user-message {
  position: relative;
  line-height: 1.5;
  opacity: 0;
  animation-name: fadeInUser;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

@keyframes fadeInUser {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bot-message {
  background-color: #fff;
  font-family: Helvetica, sans-serif;
  margin-top: 40px;
  padding: 10px;
}

.bot-message:before {
  content: "\1F916   Intellbot:";
  position: absolute;
  top: -25px;
  left: 5px;
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  color: #505050;
}

.bot-message.empty::before {
  content: "\1F916   Intellbot:";
}


#input-container textarea {
  flex-grow: 2;
  border: 1px solid #d9d9d9;
  border-radius: 20px;
  margin-right: 10px;
  padding: 5px;
  height: 40px;
  padding-left: 10px;
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  box-sizing: border-box;
  resize: none; 
  overflow-y: auto; 
  max-height: 150px;
  padding-top: 7px;
  line-height: 1.5;
}

.my-textarea {
  padding-left: 35px !important;
  /* другие стили */
}


#input-container textarea:focus {
  outline: none;
  border-color: #d9d9d9;
  box-shadow: 0 0 3px 0 #d9d9d9;
}

/* Стили формы ввода и кнопки */
#input-container {
  display: flex;
  margin: 10px 0;
  width: 80%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

#input-container form {
  display: flex;
  width: 100%;
}

#input-container input {
  flex-grow: 2;
  border: 1px solid #d9d9d9;
  border-radius: 20px;
  margin-right: 10px;
  padding: 5px;
  height: 40px;
  padding-left: 10px;
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  box-sizing: border-box;
}

#input-container input:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 3px 0 #000000;
}


#input-container button {
  flex-grow: 0.3;
  background-color: #000000;
  border: none;
  border-radius: 20px;
  color: #fff;
  padding: 5px;
  height: 40px;
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  cursor: pointer;
  box-sizing: border-box;
  align-self: flex-end;
}

#input-container button:hover {
  background-color: #505050;
  transition: background-color 0.2s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.bot-message img {
    max-height: 600px;
    max-width: 100%;
    border-radius: 10px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.bot-message table {
  border-collapse: collapse;
  width: 100%;
}

.bot-message table th, .bot-message table td {
  border: 1px solid #a6a6a6;
  text-align: left;
  padding: 10px;
}

.bot-message table th {
  background-color: #f0f0f0;
}

.bot-message ul {
  list-style-position: inside;
}

.bot-message p {
  margin: 0;
}

.extra-info img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.extra-info {
    overflow: auto;
}

.gantt .tick text {
    display: none;
}

/*Свап анимация*/

.transition-fade {
  transition: 0.4s;
  opacity: 1;
}

html.is-animating .transition-fade {
  opacity: 0;
}


/* Стили для форм */
.item {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-bottom: 10px;
}

.inputField {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
}

.inputField:not(:last-child) {
  margin-right: 20px;
}

#itemsContainer {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 5px; /* добавляем отступ снизу для каждого заголовка поля */
}

#myForm button {
  margin-top: 0px;
  border: none;
  border-radius: 10px;
  margin-bottom: 30px;
  background-color: black;
  color: white;
  cursor: pointer;
  padding: 10px 20px;
  margin-left: 10px;
  font-size: 16px;
}

/* Стили для формы и добавляемых полей */
#myForm, .inputField {
  width: 100%;
}

/* Стили для полей ввода */
#myForm input {
  height: 35px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid #8e8e8e;
  padding-left: 10px;
  font-family: Arial, sans-serif; /* здесь ваше желаемое семейство шрифтов */
  font-size: 16px; /* здесь ваш желаемый размер шрифта */
}

/* Стиль для шрифта заголовков */
#myForm h2, label {
  font-family: 'Helvetica';
  font-size: 12px;
  color: #000000;
}

#product_name {
  max-width: 100%;
  margin-right: 10px;
}


/*!*стили для кнопки сокрытия вопросов*!*/

#toggle-questions {
  position: fixed;
  cursor: pointer;
  bottom: 12px;
  width: 17px;
  height: 17px;
  right: calc(100% - 28px);
  z-index: 1;
}

* {
  box-sizing: border-box;
}
/* Стиль для белой плашки с обводкой */
.question-box {
  box-sizing: border-box;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.15);
  padding: 10px;
  width: 750px;
  max-width: 100%;
  height: 500px;
  opacity: 0;
  pointer-events: none;
  /*opacity: 1;*/
  /*pointer-events: all;*/
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (max-width: 768px) {
  .question-box {
    width: 50%;
    height: 350px;
  }
}

.table-container {
  flex: 2;
  overflow-y: auto;
  max-height: 330px;
}

.additional-hints {
  flex: 1;
  font-family: 'Helvetica';
  font-size: 12px;
  color: #000000;
  text-align: left;
  max-height: 110px;
  background-color: #f3f7ff;
  border-radius: 10px;
  line-height: 1.4;
  padding-left: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 10px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .additional-hints {
    display: none;
  }
}

/* Стиль для кнопок с вопросами */
#suggested-questions {
  position: fixed;
  bottom: calc(30px + 17px + 5px);
  right: calc(100% - 330px);
  transform: translateX(50%);
  z-index: 1;
}

.suggested-question {
  color: #000000 !important;
  background-color: #ececec !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 10px 20px !important;
  margin-right: 5px !important;
  cursor: pointer !important;
  display: block !important; /* кнопки в столбик */
  width: 100% !important; /* кнопки одинаковой ширины */
  text-align: left !important;
  font-family: 'Helvetica'!important;
  font-size: 12px !important;
  color: #000000 !important;
}

.suggested-question:not(:last-child) {
  margin-bottom: 10px !important; /* добавьте отступ снизу */
}


/*Стили для таблицы*/
.question-Table {
  font-family: Helvetica;
  font-size: 12px;
  border-collapse: collapse;
  height: 100%;
}

.question-Table th {
    position: sticky;
    top: -2px;
    background-color: white;
    z-index: 1;
}

    .question-Table th,
    .question-Table td {
        text-align: left;
        border-bottom: 1px solid #d3d3d3;
        padding: 10px;
    }

    .question-Table th {
        border-top: 1px solid #ffffff;
    }

    .role-column {
        background-color: #f5f5f5;
    }


    .question-Table tr:not(.none):hover {
    background-color: #fff2e4;
    cursor: text;
}

#button-container {
    display: none;
    flex-direction: column;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    position: absolute;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.15);
    z-index: 999; /* make sure the container is above other elements */
}

.button {
    background-color: #ffffff;
    color: #000000;
    font-family: Helvetica, sans-serif;
    font-size: 12px;
    border-radius: 5px;
    height: 26px;
    width: 100%;  /* make the button take up full width of the container */
    box-sizing: border-box;  /* account for padding and border in button's total width */
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #F4F4F5;
}

.send-btn img {
    width: 12px;
    height: 12px;

}

.send-btn {
    width: 30px !important;
    height: 30px !important;
    background-color: #000000 !important;
    border: none !important;
    padding: 0px 10px !important;
    cursor: pointer !important;
}

.send-btn:hover {
    background-color: #F4F4F5;
}

/* Стили для отображения Ютуб видео */
.responsive-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Соотношение сторон 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 30px;
    border-radius: 20px; /* Скругление углов */
    overflow: hidden;
}

.responsive-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}