/*
Theme Name: ControlEng
Theme URI: 
Author: WebMax
Author URI: http://webmax.pro
Description: 
Version: 1.1
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}

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

.prokrutka {
	overflow-x: scroll;
}

.sam-pro-ad img {width: 100%;}


/*--- Globals ---*/

body,
button,
input,
select,
textarea {
	color: #4c4b4a;
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 1.6;
	word-spacing: 1px;
}


/*--- Headings ---*/
h1,
h2,
h3,
h4,
h5,
h6 {
	letter-spacing: 1px;
	line-height: 1.2;
	word-spacing: 2px;
	word-wrap: break-word;
}
h1 {
	font-size: 1.7em;
	line-height: 1.3;
	margin: 0;
	padding: 0.5em 0;
}
h2 {
	font-size: 1.5em;
	line-height: 1.3;
	margin: 0 0 0.4em 0;
}
h3 {
	background-color: #eeeeee;
	font-size: 1em;
	line-height: 1.2;
	margin: 0.6em 0;
	padding: 0.5em;
	display: inline;
}
h4 {
	background-color: #ffd64e;
	font-size: 1em;
	line-height: 1.2;
	margin: 0.6em 0;
	padding: 0.5em;
	display: inline-block;
}
h5 {
	font-size: 1em;
	line-height: 1.4;
	margin: 0.75em 0 0.5em;
}
h6 {
	font-size: 0.8em;
	margin: 0.75em 0 0.5em;
}

/*--- Typography ---*/
h1, h2, h3, h4, h5, h6 { font-family: 'Bitter', sans-serif; }	
body, button, input, select, textarea {	font-family: 'Open Sans', sans-serif; } 

/*--- Link and Footer Color ---*/

a,
a:visited,
.post-format-icon a:link,
#footer h4,
.main-small-navigation li:before {
	color: #444;
}
.entry-header-meta a:hover .wp-post-image {
	border-color: #b8282e;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
h1.menu-toggle,
.nav-previous,
.nav-next,
.link-button,
.more-link,
.comments-area .reply,
p.biglink {
	background-color: #b8282e;
}

/*--- Text elements ---*/
p {
	margin-bottom: 1em;
}
table p {
	margin:0;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}
ul, ol {	
	margin: 0 0 1em 3em;
}
ul {
	list-style-type: disc;
}
ol {
	list-style: decimal;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	font-size: 1.5em;
	line-height: 1.4;
	margin-bottom: 1em;
	padding: 0.5em 1em;
	background: #eee;
}
blockquote p{margin: 0;}
blockquote cite{
	font-size: 0.7em;
	font-style: normal;
	font-weight: bold;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background-color: rgba(196,198,199,0.3);
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}

/*--- Tables ---*/
table {
	border-collapse: collapse;
	margin: 0 0 1.5em;
	position: relative;
	z-index: 10000;
}
caption {
	font-size: 0.9em;
	font-weight: bold;
	line-height: 1.5em;
	padding: 0 0 10px 0;
	text-align: center;
	text-transform: uppercase;
}
}
thead {
	border-bottom: 1px solid #4c4b4a;
}
th {
	font-weight: bold;
}
th,
td {
	text-align: center;
	vertical-align: middle;
	padding: 0 3px;
	border: 1px solid #444;
}


/*--- Forms ---*/
label {
	font-size: 0.9em;
	font-weight: bold;
}
button,
input,
select,
textarea {
	font-size: 1em; /*--- Corrects font size not being inherited in all browsers ---*/
	margin: 0; /*--- Addresses margins set differently in IE6/7, F3/4, S5, Chrome ---*/
	-webkit-transition: .4s all ease;
	-moz-transition: .4s all ease;
	-o-transition: .4s all ease;
	vertical-align: baseline; /*--- Improves appearance and consistency in all browsers ---*/
	*vertical-align: middle; /*--- Improves appearance and consistency in all browsers ---*/

}
button,
input {
	line-height: normal; /*--- Addresses FF3/4 setting line-height using !important in the UA stylesheet ---*/
	*overflow: visible;  /*--- Corrects inner spacing displayed oddly in IE6/7 ---*/
	margin-bottom: 2px;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	color: #fff;
	cursor: pointer; /*--- Improves usability and consistency of cursor style between image-type 'input' and others ---*/
	-webkit-appearance: button; /*--- Corrects inability to style clickable 'input' types in iOS ---*/
	line-height: 1.5em;
	padding: 5px;
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: #4c4b4a !important;
	color: #fff;
}
button:focus,
textarea:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
select:focus,
button:active,
textarea:active,
input[type="search"]:active,
input[type="text"]:active,
input[type="email"]:active,
input[type="tel"]:active, 
input[type="password"]:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active,
select:active {
	border: 1px solid #4c4b4a;
	outline: 0!important;
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /*--- Addresses box sizing set to content-box in IE8/9 ---*/
	padding: 0; /*--- Addresses excess padding in IE8/9 ---*/
}
input[type="search"] {
	-webkit-appearance: textfield; /*--- Addresses appearance set to searchfield in S5, Chrome ---*/
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box; /*--- Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) ---*/
	box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration { /*--- Corrects inner padding displayed oddly in S5, Chrome on OSX ---*/
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /*--- Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ ---*/
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="tel"],  
input[type="password"],
textarea {
	color: #4c4b4a;
	border: 1px solid #ffd64e;
	border: 1px solid #ccc;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	font-size: 1.1em;
	line-height: 1.5em;
	padding: 3px;
}
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
	width: 50%;
}

input[type="password"] {
	letter-spacing: 0.2em;
}
textarea {
	height: 10em;
	overflow: auto; /*--- Removes default vertical scrollbar in IE6/7/8/9 ---*/
	vertical-align: top; /*--- Improves readability and alignment in all browsers ---*/
	width: 100%;
}
select {
	color: #4c4b4a;
	border: 1px solid #ccc;
	font-size: 1.1em;
	line-height: 1.5em;
}

/*--- Links ---*/
a,
a:visited {
	text-decoration: underline;
}
a:hover,
a:focus,
a:active {
	color: #4c4b4a !important;
	-webkit-transition: .4s all ease;
	-moz-transition: .4s all ease;
	-o-transition: .4s all ease;
	text-decoration: none;
}
.biglink {
	-webkit-border-radius: 3px;
	border-radius: 3px;
	float: left;
	-webkit-transition: .4s all ease;
	-moz-transition: .4s all ease;
	-o-transition: .4s all ease;
}
.biglink:hover {
	background-color: #4c4b4a !important;
}
.biglink a {
	color: #fff !important;
	display: block;
	font-size: 1.75em;
	line-height: 1.2em;
	padding: 7px 10px;
	word-wrap: break-word;
}

/*--- Alignment ---*/
.alignleft {
	display: inline;
	float: left;
	margin: 0 1.5em 1em 0;
	clear: left;
}
.alignright {
	display: inline;
	float: right;
	margin: 0 0 1em 1.5em;
	clear: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto 1em auto;
}

/*--- Clearfix ---*/
.clear {	
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;}
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

/*--- Text meant only for screen readers ---*/
.assistive-text {
	clip: rect(1px 1px 1px 1px); /*--- IE6, IE7 ---*/
	clip: rect(1px, 1px, 1px, 1px);
	margin-bottom: 0;
	margin-top: 0;
	position: absolute !important;
}


/*--- Layout ---*/

body {margin: 0 ; padding: 0;}
.container {margin: 0 auto; max-width: 1200px; padding: 0 1em;}
.container.white {position: relative; z-index: 10; background: #fff;}

.sidebar-left {width: 140px; float:left;}
.sidebar {width: 200px; float:right;}
.content {margin: 2.5em 240px 2.5em 0px;}
.home .content {margin-left: 180px;}
.page-template-calendar-php .content {margin-right: 0;}

/*--- Banners ---*/

.banner img {width: 100%; max-width: 1200px; margin: 10px auto 0 auto; display: block}

.bannerheadertop img {margin-top: 0;}
.banner {display: block;}
.bannerheadertop {margin: 0 300px 0 340px; max-height: 100px;}
.bannerheader {padding-top: 0.5em; clear: both}
.bannertop {padding-top: 1em; clear: both}
.bannercontent {margin: 0 0 2em 0;}
.banner1200x200 {}

/*--- Header ---*/

.header {background-color: #eee; border-bottom: 1px solid #d1d1d1; padding: 1em 0; overflow: hidden;}
.header a.logo {float: left; display: block; width: 300px; height: 90px; background: url(i/logo.png) no-repeat 0 0; margin: 0 0 0.5em 0;}
.header .searchform {float: right; clear: right; width: 282px;}

.subscribeform {padding: 0.5em 0.7em;
    background: #fff;
    border: 3px solid #b8282e;
    margin: 0 0 30px 0;
}

.alo_easymail_form_table {margin: 0;}
.alo_easymail_form_table td {border: none; text-align: left; line-height: 100%; padding: 5px 2px;}
.alo_easymail_form_table input[type="text"], .alo_easymail_form_table input[type="email"], input[type="tel"], input[type="password"] {
    width: 100%;
}

.sidebar select {
    width: 100%;
}

.header .magazine_header {float: right; width: 260px; padding: 0.5em 0.7em; background: #fff; border: 1px solid #b8282e; overflow: hidden; margin-bottom: 1em;}
.header .magazine_header ul {float: left; width: 180px; list-style-type: none; margin: 0; padding: 0;}
.header .magazine_header ul li {margin: 0; padding: 0; font-family: 'FontAwesome', sans-serif;}

.header .magazine_header ul li.newmagazine a:before { content: "\f06a"; margin: 0 8px 0 0}
.header .magazine_header ul li.freesubscribe a:before { content: "\f040"; margin: 0 8px 0 0}
.header .magazine_header ul li.magazinearchive a:before { content: "\f00a"; margin: 0 8px 0 0}

.header .magazine_header ul li a{font-size: 1em; line-height: 2.4em;}
.header .magazine_main {float: right; height: 100px;}
.header .magazine_main img {height: 100px;}

#s {
	background-position: 5px center;
	background-repeat: no-repeat;
	background-size: 14px 14px;
	font-size: 1em;
	height: 35px;
	line-height: 1.2em;
	padding-left: 10px !important;
	width: 282px;
}

#searchsubmit {
	display: none;
}


/*--- Aboutus-navigation ---*/

.aboutus {
	float: left;
	clear: left;
	margin: 0;
}

.aboutus ul {
	list-style: none;
	margin: 0;
}
.aboutus li {
	float: left;
	line-height: 0.8em;
	margin: 0 3px 3px 0;
	position: relative;
	-webkit-transition: .4s all ease;
	-moz-transition: .4s all ease;
	-o-transition: .4s all ease;
}
.aboutus li:hover, .aboutus li.current-menu-item {
	background-color: #b8282e !important;
	color: #fff;
}
.aboutus li a {
    box-sizing: border-box;
	color: #b8282e;
	display: block;
	padding: 0.4em;
	width: 100%;
	font-size: 0.9em;
	text-decoration: underline;
}
.aboutus li a:hover, .aboutus li.current-menu-item a{
	text-decoration: none;
	color: #fff !important;
}
.aboutus ul ul{
	display: none;
}


/*--- Main-navigation ---*/

.main-navigation {
	float: left;
	margin: 10px 0 0 0;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
}
.main-navigation li {
	float: left;
	line-height: 1.2em;
	margin: 0 1px 3px 0;
	position: relative;
	-webkit-transition: .4s all ease;
	-moz-transition: .4s all ease;
	-o-transition: .4s all ease;
}
.main-navigation li:hover {
	background-color: #ffd64e !important;
	color: #4c4b4a;
}

.main-navigation li.current-menu-item, .main-navigation li.current-post-parent, .main-navigation li.current-menu-ancestor {
	color: #4c4b4a;
	background: #ffd64e url('i/triangle.png') no-repeat top center; 
}
.main-navigation li a {
    box-sizing: border-box;
	color: #4c4b4a !important;
	display: block;
	padding: 0.4em 0.3em;
	width: 100%;
	font-size: 1em;
	text-decoration: underline;
}
.main-navigation li a:hover, .main-navigation li.current-menu-item a{
	text-decoration: none;
}
.main-navigation i {
	margin-left: -3px;
	margin-right: 2px;
}
.main-navigation ul ul {
	display: none;
	float: left;
	position: absolute;
		top: 2.1em;
		left: 0;
	z-index: 99999;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 100%;
}
.main-navigation ul ul li {
	border-bottom: 1px solid #fff;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	display: block;
	font-size: 1em;
	height: 100%;
	margin: 0;
	width: 300px;
}
.main-navigation ul ul li:last-child {
	border-bottom: 0;
}
.main-navigation ul li:hover > ul {
	display: none;
}


/*--- podcat-navigation ---*/

ul.podcat {
	display: block;
	overflow: hidden;
	margin: 2em 0 0 0;
}

.podcat ul {
	list-style: none;
	margin: 0;
}
.podcat li {
	background-color: #eee !important;
	float: left;
	line-height: 1.2em;
	margin: 0 3px 3px 0;
	position: relative;
	-webkit-transition: .4s all ease;
	-moz-transition: .4s all ease;
	-o-transition: .4s all ease;
}
.podcat li:hover {
	background-color: #ffd64e !important;
	color: #4c4b4a;
}

.podcat li.current-menu-item, .podcat li.current-post-parent {
	color: #4c4b4a;
	background: #ffd64e url('i/triangle_fff.png') no-repeat top center; 
}

.podcat li.current-menu-parent {display: none;}

.podcat li a {
    box-sizing: border-box;
	color: #4c4b4a !important;
	display: block;
	padding: 0.4em 0.3em;
	width: 100%;
	font-size: 1em;
	text-decoration: underline;
}
.podcat li a:hover, .podcat li.current-menu-item a{
	text-decoration: none;
}

/*--- Related articles ---*/

ul.related {margin: 20px 0 0 0;}
ul.related li {display: inline-block;}
ul.related li h3 {display: block; font-weight: 600;}
ul.related li a, ul.related li a:hover {text-decoration: none;}
ul.related li a:hover h3 {text-decoration: underline;}

/*--- Home newsblock ---*/

.homenews {overflow: hidden; clear: both; margin: 2em 0 0 -2em;}
.homenews li {width: 30%; float: left; list-style-type: none; margin: 0 0 0 2em; padding: 0;}
.homenews li.mainnews {width: 46%}
.homenews li.mainnews a.title {background: #ffd64e; display: block; float: right; width: 45%; font-weight: bold; color: #444; padding: 5px 10px; text-decoration: underline;}
.homenews li.mainnews a.title:hover {text-decoration: none;}
.homenews li.mainnews .excerpt {clear: both;}

.homenews li.mainnews .carusel_container {width: 100%; height: 300px; margin: 0; padding: 0; position: relative; overflow: hidden;}
.homenews li.mainnews .carusel_container ul#carusel {width: 100%; display: block;  margin: 0; padding: 0;}
.homenews li.mainnews .carusel_container ul#carusel li {width: 100%; float: none; margin: 0; display: none; overflow: hidden;}
.homenews li.mainnews .carusel_container ul#carusel li a {display: block; overflow: hidden;}
.homenews li.mainnews .carusel_container .gradient {position: absolute; z-index: 10; bottom: 0; height: 100px; width: 100%; background: url(i/gradient.png) repeat-x bottom;}

.homenews li.mainnews #pager {position: absolute; right: 0; bottom: 0; z-index: 15;}
.homenews li.mainnews #pager a {display: block; margin: 5px; width: 14px; height: 14px; font-size: 1px; color: #ccc;  background: #eee; display: block; overflow: hidden; float: left; }
.homenews li.mainnews #pager a.activeSlide {color: #3780c1; background: #ffd64e;}

.homenews li.listnews {width: 22%; line-height: 1.2em;}
.homenews li.listnews span {margin: 0 0 0.7em 0; display: block; font-size: 0.9em; color: #aaa;	}
.homenews li.listnews a {color: #444; text-decoration: underline;}
.homenews li.listnews a:hover {text-decoration: none}

.homenews li.listevents {width: 22%}
.homenews li.listevents span, .widget_listevents span {margin: 0 0 1em 0; display: block; overflow: hidden; clear: both; background: #eee;}
.homenews li.listevents a, .widget_listevents a {color: #444; text-decoration: underline; font-size: 0.9em; line-height: 1.2em;  padding: 5px; display: block;}
.homenews li.listevents a:hover, .widget_listevents a:hover {text-decoration: none}
.homenews li.listevents .date, .widget_listevents .date {display: block; float: left; font-size: 1.2em; line-height: 1em; width: 50px; padding: 3px 0; background: #888; color: #fff; margin: 0 8px 5px 0; text-align: center;}
.homenews li.listevents a.calendar_link {font-size: 0.9em; text-align: right;}
.homenews li.listevents a.calendar_link:before {font-family: 'FontAwesome'; content: "\f0a4"; padding: 0 10px 0 0; font-size: 0.9em;}

.homenews li.listnews .title, .homenews li.listevents .title {background-color: #ffd64e;
font-size: 0.9em;
line-height: 1.2;
margin: 0 0 0.6em 0;
padding: 0.5em;}



/*--- Content ---*/

h1.page-title {
	font-size: 1.7em;
	background: #ffd64e;
	padding: 0.3em 0.7em;
	margin: 0 0 0.8em 0;
}

h1.entry-title {line-height: 1.2; font-size: 1.6em; padding: 0; margin: 0 0 0.8em 0;} 
.entry-content {overflow: hidden;}
.entry-content a {color: #1d70b8 !important;}
.entry-content a:hover {color: #1d70b8 !important;}

.entry-content img {max-width: 100%; height: auto;}

.entry-tag {
	background: #eee;
	padding: 5px 10px;
	overflow: hidden;
	margin: 0 0 20px 0;
}

.originallink {
    display: inline-block;
    background: #ffd64e;
    padding: 0 9px;
    margin: 10px 0 0 0;
}

 .entry-header {
	background: #eee;
	padding: 0;
	overflow: hidden;
}

 .entry-header .attachment-medium{
	float: left;
	margin-right: 20px;
}

.entry-content {
    margin-top: 10px;
}

 .entry-title {
	display: block;
	margin-top: 0;
	padding: 10px;
}

 .article_author {
	font-size: 0.9em;
	padding: 10px;
}

 .article_file {
	font-size: 0.9em;
	padding: 10px;
}

 .article_magazine {
	font-size: 0.9em;
	padding: 10px;
}

 .article_entrance {
	background: #ffd64e;	
	padding: 10px;
	clear: both;
}

h1.search-page,
h1.archive-header {
	font-size: 1.7em;
	background: #ffd64e;
	padding: 0.3em 0.7em;
	margin: 0 0 0.8em 0;
}

.single .article_lit {
	background: #ffd64e;	
	padding: 10px;
	clear: both;
}

.wp-caption {
	background-color: #eee;
	margin-bottom: 1.25em;
	max-width: 100%;
	padding: 0;
}
.wp-caption img {
	display: block;
	padding: 1em 2% 0;
	width: 96%;
	height: auto;
}
.wp-caption-text,
.gallery-caption {
	font-size: 0.8em;
	text-align: left;
	padding: 1em 2%;
}

/*--- Comments ---*/
#comments ol.commentlist {
	list-style: none;
	margin-left: 0px;
}
#comments ol.commentlist li{
	padding-left:100px;
}
#comments ol.commentlist li li{
	padding-left:0px;
}

#comments ul.children {
	list-style: none;
	margin-left: 45px;
}
.pingback {
	font-size: 1.2em;
	margin-left: -90px;
	margin-bottom: 0 !important;
}
.pingback p:before {
	content: "\f0c1";
	font-family: 'FontAwesome';
	margin-right: 3px;
}
article.comment,
.bypostauthor ul article.comment {
	background-color: rgba(196,198,199,0.3);
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: block;
	margin-bottom: 15px;
	overflow: visible;
	position: relative;
	width: 100%;
}
article.comment:before,
.bypostauthor ul article.comment:before {
	border-left: 12px solid transparent;
	border-bottom: 12px solid rgba(196,198,199,0.3);
	top: 20px;
	content: '';
	position: absolute;
	left: -12px;
}
.bypostauthor article.comment{
	background-color: rgba(196,198,199,0.6);
}
.bypostauthor article.comment:before {
	border-left: 12px solid transparent;
	border-bottom: 12px solid rgba(196,198,199,0.6);
}
.comment-author img {
	border: 1px solid #d1d1d1;
	-webkit-border-radius: 40px;
	border-radius: 40px;
	left: -105px;
	padding: 10px;
	position: absolute;
	top: 0;
	background: #fff;
}
.comment footer,
.comment-content {
	padding: 10px;
}
.comment-author cite{
	font-style: normal!important;
	font-size: 1.2em;
}
.comment-author a{
	font-weight: bold;
}
.comment-meta {
	font-size: 0.8em;
}
.comments-area .reply {
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: inline-block;
	-webkit-transition: .4s all ease;
	-moz-transition: .4s all ease;
	-o-transition: .4s all ease;
	margin: 0 0 10px 10px;
	position: relative;
}
.comments-area .reply:hover {
	background-color: #4c4b4a;
}
a.comment-reply-link {
	color: #fff!important;
	display: block;
	text-align: right;
	font-size: 1em;
	line-height: 2em;
	margin: 0 5px;
}


.comments-area {padding: 1em; background: transparent url("i/lesenka.png") repeat;}
#respond, .comments-title, .commentlist {padding: 1em; background: #fff;}

/*--- Post footer ---*/

.entry-footer-meta {
	color: #4c4b4a;
	background: #eee;
	padding: 1em;
	margin: 1em 0 2em 0;
	opacity: 0.5;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
	-webkit-transition: .4s all ease;
	-moz-transition: .4s all ease;
	-o-transition: .4s all ease;
}

.entry-footer-meta:hover {
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
	opacity: 1;
	-webkit-transition: .4s all ease;
	-moz-transition: .4s all ease;
	-o-transition: .4s all ease;
}
.post-info {
	font-size: 0.9em;
	line-height: 1.5em;
	margin: 0;
	padding: 0;
}
.sep {
	margin: 0 5px;
}

/*--- Post Navigation ---*/

.wp-pagenavi {
	clear: both;
}

.wp-pagenavi a, .wp-pagenavi span {
	background: #eee;
	text-decoration: none;
	padding: 3px 5px;
	margin: 2px;
	border: none !important;
	font-size: 0.8em;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	background: #ffd64e;
	border: none !important;
}

.wp-pagenavi span.current {
	font-weight: normal !important;
}


/*--- Contact Form ---*/

.wpcf7 p {overflow: hidden;}
.wpcf7 lable {width: 30%; float: left;}
.wpcf7 .wpcf7-form-control-wrap {width: 60%; float: right;}
.wpcf7 .wpcf7-list-item {clear: both; display: block;}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="password"] {
	width: 100%;
}

/*--- Magazine ---*/

.magazine_slovo {overflow: hidden; margin: 0 0 20px 0;}
.show_magazine_slovo {cursor: pointer; text-decoration: underline; float: right;}
.show_magazine_slovo:hover {text-decoration: none;}
.magazine_slovo2 {display: none;}
.magazine_archive {margin-left: -4.57em;}
.magazine_archive li {float: left; margin: 0 0 1.5em 4.57em; list-style-type: none; height: 250px; width: 150px;}
.magazine_archive a {display: block;}
.magazine_data {float: left;}
.magazine_archive p {margin: 0; padding: 0}
.magazine_list {margin: 0 0 0 180px;}
.magazine_list h3{margin-top: 0;}
.magazine_book {margin: 2em 0;}

/*--- Post Icons ---*/

.post-format-icon {
	line-height: 1;
	margin-right: 5px;
}

span.format-standard:before,
span.format-aside:before, 
span.format-gallery:before,
span.format-image:before ,
span.format-link:before,
span.format-quote:before,
span.format-video:before,
h1.archive-header span:before {
	font-family: 'FontAwesome';
}

//span.format-standard:before { content: "\f016"; }
span.format-aside:before { content: "\f0a1"; }
span.format-gallery:before { content: "\f03e"; }
span.format-image:before { content: "\f030"; }
span.format-link:before { content: "\f0c1"; }
span.format-quote:before { content: "\f075"; }
span.format-video:before { content: "\f03d"; }
h1.archive-header span:before { content: "\f063"; margin-right: 5px; }

.blog .format-aside .entry-title,
.archive .format-aside .entry-title,
.blog .format-link .entry-title,
.archive .format-link .entry-title,	
.blog .format-quote .entry-title,
.archive .format-quote .entry-title {
	display: none;
}

/*--- Calendar ---*/

ul.calendar, .calendar ul, .calendar li {padding: 0; margin: 0; list-style-type: none;}
ul.calendar {margin: 2em 0; display: block; clear: both;}
.calendar ul {overflow: hidden; border-bottom: 1px solid #fff; background: #eee;}
.calendar ul ul {border: none; background: none}
.calendar li {}
.calendar li li {display: block; float: left; width: 14%; min-height: 100px; line-height: 1em; border-right: 1px solid #fff; background: #eee;}
.calendar li .first li {min-height: auto; font-size: 1.2em; line-height: 1em; background: #ffd64e; padding: 5px 0; margin: 0; text-align: center;}
.calendar li li.haveevents {display: block; background: #ffd64e}
.calendar li li li {display: block; float: none; width: auto; border-bottom: none;  min-height: auto; border: none; padding: 5px; background: none}
.calendar .date {font-size: 1.2em; line-height: 1em; padding: 5px; background: #888; color: #fff; margin: 0; text-align: center;}


.simple-calendar td {width: 14.18%; overflow: hidden; background: #eee; border-top: 1px solid #fff; border-left: 1px solid #fff;}
.simple-calendar tr {border-bottom: 1px solid #fff; border-right: 1px solid #fff;}
.simple-calendar ul {list-style-type: none; margin: 0; padding: 0;}
.simple-calendar li {list-style-type: none; margin: 0 0 10px 0; padding: 5px; line-height: 1em; font-size: 0.9em;}
.month-previous {float: left; width: 48%}
.month-next {float: right; width: 48%; text-align: right;}


/*--- Sidebar ---*/

.sidebar-left {
	float: left;
	margin: 2.5em 2em 2.5em 0;
	width: 140px;
	position: relative;
}

.sidebar {
	float: right;
	margin: 2.5em 0;
	width: 200px;
	position: relative;
}

.sidebar-left aside, .sidebar aside {line-height: 1.2em}

.back {width: 100%; margin: 0 0 2em 0;}

ul.filter {list-style-type: none; margin: 0 0 2em 0; padding: 0;}
.filter li {list-style-type: none; padding: 0.5em; margin: 0 0.2em; border:1px solid #fff; border-left: 1px solid #ffd64e}
.filter li.active {border:1px solid #ffd64e; border-left: 1px solid #fff}


.widget {
	font-size: 0.95em;
	margin-bottom: 3.5em;
}
.widget ul {
	list-style: none;
	margin: 0;
}
.widget li {

}
#footer .widget li {
	border-color: #fff;
}
.widget li[class^="icon-"], 
.widget li[class*=" icon-"] {
	text-align: left;
	width: auto;
}
.widget li[class^="icon-"]:before, 
.widget li[class*=" icon-"]:before {
	margin-right: 0.3em;
	text-indent: 0;
}
.widget ul.sub-menu li,
.widget ul.children li {
	border-bottom: 0;
	margin-left: 1.4em;
}

.widget img {}

.widget span {display: block; clear: both; margin: 0 0 10px 0;}

.widget select {
	width: 200px;
}

.widget_adv {
	width: 200px;
}

.sidebar-left .widget_adv {
	width: 140px;
}

.sidebar-left .widget_adv img{
	width: 140px;
}

.widget_adv_fixed {
position: fixed;
top: 0px;
}

.widget_adv_fixed_bottom {
position: fixed;
top: inherit;
bottom: 200px;
}

/*--- Headings ---*/

#footer .widget h4 {
	background-color: #fff !important;
	margin-top: 0;
}
.sidebar .widget h4:first-child, .sidebar-left .widget h4:first-child, .listnews h4, .listevents h4 {
	margin-top: 0;
}

.sidebar .widget img {max-width: 200px;}

.widget h4:before, h4.widget_listnews:before, h4.widget_listevents:before {
	display: inline-block;
	font-family: 'FontAwesome';
	font-style: normal;	
	font-weight: normal;
	line-height: 1;
	margin-right: 3px;
	text-decoration: inherit;
}


/*--- .widget_archive h4:before { content: "\f073"; } ---*/
.widget_calendar h4:before { content: "\f073"; }
.widget_articleofnumber h4:before { content: "\f087"; }
.widget_video h4:before { content: "\f03d"; }
.widget_infografica h4:before { content: "\f012"; }
.widget_poll h4:before { content: "\f0a1"; }
h4.widget_listnews:before { content: "\f006"; }
h4.widget_listevents:before { content: "\f073"; }
/*--- .widget_categories h4:before { content: "\f07c"; } ---*/
/*--- .widget_links h4:before { content: "\f0c1"; } ---*/
/*--- .widget_meta h4:before { content: "\f0c6"; } ---*/
/*--- .widget_nav_menu h4:before { content: "\f0ca"; } ---*/
/*--- .widget_pages h4:before { content: "\f016"; } ---*/
.widget_recent_comments h4:before { content: "\f086"; }
.widget_recent_entries h4:before { content: "\f0a2"; }
.widget_adv h4:before { content: "\f08a"; }
.widget_tag_cloud h4:before { content: "\f0c2"; }

/*--- Poll widget ---*/

.wp-polls-archive {
	/* background-color: #ffffff; */
}
.wp-polls, .wp-polls-form {
	/* background-color: #ffffff; */
}
.wp-polls ul li, .wp-polls-ul li, .wp-polls-ans ul li {
	text-align: left;
	background-image: none;
	display: block;
}
.wp-polls ul, .wp-polls-ul, .wp-polls-ans ul  {
	text-align: left;
	list-style: none;
	float: none;
}
.wp-polls ul li:before, .wp-polls-ans ul li:before, .sidebar ul ul li:before {
	content: '';
}
.wp-polls IMG, .wp-polls LABEL , .wp-polls INPUT, .wp-polls-loading IMG, .wp-polls-image IMG {
	display: inline;
	border: 0px;
	padding: 0px;
	margin: 0px;
}
.wp-polls-ul {
	padding: 0px;
	margin: 0px 0px 10px 10px;
}
.wp-polls-ans {
	width:100%;
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
	/* background-color: #ffffff; */
}
.wp-polls-loading {
	display: none;
	text-align: center;
	height: 16px;
	line-height: 16px;
}
.wp-polls-image {
	border: 0px;
}
.wp-polls .Buttons {
	margin: 0.5em 0 0 0;
	border: 0;
	background-color: #b8282e;
}
/* Polls Archive Paging */
.wp-polls-paging a, .wp-polls-paging a:link {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #0066cc;
	color: #0066cc;
	background-color: #FFFFFF;	
}
.wp-polls-paging a:visited {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #0066cc;
	color: #0066cc;
	background-color: #FFFFFF;	
}
.wp-polls-paging a:hover {	
	border: 1px solid #000000;
	color: #000000;
	background-color: #FFFFFF;
}
.wp-polls-paging a:active {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #0066cc;
	color: #0066cc;
	background-color: #FFFFFF;	
}
.wp-polls-paging span.pages {
	padding: 2px 4px 2px 4px; 
	margin: 2px 2px 2px 2px;
	color: #000000;
	border: 1px solid #000000;
	background-color: #FFFFFF;
}
.wp-polls-paging span.current {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	font-weight: bold;
	border: 1px solid #000000;
	color: #000000;
	background-color: #FFFFFF;
}
.wp-polls-paging span.extend {
	padding: 2px 4px 2px 4px; 
	margin: 2px;	
	border: 1px solid #000000;
	color: #000000;
	background-color: #FFFFFF;
}


/*--- Footer ---*/

.footer {
	background-color: #eee;
	border-top: 1px solid #d1d1d1;
	clear: both;
	height: 100%;
	overflow: hidden;
	width: 100%;
	text-align: center;
	padding: 0.5em 0;
	position: relative;
	z-index: 1000;
}

.footer .magazinelinks {line-height: 33px; padding: 5px 0;}
.footer .magazinelinks span { vertical-align: top}
.footer .magazinelinks a {margin: 0 5px 5px 5px; display: inline-block; height: 33px;  vertical-align: top}
.footer .magazinelinks a.power-e {background: url(i/power-e.png) no-repeat 0 0; width: 118px;}
.footer .magazinelinks a.tech-e {background: url(i/tech-e.png) no-repeat 0 0; width: 107px}
.footer .magazinelinks a.kit-e {background: url(i/kit-e.png) no-repeat 0 0; width: 100px}
.footer .magazinelinks a.wireless-e {background: url(i/wireless-e.png) no-repeat 0 0; width: 112px}
.footer .magazinelinks a.led-e {background: url(i/led-e.png) no-repeat 0 0; width: 158px}

.footer .worldlinks a {padding: 0 0 0 20px; margin: 0 5px;}
.footer .worldlinks a.usa {background: url(i/us.png) no-repeat left center;}
.footer .worldlinks a.poland {background: url(i/pl.png) no-repeat left center;}
.footer .worldlinks a.europe {background: url(i/eu.png) no-repeat left center;}
.footer .worldlinks a.asia {background: url(i/as.png) no-repeat left center;}
.footer .worldlinks a.china {background: url(i/cn.png) no-repeat left center;}
.footer .worldlinks a.chezh {background: url(i/cz.png) no-repeat left center;}


/*-- Responsive Styles --*/

@media only screen and (max-width: 1300px) {

	.container {
		max-width: 960px;
	}	

}

@media only screen and (max-width: 970px) {

	.bannerheadertop {margin: 0 0 2em 0; clear: both;}

	.container {
		width: auto;
	}
	
	.header .searchform {
		margin: 0 0 20px 0;
		clear: right;
	}

	.homenews li.mainnews .carusel_container {
		height: 200px;
	}

	.homenews li.mainnews a.title { 
		margin: 0 0 10px 20px;
	}

	.homenews li.mainnews .excerpt {
		clear: none;
	}

	.homenews li.mainnews {
		width: 96%;
		clear: both
	}
	
	.homenews li.listnews {
		width: 44%;
		line-height: 1.2em;
	}

	.homenews li.listevents {
		width: 44%;
		float: right;
	}

	.sidebar-left {display: none;}

	.home .content {
		margin-left: 0px;
	}

}


@media only screen and (max-width: 700px) {



	.wp-caption {
		width: auto !important;
	}
	.wp-caption img {
		width: 100%;
		height: auto;
	}

}


@media only screen and (max-width: 620px) {

	.calendar li li {display: none; width: 100%;}
	.calendar li li.haveevents {background: #eee;}
	


	.header .searchform {
	margin: 10px 0;
	float: left;
	clear: left;
	}

	#s {
	float: left;
	}

	.header .magazine_header {
	float: right;
	width: 30%;
	}

	.magazine_main {
	float: none;
	}

	.magazine_header ul {
	float: none;
	width: auto;
	clear: both;
	}

	.magazine_header ul li {
	margin: 0 0 10px 0;
	line-height: 1em;
	}

	.magazine_header ul li a{
	line-height: 1em;
	}

	.site-title img {width: 284px}

	.homenews li.mainnews {
	width: 94%;
	}
	
	.homenews li.mainnews .carusel_container {
	height: 300px;
	}
	
	
	.homenews li.listnews, .homenews li.listevents {
	width: 40%;
	}

}

@media only screen and (max-width: 510px) {

	.bannerheadertop {margin: 1em 0;}

	/*--- Container ---*/
	body {
		font-size: 1.5em;
		line-height: 1.5;
		word-spacing: 3px;
	}

	.content {margin-right: 0;}

	.post .alignright {display: none}
	.post .entry-content .alignright {display: block; float: none;}
	.post .entry-content .alignleft {display: block; float: none;}

	/*--- Widgets --*/


	#s {
		font-size: 1.5em;
		width: 100%;
	}
	
	/*--- Navigation ---*/
	.main-small-navigation li a {
	    font-size: 1.2em;
	    line-height: 1.8;
	}
	.nav-previous, 
	.nav-next {
		float: none;
		margin-bottom: 0.5em;
		max-width: 100%;
	}
	
	/*--- Form Elements ---*/
	input[type="text"],
	input[type="password"] {
		width: 100%;
	}
	
	/*--- Post Meta ---*/
	span.format-standard:before { font-size: 2.05em; }
	span.format-aside:before { font-size: 2.1em; }
	span.format-gallery:before { font-size: 2em; }
	span.format-image:before { font-size: 2.1em; }
	span.format-link:before { font-size: 1.95em; }
	span.format-quote:before { font-size: 2em; }
	span.format-video:before { font-size: 2.2em; }
	
	.post-info br {
		display: none;
	}
	.footer-meta br {
		display: none;
	}
	.release-date,
	.author-link,
	.comments-link,
	.cat-links,
	.tag-links {
		display: block;
	}
	.sep {
		clear: left;
		display: none;
	}
	.social-buttons > div {
		width: 100%;
	}
	.social-buttons .googleplus-one {
		text-align: left;
	}
	
	/*--- Font Formats ---*/
	h1,	h2,	h3,	h4,	h5,	h6 {
		clear: both;
		letter-spacing: 1px;
		line-height: 1.2;
		word-spacing: 2px;
		word-wrap: break-word;
	}
	h1 {
		font-size: 2em;
		margin: 0.3em 0 0.3em -1px;
	}
	h2 {
		font-size: 1.75em;
		margin: 0.6em 0 0.3em -1px;
	}
	h3 {
		font-size: 1.5em;
		margin: 0.6em 0 0.2em 0;
	}
	h4 {
		background-color: rgba(196,198,199,0.3);
		font-size: 1.25em;
		margin: 0.6em 0 0.4em;
		padding: 3px 1px 2px;
	}
	h5 {
		font-size: 1.25em;
		margin: .8em 0 0.5em;
	}
	h6 {
		font-size: 1em;
		margin: 1em 0 0.5em;
	}
	blockquote {
		font-size: 1.2em;
	}
	
	/*--- Comments ---*/
	#comments ol.commentlist,
	#comments ul.children,
	li.pingback	{
		margin-left: 0;
	}
	.comment-author img {
		display: none;
	}

	.site-title a img {
		width: 100%;
	}

	.aboutus {
		display: block;
		float: none;
		clear: both;
		padding: 0.5em 0 2em 0;
	}

	.header a.logo {
		margon-bottom: 1em;
	}

	.header .magazine_header {
		float: none;
		margin: 0.5em 0 0 0;
		width: 94%;
	}

	.magazine_header ul {
		float: left;
		margin: 0 1em 0 0;
		width: auto;
		clear: none;
	}

	.sidebar {
		clear: both;
		float: none !important;
		margin: 0 auto;
		width: 100%
	}

	.header .searchform {
		float: none;
		margin: 0 0 0.5em 0;
	}


	.header .searchform {
		display: none;
	}

	.widget_adv_fixed {
		position: static;
	}

	.magazine_header ul li a {
		font-size: 0.7em;
	}
	
	.homenews {
		margin: 1em 0 0 -2em;
	}
	
	.homenews li.mainnews .carusel_container {width: 90%;}
	.homenews li.mainnews a.title {float: none; clear: both; width: 100%; margin-left: 0; }
	.homenews li.mainnews img {display: none;}
	.homenews li.mainnews, .homenews li.listnews, .homenews li.listevents {
		width: 100%;
		float: none;
		margin-bottom: 3.5em;
	}
	
	.sidebar {display: none;}
	
	.sidebar-left {display: none;}



}



#fancybox-title {
    font-size: 14px !important;
}

.banner_pc_ya{margin-bottom:30px;}
.mt_top{margin-top:30px;}