/*
Theme Name: WordPress DNVR-KPI Cutting
Theme URI: http://student.kpi.ua/
Description: The non-default WordPress theme is made for the unofficial site of KPI university.
Version: 1.0
Author: Kitich
Author URI: http://kitich.in.ua/
Tags: custom headers, full width, two columns, widgets

	DNVR-KPI Cutting v1.0

	This theme was designed and built by Nikita Pavliuchenko aka Kitich,
	whose blog you will find at http://kitich.in.ua/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/*					RESET
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, xmp, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}






/*					 FOOTER HACK
*/
html {
	height: 100%; 
}
body {
	height: auto !important; height: 100%; 
	min-height: 100%;
	position: relative;
}
.main {
	padding-bottom: 87px;		/* Change height */
	clear: both;
}
.footer {
	position: absolute;
	bottom: 0;
	height: 87px;				/* Change height */
}
.main:after {
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
	
	clear: both; display: inline-block;
}

/*					 GENERAL
*/



.dimension {
	/*width : 100%;*/
	clear : both;
	overflow: hidden;
	/*float: left;*/
	display: inline-block;
	/*border: 1px solid red;*/
}
.left {
	float : left;
	display: block;
}
.column {
	float : left;
}
.clear:after {
	content : ".";
	display : block;
	margin : 0;
	padding : 0;
	height : 0.1px;
	clear : both;
	visibility : hidden;
	line-height : 0.1px;
	font-size : 0;
}
.clear {
	display : inline-block;
}
* html .clear {
	height : 1%;
}
.clear {
	display : block;
	clear : both;
}

.w20 {
	background: #FFCC00;
	width: 200px;
	/*overflow: hidden;*/
}
.w65 {
	background: #aaFFCC;
}














body {
	background: #F5F5F5 url('images/header-bgr-text2.gif') no-repeat 75px 55px;
	font-family: verdana, arial, sans-serif; font-size: 0.9em; line-height: 1.5em;
	/*	Set basic font size	*/
}
a { text-decoration: underline; color: #696969; cursor: pointer; }
a:hover { text-decoration: none; color: #696969; }
a:active { color: #D71A20; }
a:visited { color: #000; }
#myall {
	background: url('images/header-bgr.gif') repeat-x top;
}

.main {
	margin: 0 5% 0 10%;
	position: relative;
	padding-bottom: 100px;
	margin:0;
	
	width: 100%; overflow: hidden;
}
.main .in {
	margin: 0 5% 0 10%;
}
.col65 {
	width: 100%; float: left;
}
.col65 .in {
	margin: 0 210px 0 0;
}
.col20 {
	width: 210px;
	float: left;
	margin-left: -210px;
}
*html .col20{
	right: 5%;
}


/*
-------------------HEADER-----------------------*/

.header {
	height: 150px; /*padding-bottom: 80px;*/
	overflow: hidden; position: relative;
}

/*
-------------------ARTICLE-----------------------*/

.article {
	margin: 0 50px 6em 0;
	color: #000;
	position: relative;
}
.article .date {
	width: 85px;
	margin-right: -100px;
	position: absolute;	left: -100px; top: 1em;
	text-align: right; color: #D71A20; line-height: 1.8em;
}
.article .date b {
	display: block;
	font-size: 2em;
}
.article .tags a.com {
	color: #D71A20;
}
.article h2 {
	font-size: 2em;
	color: #D71A20; line-height: 1.2em; padding: 0 0 0.5em 0;
	/*	Show the text if no images	how?	*/
	overflow: hidden; display: block;
}
.article h2 a {
	color: #D71A20; text-decoration: none; cursor: pointer; outline: 0;
}
.article h2 div {
	margin: 0 1em 0.5em 0;
	display:-moz-inline-stack;
	display:inline-block;
	zoom: 1;
	*display:inline;
}
.article h2 div.def {
	margin-right: 0;
}
.article h2 img {
	margin: 0 2px 0 0;
}
.article .tags {
	margin: 0 0 1.0em 0; clear: both;
}
.article .tags a {
	text-decoration: underline; color: #000; margin-right: 1em;
}
.article .maintext {

}
a.more-link, a.post-edit-link {
	color: #D71A20; display: block;
}

/*
-------------------MAIN TEXT-----------------------*/
.maintext p {
	text-align: justify;
}
.maintext img {
	width: 100%; border: 10px solid #fff;
	margin-right: -10px; position: relative; left: -10px;
}
.maintext img, .maintext p, .maintext ul, .maintext ol, .maintext embed {
	margin-bottom: 1em;
}
.maintext p img {
	/*width: auto; border: 0;
	margin: 0; position: static;*/
}
.maintext ul, .maintext ol {
	padding: 0 0 0 2em;
}

body .maintext img {
	width: auto;
	max-width: 100%;
}
* html body .maintext img { width: expression((parentNode.offsetWidth<this.offsetWidth)? "100%" : "auto"); }

body .maintext img.wp-smiley {
	width: auto; border: 0;
	margin: 0; position: static;
}

/*
-------------------RIGHT SIDE-----------------------*/
a.rss {
	display: block; width: 210px; height: 150px;
	background: #F4B303 url('images/rss-logo.jpg') no-repeat top;
	margin: 0 0 100px 0; 
	text-decoration: none;
}
.rss {
	height: 275px;
	text-align: center; position: relative;
}
.rss a.feed {
	display: block; width: 210px; height: 150px;
	background: #F4B303 url('images/rss-logo.jpg') no-repeat top;
	text-decoration: none;
}
.rss a.aboutfeed {
	color: #F4B303;
}
.rss #rss2mail {
	display: none; position: absolute; top: 3em; left: 1em; right: 1em;
	text-align: center;
}
.rss #rss2mail input {
	width: 100%; padding: 5px 0;
}
.rss #rss2mail a {
	font-size: 0.75em;
}
.rss #rss2mail a.close {
	text-decoration: none; float: right; font-weight: bold;
}
.rss #rss2mail a.r2m {
	float: left;
}


.tagcloud, .widget_tag_cloud {
	margin: 0 5px 50px 5px;
	line-height: 2.2em;
}

.block, .col20 li {
	margin: 0 5px 50px 5px; 
}
.block h5, .col20 li h2 {
	color: #D71A20; font-weight: normal; font-size: 1.2em;
}

.col20 * {
	list-style: none;
}
.col20 li li {
	margin: 0;
}



/*
-------------------FOOTER-----------------------*/
.footer {
	background: #B7B7B7 url('images/footer-bgr-pattern.gif') top left;
	width: 100%; color: #fff;
	overflow: hidden;
}
.footer .in {
	background: url('images/footer-bgr-border.png') repeat-x top left;
	padding: 20px 5% 0 10%;
}
.footer a {
	color: #fff;
}
.footer .fright {
	float: right;
}
.footer .counter {
	margin-top: 5px; float: right;
}
.footer .counter a {
	display: block; float: right; margin-left: 5px;
}
.footer .shields {
	margin-top: 1px;
}
.shields a.sh {
	display: block; float: left; margin-right: 5px;
	width: 33px; height: 40px; margin-top: 0;
}


/*
-------------------Navigation-----------------------*/

.navigation {
	padding: 0 50px 10px 0;
	font-size: 2em; color: #000; line-height: 2em;
	text-align: center;
}
.navigation a {
	background: #fff; padding: 2px 5px; margin: 0 0.2em;
	color: #D71A20; text-decoration: none;
}
.navigation a:visited {
	color: #D71A20;
}



/*
-------------------MENU-----------------------*/
ul.menu {
	list-style: none; overflow: hidden;
}
ul.menu li {
	float: left; /*text-align: center;*/
	font-size: 14px;
	margin: 0 30px 0 0;
	background:  url('images/menu-bgr-big.png') no-repeat bottom right;
	padding-bottom: 15px;
}
ul.menu li a {
	padding: 5px 40px 0 35px; display: block; outline: 0;
	background: url('images/menu-bgr-top.jpg') no-repeat top right;
}
ul.menu li.m1 {
	background: #D71A20 url('images/menu-bgr1.jpg') no-repeat bottom right;
}
ul.menu li.m1 a { 
	color: #fff; 
	background: url('images/menu-bgr1-top.jpg') no-repeat top right;
}
ul.menu ul li, ul.menu ul a {
	float: none; background: transparent; text-align: left; list-style: none; padding-top: 0; padding-bottom: 0; margin: 0;
}
ul.menu ul {
	display: none;
	padding-top: 0.5em;
}
ul.menu li:hover ul {
	display: block;
}


.mailto {
	color: #000;
	position: absolute; top: 70px; right: 4%; padding: 0 10px 0 0;
}
* html .mailto { right: 2%; }
.mailto a {
	color: #000;
}


/*
-------------------COMMENTS+-----------------------*/
.postmetadata, .postcomments, .commentmetadata {
	font-size: 0.8em; font-style: italic; line-height: 1.3em;
}
.postmetadata {
	border-top: 1px solid #D71A20; border-bottom: 1px solid #D71A20;
	margin: 6em 0 0 0; padding: 0.5em 0em;
}
.postcomments {
	margin: 3em 0 3em 0;
}

#comment {
	width: 100%;
}
#respond {
	margin: 6em 0 0 0; border-top: 1px solid #D71A20; padding: 0.5em 0em;
}
#respond h3 {
	margin: 0 0 1em 0;
}

ol.commentlist li {
	margin: 2em 0;
}
ol.commentlist li li {
	margin-left: 2em;
}
ol.commentlist .vcard img {
	border: 5px solid #fff; float: left; margin: 0 0.5em 5px 0;
}
ol.commentlist .vcard {
	color: #D71A20;
}
.commentmetadata {
	float: left;
}
ol.commentlist p {
	clear: both; background: #fff; padding: 0.5em;
}


/*
-------------------SERCH-BOX-----------------------*/
#searchform label {
	display: none;
}
#searchform #s {
	width: 120px;
}
#searchform #searchsubmit {
	width: 60px; position: relative; bottom: 1px;
}

.article .searchresult .tags {
	position: relative; bottom: 1em;
}
.article .searchresult h3 {
	position: relative; top: 1em;
}
.searchresult {
	border: 0px solid green;
}

/*
-------------------POLL-----------------------*/

.poll{
}
.poll p strong {
	color: #D71A20; font-weight: bold; font-size: 1.2em;
	text-align: left; display: block;
}
.poll li small {
	font-size: 0.8em; display: block;
}
.poll li {
	margin: 1em 0;
}
.poll .wp-polls-ans p strong {
	color: #000; display: inline;
}

.blogroll {
	font-size: 0.75em; line-height: 1.3em;
}
.blogroll li {
	padding: 1em 0 0 0;
}



.addthis_toolbox a {
	cursor: pointer;
}
.addthis_button_compact {

}



.tagcloud a.newtag {
	font-size: 1.6em;
}
.tagcloud a.radio-tag {
	font-size: 1.6em; color: #F4B303;
}
.tagcloud a.radio-tag:visited {
	color: #F4B303;
}
.tagcloud a.help-tag {
	font-size: 1.6em; color: red;
}
.tagcloud a.help-tag:visited, .tagcloud a.help-tag:active, .tagcloud a.help-tag:hover {
	color: red;
}
.tagcloud a.kpifonia {
	font-size: 1.6em; color: #8F4D89;
}
.tagcloud a.kpifonia:visited, .tagcloud a.kpifonia:active, .tagcloud a.kpifonia:hover {
	color: #774582;
}
