@font-face {
  font-family: "Century Gothic Regular";
  src: url("../fonts/century-gothic-regular/century-gothic-regular.ttf")  format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Century Gothic Bold";
  src: url("../fonts/century-gothic-bold/century-gothic-bold.ttf")  format("truetype");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Jura Light";
  src: url("../fonts/jura-light/jura-light.eot")  format("eot"),
       url("../fonts/jura-light/jura-light.woff") format("woff"),
       url("../fonts/jura-light/jura-light.ttf")  format("truetype"),
       url("../fonts/jura-light/jura-light.svg")  format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Jura DemiBold";
  src: url("../fonts/jura-demibold/jura-demibold.eot")  format("eot"),
       url("../fonts/jura-demibold/jura-demibold.woff") format("woff"),
       url("../fonts/jura-demibold/jura-demibold.ttf")  format("truetype"),
       url("../fonts/jura-demibold/jura-demibold.svg")  format("svg");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Myriad Pro Bold Condensed";
  src: url("../fonts/myriadpro/myriadpro-bold-condensed.eot")  format("eot"),
       url("../fonts/myriadpro/myriadpro-bold-condensed.woff") format("woff"),
       url("../fonts/myriadpro/myriadpro-bold-condensed.ttf")  format("truetype"),
       url("../fonts/myriadpro/myriadpro-bold-condensed.svg")  format("svg");
  font-weight: bold;
  font-stretch: condensed;
  font-style: normal;
}
@font-face {
  font-family: "Caviar Dreams Bold";
  src: url("../fonts/caviar-dream-bold/caviar-dream-bold.eot")  format("eot"),
       url("../fonts/caviar-dream-bold/caviar-dream-bold.woff") format("woff"),
       url("../fonts/caviar-dream-bold/caviar-dream-bold.ttf")  format("truetype"),
       url("../fonts/caviar-dream-bold/caviar-dream-bold.svg")  format("svg");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Mikodacs PCS";
  src: url("../fonts/micodacspcs/micodacspcs.eot")  format("eot"),
       url("../fonts/micodacspcs/micodacspcs.woff") format("woff"),
       url("../fonts/micodacspcs/micodacspcs.ttf")  format("truetype"),
       url("../fonts/micodacspcs/micodacspcs.svg")  format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Cuprum Regular";
  src: url("../fonts/cuprum-regular/cuprum-regular.eot")  format("eot"),
       url("../fonts/cuprum-regular/cuprum-regular.woff") format("woff"),
       url("../fonts/cuprum-regular/cuprum-regular.ttf")  format("truetype"),
       url("../fonts/cuprum-regular/cuprum-regular.svg")  format("svg");
  font-weight: normal;
  font-style: normal;
}
body {
  background: url("../images/body.png") repeat #e5e5e5;
  color: #000;
  font: 12px/18px "Jura Light";
  /* min-height: 1800px; */
}
b {
  font-family: "Jura DemiBold";
}
/* Стиль меню с вкладками */
nav.table {
  border: none;
  border-collapse: collapse;
  margin-top: 25px;
  /* width: 100%; */
}
nav .cell {
  color: #fff;
  font: 14px/49px "Mikodacs PCS";
  letter-spacing: 4px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
nav a div {
  /* background: url("../images/tabs.png") 0 -196px repeat-x; */
  background: #60a049; /* Old browsers */
  background: -moz-linear-gradient(top,  #60a049 70%, #3d6e2b 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(70%,#60a049), color-stop(100%,#3d6e2b)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #60a049 70%,#3d6e2b 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #60a049 70%,#3d6e2b 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #60a049 70%,#3d6e2b 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #60a049 70%,#3d6e2b 100%); /* W3C */
  margin: 0 24px;
  position: relative;
}
nav a:first-child div {
  -moz-border-top-left-radius: 5px;
  -webkit-border-top-left-radius: 5px;
  border-top-left-radius: 5px;
  margin-left: 0;
  padding-left: 25px;
}
nav a:last-child div {
  -moz-border-top-right-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  border-top-right-radius: 5px;
  margin-right: 0;
  padding-right: 25px;
}
nav a div:before,
nav a div:after {
  background: url("../images/tabs.png") no-repeat transparent;
  content: "";
  display: block;
  height: 49px;
  position: absolute;
  top: 0; 
  width: 48px;
}
nav a div:before {
  background-position: 0 0;
  left: -48px;
}
nav a:first-child div:before,
nav a:last-child div:after {
  display: none;
}
nav a div:after {
  background-position: 0 -49px;
  right: -48px;
}
nav a.active {
  color: #60a049;
  position: relative;
  z-index: 1000;
}
nav a.active div {
  background: #fff;
}
nav a.active div:before {
  background-position: 0 -98px;
}
nav a.active div:after {
  background-position: 0 -147px;
}
/* Стиль табличного вида элементов */
.table {
  display: table;
}
.row {
  display: table-row;
}
.cell {
  display: table-cell;
}
.width-100 {
  width: 100%;
}
table {
  border: solid 1px #60a049;
  border-collapse: collapse;
  border-spacing: 0;
  font: 12px/18px "Jura DemiBold";
  margin-top: 30px;
  width: 100%;
}
th {
  background: #60a049;
  /* border: solid 1px #fff; */
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}
td {
  border: solid 1px #60a049;
  font-size: 18px;
}
/* Стиль блочного вида элементов */
.block {
  display: block;
}
/* Стиль текстовых полей */
input[type="text"],
input[type="password"] {
  background: #fff;
  border: solid 3px #3c6332;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  color: #848484;
  display: inline-block;
  font: 19px/50px "Cuprum Regular";
  height: 50px;
  padding: 0 10px;
  position: relative;
  width: 250px;
}
/* Выравнивание элементов */
.align-left {
  text-align: left;
}
.align-center {
  text-align: center;
}
.align-right {
  text-align: right;
}
.float-left {
  float: left;
}
.float-right {
  float: right;
}
/* Сообщения о неправильно заполненых полях форм */
label.error,
label .error {
  color: #f00;
  font: 10px/15px "Jura Light" !important;
}
/* Стиль селектов */
.select {
  background: url("../images/select.png") right center no-repeat;
  border: solid 3px #3c6332;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  color: #848484;
  cursor: pointer;
  display: inline-block;
  font: 19px/50px "Cuprum Regular";
  height: 50px;
  padding: 0 10px;
  position: relative;
  width: 250px;
}

.turn_form .select{
	width: 355px;
}

.turn_form .button{
	min-width: 180px;
}
.select .list {
  background: #fff;
  border: solid 3px #3c6332;
  box-sizing: border-box;
  display: none;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 1000;
}
.select .list div {
  padding: 0 10px;
}
.select .list div:hover {
  background: #60a049;
  color: #fff;
}
/* Стиль разделов с шапкой */
section {
  margin: 7px auto 0;
  position: relative;
  width: 920px;
}
section header {
  background: url("../images/sitelogo.png") top left no-repeat transparent;
  min-height: 258px;
}
section header .cost,
section header .manager {
  position: absolute;
  right: 0;
  top: 200px;
}
section header .cost {
  background: url("../images/euro.png") 12px center no-repeat #fff;
  -moz-border-radius: 25px;
  -webkit-border-radius: 25px;
  border-radius: 25px;
  font: 23px/50px "Caviar Dreams Bold";
  padding: 0 12px 0 60px;
}
section header .manager {
  background: #fff;
  font-size: 14px;
  letter-spacing: 4px;
  padding: 20px;
  text-transform: uppercase;
}

section header .logout a{
	color: black;
	float: right;
	font-size: 14px;
	letter-spacing: 3px;
	padding: 7px;
	text-transform: uppercase;
	text-decoration: none;
}

section header .cost small {
  font-size: 14px;
}
/* Стиль кнопок */
.button {
  background: #7ab15c; /* Old browsers */
  background: -moz-linear-gradient(top,  #7ab15c 0%, #367629 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7ab15c), color-stop(100%,#367629)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #7ab15c 0%,#367629 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #7ab15c 0%,#367629 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #7ab15c 0%,#367629 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #7ab15c 0%,#367629 100%); /* W3C */
  border: solid 3px #3c6332;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: 0 2px #eaffae inset;
  -webkit-box-shadow: 0 2px #eaffae inset;
  box-shadow: 0 2px #eaffae inset;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: "Myriad Pro Bold Condensed";
  font-size: 21px;
  height: 55px;
  letter-spacing: 6px;
  line-height: 55px;
  min-width: 250px;
  padding: 0 15px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
/* Блок контента */
.content {
  background: #fff;
  -moz-border-radius: 0 0 5px 5px;
  -webkit-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
  min-height: 980px;
  padding: 50px;
}
/* Страница входа */
#section-login {
  background: url("../images/loginpage-sitelogo.png") center top no-repeat;
  margin: 95px auto 0;
  padding-top: 300px;
  text-align: center;
  width: 320px;
}
#section-login h1 {
  font: normal normal 30px/30px "Jura Light";
  letter-spacing: 8px;
  margin: 0 0 50px;
  text-align: left;
  text-transform: uppercase;
}
#section-login h1 span {
  float: right;
}
#section-login input {
  border: solid 3px #3c6332;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  font-size: 21px;
  letter-spacing: 6px;
  line-height: 55px;
  height: 55px;
  text-align: center;
  width: 100%;
}
#section-login #password,
#section-login .button {
  margin-top: 27px;
}
#section-login #username,
#section-login #password {
  background: #fff;
  -moz-box-shadow: 13px 13px 13px rgba(185, 185, 185, .56) inset,
                   -13px -13px 13px rgba(185, 185, 185, .56) inset,
                   3px 5px 5px rgba(185, 185, 185, .28),
                   -5px -5px 5px rgba(185, 185, 185, .28),
                   5px -5px 5px rgba(185, 185, 185, .28),
                   -5px 5px 5px rgba(185, 185, 185, .28);
  -webkit-box-shadow: 13px 13px 13px rgba(185, 185, 185, .56) inset,
                      -13px -13px 13px rgba(185, 185, 185, .56) inset,
                      5px 5px 5px rgba(185, 185, 185, .28),
                      -5px -5px 5px rgba(185, 185, 185, .28),
                      5px -5px 5px rgba(185, 185, 185, .28),
                      -5px 5px 5px rgba(185, 185, 185, .28);
  box-shadow: 13px 13px 13px rgba(185, 185, 185, .56) inset,
              -13px -13px 13px rgba(185, 185, 185, .56) inset,
              5px 5px 5px rgba(185, 185, 185, .28),
              -5px -5px 5px rgba(185, 185, 185, .28),
              5px -5px 5px rgba(185, 185, 185, .28),
              -5px 5px 5px rgba(185, 185, 185, .28);
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Jura Light";
}
/* Страница истори расчётов */
#section-history .content {
  padding: 60px 170px 0;
}
#section-history .select {
  margin-right: 20px;
}
#section-history label {
  font: 24px "Jura Light";
}
#section-history .label {
  margin-bottom: 15px;
}
#section-history .content table {
  border: solid 1px #60a049;
  border-collapse: collapse;
  border-spacing: 0;
  margin-top: 30px;
  width: 100%;
}
#section-history .content table thead {
  background: #60a049;
}
#section-history .content table col.number,
#section-history .content table col.date {
  width: 100px;
}
#section-history .content table col.view {
  width: 75px;
}
#section-history .content table thead th {
  border-right: solid 1px #fff;
  color: #fff;
  font: normal normal 12px/18px "Jura DemiBold";
  text-align: center;
  text-transform: uppercase;
}
#section-history .content table thead th:last-child {
  border: none;
}
#section-history .content table tbody td {
  border: solid 1px #60a049;
}
#section-history .content table td,
#section-history .content table th {
  vertical-align: middle;
}
#section-history .content table th {
  height: 50px;
}
#section-history .content table td {
  padding: 2px ;
  text-align: center;
}
#section-history input[type="text"] {
  background: url("../images/search.png") right center no-repeat;
  border: solid 3px #3c6332;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  color: #848484;
  font: 19px/50px "Cuprum Regular";
  height: 50px;
  padding: 0 10px;
  position: relative;
  width: 250px;
}
#section-history a.view {
  background: url("../images/icon-view.png") center center no-repeat #eb8500;
  border: solid 1px #6a3c00;
  display: inline-block;
  height: 20px;
  width: 20px;
}
/* Страница просмотра истории */
#section-history-review h1 {
  border-bottom: solid 1px #60a049;
  font: 42px/42px "Jura DemiBold";
  margin: 0 0 45px;
  padding-bottom: 20px;
  /* text-align: center; */
}
#section-history-review .content {
  text-align: center;
}
#section-history-review table {
  border-left: none;
  margin: 0 auto 30px;
  width: 520px;
}
#section-history-review table col.param {
  width: 165px;
}
#section-history-review th {
  border-bottom: solid 1px #fff;
}
#section-history-review table tr:last-child th {
  border-bottom: none;
}
#section-history-review td {
  border-bottom: solid 1px #60a049;
}
/* Страница с настройками */
#section-settings label {
  display: block;
  font-size: 24px;
  line-height: 36px;
}
#section-settings input[type="text"] {
  text-align: center;
  width: 175px;
}
#section-settings table.turn_table td.count input.turn,
#section-settings table.turn_table td.count input[type="text"].turn {
  width: 95px !important;
  height: auto;
  min-height: 0;
  line-height: 18px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  font: 18px/18px "Jura DemiBold";
  text-align: center;
  color: #000;
  display: inline;
}
#section-settings .content .table {
  font-size: 16px;
}
#section-settings .content .cell {
  border-bottom: solid 1px #60a049;
  padding: 25px 0;
  vertical-align: middle;
}
#section-settings .content .cell + .cell {
  width: 250px;
}
#section-settings .save {
  background: url("../images/cell.png") repeat;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  padding: 40px 0;
}
/* Страница с пользователями */
#section-users .content {
  padding: 100px 125px 50px;
}

#section-users form.upload_user{
	display: block;
}

#section-users form {
  display: none;
}
#section-users .adduser {
  font-size: 20px;
  line-height: 32px;
}
#section-users .button {
  border: solid 1px #000;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: 0 1px #eaffae inset;
  -webkit-box-shadow: 0 1px #eaffae inset;
  box-shadow: 0 1px #eaffae inset;
  font-size: 16px;
  height: 32px;
  line-height: 32px;
}
#section-users .content .legend {
  font-size: 24px;
  line-height: 38px;
}
#section-users .content .table .button {
  width: 100%;
}
#section-users .content .table label {
  font-size: 24px;
}
#section-users .adduser .button {
  padding: 0 0 0 60px;
  position: relative;
}
#section-users .adduser .button:before {
  background: url("../images/adduser.png") center center no-repeat transparent;
  border-right: solid 1px #a3ce7a;
  -moz-box-shadow: -2px 0 2px rgba(0, 0, 0, .1) inset;
  -webkit-box-shadow: -2px 0 2px rgba(0, 0, 0, .1) inset;
  box-shadow: -2px 0 2px rgba(0, 0, 0, .2) inset;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  width: 60px;
}
#section-users .content .table {
  border-top: solid 1px #4b803c;
  border-bottom: solid 1px #4b803c;
}
#section-users .content .cell {
  padding: 10px 0;
}
#section-users .content .cell:last-child {
  width: 250px;
}
#section-users .content .row:first-child .cell {
  padding-top: 30px;
}
#section-users .content .row:last-child .cell {
  padding-bottom: 30px;
}
#section-users table {
  border-top: none;
}
#section-users th {
  border-right: solid 1px #fff;
  height: 50px;
}
#section-users td {
  font-size: 12px;
  padding: 1px;
  text-align: center;
  vertical-align: middle;
}
#section-users .edit,
.turn_table .edit,
.turn_table .delete,
.turn_table button.delete,
.paper-type-form .delete,
.paper-type-form button.delete,
#section-users .delete,
#section-users button.delete {
  background-color: #ff8400;
  background-repeat: no-repeat;
  background-position: center center;
  border: solid 1px #b45d00;
  display: inline-block;
  height: 26px;
  width: 30px;
  padding: 0;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  vertical-align: middle;
  -webkit-appearance: none;
  appearance: none;
}
.turn_table .edit,
.turn_table button.edit,
#section-users .edit {
  background-image: url("../images/button-edit.png");
}
.turn_table .delete,
.turn_table button.delete,
.paper-type-form .delete,
.paper-type-form button.delete,
#section-users .delete,
#section-users button.delete {
  background-image: url("../images/delete-button.png");
}
/* Вкладка с расчётом работы */
#section-calc .content {
  padding: 50px 40px;
}
#section-calc .content .column1 {
  width: 275px;
}
#section-calc .content .column1 .select,
#section-calc .content .column1 input[type="text"] {
  color: #000;
  margin-bottom: 10px;
}
#section-calc .content .column1 .select,
#section-calc .content .column1 label,
#section-calc .content .column1 input {
  display: block;
}
#section-calc .content .column1 .select,
#section-calc .content .column1 .button,
#section-calc .content .column1 input {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 40px;
  line-height: 40px;
  width: 100%;
}
#section-calc .content .column1 label {
  font-size: 24px;
  line-height: 38px;
}
#section-calc .content .column1 .button {
  margin-top: 40px;
}
#section-calc .content .column2 {
  padding-left: 45px;
}
#section-calc .content .column2 h1,
#section-calc .content .form-options h1 {
  font-family: "Century Gothic Regular";
  font-size: 24px;
  margin: 0 0 30px 0;
  text-transform: uppercase;
}
#section-calc .content .form-options h1 span,
#section-calc .content .column2 h1 span {
  font-family: "Century Gothic Bold";
  font-weight: bold;
  color: #60a049;
}
#section-calc .content .column2 table {
  background: #ffc000;
  border: none;
  border-collapse: separate;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  font-size: 19px;
  position: relative;
}
#section-calc .content .column2 caption {
  background: #60a049;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  color: #fff;
  display: block;
  font: normal bold 10px/50px "Century Gothic Bold";
  left: 0;
  padding: 0 8px;
  position: absolute;
  text-transform: uppercase;
  top: -25px;
}
#section-calc .content .column2 td,
#section-calc .content .column2 tr:last-child td {
  border: none;
}
#section-calc .content .column2 td {
  text-transform: uppercase;
  border-bottom: dashed 1px #fff;
  padding: 15px;
}
#section-calc .content .column2 td:first-child {
  width: 375px;
}
#section-calc .content .column2 caption + tbody tr:first-child td:first-child {
  padding-top: 40px;
}
#section-calc .content .column2 input {
  border: none;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  color: #434343;
  font: 16px/50px "Myriad Pro Bold Condensed";
  text-align: center;
}
#section-calc .content .column2 .table1 {
  width: 470px;
}
#section-calc .content .column2 .table1 input {
  width: 65px;
}
#section-calc .content .column2 .table2 input,
#section-calc .content .column2 .table3 input {
  width: 125px;
}
#section-calc .content .column2 .table1 {
  margin-top: 60px;
}
#section-calc .content .column2 .table2 {
  margin-top: 45px;
}
#section-calc .content .column2 .table3 {
  margin-top: 30px;
}

input.turn{
	width: 95px !important;
}

table.turn_table tbody{
	display: none;
}

table.turn_table th{
  border: solid 1px #fff;
  height: 40px;
  cursor: pointer;
}

table.turn_table td{
	  text-align: center; 
}

table.turn_table td.count{
	width: 500px
}	

table.turn_table td input{
	font: 18px "Jura DemiBold";
}

table.turn_table td input[type="submit"]{
	margin-left: 40px;
}

.turn_form{
	margin-top: 30px;
}

.b-modal{
	display: none;
}

.pagination{
	font-size: 18px;
    margin: 10px 109px;
    padding: 0 0 20px;
}

textarea.table_input{
	display: block;
    width: 90% !important;
    border: 0px;
	margin: 0px !important;
	padding: 5%;
}

/*            */

.turn_table th>div{
  display: inline-block;
}

.turn_table th>div.turn_table_action_title{
  margin: 10px;
}

.turn_table th>div.turn_table_action_links{
  float: right;
  margin: 5px 20px;
  height: 28px;
}

table.turn_table td input.button{
  margin: 15px;
}

#section-calc .form-options.column1{
  padding-left: 45px;
  padding-top: 45px;
  width: 450px;
}

#section-calc .form-options input[type="checkbox"]{
  width: 40px;
  float: left;
}

#section-calc .content .column1.form-options label{
  line-height: 50px;
}

#section-calc .form-options .row{
  display: block;
}

.paper-type-form-header{
  font-size: 24px;
  line-height: 36px;
}

#section-calc .form-options.column1 > .row{
  display: flex;
  justify-content: flex-start;
}
#section-settings .fix-width .cell input[type="text"]{
  width: calc(100% - 30px);
}
#section-settings .fix-width .cell:nth-child(1){
  width: 1555px
  
}
#section-settings .fix-width .cell:nth-child(2){
  width: 220px;
}
#section-settings .fix-width .cell:nth-child(3){
  width: auto;
}
#section-settings .fix-width .cell:nth-child(4){
  width: 75px;
}
.paper-type-form-header{
  font-size: 19px;
}
.turn_form .button{
  position: relative;
  top: 4px;
}