/*
Здесь можно добавить ваши CSS-стили.

Нажмите на значок помощи выше, чтобы узнать больше.
*/

a.en {
	color: #777700;
}

h1.site-title {
	letter-spacing: 0.58em;
}

/* Делаем инпут на всю ширину: */
div.widget-area > aside.widget.widget_search > form#searchform > input#s {
	width: 100%;
	box-sizing: border-box;
}

/* Убираем слайдшоу лишние отступы, чтобы оно было на всю ширину: */
div.widget-area > aside.widget.widget_slideshow > div.ngg_slideshow.widget {
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

div.widget-area > aside.widget.widget_slideshow > div.ngg_slideshow.widget > div.ngg-slideshow {
	margin: 0;
}

/* Делаем блок языков на всю ширину: */
div.widget-area > aside.widget.widget_glt_widget > div#flags {
	width: 100%;
}

/* Выравниваем флаги по центру блока с неудобной шириной (224.88px) из расчёта на то, что флаги будут занимать 220px (10 флагов * 22px)*/
div.widget-area > aside.widget.widget_glt_widget > div#flags > ul#sortable.ui-sortable {
	margin-left: calc((100% - 220px) / 2);
	margin-right: calc((100% - 220px) / 2);
}

/* Устанавливаем флагам ширину в 22px (224.88px / 16px = 14 флагов максимум. чтобы было просторно - будет 10. 224.88px / 10 ~ 22px) */
div.widget-area > aside.widget.widget_glt_widget > div#flags > ul#sortable.ui-sortable > li {
	width: 22px;
	text-align: center;
}

/* Убираем лишний отступ без очевидных причин. Возможно он не нужен потому что флаги (ссылки) выровнены посередине пунктов списка (li) */
div.widget-area > aside.widget.widget_glt_widget > div#flags > ul#sortable.ui-sortable > li > a {
	margin-right: 0;
}

/*
Welcome to Custom CSS!

CSS (Cascading Style Sheets) is a kind of code that tells the browser how
to render a web page. You may delete these comments and get started with
your customizations.

By default, your stylesheet will be loaded after the theme stylesheets,
which means that your rules can take precedence and override the theme CSS
rules. Just write here what you want to change, you don't need to copy all
your theme's stylesheet content.
*/
.su-tabs-nav, .su-tabs-nav span, .su-tabs-panes, .su-tabs-pane {
	padding: 0;
	background: #292625;
	color: #ffdd10 !mportant;
}

.su-tabs {
	padding: 0 !important;
}

.site-title a, .site-description {
	font-size: 90%;
}

.su-spoiler.my-custom-spoiler {
}

.su-spoiler.my-custom-spoiler .su-spoiler-title .su-spoiler-icon,
  .su-spoiler.su-spoiler-closed.my-custom-spoiler .su-spoiler-title .su-spoiler-icon {
	left: 3px;
}

.su-spoiler.my-custom-spoiler .su-spoiler-content {
	background-color: #292625;
}

.su-spoiler.my-custom-spoiler .su-spoiler-title,
input[type="submit"] {
	border-radius: 5px;
	color: #222;
/* WRONG GRADIENT: background: -webkit-linear-gradient(top,rgba(255,178,81,1) 0%,rgba(163,43,8,0.39) 100%,#7db9e8 100%);*/
/* GOOD GRADIENT START (from http://www.cssmatic.com/gradient-generator) */
	background: rgba(255,177,81,1);
	background: -moz-linear-gradient(top,rgba(255,177,81,1) 0%,rgba(161,41,8,0.39) 100%);
	background: -webkit-gradient(left top,left bottom,color-stop(0%,rgba(255,177,81,1)),color-stop(100%,rgba(161,41,8,0.39)));
	background: -webkit-linear-gradient(top,rgba(255,177,81,1) 0%,rgba(161,41,8,0.39) 100%);
	background: -o-linear-gradient(top,rgba(255,177,81,1) 0%,rgba(161,41,8,0.39) 100%);
	background: -ms-linear-gradient(top,rgba(255,177,81,1) 0%,rgba(161,41,8,0.39) 100%);
	background: linear-gradient(to bottom,rgba(255,177,81,1) 0%,rgba(161,41,8,0.39) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb151',endColorstr='#a12908',GradientType=0);
/* GRADIENT END */
}

.su-spoiler.my-custom-spoiler .su-spoiler-title:hover,
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
/* WRONG GRADIENT: background: -webkit-linear-gradient(top,rgba(255,178,81,1) 0%,rgba(183,63,28,1) 100%,#7db9e8 100%);*/
/* GOOD GRADIENT START (from http://www.cssmatic.com/gradient-generator) */
	background: rgba(255,177,81,1);
	background: -moz-linear-gradient(top,rgba(255,177,81,1) 0%,rgba(161,41,8,1) 100%);
	background: -webkit-gradient(left top,left bottom,color-stop(0%,rgba(255,177,81,1)),color-stop(100%,rgba(161,41,8,1)));
	background: -webkit-linear-gradient(top,rgba(255,177,81,1) 0%,rgba(161,41,8,1) 100%);
	background: -o-linear-gradient(top,rgba(255,177,81,1) 0%,rgba(161,41,8,1) 100%);
	background: -ms-linear-gradient(top,rgba(255,177,81,1) 0%,rgba(161,41,8,1) 100%);
	background: linear-gradient(to bottom,rgba(255,177,81,1) 0%,rgba(161,41,8,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb151',endColorstr='#a12908',GradientType=0);
/* GRADIENT END */
}

.abh_box {
	padding: 0;
}

.abh_box .abh_pwb a {
	right: 8px;
}

.abh_tab_content {
	padding: 8px 8px 0;
	background: rgb(53,53,53);
}

.abh_tab_content .abh_text .fn a {
	color: rgb(252,176,62);
}

.abh_tabs li.abh_active a {
	color: rgb(252,176,62);
	background: rgb(53,53,53);
}

.abh_tabs li a {
	color: rgb(252,176,62);
	background: none;
}

.avatar.avatar-48.photo.grav-hashed,
.avatar.avatar-48.wp-user-avatar.wp-user-avatar-48.photo.avatar-default,
.avatar.avatar-48.photo.grav-hashed.grav-hijack, 
.avatar.avatar-48.wp-user-avatar.wp-user-avatar-48.alignnone.photo {
	float: left;
	vertical-align: top;
	margin: 0 12px 6px 0;
	background: #FF7F00;
	border: 2px #aaaaaa solid;
	-moz-border-radius: 24px 0 0 24px;
	-webkit-border-radius: 24px 0 0 24px;
	-khtml-border-radius: 24px 0 0 24px;
	border-radius: 24px 0 0 24px;
}

aside.widget.Top.Authors .avatar.avatar-48.photo.grav-hashed,
aside.widget.Top.Authors .avatar.avatar-48.wp-user-avatar.wp-user-avatar-48.photo.avatar-default,
aside.widget.Top.Authors .avatar.avatar-48.photo.grav-hashed.grav-hijack, 
aside.widget.Top.Authors .avatar.avatar-48.wp-user-avatar.wp-user-avatar-48.alignnone.photo 
aside.widget.top-authors-widget .avatar.avatar-48.photo.grav-hashed,
aside.widget.top-authors-widget .avatar.avatar-48.wp-user-avatar.wp-user-avatar-48.photo.avatar-default,
aside.widget.top-authors-widget .avatar.avatar-48.photo.grav-hashed.grav-hijack, 
aside.widget.top-authors-widget .avatar.avatar-48.wp-user-avatar.wp-user-avatar-48.alignnone.photo {
	-moz-border-radius: 24px !important;
	-webkit-border-radius: 24px !important;
	-khtml-border-radius: 24px !important;
	border-radius: 24px !important;
}

aside.widget.jetpack_subscription_widget h1, #subscribe-text {
	font-size: 0;
	padding: 0;
	border-top: none;
}

aside.widget.widget_search h1 {
	font-size: 0;
	padding: 0;
	border-top: none;
}

aside.widget.widget_search {
	padding: 0 1.8em;
	margin: 0;
}

#searchform input.field {
	width: 83%;
}

#subscribe-blog-blog_subscription-2 #subscribe-field {
	width: 83%;
	background: #181514;
	border: 1px solid #393736;
	box-shadow: 2px 2px rgba(0,0,0,0.2);
	color: #a18d75;
	padding: 5px;
}

div.ngg_slideshow.widget {
	margin: .5em auto .8em;
}

/*
#slideshow-3, #slideshow-4 {
    DELETE IT: padding: 0 2.167em 0 0;
    DELETE IT: margin: 0 0 1px!important;
}

---#slideshow-3 h1 {
	font-size: 0;
	padding: 0;
	border-top: none;
}

---#slideshow-4 h1 {
	font-size: 0;
	padding: 0;
	border-top: none;
}
*/
img.latex {
	border-style: none;
	box-shadow: none;
}

div.entry-content table {
	display: block;
	overflow: auto;
	height: 100% !important;
}

pre {
	background: none;
	padding: 0 0 0 10px;
}

.entry-content img {
	border: none;
	box-shadow: none;
}