* {
	-webkit-print-color-adjust: exact !important;   /* Chrome, Safari */
	color-adjust: exact !important;                 /*Firefox*/
	padding: 0;
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	box-sizing: inherit;
}
*::after, *::before {
	box-sizing: inherit;
}
@media print {    
    .no-print, .no-print * {
        display: none !important;
    }
	select {
		border: none;
	}
}
@page {
	margin: 50px;
	border: 1px solid gray;
}
html {
	box-sizing: border-box;
}
.new-page {
	page-break-before: always;
	break-before: always;
}
.new-page:first-child {
	page-break-before: avoid;
	break-before: avoid;
}
.pink {
    background: #ffc1cc;
}
.blue {
	background: #a8e5ff;
}
.offer-table th {
    background: #ffff7e;
}
.green {
	background: #94ff94;
}
body {
	font-family: Calibri;
	margin: 0;
	font-size: 14px;
}
#menu-container {
    position: fixed;
    width: 100%;
}
.fix.no-print {
    height: 70px;
}
#menu {
	overflow: hidden;
	background: #f6fef4;
	border: 2px solid gray;
	padding: 0;
	text-align: center;
	width: 100%;
	max-width: 180mm;
	margin: 0 auto 20px;
	border-top: none;
}
#menu li {
	list-style: none;
	font-size: 25px;
	background: #f6fef4;
	margin: 5px;
	padding: 3px;
	float: left;
	cursor: pointer;
}
#menu li a, #menu li i {
	color: #7e7e7e;
}
#menu li > div:hover i, #menu li a:hover {
    color: #00ff15;
}
#menu li .ok i, #menu li .ok a {
	color: blue;
}
#menu li.separator:before {
	content: '|';
	width: 30px;
}
#menu li.separator:hover:before {
	color: #7e7e7e;
	cursor: auto;
}

#menu > li > div:hover::after ,#menu > li > a:hover::after {
    display: block;
    font-size: 16px;
    position: absolute;
    bottom: 5px;
    background: #f6fef4;
    color: gray;
    padding: 0px 3px;
    border-radius: 8px;
    border: 2px solid gray;
}
#menu #home:hover::after {
	content: 'Начало';
	margin-left: -10px;
}
#menu #new:hover::after {
	content: 'Нова оферта';
	margin-left: -35px;
}
#menu #open:hover::after {
	content: 'Отвори оферта';
	margin-left: -35px;
}
#menu #save:hover::after {
	content: 'Запамети';
	margin-left: -23px;
}
#menu #print:hover::after {
	content: 'Принтирай';
	margin-left: -23px;
}
#menu #settings:hover::after {
	content: 'Настройки';
	margin-left: -15px;
}
#message {
    font-size: 20px;
    margin-left: 20px;
}
.page {
	width: 180mm;
	background: white;
	margin: 0 auto;
}
.row {
    margin: 5px 0;
}
header input, #offer-number, #treatment, #expire-date {
    border: none;
    padding: 5px 10px;
}
#offer-number {
    font-size: 14px;
    font-weight: bold;
}
#name {
    width: 100mm;
}
#age {
    width: 32mm;
}
#parent {
    width: 84mm;
}
#phone {
    width: 33mm;
}
#duration {
    width: 12mm;
}
#age-span {
    margin-left: 2mm;
    margin-right: 1mm;
}
#treatment {
    width: 180mm;
}
#code-1-field-select {
	width: 100%;
}
#code-2-field-select {
	width: 100%;
}
.center {
    text-align: center;
}
.offer-table input {
    width: 100%;
}
.offer-table th {
	text-align: center;
	font-weight: bold;
	padding: 5px 10px;
}
.offer-table {
    border-spacing: 0;
    border-collapse: separate;
    margin: 10px 0;
	width: 100%;
	font-size: 14px;
	font-weight: bold;
	border: 1px solid black;

	break-inside: avoid;
	page-break-inside: avoid;
}
.offer-table td {
    padding: 5px 10px;
}
.price-BGN::after {
	content: ' лв';
}
.price-EUR::after {
	content: '  €';
}
#vnoska-sum {
    width: 15mm;
    background: #cff1ff;
	border: none;
    padding: 3px 5px;
    text-align: right;
}
#offer-off {
    background: #cff1ff;
    border: none;
}
#code-3-field select {
	width: 100%;
}
.pagex {
	margin: 0 auto;
	max-width: 1200px;
	width: 100%;
	background: #f6fef4;
	padding: 20px;
}
.box-title {
	font-size: 20px;
	padding: 30px 0 5px;
}
.box {
	display: table;
	width: 100%;
}
.box .box-10 {
	display: table-cell;
	width: 10%;
	padding: 5px 10px;
}
.box .box-50 {
	display: table-cell;
	width: 50%;
	padding: 5px 10px;
}
.box .box-60 {
	display: table-cell;
	width: 60%;
	padding: 5px 10px;
}
.box .box-30 {
	display: table-cell;
	width: 30%;
	padding: 5px 10px;
}
.box .box-70 {
	display: table-cell;
	width: 70%;
	padding: 5px 10px;
}
.box .box-80 {
	display: table-cell;
	width: 80%;
	padding: 5px 10px;
}
.box:hover {
    background: #b0e09e;
}
.box input, .box select {
	width: calc(100% - 20px);
	padding: 5px;
}
small {
    display: block;
}
.fa-edit:hover {
	color: #caffca;
}
.fa-edit {
	color: #1b9319;
	font-size: 20px;
}
.fa-times-circle:hover {
	color: #f6cece;
}
.fa-times-circle {
	color: #ae1919;
	font-size: 20px;
}
.far, .fas, .new-item span {
    transition: all 0.3s linear;
    margin: 0 2px;
    padding: 0 2px;
}
.new-item {
    font-size: 150px;
    color: #7e7e7e;
    margin: 20px;
    padding: 10px;
	text-decoration: none;
	display: inline-block;
	line-height: 10px;
}
.new-item:hover {
    color: #00ff15;
}
.new-item span {
    font-size: 40px;
    text-align: center;
}
.fl-50 {
	width: 50%;
	float: left;
}
.clear {
	float: none;
	clear: both;
}
.fifty-fifty-table {
	display: none;
}
.bruxism-table {
	display: none;
}
.menu a {
    padding: 5px;
    text-decoration: none;
    margin: 5px;
}
.green-bg {
	background: #f6fef4;
}
.price {
    text-align: right;
	white-space: nowrap;
}
textarea {
    width: calc(100% - 13px);
    min-height: 150px;
}
.top-right {
	vertical-align: top;
	text-align: right;
}
select, input {
    font-size: 11px;
    font-weight: bold;
}
#login-form {
	width: 320px;
	margin: 0 auto;
}
#login-form input {
	display: block;
	width: 100%;
	font-size: 20px;
	margin: 4px 0;
	box-sizing: border-box;
	padding: 5px 10px;
}
.red {
    color: #ae1919;
    font-size: 16px;
}
.big-text {
    font-size: 20px;
}
#password-div {
	text-align: left;
}
#login-form input#password-field {
	width: calc(100% - 50px);
	display: inline-block;
	margin-right: 0;
	border: 1px solid black;
	border-right: none;
	height: 40px;
	vertical-align: middle;
}
#show-pass {
	width: 50px;
	font-size: 23px;
	background: white;
	display: inline-block;
	border: 1px solid black;
	height: 40px;
	text-align: center;
	line-height: 35px;
	border-left: none;
	margin: 0 0 0 -4px;
	padding: 0;
	vertical-align: middle;
	cursor: pointer;
}
#show-pass:hover {
    color: #00ff15;
}
#show-pass i {
	vertical-align: middle;
	text-align: center;
}
#show-pass i.far.fa-eye {
	display: inline-block;
}
#show-pass i.far.fa-eye-slash {
	display: none;
}
#show-pass.showed i.far.fa-eye {
	display: none;
}
#show-pass.showed i.far.fa-eye-slash {
	display: inline-block;
}
#request {
    display: none;
    width: 320px;
    margin: 10px auto;
    text-align: left;
}
#pay-d {
    display: inline-block;
    border: 2px solid green;
    margin: 5px;
    padding: 3px 10px;
    border-radius: 3px;
    vertical-align: middle;
    cursor: pointer;
}
#pay-d:hover {
	border-color: lightgreen;
}








