::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background-color: rgba(0, 0, 0, .5);
  __box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

svg.info,
svg.arrow {
  width: 20px;
  height: 20px;   
}

svg.info {
  fill: var(--app-svg-info-color);
}

button svg,
a.button svg {
  fill: var(--app-button-color);
}

[class^="icon-"], [class*=" icon-"] {
  display: inline-block;
}

.sign {
  color: #000;
  margin-right: 5px;
}

.sign.single {
  display: inline-block;  
}

.width-max {
  width: 100%;
}

.border-none {
  border: none;
  margin: 0;
  padding: 0;
}

.margin-horizontal-10 {
  margin-left: 10px;
  margin-right: 10px;
}

h2,
.flex-center {
  display: flex;
  align-items: center;
}

.control-panel {
  display: flex;
  justify-content: center;
  padding: 16px 0;  
}

.navigation {
  display: flex;
}

.navigation .button + .button {
  margin-left: 8px;
}

button#save {
  margin-right: 40px;  
}

fieldset.no-style {
  border: none;
  margin: 0;
  padding: 0;      
}

.remove-item {
  position: absolute;
  bottom: 10px;
  right: 10px;
  line-height: 0;
}

.remove-item > svg {
  width: 16px;
  height: 16px;
  fill: var(--app-button-color-remove);
}

.center {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
}

.point {
  display: inline-block;
  text-align: right;
  color: #5e5e5e;
  width: 240px;
  margin: 0;
}

.margin-top-0 {
  margin-top: 0;
}

.margin-bottom-0 {
  margin-bottom: 0;
}

.margin-vertical-0 {
  margin-top: 0;
  margin-bottom: 0;
}

.margin-padding-0 {
  margin: 0 !important;
  padding: 0 !important;
}

p.warning {
  color: #a6a4a4; 
  text-align: center;
}

.margin-10-0 {
  margin: 10px 0;
}

.education-type {
  margin-bottom: 20px;
}

main[page="relatives"] #add-stepmother,
main[page="relatives"] #add-stepfather,
main[page="relatives"] #add-button-brother,
main[page="relatives"] #add-button-sister {
  margin: 5px 0;  
}

main[page="relatives"] #post-mother-block,
main[page="relatives"] #post-father-block {
  display: flex;
  align-items: center;
}

main[page="family"] #kids-status {
  margin-top: 10px;
  margin-bottom: 10px;
}

main[page="family"] #kids-status > p {
  margin-bottom: 3px;
}      

main[page="additional-info"] .familiar-list {
  display: block;
}

main[page="additional-info"] .inset {
  border-color: #d0d0d0;
}

main[page="additional-info"] p.question {
  flex-shrink: 0;
}

main[page="jobs"] .inset {
  border-color: #d0d0d0;
}

main[page="jobs"] .polygraph-agree {
  width: 100%;
  justify-content: center;
}

main[page="agreement"] #send {
  display: flex;
  justify-content: center;
  align-items: center !important;
  margin: 20px 20px;
}

main[page="agreement"] label.sign {
  margin-bottom: 0;
  margin-left: 10px;
  font-size: 0.9em
}

main[page="agreement"] #agreement-check {
  margin-right: 10px;  
}

main[page="personal-recruiter"] label {
  width: 100px;
}

main[page="personal-recruiter"] button {
  margin-left: 100px;
}

main.readonly [type="radio"],
main.readonly [type="checkbox"],
main.readonly label[for], 
main.readonly select,
main.readonly [type="date"] {
  pointer-events: none;
}

main.readonly button,
main.readonly .not-for-reading {
  display: none !important;
}

.readonly-ignore {
  pointer-events: initial;
}

main[page="index"] {
  display: flex;
  justify-content: center;
  align-items: center;  
}

main[page="index"] .people {
  max-width: 50%;
}

main[page="registry"] {
  --app-main-width: 1100px;
}

main[page="registry"] #grid-container .dx-fileuploader-input-wrapper .dx-button {
  width: 100%;
}

main[page="registry"] .filters,
main[page="users"] .filters {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

main[page="registry"] .dx-datagrid-content .dx-datagrid-table .dx-row > td {
  vertical-align: middle;
}

main[page="users"] tr.deleted-row,
main[page="users"] tr.deleted-row .dx-texteditor-input {  
  background-color: #f8cec1;
}

main[page="users"] h4 {
  margin: 20px 0;
  padding: 10px;
  background-color: #efefef;
  border-radius: 5px;
  color: #424141;
  border-bottom: 1px solid #dddcdc;
  __box-shadow: 0px 1px 1.5px 0px rgba(0, 0, 0, 0.2);
}

main[page="users"] h4:not(:first-of-type) {
  margin-top: 40px;
}

.icon-table {
  font-size: 16px;
  height: 22px;
  width: 22px;
  line-height: 22px;
}

.color-white {
  color: #fff;
}

.icon-pdf {
  background-color: #e1524a;  
}

.link {
  cursor: pointer;
}

.hidden {
  display: none;
}

.suggestions-suggestions {
  min-width: calc(100% - 10px) !important;
  max-width: calc(100% - 10px) !important;
  border-radius: 4px;
}

@media (min-width:320px) and (orientation: portrait) { 
/* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ 
  main[page="index"] .people {
    max-width: 100%;
    height: auto;    
  }
}

@media (min-width:480px) { /* smartphones, Android phones, landscape iPhone */ }
@media (min-width:600px)  { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ }
@media (min-width:801px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */ }
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ }
@media (min-width:1281px) { /* hi-res laptops and desktops */ }