@import url(stylesheets/application.css);

/* Circle Theme version 2.1.6, Copyright (C) 2011 - 2022 Kirill Bezrukov www.redmineup.com */

/**********************************************************/
/* LOGO */
/**********************************************************/

#header > h1 {
	background: url(themes/circle/images/logo.png) no-repeat 20px 13px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
	#header > h1 {
		background-image: url(themes/circle/images/logo2x.png);
		background-size: 38px 40px;
	}
}

/**********************************************************/
/* COMMON */
/**********************************************************/

body {
	color: #3d454c;
	font-size: 14px;
	line-height: 1.3;
	font-family: "helvetica neue",helvetica,arial,sans-serif;
	font-smoothing: antialiased;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

input, textarea, select {
	font-family: "helvetica neue",helvetica,arial,sans-serif;
	font-size: 12px;
	box-sizing: border-box;
}

a, a:link, a:visited {
	color: #2996cc;
}

#main {
	background-color: #eeeeee;
	padding: 0px 20px;
}

#main.nosidebar {
	background-color: #fff;
}

div#content {
	margin-left: -20px;
	padding-left: 25px;
  padding-top: 15px;
}

#footer {
	margin-bottom: 12px;
	padding-top: 18px;
	padding-left: 25px;
	padding-right: 25px;
	border-top: 1px solid #e0e2e3;
	color: #ced4d9;
}

#footer a, #footer a:visited {
	color: #ced4d9;
}

#footer a:hover {
	color: #2996cc;
	text-decoration: none;
}

input[type="text"].live_search_field,
input[type="text"].questions-search.autocomplete {
	-webkit-border-radius: 40px;
	-moz-border-radius: 40px;
	-ms-border-radius: 40px;
	-o-border-radius: 40px;
	border-radius: 40px;
	height:28px;
	outline: none;
}

input[type="text"].questions-search.autocomplete {
	padding-left: 30px !important;
}

h2 {
	font-size: 25px;
	font-weight: normal;
	margin-top: 10px;
}

#sidebar a.selected {
	background-color: #EEEEEE;
	background-position: inherit;
	color: #3d454c;
	padding: inherit;
	margin-left: inherit;
	line-height: 1.3em;
}

#sidebar #admin-menu a.selected {
  line-height: 1.7em;
}

img.gravatar {
  padding: 2px;
  border: solid 1px #d5d5d5;
  background: #fff;
  vertical-align: middle;
  border-radius: 0;
}

div.gravatar-with-child > img.gravatar:nth-child(2) {
  border: solid 1px #d5d5d5;
  border-radius: inherit;
  top: 35px;
  left: 35px;
}

/**********************************************************/
/* HEADER */
/**********************************************************/

#header {
	background-color: #29333a;
	min-height: 5em;
	padding: 0px;
}

#header > h1 {
	font-family: "helvetica neue",helvetica,arial,sans-serif;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 1px;
	padding: 25px 10px 25px 70px;
  margin: 0px;
}

#header > h1 .breadcrumbs {
  margin-top: -5px;
}

#quick-search {
	margin: 20px 10px;
}

#quick-search select {
	max-width: 300px;
}

#quick-search .drdn-trigger {
	padding-top: 4px;
	font-size: 12px;
}

/**********************************************************/
/* TOP-MENU */
/**********************************************************/
#top-menu {
	background: #000;
	padding: 7px 20px 2px 25px;
 	font-size: 0.9em;
}

#top-menu a {
	margin-right: 15px;
 	font-weight: normal;
 	color: #9da2a6;
}

#top-menu a:hover {
	color: #fff;
	text-decoration: none;
}
/**********************************************************/
/* MAIN-MENU */
/**********************************************************/

#main-menu {
	left: 0px;
	width: 100%;
	background-color: #3d454c;
	font-weight: 500;
	position: relative;
  height: auto;
  box-sizing: border-box;
}

#main-menu ul {
	padding: 0 15px;
  width: 100%;
  white-space: nowrap;
}

#main-menu li {
	margin: 0px;
	padding: 13px 0px;
  float: none;
  display: inline-block;
}

#main-menu li > a {
	color: #9da2a6;
}


#main-menu li a:hover, #main-menu li a.selected, #main-menu li a.selected:hover {
	background: none;
	color: #fff;
}

#main-menu .menu-button {
  position: absolute;
  right: 10px;
  top: 16px;
  text-indent: 66em;
  overflow: hidden;
	cursor: pointer;
	width: 24px;
  height: 16px;
  background: url(themes/circle/images/menu_button.png) no-repeat;
  background-size: 16px 16px; /* for retina displays */
}

#main-menu .menu-button:hover {
	background: url(themes/circle/images/menu_button_hover.png) no-repeat;
	background-size: 16px 16px; /* for retina displays */
}

/* new object + button */
#main-menu li a.new-object {
  background-color: #3d454c;
}

#main-menu .menu-children {
  border: 0px;
  margin-top: 13px;
  left: 0px;
}

#main-menu .menu-children,
#main-menu .menu-children li {
  padding: 0px;
}

#main-menu .menu-children li a {
  padding: 10px 25px;
}

#main-menu .menu-children li a {
  background: #3d454c;
  color: #9da2a6;
  font-weight: bold;
}

#main-menu .menu-children li a:hover {
  color: #fff;
  background: #3d454c;
}

/* tab buttons*/


#main-menu div.tabs-buttons {
  position: absolute;
  right: 0;
  width: 60px;
  height: 100%;
  background: #3d454c;
  bottom: 0;
  border: 0px;
}

#main-menu button.tab-left, #main-menu button.tab-right {
  cursor: pointer;
  height:100%;
  border: 0px;
  position: absolute;
  padding: 4px;
  width: 25px;
  bottom: 0px;
  border-radius: 0px;
  background: #3d454c;
  color: #9da2a6;
  font-weight: bold;
}
#main-menu button.tab-left:hover, #main-menu button.tab-right:hover {
  background-color: #3d454c;
  color: #fff;
}
#main-menu button.tab-left:focus, #main-menu button.tab-right:focus {
  outline: 0;
}

#main-menu button.tab-left {
  right: 25px;
}

#main-menu button.tab-left::before {
  content: "\25C0";
  background: none;
}

#main-menu button.tab-right::before {
  right: 0;
  content: "\25b6";
  background: none;
}

#main-menu button.tab-left.disabled, #main-menu button.tab-right.disabled {
  background-color: #3d454c;
  cursor: unset;
  color: #777;
}

/**********************************************************/
/* SIDEBAR */
/**********************************************************/
#sidebar {
	line-height:1.3;
}

#sidebar h3 {
	font-size:16px;
	font-weight: normal;
	margin-top: 20px;
	margin-bottom: 5px;
	color: #666;
}

#sidebar p {
	margin-top: 5px;
}

/**********************************************************/
/* FLASH MESSAGES */
/**********************************************************/
#errorExplanation, div.flash, .nodata, .warning, .conflict {
	border: 0px;
	font-weight: bold;
	padding-top: 18px;
	padding-bottom: 18px;
}

div.flash.notice, #flash_notice {
	background:#5cc512;
	color: #fff;
}

div.flash.error, #errorExplanation {
	background: #e52817;
	color: #fff;
}

div.flash.warning, .conflict {
  background-image: none;
}

#errorExplanation ul {
	font-size: 14px;
}

/**********************************************************/
/* LOGIN FORM */
/**********************************************************/

#login-form table {
	border: 0px;
	padding: 30px;
}

#login-form input[type=submit] {height: 32px}
#login-form input[type=text],
#login-form input[type=password] {
	padding: 1px 10px;
	height: 26px;
}

#login-form input#login-submit {
	padding: 0px;
}

/**********************************************************/
/* WIKI */
/**********************************************************/
.wiki h1, .wiki h2, .wiki h3 {
	font-weight: normal;
	color: #000;
}

.wiki h1 {
	font-size: 28px;
	margin-top: 10px;
}

.wiki h2 {
	font-size: 20px;
}

.wiki h3 {
	font-size: 16px;
}

.wiki.wiki-page {
	color: #6A6E71;
}


/**********************************************************/
/* TAGS */
/**********************************************************/
span.tag-label-color {
	border: 0px !important;
	padding: 4px 8px !important;
	border-radius: 20px !important;
	line-height: 13px;
}

span.tag-label-color:hover {
	opacity: 0.7;
}

.tagit-new .ui-autocomplete-input {
	box-shadow: none;
}

.tagit-close .text-icon {
	top: -3px;
	position: relative;
}

div#content ul.tagit li {
	margin: 2px 5px 1px 0;
}

div#content .contacts-tags-edit ul.tagit {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #e0e2e3;
}

/**********************************************************/
/* Context Menu */
/**********************************************************/
div#content .context-menu-selection {
	background-color: #2996cc !important;
}

div#content #context-menu ul {
	border-radius: 4px;
}

div#content #context-menu li a {
	color: #333;
}

div#content #context-menu li:hover {
	background: #f2f4f5;
	color: #3d454c;
	border: 1px solid #f2f4f5;
	border-radius: 0px;
}

div#content #context-menu a.disabled, div#content #context-menu a.disabled:hover {
	color: #aaa;
}

.contextual .drdn-items>a {
	color: #333;
	padding-top: 2px;
	padding-bottom: 2px;
}

.contextual .drdn-items>a:hover {
	background-color: #f2f4f5;
	color: #3d454c;
	border: 1px solid #f2f4f5;
	border-radius: 0px;
}
/**********************************************************/
/* TIP */
/**********************************************************/
div.tooltip:hover span.tip {
	border: 1px solid #ccc;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
}

/**********************************************************/
/* jQuery UI */
/**********************************************************/
.ui-widget, .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
	font-family: "SqMarket","helvetica neue",helvetica,arial,sans-serif;
	font-size: 1em;
}

.ui-widget input, .ui-widget select, .ui-widget textarea {
	font-size: 12px;
}

.ui-widget-overlay {
	background: #000;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
	opacity: 0.6;
}

div.modal {
	padding: 10px;

}

.ui-dialog.modal .ui-widget-header {
	border: 0px;
	color: #3d454c;
	background: #fafafa;
	padding-top: 18px;
	padding-bottom: 18px;
	color: #3d454c;
	font-size: 24px;
	font-weight: normal;
	text-align: center;
	border-bottom: solid 1px #ced4d9;
	margin: -10px -10px 5px -10px;
	border-radius: 0px;
}

.ui-datepicker .ui-widget-header {
	background: #fff;
	border: 0px;
	border-bottom: solid 1px #ced4d9;
	border-radius: 0px;
	padding: 5px;
	margin: -1px;
}

.ui-menu.ui-widget-content {border-radius: 3px;}
.ui-menu .ui-menu-item:hover {font-weight:normal; background:#eef5fd; color:inherit !important; border:1px solid #eef5fd;}
.ui-menu .ui-menu-item.ui-state-focus {
	color:inherit;
	border-left-color: #ddd;
	border-right-color: #ddd;
}

.ui-widget-content select, .ui-widget-content input[type="text"],
.ui-datepicker .ui-datepicker-title select {
	font-size: 12px;
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
	background: #f2f4f5;
	color: #3d454c;
	border: 1px solid #f2f4f5;
	border-radius: 0px;
}

.ui-widget-header .ui-datepicker-title {
	color: #3d454c;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
	border: 1px solid #f2f4f5;
}

.ui-datepicker.ui-widget-content {
	background: #fff;
}
.ui-datepicker .ui-datepicker-buttonpane button {
	font-weight: normal;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
	background: #FFD5C9;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
	background: #D2EEFF;
}

.ui-widget-header .ui-icon-circle-triangle-e {
	background: url(themes/circle/images/next.png) no-repeat 0px 0px;
}

.ui-widget-header .ui-icon-circle-triangle-w {
	background: url(themes/circle/images/prev.png) no-repeat 0px 0px;
}

.ui-datepicker .ui-datepicker-next {
	top: 5px;
	right: 10px;
}

.ui-datepicker .ui-datepicker-prev {
	top: 5px;
	left: 10px;
}

.ui-datepicker th {
	/*font-size: 13px;*/
	color: #aaa;
	font-weight: 500;
}

.ui-datepicker .ui-state-default {
  /*font-size: 13px;*/
  font-weight: 500;
  color: #333;
  border: 1px solid #fff;
  background: #fff;
}

.ui-datepicker .ui-state-default:hover {
	background: #f6f6f6;
}

.ui-datepicker .ui-state-active {
	background: #D2EEFF;
}

.ui-datepicker .ui-state-highlight {
	color: #ff3b30;
}

.ui-datepicker .ui-state-highlight:hover {
	background-color: #ffd8d6;
}

#ui-datepicker-div {
	padding: 10px;
}

.ui-datepicker-week-col, .ui-datepicker .ui-priority-secondary {
	color: #aaa;
}

body .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label {
	padding-top: 6px;
	color: #aaa;
	font-weight: 500;
	font-size: 0.9em;
}

.ui-dialog .ui-dialog-titlebar-close {
	right: 1em;
	background: #fafafa;
	border: 0px;
}

.ui-widget-header .ui-icon.ui-icon-closethick {
	background: url(themes/circle/images/close.png) no-repeat 0px 0px;
}

.ui-widget-header .ui-state-hover .ui-icon.ui-icon-closethick {
	background: url(themes/circle/images/close_active.png);
}

/**********************************************************/
/* BUTTONS */
/**********************************************************/
#ajax-modal p.buttons input,
.ui-datepicker .ui-datepicker-buttonpane button,
.details input[type="submit"],
input[type="button"],
input[type="submit"],
input[type="submit"][name="continue"],
input[type="submit"].small,
input[type="submit"].button-small {
	color: #9da2a6;
	line-height: 30px;
	font-weight: 500;
	text-align: center;
	height: 32px;
	padding: 0 14px 0;
	line-height: 30px;
	font-weight: 500;
	text-align: center;
	border: 1px solid #e0e2e3;
	font-size: 14px;
	background: #fafafa;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
	-webkit-transition: background-color 0.2s ease-in-out,color 0.2s ease-in-out,opacity 0.2s ease-in-out;
	-moz-transition: background-color 0.2s ease-in-out,color 0.2s ease-in-out,opacity 0.2s ease-in-out;
	-o-transition: background-color 0.2s ease-in-out,color 0.2s ease-in-out,opacity 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out,color 0.2s ease-in-out,opacity 0.2s ease-in-out;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
}

#ajax-modal p.buttons input[type="submit"],
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-close,
input[type="submit"] {
	background: #2996cc;
	border-color: transparent;
	color: #fff;
}

#ajax-modal p.buttons input[type="submit"]:hover,
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-close.ui-state-hover,
input[type="submit"]:hover {
	background: #3ba8de;
	color: #fff;
}

#ajax-modal p.buttons input:hover,
.ui-datepicker .ui-datepicker-buttonpane button.ui-state-hover,
input[type="submit"][name="continue"]:hover,
input[type="button"]:hover,
.details input[type="submit"]:hover,
input[type="submit"].small:hover,
input[type="submit"].button-small:hover {
	background-color: #fff;
	-webkit-box-shadow: rgba(0,0,0,0.08) 0 1px 1px;
	-moz-box-shadow: rgba(0,0,0,0.08) 0 1px 1px;
	box-shadow: rgba(0,0,0,0.08) 0 1px 1px;
	color: #3d454c;
	-webkit-transition-duration: 0.05s;
	-moz-transition-duration: 0.05s;
	-o-transition-duration: 0.05s;
	transition-duration: 0.05s;
}

input[type="submit"].button-small,
input[type="button"].small,
.details input[type="submit"],
.ui-datepicker .ui-datepicker-buttonpane button,
.query-columns td.buttons input[type="button"],
input[type="submit"].small {
	height: 26px;
	padding: 0 13px 0;
	line-height: 23px;
	font-size: 12px;
}

/**********************************************************/
/* FORMS COMMON */
/**********************************************************/
input[type="text"]:not(.icon),
input[type="date"],
input[type="password"],
input[type="search"],
input[type="number"],
fieldset#filters td.values input {
  padding: 1px 10px;
  background-color: #fff;
  color: #3d454c;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  height: 26px;
  border: 1px solid #e0e2e3;
  margin: 0px;
}

fieldset#filters td.values input {
  height: 25px !important; 
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus,
fieldset#filters td.values input:focus {
  border-color:#2996cc;
  outline: none;
}

.box {
	padding:15px;
	background: #fafafa;
	border: solid 1px #e0e2e3;
	border-radius: 3px;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	z-index: 1;
	padding: 4px 30px 4px 10px;
	background-color: #fff;
	color: #3d454c;
	cursor: pointer;
	border: 1px solid #e0e2e3;
	background: url(themes/circle/images/select.png) no-repeat right #fff;
	background-size: 18px 16px;
	text-indent: 0.01px;
	text-overflow: "";
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	height: 26px;
}

/*input[type="radio"]:hover:not(:disabled), input[type="radio"]:focus:not(:disabled),
input[type="checkbox"]:hover:not(:disabled), input[type="checkbox"]:focus:not(:disabled) {
    cursor: pointer
}

input[type="radio"]:active:not(:disabled), input[type="checkbox"]:active:not(:disabled) {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    -moz-transform: scale3d(0.9, 0.9, 0.9);
    -ms-transform: scale3d(0.9, 0.9, 0.9);
    -o-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9)
}

input[type="checkbox"]::before,
input[type="radio"]::before {
    width: 10px;
    height: 10px;
    content: "";
    display: none;
    background: #3ba8de;
    border: 2px solid #fff;
}

input[type="checkbox"]::before {
border-radius: 2px;
}

input[type="radio"]::before {
   border-radius: 50%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    border-color: #3ba8de;
}

input[type="checkbox"]:checked::before,
input[type="radio"]:checked::before {
    display: block
}

input[type="radio"], input[type="checkbox"] {
    -webkit-transition: all 150ms linear;
    -moz-transition: all 150ms linear;
    -o-transition: all 150ms linear;
    transition: all 150ms linear;
    -webkit-transition-property: -webkit-transform, background-color, color, border-color;
    -moz-transition-property: -moz-transform, background-color, color, border-color;
    -o-transition-property: -o-transform, background-color, color, border-color;
    transition-property: transform, background-color, color, border-color;
    -webkit-appearance: none;
    margin: 0;
    background: #fff;
    border: 1px solid #d8d9da;
    border-radius: 3px;
    color: #424242;
    font-weight: 400;
    font-size: 16px;
    outline: 0;
}

input[type="radio"] {
    border-radius: 50%;
    position: relative
}


input[type="radio"],
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 2px;
}

input[type="text"]:disabled, input[type="password"]:disabled,
input[type="number"]:disabled, input[type="email"]:disabled,
select:disabled, textarea:disabled,
input[type="radio"]:disabled, input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: default
}
*/
.check_box_group {
	padding: 3px 6px;
	border: 1px solid #e0e2e3;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
	select {
		background: url(themes/circle/images/select2x.png) no-repeat right #fff;
		background-size: 18px 16px;
	}
}

@-moz-document url-prefix() {
  select {
     padding: 4px 20px 4px 5px;
  }
}

select::-ms-expand {
  display: none;
}

select[multiple="multiple"] {
	height: auto;
	background: #fff;
	padding: 5px 10px;
}

.jstElements button {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
}

textarea {
	background-color: #fff;
	color: #3d454c;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #e0e2e3;
}

input.hasDatepicker {
	padding-right: 20px;
}

img.ui-datepicker-trigger {
	position: relative;
	margin-left: -21px;
	margin-right: 10px;
}


/**********************************************************/
/* GANTT CHART */
/**********************************************************/
.gantt_subjects div {height: 20px;}
.issue-subject .gravatar {margin-right: 2px;}

/**********************************************************/
/* FORMS SPECIFIC */
/**********************************************************/
input#issue_subject,
input#content_comments {
	width: 97%;
}

.contact-issues input#issue_subject {
	width: 93%;
}

/**********************************************************/
/* TABS */
/**********************************************************/

#content .tabs ul {
	border-bottom: 1px solid #ECECEC;
}

#content .tabs ul li a {
	border: 1px solid #ECECEC;
	background-color: #ECECEC;
	border-radius: 0px;
}

#content .tabs ul li a.selected {
	border: 1px solid #ECECEC;
	border-bottom: 1px solid #FFF;
}

#content .tabs ul li a.selected:hover {
	border-top: 1px solid #ECECEC;
	border-left: 1px solid #ECECEC;
	border-right: 1px solid #ECECEC;
}

#content .tabs ul li a:hover {
	border-top: 1px solid #ffffdd;
	border-left: 1px solid #ffffdd;
	border-right: 1px solid #ffffdd;
}

#content .box .tabs ul li a.selected {
	background-color: #fafafa;
	border-bottom: 1px solid #fafafa;
}

#content .tabs .tabs-buttons {
  background: #fff;
  border: 0px;
  height: 28px;
  width: 50px;
  border-bottom: 1px solid #ECECEC;
}

#content .tabs .tabs-buttons  button.tab-left, #content .tabs .tabs-buttons  button.tab-right {
  cursor: pointer;
  height: 100%;
  border: 1px solid #ECECEC;
  border-radius: 0px;
}

#content .tabs .tabs-buttons button.tab-left.disabled, #content .tabs .tabs-buttons button.tab-right.disabled {
  border: 1px solid #ccc;
}

/**********************************************************/
/* TABLES */
/**********************************************************/
table.list, .table-list {	border-collapse: collapse; border-radius: 0px;}
table.list tbody td, table.list tbody tr:hover td { border: solid 1px #d7d7d7; }
table.list thead th {
    border-width: 1px;
    border-style: solid;
    border-top-color: #d7d7d7;
    border-right-color: #d7d7d7;
    border-left-color: #d7d7d7;
    border-bottom-color: #d7d7d7;
}

table.list td,
table.list th {padding: 5px;}
table.list td.icon {padding-left: 20px;}
table.list input[type="checkbox"] {vertical-align: baseline;}

table.list tbody tr:hover {background-color: #dfeff7;}
table.list tr.issue a { color: #666; }

tr.odd.priority-highest, table.list tbody tr.odd.priority-highest:hover { color: #900; font-weight: bold; }
tr.odd.priority-highest { background: #ffc4c4; }
tr.even.priority-highest, table.list tbody tr.even.priority-highest:hover { color: #900; font-weight: bold; }
tr.even.priority-highest { background: #ffd4d4; }
tr.priority-highest a, tr.priority-5:hover a { color: #900; }
tr.odd.priority-highest td, tr.even.priority-highest td { border-color: #FDC9C9; }

tr.odd.priority-high2, table.list tbody tr.odd.priority-high4:hover { color: #900; }
tr.odd.priority-high2 { background: #ffc4c4; }
tr.even.priority-high2, table.list tbody tr.even.priority-high4:hover { color: #900; }
tr.even.priority-high2 { background: #ffd4d4; }
tr.priority-high2 a { color: #900; }
tr.odd.priority-high2 td, tr.even.priority-high4 td { border-color: #FDC9C9; }

tr.odd.priority-high3, table.list tbody tr.odd.priority-high3:hover { color: #900; }
tr.odd.priority-high3 { background: #fee; }
tr.even.priority-high3, table.list tbody tr.even.priority-high3:hover { color: #900; }
tr.even.priority-high3 { background: #fff2f2; }
tr.priority-high3 a { color: #900; }
tr.odd.priority-high3 td, tr.even.priority-high3 td { border-color: #fcc; }

tr.odd.priority-lowest, table.list tbody tr.odd.priority-lowest:hover { color: #559; }
tr.odd.priority-lowest { background: #eaf7ff; }
tr.even.priority-lowest, table.list tbody tr.even.priority-lowest:hover { color: #559; }
tr.even.priority-lowest { background: #f2faff; }
tr.priority-lowest a { color: #559; }
tr.odd.priority-lowest td, tr.even.priority-lowest td { border-color: #D2EAFA; }

/**********************************************************/
/* ISSUES */
/**********************************************************/
#history, #history .tab-content {border: 0px}

/**********************************************************/
/* ROADMAP */
/**********************************************************/
div#roadmap .related-issues td.assigned_to {padding: 0 3px;}

/**********************************************************/
/* OBJECTS */
/**********************************************************/
div.issue,
div.person,
div.contact,
div.deal {
  border: 0px !important;
  padding: 10px !important;
}

table.progress td {padding: 0px;}

div.details {padding: 20px !important;}

/**********************************************************/
/* RESPONSIVE */
/**********************************************************/
@media all and (max-width: 899px)
{
  body #header {
    background-color: #3d454c;
  }

  body .flyout-menu {
    background-color: #29333a;
  }

  body .flyout-menu__avatar {
    margin-left: 8px;
  }

  body .flyout-menu__avatar img.gravatar {
    width: 32px;
    height: 32px;
    padding: 2px;
    border: solid 1px #d5d5d5;
    background: #fff;
    vertical-align: middle;
    border-radius: 0;
    margin-top: 3px;
  }

  body .flyout-menu a {
    color: #9da2a6;
  }
  body .flyout-menu h3 {
    background-color: #000;
    border-color: #000;
  }
}

/**********************************************************/
/* SELECT2 */
/**********************************************************/

.theme-Circle .select2-container--default .select2-selection--single {
  background-position: 4px 50%;
  border: 1px solid #e0e2e3;
  border-radius: 3px;
  height: 26px;
  outline: none;
}

.theme-Circle .select2-container .select2-selection--multiple {
	min-height: 26px;
}

.theme-Circle .select2-container--default .select2-selection--multiple {
  border: 1px solid #e0e2e3;
  border-radius: 3px;
  outline: none;
}

.theme-Circle .select2-container--default.select2-container--open .select2-selection,
.theme-Circle .select2-container--default .select2-selection:focus,
.theme-Circle .select2-container--default.select2-container--focus .select2-selection--single,
.theme-Circle .select2-container--default.select2-container--focus .select2-selection--multiple {
	border-color: #2996cc;
}

.theme-Circle .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 25px;
  font-size: 12px;
  outline: none;
}

.theme-Circle .select2-container--default .select2-selection--multiple .select2-selection__rendered {
	font-size: 12px;
}

.theme-Circle .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 25px;
  outline: none;
}

.theme-Circle .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #afafaf transparent transparent transparent;
}
.theme-Circle .select2-dropdown {
  border: 1px solid #2996cc;
  border-radius: 3px;
}

/*----------------------------------------*\
  RESPONSIVE CSS
\*----------------------------------------*/

/*
  CONTENTS

  A) BASIC MOBILE RESETS
  B) HEADER & TOP MENUS
  C) MAIN CONTENT & SIDEBAR
  D) TOGGLE BUTTON & FLYOUT MENU
  E) UX ELEMENTS
  F) PAGE SPECIFIC STYLES
  G) FORMS
*/

/* Hide new elements (toggle button and flyout menu) above 900px */
.mobile-toggle-button,
.flyout-menu {
  display: none;
}

/*
  redmine's body is set to min-width: 900px
  add first breakpoint here and start adding responsiveness
*/

@media screen and (max-width: 899px)
{
  /*----------------------------------------*\
    A) BASIC MOBILE RESETS
  \*----------------------------------------*/

  /*
    apply natural border box, see: http://www.paulirish.com/2012/box-sizing-border-box-ftw/
    this helps us to better deal with percentages and padding / margin
  */
  *,
  *:before,
  *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  body,
  html {
    height: 100%;
    margin: 0;
    padding: 0;
  }

  html {
    overflow-y: auto; /* avoid 2nd scrollbar on desktop */
    -webkit-text-size-adjust: 100%; /* prevent font scaling in landscape mode on webkit */
  }

  body {
    min-width: 0; /* reset the min-width of 900px */
    -webkit-overflow-scrolling: touch;
  }

  body,
  input,
  select,
  textarea,
  button {
    font-size: 14px;  /* Set font-size for standard elements to 14px */
  }

  select {
    max-width: 100%;  /* prevent long names within select menues from breaking content */
  }

  #wrapper {
    position: relative;
    overflow-x: hidden; /* hide horizontal overflow */
    max-width: 100%;
    margin: 0;
  }

  /*----------------------------------------*\
    B) HEADER & TOP MENUS
  \*----------------------------------------*/

  #header {
    width: 100%;
    height: 64px; /* the height of our header on mobile */
    min-height: 0;
    margin: 0;
    padding: 0;
    border: none;
    background-color: #628db6;
    position: fixed;
    z-index: 9999;
  }

  /* Hide project name on mobile (project name is still visible in select menu) */
  #header h1 {
    display: none !important;
  }

  /* reset #header a color for mobile toggle button */
  #header a.mobile-toggle-button {
    color: #f8f8f8;
  }


  /* Hide top-menu and main-menu on mobile, because it's placed in our flyout menu */
  #top-menu,
  #header #main-menu {
    display: none;
  }

  /* the quick search within header holding search form and #project_quick_jump_box box*/
  #header #quick-search {
    float: none;
    clear: none; /* there are themes which set clear property, this resets it */
    max-width: 100%; /* reset max-width */
    margin: 0;
    background: inherit;
  }

  /* styles for combobox within quick-search (#project_quick_jump_box) */
  #project-jump.drdn {
    position: absolute;
    top: 0px;
    left: 0;

    width: 100%;
    max-width: 100%;
    height: 2em;
    height: 64px;
    padding: 5px;
    padding-right: 72px;
    padding-left: 20px;
  }
  #project-jump .drdn-trigger {
    font-size:1.5em;
    font-weight:bold;
    display:block;
    width:100%;
    color:#fff;
    padding-left:24px;
    background:transparent;
    height:50px;
    line-height:40px;
    border:0;
  }
  #project-jump .drdn-trigger:before {
    /* set a font-size in order to achive same result in different themes */
    font-family: Verdana, sans-serif;
    font-size: 1.5em;

    position: absolute;
    left: 0;
    padding: 0 8px;
    /* achieve dropdwon arrow by scaling a caret character */
    content: '^';
    -webkit-transform: scale(1,-.8);
        -ms-transform: scale(1,-.8);
            transform: scale(1,-.8);
    text-align: right;
    pointer-events: none;

    opacity: .6;
  }
  #project-jump.expanded .drdn-trigger:before {
    -webkit-transform: scale(1,.8);
        -ms-transform: scale(1,.8);
            transform: scale(1,.8);
    padding-top:8px;
  }

  #project-jump .drdn-content {
    position:absolute;
    left:0px;
    top:64px;
    width:100%;
    font-size:15px;
    font-weight:normal;
  }
  #project-jump .drdn-content .autocomplete {
    height:40px;
    font-size:20px;
  }
  #project-jump .drdn-content a {
    padding:8px;
  }

  #header #quick-search form {
    display: none;
  }

  /*----------------------------------------*\
    C) MAIN CONTENT & SIDEBAR
  \*----------------------------------------*/

  #main {
    padding: 64px 0 0; /* padding-top equals header height */
  }

  #main.nosidebar #content,
  div#content {
    width: 100%;
    min-height: 0; /* reset min-height of #content */
    margin: 0;
  }

  /* hide sidebar and sidebar switch panel, since it's placed in mobile flyout menu */
  #sidebar,
  #sidebar-switch-panel {
    display: none;
  }

  .splitcontentleft, .splitcontentright, .splitcontenttop {
    width: 100%;
    flex: auto;
    margin-right: 0;
    margin-left: 0;
  }

  /*----------------------------------------*\
    D) TOGGLE BUTTON & FLYOUT MENU
  \*----------------------------------------*/

  .mobile-toggle-button {
    font-size: 42px;
    line-height: 64px;

    position: relative;
    z-index: 10;

    display: block; /* remove display: none; of non-mobile version */
    float: right;

    width: 60px;
    height: 64px;
    margin-top: 0;

    text-align: center;

    border-left: 1px solid #ddd;
  }

  .mobile-toggle-button:hover,
  .mobile-toggle-button:active {
    text-decoration: none;
  }

  .mobile-toggle-button:after {
    font-family: Verdana, sans-serif;
    display: block;
    margin-top: -3px;
    content: '\2261';
  }

  /* search magnifier icon */
  .search-magnifier {
    font-family: Verdana, sans-serif;
    color: #bbb;

    cursor: pointer;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
  }

  .search-magnifier--flyout {
    font-size: 25px;
    line-height: 54px;

    position: absolute;
    z-index: 1;
    left: 12px;
  }

  /* Flyout Menu */

  .flyout-menu {
    position: absolute;
    right: -250px;

    display: block; /* remove display: none; of non-mobile version */
    overflow-x: hidden;

    width: 250px;
    height: 100%;
    margin: 0; /* reset margin for themes that define it */
    padding: 0; /* reset padding for themes that define it */

    color: white;
    background-color: #3e5b76;
  }

  /* avoid zoom on search input focus for ios devices */
  .flyout-menu input[type='text'] {
    font-size: 16px;
  }

  .flyout-menu h3 {
    font-size: 11px;
    line-height: 19px;

    height: 20px;
    margin: 0;
    padding: 0;

    letter-spacing: .1em;
    text-transform: uppercase;

    color: white;
    border-top: 1px solid #506a83;
    border-bottom: 1px solid #506a83;
    background-color: #628db6;
  }

  .flyout-menu h4 {
    color: white;
  }

  .flyout-menu h3,
  .flyout-menu h4,
  .flyout-menu > p,
  .flyout-menu > a,
  .flyout-menu ul li a,
  .flyout-menu__search,
  .flyout-menu__sidebar > div,
  .flyout-menu__sidebar > p,
  .flyout-menu__sidebar > a,
  .flyout-menu__sidebar > form,
  .flyout-menu > div,
  .flyout-menu > form {
    padding-left: 8px;
  }

  .flyout-menu .flyout-menu__avatar {
    margin-top: -1px; /* move avatar up 1px */
    padding-left: 0;
  }

  .flyout-menu__sidebar > form {
    display: block;
  }

  .flyout-menu__sidebar > form h3 {
    margin-left: -8px;
  }

  .flyout-menu__sidebar > form label {
    display: inline-block;
    margin: 8px 0;
  }

  .flyout-menu__sidebar > form br  br {
    display: none;
  }

  /* Targets list containing checkboxes (e.g. activities sidebar) in flyout menu */
  .flyout-menu__sidebar form > ul {
    margin-left: -8px;
    padding-left: 0;
  }

  .flyout-menu__sidebar form > ul li {
    line-height: 39px;
    display: block;
    padding-left: 8px;
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .flyout-menu__sidebar form > ul li:first-child {
    border-top: none;
  }

  .flyout-menu__sidebar form > ul li label {
    margin: 0;
  }

  .flyout-menu__sidebar form > ul li label a {
    line-height: 1;
    display: inline;
    padding-left: 0;
    border: none;
  }

  .flyout-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .flyout-menu #watchers {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    flex-direction: column;

    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }

  .flyout-menu #watchers .contextual {
    -webkit-box-ordinal-group: 4;
    -webkit-order: 3;
    -ms-flex-order: 3;
    order: 3;
  }

  .flyout-menu #watchers h3 {
    margin-left: -8px;
  }

  .flyout-menu #watchers ul li {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    flex-direction: row;

    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-align-items: center;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
  }

  .flyout-menu ul li a {
    line-height: 40px;
    display: block;
    overflow: hidden;
    height: 40px;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .flyout-menu ul li:first-child a {
    line-height: 39px;
    height: 39px;
    border-top: none;
  }

  .flyout-menu a {
    color: white;
  }

  .flyout-menu ul li a:hover {
    text-decoration: none;
  }

  .flyout-menu ul li a.new-object,
  .new-object ~ .menu-children {
    display: none;
  }

  /* Left flyout search container */
  .flyout-menu__search {
    line-height: 54px;
    height: 64px;
    padding-top: 3px;
    padding-right: 8px;
  }

  .flyout-menu__search input[type='text'] {
    line-height: 2;

    width: 100%;
    height: 38px;
    padding-left: 27px;

    vertical-align: middle;

    border: none;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-color: #fff;
  }

  .flyout-menu__avatar {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .flyout-menu__avatar img.gravatar {
    width: 40px;
    height: 40px;
    padding: 0;
    vertical-align: top;
    border-width: 0;
  }

  .flyout-menu__avatar a {
    line-height: 40px;
    height: auto;
    height: 40px;
    text-decoration: none;
    color: white;
  }

  /* avatar */
  .flyout-menu__avatar a:first-child {
    line-height: 0;
    width: 40px;
    padding: 0;
  }

  .flyout-menu__avatar .user {
    padding-left: 15px;
    padding-right: 15px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    -webkit-flex-grow: 1;
        -ms-flex-grow: 1;
            flex-grow: 1;
  }

  /* user link when no avatar is present */
  .flyout-menu__avatar--no-avatar a.user {
    line-height: 40px;
    padding-left: 8px;
  }

  .flyout-is-active body {
    overflow: hidden; /* for body not to have scrollbars when left flyout menu is active */
  }

  html.flyout-is-active {
    overflow: hidden;
  }

  .flyout-is-active #wrapper, .flyout-is-active #header {
    right: 250px; /* when left flyout is active, move body and header to the right (same amount like flyout-menu's width) */
  }

  .flyout-is-active #wrapper {
    overflow: visible;
    height: 100%;
  }

  .flyout-is-active .mobile-toggle-button:after {
    content: '\00D7'; /* close glyph */
  }

  .flyout-is-active #main {
    /*
     * only relevant for devices with cursor when flyout it active, in order to show,
     * that whole wrapper content is clickable and closes flyout menu
     */
    cursor: pointer;
  }

  #admin-menu {
    padding-left: 0;
  }

  #admin-menu li {
    padding-bottom: 0;
  }

  #admin-menu a,
  #admin-menu a.selected {
    line-height: 40px;
    padding: 0;
    padding-left: 32px !important;
    background-position: 8px 50%;
  }

  /*----------------------------------------*\
    E) UX ELEMENTS
  \*----------------------------------------*/

  .mobile-hide {display:none;}
  .mobile-show {display:initial;}

  /* Contextual Buttons */

  #content>.contextual {
    width: 100%;
    margin-bottom: .5em;
    padding-left: 0; /* reset left padding in order to use whole space */
    white-space: normal;
  }

  #content>.contextual>a,
  #content>.contextual .drdn,
  p.buttons a {
    font-weight: bold;

    display: inline-block;

    margin: 5px 0;
    margin-right: 2px;
    padding: 9px 9px 9px 9px;

    border: 1px solid #ddd;
    -webkit-border-radius: 3px;
    border-radius: 3px;
  }
  #content>.contextual .drdn-content {
	right:initial;
    left:0px;
	top:40px;
  }
  #content>.contextual .drdn .drdn-content a {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  #content>.contextual a.icon,
  p.buttons a.icon {
    background-position-x: 4px;
    padding-left: 25px;
  }

  .flyout-menu .contextual {
    float: none;
  }

  /* loading indicator */
  #ajax-indicator {
    width: 60%;
    left: 20%;
  }

  /* jquery ui dialogs */
  .ui-dialog {
    max-width: 98%;
    margin: 1%;
  }

  .ui-dialog .ui-dialog-content {
    padding-left: 0;
    padding-right: 0;
  }

  #filters-table {width:100%; float:none;}
  .add-filter {width:100%; float:none; text-align: left; margin-top: 8px;}

  /*----------------------------------------*\
    F) PAGE SPECIFIC STYLES
  \*----------------------------------------*/

  /* some themes add a margin to login page, remove it on mobile */
  .action-login #main {
    margin: 0;
  }

  div#activity dl, #search-results {margin-left: 0;}

  .version-overview table.progress {width:75%;}
  div#version-summary {float:none; width:100%; margin-left:0;}
  body.controller-versions.action-show div#roadmap .related-issues {width:100%;}

  /* History and Changeset */
  div#issue-changesets {
    float: none;
    width: auto;
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 2em;
  }

  div#issue-changesets div.changeset {
    padding-top: 1em;
  }

  /* Gantt charts */
  /*
   * [1] override inline styles with important
   * [2] keep border between subjects and gantt area
   * [3] remove whitespace between subjects and gantt area
   * [4] maintain width due to [3]
   */
  .gantt_subjects_column {
    width: 60% !important; /* [1] */
  }

  .gantt_subjects_container {
    width: 100% !important;
    overflow: hidden;
  }

  .gantt_subjects_column .gantt_hdr {
    width: 100% !important;
    right: 0 !important; /* [2] */
    border-right: solid 1px #c0c0c0;
  }

  #gantt_area {
    left: -2px; /* [3] */
    margin-right: -2px; /* [4] */
  }

  /*----------------------------------------*\
    G) FORMS
  \*----------------------------------------*/

  input, select, textarea {
    max-width: 100%;
  }

  /* tabular forms resets for mobile */
  .tabular p, .tabular.settings p {
    padding-left: 0;
  }

  .tabular label, .tabular.settings label {
    display: block;
    width: 100%;
    margin-left: 0;
    text-align: left;
  }

  .tabular input, .tabular select, .tabular textarea {
    width: 100%;
    max-width: 100%;
  }

  .tabular input[type="checkbox"], .tabular input.date {
    width: auto;
    max-width: 95%;
  }

  /* new issue form */
  #all_attributes p:first-child {
    float: none !important;
  }

  #all_attributes #issue_tracker_id {
    width: 90%;
  }

  #issue_is_private_label {
    display: inline;
  }

  span#watchers_inputs {
    width: 100%;
  }

  /* issue edit form */
  label[for='issue_description'] ~ a .icon-edit {
    word-wrap: normal;
  }

  /* issues page */
  body.controller-issues p.query-totals {
    margin-top: 0px;
    text-align: left;
  }

  /* subtasks and related issues list on issue show */
  #issue_tree .issues, #relations .issues {
    border-collapse: separate;
    border-spacing: 0 1em; /* vertical space between tasks */
  }

  #issue_tree .issue > td:not(.checkbox), #relations .issue > td:not(.checkbox) {
    display: block;
    float: left;
    text-align: left;
    padding-right: 5px;
  }

  #issue_tree .issue > td.subject, #relations .issue > td.subject {
    width: 100%; /* let subject have one full width column */
  }

  #issue_tree .issue > td:not(.subject), #relations .issue > td:not(.subject) {
    width: 20%; /* three columns for all cells that are not subject */
  }

  #issue_tree .issues, #issue_tree .issue,
  #relations .issues, #relations .issue {
    position: relative; /* needed for .buttons positioning */
  }

  /* positioniong of unline button */
  #issue_tree .issue > td.buttons,
  #relations .issue > td.buttons {
    text-align: right;
    position: absolute;
    right: 0;
    margin: 0;
    padding-right: 0;
  }

  #issue_tree .issue .buttons a,
  #relations .issue .buttons a {
    vertical-align: middle;
  }

  /* attachment upload form */
  .attachments_fields span {
    position: relative;
    clear: both;
    margin-bottom: 1em;
    white-space: normal;
  }
  .attachments_fields span a.remove-upload {
    position: absolute;
    top: 0;
    right: 0;
  }

  .attachments_fields input.description {
    margin-left: 0;
    width: 100%;
  }
}

@media all and (max-width: 599px) {
  span.pagination {text-align:center;}
  .pagination ul.pages li {display:none;}
  .pagination ul.pages li.current,
  .pagination ul.pages li.previous,
  .pagination ul.pages li.next {display:inline-block; width:32%; overflow:hidden;}

  #login-form {width:100%; margin-top:2em;}
}
