@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
  font-family: 'SourceSansProExtraLightItalic';
  src: url('../fonts/SourceSansPro-ExtraLightIt.otf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SourceSansProRegular';
  src: url('../fonts/SourceSansPro-Regular.otf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SourceSansProBold';
  src: url('../fonts/SourceSansPro-Bold.otf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SourceSansProSemiBold';
  src: url('../fonts/SourceSansPro-Semibold.otf');
  font-weight: normal;
  font-style: normal;
}

@media (max-width: 767.98px) { /*tabs and mobiles*/
  .cb-mobile-ghost {
    display: none;
  }

  .cb-mobile-visible {
    display: block;
  }

  .ncts_cust_container {
    flex-direction: column-reverse; /* Меняем порядок колонок */
  }

  .ncts_cust_section {
    flex: 1;
    overflow: hidden;
    padding-bottom: 4px;
    padding-right: 4px;
  }

  .ncts_cust_addr {
    display: none;
  }
}

@media (min-width: 768px) { /*normal*/
  .cb-mobile-visible {
    display: none;
  }
  .ncts_cust_container {
    flex-direction: row;
    height: 75vh;
  }

  .ncts_cust_section {
    overflow: scroll;
    height: calc(100%-20px);
  }

    .ncts_cust_section:first-child {
      flex: 0 0 55em; /* Фиксированная ширина левой колонки */
    }

    .ncts_cust_section:last-child {
      flex: 1;
    }
}

html, body {
    height: 100%;
    padding-bottom: 70px;
    line-height: calc(1.1em + 0.5vw);
    /*font-family: "SourceSansProRegular";*/
}

h1 {
  font-size: calc(16px + 0.5vw);
}

h2 {
  font-size: calc(14px + 0.5vw);
}

h3 {
  font-size: calc(12px + 0.5vw);
}

h4 {
  font-size: calc(10px + 0.5vw);
}

h5 {
  font-size: calc(8px + 0.5vw);
}

h6 {
  font-size: calc(6px + 0.5vw);
}

/*img {
    width: calc(30px + 1vw);
    height: auto;
}*/

.cb-header {
  background-image: radial-gradient(#4579ce,#234161);
  font-family: "SourceSansProBold";
}

  .cb-header a, .cb-header h1, .cb-header h2, .cb-header h4, .cb-header h5 {
    color: #ffffff;
  }
  .cb-header h1, .cb-header h2, .cb-header h4, .cb-header h5 {
    letter-spacing: unset;
    margin-bottom: 0.5rem;
  }

    .cb-header a:hover {
      color: #ffffff;
    }

    .cb-header *, .cb-header .rz-link-text {
      text-decoration: none !important;
      color:unset;
    }
.ccd-gr-header {
    color: green;
}
    
.main {
}

.cb-footer {
}

.cb-face-area {
  border: 1px solid black;
  border-color: lightgray;
  border-top-width: thick;
  border-radius: 5px;
  background-color: white;
  height: 100%;
}

  .cb-face-area a {
    /*        color: #2D5CA6;*/
    font-family: "SourceSansProSemiBold";
  }

  .cb-face-area .rz-link-text{
    text-decoration: none !important;
  }

  .cb-face-area-business {
    border-top-color: firebrick;
  }

.cb-face-area-head-business {
  color: firebrick;
}

.cb-face-area-individuals {
  border-top-color: coral;
}

.cb-face-area-head-individuals {
  color: coral;
}

.cb-face-area-registry {
  /*border-top-color: palevioletred;*/
  /*border-top-color: #999999;*/
  border-top-color: blueviolet;
}

.cb-face-area-international {
  /*border-top-color: palevioletred;*/
  /*border-top-color: #999999;*/
  border-top-color: burlywood;
}

.cb-face-area-head-international {
  color: burlywood;
}

.cb-face-area-head-registry {
  /*color: palevioletred;*/
  /*color: #999999;*/
  color: blueviolet;
}

.cb-face-area-directory {
  border-top-color: cornflowerblue;
}

.cb-face-area-head-directory {
  color: cornflowerblue;
}

.cb-face-area-additionally {
  border-top-color: lightseagreen;
}

.cb-face-area-head-additionally {
  color: lightseagreen;
}

.cb-customs-logo {
  width: 70px;
}

.auto-vertical-center {
  margin-top: auto;
  margin-bottom: auto;
}

/*
.form-control.invalid {
    border-color:#dc3545;
}
*/

.validation-message {
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545;
}

.textdoc h1 {
  text-align: center;
}

.textdoc h2 {
  text-align: center;
}

.textdoc h3 {
  text-align: center;
}



/*app {
    flex-direction: row;
}

.main .top-row {
    position: sticky;
    top: 0;
}

.main > div {
    padding-left: 2rem !important;
    padding-right: 1.5rem !important;
}*/


/*.sidebar .collapse {
    display: block;
}*/

.auto-vertical-center {
  margin-top: auto;
  margin-bottom: auto;
}

.navbar .dropdown-menu {
  background-color: #234161;
}

.navbar .dropdown.show a {
  background-color: #234161;
  color: #f7f7f7;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background-color: #f7f7f7;
  color: #234161;
}

/*   --- IPR ---*/
.top-right-corner {
  position: absolute;
  top: 0px;
  right: 0px;
}

/*.validation-message {
    color: red;
}*/

a.text-decoration-none {
  text-decoration: none;
}

.control-icon:hover {
  cursor: pointer;
  color: black;
  font-size: 20px;
}

.control-icon-container {
  height: 30px;
  width: 30px;
}

.ipr-save-icon-container {
  height: 50px;
  width: 50px;
}

.ipr-save-icon {
  font-size: 200%;
  cursor: pointer;
  color: dimgrey;
}

  .ipr-save-icon:hover {
    font-size: 220%;
    color: black;
  }

.datalist-paginator-display-none .rz-datalist-data {
  display: none;
}

.required-label:after {
  content: "*";
  color: red;
}

.y-scrollable-85 {
  max-height: 85%;
  overflow-y: scroll;
}

.error-panel-view-expanded {
  opacity: 0.5;
}

  .error-panel-view-expanded:hover {
    opacity: 1;
  }

.error-place-target-invalid-error > *:not(:focus) {
  border: 2px solid #f9777f !important;
}

.error-place-target-invalid-warning > *:not(:focus) {
  border: 2px solid #e6c54f !important;
}

.error-place-target-invalid-info > *:not(:focus) {
  border: 2px solid #68d5c8 !important;
}

button.invisible-focus-button {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 1px !important;
  height: 1px !important;
  font-size: 0 !important;
  display: block !important;
  outline-color: transparent !important;
}

@media (min-width: 2100px) {
  .col-xxl-1 {
    flex: 0 0 8.33%;
    max-width: 8.33%;
  }

  .col-xxl-2 {
    flex: 0 0 16.66%;
    max-width: 16.66%;
  }

  .col-xxl-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-xxl-4 {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }

  .col-xxl-5 {
    flex: 0 0 41.67%;
    max-width: 41.66%;
  }

  .col-xxl-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-xxl-7 {
    flex: 0 0 58.33%;
    max-width: 58.33%;
  }

  .col-xxl-8 {
    flex: 0 0 66.66%;
    max-width: 66.66%;
  }

  .col-xxl-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }

  .col-xxl-10 {
    flex: 0 0 83.33%;
    max-width: 86.33%;
  }

  .col-xxl-11 {
    flex: 0 0 91.66%;
    max-width: 91.66%;
  }

  .col-xxl-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.green-label-wrapper label {
  color: green;
  font-size: smaller;
}

.green-label-wrapper .rz-datatable-thead th .rz-column-title {
  color: green;
}

.green-label-wrapper .rz-column-title {
  color: green;
}

.green-label-wrapper .rz-column-title-content {
  color: green;
}

.ncts_cust_container {
  display: flex;
}

.ncts_cust_section {
  flex: 1;
  /*height: 100%;*/
  border: 1px solid #ccc;
}

.ncts_cust_addr {
}

.cns-tooltip {
  pointer-events: none;
  transform-origin: bottom;
  max-width: 500px;
}

body:not(.cns-tooltip-show):not(.cns-tooltip-prepare) .cns-tooltip {
  transition: all 0.3s 0s ease;
  visibility: hidden;
  transform: scaleY(0);
  opacity: 0;
}

body.cns-tooltip-show .cns-tooltip {
  transition: all 0.3s 0s ease;
  visibility: visible;
  transform: scaleY(1);
  opacity: 1;
}

body.cns-tooltip-prepare .cns-tooltip {
  transition: all 0s 0s ease;
  opacity: 0;
}

.cns-tooltip * {
  white-space: initial;
  word-break: initial;
  word-wrap: initial;
  background-color: #636363;
  color: white;
}