BODY{margin: 2em;}
P {text-indent: 2em; text-align:justify}
P.code {font-family:'Courier New','Courier'; margin-left:4%; text-align:left}
CODE {color:#336600}
TT {color:#441199}
PRE, XMP {color:#661100}
H1 {text-align:right; color:#660905}
H2 {text-align:center; color:#660905}
H3 {text-align:left; color:#660905}
H4 {text-align:left; color:#660905; margin-left:2%; font-style:italic}
DT {margin-left: 3em; font-weight: 600;}
DD {margin-left: 4em; font-style: italic; padding-bottom: 0.25em}
a:hover {
	color:red;
}

@media print {
    .pirmkods {
	border: 2px dotted black;
    }
    .nedrukaa {
	display: none;
    }
}
@media screen {
    body{
	background: url(att/C_p__Dzirnas_g.gif);
	background-color: #DCD9D2;
    }
    .pirmkods {
	border-top: thin solid rgb(223,220,217);
	border-right: thin solid rgb(178,176,174);
	border-bottom: thin solid rgb(178,176,174);
	border-left: thin solid rgb(223,220,217);
	background-color: rgb(250, 245, 255);
	opacity: .5;
    }
}

.autors {
	font-style:italic;
	font-weight:bold;
	text-align:right;
	color:black;
	background-color:#c2c29f;
	padding-right:2em;
}
.atruna {
	font-style:italic;
	letter-spacing:0.3em;
	text-indent: 0;
	text-align:center;
	font-size: 85%;
	font-weight:200;
	padding:0.6em;
}
.atruna a:link{
	color:#DDAAFF;
}
.atruna a:visited{
	color:silver;
}
.atruna a:hover{
	color:white;
}
.uz_tumsha{
	color:white;
}
.uz_tumsha code, .uz_tumsha tt{
	color:yellow;
}
.paskaidrojums{
	margin-left: 4em;
	margin-top: 0.5em;
	margin-right: 2em;
	text-align: right;
	font-size: 66%;
}
.pirmkods,
.rezultaats
{
	line-height: 1.3;
	padding: 1em 1em 1.8em;
	margin: 2em;
}
.pirmkods {
	white-space: pre-wrap;
}
.rezultaats {
	border: thin solid black;
}
.smuki td {
    vertical-align: top;
    text-align: left;
}
.smuki th {
    vertical-align: bottom;
    text-align: center;
}
.smuki th, .smuki td {
    padding: 0.2em 0.8em 0.4em;
    border: 1px solid #ffffff;
}
.smuki tr:nth-child(even) {
    background-color: #e8e8e8;
}
.smuki tr:nth-child(odd) {
    background-color: #dbdbdb;
}
.aste{
    line-height: 3em;
    font-style: italic;
    font-size: 75%;
    background-color: none;
    margin: 0;
    padding: 0 2em 0;
}
table.aste {
    width: 100%;
    table-layout: fixed;
    border: 0px;
    border-collapse: collapse;
    margin-top: 2em;
}
