/* --------------------------------------------------- */
/* ------------------ Общие параменты ---------------- */
/* --------------------------------------------------- */
body {
  font-family: 'Times New Roman';
	font-size: 14pt;
}
/* Логотип **************************************** */
.index_time {
	position: absolute; /* Абсолютное позиционирование */
	top: 11;
	left: 30;
	/* width: 308; */
	height: 30;
	/* border: 1px solid #929292; */
	text-align: center;
	font-size: 20pt;
	color: #676767;
	-webkit-user-select: none;  /* Выдиление */
}



.load {
	text-align: center;
	/* margin: 0 0 0 -50px; */
	/* width: 100px; */
}
:active, :hover, :focus {
    outline: 0;
    outline-offset: 0;
}
[onClick], [href] {
	cursor: pointer;
}
a {
 text-decoration: none; /* Отменяем подчеркивание у ссылки */
}
.submit {
	text-align: center;
	border: 1px solid #929292;
	font-size: 16pt;
}
.submit:hover {
	background: #b8f5b8;
	border: 1px solid #82c58f;
}
#next { /* Не активные кнопки */
  color: #ccc;
  pointer-events: none;
}

.icon {
  float: right;
  width: 23px;
  height: 23px;
  margin: 0px 2px 0px 2px;
}

/* --------------------------------------------------- */
/* ------------------ Размеры */
.h30 {
  height: 30px;
}
.hCal {    /* Размер ячеек календаря */
  height: 34px;
}
.w100 {
  width: 100px;
}
.w120 {
  width: 120px;
}
.w150 {
  width: 150px;
}
/* --------------------------------------------------- */
/* ------------------ Авторизация -------------------- */
/* --------------------------------------------------- */
.login {
	position: absolute;
	top: 20%; left: 50%;
	/* text-align: center; */
	margin: 0 0 0 -150px;
	width: 300px;
	font-size: 16pt;
	padding: 10px;
	color: #000;
}
.login .top {
	position: relative;
  left: 50%;
  width: calc(100% - 18px);
  margin: 0 0 0 -140px;
	text-align: center;
	height: 30;
	border-bottom: 1px solid #929292;
	box-shadow: 0 7px 7px -7px rgba(0, 0, 0, 0.5);
}
.login form {
	position: relative;
  left: 50%;
  width: calc(100% - 20px);
  margin: 0 0 0 -140px;
  padding-top: 20px;
  padding-bottom: 10px;
	text-align: center;
  border: 1px solid #929292;
  border-top: none;
  /* box-shadow: 0 7px 7px -7px rgba(0, 0, 0, 0.5); */
}
.login input, .login select{
  width: calc(100% - 30px);
  height: 30px;
  margin-bottom: 5px;
  font-size: 16pt;
  border: none;
  border-bottom: 1px solid #929292;
}
.login .submit {
  position: relative;
  left: 50%;
  width: calc(100% - 32px);
  margin: 0 0 0 -125px;
  padding-top: 2px;
  padding-bottom: 2px;
  border: 1px solid #929292;
  background: none;
  cursor: pointer;
}
.login .load {
  height: 23px;
  padding-top: 1px;
  padding-bottom: 1px;
}
/* ---------------------------------------------------- */
/* -------------------- Контент ----------------------- */
/* ---------------------------------------------------- */
.content {
  position: absolute;
  top: 46;
  left: 50%;
  width: 1000px;
  margin-left: -500px;
  /* width:  calc(100% - 500px); */
  height: calc(100% - 100px);
  /* border: 1px solid #929292; */
  -webkit-user-select: none;   /* Выдиление */
  overflow-y: scroll;
}
/* ---------------------------------------------------- */
/* -------------------- Услуги sevice ----------------- */
/* ---------------------------------------------------- */
.service {
  /* width: 100%; */
  /* width:  calc(100% - 500px); */
  /* height: calc(100% - 300px); */
  /* border: 1px solid #929292; */
  -webkit-user-select: none;
  overflow-y: auto;
}

#file_service {
  /* opacity:0 */
  display: none;
}
/* Фон загрузки файла */
.background_load {
  background: linear-gradient(to right, #d7e6ff 0%, #fff 0%);
}
/* ---------------------------------------------------- */
/* ----------------------- Поиск ---------------------- */
/* ---------------------------------------------------- */
.search {
    position: absolute;
    left: 50%;
    margin-left: -500px;
}
.search .logo_search {
	width: 30;
	border: 1px solid #929292;
	text-align: center;
}
.logo_search img {
	width: 15;
}
.search input {
	width: 100%;
	font-family: 'Times New Roman';
	font-size: 14pt;
	margin-top: -6;
	margin-bottom: -6;
	outline:none;
    border:none;
	height: 40;
    background-image:none;
    background-color:transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.search .slave {
	width: 733px;
	border: 1px solid #929292;
	padding-left: 4;
}
input[type='search']::-webkit-search-decoration,
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-results-button,
input[type='search']::-webkit-search-results-decoration {
  display: none;
}
.search .exit {
	width: 100px;
	border: 1px solid #929292;
	text-align: center;
  font-size: 14pt;
}


/* -------------------- Поиск в форме ----------------- */
.form_search {
    position: absolute;
    display: none;
}
.list_search {
  background: #fff;
  width: 100%;
}
.list_search .fullname {
	border: 1px solid #929292;
	padding-left: 6;
  padding-top: 3px;
  padding-bottom: 2px;
	white-space: nowrap;
  font-size: 14pt;
}
.list_search .clinic {
	border: 1px solid #929292;
  padding-left: 6;
  padding-top: 3px;
  padding-bottom: 2px;
	white-space: nowrap;
  font-size: 14pt;
  text-align: left;
}
.list_search .solo {
  background-color: #e2e2e2;
  /* text-align: center; */
}

.list_search .yes:hover {
    background: #a1e7ff;
}

/* ---------------------------------------------------- */
/* -------------------- Формы -------------------------- */
/* ---------------------------------------------------- */
.form {
  width: 100%;
	-webkit-user-select: none;
}

.form .slave {
	text-align: right;
	border: 1px solid #929292;
	font-size: 16pt;
	padding-right: 7;
	width: 240px;
}

.register .slave {
  width: 180px;
}
.price .slave {
  width: 300px;
}

.form .main {
	text-align: center;
	border: 1px solid #929292;
	font-size: 16pt;
	background: #eaeaea80;
}

.form .text {
	text-align: left;
	border: 1px solid #929292;
	font-size: 16pt;
	padding-left: 5px;
  height: 29px;
  -webkit-user-select: text;
}

.form .val {
	text-align: left;
	border: 1px solid #929292;
	font-size: 16pt;
	padding-left: 5px;
  height: 29px;
  -webkit-user-select: text;
}

.form .img {
  text-align: center;
  border: 1px solid #929292;
  width: 150;
}
.form img {
	width: 120;
}

.form input, .form select, .form textarea {
	font-family: 'Times New Roman';
	font-size: 14pt;
	margin-top: -6;
	margin-bottom: -6;
	outline:none;
  border:none;
  background-image:none;
  background-color:transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.form select {
	margin-left: -4;
}
.form textarea {
	margin-top: 0px;
	margin-bottom: 0px;
  width: 100%;
  resize: vertical;
}
.form input[type=text], input[type=search], .form select{
	width: 95%;
}

.form .val:hover {
	background: #ff000020;
	border: 1px solid #ff0000;
}

.form #fullname {
  text-transform: capitalize;
}

.form [status='delete'] {
  border: 1px solid #929292;
  width: 27px;
  background: url(images/del.png) center no-repeat;
  background-size: 20px;
}

.form [status='load'] {
    border: 1px solid #929292;
    background: url(images/load_mini.gif) center no-repeat;
    background-size: 20px;
    width: 27px;
}
/* -- Список под формой */
.form .name {
	text-align: left;
	border: 1px solid #929292;
	padding-left: 5px;
  font-size: 14pt;
}
.form .type {
	text-align: left;
	border: 1px solid #929292;
	padding-left: 5px;
  font-size: 14pt;
  width: 200px;
  text-align: center;
}
.form .type select{
  text-align-last: center;
}

.form .delete {
    border: 1px solid #929292;
    width: 27;
    background: url(images/del.png) center no-repeat;
    background-size: 20px;
}
.form #delete:hover {
  background: #ffcfcf;
	border: 1px solid #ff0000;
}

::-webkit-inner-spin-button { display: none; }
/* ------------------------------------------------------ */
/* -------------------- Списки -------------------------- */
/* ------------------------------------------------------ */

.list {
	font-size: 14pt;
	width: 100%;
}

.list .top {
	border: 1px solid #929292;
  text-align: center;
	background: #e2e2e2;
}

.list .num {
	width: 30;
	text-align: center;
	border: 1px solid #929292;
}
.list .center {
	text-align: center;
	border: 1px solid #929292;
}


.list .name {
	border: 1px solid #929292;
	padding-left: 5;
	padding-right: 5;
}

.list .fullname {
	border: 1px solid #929292;
	padding-left: 5;
	padding-right: 5;
	white-space: nowrap;
}

.list .phone {
	border: 1px solid #929292;
	padding-left: 5;
	padding-right: 5;
  text-align: center;
	white-space: nowrap;
  width: 150px;
}

.list .address {
	border: 1px solid #929292;
	padding-left: 5;
	width: 300;
}

.list .date {
	width: 100px;
	border: 1px solid #929292;
	text-align: center;
}

.list .clinic {
	border: 1px solid #929292;
	padding-left: 5;
	width: 300;
}

.list .profile {
	border: 1px solid #929292;
	padding-left: 5;
	width: 350;
}

.list .doc {
	width: 160px;
	border: 1px solid #929292;
}

.list .price {
	width: 100px;
	text-align: right;
  	padding-right: 5;
	border: 1px solid #929292;
}

.list .type {
	width: 170px;
  text-align: center;
}

.list .class {
	width: 40;
	text-align: center;
	border: 1px solid #929292;
}

.list .repeat {   /* Скидка */
	width: 65px;
	text-align: center;
	border: 1px solid #929292;
}

.list .time {
	width: 70px;
	text-align: center;
	border: 1px solid #929292;
}


.list .service {
	/* width: 250px; */
	border: 1px solid #929292;
}

.list .load {
	border: 1px solid #929292;
  height: 26px;
}

.list .submit {
	border: 1px solid #929292;
	text-align: center;
}
.update_list {
  height: 29px;
}

.swap:hover .a {
  display: none;
}
.swap .b {
  display: none;
}
.swap:hover .b {
  display: inline;
}

.list .hover:hover {
  background: #a1e7ff;
	color: black;
}

.list #delete:hover {
  background: #ffcfcf;
	border: 1px solid #ff0000;
}
.list #update:hover {
  background: #cfffcf;
  border: 1px solid #087d1a;
}

.list input {
	font-family: 'Times New Roman';
	font-size: 14pt;
	margin-top: -6;
	margin-bottom: -6;
  margin-left: -2px;
	outline:none;
  border:none;
	width: 100%;
  background-image:none;
  background-color:transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

/* для списка услуг */

.list .plus {
	border: 1px solid #929292;
	width: 27;
  background: url(images/proc_plus.png) center no-repeat;
  background-size: 16px;
}
.list .minus {
	border: 1px solid #929292;
	width: 27;
  background: url(images/proc_minus.png) center no-repeat;
  background-size: 16px;
}
.list .proc {
  width: 46px;
  text-align: center;
  border: 1px solid #929292;
  font-family: 'Courier New';
  font-size: 14pt;
  font-weight: 600;
  padding-top: 4px;
}
.list .pay {
  text-align: right;
  border: 1px solid #929292;
  padding-right: 7;
  width: 80;
}

.list .type_pay {
	border: 1px solid #929292;
	width: 27px;
}
.list .type_pay:hover {
  border: 1px solid #929292;
  box-shadow: inset 0 0 4px #929292;
}

.list [type_pay='load'] {
  background: url(images/expand_load.gif) center no-repeat;
  background-size: 15px;
}
.list [type_pay='0'] { /* Вид оплата не определно */
  background: url(images/!.png) center no-repeat;
  background-size: 9px;
}
.list [type_pay='1'] {
  background: url(images/cash.png) center no-repeat;
  background-size: 22px;
}
.list [type_pay='2'] {
  background: url(images/bank.png) center no-repeat;
  background-size: 22px;
}
.list .file {
	border: 1px solid #929292;
	width: 27px;
  background: url(images/file.png) center no-repeat;
  background-size: 22px;
}
.list .link {
	border: 1px solid #929292;
	width: 27px;
  background: url(images/bufer.png) center no-repeat;
  background-size: 22px;
}

.list .type_file {
	border: 1px solid #929292;
}

.list .check {
  width: 25px;
  border: 1px solid #929292;
}

.list .top .check {
  background: url(images/yes.png) center no-repeat;
  background-size: 22px;
}

.list [check='yes'] {
  background: #a1e7ff;
}

.list [check='yes'] .check {
  background: url(images/yes.png) center no-repeat;
  background-size: 22px;
}

.list [check='no'] .check {
  background: url(images/no.png) center no-repeat;
  background-size: 22px;
}


.list [paid='0'] .paid{
	border: 1px solid #929292;
	width: 27;
  background: url(images/proc_minus.png) center no-repeat;
  background-size: 16px;
}
.list [paid='1'] .paid {
	border: 1px solid #929292;
	width: 27;
  background: url(images/proc_plus.png) center no-repeat;
  background-size: 16px;
}
.list [paid='2'] .paid {
	border: 1px solid #929292;
	width: 27;
  /* background: url(images/proc_plus.png) center no-repeat; */
  /* background-size: 16px; */
}
.list [paid='load'] .paid {
	border: 1px solid #929292;
	width: 27;
  background: url(images/expand_load.gif) center no-repeat;
  background-size: 16px;
}

.list .delete {
    border: 1px solid #929292;
    width: 27;
    background: url(images/del.png) center no-repeat;
    background-size: 20px;
}
/* --------------------------------------- */

.list .info {
  background-color: #d7e6ff;
}
.list .info td {
  border: 1px solid #89b5ff;
}
/* --------------------------------------- */
/* ------------- Итоги ------------------- */
.itogo {
  width: 100%;
}

.itogo .pay_slave {
	border: 1px solid #929292;
	padding-left: 10;
	font-size: 14pt;
}
.itogo .pay {
	border: 1px solid #929292;
	text-align: right;
	padding-right: 7;
	width: 80;
	font-size: 14pt;
}

.itogo .summ_pay {
	background: #ccffcc; /* Цвет фона */
}
.menu_content .summ_pay_no {
	itogo: #ffcccc; /* Цвет фона */

}

/* --------------------------------------- */
/* ------------- Касса и отчёты, отчеты------------------- */
.menu_slave #date {
  font-family: 'Times New Roman';
	font-size: 14pt;
	margin-top: -6;
	margin-bottom: -6;
  margin-left: -2px;
	outline:none;
  border:none;
	width: 100%;
  background-image:none;
  background-color:transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.menu_slave #date_start {
  font-family: 'Times New Roman';
	font-size: 14pt;
	margin-top: -6;
	margin-bottom: -6;
  margin-left: -2px;
	outline:none;
  border:none;
	width: 100%;
  background-image:none;
  background-color:transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.menu_slave #date_end {
  font-family: 'Times New Roman';
	font-size: 14pt;
	margin-top: -6;
	margin-bottom: -6;
  margin-left: -2px;
	outline:none;
  border:none;
	width: 100%;
  background-image:none;
  background-color:transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}


.cash {
  width: 100%;
  font-size: 14pt;
}
.cash td{
  border: 1px solid #929292;
}
/* .cash .doc{
	background-color: #eaeaea;
} */

.cash .price, .cash .discount, .cash .pay, .cash .bonus {
  padding-right: 5;
  text-align: right;
  width: 100px;
}
.cash .name{
	padding-left: 5;
}
.cash .top td{
	text-align: center;
}
.cash .top{
	background-color: #eaeaea; /* Цвет фона */
}

.cash .count {
	text-align: center;
}
.cash .num {
  width: 30px;
	text-align: center;
}
.cash .pattern {
  width: 24px;
  padding: 0px;
  border: 1px solid #d2d2d2;
}
.cash .summ {
	background: #eaeaea; /* Цвет фона */
}
.cash .lines_1 {
  background: url(images/1.png) center no-repeat;
  border: 1px solid #929292;
}
.cash .lines_2 {
  background: url(images/2.png) center no-repeat;
  border: 1px solid #929292;
}
.cash .lines_3 {
  background: url(images/3.png) center no-repeat;
  border: 1px solid #929292;
}

/* --------- DataTable Фильтр-------------- */

.sorting_1 {
  background-color: #d7e6ff8f;
}


::-webkit-scrollbar {
    width: 8;
}

::-webkit-scrollbar-button {
    background-color: #fff0;
}
::-webkit-scrollbar-corner {
    background-color: #fff;
}
::-webkit-scrollbar-thumb {
    background-color: #929292;
}
::-webkit-scrollbar-track {
    /* background-color: #b46868; */
}


   /* Стили для модального окна */
   .modal {
    display: none; /* По умолчанию скрыто */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);

  }

  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 400px;
    text-align: center;
    height: 120px;
  }
  .modal .modal-result {
    font-size: 16pt;
    margin-top: 47px;
}

  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }

  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  