.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons{
  form{
    display: block;
  }
  .layout-region.layout-region--node-secondary{
    display: none;
  }
  .layout-node-form{
    max-width:80%;
  }
  #drupal-modal{
    overflow-x:hidden;
  }
  a{
    font-size:16px;
    font-weight:400;
    text-align:left;
  }
  .entity-meta.accordion,.js-filter-wrapper.clearfix{
    display: none;
  }
}
.hide-edit-block .views-field-nothing {
  display: none;
}
.edit-node-row a {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('../img/editing.png');
  background-size: contain;
  background-repeat: no-repeat;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  border: none;
}

.no-permission {
  color: grey;
  font-style: italic;
}
.edit-link {
  color: blue;
  text-decoration: underline;
}

.page-node-type-kartka-npp{
  .content-section{
    margin:25px 0;
    .content-link,
    .no-permission.disabled-link{
      text-decoration: none;
      font-size:20px;
      font-weight:600;
      margin:10px 0;
      display: block;
      text-align: center;
      &:hover{
        text-decoration: underline;
      }
    }
  }
}
form .js-form-item-field-id-card-0-target-id{
  display: none;
}
.view-id-card_npp{
  .my-card{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    .views-field-title{
      font-weight: 600;
      font-size:20px;
    }
    .views-field-view-node{
      border:1px solid black;
      border-radius: 6px;
      padding:6px;

      a{
      text-decoration: none;
      font-weight: 600;
    }

    }
    .views-field-view-node:hover,.views-field-view-node:focus{
      border:1px solid black;
      background:black;
      a{
        color:white;
        text-decoration: none;
        font-weight: 600;
      }
    }
  }

}
.no-permission {
  pointer-events: none;
  color: grey;
  cursor: not-allowed;
}
.disabled-link {
  text-decoration: none;
}
.messages.messages--error{
  margin:10px 0;
}
