/*
"GENERAL" - main styles.
"PAGE" - page styles.
"HEADER" - header styles.
"LEFT PANEL" - left panel styles.
"CONTENT" - content styles.
"FOOTER" - footer styles.
*/



/* GENERAL */
BODY {
	padding: 0;
	margin: 0;
	text-align: center;
	background: #770000;
}

HTML, BODY, H1, H2, H3, H4, H5, H6, FORM, P, IMG {
	margin: 0;
	padding: 0;
	border: 0;
}

BODY, INPUT, SELECT, TEXTAREA, TABLE, TD, TH {
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 11px;
	color: #fff;
}

UL, OL, LI {
	margin-top: 0px;
	margin-bottom: 0px;
}

.hidden {
	display: none;
	visibility: hidden;
}

.clearfloat { 
	clear: both;
    height: 0;
    font-size: 1px;
    line-height: 0px;
}

/* Remove anchor outlines */
* {outline: none;}

button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
    border: none;
}


.wrapper {
	background: #b50101 url(../img/body-bg.jpg) top repeat-x;
}

/* PAGE */
#holder {
	width: 970px;
	margin: 0 auto;
	text-align: left;
	background: #b50101 url(../img/body-bg.jpg) top repeat-x;
}

/* HEADER */
#header {
	height: 146px;
	background: url(../img/header-bg.jpg) top no-repeat;
	padding: 0;
	position: relative;
}

/* HEADER -> LOGO */
#logo {
	height: 80px;
	width: 179px;
	position: absolute;
	top: 45px;
	left: 65px;
	background: url(../img/ds-logo.png) no-repeat;
	display: block;
}

/* CONTENT */
#content {
	position: relative;
	padding-bottom: 25px;
}

/* CONTENT - default */
#content H1, #content H2, #content H3, #content H4, #content H5, #content H6 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	margin: 0;
}
#content H1 {
	margin: 10px 0;
	color: #fdc400;
	font-weight: normal;
	font-size: 1.5em;
	background: url(../img/icons.png) 0 -61px no-repeat;
	padding-left: 32px;
}
#content H1 SPAN.shadow {
	top: 1px;
	left: 1px;
	color: #fff;
}

A {
	color: #fde200;
	text-decoration: none;
}

A:hover {
	color: #fde200;
	text-decoration: underline;
}

#content OL {
}

#content UL {
}

#content TABLE {
}

#content TD, #content TH {	
	padding: 1px;
}

#content TD {	
}

#content TH {
	font-weight: bold;
}

#content FIELDSET {
	border: #000000 solid 1px;
}

#content LEGEND {
	font-weight: bold;
}

#content INPUT, #content TEXTAREA, #content SELECT {
	padding: 1px;
	border: #000000 solid 1px;
}

#content INPUT[type="checkbox"], #content INPUT[type="radio"] {
	border: 0px;
}

#content SELECT, #content INPUT[type="text"], #content INPUT[type="file"] {
	width: 250px;
}

#content TEXTAREA {
	width: 350px;
	height: 100px;
}

#content .button, #content INPUT[type="submit"] {
	padding: 1px;
	border: 0;
}

/* ------------ */

.content-top {
	margin-top: 41px;
}
.content-top-left {
	height: 159px;
	width: 640px;
	float: left;
	margin-left: 15px;
	position: relative;
	z-index: 100;
}
.content-top-left * {
	height: 159px;
	width: 640px;
	position: absolute;
	top: 0;
	left: 0;
}
.work-img {
	background: 50% 50% no-repeat;
	z-index: 110;
	display: none;
}
.work-cover {
	background: url(../img/vaartust-loovad-lahendused.png) 50% 50% no-repeat;
	z-index: 120;
}

.content-top-right {
	width: 190px;
	padding-left: 14px;
	float: left;
	margin-left: 50px;
	background: url(../img/punktiir.gif) 0 0 no-repeat;
}
.projects {
	line-height: 1.5em;
	color: #fdc400;
	font-size: 1.3em;
	font: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: bold;
	padding-left: 30px;
	background: url(../img/icons.png) 0 -29px no-repeat;
}
.content-top-right UL {
	width: 156px;
	padding: 0;
	margin: 10px 0 0 0;
	list-style: none;
}
.content-top-right UL LI {
	width: 156px;
	padding: 0;
	margin: 0;
}
.content-top-right UL LI A {
	width: 126px;
	display: block;
	background: url(../img/icons.png) 9px -144px no-repeat;
	padding: 2px 7px 3px 23px;
	color: #fff !important;
}
.content-top-right UL LI A.active,
.content-top-right UL LI A:hover {
	text-decoration: none !important;
	background-color: #940101;
	color: #fde200 !important;
}

.content-bottom {
	margin-top: 15px;
}
.box {
	border: #e10404 1px solid;
	background: #ae0101;
	padding: 18px 24px;
	position: relative;
}
.box .corner {
	width: 11px; 
	height: 11px;
	display: block; 
	overflow: hidden; 
	position: absolute;
	background: url(../img/icons.png) 0 0 no-repeat;
}
.box .tl {
	left: -1px;
	top: -1px;
}
.box .tr {
	background-position: 100% 0;
	right: -1px;
	top: -1px;
}
.box .bl {
	left: -1px;
	bottom: -1px;
	background-position: 0 -11px;
}
.box .br {
	background-position: 100% -11px;
	right: -1px;
	bottom: -1px;
}

.content-bottom-left {
	height: 159px;
	width: 570px;
	margin-left: 45px;
	float: left;
}
.referents UL {
	padding: 0;
	margin: 10px 0 0 0;
	list-style: none;
}
.referents UL LI {
	padding: 0;
	margin: 0;
	background: url(../img/icons.png) 9px -182px no-repeat;
	padding: 0 0 5px 20px;
}
.highlight {
	font-weight: bold;
	font-size: 1.4em;
}
A.white {
	color: #fff !important;
	text-decoration: underline !important;
}

.content-bottom-right {
	width: 240px;
	float: right;
	padding-top: 10px;
	margin-right: 80px;
}
.palka {
	line-height: 1.6em;
	color: #fff;
	font-size: 1.6em;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: bold;
	padding-left: 36px;
	background: url(../img/icons.png) 6px -57px no-repeat;
}
.palka SPAN {
	font-size: 1.2em;
}
.contact UL {
	margin: 5px 0 0 15px;
	padding: 0;
	list-style: none;
}
.contact UL LI {
	padding: 1px 0;
	font-size: 1.3em;
}
.contact UL LI SPAN {
	font-size: .8em;
}

UL.cms {
	padding: 0;
	margin: 25px 0 0 30px;
	list-style: none;
	height: 50px;
}
UL.cms LI {
	display: inline;
	height: 50px;
	width: 47px;
	padding: 0 7px;
	margin: 0;
	float: left;
}
UL.cms LI A {
	height: 50px;
	width: 47px;
	display: block;
	background: url(../img/cms-logos.png) 50% 1px no-repeat;
}
UL.cms LI A.wordpress {
	background-position: 50% -117px;
}
UL.cms LI A.magento {
	background-position: 50% -59px;
}


.uss {
	width: 69px;
	height: 461px;
	background: url(../img/uss.png) 0 0 no-repeat;
	position: absolute;
	top: -40px;
	right: 10px;
}

/* CONTENT - others */

/* necessities */
.highContrast {
	position: relative;
	color: #fff;
}
.highContrast SPAN {
	position: relative;
}
SPAN.shadow {
	position: absolute;
}	


/* FOOTER */
#footer {
	height: 71px;
	width: 100%;
	background: url(../img/footer-bg.jpg) top repeat-x;
	color: #fff;
}

#footer UL {
	padding: 35px 0 0 0;
	margin: 0;
	list-style: none;
}
#footer UL LI {
	display: inline;
	padding: 0 17px;
	margin: 0;
	background: url(../img/icons.png) 0 -128px no-repeat;
}
#footer UL > LI:first-child {
	background: none;
}
