/* черный цвет табов в меню */
body:not(.theme-dark) #main-menu2>ul>li>a.selected {
  background: black;
  border-color: black;
}

/* серый фон сведений о задаче */
div.issue>.attributes>.splitcontent:first-of-type {
  background: #efefef;
}

/* сайдбар */
#sidebar {
  box-shadow: 0px 0px 10px #00000059;
  background: #f3f3f3;
  border-radius: 6px;
  padding: 0 2rem;
  margin: 0;
  /* flex-shrink: 1; */
  z-index: 1;
}

body:not(.theme-dark) #hide-sidebar {
    background: #858585;
    color: #ffffff;
}

/* стили записей в истории задачи */
.journal {
  border: 1px solid #e3e3e3;
  border-radius: 10px;
}

.journal .contextual {
  top: 16px;
  height: 36px;
}

.journal .wiki {
  padding: 1rem;
  border-radius: 10px;
}

.journal .note-header {
  background: #efefef;
  border-radius: 6px;
  padding: 8px;
  margin-left: 20px;
  font-weight: 700;
  font-size: 1rem;
  width: calc(100% - 140px);
}

.journal .note-header img {
  width: 50px;
  height: 50px;
  margin-left: -28px;
  margin-top: -8px;
}

/* увеличиваем аватарку на странице задачи */
.gravatar-with-child img:first-child {
  width: 50px;
  height: 50px;
}

/* перекрашиваем розовые кнопки */
#content>.contextual>.icon-add,
#content>.contextual .drdn-trigger .icon-add,
#main-menu #new-object,
#main-menu2 #new-object,
#actionbar #new-entity,
.projectino-controls input[type="submit"]:first-of-type {
  background: #ed1c24;
  border-color: #ed1c24;
}
#content>.contextual>.icon-add:hover,
#content>.contextual .drdn-trigger .icon-add:hover,
#main-menu #new-object:hover,
#main-menu2 #new-object:hover,
#actionbar #new-entity:hover,
.projectino-controls input[type="submit"]:first-of-type:hover {
  background: #ed0c04;
  border-color: #ed0c04;
}
#actionbar .menu-children {
  background: #ed1c24;
}

/* кнопка добавить трудозатраты */
.controller-timelog #content>.contextual>.icon:not(.icon-edit):not(.icon-add).icon-time-add {
  background-color: #006ce5;
  border-color: #006ce5;
}
.controller-timelog #content>.contextual>.icon:not(.icon-edit):not(.icon-add).icon-time-add:hover,
body:not(.controller-projects.action-show) #content>.contextual>.icon-edit:hover {
  background-color: #004cc5;
  border-color: #004cc5;
}
#content>.contextual>.icon {
  font-size: 0.75rem;
}

/* fix */
#activity dt {
  padding-left: 72px;
}
#activity dt .gravatar {
  margin-left: -40px;
}

.controller-account.action-login #login-form {
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    top: 48%;
    left: 50%;
    margin: -60px 0 0px 0px;
padding: 1rem;}

.controller-account.action-login #login-form input {
    width: 100%;
    background: #ed1c24;
letter-spacing: 1px;}

.controller-account.action-login .login-quote {
    font-style: italic;
    color: #787c81;
    text-align: center;
    max-width: 90%;
margin: 1rem auto 0 auto;}

body:not(.controller-issues.action-show):not(.controller-users.action-edit) #content>.contextual .toggle-filters {
    -webkit-order: 4;
    -ms-flex-order: 4;
    font-size: 12px;
    font-weight: 300;
order: 4;} 

.journal * {
    word-break: break-word;
    margin-right: 3px;}
	
body:not(.controller-issues.action-show):not(.controller-users.action-edit) #content>.contextual {
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    padding-top: 15px;}
	
	#activity dt, #activity dd {
    clear: both;}
	
	.pagination ul a, .pagination ul .previous span, .pagination ul .next span {
    display: inline-block;
    height: 3rem;
    font-weight: 500;
    line-height: 1.25;
    font-size: 0.875rem;
    text-transform: uppercase;
    vertical-align: middle;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.5rem;
    border-radius: 4px;
    background-color: transparent;
    color: #006ce5 !important;
    border-color: transparent !important;
}

#activity dd {
    margin: 2rem 1rem 1rem 0rem;
	    word-break: break-word;
}

#activity .time {
    position: absolute;
    right: 1rem;
    bottom: -25px;
    font-size: 0.875rem;
    color: #787c81;}