#calc4chem {
	width: 100%;
	padding: 10px;
	border: 1px solid #D0D0D0;
	color: #eee;
	border-radius:3px;
	background: #e4e4e4;
}

#kalkulator {
	float: left;
	width: 49%;
}

#biljeska {
	float: right;
	width: 49%;
}

#biljeska input {
	display: flex;
	float: left;
	width: calc(100% / 3 - 4px);
	height: 40px;
	padding: 0;
	margin: 2px;
	font-size: 12pt;
	border: 1px solid #D0D0D0;
	border-radius: 3px;
	justify-content: center;
}

#konstante  {
	width: 100%;
	height: 350px;
	margin-top: 10px;
	border: 1px solid #CCC;
	background: #fff;
	color: #fff;
	display: none;
	text-align: center;
	overflow: auto;
}

.constnaslov {
    width: calc(100% - 10px);
    color: #00f;
    text-align: center;
    margin: 5px 0;
    padding-bottom: 5px;
    border-bottom: 1px #cacaba solid; 
}
.const {
    width: calc(100% - 10px);
    text-align: center;
    margin: 5px;
    padding-bottom: 5px;
    border-bottom: 1px #cacaba solid; 
}
.const a {
	font-size: 11pt;
}
.const a:link {
    display: block;
    color: #900;
    text-decoration: none;
}
.const a:visited {
    display: block;
    color: #036;
    text-decoration: none;
}
.const a:active {
    display: block;
    color: #900;
    text-decoration: none;
}
.const a:hover {
    display: block;
    background: #eaeafa;
    color: #900;
    text-decoration: none;
}


.crta {
	width: 2px;
	height: 372px;
	border: 2px inset;
	background: #fff;  /* groove ridge */
	color: #fff;
}

.tipkovnica {
	width: 100%;
	padding: 10px;
	margin-top:3px;
	background-color: #eee;
	border-radius: 3px;
}

.tipkovnica input {
	display: flex;
	float: left;
	width: calc(100% / 6 - 4px);
	height: 40px;
	padding: 0;
	margin: 2px;
	font-size: 12pt;
	border: 1px solid #d0d0d0;
	border-radius: 3px;
	justify-content: center;
}

.tipkovnica input.b55,
.tipkovnica input.b75 {
	width:calc(100% / 3 - 4px);
}

.tipkovnica input:hover {
	color: #FFF;
	border: 1px solid #111;
	background-color: #555;
}

.displej {
	width: 100%;
	border: 1px solid #CCC;
	background: #eee;
	border-radius: 3px;
	padding: 5px;
}

#numauto, #numsci, #numfix, #nummem, #numrad, #numdeg, #numgrad {
	margin-top: 2px;
	width: calc(100% / 7 - 3px);
	height: 20px;
	padding: 0;
	color: #ccc;
	display: inline;
	border: 0;
	font-size: 10pt;
	background: #eee;
	text-align:center;
	cursor:pointer;
}

#numauto {
color: #000;
}
#numsci {
}
#numfix {
}
#nummem {
}
#numrad {
color: #000;
}
#numdeg {
}
#numgrad {
}

.upit {
	width: 100%;
	height: 25px;
	padding: 0 10px;
	border: 0px;
	font-size: 10pt;
	background: #eee;
	text-align: left;
	letter-spacing: 1px;
	color: #0a0;
}

.rezultat {
	width: 100%;
	height: 40px;
	padding: 0 10px;
	border: 0px;
	font-weight: bold;
	font-size: 12pt;
	background: #eee;
	text-align: right;
	letter-spacing: 1px;
	color: #00a;
}

#numformat {
	display: none;
	width: 100%;
	padding: 10px;
	margin-top: 10px;
	font-size: 11pt;
	border: 1px solid #ccc;
	background: #FFF;
	border-radius: 3px;
}

.formatnaslov {
	font-weight: bold;
	font-size: 14pt;
	text-align: center;
	color:#333;
	margin-bottom: 10px;
}

.formatbr {
	width: 100%;
	padding: 10px;
	border: 1px solid #cdcdcd;
	background: #e8e8e8;
	border-radius: 3px;
}

.decnaslov {
	width: 110px;
	text-align: center;
	color: #000;
	border: 0px solid #cdcdcd;
}

.rad {
	width: 100%;
	padding: 10px;
	margin-top: 10px;
	border: 1px solid #cdcdcd;
	background: #e8e8e8;
	border-radius: 3px;
}

.close {
	display: flex;
	width: calc(100% / 3);
	height: 40px;
	padding: 0;
	margin: 10px auto 0 auto;
	font-size: 12pt;
	border: 1px solid #555;
	border-radius: 3px;
	justify-content: center;
}

.close:hover {
	color: #FFF;
	border: 1px solid #111;
	background-color: #555;
}

.decimal {
	width: 80px;
	height: 22px;
}

.cls {
	display: none;
	width: 30px;
	height: 22px;
	color: #f00;
}

.zadatak {
	width: 100%;
	height: 44px;
	padding: 3px 10px;
	margin: 10px 0;
	border: 1px solid #888;
	background: #fff;
	border-radius: 3px;
}

.unos {
	width: 100%;
	height: 36px;
	padding:0 5px;
	margin-left: 1px;
	font-size:12pt;
	border: 0px;
	color: #060;
	text-align: right;
}

.tekstarea {
	width: 100%;
	height: 424px;
	padding: 10px;
	font-size: 11pt;
	border: 1px solid #ccc;
	background: #fff;  /*plavo*/
	color: #345678;
	overflow: auto;
	border-radius: 3px;
}

.b44, .b54, .b64, .b74 {
	font-weight: 500;
    color: #00f;
}

.b45, .b46 {
    color: #d9534f;
}

.b75,
.b75:hover {
	color: #FFF;
	background-color: #428bca;
	border-color: #357ebd;
}

.n3,
.n3 hover {
	color: #FFF;
	background-color: #d9534f;
	border-color: #d43f3a;
}