
/*
Theme Name: ACTA
Author: EIK ja mõned veel...

Version: 1.0
*/


/* normalize.css
css */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

html,
button,
input,
select,
textarea {
	font-family: sans-serif;
}

body {
	margin: 0;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

h1 {
	font-size: 2em;
}

b, 
strong { 
	font-weight: bold; 
}

blockquote {
	margin: 1em 40px;
}

dfn {
	font-style: italic;
}

mark {
	background: #ff0;
	color: #000;
}

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: 75%;
}

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

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

ul,
ol {
	margin-left: 0;
	padding: 0 0 0 40px;
}

dd {
	margin: 0 0 0 40px;
}

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

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

figure {
	margin: 0;
}

form {
	margin: 0;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

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;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
	*height: 13px;
	*width: 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;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* /end normalize.css */

/* =clearfix
http://nicolasgallagher.com/micro-clearfix-hack/ */
.cf:before,
.cf:after {
    content:"";
    display:table;
}

.cf:after {
    clear:both;
}

.cf {
    zoom:1;
}
/* /end =clearfix */

html, body {
	height:100%; /* for sticky footer */
	margin: 0;
}

body {
	background-color: #f7f7f7;
	color: #333;
	font: 100% "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* =layout */

header {
	margin-bottom: 20px;
	width: 100%;
}

#wrap {
	width: 85%;
	/* Sticky footer */	
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -100px;
}

#content {
	float: left;
	width: 63.5416667%; /* 610/960 */
	margin-bottom:100px;
}

aside {
	float: right;
	width: 31.25%; /* 300/960 */
}

footer, .push { /* Sticky footer */
	height: 140px;
}

footer {
	margin-top: 100px;
	background-color: #222;
	border-top: 5px solid #CD2B28;
}

/* =typography + everything else :) */

p {
	font-size: 1em;
	line-height: 1.3;
}

strong {
	color: #CD2B28;
}

.corner-button {
	position: absolute;
	top: 35px;
	right: 0;
	display: block;
	background-color: #CD2B28;
	text-align: center;
	padding: .3em 1em;
	color: #DDD;

	-webkit-border-top-right-radius: 3px 3px;
	-moz-border-top-right-radius: 3px 3px;
	border-top-right-radius: 3px 3px;
	
	-webkit-border-bottom-right-radius: 3px 3px;
	-moz-border-bottom-right-radius: 3px 3px;
	border-bottom-right-radius: 3px 3px;
	
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);

}

.chromeframe { text-align:center; }

.chromeframe em { color: red; }

header hgroup {
	padding: 1em 0 2.75em;
	background: url("img/header-bg.png") #222 no-repeat;
	background-position-x: 75%;
	background-position-y: 20px;
	border-bottom: 10px solid #CD2B28;
}
header a {
	text-decoration:none;
}
	header hgroup h1 {
		font: 700 10em Arvo, "Helvetica Neue", Helvetica, Arial, sans-serif;
		text-align: center;
		letter-spacing: -5px;
		margin: 0 0 -25px;
		color: #CD2B28;
	}
	header hgroup h2 {
		font: 400 1.9em/1.1 Arvo, "Helvetica Neue", Helvetica, Arial, sans-serif;
		text-align: center;
		letter-spacing: 1.5px;
		width: 500px;
		margin: 0 auto;
		color: #DDD;
	}

	header hgroup h2.lang-ru {
		font: 400 1.5em/1.1 "Helvetica Neue", Helvetica, Arial, sans-serif;
	}
		header hgroup h2 em {
			color: #CD2B28;
			font-style: normal;
		}

	section.mis-on-acta p {
		margin-top: 0.8em;
		font-size: 1.2em;
		/*line-height: 3.4;  override kusagil */
	}

#content section {
	margin-bottom: 50px;
	word-wrap: break-word;
}

	#content section h2,
	#content h2 {
		font: bold 2em/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif;
		color: #CD2B28;
	}
	#content section h2 {
		margin-bottom: 0;
		text-transform: uppercase;
	}
	#content h3 {
		margin: 0;
		line-height: 1.2;
	}
	#content p {
		line-height: 1.6;
	}
	#content ul li div.excerpt {
		margin: -0.5em 0 2.5em;
		padding-left: 1.5em;

	}
	#content ul li h3 a {
		text-decoration: none;
	}
	#content a {
		-webkit-transition: all .2s;
		-moz-transition: all .2s;
		-o-transition: all .2s;
		-ms-transition: all .2s;
		transition: all .2s; 
	}
		#content a:link,
		#content a:visited {
			color: #CD2B28;
		}
		#content a:hover {
			color: #222;
		}
	#content #nextprevious {
		border-top: 3px solid #CD2B28;
		text-align: center;
	}
#content section article {
	padding-left: 1em;
}

#content section article h3 {
	font-weight: bold;
	margin: 1em 0 0;
	cursor: pointer;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-o-transition: all .2s;
	-ms-transition: all .2s;
	transition: all .2s; 
	line-height: 1.2;
}

#content section article h3:hover {
	color: #CD2B28;
}

#content section article h3:before {
	content: "\00BB \0020";
	color: #CD2B28;
}

#content section article p {
	line-height: 1.5em;
	margin-bottom: 0.5em;
	color: #444;
}
	#content section article div blockquote p {
		line-height: 1.5em;
		margin-bottom: 0.5em;
		color: #555;
		font-size:0.85em;
	}
	#content section article div {
		background-color: #fcfcfc;
		border: 1px solid #e9e9e9;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		margin-bottom: 20px;
		padding: 0 1em 1em 1em;
		margin-top: 1em;
}
.hidden {
	display: none;
}
section article h3.open {
	content: "\00BB \0020";
	color: #CD2B28;
}
#content section article {
		position: relative;
}
#content section article div {
	border-bottom: 2px solid #CD2B28;
	padding-left: 1em;
	margin-bottom: 2em;
}
#content ul {
	margin: 0.5em 0px;
	padding-left: 1.5em;
	list-style-image: url("img/ul-list-bullet.png");
	list-style-position: inside;
}
	#content ul li {
		margin-bottom: 0.75em;
		font-size: 1.1em;
		line-height: 1.5;
	}

	aside section {
		padding: 20px;
		border-bottom: 1px solid;
		background-color: #fcfcfc;
		border: 1px solid #e9e9e9;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		margin-bottom: 20px;	
	}
		aside section p {
			font-size: 1em;
			line-height: 1.5;
		}
			a.button {
				display: block;
				width: 100px;
				padding: 2px;
				
				text-align: center;
				border: 1px solid #CD2B28;
				-webkit-border-radius: 2px;
				-moz-border-radius: 2px;
				border-radius: 2px;
				-webkit-transition: all .2s;
				-moz-transition: all .2s;
				-o-transition: all .2s;
				-ms-transition: all .2s;
				transition: all .2s; 
				
			}
				a.button:link,
				a.button:visited {
					font-size: 0.7em;
					color: #CD2B28;
					text-transform: uppercase;
					text-decoration: none;
				}

				a.button:hover {
					background-color: #fef6f6;
				}
				
				a.button.news {
					margin:	20px 0 auto;
					font-size: 1em;
					width: 100%;
				}

				a.button.lang {
					margin: 0 auto 1em;
					font-size: 1.2em;
					width: 100%;
					padding-left: 0;
					padding-right: 0;
				}

		aside section h2 {
			font: 300 2em/1.1 "Helvetica Neue", Helvetica, Arial, sans-serif;
			letter-spacing: normal;
			color: #CD2B28;
			text-align: center;
			margin: 0;
		}
		aside section.autorid em {
			font-size: 0.8em;
		}
		aside article h3 {
			font: 400 1.3em/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif;
			margin-bottom: -5px;
		}
		aside article h3 a {
			text-decoration:none;
			color: #333;
		}
		aside article h3 a:hover {
			color: #CD2B28;
		}

		aside article p.published {
			font-size: 0.85em;
			margin-top: 0.5em;
			font-style: italic;
			text-align: right;

		}
		aside article p {
			font-size: 0.9em;
		}

footer p {
	padding: 1em;
	width: 60%;
	color: #848484;
	font-weight: 300;
	float: left;
	line-height: 1.5;
}
footer img {
	padding: 1.5em;
	float: right;
}


@media screen and (min-width: 1300px) {
	header hgroup {
		background: url("img/header-bg.png") #222 no-repeat;
		background-position-x: 65%;
		background-position-y: 10px;
		background-size: 190px;
	}
	#wrap {
		width: 1200px;
	}

	footer div {
		width: 1300px;
		margin: 0 auto;
	}
}


@media screen and (max-width: 795px) {
	header hgroup {
		background: url("img/header-bg.png") #222 no-repeat;
		background-position-x: 90%;
		background-position-y: 10px;
		background-size: 190px;
	}
	#content {
		float: none;
		width: 100%;
	}
	aside {
		float: none;
		width: 100%;
	}
	footer p {
		padding: 0;
		width: 100%;
		text-align: center;
		float: none;
	}
	footer img {
		padding: 0 0 1em;
		display: block;
		margin: 0 auto;
		float: none;
	}
}

@media screen and (max-width: 480px) {
	header hgroup {
		background: url("img/header-bg.png") #222 no-repeat;
		background-position-x: 90%;
		background-position-y: 10px;
		background-size: 130px;
		padding: 1em 0 2em;
	}
	header hgroup h1 {
		font-size:6em;
		margin-bottom:-15px;
	}
	header hgroup h2,
	header hgroup h2.lang-ru {
		font-size: .95em;
		width: 300px;
	}

	#content section h2 {
		font-size: 1.4em;
	}
	#content section article h3 {
		font-size: 1em;
	}
	#content section p,
	#content section.mida-sina-saad-teha ul li {
		font-size: 1em;
	}
	footer p {
		font-size: 0.75em;
	}
	.corner-button {
		top: 0px;
		
		font-size: .8em;

		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	
		-webkit-border-top-right-radius: 0px 0px;
		-moz-border-top-right-radius: 0px 0px;
		border-top-right-radius: 0px 0px;
		
		-webkit-border-bottom-right-radius: 0px 0px;
		-moz-border-bottom-right-radius: 0px 0px;
		border-bottom-right-radius: 0px 0px;

		-webkit-border-top-left-radius: 0 0;
		-moz-border-top-left-radius: 0 0;
		border-top-left-radius: 0 0;
		
		-webkit-border-bottom-left-radius: 3px 3px;
		-moz-border-bottom-left-radius: 3px 3px;
		border-bottom-left-radius: 3px 3px;
	}
}

@media screen and (max-width: 320px) {
	header hgroup {
		background: url("img/header-bg.png") #222 no-repeat;
		background-position-x: 98%;
		background-position-y: 40px;
		background-size: 100px;
	}


}