@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Open Sans", sans-serif;
  background-color: rgb(46, 59, 80);
}

main {
  flex: 1 1 100%;
}

#chart {
  height: calc(100vh - 300px);
}

.tv-lightweight-charts {
  background-color: rgb(46, 59, 80);
}

.form-checks {
  flex-basis: 200px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  column-gap: 1rem;
}

.top-btn {
  margin: 28px auto;
  border: 1px solid #324b67;
  border-radius: 14px;
  padding: 5px;
  color: #fff;
}

.btn-yankees-blue {
  background: #172c42;
  font-size: 18px;
  color: #fff;
}

.top-btn .dropdown-menu {
  background-color: #172c42;
  border: 1px solid #324b67;
  color: #fff;
}

.top-btn .dropdown-menu .dropdown-item {
  color: #fff;
}

.top-btn .dropdown-menu .form-control {
  background-color: #1c2f44;
  border: 1px solid #324b67;
  color: #fff;
}

.top-btn .line {
  height: 3px;
  width: 100%;
  display: block;
  background-color: #c0bcbc;
  position: relative;
  opacity: 0;
}

.top-btn .letter {
  position: relative;
}

.top-btn .btn-group>.btn:hover {
  background: #172c42;
  color: #fff;
}

.top-btn .btn-check:checked+.btn {
  border: medium none;
  background: #172c42;
}

.top-btn .btn-group>.btn:hover .line,
.top-btn .btn-check:checked+.btn .line {
  opacity: 1;
}

.top-btn .letter {
  position: relative;
  top: 2px;
}

.top-btn .line {
  position: relative;
  top: -2px;
}

.top-btn .btn-yankees-blue.dropdown-toggle span {
  position: relative;
  top: -4px;
}

.top-btn .dropdown-menu .form-control::placeholder {
  color: #fff;
}

.top-btn .dropdown-item:focus,
.dropdown-item:hover {
  background: #213853;
}

.btn-check:checked+.btn-yankees-blue,
.btn-yankees-blue.active,
.btn-yankees-blue.show,
.btn-yankees-blue:first-child:active,
:not(.btn-check)+.btn-yankees-blue:active {
  background: #172c42;
}

.top-btn .btn-group>.btn-group:not(:last-child)>.btn,
.top-btn .btn-group>.btn.dropdown-toggle-split:first-child,
.top-btn .btn-group>.btn:not(:last-child):not(.dropdown-toggle) {
  border: medium none;
}

.top-btn .dropdown-toggle::after {
  border: medium none;
  content: url('data:image/svg+xml,<svg width="16"  height="10" viewBox="0 0 16 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.2628 0.917641C15.4131 1.06912 15.4883 1.22061 15.4883 1.44783C15.4883 1.59932 15.4131 1.82654 15.1877 1.90228L8.42458 9.47644C8.34944 9.62792 8.04885 9.70366 7.89856 9.70366C7.74827 9.70366 7.52283 9.62792 7.37254 9.47644L0.609425 1.90228C0.383988 1.59932 0.383988 1.14487 0.684571 0.8419C0.985154 0.614676 1.43603 0.614676 1.73661 0.917642L7.97371 7.96161L14.2108 0.993383C14.5114 0.690417 14.9623 0.614675 15.2628 0.917641Z" fill="%235C7693"/></svg>');
  transition: all 0.5s ease-out;
}

.dropdown-toggle-reverse::after {
  display: inline-block;
  transform: rotate(180deg);
  transition: all 0.5s ease-out;
}

.top-btn .btn-yankees-blue.dropdown-toggle,
.btn {
  border-radius: 12px;
}

.col-left {
  width: 80%;
}

.col-right .form-switch .form-check-input {
  width: 39px;
  height: 24px;
}

.col-right .accordion-item:first-of-type .accordion-button {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.col-right .accordion-item:first-of-type {
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
}

.accordion-item:last-of-type .accordion-body {
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
}

.accordion-item:last-of-type,
.accordion-item:last-of-type .accordion-collapse {
  border-bottom-right-radius: 13px;
  border-bottom-left-radius: 13px;
}

header,
footer {
  padding: 15px 50px 16px;
  background-color: #213853;
}

.logo {
  width: auto;
  cursor: pointer;
}

.col-right {
  max-width: 350px;
  min-width: 340px;
  margin-left: 20px;
  margin-top: 40px;
  width: 30%;
  height: calc(100vh - 200px);
  overflow-y: auto;
}

.col-right::-webkit-scrollbar-thumb {
  background-color: #232323;
  border-radius: 20px;
}

.col-right::-webkit-scrollbar {
  width: 6px;
  height: 8px;
  border-radius: 20px;
  background-color: rgba(107, 107, 107, 0.8);
}

.col-right .accordion-item {
  border: 1px solid #324b67;
}

.col-right .accordion-button {
  background: #1c2f44;
  color: #fff;
  box-shadow: none;
}

.col-right .accordion-button:not(.collapsed)::after {
  transform: rotate(0deg);
  background-image: url('data:image/svg+xml,<svg width="16" height="10" viewBox="0 0 16 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.2628 0.917641C15.4131 1.06912 15.4883 1.22061 15.4883 1.44783C15.4883 1.59932 15.4131 1.82654 15.1877 1.90228L8.42458 9.47644C8.34944 9.62792 8.04885 9.70366 7.89856 9.70366C7.74827 9.70366 7.52283 9.62792 7.37254 9.47644L0.609425 1.90228C0.383988 1.59932 0.383988 1.14487 0.684571 0.8419C0.985154 0.614676 1.43603 0.614676 1.73661 0.917642L7.97371 7.96161L14.2108 0.993383C14.5114 0.690417 14.9623 0.614675 15.2628 0.917641Z" fill="%235C7693"/></svg>');
}

.col-right .accordion-button::after {
  transform: rotate(-180deg);
  background-image: url('data:image/svg+xml,<svg width="16" height="10" viewBox="0 0 16 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.2628 0.917641C15.4131 1.06912 15.4883 1.22061 15.4883 1.44783C15.4883 1.59932 15.4131 1.82654 15.1877 1.90228L8.42458 9.47644C8.34944 9.62792 8.04885 9.70366 7.89856 9.70366C7.74827 9.70366 7.52283 9.62792 7.37254 9.47644L0.609425 1.90228C0.383988 1.59932 0.383988 1.14487 0.684571 0.8419C0.985154 0.614676 1.43603 0.614676 1.73661 0.917642L7.97371 7.96161L14.2108 0.993383C14.5114 0.690417 14.9623 0.614675 15.2628 0.917641Z" fill="%235C7693"/></svg>');
}

.col-right .accordion-body,
.col-right table,
.col-right table th,
.col-right table td {
  background: #223850;
  color: #c3c3c3;
  cursor: default;
}

.loader {
  display: flex;
  justify-content: space-around;
  align-items: end;
  height: 100px;
  width: 150px;
  z-index: 9999;
}

.candle {
  width: 10px;
  height: 20px;
  z-index: 9999;
  animation: pulse 1s infinite ease-in-out;
}

@keyframes pulse {

  0%,
  100% {
    height: 20px;
  }

  50% {
    height: 60px;
  }
}

.loader .candle:nth-child(1) {
  animation-delay: -0.4s;
  background: #df1f26;
}

.loader .candle:nth-child(2) {
  animation-delay: -0.2s;
  background: #4cae4e;
}

.loader .candle:nth-child(3) {
  animation-delay: 0s;
  background: #df1f26;
}

.loader .candle:nth-child(4) {
  animation-delay: 0.2s;
  background: #4cae4e;
}

.loader .candle:nth-child(5) {
  animation-delay: 0.4s;
  background: #df1f26;
}

.loader .candle:nth-child(6) {
  animation-delay: 0.3s;
  background: #4cae4e;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

#animatedBlock {
  position: absolute;
  z-index: 999;
  top: -100%;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 20px;
  box-sizing: border-box;
  transition: top 0.5s ease-in-out;
  border: 2px solid #324b67;
}

.hidden {
  top: -100%;
}

.displayNone {
  display: none;
}

.top-btn .dropdown-menu li a {
  cursor: default;
}

.datetime-column {
  font-size: smaller;
}

#accordionPanelTwo {
  height: 300px;
  overflow-y: scroll;
}

#accordionPanelTwo::-webkit-scrollbar-thumb {
  background-color: #232323;
  border-radius: 20px;
}

#accordionPanelTwo::-webkit-scrollbar {
  width: 6px;
  height: 8px;
  border-radius: 20px;
  background-color: rgba(107, 107, 107, 0.8);
}

#accordionPanelTwoTableHeader {
  opacity: 0.6;
  color: #fff;
}

#accordionPanelTwo td,
#accordionPanelTwo th {
  cursor: pointer;
}

#summary-optionTimeButton {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#fcp-container {
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  transition: all 0.5s ease-out;
  white-space: nowrap;
}

.summary_optionPanelClosed {
  height: 55px;
  width: 516px;
  transition-property: all;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(1, 1, 1, 1);
  margin: 25px 0 0 0;
  display: flex;
  column-gap: 6px;
}

.summary_optionPanelOpen {
  height: 70px;
  width: 695px;
}

.btn-check+.btn:hover {
  color: #fff;
  background-color: #172c42;
}

.summary_optionBtn {
  justify-content: space-between;
  border-radius: 12px;
  min-width: 30px;
  outline: none;
  border: none;
  background-color: #172c42;
  height: 100%;
  padding: 5px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.5s ease-out;
  white-space: nowrap;
}

.noBorder {
  border-radius: 0 !important;
}

.summary_optionBtn:hover {
  background-color: #213853;
}

#selectedSymbol {
  color: #fff;
}

.summary_optionBtn .form-switch {
  padding: 0;
  margin: 0;
  height: 15px;
  width: 30px;
}

.summary_optionBtn .form-switch input {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

.summaryOptionIcon {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 6px;
  border-radius: 12px;
}

.summary_optionBtn:hover .line {
  opacity: 1;
  transition: all 0.5s ease-out;
}


@media screen and (min-width: 1601px) and (max-width: 1760px) {
  .col-left {
    width: 83%;
  }

  .col-right {
    width: 17%;
  }
}

@media screen and (min-width: 1761px) and (max-width: 2100px) {
  .col-left {
    width: 86%;
  }

  .col-right {
    width: 14%;
  }
}

@media screen and (min-width: 2101px) and (max-width: 2500px) {
  .col-left {
    width: 88%;
  }

  .col-right {
    width: 250px;
  }
}

@media screen and (min-width: 2501px) {
  .col-left {
    width: 90%;
  }

  .col-right {
    width: 250px;
  }
}

/* Стиль для новых элементов */
.is-new {
  background-color: rgb(34, 47, 65);
}

/* Стиль для новых элементов при наведении */
.is-new:hover {
  background-color: rgb(51, 73, 111);
}

/*@media screen and (min-height: 901px) and (max-height: 1100px){*/
/*    #chart {*/
/*        height:70vh;*/
/*    }*/
/*}*/

/*@media screen and (min-height: 1101px) and (max-height: 1171px){*/
/*    #chart {*/
/*        height:75vh;*/
/*    }*/
/*}*/

/*@media screen and (min-height: 1172px) {*/
/*    #chart {*/
/*        height: calc(100vh - 350px);*/
/*    }*/
/*}*/

/*@media screen and (min-height: 1101px) and (max-height: 1300px){*/
/*    #chart {*/
/*        height:74vh;*/
/*    }*/
/*}*/

/*@media screen and (min-height: 1301px){*/
/*    #chart {*/
/*        height:80vh;*/
/*    }*/
/*}*/

/*responsive style*/

@media (max-width: 991.98px) {
  .top-btn {
    border: 1px solid rgba(50, 75, 103, 0);
  }

  /*#chart {*/
  /*    height:65vh;*/
  /*}*/
  .col-left {
    width: 100%;
  }

  .col-right {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    margin-left: 0;
    margin-top: 30px;
  }
}