/*
	Theme Name: News
	Author: Serg
	Version: 1.0
	Template: twentyfifteen
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

.menu-item-14 a {
	color: red!important;
}

.social-navigation a[href*="vk.com"]:before {
	content: "VK";
}

.ci:before {
	font-family: "Genericons";
	content: "\f108";
}

.ui:before {
	font-family: "Genericons";
	content: "\f304";
	cursor: pointer;
	margin: 0 0 0 -20px;
	float: left;
}

.entry-content {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	hyphens: none;
	text-align: justify;
}

.entry-content p, .site-info p, .comment-content p {
	text-indent: 2em;
}

.crp_related ul {
	list-style: square;
}

.widget {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	hyphens: none;
	text-align: justify;
}
/*
.entry-title {
text-align: right;
}
*/
.site-title {
  margin-bottom: 0!important;
}

.taxonomy-description p {
  margin-bottom: 0!important;
}

/*Отступы - 0 пикселей (внизу) картинки*/
.post-thumbnail {
  margin-bottom: 0;
}

/*Отступы - 25 пикселей (вверху и внизу) и 2.5% (слева и справа)*/
.entry-title, .comments-title, p {
  margin-bottom: 25px!important;
}

.top-menu {
  margin: 25px auto 0px!important;
}

blockquote, address, pre, hr, ul, ol, dl, dd, table {
  margin-left: 25px;
}

/*общие*/
body:before {
  width: 25%;
}

.hentry {
  padding-top:0;
}

.post-thumbnail img {
	display: block;
	margin: 0 auto;
	width: 100%;
}

@media screen and (min-width: 87.6875em) {
body:before {
  width: -webkit-calc(50% - 345px);
  width: calc(50% - 345px);
}
}

.site-header {
  background-color: #fff!important;
  position: relative;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
  padding:25px 2.5%;
}

p {
  text-align: justify;
}

.entry-header {
  padding: 25px 2.5% 0;
}

.page  .entry-header, single .entry-header {
  padding-top:25px;
}

.entry-content, .entry-summary {
  padding: 0 2.5% 25px;
}

.entry-content > :last-child, .entry-summary > :last-child {
  margin-bottom: 0!important;
}

.entry-footer {
  padding: 25px 2.5%;
}

/*форма комментариев*/
p.form-submit,p#form-allowed-tags,p.comment-form-url,p.comment-form-email,p.comment-form-author,p.comment-notes {display:none;}
p.comment-form-comment textarea {height:80px;}

/*читать далее*/
a.more-link {
  display: block;
  border: 0;
  background: #E5E5E5;
  color: #929292;
  text-align: center;
  position: relative;
  width: auto;
  height: 40px;
  margin: 25px auto 0;
  padding: 5px 20px;
  float: right;
}

a.more-link:hover {
  background: #E8E8E8;
  color:#D1D1D1;
}

a.more-link:before {
  content: ""!important;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 15px solid #E5E5E5;
  top: 100%!important;
  position: absolute;
  left: 65%;
}

a.more-link:hover:before {
  border-top: 15px solid #E8E8E8;
}

/*меню под шапкой*/
.top-menu {
  margin: 25px auto 0!important;
}

.top-menu ul {
  display: inline-block;
  text-align: center;
  width: 100%;
  margin-bottom: 0px;
  margin-left:0;
}

.top-menu ul li {
  margin: 0px 1rem 0.5rem 0px;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.top-menu li a {
  display: inline-block;
  text-decoration: none;
  border-bottom: 0;
  color: #6a6a6a;
  text-transform: uppercase;
  white-space: nowrap;
}

.top-menu li a:hover,.top-menu li a:focus {
  color: #000;
}

.top-menu ul.sub-menu {
  display: none;
}

/*навигация по статьям*/
.nav-next {
  border-top: 2px solid #fff;
  text-align: right;
}

.nav-previous {
  border-bottom: 2px solid #fff;
}

/*дополнительные сайдбары*/
.sidebar {
  width: 100%;
}

.sidebar-top,.sidebar-bottom {
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  position: relative;
  padding: 25px 2.5%;
}

.sidebar-top aside,.sidebar-bottom aside{
	margin-bottom:0!important;
}

.sidebar-bottom .widget-area {
  margin-top: 0;
}

/*
* Минимальная ширина - 38.75em
*/
@media screen and (min-width: 38.75em) {
/*шапка*/
.site-main {
  padding: 0;
}

.site-header {
  margin: 0 7.6923%;
  padding: 25px 2.5% 0;
}

/*контент*/
.hentry + .hentry, .page-header + .hentry, .page-header + .page-content {
  margin-top:25px;
}

.site-footer {
  padding:25px 2%;
}

/*Пагинация, комментарии*/
.pagination, .comments-area {
  margin: 25px 7.6923% 0;
}

/*сайдбары*/
.sidebar-top, .sidebar-bottom{
  margin: 25px 7.6923%;
  padding: 25px 2.5%;
}

.secondary {
  margin: 25px 7.6923% 0;
  padding: 50px 2.5% 0;
}

.widget {
  margin-bottom:25px;
}

/*меню под хэдером*/
.top-menu {
  margin: 25px auto!important;
}

}

/**
* Минимальная ширина - 59.6875em
*/
@media screen and (min-width: 59.6875em) {

/*общие*/
.site-header {
  float: right;
  margin: 0 1.9% 25px 0;
  width: 71.25%;
  padding: 0 2.5%;
}

.site-info {
  padding: 0;
}

.site-content {
  width: 75%;
  margin-left: 25%;
}

.site-footer {
  float: right;
  margin: 25px 1.9% 0 0!important;
  width: 71.25%;
}

/*контент*/
.hentry + .hentry, .page-header + .hentry, .page-header + .page-content {
  margin: 2.5% 2.5% 0;
}

.hentry, .page-header, .page-content {
  margin: 0 2.5%;
}

.hentry {
  padding-top: 0;
}

/*сайдбары*/
.sidebar {
  max-width: 351px;
  width: 25%;
  padding-top: 0;
}
.secondary {
  margin-top: 25px;
  padding: 0;
}
.sidebar aside {
  padding: 0 2.5%;
  margin-bottom:25px;
}

.sidebar-top,.sidebar-bottom, .main-navigation {
  margin: 0 2.5% 25px;
}

.sidebar-top .widget,.sidebar-bottom .widget {
  padding: 0;
}

/*навигация и пагинация*/
.pagination {
  margin: 2.5% 2.5% 0;
}

.post-navigation {
  margin: 25px 2.5% 0;
}

.nav-links {
  display: table;
  width: 100%;
}

.nav-previous, .nav-next {
  display:  table-cell;
  border-bottom:0;
  border-top:0;
}

.nav-next {
  border-left: 1px solid #fff;
  text-align: right;
}

.nav-previous {
  border-right: 1px solid #fff;
}

/*меню под хэдером*/
.top-menu {
  margin: 25px auto!important;
}

.top-menu li ul {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  z-index: 1;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.top-menu li ul li a {
  background: #efefef;
  border-bottom: 1px solid #ededed;
  display: block;
  font-size: 15px;
  font-size: 1.5rem;
  line-height: 2.181818182;
  padding: 8px 10px;
  padding: 0.571428571rem 0.714285714rem;
  width: 210px;
  white-space: normal;
}

.top-menu li ul ul {
  top: 0;
  left: 100%;
}

.top-menu ul li:hover > ul,
.top-menu ul li:focus > ul,
.top-menu .focus > ul {
  border-left: 0;
  clip: inherit;
  overflow: inherit;
  height: inherit;
  width: inherit;
}

.top-menu li ul li a:hover,
.top-menu li ul li a:focus {
  background: #e3e3e3;
  color: #444;
}

.top-menu .current-menu-item > a,
.top-menu .current-menu-ancestor > a,
.top-menu .current_page_item > a,
.top-menu .current_page_ancestor > a {
  color: #636363;
  font-weight: bold;
}

.top-menu ul.sub-menu {
  display: block;
}

/*форма комментариев*/
.comments-area {
  margin: 25px 2.5% 0;
}

.comments-area {
  padding: 2.5%;
}

}

/*Для правого сайдбара. Скрыть,когда нужен левый
*/
@media screen and (min-width: 59.6875em) {
.site-content {
  float: left;
  margin-left: 0px;
}

.sidebar {
  float: right;
  right:0;
  margin-right: 0px;
}

body:before {
  right: 0;
  left:auto;
}

.site-header {
  float: left;
  margin: 0 0 25px 1.9%;
  width: 71.25%;
}

.site-footer {
  margin: 25px 0 0 1.9%!important;
  width: 71.25%;
  float:left;
}
}
