
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}

html {
	font-size:62.5%;
}
body {
	font:300 15px/1.4 'Istok Web', sans-serif;
	color:#444;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}

img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#6B73B5;
	text-decoration:underline;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
	text-decoration: none;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1460px;
	width:94%;
	margin:0 auto;
	position:relative;
}
/* footer */
.footer {
	margin: 50px 0 0 0;
	padding: 30px 3%;
	background: #434343;
	color: white;	
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {
	nav.nav {
    display: block;
    float: right;
    height: 95px;
    width: 77%;
}
	.tline {background: url(img/line.png) repeat-x; height: 20px; background-position: center center; text-align: right; position: relative; }
	.tline ul {display: inline-block; padding: 0 0 0 8px; background: white; height: 20px; margin: 0; }
	.tline ul li {display: inline-block; padding: 0 0 0 5px;}
	h1, h2, h3 {color: #6B73B5; line-height: 130%; margin: 0; padding: 0;}
	h1 {font-size: 2.5em;}
	.fpone {position: relative; display: inline-block; width: 100%; margin: 20px 0 0 0;}
	.fpside {display: inline-block; }
		.logo {
    width: 60px;
    display: block;
    float: left;}
    	   .logo-img {max-width: 60px; height: 60px;}
   .header.header {	margin: 7px 0 20px 0;}

}

@media only screen and (min-width:480px) {

}

@media only screen and (min-width:768px) {
	nav.nav {display: block; float: right; height: 130px; width: 69%;}
	header.header {margin: 30px 0;	height: 130px;clear: both;}
	.tline {background: url(img/line.png) repeat-x; height: 20px; background-position: center center; text-align: right; position: relative; }
	.tline ul {display: inline-block; padding: 0 0 0 8px; background: white; height: 20px; margin: 0; }
	.tline ul li {display: inline-block; padding: 0 0 0 5px;}
	.fpone {position: relative; display: inline-block; width: 59%;}
	.fpside {display: inline-block; width: 37%; vertical-align: top; margin: 20px 0 0 0; float: right; border: 1px solid #6B73B5; border-radius: 1px; position: 		relative; padding: 10px;}
	.widget_recent_entries ul {list-style-type: none; padding: 0; margin: 10px 0;}
	.widget_recent_entries ul li {list-style-type: none; padding: 0; margin: 0px 0 15px 0;}

	.post-date {font-size: 0.9em; line-height: 150%;  display: block;}
	
	.fptwo {clear: both; padding: 15px 10px; margin: 35px 0; background: #6B73B5; color: white;}

	.fptwo h2 {color: white; text-transform: uppercase;}
	.fpthree h2 {color: #6B73B5; text-transform: uppercase;}

}


@media only screen and (min-width:1024px) {
	nav.nav {display: block; float: right; height: 130px; width: 80%;}
	header.header {margin: 30px 0;	height: 130px;clear: both;}
	.tline {background: url(img/line.png) repeat-x; height: 20px; background-position: center center; text-align: right; position: relative; }
	.tline ul {display: inline-block; padding: 0 0 0 8px; background: white; height: 20px; margin: 0; }
	.tline ul li {display: inline-block; padding: 0 0 0 5px;}
	h1, h2, h3 {color: #6B73B5; line-height: 130%; margin: 0; padding: 0;}
	h1 {font-size: 3.8em; line-height: 150%;}
	h3 {font-size: 2.1em;}
	.fpone {position: relative; display: inline-block; width: 69%; position: relative; padding: 0 15px;}
	.fpside {display: inline-block; width: 30%; vertical-align: top; margin: 20px 0 0 0; float: right; border: 1px solid #6B73B5; border-radius: 1px; position: 		relative; padding: 20px; font-size: 0.9em; height: 100%;}
	.widget_recent_entries ul {list-style-type: none; padding: 0; margin: 15px 0;}
	.post-date {font-size: 0.9em; line-height: 160%;  display: block;}
	
	.fptwo {clear: both; padding: 15px; margin: 35px 0; background: #6B73B5; color: white;}
	.fpthree h2 {color: #6B73B5; text-transform: uppercase; text-transform: uppercase;}
	.header.header {
	margin: 30px 0 50px 0;}

}

@media only screen and (min-width:1140px) {
	nav.nav {display: block; float: right; height: 130px; width: 82%;}
		   .logo-img {max-width: 130px; height: 129px;}


}

@media only screen and (min-width:1280px) {
	
	nav.nav {display: block; float: right; height: 130px; width: 85%;}
	.fpone {position: relative; display: inline-block; width: 68%; position: relative; padding: 0 15px; font-size: 1.1em;}
	.fpside {display: inline-block; width: 30%; vertical-align: top; margin: 20px 0 0 0; float: right; border: 1px solid #6B73B5; border-radius: 1px; position: 		relative; padding: 20px; font-size: 1em;}
	h1 {font-size: 3.4em; line-height: 140%; padding: 15px 0 0 0;}
	h3 {font-size: 2.1em;}
	
	.fptwo {clear: both!important; padding: 10px; margin: 50px 0; background: #6B73B5; color: white;}
	.fpthree {padding: 15px;}
	.fpthree h2 {color: #6B73B5; text-transform: uppercase; margin: 10px;}
	
	.category-news article {margin: 17px 0;}
.logo {
	width: 190px;
	display: block;
	float: left;
}

}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {   
}



.rnd {border-radius: 2px!important;}


/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}


.ubermenu .ubermenu-divider {
    clear: both;
    display: block;
    padding: 5px 0!important;
}
/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

.fptwo .white {background: transparent!important;}
