@media (max-width: 1380px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}


@media only screen and (min-width: 1025px) {
    .custom-modal-window.modal-dialog {
        min-width: 800px;
    }
}

.chunkref {
    color: #ffffff;
}

.chunkref:visited {
    color: #ffffff;
}
.chunkref:focus{
    color: #ffffff;
}

.chunkref:hover {
    color: lightgray;
}

.unregister-text {
    margin-left: 20px;

    font-size: 21px;
    font-weight: 200;
}

.screen-head {
    text-align: left;
    font-weight: bolder;
    font-size: larger;
    margin-left: 20px;
}

.screen-desc {
    text-align: left;
    margin-left: 28px;
    margin-right: 10px;
}

.screen-img {
    display: block;
    margin-left: 28px;
    margin-right: auto;
}

.little-note {
    font-size: 9px;
    font-style: italic;
    color: darkgray;
}

.profile-row {
    display: flex; 
    width: 600px;
    height: 50px;
    border: 1px solid lightgrey;
    font-size: 16px;
    border-bottom: none;
}

.profile-block {
    display: inline-block;
    margin: auto;
    margin-left: 12px;
}

.user-block-row {
    display: inline-flex;
    margin-bottom: 8px;
}

.user-block-error {
    font-size: smaller; 
    color: red; 
    visibility: hidden; 
    margin-left: 6px; 
    margin-bottom: 15px;
}

.first-block {
    width : 250px;
}

.second-block {
    width : 300px;
}

.third-block {
    width : 100px;
}

.user-block-info {
    font-size: smaller; 
    color: black; 
    visibility: hidden; 
    margin-right: 12px; 
    text-align: end;
    margin-bottom: 15px;
}

.filter-green {
    filter: invert(52%) sepia(54%) saturate(4314%) hue-rotate(87deg) brightness(107%) contrast(117%);
}

.container-sub {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto
}

@media (min-width: 950px) {
    .container-sub {
        width:920px
    }
}

@media (min-width: 1100px) {
    .container-sub {
        width:1070px
    }
}

@media (min-width: 1330px) {
    .container-sub {
        width:1300px
    }
}

/*
.table>tbody>tr>td .refresh-row {
    border-top: 0px solid #ddd !important;
}

.table>tbody>tr>td .usual-row {
    border-top: 1px solid #ddd !important;
}
*/

.usual-row {
    border-bottom: 1px solid #ddd !important;
    border-top: 1px solid #ddd !important; 
}

.refresh-row {
    border-bottom: 1px solid #16a311 !important ;
    border-top: 1px solid #16a311 !important;
}

.chosen-row.usual-row {
    border-bottom: 2px solid #7a7a7a !important;
    border-top: 2px solid #7a7a7a !important;

}

.chosen-row.refresh-row {
    border-bottom: 2px solid #14960f !important;
    border-top: 2px solid #14960f !important;
}


.custom-border {
    border-bottom: 1px solid #ddd !important;
}

.btn-table {
    border: 0px;
    background-color: transparent;
}

.invisible-block {
    display: none;
}

.loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .badge-white
  {
    background-color: white !important;
    padding: 0px ! important;
  }

  .custom-divider {
    border-left: 1px solid  #e5e5e5;
    margin-top: -14px;
    margin-bottom: -14px;
    height: 48px;
  }

  .select-modal-div{
    font-weight: bolder;
  }

  .errorInputDiv {
    text-align: center;
    color: red;
    font-size: 11px;
    display: none;
  }

  .upload-block {
    font-size: 12px;     
    margin-left: 8px; 
    width:175px; 
    margin-bottom: -36px; 
    border: lightgrey 1px solid;
    padding-left: 6px;
    padding-top: 4px;
  }

  .head-cell {
    padding: 8px;
    vertical-align: bottom;
    min-height: 57px !important;
    text-align: center;
    font-weight: 600;
    display: grid;
    align-content: end;
  }

  .ord-cell {
    padding: 8px;
    vertical-align: bottom;
    min-height: 30px !important;

  }

  .but-text {
    font-size: 12px;
    color: #a7a7a7;
  }

  .refresh-date {
    min-width: 80px; 
    text-align: center; 
    color: grey; 
    font-size: 11px; 
    display: inline-flex;
     margin-right: 20px; 
     margin-left:8px;
     vertical-align: bottom;
  }

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

  a[disabled] {
    pointer-events: none !important;
    color: #7a7a7a !important;
}


.trans-area {
    height: 200px;
    padding: 2px;
    width: 350px;
    overflow-y: auto;
    max-height: 200px;
    border: 1px solid darkgray;
}

.trans-record {
    cursor: pointer;
    padding: 2px;
}
.trans-record:hover{
    background-color: lightgray;
}

.selected-trans-record {
    background-color: #72a7f8;
}

.trans-record.selected-trans-record:hover{
    background-color: #72a7f8;
}

.not-last-trans-record {
    border-bottom: 1px solid lightgray;
}

/* Стиль вкладки */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
  }
  
  /* Стиль кнопок, которые используются для открытия содержимого вкладки */
  .tab button {
    background-color: inherit;
    float: left;
    border: none;
     outline: none;
    cursor: pointer;
     padding: 14px 16px;
     transition: 0.3s;
  }
  
  /* Изменение цвета фона кнопок при наведении */
  .tab button:hover {
    background-color: #ddd;
  }
  
  /* Создание класса активной/текущей ссылки на вкладку */
  .tab button.active {
    background-color: #ccc;
  }