/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 12px; line-height: 18px; color: #666666; background: #fafafa; font-family: Helvetica, 'Helvetica Neue', Verdana, sans-serif;}

::-moz-selection { background: #b3d4fc; color: #fff; text-shadow: none; }
::selection { background: #b3d4fc; color: #fff; text-shadow: none; }

a { color: #374C8C; text-decoration: none; outline: none; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }



/* ===== Primary Styles ========================================================
   Author:
   ========================================================================== */

header {
	width: 1024px;
	margin: 15px auto;
}

/**
 * Navigation
 */

#menu {
	margin: 0 0 15px  0px;
}

#menu ul {
	list-style: none;
}

#menu li {
	float: left;
	margin: 0 30px 0 0;
	position: relative;
}

#menu a {
	background: #f3f3f3; /* Fallback */
	background: -moz-linear-gradient(top, #f3f3f3 0%, #ececec 100%); /* FF 3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f3f3f3), color-stop(100%,#ececec)); /* Chrome, Safari 4+ */
	background: -webkit-linear-gradient(top, #f3f3f3 0%,#ececec 100%); /* Chrome 10+, Safari 5.1+ */
	background: -o-linear-gradient(top, #f3f3f3 0%,#ececec 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #f3f3f3 0%,#ececec 100%); /* IE10+ */
	background: linear-gradient(top, #f3f3f3 0%,#ececec 100%); /* W3C */

	border: 1px solid;
	border-color: #fff #c9c9c9 #c9c9c9 #fff;
	border-radius: 5px;
	display: block;
	font: 14px 'Droid Serif', sans-serif;
	padding: 7px 15px;
	margin-bottom: 0px;
	text-shadow: 0 1px 0 #fff;
}

#menu a:active {
	-webkit-box-shadow: inset 1px 1px 5px #ccc;
	-moz-box-shadow: inset 1px 1px 5px #ccc;
	box-shadow: inset 1px 1px 5px #ccc;
}

#menu a:hover {
	color: #AC0649;
	/*border-radius: 10px 0 10px 0;*/
	opacity: 0.75;
}

/* Current nav, buttons, more-link */
#menu .current > a,
.btn,
.more-link {
	background: #4FBEFA; /* Fallback */
	background: -moz-linear-gradient(top, #4FBEFA 0%, #388BF7 100%); /* FF 3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4FBEFA), color-stop(100%,#388BF7)); /* Chrome, Safari 4+ */
	background: -webkit-linear-gradient(top, #4FBEFA 0%,#388BF7 100%); /* Chrome 10+, Safari 5.1+ */
	background: -o-linear-gradient(top, #4FBEFA 0%,#388BF7 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #4FBEFA 0%,#388BF7 100%); /* IE10+ */
	background: linear-gradient(top, #4FBEFA 0%,#388BF7 100%); /* W3C */

	color: #fff;
	border-color: transparent;
	/*border-radius: 10px 0 10px 0;*/
	font-weight: bold;
	padding: 7px 10px;
	text-shadow: 0 1px 0 #AC0649;
	/*-webkit-transition: all 100ms linear;*/
	/*-moz-transition: all 100ms linear;*/
	/*transition: all 100ms linear;*/
}

#menu .current > a:hover,
.btn:hover,
.more-link:hover {
	/*border-radius: 0 10px 0 10px;*/
	color: #fff;
	opacity: 1;
}

	/* Level 2 */
	#menu ul ul {
		display: none;
		position: absolute;
		top: 100%; left: 0;
		z-index: 100;
		-webkit-box-shadow: 0px 0px 6px rgba(0,0,0, 0.3);
		-moz-box-shadow: 0px 0px 6px rgba(0,0,0, 0.3);
		box-shadow: 0px 0px 6px rgba(0,0,0, 0.3);
	}

	#menu li:hover > ul { display: block;  }

	#menu ul ul li {
		float: none;
		margin: 0;
	}

	#menu ul ul li a {
		border-radius: 0 !important;
		margin-bottom: 0;
		width: 90px;
	}

	#menu ul ul li a:hover {
		opacity: 1;
	}

    /* Level 3 */
	#menu ul ul ul {
		display: none;
		position: absolute;
		top: 0%; left: 100%;
		z-index: 100;
		-webkit-box-shadow: 0px 0px 6px rgba(0,0,0, 0.3);
		-moz-box-shadow: 0px 0px 6px rgba(0,0,0, 0.3);
		box-shadow: 0px 0px 6px rgba(0,0,0, 0.3);
	}

.wrapper{
	margin: 30px auto;
	max-width: 1150px;
	padding:36px;
	border: 1px solid #ddd;
	border-radius:6px;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	background:#fff;
	min-height:450px;
}

/** Login form **/

.login {
    margin: 0 auto;
    width: 264px;
}
fieldset.login {
    border: 1px solid #C9C9C9;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.7) inset;
    padding: 20px 40px;
}
fieldset.login legend {
    margin-left: -20px;
    padding: 10px;
    border-radius: 10px;
    color: #444;
    font-weight: bold;
    font-size: 18px;
}
fieldset.login p {
    font-size: 16px;
}
fieldset.login input.text {
    margin-top: 10px !important;
    width: 250px;
    font-size: 16px;
    height: 17px;
}

/** Doma Form **/

h2 {
    font-size: 20px;
    margin-top: 0px;
	margin-bottom: 35px;
    color: #333;
    font-weight: bold;
}
h2 .obrazecMT1 {
	font-size: 12px;
	float: right;
	font-weight: normal;
}

table.home-tabela {
    width: 100%;
    border: 1px solid #ccc;
}
table.home-tabela td, table.home-tabela th {
    border: 1px solid #ccc;
}


.submit input,
.submit button
{
	margin-top: 15px;
	margin-right: 15px;
    padding: 6px 3px;

    height: 36px;
    cursor: pointer;
    min-width: 100px;
    -webkit-box-shadow:none;
    -moz-box-shadow: none;
    background: -webkit-gradient(linear, left top, left 30, from(#f1f1f1), color-stop(4%, #ffffff), to(#f4f4f4));
    background: -moz-linear-gradient(top, #f1f1f1, #ffffff 1px, #f4f4f4 30px);
    border: 1px solid #ccc;
    font-weight:bold;
    color:#666;
}

/** Form Styles **/
input, textarea, select {
    font: 15px Helvetica Neue, Helvetica, Verdana, sans-serif;
    padding: 8px 6px;
    margin: 0;
    color: #999999;
    text-shadow: 0 0 1px #FFFFFF;
    border: 1px solid #ddd;
    outline: none;
    display: inline-block;
    position: relative;
    z-index: 2;
    background: -webkit-gradient(linear, left top, left 15, from(#FFFFFF), color-stop(4%, #f4f4f4), to(#FFFFFF));
    background: -moz-linear-gradient(top, #FFFFFF, #f4f4f4 1px, #FFFFFF 15px);
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
}

input {
    height: 14px;
}

select {
	width: 120px;
    padding: 6px 6px;
}
select.kasa {
	width: 600px;
    padding: 6px 6px;
}

textarea {
    overflow: hidden;
    background: -webkit-gradient(linear, left top, left 15, from(#FFFFFF), color-stop(4%, #f4f4f4), to(#FFFFFF));
    background: -moz-linear-gradient(top, #FFFFFF, #f4f4f4 1px, #FFFFFF 15px);

}

input:focus, textarea:focus, select:focus {
    -webkit-box-shadow: 0px 0px 5px #007eff;
    -moz-box-shadow: 0px 0px 5px #007eff;
    box-shadow: 0px 0px 5px #007eff;
}
input[type='radio'] {

}
input.mal-input {
	width: 100px;
}
input.sreden-input {
	width: 250px;
}
input.golem-input {
	width: 300px;
}

.field {
    margin: 10px;
	margin-left: 15px;
    position: relative;
}

label {
    display: block;
    color: #666;
	margin-bottom: 10px;
    text-align: left;
    width: 100%;
    height: 100%;
    font: 15px Helvetica Neue, Helvetica, Verdana, sans-serif;
}

.kupi_prodaj {
    cursor:pointer;
    text-align: center;
}

.kupi_prodaj.active {
    background: url(../img/green_tick.jpg) 40px 40px no-repeat;
    text-align: center;
}

.rez_nerez {
    cursor:pointer;
    text-align: center;;
}

.rez_nerez.active {
    background: url(../img/green_tick.jpg) 45px 45px no-repeat;
    text-align: center;
}


/**** Tabela ****/

/* Tables */
.tabela table {
	border: 1px solid #e7e7e7;
	border-collapse: collapse;
    border-spacing: 0;
	font-size: 15px;
	text-align: left;
    margin: 0 auto;
}

	/* th */
	.tabela tr th,
	.tabela thead th {
		background: #f3f9fc;
		border: 1px solid #e7e7e7;
    	border-collapse: collapse;
        border-spacing: 0;
		color: #555;
		font-size: 15px;
		font-weight: bold;
		padding: 5px 7px;
		/*-webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, .04);
		-moz-box-shadow: inset 0 0 10px rgba(0, 0, 0, .04);
		box-shadow: inset 0 0 10px rgba(0, 0, 0, .04);*/
	}

	/* td */
	.tabela tr td {
		background: #fafafa;
		border: 1px solid #e7e7e7;
    	border-collapse: collapse;
        border-spacing: 0;
		padding: 5px 7px;
	}

	.tabela td {
	   vertical-align: top;
    }

	.tabela tr:nth-child(2n) td {
		background: #f7f7f7;
	}

	.tabela tr:hover td {
		background: #fff;
	}

	.tabela td,
    .tabela td img {
        vertical-align: top;
    }

	/* tfoot */
	.tabela tfoot td {
		color: #777;
		font-size: 14px;
        font-weight: bold;
	}

	.tabela tfoot th {
		color: #555;
		font-size: 15px;
        font-weight: bold;
	}

	/* Table caption */
	.tabela table caption {
		background: #ffffee;
		/*border: 1px solid #ffffc6;*/
		font-size: 16px;
		margin-bottom: 5px;
		padding: 7px;
		border-radius: 5px;
	}

p.kasa-pregledaj-link {
    color: #3c93f7;
    font-size: 18px;
}
p.kasa-pregledaj-link а {
    color: #3c93f7;
}
p.kasa-pregledaj-link a:visited {
    color: #3c93f7;
}
p.kasa-pregledaj-link a:hover {
    color: #3c93f7;
    text-decoration: underline;
}

p.kasa-pregledaj-link a.active {
    color: #025dc7;
}
a.pojacano {
    color: #3c93f7;
    text-decoration: underline;
}
a.vertikalno {
    width: 10px;
    display:block;
    writing-mode:tb-rl;
    -webkit-transform:rotate(90deg);
	-moz-transform:rotate(90deg);
	-o-transform: rotate(90deg);
    margin-top: 100px;
}
a.pecati {
    background: -moz-linear-gradient(center top , #F1F1F1, #FFFFFF 1px, #F4F4F4 30px) repeat scroll 0 0 transparent;
    border: 1px solid #CCCCCC;
    color: #666666;
    cursor: pointer;
    font-weight: bold;
    height: 22px;
    margin-right: 15px;
    margin-top: 15px;
    min-width: 100px;
    padding: 6px 3px;
    border-radius: 3px 3px 3px 3px;
    display: inline-block;
    font-size: 15px;
    outline: medium none;
    position: relative;
    text-shadow: 0 0 1px #FFFFFF;
    transition: all 0.3s ease-in-out 0s;
    z-index: 2;
    text-align: center;

}
table.kursna-promeni {
    margin: 10px;
    float: left;
}
table#currency_table {
    margin: 10px;
    float: right;
}


footer {
	margin: 0 auto;
	width: 1024px;
}


/* =============================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* `Clear Floated Elements
----------------------------------------------------------------------------------------------------*/

/* http://sonspring.com/journal/clearing-floats */

.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

/* http://perishablepress.com/press/2009/12/06/new-clearfix-hack */

.clearfix:after {
    clear: both;
    content: ' ';
    display: block;
    font-size: 0;
    line-height: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}

/* =============================================================================
   Print Styles
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }




  .non-printable { display: none; }
  .printable { display: block; }
  .wrapper {
    margin: 0px;
	width: auto;
	padding: 36px;
	border: none;
	border-radius: 0px;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	background:#fff;
	min-height:450px;
  }

  h2 {
    font-size: 12px;
    margin-top: 0px;
	margin-bottom: 35px;
    color: #333;
    font-weight: bold;
    }
    h2 .obrazecMT1 {
    	font-size: 10px;
    	float: right;
    	font-weight: normal;
    }


  body {
    font-size: 12px;
  }

  .field {
    margin: 5px;
    position: relative;
    font-size: 12px;
    }

    label {
        display: block;
        color: #666;
    	margin-bottom: 5px;
        text-align: left;
        width: 100%;
        height: 100%;
        font: 10px Helvetica Neue, Helvetica, Verdana, sans-serif;
    }


  .tabela table {
	border: 1px solid #e7e7e7;
	border-collapse: collapse;
    border-spacing: 0;
	font-size: 12px;
	text-align: left;
    margin: 0 auto;
}

	/* th */
	.tabela tr th,
	.tabela thead th {
		background: #f3f9fc;
		border: 1px solid #e7e7e7;
    	border-collapse: collapse;
        border-spacing: 0;
		color: #555;
		font-size: 12px;
		font-weight: bold;
		padding: 5px 7px;
		/*-webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, .04);
		-moz-box-shadow: inset 0 0 10px rgba(0, 0, 0, .04);
		box-shadow: inset 0 0 10px rgba(0, 0, 0, .04);*/
	}

	/* td */
	.tabela tr td {
		background: #fafafa;
		border: 1px solid #e7e7e7;
    	border-collapse: collapse;
        border-spacing: 0;
		padding: 5px 7px;
	}

	.tabela td {
	   vertical-align: top;
    }

	.tabela tr:nth-child(2n) td {
		background: #f7f7f7;
	}

	.tabela tr:hover td {
		background: #fff;
	}

	.tabela td,
    .tabela td img {
        vertical-align: top;
    }

	/* tfoot */
	.tabela tfoot td {
		color: #777;
		font-size: 12px;
        font-weight: bold;
	}

	.tabela tfoot th {
		color: #555;
		font-size: 12px;
        font-weight: bold;
	}


}
