#w0,
#w1,
#w2,
#w3,
#w4,
#w5
{
  clear: both;
}

body,
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, 
a, p, span, div, label {
    font-family: sans-serif;
    /* font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
}

.status {
    font-size: 18px;
    color: #ccc;
}
.status .green {
    color: #008000;
}
.right-side, .wrapper {
    background: #fff !important;
}
.content-wrapper {
    background: #ecf0f5 !important;
}
.content {
    background: #fff;
}
.navbar-nav > .user-menu > .dropdown-menu > .user-body { 
    padding: 15px 0px;
}

.jumbotron {
	text-align: center;
	background-color: transparent;
}

.jumbotron .btn {
	font-size: 21px;
	padding: 14px 24px;
}

.not-set {
	color: #c55;
	font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
	position: relative;
	top: 1px;
	display: inline-block;
	font-family: 'Glyphicons Halflings';
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	padding-left: 5px;
}

a.asc:after {
	content: /*"\e113"*/ "\e151";
}

a.desc:after {
	content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
	content: "\e153";
}

.sort-numerical a.desc:after {
	content: "\e154";
}

.sort-ordinal a.asc:after {
	content: "\e155";
}

.sort-ordinal a.desc:after {
	content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
	display: block;
	margin-top: 5px;
	color: #999;
}

.error-summary {
	color: #a94442;
	background: #fdf7f7;
	border-left: 3px solid #eed3d7;
	padding: 10px 20px;
	margin: 0 0 15px 0;
}

/* дерево структуры (статические страницы) */

#structure .leaf {
    float: left;
    width: 18px;
    height: 18px;
    margin-left: -25px;
    display: inline-block;
    background: url(/media/img/tree-child-free.gif) no-repeat left bottom;
}

#structure,
#structure ul {
    margin: 0;
    padding-left: 25px;
}

#structure li {
    list-style: none;
}

#structure .menu {
    margin-left: 10px;
}

#structure .menu,
#structure .menu span {
    display: inline-block;
}

#structure .menu span + span:before {
    content: "|";
    margin: 0 15px;
}

#structure .article {
    padding-left: 20px;
    background: url(/media/img/article.gif) no-repeat left center;
}

.main-header .logo {
    padding-left: 9px;
}
.nav.navbar-nav {
    margin-right: 10px;
    position: relative;
}
.control-sidebar-heading {
    margin: 0 0 10px 0;
}
.control-sidebar-menu>li>a
{
  color: #fff;
}
.control-sidebar-subheading {
    margin: 0;
    display: inline;
}
.control-sidebar-menu__region .menu-info{
    margin-top: 0px;
}
.control-sidebar-menu .menu-info {
    margin-left: 30px;
}
.menu-info .text-muted {
    margin-left: 5px;
}
.control-sidebar {
    width: 280px;
}

.action-buttons {
    position: absolute;
    top: 0;
    right: 0px;
    display: none !important;
}

.b-create:hover .action-buttons{
       display: block !important;
}

.dayNews-b-title {
    color: #fff;
    padding: 20px 10px 10px;
    right: 0;
    background: url(https://primamedia.ru/media/img/txt-shadow.png) left top repeat-x;
    left: 0;
    bottom: 0;
    position: absolute;
    font-size: 14px;
    line-height: 17px;
}
.dayNews-b-create__1 .dayNews-b-title{
    font-size: 18px;
    line-height: 24px;
}
.sortable {
    display: inline-block;
    height: 100%;
    width: 100%;
}
/*
.b-create {
    width: 277px;
    height: 165px;
}
.b-create.dayNews-b-create__1 {
    width:555px;
    height: 330px;
}

.b-create img {
    width: 100%;
    height: auto;
}*/

.content-header {
    padding: 30px 0 20px 15px;
}

.col-md-short {
    width: 1.33333% !important;
}

.btn-save {
    text-align: center;
}
.btn-save button {
    width: 500px;
}

.redactor-in {
    padding: 24px;
    border: 1px dashed rgba(0, 0, 0, .15);    
    background: #f6f9fe;
}
.redactor-toolbar {
    background: #f8f8f8;
}
.date {
    color: #434343;
    font-size: 12px;
}
.news-rate {
    color: #434343;
    font-size: 14px;
    font-weight: bold;
}

.old-link-list-menu ul > li a .fa {
    width: 20px;
}

.modal-body {
    position: relative;
    padding: 15px;
    overflow-y: auto;
    height: 100%;
}

.modal-dialog, .modal {
    overflow-y: initial !important;
}

.old-link-list-menu ul>li a:hover {
    background: rgba(138, 166, 217, 0.3);
}

.old-link-list-menu ul>li {
    padding-top: 10px;
    padding-left: 0;
}

.old-link-list-menu ul>li a {
    color: #444444;
}

.old-link-list-ul {
    list-style: none;
    padding-left: 0;
    display: inline-block;
}

.old-link-list-menu {
    max-height: 100%;
    padding-left: 0;
    float: left;
}

.old-link-list {
    list-style: none;
}

.link-dotted {
    border-bottom: 1px dotted #0073b7;
}

.mobile-region-toggle {
    position: absolute;
    z-index: 1000;
    color: white;
    top: 10%;
    left: 90%;
    font-size: 24px;
}

.old-links-modal-button {
    float: left; 
    padding: 14px;
    color: black;
}
.news-filter-form {
    display: block;
}
@media (max-width: 767px) {
  .dropdown-menu
  {
    position: absolute!important;
    right: -56px;
    left: auto;
    background-color: #fff!important
  }
  .news-filter-form {
    display: none;
}
  
  .navbar-nav > li > a {
    padding: 10px 12px;
  }
  
    .main-sidebar {
        position: absolute;
    }
     .btn-save button {
        width: 100%;
    }
    
    .content-header {
        padding: 10px;
    }
    
    .modal-body {
        height: auto;
    }

    .modal-body > #photoForCrop {
        width: 100%;
    }
}

form div.required label.control-label:after {
  color: red;
  content: " *";
}

.skin-black .sidebar a
{
  color: #fff;
}

.skin-black .treeview-menu>li>a
{
  color: #fff;
}

.skin-black .wrapper,
.skin-black .main-sidebar,
.skin-black .left-side
{
  background-color: #191919;
}

.skin-black .sidebar-menu>li:hover>a,
.skin-black .sidebar-menu>li.active>a
{
  background: #a91d21;
}

.skin-black .sidebar-menu>li>.treeview-menu
{
  background: #1d1d1d;
}

.sidebar-menu>li>a
{
  padding: 15px 5px 15px 15px;
}

@media (min-width: 768px)
{
  .sidebar-mini.sidebar-collapse .main-header .logo
  {
    width: 75px;
  }

  .sidebar-mini.sidebar-collapse .main-sidebar
  {
    width: 75px!important;
  }

  .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu>li>a
  {
    padding: 15px 5px;
    text-align: center;
  }

  .sidebar-mini.sidebar-collapse .sidebar-menu>li:hover>.treeview-menu
  {
    top: 0;
  }

  .sidebar-mini.sidebar-collapse .sidebar-menu>li:hover>a>span:not(.pull-right),
  .sidebar-mini.sidebar-collapse .sidebar-menu>li:hover>.treeview-menu
  {
    left: 75px;
  }

  .sidebar-mini.sidebar-collapse .content-wrapper,
  .sidebar-mini.sidebar-collapse .right-side,
  .sidebar-mini.sidebar-collapse .main-footer
  {
    margin-left: 75px!important;
  }

  .sidebar-mini.sidebar-collapse .sidebar-menu>li:hover>a>span:not(.pull-right)
  {
    background: #191919;
    text-align: left;
    padding: 15px 5px 15px 20px;
  }
}

.view-news-cdate-int {
    margin-bottom: 20px;
    float: left;
}

.view-news-cdate-int > .field-news-cdate_int {
    margin-bottom: 0;
}

.modal-backdrop.fade.in {
    display: none;
}

.subject-center > div {
    margin: 0 auto;
}

.subject-form-block {
    clear: both; 
    padding: 0;
}

.search_show_button {
    float: left;
    color: #000000;
    font-size: 15px;
    line-height: 17px;
    text-transform: uppercase;
    font-weight: 600;
    width: 30px;
    padding: 15px 0 15px 10px;
    cursor: pointer;
    border-right: 1px solid #eee;
}

.search {
    width: 280px;
    position: relative;
    padding: 10px 0 0;
    height: 50px;
}

.search .input {
    background: #fff;
    box-sizing: border-box;
    float: left;
    font-size: 13px;
    outline: 0;
    padding: 4px 30px 3px 15px;
    width: 100%;
    height: 30px;
}

@media(min-width: 767px) {
    .ul-search {
        display: inline-flex !important;
    }
}

.search .submit {
    position: absolute;
    top: 10px;
    right: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
    opacity: .5;
}

.search .submit,
.search .input {
    border: 1px solid #d2d6de;
}

.search .submit, .search:focus .submit, .search:hover .submit, .search:hover .submit:hover {
    background: url(https://primamedia.ru/media/img/main-sprite.png) -79px -33px no-repeat;
}

#cancelSearch {
    margin: 19px 15px;
    cursor: pointer;
}

.navbar-right .ul-search {
    display: inline-flex;
}

.newsdraft-button {
    font-size: inherit !important;
    text-transform: inherit !important;
}

.common-widgets {
    width: 210px;
    display: block;
    position: relative;
    height: 40px;
    float: right;
    top: -17px;
}

.favoritesPageType {
    background-color: #eae4e4;
    padding: 7px;
}

#favoritesList {
    min-width: 270px;
    border-width: 2px;
    border-color: rgb(227, 227, 227);
}

.favorites-btn-footer {
    margin: 10px 10px 10px;
    display: block;
}

.favorites-btn {
    background-color: inherit !important;
    color: #fff !important;
}

.favorites-btn:hover {
    color: #fff;
    
}

.redactor-toolbar {
    z-index: 0 !important;
}

@media (max-width: 480px) {
    .search {
        width: 100%;
        padding: 0;
    }
    
    #cancelSearch {
        margin: 0;
        top: 10px;
        position: relative;
        right: 5px;
    }
    
    .search .submit {
        top: 0px;
        right: 0px;
    }
    
    .navbar-right .ul-search {
        margin-top: 0;
        position: relative;
        left: 21px;
    }

    .search_show_button {
        padding: 10px 0 15px 10px;
    }
    
    .common-widgets {
        width: 45px;
        top: -30px;
    }
    
    .common-widgets > div > .dropdown-menu {
        right: -30px;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .common-widgets {
        top: -30px;
    }
}

@media (min-width: 1024px) {
    .navbar-add-news-btn {
         padding-right: 50px !important;
    }
}

.user-menu .dropdown-menu .user-header {
    background-image: url('https://primamedia.ru/f/placeholder.jpg');
    background-size: cover;
    background-position: center;
    text-align: left!important;
    height: 165px !important;
}
.user-menu .dropdown-menu .img-circle {
  max-width: 100px;
	max-height: 145px;
	border-radius: 0;
}
.user-menu .dropdown-menu .img-circle[src*='dummy'] {
	border-radius: 50% !important;
	border: 2px solid #CCC;
}

.navbar-nav > .user-menu > .dropdown-menu .user-body {
  overflow: hidden;
  padding: 10px 0 10px 10px;
  height: 145px;
  background-color: #f4f4f4;
}

.navbar-nav > .user-menu > .dropdown-menu .user-body a {
	font-size: 15px;
  color: #444 !important;
  display: block;
}

.navbar-nav > .user-menu > .dropdown-menu .user-body a[href*="logout"] {
  margin-top: 3px;
  padding: 2px 10px;
  margin-right: 1px;
}

.navbar-nav > .user-menu > .dropdown-menu .user-body a i {
  width: 16px;
}

.navbar-nav > .user-menu > .dropdown-menu .user-body a i.fa-facebook-square {
  font-size: 18px;
}

.newslist {
    border-collapse: separate;
    border-spacing: 0 .5rem;
}

.newslist-filter .row > div {
    padding-right: 0;
}

.smm-news-index a
{
  font-weight: 600;
}

.smm-news-index .fa
{
  color: #333333;
  text-decoration: none;
}

.smm-news-index .fa-square-o:hover:before
{
  content: "\f046";
}

.smm-news-index .fa-check-square-o:hover:before
{
  content: "\f096";
}

.smm-news-index textarea
{
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent!important;
  color: #fff;
}

.sidebar-menu .fa-newspaper-o.unread,
.sidebar-menu .fa-facebook-square.unread,
.sidebar-menu .fa-black-tie.unread,
.sidebar-menu .fa-camera.unread
{
  position: relative;
}

.sidebar-menu .fa-newspaper-o.unread:after,
.sidebar-menu .fa-facebook-square.unread:after,
.sidebar-menu .fa-black-tie.unread:after,
.sidebar-menu .fa-camera.unread:after{
  content: "";
  background: #00a65a;
  position: absolute;
  border-radius: 50%;
}

.sidebar-menu .fa-newspaper-o.unread:after,
.sidebar-menu .fa-camera.unread:after {
  width: 7px;
  height: 7px;
  top: -7px;
  right: -7px;
}

.sidebar-menu .fa-facebook-square.unread:after,
.sidebar-menu .fa-black-tie.unread:after {
  width: 5px;
  height: 5px;
  top: -5px;
  right: 1px;
}

#ui-datepicker-div {
	z-index: 999 !important;
}

.form-control
{
  padding: 6px;
}

#newsform #ya_warn_80 {
    font-size: 13px;
    padding: 3px;
    border-radius: 5px;

    display: none;
}

.field-news-name.m0 {
    margin: 0 !important;
}

#newsform #ya_warn_80.warn {
    border: 2px solid red;
    display: block;
    margin-bottom: 15px;
    margin-top: -13px;
}

@media (max-width: 991px) {
    #newsform #ya_warn_80 {
        position: relative;
        top: 0;
        margin-bottom: 10px;
        text-align: center;
        max-width: none;
    }
}

tr {
    transition: all .5s ease;
}

tr:hover {
    background: #F0F0F0;
}

.navbar-logo {
    border-right: 1px solid #eee;
    padding: 15px;
}