@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url("/static/fonts/roboto/roboto-v30-cyrillic_latin-regular.woff2") format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url("/static/fonts/roboto/roboto-v30-cyrillic_latin-700.woff2") format('woff2');
}
body {
  font-family: Roboto;
  font-size: 14px;
}

h1{
  font-family: Roboto;
  font-weight: 700;
  color: #0F1379;
}
h4{
  font-family: Roboto;
  font-weight: 700;
  color: #0F1379;
}

.footer-container {
  background-color: #0F1379 !important;
  border-top: 5px solid #EC0000 !important;
}

header, footer {
  background: #0F1379;
  height: 96px;
  max-width: 1704px;
  margin: 0 auto;        
}

header .nav a {font-size: 18px}

footer div.container {
  background: #0F1379;
  border-radius: 12px;
  height: 96px;
}

a.grey-dark {
  color: #737796;
  text-decoration: none;
}
.text-gray {
  color: #232323;
}
.primary-default {
  color: #0F1379;
}

.breadcrumb li.active {
  color: #0F1379;
}
.container {
  padding: 0;
}
.container-gray {
  background: #F3F2F8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.white-box {
  background: #fff;
  border-radius: 24px;
  width: 100%;
}
.gray-box {
  border-radius: 24px;
  width: 100%;    
}
.gray-box h4 {
  color: #232323;
  font-size: 24px;
}
.col-form-label {
  color: #232323;
  font-size: 16px;
  font-weight: bold;
}
.blue-box {
  background: #0F1379;
  border-radius: 12px;
  padding: 12px 16px;
}
.table th, .table td {
  background: none !important;
  border-color: #BAC3E1;
  vertical-align: middle;
}
.form-check-input:checked {
  background-color: #0F1379;
  border-color: #0F1379;
}
.noUi-touch-area {
    background-color: #0F1379;
    margin-top: 5px;
    margin-left: 5px;
    height: 8px;
    width: 8px;
    border-radius: 4px;
}
.noUi-connect {
    background: #0F1379;
}
.noUi-horizontal {
  height: 6px;
}
.noUi-horizontal .noUi-handle {
    width: 34px;
    height: 28px;
    right: -17px;
    top: -12px;
}
.noUi-handle:after, .noUi-handle:before {
    content: None;
}
.noUi-horizontal .noUi-handle {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    right: -18px;
    top: -9px;
}

.btn-primary {
  background-color: #0F1379;
  border-color: #0F1379;
}
.btn-secondary {
  background-color: #BAC3E1;
  border-color: #BAC3E1;
  color: #0F1379;
}

.align-middle {
  display: flex;
  align-items: center;
  justify-content: flex-end;  
}
.text-bold {
  font-weight: bold;
}

.nav-tabs .nav-link {
  color: #0F1379;
}

.nav-tabs button[id^="branch-tab-"]:not(#add-branch-btn) {
  font-weight: bold;
}

#myTabContent .tab-pane {
  min-height: 600px;
}

/* Стили для выделения строк с узлами/оросителями */
.branchTable .sprinkler-row {
  background-color: #BAC3E1;
  font-weight: 500;
}

.branchTable .sprinkler-row td {
  vertical-align: middle;
}

.branchTable .section-row {
  background-color: #ffffff;
}

.branchTable .section-row td {
  vertical-align: middle;
}

.branchTable .node-row {
  background-color: #BAC3E1;
  font-weight: 600;
}

.branchTable .node-row td {
  vertical-align: middle;
}


@media (min-width: 300px) {
  h1{
    font-size: 24px;
  }
  .logo {
    height: 55px;
  }
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
      max-width: 90%;
  }
  .container-gray {
    padding: 10px;
    border-radius: 36px;
  }
  .white-box {
    padding: 10px 20px;
    margin-bottom: 1em;
  }
  .gray-box {
    padding: 10px;
  }
}
@media (min-width: 1600px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
      max-width: 1704px;
  }
  header, footer {
    border-radius: 12px;
  }
  h1{
    font-size: 36px;
  }
  .logo {
    margin-left: 1.5rem !important;
    height: 68px;
  }
  .container-gray {
    border-radius: 36px;
    padding: 30px;
  }
  .white-box {
    padding: 20px 40px;
  }
  .gray-box {
    background: #F3F2F8;
    padding: 20px 40px;
  }
}