/*
GRADIENT
http://www.colorzilla.com/gradient-editor/

Kod nekih klasa je dodat prefix HTML
da bi pravilo bilo starije i bilo primenjeno

* {
-webkit-transition: all 0.5s ease-in-out 0s;
transition: all 0.5s ease-in-out 0s;
}
*/

@-ms-viewport{
	width: device-width;
}

body {
	position: relative;
	overflow: hidden;
}

/* .leftWrap, .rightTop */
DEPRECATED {
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: white url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjMiLz4KICAgIDxzdG9wIG9mZnNldD0iMzAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAuMyIvPgogICAgPHN0b3Agb2Zmc2V0PSI3MCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMC4zIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxOTFmMjYiIHN0b3Atb3BhY2l0eT0iMC4zIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
	background: white -moz-linear-gradient(top, rgba(0,0,0,0.3) 0%, rgba(255,255,255,0.3) 30%, rgba(255,255,255,0.3) 70%, rgba(25,31,38,0.3) 100%); /* FF3.6+ */
	background: white -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.3)), color-stop(30%,rgba(255,255,255,0.3)), color-stop(70%,rgba(255,255,255,0.3)), color-stop(100%,rgba(25,31,38,0.3))); /* Chrome,Safari4+ */
	background: white -webkit-linear-gradient(top, rgba(0,0,0,0.3) 0%,rgba(255,255,255,0.3) 30%,rgba(255,255,255,0.3) 70%,rgba(25,31,38,0.3) 100%); /* Chrome10+,Safari5.1+ */
	background: white -o-linear-gradient(top, rgba(0,0,0,0.3) 0%,rgba(255,255,255,0.3) 30%,rgba(255,255,255,0.3) 70%,rgba(25,31,38,0.3) 100%); /* Opera 11.10+ */
	background: white -ms-linear-gradient(top, rgba(0,0,0,0.3) 0%,rgba(255,255,255,0.3) 30%,rgba(255,255,255,0.3) 70%,rgba(25,31,38,0.3) 100%); /* IE10+ */
	background: white linear-gradient(to bottom, rgba(0,0,0,0.3) 0%,rgba(255,255,255,0.3) 30%,rgba(255,255,255,0.3) 70%,rgba(25,31,38,0.3) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d000000', endColorstr='#4d191f26',GradientType=0 ); /* IE6-8 */
}

.gray_gradient_background {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,ffffff+30,ffffff+70,191f26+100&0.3+0,0.3+100 */
	background: white -moz-linear-gradient(top, rgba(0,0,0,0.3) 0%, rgba(255,255,255,0.3) 30%, rgba(255,255,255,0.3) 70%, rgba(25,31,38,0.3) 100%); /* FF3.6-15 */
	background: white -webkit-linear-gradient(top, rgba(0,0,0,0.3) 0%,rgba(255,255,255,0.3) 30%,rgba(255,255,255,0.3) 70%,rgba(25,31,38,0.3) 100%); /* Chrome10-25,Safari5.1-6 */
	background: white linear-gradient(to bottom, rgba(0,0,0,0.3) 0%,rgba(255,255,255,0.3) 30%,rgba(255,255,255,0.3) 70%,rgba(25,31,38,0.3) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d000000', endColorstr='#4d191f26',GradientType=0 ); /* IE6-9 */
}

.red_gradient_background {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ff7f7f+0,ffffff+30,ffffff+70,ff7f7f+100&0.3+0,0.3+100 */
	background: white -moz-linear-gradient(top, rgba(255,127,127,0.3) 0%, rgba(255,255,255,0.3) 30%, rgba(255,255,255,0.3) 70%, rgba(255,127,127,0.3) 100%); /* FF3.6-15 */
	background: white -webkit-linear-gradient(top, rgba(255,127,127,0.3) 0%,rgba(255,255,255,0.3) 30%,rgba(255,255,255,0.3) 70%,rgba(255,127,127,0.3) 100%); /* Chrome10-25,Safari5.1-6 */
	background: white linear-gradient(to bottom, rgba(255,127,127,0.3) 0%,rgba(255,255,255,0.3) 30%,rgba(255,255,255,0.3) 70%,rgba(255,127,127,0.3) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4dff7f7f', endColorstr='#4dff7f7f',GradientType=0 ); /* IE6-9 */
}

.yellow_gradient_background {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffff7f+0,ffffff+30,ffffff+70,ffff7f+100&0.3+0,0.3+100 */
	background: white -moz-linear-gradient(top, rgba(255,255,127,0.3) 0%, rgba(255,255,255,0.3) 30%, rgba(255,255,255,0.3) 70%, rgba(255,255,127,0.3) 100%); /* FF3.6-15 */
	background: white -webkit-linear-gradient(top, rgba(255,255,127,0.3) 0%,rgba(255,255,255,0.3) 30%,rgba(255,255,255,0.3) 70%,rgba(255,255,127,0.3) 100%); /* Chrome10-25,Safari5.1-6 */
	background: white linear-gradient(to bottom, rgba(255,255,127,0.3) 0%,rgba(255,255,255,0.3) 30%,rgba(255,255,255,0.3) 70%,rgba(255,255,127,0.3) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4dffff7f', endColorstr='#4dffff7f',GradientType=0 ); /* IE6-9 */
}

html, body, main {
	height: 100%;
	padding: 0;
	margin: 0;
	overflow: hidden;
}

main {
	height: 100%;
}

input[type='text'], input[type='number'], textarea {
	width: 250px;
	padding: 3px;
}
select {
	width: 260px;
	padding: 3px;
}

.option_deleted {
	background-color: #dfdfdf;
}

/*remove default red alert border*/
input, input:invalid, input:required  {
	outline: none !important;
	box-shadow:none;
}

/*remove arrows for number input fields*/
input[type='number'] {
	-moz-appearance:textfield;
}
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input.inputSmall {
	width: 50px;
}
input.inputSemiSmall {
	width: 80px;
}
input.inputMedium {
	width: 150px !important;;
}
input.inputWide, select.selectWide {
	width: 99%;
}
input.inputStrech {
	width: 99%;
	background: transparent;
	cursor: pointer;
}
input.inputStrech_90 {
	width: 90%;
	background: transparent;
	cursor: pointer;
}
input.inputStrechDisabled {
	width: 99%;
	background: transparent;
	color: black;
}
input.inputStrechDisabled_90 {
	width: 90%;
	background: transparent;
	color: black;
}
.textareaStrechDisabled {
	background: transparent;
	color: black;
}
.noBorder {
	border: 0px solid white;
}

select {
	font-size: 12px;
}

select.selectSmall {
	width: 80px !important;
}
select.selectMedium, input.selectMedium {
	width: 120px !important;
}

textarea.textareaSmall {
	width: 100px;
	height: 50px;
}
textarea.textareaMedium {
	width: 300px;
	height: 75px;
}
textarea.textareaLarge {
	width: 500px;
	height: 100px;
}

.textRight {
	text-align: right;
}

.ucwords {
	text-transform: capitalize;
}

.pointer {
	cursor: pointer;
}

input[readonly="readonly"] {
	background-color: rgb(220,220,220);
	border: 1px solid gray;
	width: 252px;
	cursor: default !important;
}

a, a:link, pdf_contenta:hover, a:visited, a:active {
	color: #b40000;
}
a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

h2 {
	text-align: center;
	font-weight: bold;
	font-size: 15px;
	padding: 10px 0;
}
h3 {
	font-weight: bold;
	font-size: 15px;
	padding: 10px 0;
}

.bw {
	-moz-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

.strong {
	font-weight: bold;
}

.total {
	font-size: 110%;
	font-weight: bold;
}

.link {
	display: inline-block;
	padding: 5px;
}

.block {
	display: block;
}

.ul_list {
	margin: 10px 20px;
}

.ul_list li {
	padding: 5px 10px;
}

/*
.ul_list li.list:nth-child(even) {
	background-color: #bbbbbb;
}
*/

.ul_list li.list {
	padding: 10px;
	border-bottom: 1px solid gray;
}
.ul_list li i {
	padding: 5px 5px;
	margin: 0 5px;
}

.background {
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -800px;
	max-width: 1600px;
	width: 100%;
	min-height: 400px;
	height: 100%;
	background-image: url("/images/index/login.jpg");
	background-size: 100%;
/*
	-webkit-filter: blur(25px);
	-moz-filter: blur(25px);
	-o-filter: blur(25px);
	-ms-filter: blur(25px);
	filter: blur(25px);
*/
}
.background img {
	width: 100%;
	-webkit-filter: blur(20px);
	-moz-filter: blur(20px);
	-o-filter: blur(20px);
	-ms-filter: blur(20px);
	filter: blur(20px);
}
.background_index {
	background : url('/\images/index/background.jpg');
	background-size : 100% 100%;
}

.center {
	text-align: center;
}
.right {
	text-align: right;
}

.centerTable {
	margin: 0 auto;
	max-width: 500px;
	width: 100%;
}
.centerTable td {
	border: 1px solid #ccc;
	padding: 5px;
}

.disabled {
	/*
    napravi jednom ako ti bude trebalo
    */
}

.arrow-up {
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid white;
}
.arrow-down {
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid white;
}
.arrow-right {
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 10px solid white;
}
.arrow-left {
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-right:10px solid white;
}

.dropButtonWrap {
	position: relative;
	display: inline-block;
}
.dropButton {
	position: absolute;
	top: 5px;
	right: 5px;
}

.blur-10 {
	filter: blur(10px);
}
.blur-15 {
	filter: blur(15px);
}
.blur-12 {
	filter: blur(20px);
}

#wrap {
	width: 98%;
	max-width: 1600px;
	margin: 0 auto;
	height: 100%;
	position: relative;
	-webkit-transition: filter 0.5s ease-in-out 0s;
}

.mainTable {
	height: 100%;
	width: 100%;
}

.leftWrap {
	height: 100%;
	border: 2px solid #8A8A8A;
	border-radius: 5px;
	position: relative;
}

.leftWrap_MarginRight {
	margin-right: 10px;
}

.left {
	position: absolute;
	overflow: hidden;
	height: 100%;
	width: 100% !important;
}

html .inline {
	display: inline;
}

/*
Problem je sto je mack ukinuo scrol bar posle nekog update-a pa mora ovako da se dodaje horizontalni skrol
*/
html:not(.touch) .left,
html:not(.touch).rendgenImageWrap {
	overflow-x: auto;
}
html:not(.touch) .left::-webkit-scrollbar,
html:not(.touch) .rendgenImageWrap::-webkit-scrollbar {
	-webkit-appearance: none;
	width: 7px !important;
	height: 7px !important;
}
html:not(.touch) .left::-webkit-scrollbar:horizontal,
html:not(.touch) .rendgenImageWrap::-webkit-scrollbar:horizontal {
	height: 11px;
}
/*.left::-webkit-scrollbar:vertical,*/
html:not(.touch) .rendgenImageWrap::-webkit-scrollbar:vertical {
	width: 8px;
}
html:not(.touch) .left::-webkit-scrollbar-thumb,
html:not(.touch).rendgenImageWrap::-webkit-scrollbar-thumb {
	border-radius: 8px;
	border: 1px solid white; /* should match background, can't be transparent */
	background-color: rgba(0, 0, 0, 0.6);
	height: 2px;
}

.word_link{
	color: darkblue !important;
}
.excel_link {
	color: green !important;
}

.pdf_link {
	color: #b40000 !important;
}

.lightboxOverlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: white;
	z-index: 30001;
}


.lightboxOverlay i {
	color: lightgray;
	transition: all 0.2s ease-in-out 0s;
	margin: 0 10px;
}
.lightboxOverlay i:hover {
	color: white;
	cursor: pointer;
}

.lightboxHeader {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.65+0,0+100;Neutral+Density */
	background: -moz-linear-gradient(top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
	position: absolute;
	top: 0;
	height: 50px;
	width: 98%;
	padding: 1%;
	text-align: center
}

.lightboxTitle {
	color: white;
	display: inline-block;
	font-size: 125%;
}

.lightboxButton {
	position: absolute;
	top: 50%;
}

.lightboxButtonLeft {
	left: 10px;
}
.lightboxButtonRight {
	right: 10px;
}

.lightboxContent {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 100%;
	max-height: 100%;
	overflow: hidden;
}

.lightboxFooter {
	position: absolute;
	bottom: 0;
	height: 50px;
	width: 98%;
	margin: 1%;
}

.zoomButtonWrap {
	position: absolute;
	bottom: 0;
	padding: 5px;
	width: 200px;
	left: 50%;
	transform: translate(-50%);
	text-align: center;
	background-color: rgba(0, 0, 0, 0.6);
	user-select: none;
}


.alwaysOnTop {
	z-index: 40000 !important;
}

.contentOverlay,
.lightboxContentOverlay {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0;
	z-index: -100;
}

.ajaxLoadBg {
	/*background: black url("/images/index/ajax-loader.png") no-repeat center center;*/
	background-color: black;
	min-height: 150px;
	opacity: 0.2;
	position: relative;
}
.ajaxLoadBg::after {
	content: "";
	display: inline-block;
	width: 100px;
	height: 100px;
	background: url("/images/index/spinner.png") no-repeat center center;
	animation: spinner 700ms linear infinite;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -50px 0 0 -50px;
	/*transform: translate(-50%, -50%);*/
}

.pageLoader {
	position: absolute !important;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 2000;
}

.noticeText {
	color: gray;
}

.notice {
	background-image: url("/images/index/notice.png");
	background-repeat: no-repeat;
	background-position: right top;
}

.popupMessage {
	position: absolute;
	top: -100px;
	left: 50%;
	transform: translate(-50%, 0%);
	padding: 15px;
	z-index: 20010;
	background-color: white;
	opacity: 0.8;
	border-radius: 5px;
	display: none;
	max-height: 80%;
	overflow-y: auto;
}

.noOpacity {
	opacity: 1;
}

.alert-warning {
	background-color: #ffe3e1;
	color: red;
	border: 1px solid red;
	padding: 10px;
	margin: 10px;
	position: relative;
	line-height: 20px; 
}

.warningBg {
	background-color: #b40000;
}
.okBg {
	background-color: green;
}

.warningOverlay {
	border: 1px solid #b40000;
	color: #b40000;
}
.warningText {
	color: #b40000 !important;
}

.okOverlay, .okForm {
	border: 1px solid green;
	color: green;
}
.okText {
	color: green !important;
}

.processText {
	color: #997A00 !important;
}
.cancelText {
	color: #666 !important;
}

.messageRight {
	left: auto;
	right: 10px;
	margin: 0;
}

.promptOverlay {
	top: 20%;
	width: 200px;
	text-align: center;
}
.promptOverlay .message{
	padding-bottom: 10px;
}

html .warningMessage, html .warningMessage2 {
	color: #b40000;
	margin: 5px 0;
}

.buttonPlaceholder, .buttonPlaceholder2 {
	color: #b40000;
}

.remove_attachment, .remove_file {
	width: 14px;
	cursor: pointer;
}

.errorMessage {
	background-color: rgba(255, 200, 200, 0.4);
	border-radius: 5px;
	box-shadow: 0 0 15px #aaa, 0 0 15px #aaa;
	display: inline-block;
	font-size: 15px;
	padding: 10px 30px;
	text-align: center;
	color: #b40000;
	margin: 10px;
}

html .promptMessage {
	color: #997a00;
}

html .okMessage {
	color: green;
}

.warningForm  {
	border: 1px solid #b40000 !important;
	box-shadow: 2px 2px 5px rgba(180,0,0,0.4), -2px -2px 5px rgba(180,0,0,0.4) !important;
}

.okForm  {
	border: 1px solid green !important;
	box-shadow: 2px 2px 5px rgba(0,180,0,0.4), -2px -2px 5px rgba(0,180,0,0.4) !important;
}

.loader {
	width: 64px;
	height: 64px;
	background: transparent url('/images/index/ajax-loader-3.gif') no-repeat;
	margin: 0 auto;
}
.opacity_05 {
	opacity: 0.5;
}

.positionRight {
	float: right;
}

.requiredStar, .requiredMark {
	color: red !important;
	font-size: 20px;
	line-height: 0;
	position: relative;
	top: 5px;
	display: inline;
}

.pointer {
	cursor: pointer;
}

.underline {
	text-decoration: underline;
	cursor: pointer;
}

.backToTop {
	display: none;
	position: absolute;
	right: 10px;
	bottom: 20px;
	opacity: 0.4;
	-webkit-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
	z-index: 1000;
}
.backToTop:hover {
	opacity: 1;
}

.message_iframe {
	width: 100%;
	min-height: 50%;
	max-height: 50%;
	border: 1px solid gray;
	position: absolute;
	overflow: scroll;
}

#login {
	border-radius: 5px;
	width: 300px;
	margin: 150px auto 0 auto;
	padding: 20px;
	text-align: center;
	font-size: 18px;
}

#login form {
	background-color: rgba(255,255,255,0.4);
	border-radius: 10px;
	/*
	-webkit-box-shadow: 10px 10px 15px #aaa, 0px 0px 15px #aaa;
	box-shadow: 0px 0px 15px #aaa, 0px 0px 15px #aaa;
	*/
}

#login label {
}

#login input[type='text'], #login input[type='password'], #login .warningMessage {
	width: 200px;
	padding: 5px;
	font-size: 15px;
	text-align: center;
	border-radius: 5px;
	-webkit-appearance: none;
	-webkit-box-shadow: 10px 10px 15px #aaa, 0px 0px 15px #aaa;
	box-shadow: 0px 0px 15px #aaa, 0px 0px 15px #aaa;
	display: inline-block;
}

#login .warningMessage {
	background-color: rgba(255, 200, 200, 0.4);
}

.loginButton, .resetFormButton {
	color: white;
	cursor: pointer;
	opacity: 0.8;
}
.reLoginform .loginButton, .reLoginform .resetFormButton {
	color: gray;
}

.pinWrap {
	width: 210px;
	display: inline-block;
}

input.pin {
	text-align: center;
	padding: 10px;
	width: 20px !important;
	height: 20px;
	margin: 5px;
	border-radius: 10px;
	border: 1px solid gray;
	float: left;
}
.pin:valid {
	background-image: url("/images/index/bullet.png");
	font-size: 1px !important;
}
.pin:invalid {
	font-size: 20px !important;
}

.etWrap {
	display: inline-block;
	position: relative;
}
.et {
	display: inline;
	cursor: pointer;
	position: absolute;
	bottom: 1px;
	right: 5px;
}

.button,
.buttonSlim {
	color: black;
	display: inline-block;
	border: 1px solid #8A8A8A;
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 12px;
	font-weight: bold;
	background-color: white;
	cursor: pointer;
	outline: 0px solid white;
	text-decoration: none;
	line-height: 12px;
	width: auto;
	user-select: none;
}
.buttonSlim {
	padding: 0 10px;
}
.buttonLink {
	color: black !important;
}

.button:hover {
	background-color: #F5F5F5;
}

.button:active {
	background-color: white;
	color: darkred;
}

.buttonLeft {
	float: left;
}
.buttonRight {
	float: right;
}
.buttonWrap {
	padding-bottom: 15px;
}
.buttonWrap .close {
	float: left;
}
.buttonWrap .delete {
	float: right;
}
.buttonWrap .lightboxMinimize {
	float: right;
	margin: 0 10px;
}

.table_row {
	display: table-row;
}
.table_cell {
	display: table-cell;
}

#tableRowRight {
	width: 300px;
	height: 100% !important;
}


.rightWrap {
	width: 300px;
	height: 100%;
}

.rightTop {
	width: calc(100% - 4px) !important;
	height: calc(100% - 4px) !important;
	position: relative;
	border: 2px solid #8A8A8A;
	border-radius: 5px;
	/* display: table; */
	border-collapse: separate;
	overflow: hidden;
}

.rightScroll {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	width: 300px;
	height: 100%;
	outline: 0px solid white !important;
}

.section_box {
	display: inline-block;
	float: left;
}
.section_box_1 {
	width: 90%;
	padding: 5%;
}
.section_box_2 {
	width: 40%;
	padding: 5%;
}
.section_box_3 {
	width: 27%;
	padding: 3%;
}
.section_box_4 {
	width: 20%;
	padding: 2.5%;
}

#CalendarRow {
	display: none;
	background-color: white;
}

.rightBottom {
	width: calc(100% - 4px) !important;
	min-height: 216px;
	max-height: 241px;
	margin-top: 5px;
	border: 2px solid #8A8A8A;
	border-radius: 5px;
}

.userinfo {
	border: 2px solid #8A8A8A;
	border-radius: 5px;
	margin: 20px 20px;
	padding: 5px;
	clear: both;
	position: relative;
	background-color: #EBEBEB;
}

.buttonsWrap {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1000;
}

.ButtonsToggle {
	display: none;
	cursor: pointer;
	border: 2px solid #8A8A8A;
	border-radius: 5px;
	padding: 4px;
	background-color: white;
	font-size: 18px;
	z-index: 80;
	color: #555555;
	float: right;
	margin: 5px
}
.ButtonsToggle i {
	display: block;
	width: 26px;
	height: 26px;
}
.SmallCalendarToggle {
	display: none;
}
.ButtonsToggle.SmallCalendarToggle i {
	margin: 2px;
	width: 22px;
	height: 22px;
}
.ButtonsToggle.Print i {
	margin: 4px 2px 0 2px;
	width: 22px;
	height: 22px;
}
.ButtonsToggle i.on {
	background-position: 26px 0;
	color: #b40000;
}

.RightMenuToggle, .SearchToggle, .CalculatorToggle {
	right: 10px;
	padding: 8px;
}
.RightMenuToggle i, .SearchToggle i, .CalculatorToggle i {
	width: auto;
	height: auto;
}
.CalculatorToggle {
	display: block;
}
.RightMenuToggleOn {
	color: #b40000;
}
.SearchToggle a {
	text-decoration: none;
	color: #555555;
}

.ToothMarginToggle {
	/*right: 60px;*/
}
.ToothMarginToggle i {
	background-image: url("/images/index/tooth_button.png");
}

.ToothMenuToggle i {
	background-image: url("/images/index/tooth_menu_button.png");
}

.NotesToggle {
	/*right: 110px;*/
}
.NotesToggle i {
	background-image: url("/images/index/notes_button.png");
}
.FinancesToggle i {
	background-image: url("/images/index/finances_button.png");
}
.RendgenToggle i {
	background-image: url("/images/index/rendgen_button.png");
}

.SaveToggle {
	/*right: 160px;*/
}
.SaveToggle i {
	background-image: url("/images/index/save_button.png");
}

.MailToggle i {
	background-image: url("/images/index/mail_button.png");
}

.UserInfoToggle i {
	background-image: url("/images/index/user_male_button.png");
}

.ShadowOn {
	box-shadow: 0px 0px 10px rgba(180, 0, 0, 1);
}

.alertSign {
	background-image: url("/images/index/bell_button.png");
	background-position: 26px 0;
	width: 26px;
	height: 26px;
	display: inline-block;
	position: absolute;
	top: 5px;
	right: 5px;
}

.userinfo a {
	color: #B40000;
	text-decoration: none;
}

.positionLeft {
	float: left;
}
.positionRight {
	float: right;
}
.fixed {
	position: absolute;
	width: 97%;
	background-color: white;
}

#pacient_search_div {
	margin: 10px 20px;
	position: relative;
	z-index: 10;
}

#pacient_search_div input {
	padding: 5px 10px;
	width: 235px;
	border: 2px solid #8A8A8A;
	border-radius: 5px;
}

.dropClick {
	position: relative;
}
.dropClick label {
	margin: 10px 0;
}

.pacient_search_drop, .search_drop {
	display: none;
	position: absolute;
	margin-top: 5px;
	border: 2px solid #8A8A8A;
	border-radius: 5px;
	padding: 5px 10px;
	width: 235px;
	max-height: 250px;
	background-color: white;
	z-index: 10;
}
.search_drop_4 {
	max-height: 145px;
}
.search_drop {
	width: 255px;
	overflow: hidden;
	-webkit-overflow-scrolling: auto;
}

.pacient_search_drop .pacient_drop, .pacient_search_drop .new_pacient_drop, .search_drop .item_drop {
	cursor: pointer;
	border-bottom: 1px solid gray;
	padding: 5px 0;
}
.search_drop .item_drop {
	padding: 10px 0;
}

.pacient_search_drop span {
	float: left;
	display: inline-block;
}

.pacient_search_drop span:first-child {
	width: 35px;
	padding-right: 10px;
	margin-right: 10px;
	border-right: 1px solid gray;
	text-align: center;
}

.pacient_search_drop img {
	max-width: 35px;
	max-height: 35px;
}

.pacientInfoLink {
	color: #b40000;
	display: inline-block;
}

.pacientInfo {
	border-bottom: 1px solid gray;
	padding: 5px 5px 5px 5px;
	margin: 0 0 10px 0;
	display: inline-block;
}

.pacientInfo div {
	float: left;
	display: inline-block;
	font-size: 13px;
}

.pacientInfo div:first-child {
	width: 50px;
	padding-right: 10px;
	margin-right: 10px;
	border-right: 1px solid gray;
	text-align: center;
}

.pacientInfo img {
	max-width: 50px;
	max-height: 50px;
}

.pacientInfo div span {
	color: #b40000;
}

nav.RightMainNav {
	padding: 0 20px 20px 20px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	position: relative;
}

nav.RightMainNav span {
	display:inline-block;
	position: relative;
	top: -8px;
}

nav.RightMainNav .active {
	background: rgb(222, 222, 222);
	color: black;
}

.rightTop .Classic_Level_1 {
	position: relative;
	display: block;
	color: #B40000;
	text-decoration: none;
	padding: 10px 0 10px 5px;
	outline: 0;
	border-bottom: 1px solid #8A8A8A;
	font-size: 14px;
	text-transform: uppercase;
}

.rightTop .Classic_Level_1 i.arrow {
	float: right;
	right: 10px;
	color: #B40000;
	padding: 10px;
}

.rightTop .Level_2 i.arrow {
	float: right;
	right: 10px;
	color: #B40000;
}

.rightTop .Classic_Level_1 i.icon,
.rightTop .Level_2 i.icon {
	font-size: 15px;
	margin-right: 10px;
}

.rightTop .Classic_Expand {
	display:none;
	position: absolute;
	left: 300px;
	top: 0px;
	width: 240px;
	padding: 20px;
	clear: both;
}
.rightTop .Classic_Collapse {
	display:none;
	padding: 0 0 20px 20px;
	clear: both;
}

.rightTop .Level_2 {
	display: block;
	color: #B40000;
	padding: 10px 10px;
	text-decoration: none;
	border-bottom: 1px solid #bbb;
	font-size: 14px;
}

.rightTop .Level_2_separator {
	display: block;
	color: black;
	padding: 10px 10px;
	text-decoration: none;
	border-bottom: 1px solid #bbb;
	font-size: 14px;
}

.bolestCheckbox {
	cursor: pointer;
}

/*mislim da se ovo ne koristi i zamenjeno je sa multipleCheckBoxes*/
.bolestiText {
	width: 20px !important;
	height: 10px;
	color: black !important;
	text-align: center;
}

.rotate0 {
	-ms-transform: rotate(0deg); /* IE 9 */
	-webkit-transform: rotate(0deg); /* Chrome, Safari, Opera */
	transform: rotate(0deg);
	-webkit-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

.rotate90 {
	-ms-transform: rotate(90deg); /* IE 9 */
	-webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
	transform: rotate(90deg);
	-webkit-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

.rotate90reverse {
	-ms-transform: rotate(0deg); /* IE 9 */
	-webkit-transform: rotate(0deg); /* Chrome, Safari, Opera */
	transform: rotate(0deg);
	-webkit-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

.rotate180 {
	-ms-transform: rotate(180deg); /* IE 9 */
	-webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
	transform: rotate(180deg);
	-webkit-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

.rotate270 {
	-ms-transform: rotate(270deg); /* IE 9 */
	-webkit-transform: rotate(270deg); /* Chrome, Safari, Opera */
	transform: rotate(270deg);
	-webkit-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

nav .expand, .userinfo .expand {
	border: 1px solid #8A8A8A;
	border-radius: 5px;
	margin: -5px 0 10px 0;
	padding: 5px;
	display: none;
}

nav .expand .expand {
	border: 0px solid gray;
	border-radius: 5px;
	margin: 0;
	padding: 5px;
	display: none;
}

nav .expand .expand .indentSmall {
	padding-left: 15px;
}

nav .expand .expand .indentLarge {
	padding-left: 25px;
}

.indent {
	text-indent: 20px;
}

.userinfo .expand {
	width: 95%;
	margin: 5px 0;
}

.index {
	min-height: 90%;
}

.indexHeader {
	width: 100%;
	margin: 5% auto;
}
.indexHeader #pacient_search_div input {
	width: 100%;
	height: 35px;
}
.indexHeader #pacient_search_div .pacient_search_drop {
	width: 100%;
}
.indexHeader #pacient_search_div .pacient_search_drop .pacient_drop div {
	display: inline;
	margin-left: 15px;
	line-height: 35px
}

.indexBody {
	width: 50%;
	margin: 0 auto;
	text-align: center;
}

.indexBlock {
	width: 22%;
	display: inline-block;
	margin: 5%;
}

.indexBlock a {
	color: white;
}

.indexLink {
	font-size: 15px;
	color: white !important;
	position: absolute;
	bottom: 15px;
}
.indexLink img {
	width: 20px;
	vertical-align: text-bottom;
	margin-right: 10px;
}
.indexVersion {
    font-size: 15px;
    color: white !important;
    position: absolute;
    bottom: 0;
	font-style: italic;
    transform: translate(-50%, 0px);
    left: 50%;
}
.loginVersion {
    font-size: 15px;
    color: white !important;
    position: absolute;
    bottom: 0;
	font-style: italic;
    transform: translate(-50%, -10px);
    left: 50%;
}

.datepickerCalendar {
	position: relative;
}

.datepickerCalendar td a {
	text-align: center;
}

.datepickerCalendar .ui-datepicker {
	width: 95%;
	margin: 0 auto;
}

.datepickerCalendar div.ui-datepicker-title {
	margin-right: 100px;
}

.datepickerCalendar .ui-datepicker-current {
	position: absolute;
	right: 45px;
	top: 0px;
}

.datepickerCalendar .ui-datepicker-buttonpane {
	margin: 0px;
}

#mobile_datepicker {
	display: none;
	position: absolute;
	top: 50px;
	width: 100%;
	z-index: 100;
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
	background-color: white;
}

#mobile_datepicker td a {
	padding: 10px;
}

.wc-popup {
	width: 350px;
	min-height: 150px;
	padding: 20px 35px;
	background-color: white;
	border: 1px solid lightgray;
	position: absolute;
	top: 50px;
	left: 100px;
	z-index: 1000;
	line-height: 20px;
}
.wc-popup-close {
	position: absolute;
	top: 20px;
	right: 20px;
}
.wc-popup-edit {
	position: absolute;
	bottom: 20px;
	right: 20px;
}
.wc-popup-title {
	color: #b40000;
	font-size: 15px;
	font-weight: bold;
}
.wc-popup-subtitle {
	color: gray;
}
.wc-popup span {
	color: gray;
	font-size: 11px;
	width: 70px;
	display: inline-block;
}
.wc-popup-doktor, .wc-popup-opis {
	display: inline-block;
	width: 230px;
}
.wc-arrow-up {
	position: absolute;
	top: -10px;
}
.wc-arrow-down {
	position: absolute;
	bottom: -10px;
}

#calendar .currentLine {
	border-top: 2px solid red; /* #ff7f6e */
	width: 100%;
	position: absolute;
	left: -1px;
	z-index: 10;
}

#calendar .currentLineMarker {
	color: red; /* #ff7f6e */
	position: absolute;
	left: 0;
}

#calendar .wc-display {
	margin-right: 135px;
	min-height: 45px;
}

#calendar .ui-button-text-only, #calendar .wc-nav button, .ui-dialog .ui-button-text-only {
	border: 1px solid #8A8A8A;
	margin: 5px 10px !important;
	border-radius: 5px;
	font-size: 11px;
}

#calendar .wc-scrollbar-shim {
	display: none
}

#calendar .shadow {
	border-radius: 5px;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
}

#calendar .wc-cal-event .wc-time {
	font-size: 10px;
	font-weight: bold;
}

#calendar .wc-cal-event .wc-title {
	font-size: 12px;
	font-weight: normal;
	text-transform: capitalize;
}

#calendar .wc-time-slot:nth-child(n+25) {
	background-color: rgb(235,235,235);
	border-bottom: 1px solid rgb(210,210,210);
}

#calendar .wc-hour-end:nth-child(n+25) {
	border-bottom: 1px solid rgb(150,150,150);
}

#calendar .ui-widget-content.wc-header, #calendar .wc-hour-end {
	border-bottom: 1px solid rgb(200,200,200);
}

#calendar .ui-widget-content.wc-header table {
	min-height: 45px;
}.

#calendar .wc-hour-header {
	border-bottom: 1px solid #8A8A8A;
	border-right: 1px solid #8A8A8A;
}

#calendar .wc-day-column-inner {
	border-right: 1px solid rgb(200,200,200);
}

#calendar .wc-day-column-header  {
	font-size: 15px;
}

#calendar .wc-time-header-cell  {
	font-size: 12px;
}

#calendar .wc-toolbar .wc-title {
	font-size: 16px;
	text-transform: uppercase;
	display: inline-block;
}

#calendar .wc-time-column-header i.fa {
	padding: 7px 10px;
}

#calendar .allDayEventWrap {
	display: none;
	z-index: 100;
	background-color: rgb(235, 235, 235);
}

#calendar .allDayEventWrap table {
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	min-height: 25px !important;
}

#calendar .allDayEvent-First {
	width: 45px;
}

#calendar .allDayEvent-Element {
	padding: 3px 0 7px 0; /* zbog line heighta ovako se podesi da bude text verical middle */
	text-indent: 5px;
	cursor: pointer;
	max-height: 12px;
	position: absolute;
	line-height: 16px; /* ako je text u dva reda onda se ovako taj drugi red izbaci iz vidnog polja elementa */
	overflow: hidden;
}

#calendar .allDayEvent-Events {
	overflow: hidden;
	position: relative;
}

#event_edit_container textarea, #allday_container textarea {
	height: 100px;
}

.colorBox {
	padding: 2px 5px;
	width: 60px;
	height: 16px;
	display: inline-block;
	color: black !important;
	line-height: 14px;
}


.ui-dialog {
	width: 100% !important;
	max-width: 700px !important;
	height: 100% !important;
	max-height: 560px !important;
	z-index: 30002 !important;
}

.ui-icon-closethick {
	background: url("/images/index/cancel.jpg") no-repeat 0 0 !important;
	width: 25px !important;
	height: 25px !important;
}

.ui-dialog .ui-dialog-titlebar-close {
	width: 25px !important;
	height: 25px !important;
	top: 10px !important;
	right: 10px !important;
	background-color: white;
}

.ui-dialog .ui-dialog-titlebar {
	min-height: 27px;
}

.ui-widget-overlay {
	width: 100% !important;
	height: 100% !important;
	z-index: 30001;
}

.ui-resizable-handle {
	/*display: none !important;*/
}

.eventWrap {
	border: 1px solid #8A8A8A !important;
	height: 450px !important;
	overflow: visible;
}

.eventWrap ul {
	position: relative;
	width: 47%;
	float: left;
}

.eventWrap .selectOld {
	position: relative;
}

.searchFilters .selectOld {
	display: inline-block;
}


.eventWrap select.dropSelect {
	overflow: hidden;
	width: 255px;
	border: 1px solid #8A8A8A;
	border-radius: 2px;
	padding: 0;
	background-color: #ffffff;
}

.eventWrap select.dropSelect option {
	padding: 5px 15px;
}

.eventWrap .scroll {
	overflow-y: visible !important;
}

.eventWrap option {
	width: 100%;
}

.eventWrap option:hover {
	color: #3399ff;
	background-color: #e2fefe;
}

.eventWrap label.pacientPhone {
	margin-top: 0px;
}

.contentLoaded {
	display: none;
	margin: 2%;
	width: 96%;
	position: relative;
}
.contentLoaded.pricelist {
	min-height: 90%;
}

#karton {
	margin: 0 2%;
}

#karton .zubWrap, #karton .zubWrap * {
	transition: all 0.3s ease-in-out 0s;
}

#karton .zubWrap {
	position: relative;
	top: 0;
}
#karton .zubWrap.zubiGORE, #karton .zubWrap.zubiDOLE {
	display: inline-block;
}
#karton .zubWrapNavToothGORE, #karton .zubWrapNavToothDOLE {
	display: inline-block;
	width:0;
}
#karton .zubWrapNavToothGORE #toothNav, #karton .zubWrapNavToothDOLE #toothNav {
	left: auto !important;
	right: auto !important;
}

#karton #vilica {
	position: relative;
	height: 0px;
	max-width: 1104px; /* mora biti deljiv broj sa 16 (toliko ima zuba u jednom redu) */
	width: 100%;
	table-layout: fixed;
	margin: 0px auto;
}

#karton #vilica thead tr td, #karton #vilica tfoot tr td {
	position: relative;
}

#karton #vilica .gornjaVilica td {
	vertical-align: top;
}

#karton #vilica .donjaVilica td {
	vertical-align: bottom;
}

#karton #vilica .svg-container-UP { /*#karton #vilica thead .svg-container*/
	width: 100%;
	position: absolute;
	top: 0;
	z-index: 20;
	display: none;
}

#karton #vilica .svg-container-DOWN { /*#karton #vilica thead .svg-container*/
	width: 100%;
	position: absolute;
	bottom: -10px;
	z-index: 20;
	display: none;
}

#karton img {
	max-width: 90%;
	position: relative;
	top: 0;
}

#karton img.main_img {
	-webkit-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

#karton .mlecan img {
	max-width: 70%;
}

#karton .K081_Edentatio_dentium_propter_accidentem_extractionem_sive_morbum_periodonti img.main_img, #karton .K083_Radix_relicta img.main_img, #karton .hideRootTooth img.main_img {
	opacity: 0;
}
#karton .endodoncija.hide1 span.checkboxSpan:last-of-type {
	display: none;
}
/*#karton .bezubost img.main_img, #karton .krezubost img.main_img {*/
#karton .bezubost img, #karton .krezubost img {
	opacity: 0;
}

#karton img.implant {
	position: absolute;
	left: 3px;
	opacity: 0;
}
#karton div.implant img.implant {
	opacity: 1;
}
#karton div.implant img.main_img {
	opacity: 0;
}

#karton .gornjaVilica td .zubNumber {
	text-align: center;
	padding: 10px 0 20px 0;
}

#karton .donjaVilica td .zubNumber {
	text-align: center;
	padding: 20px 0 10px 0;
}

#karton .scale {
	border-radius: 10px;
	box-shadow: 0px 0px 30px rgba(0,0,0,0.5), inset 0px 0px 5px #FF9933;
	z-index: 1;
	background-color: white;
}

#karton .svg-content {
	position: relative;
	left: -1px; /* better loking with 1px */
}

#karton #vilica td {
	/*border: 1px solid red;*/
}

#karton .gornjaVilica td {
	vertical-align: bottom;
	text-align: center;
	position: relative;
}

#karton .donjaVilica td {
	vertical-align: top;
	text-align: center;
	position: relative;
}

#karton td .zubLarge, #karton td .zubSmall {
	position: relative;
}

#karton td .bolest {
	position: absolute;
	width: 100%;
	z-index: 10;
}

#karton .gornjaVilica td .bolest {
	top: 0;
}

#karton .donjaVilica td .bolest {
	bottom: 0;
}

#karton td .bolest img {
	display: none;
}

#karton .brojeviTop td {
	vertical-align: middle;
	text-align: center;
	padding: 10px 0 20px 0;
}

#karton .brojeviBottom td {
	vertical-align: middle;
	text-align: center;
	padding: 20px 0 10px 0;
}

#karton .toothNav {
	width: 300px;
	height: 550px;
	color: black;
	background-color: white;
	border-radius: 10px;
	border: 1px solid black;
	position: absolute;
	overflow: hidden;
	z-index: 100;
	display: none;
	text-align: left;
	-webkit-overflow-scrolling: auto;
}

#karton .topLeft .toothNav {
	top: 0;
}
#karton .topRight .toothNav {
	top: 0;
}
#karton .bottomLeft .toothNav {
	bottom: 0;
}
#karton .bottomRight .toothNav {
	bottom: 0;
}

.toothNav .toothRoot {
	height: 100%;
}

.toothNav .toothTop span {
	color: darkred;
	font-size: 14px;
	width: 90px;
	display: inline-block;
}

.toothNav .toothTop span.toothPrev {
	text-align: left;
	cursor: pointer;
	padding: 15px 0 15px 10px;
}

.toothNav .toothTop span.toothCurrent {
	color: black;
	font-weight: bold;
	font-size: 18px;
	text-align: center;
}

.toothNav .toothTop span.toothNext {
	text-align: right;
	cursor: pointer;
	padding: 15px 10px 15px 0;
}

.toothNav .toothTop span.toothBack {
	cursor: pointer;
	width: 70px;
	padding: 15px 0 15px 10px;
}

.toothNav .toothTop span.toothTitle {
	color: black;
	font-weight: bold;
	font-size: 16px;
	width: 210px;
}

.toothNav .toothBottom {
	border-top: 1px solid gray;
}

.toothNav .toothBottom span {
	cursor: pointer;
	padding: 15px;
	color: darkred;
	font-size: 14px;
}
.toothNav .toothBottom span.toothRootBack {
	float: right;
}
.toothNav .toothBottom span.toothUncheckAll {
	float: left;
}

.toothNav .toothContent {
	height: 450px;
	overflow: hidden;
	max-height: calc(100% - 50px);
}
.toothNav .toothLevel_1 .toothContent,
.toothNav .toothLevel_2 .toothContent,
.toothNav .toothLevel_3 .toothContent {
	height: 330px;
	max-height: calc(100% - 46px);
	overflow-x: hidden;
	overflow-y: scroll;
	width: 300px;
	/*-moz-appearance: menuimage; */
	/* -ms-overflow-style: none;  /* IE 10+ */
	/* overflow: -moz-scrollbars-none;  /* Firefox */
}
.toothNav .toothLevel_1 .toothContent::-webkit-scrollbar,
.toothNav .toothLevel_2 .toothContent::-webkit-scrollbar,
.toothNav .toothLevel_3 .toothContent::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}

#toothNav_allTeeth .toothNav .toothContent {
	height: 510px;
	overflow: hidden;
}
#toothNav_allTeeth .toothLevel_1 .toothContent, #toothNav_allTeeth .toothLevel_2 .toothContent, #toothNav_allTeeth .toothLevel_3 .toothContent {
	height: 470px;
}


.toothNav .toothContent ul li {
	padding: 0 40px 0 10px;
	border-bottom: 1px solid #dfdfdf;
	cursor: pointer;
	position: relative;
	font-size: 14px;
}

.toothNav .toothContent ul li.toothHasDrop,
.toothNav .toothContent ul li.toothHasCollapse {
	padding: 10px 30px 10px 10px;
}

.toothNav .toothContent ul li label {
	display: block;
	cursor: pointer;
	padding: 10px 0;
}


.toothNav .toothContent ul li.toothSeparator {
	padding: 10px;
	background-color: #E8E8E8;
	cursor: default;
}

.toothNav .toothContent ul li.toothSeparatorGreen {
	padding: 10px;
	background-color: #dfffe3;
	cursor: default;
}

.toothNav .toothContent ul li.toothSeparatorRed {
	padding: 10px;
	background-color: #ffe3e1;
	cursor: default;
}

.toothNav .toothContent ul li.terapijaSearchWrap {
	border-bottom: 1px solid gray;
	z-index: 10;
}

.toothNav .toothContent ul li.terapijaSearchWrap input {
	position: relative;
	width: 205px;
	padding-right: 68px;
	margin: 0 10px 10px 10px;
	color: black;
}

.toothNav .toothContent i.fa, .toothNav .toothContent input {
	color: #B2B2B2;
	position: absolute;
	top: 12px;
	right: 15px;
}

.toothNav .toothContent .checkboxSpan {
	position: absolute;
	right: 10px;
	width: 25px;
}

.toothNav .toothContent .checkboxSpan input {
	position: absolute;
	right: 0;
	top: 1px;
}

.toothNav .rootScroll {
	height: 375px;
	max-height: calc(100% - 75px);
	overflow-x: hidden;
	overflow-y: scroll;
	width: 320px;
}

.toothNav .toothSubNav {
	position: absolute;
	top: 119px;
	background-color: white;
	width: 300px;
	height: 380px;
	max-height: calc(100% - 119px);
	overflow: hidden;
}

#toothNav_allTeeth .toothSubNav {
	position: absolute;
	top: 0;
	background-color: white;
	width: 300px;
	height: 550px;
	overflow: hidden;
}

.elementHasCollapse {
	cursor: pointer
}

.elementHasCollapse i {
	float: right;
	margin-top: 5px;
}
.toothCollapse, .elementCollapse {
	display: none;
	padding-left: 10px;
}

.toothNav .toothLevel_1, .toothNav .toothLevel_2, .toothNav .toothLevel_3 {
	left: 300px;
}

.toothNav .bolesti_zuba li.conditionalShow {
	display: none;
}

#karton #toothNav_allTeeth {
	top: 50px;
	right: 30px;
}

#toothNav_allTeeth .toothTop span {
	display: block;
	padding:  10px 15px;
	width: 270px; /* 300px - padding */
}

.kartonNaslov {
	font-weight: bold;
	font-size: 16px;
	padding: 5px 10px;
}

.tabs .tablist_wrap {
	overflow: hidden;
	width: 95%;
}

.tabs .tablist {
	display: block;
	height: 26px;
	margin: 0;
	padding: 0;
	width: 1300px;
}

.tabs .tablist .tab {
	cursor: pointer;
	display: inline-block;
	position: relative;
	background-color: white;
	padding: 5px 10px;
	margin: 0 10px 0 5px;
	border-top: 1px solid #8A8A8A;
	border-left: 1px solid #8A8A8A;
	border-right: 1px solid #8A8A8A;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	float: left;
}

.tabs .active {
	/*background-color: rgba(0, 0, 0, 0.1) !important;*/
	background-color: rgba(190, 190, 190, 1) !important;
	color: white;
	font-weight: bold;
}

.tabs .tabContent {
	background-color: white;
	border: 1px solid black;
	border-radius: 5px;
	padding: 20px;
	position: relative;
}

.tabs .tabContent h3 {
	padding: 0 0 5px 0;
	font-size: 15px;
	text-transform: uppercase;
	color: #b40000;
	font-weight: bold;
	font-size: 15px;
	border-bottom: 1px solid #b40000;
	margin-bottom: 10px;
}

.noticeText {
    color: gray;
    font-size: 12px;
    text-transform: none;
    font-weight: normal;
}

.noticeText_2 {
    color: black;
    font-size: 12px;
    text-transform: none;
    font-weight: bold;
    font-style: italic;
}

#notesBackground {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(125,125,125,0.5);
	z-index: 90;
}

#notes {
	position: absolute;
	bottom: 0;
	left: 5%;
	width: 90%;
	max-width: 90%;
	margin-bottom: 2px;
	overflow: visible !important;
	z-index: 100;
}

#notes #tabber_wrap {
	overflow: hidden;
	height: 26px;
	width: 80%;
	position: absolute;
	top: -26px;
	left: 50px;
	display: none;
}

#notes .notesStanjeHide .notesStanje {
	display: none;
}

#notes .tabber {
	width: 900px;
}

#notes .tab, #notes .tab-first {
	cursor: pointer;
	display: inline-block;
	position: relative;
	background-color: white;
	padding: 5px 10px;
	margin: 0 10px 0 5px;
	border-top: 1px solid #8A8A8A;
	border-left: 1px solid #8A8A8A;
	border-right: 1px solid #8A8A8A;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	float: left;
}
#notes .tab-first {
	position: absolute;
	top: -26px;
	float: none;
}

/*
#notes .active {
	border-bottom: 2px solid white;
}
*/

#notes .contentNotes {
	width: 100%;
	height: 0px;
	border-radius: 5px;
	overflow: hidden;
	background-color: white;
}

#notes .contentNotes .contentTab {
	padding: 20px;
	position: relative;
}

#notes .contentNotes .contentTab .tabBg {
	height: 100%;
	overflow: hidden;
}

#notes .tabBg h3 {
	padding: 0 0 5px 0;
	font-size: 15px;
	text-transform: uppercase;
	color: #b40000;
	font-weight: bold;
	font-size: 15px;
	border-bottom: 1px solid #b40000;
	margin-bottom: 10px;
}

#notes .tabBg h3 span {
	text-transform: none;
	color: black;
}

.notesTable {
	width: 100%;
}

.notesTable caption, .notesTable .caption, #vilica caption {
	text-align: center;
	font-weight: bold;
	font-size: 15px;
	border-bottom: 1px solid black;
	padding: 10px 0;
	min-height: 25px;
	line-height: 25px;
}
#karton h2 span {
	padding: 5px;
	display: inline-block;
}

.notesTable th,
.notesTable .th {
	font-weight: bold;
	border: 1px solid gray;
	background-color: #afafaf;
	padding: 5px;
}

.notesTable label {
	cursor: pointer;
	display: block;
}

.sortable {
	cursor: pointer;
	color: #b40000;
}

.notesLineWrap_sortable, .sortableReset {
	display: none;
}

.notesTable th i {
	display: none;
	color: #b40000;
}
.notesTable th.asc i.asc {
	display: inline-block;
}
.notesTable th.desc i.desc {
	display: inline-block;
}

.notesTable td {
	border: 1px solid #ccc;
	padding: 5px;
}

#notes .notesLineWrap:not(:empty) tr:last-child td {
	border-bottom: 1px solid black;
}

#notes .notesLine {
	line-height: 24px;
	position: relative;
	margin: 5px 0;
}
#notes .noImage {
	background-color: #dfdfdf;
}

#notes .notesLine span {
	padding: 2px;
}

#notes .notes_blue {
	background-color: rgba(125, 200, 255, 0.5);
}
#notes .notes_pink {
	background-color: rgba(255, 125, 255, 0.5);
}
#notes .notes_yellow {
	background-color: rgba(255, 255, 125, 0.5);
}
#notes .notes_white {
	background-color: rgba(255, 255, 255, 1);
}
#notes .notes_default {
	background-color: rgba(125, 125, 125, 0.5);
}

.deleteNotesLine {
	position: relative;
}

.deleteNotesLine img,  .deleteLine img {
	width: 14px;
	position: relative;
	top: 3px;
	cursor: pointer;
}
.deleteLine img.print_icon {
	cursor: initial;
}

.deleteNotesLine .deleteNotesLineConfirm {
	background-color: white;
	border: 1px solid red;
	border-radius: 5px;
	display: none;
	padding: 2px 10px;
	position: absolute;
	z-index: 1;
	width: 150px;
	text-align: center;
	margin-top: -28px
}

.deleteNotesLine .deleteNotesLineConfirm i {
	color: red;
}

#notes .headline {
	padding-left: 15px;
	font-weight: bold;
}

#notes .stanje {
	display: inline-block;
	position: relative;
}

#notes .stanjeInitial {
	background-color: white;
	border: 1px solid black;
	padding: 0;
	width: 98px;
	padding-left: 5px;
	cursor: pointer
}

#notes .stanje .stanjeDrop {
	left: 0;
	top: 100%;
	position: absolute;
	width: 105px;
	display: none;
	z-index: 10;
}

#notes .stanjeDropOption {
	padding-left: 5px;
	cursor: pointer
}

#notes .optionRed, .optionRed {
	background-color: #ffe3e1;
	color: red;
	border: 1px solid red;
}

#notes .optionYellow, .optionYellow {
	background-color: #fffede;
	color: #997A00;
	border: 1px solid #997A00;
}

#notes .optionGreen, .optionGreen {
	background-color: #dfffe3;
	color: green;
	border: 1px solid green;
}

#notes .optionDarkGreen, .optionDarkGreen {
	background-color: #a5dca5;
	color: green;
	border: 1px solid green;
}

#notes .optionWhite, .optionWhite {
	background-color: #efefef;
	color: black;
	border: 1px solid black;
}

#notes .placenoDatum {
	display: inline-block;
	padding: 0 3px;
}

.zubWrap.zub-large.optionRed, #vilica td.optionRed {
	border: 0px solid white !important;
}
.zubWrap.zub-large.optionYellow, #vilica td.optionYellow {
	border: 0px solid white !important;
}
.zubWrap.zub-large.optionGreen, #vilica td.optionGreen {
	border: 0px solid white !important;
}
.zubWrap.zub-large.optionDarkGreen, #vilica td.optionDarkGreen {
	border: 0px solid white !important;
}


#notes .napomena {
	position: relative;
}

#notes .napomenaText {
	cursor: pointer;
	font-style: italic;
	min-height: 15px;
}

#notes .napomenaArea {
	left: 8px;
	top: 23px;
	position: absolute;
	width: 200px;
	height: 75px;
	display: none;
	z-index: 10;
}

#notes .napomena_table_wrap {
	max-height: 75px;
	overflow-y: auto;
	overflow-x: hidden;
	margin: 0 0 5px 0;
}

#notes .tabSheet3 h3 {
	height: 43px; /* two rows 24px*2 minus 5px padding bottom */
}

#notes .finansijeContentTab iframe {
	width: 101%;
	height: 100%;
	border: 0 solid white;
}

#notes .alt_plan {
	width: 100%;
	border-top: 1px solid gray;
	border-left: 1px solid gray;
	margin-top: 40px;
}
#notes .alt_plan td {
	border-bottom: 1px solid gray;
	border-right: 1px solid gray;
	padding: 2px 10px;
}
#notes .alt_plan td:nth-child(1) {text-align: center;}
#notes .alt_plan td:nth-child(2) {text-align: left;}
#notes .alt_plan td:nth-child(3) {text-align: right;}
#notes .alt_plan td:nth-child(4) input {text-align: center;}
#notes .alt_plan td:nth-child(5) {text-align: right;}
#notes .alt_plan td:nth-child(6) {text-align: right;}

.pageWrap #notes {
	position: relative;
	bottom: auto;
	top: 0;
	left: auto;
	width: 100%;
	max-width: 100%;
	margin-bottom: 0px;
	overflow: auto;
}

.napomena_tab_contenteditable, .napomena_textarea {
	min-width: calc(98% - 2px);
	width: calc(98% - 2px);
	padding: 1%;
	min-height: 50px;
	height: 20%;
	border: 1px solid black;
}

#radniNalog {
	max-width: 800px;
	width: 100%;
	min-height: 500px;
	background-color: rgba(210,210,210,1);
	z-index: 20010;
	position: absolute;
	top: 50px;
	left: 50%;
	margin-left: -400px;
	display: none;
}

.radniNalogError {
	color: #b40000;
	border: 1px solid #b40000;
	display: inline-block;
	padding: 5px 10px;
}

.radniNalogClose {
	background: transparent;
	border: 0 solid darkred;
	float: right;
}

.button2 {
	display: inline-block;
	padding: 10px 30px;
	width: 230px;
	font-size: 20px;
	color: white;
	cursor: pointer;
	outline: 0px solid white;
	text-transform: uppercase;
	border: 0px solid white;
}

.customGreen {
	background-color: #47b703;
}
.customBlue {
	background-color: #3588f0;
}
.customDarkred {
	background-color: #831036;
}
.customDarkyellow {
	background-color: #dbaa01;
}

.nalogStep1 {
	width: 80%;
	margin: 225px auto 0 auto;
}
.nalogStep2 {
	display: none;
	width: 80%;
	margin: 225px auto 0 auto;
}
.nalogStep2b, .nalogStep3 {
	display: none;
	width: 400px;
	margin: 70px auto 0 auto;
}
.nalogStep4 {
	display: none;
	margin: 20px;
}

.nalogStep3 #pacient_search_div {
	margin: 0;
}

.nalogStep3 .elements {
	width: 180px;
	margin: 10px 0;
	font-size: 22px;
	background-color: #9e9e9e;
}
.nalogStep3 input {
	color: white;
	padding: 10px;
	width: 100%;
	background-color: #9e9e9e;
}
.nalogStep3 .element1 {
	width: 380px !important;
	text-align: center;
	background-color: #898989;
}
.nalogStep3 .element1 input {
	background-color: #9e9e9e;
}

.nalogStep4 {
	font-size: 22px;
	color: black;
}

.nalogStep4 .nalogHeader {
	text-align: center;
	margin: 20px;
}
.nalogStep4 .nalogHeader div {
	display: inline-block;
	margin: 0 5%;
	width: 35%;
}

.nalogStep4 input, .nalogStep4 .textarea {
	background-color: #898989;
}
.nalogStep4 .textarea {
	width: 90% !important;
	height: 90px;
	padding: 5px 10px;
	overflow-y: auto;
}

.line {
	padding: 5px;
	border-bottom: 1px solid black;
}

#CalendarRow .redgen_img {
	max-width: 296px;
	width: 100%;
}

.rendgenForm, .radioloskiStatusForm {
	text-align: center;
	width: 300px;
	padding: 20px;
}

.redgenTmb {
	float: left;
	width: 100px;
	height: 150px;
	margin-right: 10px;
	cursor: pointer;
}

.redgenTmb .tmb {
	max-width: 100px;
	max-height: 100px;
}

.deleteRendgenWrap {
	width: 350px;
}

.edit_rotate_rendgen {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    position: absolute;  
    top: 0;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    margin: auto;
}

.rotate_wrap {
	position: relative;
	display: inline-block;
	width: 100px !important;
	height: 100px !important;
	margin: 0 15px;
	padding: 2px;
	border: 1px solid gray;
}

.clear {
	clear: both;
}

#finansije .partLeft {
	float: left;
	width: 65%;
}
#finansije .partRight {
	float: right;
	width: 30%;
}
#finansije tfoot tr:first-child td {
	border-top: 2px solid black !important;
}

#profile .row1, .row {
	width: 95%;
	margin: 0px auto;
	width: 800px;
}

#profile .cell1 {
	float: left;
	width: 150px;
	position: relative;
	text-align: center;
	padding-top: 15px;
}

#profile .row .iconLink {
	margin: 0 15px;
	line-height: 15px;
	min-height: 95px;
}

#profile .cell {
	width: 300px;
	float: left;
	padding: 10px 10px;
	line-height: 30px;
}

#profile .cellSmall {
	max-width: 150px;
}

#profile .cellAll {
	width: 750px;
	float: left;
	padding: 10px 10px;
	line-height: 30px;
}

#profile .cellWide {
	width: 600px;
}

#profile .row1  {
	border-bottom: 2px solid #B40000;
}

#profile .row1 .cell1 .edit_pacientImg_wrap,
#profile .row1 .cell1 .new_pacientImg_wrap {
	border: 1px solid gray;
	width: 150px;
	height: 150px;
	display: table-cell;
	vertical-align: middle;
}

#profile .row1 .cell1 #uploadImage {
	max-width: 150px;
	max-height: 150px;
}

#profile .row1 .cell1 #pacientImgOverlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 90px;
	padding-top: 30px;
	background-color: black;
	opacity: 0.4;
	color: white;
	font-size: 25px;
	text-transform: uppercase;
	cursor: pointer;
	display: none;
}

#profile .row1 .cell1 .imageBrowseButton {
	cursor: pointer;
}

#profile .row  {
	border-bottom: 1px solid gray;
}

#profile span {
	color: #B40000;
}

#profile .edit {
	/*cursor: pointer;*/ /* because double click is disabled for now */
}

select.pol, select.deca {
	width: 100px;
}

.greenMsg {
	color: green !important;
	display: block;
}

.redMsg {
	color: red !important;
	display: block;
}

.editInput, .notEditInput {
	display: block;
}

#rendgenBrowseFile, #browseFile, #browseFileInput, .browseFileInput {
	position: absolute;
	left: -9999px;
}

#profile .pacientDefaultPage {
	width: 46%;
	padding: 1%;
	float: left;
	margin-right: 1%;
}

#profile .pacientDefaultPage li {
	padding-bottom: 10px;
	margin-bottom: 8px;
	border-bottom: 1px solid #8A8A8A;
	font-size: 13px;
	height: 110px;
}

#profile .pacientDefaultPage li.title {
	font-size: 20px;
	height: auto;
}

#profile .pacientDefaultPage li a {
	display: inline-block;
	width: 100%;
}

#profile .pacientDefaultPage .img {
	border: 1px solid gray;
	display: inline-block;
	float: left;
	height: 100px;
	padding: 5px;
	text-align: center;
	width: 30%;
}

#profile .pacientDefaultPage .img img {
	max-width: 100%;
	max-height: 100px;
}

#profile .pacientDefaultPage .line {
	width: 56%;
	padding-left: 4%;
	display: inline-block;
	float: right;
	text-align: center;
	text-align: left;
}

#ui-datepicker-div {
	border: 1px solid #8A8A8A;
}
#ui-datepicker-div table td a,
#ui-datepicker-div table td span {
	text-align: center;
}

.selectWrap {
	display: none;
	position: absolute;
	width: 253px;
	height: 175px;
	margin: 0px auto;
	background-color: white;
	overflow: hidden;
	z-index: 1;
}

.selectWrapLarger {
	height: 315px;
}

.selectWrap .select {
	-webkit-user-select: none;
	-moz-user-select: none;
	left: 0px;
	position: absolute;
	width: 100%;
	height: 0px; /*height controlled in code*/
	margin: 0px;
	cursor: move;
	padding-top: 70px; /* two fields (35px+35px) */
	padding-bottom: 70px; /* two fields (35px+35px) */
}

.selectWrapLarger .select{
	padding-top: 140px; /* four fields (35px * 4) */
	padding-bottom: 140px; /* four fields (35px * 4) */
}


.selectWrap .option {
	position: relative;
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 35px;
	background-color: transparent;
	z-index: 2;
	overflow: hidden;
}

.selectWrap .text {
	text-align: center;
	width: 100%;
	height: 35px;
	line-height: 35px;
	padding: 0px 0px 0px 0px;
	font-size: 18px;
	z-index: 3;
}

.terapijaSearchWrap input {
	height: 21px;
}

.ok, .cancel {
	width: 35px;
	height: 35px;
	display: inline-block;
	opacity: 0.7;
}
.terapijaSearchWrap .ok, .terapijaSearchWrap .cancel {
	position: absolute;
	right: 15px;
	top: 36px;
}
.ok img, .cancel img{
	cursor: pointer;
	border-radius: 5px;
	margin: 5px;
}

.terapijaSearchWrap .cancel {
	right: 50px;
}

.terapijaSearchWrap .selectWrap {
	width: 278px;
}

.terapijaSearchWrap .selectWrap .text {
	text-align: left;
	position: relative;
}

.terapijaSearchWrap .selectWrap .text span {
	float: right;
}

.terapijaSearch_alt {
	position: relative;
	display: inline-block;
}
.terapijaSearch_alt .ok, .terapijaSearch_alt .cancel {
	right: 0;
	top: 14px;
}
.terapijaSearch_alt .cancel {
	right: 35px;
}
.terapijaSearch_alt select {
	height: 29px;
}

.selectWrap .value {
	display: none;
}

.selectWrap .glass {
	position: absolute;
	pointer-events: none;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 175px;
	background: transparent url('/js/selectSwipe/images/35/glass.png') repeat-x;
}
.selectWrapLarger .glass{
	height: 315px;
	background: transparent url('/js/selectSwipe/images/35/glass_large.png') repeat-x;
}

.selectWrap .glassViewer {
	position: absolute;
	pointer-events: none;
	top: 70px;
	left: 0px;
	border: 2px solid black;
	width: 98%;
	height: 31px;
	background: transparent url('/js/selectSwipe/images/35/bar.png') repeat-x;
}
.selectWrapLarger .glassViewer {
	top: 140px;
}

.swipeSelectSmall_li {
	height: 205px;
	padding: 10px !important;
}

.swipeSelectSmall_li .swipeSelectSmall_div {
	width: 33%;
	height: 205px;
	position: relative
}

.swipeSelectSmall_li .swipeSelectSmall_div span{
	display: block;
	padding: 5px 0;
	width: 100%;
	text-align: center;
}

.swipeSelectSmall_li .swipeSelectSmall_div .selectWrap {
	width: 100%;
	display: block;
}

.finansijeSumTable tr td {
	padding: 5px 10px;
}

.finansijeSumTable tr td:last-child {
	text-align: right;
}

.show-for-small {
	display: none;
}

.show-for-medium {
	display: none;
}

.print {
	margin: 0 auto;
	max-width: 800px;
	width: 100%;
}

.print tbody th {
	text-transform: uppercase;
}
.print tbody th, .print tbody td {
	border: 1px solid black;
}

.print th, .print td {
	padding: 10px 5px;
}

.print .karton_data td {
	padding: 5px 5px;
}

.print th, .print td {
	padding: 10px 5px;
}

.print_godina {
	font-size: 14px;
}

.protokol .buttonWrap {
	padding: 0;
	width: 180px;
	text-align: center;
}
.protokol .smallButtonWrap {
	margin-right: 20px;
}

.coloredRow td {
	background-color: #aba0a0;
}

.medium_form input:not([type='checkbox']):not([type='radio']),
.medium_form select,
.medium_form textarea,
.medium_form .ul_list,
.medium_form .notesTable
{
	max-width: 500px;
	width: 95%;
	padding: 3px;
	box-sizing: border-box;
}

.form_block {
	margin: 20px 10px;	
}

.form_block .new_pacient_drop, #print .new_pacient_drop, .searchFilters .new_pacient_drop {
	display: none;
}

#pdf_content {
	min-width: 300px;
}
#pdf_content .pdf_link {
	display: none;
}

#pdf_content .tabText {
	clear: none;
	float: left;
}
#pdf_content .headline {
	display: none;
}
#pdf_content .file_attachment {
	cursor: pointer;
}
#pdf_content .file_attachment:hover {
	text-decoration: underline;
}

.adminLogoImage {
	max-width: 200px !important;
	max-height: 140px !important;
}

.fa-spin {
	-webkit-animation: fa-spin 1s infinite linear;
	animation: fa-spin 1s infinite linear;
}

.show_for_large,
.show_for_medium {
	display: none;
}

@media only screen and (max-width: 1600px) {
	.background {
		width: 100%;
		left: 0;
		margin-left: 0;
	}
	
	#wrap {
		width: 100%;
	}

}

@media only screen and (max-width: 1170px) {
	#profile .row1, .row {
		width: 98%;
		margin: 0px auto;
		width: 600px;
	}
	#profile .cell {
		width: 200px;
		float: left;
		padding: 10px 10px;
		line-height: 30px;
	}
	#profile .cellWide {
		width: 400px;
	}
	#profile input, select, textarea {
		max-width: 190px;
	}

	#profile .pacientDefaultPage li {
		font-size: 11px;
	}

	#profile .pacientDefaultPage li.title {
		font-size: 16px;
	}
}

@media only screen and (min-width: 1024px) {
	.show_for_large {
		display: block;
	}
}

@media only screen and (max-width: 1024px) {
	.show_for_medium {
		display: block;
	}
	.rightTop {
		height: 100% !important;
	}
	.icon-60-2x {
		width: 80px !important;
		height: 80px !important;
	}
	.indexHeader #pacient_search_div .pacient_search_drop .pacient_drop div {
		display: block;
		margin-left: 15px;
		line-height: inherit;
		text-align: left;
	}
	#finansije .partLeft {
		float: none;
		width: 100%;
	}
	#finansije .partRight {
		float: none;
		width: 100%;
		margin-top: 50px;
	}
}

@media only screen and (max-width: 970px) {
	.contentLoaded {
		padding-top: 40px;
	}
	.show-for-medium {
		display: block;
	}
	.indexBody {
		width: 100%;
		padding: 30px 0;
	}
	#profile .row1, #profile .row {
		margin: 0%;
		width: 96%;
	}
	#profile .cell1, #profile .cell, #profile .cellWide {
		clear: both;
		display: block;
		width: 96%;
	}
	#profile .row1 {
		border-bottom: 0px solid #B40000;
	}
	#profile .row {
		border-bottom: 0px solid white;
	}
	#profile .row1 .cell {
		border-bottom: 1px solid gray;
	}
	#profile .row1 .cell:last-of-type {
		border-bottom: 2px solid #B40000;
	}
	#profile .row .cell {
		border-bottom: 1px solid gray;
	}
	#profile .row .cell1 {
		display: none;
	}
	#profile input, select. textarea {
		max-width: 96%;
	}
	#profile .pacientDefaultPage {
		width: 96%;
		text-align: center;
	}
	#profile .pacientDefaultPage .line {
		float: none;
	}
	#profile .pacientDefaultPage li {
		height: auto;
	}
	#profile .pacientDefaultPage li.title {
		height: 40px;
	}
	#profile .pacientDefaultPage li span {
		width: 90% !important;
	}
	#profile .button-box {
		text-align: center !important;
	}
	.section_box {
		width: 90% !important;
		padding: 5% !important;
	}

}

/*
Tablet Portrait width = 768px
To skip Tablets and caught all Mobile devices we use 767px
*/
/*@media only screen and (max-width: 700px) {*/
@media only screen and (max-width: 767px) {
	#calendar .wc-display {
		margin-right: 185px;
	}
	.show-for-small {
		display: block;
	}
	#calendar .wc-display.ui-buttonset,
	#calendar .wc-nav.ui-buttonset {
		display: none;
	}
	#tableRowRight {
		position: absolute !important;
		right: 0;
		z-index: 20200;
		display: none;
	}
	#CalendarRow {
		display: none !important;
	}
	.html_calendar .SmallCalendarToggle {
		display: block;
	}
	.buttonsWrap {
		z-index: 20220;
	}
	#tableRowLeft {
		width: 100% !important;
	}
	.leftWrap_MarginRight {
		margin: 0;
	}
	.userinfo {
		width: 150px;
	}
	.userinfo .positionLeft {
		float: none;
	}
	.userinfo .positionRight {
		float: none;
		margin-top: 10px;
	}
	.indexHeader #pacient_search_div {
		width: 100%;
		margin: 0;
	}
	.indexHeader #pacient_search_div input {
		width: 89%;
		padding: 2% 5%;
	}
	.indexHeader #pacient_search_div .pacient_search_drop {
		width: 89%;
		padding: 2% 5%;
	}
	.eventWrap ul {
		width: 60%;
	}
	.pacientInfoLink {
		position: relative;
		top: 50px;
	}
	input.inputSemiSmall {
		width: 40px;
	}
	#karton .gornjaVilica td, #karton .donjaVilica td {
		position: static;
	}
	#karton #toothNav {
		position: fixed;
		top: 5px !important;
		z-index: 20250 !important;
		max-height: 95%;
	}
	#karton .topLeft #toothNav,
	#karton .bottomLeft #toothNav {
		left: 10px !important;
	}
	#karton .topRight #toothNav,
	#karton .bottomRight #toothNav {
		right: 15px !important;
	}
	#login {
		width: 80%;
		padding: 5%;
		margin: 5%;
	}
	.buttonWrap .lightboxMinimize {
		display: none;
	}
}

@media only screen and (max-width: 400px) {
	.indexBlock {
		width: 35%;
	}
	.notesTable {
		font-size: 9px;
	}
}

@media only screen and (max-width: 340px) {
}


/*
ANIMATIONS
*/
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
@keyframes spinner {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.searchHeader, .searchFilters {
	width: 100%;
}
.searchHeader label, .searchFilters label {
	display: block;
}
.searchHeader li, .searchFilters li {
	padding: 5px 15px;
	display: inline-block;
}

.searchResultsWrap {
	width: 100%;
	margin: 20px 0;
}

.searchResults .searchRow {
	border-bottom: 1px solid black;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-bottom: 5px;
}

.searchResults .nalog_kasa_wrap {
	display: flex;
}

.searchResults .nalog_kasa_wrap table {
	margin: 0 10px;
}

.searchResults .nalog_kasa_wrap .table_radni_nalog tr:first-child th:nth-of-type(4),
.searchResults .nalog_kasa_wrap .table_radni_nalog tr:first-child th:nth-of-type(5),
.searchResults .nalog_kasa_wrap .table_radni_nalog tr:first-child th:nth-of-type(6),
.searchResults .nalog_kasa_wrap .table_radni_nalog tr:first-child th:nth-of-type(9),
.searchResults .nalog_kasa_wrap .table_radni_nalog tr td:nth-of-type(4),
.searchResults .nalog_kasa_wrap .table_radni_nalog tr td:nth-of-type(5),
.searchResults .nalog_kasa_wrap .table_radni_nalog tr td:nth-of-type(6),
.searchResults .nalog_kasa_wrap .table_radni_nalog tr td:nth-of-type(9),
.searchResults .nalog_kasa_wrap .table_radni_nalog tr:last-child th:nth-of-type(1),
.searchResults .nalog_kasa_wrap .table_kasa tr:last-child th:nth-of-type(1)

{
	display: none;
}


/*
FIX
*/
.nicescroll-rails {
	z-index: 100000 !important;
}

/*
TOUCH DEVICE SPECIFIC
*/

.touch #wrap {
	margin: 0 auto 0 auto;
	height: 99%;
}

.touch .pinWrap {
	width: 220px !important;
}


.touch #notes #tabber_wrap {
	top: -28px;
}

.touch .dragscroll {
	overflow: scroll !important;
}

.touch .terapijaSearchWrap .ok, .touch .terapijaSearchWrap .cancel {
	top: 37px;
}

.touch #karton .svg-content {
	position: relative;
	left: -3px; /*first line is 2px and all is mowed to right*/
}

.touch .toothNav .rootScroll,
.touch .toothNav .toothLevel_1 .toothContent,
.touch .toothNav .toothLevel_2 .toothContent,
.touch .toothNav .toothLevel_3 .toothContent {
	width: 300px;
}

.touch select.selectSmall {
	width: 100px;
	display: block;
}

.touch input.pin {
	border: 2px solid gray;
}

.touch .warningForm  {
	border: 2px solid #b40000 !important;
	-webkit-box-shadow: 2px 2px 5px rgba(180,0,0,0.4), -2px -2px 5px rgba(180,0,0,0.4);
	box-shadow: 2px 2px 5px rgba(180,0,0,0.4), -2px -2px 5px rgba(180,0,0,0.4);
}


/*
icon DIMENSIONS
*/
.icon {
	display: inline-block;
	background-size: 100% 100%;
}

.iconKarton {
	background-image: url("/images/icons/karton/Icon-60.png");
}

.iconDelete {
	background-image: url("/images/index/delete.png");
}

.iconLink {
	display: inline-block;
}

/*icon IMAGE*/
.icon-60-2x-finansije {
	background-image: url("/images/icons/finansije/Icon-60@2x.png");
}
.icon-60-2x-kalendar {
	background-image: url("/images/icons/kalendar/Icon-60@2x.png");
}
.icon-60-2x-karton {
	background-image: url("/images/icons/karton/Icon-60@2x.png");
}
.icon-60-2x-osoblje {
	background-image: url("/images/icons/osoblje/Icon-60@2x.png");
}
.icon-60-2x-obrasci {
	background-image: url("/images/icons/obrasci/obrasci-60x60@2x.png.png");
}
.icon-60-2x-osoblje {
	background-image: url("/images/icons/osoblje/Icon-60@2x.png");
}
.icon-60-2x-pacijent {
	background-image: url("/images/icons/pacijent/Icon-60@2x.png");
}
.icon-60-2x-cenovnik {
	background-image: url("/images/icons/cenovnik/cenovnik-60x60@2x.png.png");
}
.icon-60-2x-protokol {
	background-image: url("/images/icons/protokol/protokol-60x60@2x.png.png");
}
.icon-60-2x-knjiga {
	background-image: url("/images/icons/knjiga/cart-60x60@2x.png");
}
.icon-60-2x-mail {
	background-image: url("/images/icons/mail/mail-60x60@2x.png.png");
}

.icon-60-2x-statistika {
	background-image: url("/images/icons/statistika/stats3-60x60@2x.png");
}

.icon-60-status {
	background-image: url("/images/icons/status/status-60x60@1x.png.png");
}
.icon-60-terapija {
	background-image: url("/images/icons/terapija/terapija-60x60@1x.png.png");
}
.icon-60-finansije {
	background-image: url("/images/icons/finansije/Icon-60.png");
}

.icon-29-admin {
	background-image: url("/images/icons/admin/admin-29x29@1x.png.png");
}
.icon-29-cenovnik {
	background-image: url("/images/icons/cenovnik/cenovnik-29x29@1x.png.png");
}
.icon-29-finansije {
	background-image: url("/images/icons/finansije/Icon-Small.png");
}
.icon-29-home {
	background-image: url("/images/icons/home/home-29x29@1x.png.png");
}
.icon-29-kalendar {
	background-image: url("/images/icons/kalendar/Icon-Small.png");
}
.icon-29-karton {
	background-image: url("/images/icons/karton/Icon-Small.png");
}
.icon-29-mail {
	background-image: url("/images/icons/mail/mail-29x29@1x.png.png");
}
.icon-29-obrasci {
	background-image: url("/images/icons/obrasci/obrasci-29x29@1x.png.png");
}
.icon-29-online {
	background-image: url("/images/icons/online/online-29x29@1x.png.png");
}
.icon-29-osoblje {
	background-image: url("/images/icons/osoblje/Icon-Small.png");
}
.icon-29-pacijent {
	background-image: url("/images/icons/pacijent/Icon-Small.png");
}
.icon-29-protokol {
	background-image: url("/images/icons/protokol/protokol-29x29@1x.png.png");
}
.icon-29-knjiga {
	background-image: url("/images/icons/knjiga/cart-29x29@1x.png");
}
.icon-29-status {
	background-image: url("/images/icons/status/status-29x29@1x.png.png");
}
.icon-29-terapija {
	background-image: url("/images/icons/terapija/terapija-29x29@1x.png.png");
}

.icon-29-statistika {
	background-image: url("/images/icons/statistika/stats3-29x29@1x.png");
}


/*icon SIZE*/
.icon-29 {
	width: 29px;
	height: 29px;
}
.icon-60 {
	width: 60px;
	height: 60px;
}

.icon-60-2x {
	width: 120px;
	height: 120px;
}


/* HIDE Part */
.hide {
	display: none;
}

.hideImportant {
	display: none !important;
}

.hidden {
	opacity: 0;
}



/*
FIX - Internet Explorer
*/
@media all and (-ms-high-contrast:none)
{
	*::-ms-backdrop, .background {
		background: url("") !important;
		background-color: #5b3f60 !important;
	}
}