@import url(../../../stylesheets/application.css);

@media screen and (max-width: 899px) {
  #content > .contextual {
    padding-left: 20px !important;
  }
}

body {
  font-size: 12px;
}

#header {
  background: url(../images/bg-header.png) repeat-x 0px 0px;
  height: auto;
  top: 0px;
}

#header > h1 {
  background: url(../images/logo.png) no-repeat 0px 20%;
  padding: 10px 100px;
  color: #e0e0e0;
  text-shadow: 0 -2px rgba(0, 0, 0, 0.2);
  font-size: 22px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (min-device-pixel-ratio: 2) {
  #header > h1 {
    /* Reference the @2x Sprite */
    background-image: url(../images/logo.png);
  }
}

h1,
h2,
h3,
h4 {
  font-family: "돋움", "Lucida Grande", verdana, arial, helvetica, sans-serif;
}

body,
#wrapper {
  font-family: "Lucida Grande", verdana, arial, helvetica, sans-serif;
  background: url(../images/bg-grain.png) repeat 0px 0px #f0f0f0;
}

#main {
  background: transparent;
  margin: 15px 15px 0px 15px;
}

div.flash {
  border: 0px solid;
  border: 1px solid;
  text-shadow: 0 1px white;
}

div#content > div.flash:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;
}

div#content > div.flash {
  border: 0px solid;
  padding: 9px 35px 10px;
  margin: -5px -10px 1px -9px;
  background-position-x: 12px !important;
  background-position-y: 9px !important;
  position: relative;
  border-bottom: 1px solid #aeccd7;
}

#errorExplanation,
.nodata,
.warning {
  border: 1px solid silver;
  text-shadow: 0 1px white;
}

div.filters h2 .scope_title a {
  color: #444;
}

div#content {
  margin-right: 5px;
  width: auto;
}

div#main.nosidebar div#content {
  margin-right: 0px;
}

#sidebar {
  width: 160px !important;
  padding: 0px 10px 20px 15px !important;
  background: #e4eff3;
  border: 1px solid #d9d9d9;
  zoom: 1;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
}

#left-sidebar {
  width: 160px !important;
  position: fixed;
  top: 148px;
  left: 10px;
  padding: 10px 10px 20px 15px !important;
  background: whiteSmoke;
  border: 1px solid #d9d9d9;
  zoom: 1;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
}

div#content > h2,
div#content h2.contacts_header,
div#content > div.filters h2,
div#content > #add-news > h2,
div#content > #add-message > h2,
div#content > .message.details > h2,
div#content > .board.details > h2,
div#content > #add-document > h2 {
  border-top: 1px solid white;
  border-bottom: 1px solid #aeccd7;
  background: #eaf2f5 url(../images/smooth-gradient-blue.jpg);
  text-shadow: 0px 1px white;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;

  padding: 8px 20px;
  margin: -6px -9px 10px;

  letter-spacing: -1px;
  color: #444;
}

.controller-boards.action-index #add-message {
  position: static;
}

.controller-boards.action-index #add-message #message-form > p {
  position: relative;
  padding: 10px;
  background-color: white;
  margin: -10px;
  border-bottom: 1px solid #aeccd7;
}

/*.controller-documents.action-index div#content  h2, */
/*.controller-timelog div#content h2,*/
div#content > p.breadcrumb ~ h2,
/*.controller-time_entry_reports div#content  h2, */
.controller-boards.action-show div#content  h2, 
.controller-messages.action-show div#content  h2,
.controller-boards.action-show div#content div#add-message h2 {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  -webkit-border-top-left-radius: 0px;
  -webkit-border-top-right-radius: 0px;
  -moz-border-radius-topleft: 0px;
  -moz-border-radius-topright: 0px;
  border-top: 1px solid #aeccd7;
  padding: 9px 20px 12px;
  margin: -2px -10px 10px;
}

.controller-timelog div#content .contextual,
.controller-time_entry_reports div#content .contextual {
  margin-top: 50px;
}

#add-news,
#add-message,
#add-document {
  margin-bottom: 20px;
}

div#content h2.contacts_header {
  padding-bottom: 10px;
  /*	white-space: nowrap;*/
}

p.breadcrumb {
  margin: 4px 0 15px 0;
}

div#content > div.contextual {
  margin-top: 16px;
  margin-right: 10px;
}

#roadmap {
  margin: 10px;
}

p.subtitle {
  margin: 0px 0 12px 0;
}

.contextual a,
.contextual a:link,
.contextual a:visited {
  color: #000000;
}

.contextual a:hover,
.contextual a:visited:hover {
  color: #333;
}

div.filters h2 .scope_title a {
  color: #222;
  text-decoration: none;
}

h2,
.wiki h1 {
  color: #222;
  font-size: 26px;
}
h3,
.wiki h2 {
  color: #222;
}

div#content > div.wiki {
  padding: 10px;
  padding-top: 20px;
}

#main-menu {
  left: 0px;
  width: 100%;
  height: 35px;
  #border-radius: 5px;
  #border: 1px solid #999999;
  background: url(images/main-bg.png) repeat-x;
}

#header #main-menu .opener {
  float: right;
  margin-right: 10px;
  margin-top: 12px;
  width: 13px;
  height: 13px;
  #color: #333333;
}

#header #main-menu.in {
  height: 62px !important;
}

#header #main-menu > ul {
  width: 97%;
  list-style-type: none;
  padding-left: 2px;
  padding-right: 2px;
  margin-top: 0px;
  margin-bottom: 2px;
}

#header #main-menu > ul > li {
  margin-top: 4px;
  display: inline-block;
}

#main-menu li a {
  background-color: transparent !important;
  display: block;
  float: left;
  padding: 6px 12px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

#header #main-menu > ul > li > a.selected,
#header #main-menu > ul > li > a.selected:hover {
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1);
  padding: 5px 12px;
  text-shadow: 0px -1px #666;
  color: #eeeeee;
  border: 1px solid #555555;
  border-right: none;
  #border-bottom: none;
  background: url(../images/selected-tab.png) repeat-x;
}

#header #main-menu > ul > li > a:hover {
  background-color: transparent;
  color: #000;
  text-decoration: initial;
}

#header {
  padding-bottom: 50px;
  padding-top: 10px;
  padding-left: 10px;
  background-position-y: 11%;
  #min-height: initial;
}

div#welcome-store-content h1,
div#welcome-store-content h2,
div#welcome-store-content h3,
div#welcome-store-content h4 {
  color: #222;
}

#content,
#main.nosidebar #content {
  background: #fff;
  border: 1px solid silver;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 8px;
}

a,
a:link,
a:visited {
  color: #005782;
}

div.details {
  background: #ffd;
  padding: 20px;
  margin-bottom: 6px;
  border: 1px solid #d7d7d7;
  margin: -11px -11px 15px -11px;
}

div.issue.tooltip {
  padding: 6px;
  margin: 0 0 6px 0;
}

div.contact.details,
div.deal.details {
  padding: 15px !important;
  margin: -11px -11px 6px;
}

#sidebar h3 {
  color: #222;
}

#footer {
  background-color: #eeeeee;
  border: 0px;
}

/* Headers */
h2,
h3,
h4,
.wiki h1,
.wiki h2,
.wiki h3 {
  border-bottom: 0px;
}
.wiki.wiki-page > h2 {
  border-bottom: 1px solid #ccc;
  padding-bottom: 6px;
}

/* Menu */
#main-menu li a {
  background-color: #507aaa;
  font-weight: bold;
}
#main-menu li a:hover {
  background: #507aaa;
  text-decoration: underline;
}
#main-menu li a.selected,
#main-menu li a.selected:hover {
  background-color: #eeeeee;
}
#main-menu ul {
  margin-top: 7px;
  padding-left: 15px;
}

/* Tables */

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,
.table-list {
  width: 100%;
  margin-bottom: 4px;
  border-radius: 0px;
}

/*Quick search*/
#quick-search {
  margin-top: 8px;
}

/* Grid styles by priorities */
table.list td {
  padding: 5px;
}
table.list input[type="checkbox"] {
  margin-top: 6px;
}

table.list tbody tr:hover {
  background-color: #ffffff;
}
/*table.list tr.issue a { color: #666; }
/*tr.odd {background-color: transparent;}
tr.even {background-color: transparent;}
table.list th {background-color: transparent;}*/

/*Immediately*/
tr.odd.priority-5,
table.list tbody tr.odd.priority-6:hover {
  color: #900;
}
tr.odd.priority-5 {
  background: #ee6f6f;
}
tr.even.priority-5,
table.list tbody tr.even.priority-6:hover {
  color: #900;
}
tr.even.priority-5 {
  background: #f07d7d;
}
tr.priority-5 a {
  color: #900;
}
tr.odd.priority-5 td,
tr.even.priority-5 td {
  border-color: #ffb4b4;
}

tr.odd.priority-4,
table.list tbody tr.odd.priority-4:hover {
  color: #900;
}
tr.odd.priority-4 {
  background: #f7a8a8;
}
tr.even.priority-4,
table.list tbody tr.even.priority-4:hover {
  color: #900;
}
tr.even.priority-4 {
  background: #f69696;
}
tr.priority-4 a,
tr.priority-4:hover a {
  color: #900;
}
tr.odd.priority-4 td,
tr.even.priority-4 td {
  border-color: #ffb4b4;
}

/*High*/
tr.odd.priority-3,
table.list tbody tr.odd.priority-3:hover {
  color: #900;
}
tr.odd.priority-3 {
  background: #ffc4c4;
}
tr.even.priority-3,
table.list tbody tr.even.priority-3:hover {
  color: #900;
}
tr.even.priority-3 {
  background: #ffd4d4;
}
tr.priority-3 a {
  color: #900;
}
tr.odd.priority-3 td,
tr.even.priority-3 td {
  border-color: #ffb4b4;
}

/*Normal*/
/*tr.odd.priority-2, table.list tbody tr.odd.priority-4:hover { color: #559; }
tr.odd.priority-2 { background: #f6f7f8; }
tr.even.priority-2, table.list tbody tr.even.priority-4:hover { color: #559; }
tr.even.priority-2 { background: #eaf7ff; }
tr.priority-2 a { color: #559; }
tr.odd.priority-2 td, tr.even.priority-4 td { border-color: #add7f3; }*/

/*Low*/
tr.odd.priority-1,
table.list tbody tr.odd.priority-1:hover {
  color: #559;
}
tr.odd.priority-1 {
  background: #eaf7ff;
}
tr.even.priority-1,
table.list tbody tr.even.priority-1:hover {
  color: #559;
}
tr.even.priority-1 {
  background: #f2faff;
}
tr.priority-1 a {
  color: #559;
}
tr.odd.priority-1 td,
tr.even.priority-1 td {
  border-color: #add7f3;
}

/* Buttons */
input[type="button"],
input[type="submit"],
input[type="reset"] {
  background-color: #80cde1;
  color: #fff;
  border: 1px outset #80cde1;
}
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
  background-color: #008eb2;
}

/* Fields */
input[type="text"]:not(.icon-attachment),
input[type="password"],
textarea,
select {
  border: 1px solid #d7d7d7;
}
input[type="text"]:not(.icon-attachment),
input[type="password"] {
  padding: 3px;
}
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #888866;
}
option {
  border-bottom: 1px dotted #d7d7d7;
}
input.autocomplete {
  padding-left: 20px !important;
  border-radius: 0px;
  height: inherit;
}

table.members td.name {
  padding-left: 20px;
}
/* Forum */

div.message.reply {
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

.controller-messages.action-show .message.reply {
  background: white;
  padding: 10px 0 0 0;
  border: none;
  margin: 0 0 20px 0;
  border-top: 1px solid #ddd;
}

.controller-messages.action-show .message {
  background: #eaf7ff;
  padding: 0px 15px 10px;
  border: 1px solid silver;
  margin: -11px -11px 15px -11px;
}

.controller-messages.action-show .message .contextual {
  margin-top: 10px;
}

.controller-boards p.breadcrumb,
.controller-messages p.breadcrumb {
  position: relative;
  background: white;
  border: 0px solid;
  padding: 9px 13px 10px;
  margin: -5px -10px 1px -10px;
  background-position-x: 12px !important;
  background-position-y: 9px !important;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;
  position: relative;
  border-bottom: 1px solid #aeccd7;
}

#add-news,
#add-message,
#add-document {
  background-color: white;
  position: relative;
  border-bottom: 1px solid #aeccd7;
  margin: -5px -10px 1px -10px;
  padding: 5px 10px 10px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;
}

/* Misc */

#quick-search #q {
  border-radius: 12px;
  -moz-border-radius: 12px;
  -webkit-border-radius: 12px;
  box-shadow: inset 0px 1px 4px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: inset 0px 1px 4px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: inset 0px 1px 4px rgba(0, 0, 0, 0.15);
  outline: none;
  padding: 3px 10px !important;
  border: 1px solid #c3c3c3;
}

.box {
  background-color: #fcfcfc;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  padding: 16px;
}

img.gravatar {
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
}

.wiki img {
  max-width: 100%;
}

div.wiki pre,
.wiki pre {
  padding: 6px 10px;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}
.controller-wiki div#content > div.contextual {
  margin-top: 3px;
}

div#content > div.wiki {
  padding-top: 15px;
}

div.journal .details {
  border: 1px solid white;
}

div.journal > div {
  margin-top: 10px;
}

div.journal .details:hover {
  background: #ffd;
  border: 1px solid silver !important;
}

#footer {
  margin: 10px;
}

#context-menu,
#context-menu ul li ul {
  -webkit-box-shadow: 0 0 3px #ccc;
  -moz-box-shadow: 0 0 3px #ccc;
  box-shadow: 0 0 3px #ccc;
}

#context-menu li:hover {
  border: 1px solid #eee !important;
  background-color: #eee;
}

#context-menu ul {
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-bottom: 1px solid #ddd !important;
  border-right: 1px solid #ddd !important;
}

div.tooltip:hover span.tip {
  border: 1px solid #d9d9d9;
  zoom: 1;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
}

table.progress td.closed {
  background: #aeccd7 none repeat scroll 0%;
}

table.progress td.done {
  background: #eaf2f5 none repeat scroll 0%;
}

#history div.journal {
  border-top: 1px solid #ddd;
}

/* Modal form*/

div.modal h3.title {
  background: transparent;
  color: inherit;
}

div.modal {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px 20px;
  -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

#modalbg {
  background: white;
  opacity: 0.75;
}

/* Login form */
body.action-login #content,
body.action-login #main.nosidebar #content {
  background: inherit;
  border: 0px;
  box-shadow: none;
}

body.action-login #login-form table {
  padding: 3em;
  background: white;
  -webkit-box-shadow: 0 0px 6px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 0 3px #ccc;
  -moz-box-shadow: 0 0 3px #ccc;
  box-shadow: 0 0 3px #ccc;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
}

#login-form label {
  display: block;
  margin-bottom: 5px;
  margin-top: 15px;
}

#login-form {
  background: white;
  -webkit-box-shadow: 0 0px 6px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 0 3px #ccc;
  -moz-box-shadow: 0 0 3px #ccc;
  box-shadow: 0 0 3px #ccc;
  border: 1px solid #d7d7d7;
  width: 500px;
  padding: 20px;
}

#login-form input#username,
#login-form input#password {
  outline: none;
  margin: 0px;
  border: 1px solid #ddd;
  padding: 6px;
  font-size: 140%;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

#login-form input#login-submit {
  margin-top: 15px;
  padding: 1px;
}

.controller-account.action-login div.flash,
div.wiki div.flash {
  -webkit-box-shadow: 0 0 3px #ccc;
  -moz-box-shadow: 0 0 3px #ccc;
  box-shadow: 0 0 3px #ccc;
  border: 1px solid #d7d7d7 !important;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  margin: 5px;
}

#content .tabs ul li a {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  -webkit-border-top-left-radius: 2px;
  -webkit-border-top-right-radius: 2px;
  -moz-border-radius-topleft: 2px;
  -moz-border-radius-topright: 2px;
}

#sidebar a.selected {
  background-color: transparent;
  color: gray;
  font-weight: bold;
}

/* Questions */

.controller-messages.action-show .message.details {
  background: #fafdff;
  padding: 20px;
  border: inherit;
}

div#content > .message.details > h2,
div#content > .board.details > h2 {
  margin: -12px -20px 10px;
}

#topics_list {
  padding: 0 10px;
}

#topics_container .topic {
  border-bottom: 1px solid #ddd;
  padding-bottom: 30px;
}

#forum_list,
.controller-boards.action-index #content > .filters,
.controller-questions.action-index #content > .filters {
  padding: 0 15px;
}

/*Contacts*/

div.filters .live_search {
  margin-left: 11px !important;
}

input.live_search_field {
  border-radius: 12px;
  -moz-border-radius: 12px;
  -webkit-border-radius: 12px;
  box-shadow: inset 0px 1px 4px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: inset 0px 1px 4px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: inset 0px 1px 4px rgba(0, 0, 0, 0.15);
  outline: none;
  padding: 3px 10px !important;
  border: 1px solid #c3c3c3;
}

.live_search input.live_search_field,
label#search_overlabel {
  font-size: 12px !important;
}

label#search_overlabel {
  padding-left: 12px !important;
  margin-top: -3px !important;
  /*	background: url(../images/search.png) no-repeat 100% 45%;*/
  padding-right: 28px;
}

label#search_overlabel {
  top: 11px !important;
}

table.contacts.index tbody tr:hover {
  background-color: #eff5f8 !important;
}
table.contacts.index tbody tr.context-menu-selection:hover {
  background-color: #507aaa !important;
}

/*******************/
/* 		TAGS			
/*******************/

#edit_tags_form {
  padding: 8px;
}

h2 span.tag-label-color {
  letter-spacing: 0px;
  top: -4px;
  position: relative;
}

h2 span.tag-label-color a {
  margin-bottom: -1px;
}

div.filters .live_search {
  letter-spacing: 0px;
}

label#search_overlabel {
  margin-top: -4px;
}

.live_search input.live_search_field {
  margin-top: -6px;
}

span.tag-label-color {
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
  font-size: 9px !important;
  line-height: 1 !important;
  margin: 2px 0px 2px 0px;
  text-decoration: none;
  display: inline-block;
  position: relative;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  -moz-border-radius: 14px !important;
  -webkit-border-radius: 14px !important;
  border-radius: 14px !important;
  padding: 4px 6px 4px !important;
  background: url(../images/dark-overlay.png) repeat-x scroll 0 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset 0 1px 0 hsla(0, 100%, 100%, 0.3) /*Top*/;
  -moz-box-shadow: inset 0 1px 0 hsla(0, 100%, 100%, 0.3) /*Top*/;
  box-shadow: inset 0 1px 0 hsla(0, 100%, 100%, 0.3) /*Top*/;
}

span.tag-label-color {
  background-color: #96cbff;
}

span.tag-label-color:hover {
  background-color: #77ade2;
}

span.tag-label-color a,
span.tag-label-color > span {
  font-weight: bold !important;
  font-family: "Lucida Grande", verdana, arial, helvetica, sans-serif !important;
}

span.tag-label-color:hover a {
  color: black;
  text-shadow: none;
}

/*Edit tags Tag-it*/

.contacts-tags-edit ul.tagit {
  margin: 0px !important;
  padding: 0px !important;
}

.contacts-tags-edit ul.tagit li.tagit-choice {
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
  font-size: 9px !important;
  color: #6b7b91 !important;
  line-height: 17px !important;
  font-weight: bold !important;

  /*border-top: 1px solid rgba(255, 255, 255, 0.25) !important;*/
  -moz-border-radius: 14px !important;
  -webkit-border-radius: 14px !important;
  border-radius: 14px !important;
  background: grey url(../images/dark-overlay.png) repeat-x scroll 0 0 !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  -webkit-box-shadow: inset 0 1px 0 hsla(0, 100%, 100%, 0.3) /*Top*/ !important;
  -moz-box-shadow: inset 0 1px 0 hsla(0, 100%, 100%, 0.3) /*Top*/ !important;
  box-shadow: inset 0 1px 0 hsla(0, 100%, 100%, 0.3) /*Top*/ !important;
  padding-left: 8px !important;
  padding-right: 18px !important;

  border: 1px solid #7995cc !important;
  border-top: 1px solid #bccae6 !important;
  border-left: 1px solid #a9bbdf !important;

  text-shadow: 0px 1px rgba(255, 255, 255, 0.45) !important;
  -webkit-border-radius: 15px 5px 5px 15px !important;
  -moz-border-radius: 15px 5px 5px 15px !important;
  -ms-border-radius: 15px 5px 5px 15px !important;
  -o-border-radius: 15px 5px 5px 15px !important;
  border-radius: 15px 5px 5px 15px !important;
  -webkit-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.15),
    inset 0px 1px 0px 0px rgba(255, 255, 255, 0.45) !important;
  -moz-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.15),
    inset 0px 1px 0px 0px rgba(255, 255, 255, 0.45) !important;
  -o-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.15),
    inset 0px 1px 0px 0px rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.15),
    inset 0px 1px 0px 0px rgba(255, 255, 255, 0.45) !important;
  background-image: -webkit-gradient(
    linear,
    50% 0%,
    50% 100%,
    color-stop(0%, #ecf0f8),
    color-stop(100%, #dde4f2)
  ) !important;
  background-image: -webkit-linear-gradient(top, #ecf0f8, #dde4f2) !important;
  background-image: -moz-linear-gradient(top, #ecf0f8, #dde4f2) !important;
  background-image: -o-linear-gradient(top, #ecf0f8, #dde4f2) !important;
  background-image: -ms-linear-gradient(top, #ecf0f8, #dde4f2) !important;
  background-image: linear-gradient(top, #ecf0f8, #dde4f2) !important;
}

.contacts-tags-edit ul.tagit li.tagit-choice:hover {
  text-shadow: none;
  background: lightgrey url(../images/dark-overlay.png) repeat-x scroll 0 0 !important;
  color: black !important;

  border: 1px solid grey !important;
  border-top: 1px solid silver !important;
  border-left: 1px solid silver !important;
}

.contacts-tags-edit ul.tagit li.tagit-choice .tagit-close {
  right: 4px !important;
}

.contacts-tags-edit ul.tagit li.tagit-choice .tagit-close .text-icon {
  color: #6b7b91 !important;
}

.contacts-tags-edit ul.tagit li.tagit-choice .tagit-close .text-icon:hover {
  color: black !important;
}

.box#edit_tags_form {
  background-color: inherit !important;
  border: none !important;
  margin: 0px !important;
  padding: 0px !important;
}

/*Contacts*/

.small-card td.name h2 {
  font-size: 16px;
}

body.controller-contacts #content,
body.controller-notes #content,
body.controller-contacts_tasks #content,
body.controller-contacts_duplicates #content,
body.controller-sale_funel #content,
body.controller-deals #content {
  margin-right: 340px;
}

body.controller-contacts #sidebar,
body.controller-notes #sidebar,
body.controller-contacts_tasks #sidebar,
body.controller-contacts_duplicates #sidebar,
body.controller-sale_funel #sidebar,
body.controller-deals #sidebar {
  width: 300px !important;
}

/*Invoices*/

table.invoice-lines tbody tr.line-data:hover {
  background-color: #eff5f8 !important;
}

table.invoice-lines th {
  border: 0px !important;
}

span.invoice-status.draft {
  background-color: #aaa !important;
}
span.invoice-status.sent {
  background-color: #3f8af7 !important;
}
span.invoice-status.paid {
  background-color: green !important;
}

/*******************/
/* 		STORE			
/*******************/

div#main-menu li a.products {
  background: #f4786a !important;
  text-shadow: none;
}

div#main-menu li a.products.selected {
  background-color: #e5e3de !important;
  color: #222;
}

a.buy-button.blue {
  background: #4c728a !important;
  background-image: linear-gradient(
    bottom,
    #4c728a 0%,
    #749bb4 100%
  ) !important;
  background-image: -o-linear-gradient(
    bottom,
    #4c728a 0%,
    #749bb4 100%
  ) !important;
  background-image: -moz-linear-gradient(
    bottom,
    #4c728a 0%,
    #749bb4 100%
  ) !important;
  background-image: -webkit-linear-gradient(
    bottom,
    #4c728a 0%,
    #749bb4 100%
  ) !important;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#749BB4', endColorstr='#4C728A') !important;
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#749BB4', endColorstr='#4C728A')" !important;
}

#picture {
  width: 446px !important;
  top: 7px;
}

#title h2,
#buttons,
#title h1 {
  min-width: 550px !important;
}

table.list {
  border: 1px solid #e4e4e4;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 4px;
}
table.list th {
  background-color: #eeeeee;
  padding: 4px;
  white-space: nowrap !important;
}
table.list td {
  padding-right: 10px;
}

/*.controller-documents.action-index div#content  h2, */
.controller-projects.action-index div#content h2 {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  -webkit-border-top-left-radius: 0px;
  -webkit-border-top-right-radius: 0px;
  -moz-border-radius-topleft: 0px;
  -moz-border-radius-topright: 0px;
  border-top: 1px solid #aeccd7;
  padding: 9px 20px 12px;
  margin: -2px -10px 10px;
}

.controller-projects.action-index div#content h2:first-of-type {
  border-top: 1px solid white;
  border-bottom: 1px solid #aeccd7;
  background: #eaf2f5 url(../images/smooth-gradient-blue.jpg);
  text-shadow: 0px 1px white;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;

  padding: 8px 20px;
  margin: -6px -10px 10px;
}

/***************************************************/
/* 		Datetime picker
/***************************************************/

.ui-datepicker {
  margin-top: 0;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;

  border: 1px solid #ccc;
  padding: 20px 30px;
  -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);

  background-color: white;
  background-color: rgba(255, 255, 255, 0.95);
}

.ui-datepicker div.ui-datepicker-header {
  position: relative;
}

table.ui-datepicker-calendar td.ui-datepicker-week-col {
  color: #aaa;
}

.ui-datepicker td {
  padding: 2px;
  border-radius: 3px;
}

.ui-datepicker .ui-widget-header a {
  color: #505050;
}

.ui-datepicker-title {
  padding-top: 9px;
}

.ui-datepicker-prev span,
div.ui-datepicker-next span {
  margin-top: 0px;
}

.ui-datepicker-today {
  background: #ff0000;
}

.ui-datepicker .ui-state-default {
  border: 0px;
}

.ui-datepicker .ui-state-default.ui-state-active {
  background: #ddd;
  border-radius: 3px;
}

.ui-datepicker.ui-widget-content {
  border: none;
  background: white;
  padding: 0 10px;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  top: 10px;
}

/***************************************************/
/* 		jQuery UI			
/***************************************************/
.ui-widget-header .ui-icon {
  background-image: url(/stylesheets/jquery/images/ui-icons_222222_256x240.png);
}

.ui-dialog .ui-dialog-titlebar-close {
  top: 12px;
}

.ui-widget {
  font-family: inherit;
  font-size: inherit;
}

.ui-dialog {
  background: white;
}

.ui-dialog .ui-dialog-title {
  float: left;
  margin: 0.1em 16px 0.1em 0;
  font-size: 16px;
  padding: 2px 10px 1px 0px;
  margin: 0 0 10px 0;
  color: #444;
}

.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
  font-family: inherit;
  font-size: inherit;
}

.ui-widget-content .ui-state-focus {
  border: 1px solid #eee;
  background: #eee;
}

ul.ui-autocomplete {
  margin-top: 0;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  background-color: white;
  background-color: rgba(255, 255, 255, 0.95);
  font-size: 11px;
}

.ui-autocomplete .ui-menu .ui-menu-item a {
  padding: 3px 5px;
}

/* Search */
input.autocomplete {
  border-radius: initial;
  height: initial;
}

@media print {
  #sidebar {
    display: none;
  }
  div#content {
    width: 100%;
  }
}

@font-face {
  font-family: "Glyphicons Halflings";
  src: url("bootstrap/glyphicons-halflings-regular.eot");
  src: url("bootstrap/glyphicons-halflings-regular.eot?#iefix")
      format("embedded-opentype"),
    url("bootstrap/glyphicons-halflings-regular.woff") format("woff"),
    url("bootstrap/glyphicons-halflings-regular.ttf") format("truetype"),
    url("bootstrap/glyphicons-halflings-regular.svg#glyphicons_halflingsregular")
      format("svg");
}

.glyphicon {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: "Glyphicons Halflings";
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.glyphicon-plus-sign:before {
  content: "\e081";
}

header #main-menu.in {
  height: auto !important;
}

.glyphicon-minus-sign:before {
  content: "\e082";
}

.box h3 {
  padding: 5px 20px !important;
  background: #3498db !important;
  color: #fff;
  text-transform: capitalize;
}

#sidebar h3 {
  color: #fff;
  background: #008bae;
  margin: 20px -10px 15px -15px;
  padding: 5px 10px;
}

#sidebar h3:first-child {
  margin-top: 0px;
}

/***** Icons *****/
.icon {
  background-position: 0% 50%;
  background-repeat: no-repeat;
  padding-left: 20px;
  padding-top: 2px;
  padding-bottom: 1px;
}

.icon-lock,
.icon-locked,
.icon-sticky {
  padding-left: 20px !important;
}

.icon-add-issue {
  background-image: url(../images/edit.png);
  cursor: pointer;
}

#top-menu {
  background: #000;
  padding: 9px 10px 2px 20px;
  height: 1.8em;
  font-size: 1em;
}

#top-menu li {
  padding: 0px 10px 0px 0px;
}

#notified-projects > ul,
#tracker_project_ids > ul,
#custom_field_project_ids > ul {
  max-height: 500px;
  overflow-y: auto;
}

#main-menu .menu-children li a {
  color: #555;
  background-color: #fff;
  font-weight: normal;
}
#main-menu .menu-children li a:hover {
  color: #000;
  background-color: #759fcf;
}

.flyout-menu {
  z-index: 9999;
}

/*지연일감 색깔표시*/
tr.issue.overdue td.due_date {
  color: #c22;
}

/*소스항목 왼쪽정렬*/
table.list td.label_outputs {
  text-align: left;
  vertical-align: top;
  padding-right: 10px;
}

tr.issue .id > a,
tr.issue .issue_id > a,
tr.issue .legacy_id > a,
a.issue,
.relations > span > a.issue,
.parent > a.issue {
  border-radius: 2px 6px 6px 2px;
}

tr.issue .id > a,
tr.issue .legacy_id > a {
  display: block;
  padding: 0 8px;
}

a.issue {
  margin-right: 1px;
  padding: 1px 5px;
  font-weight: normal;
}

/* message dialog ui css */
.ui-widget-content {
  background: #ffffff;
}

/* tool tip */
.ui-tooltip {
  background: #000;
  color: #fff;
  font-size: 0.9em;
  border-radius: 3px;
  border: 0;
  box-shadow: none;
}
/* top menu project type board */
#projects-index {
  column-count: auto;
  column-width: inherit !important;
  -webkit-column-width: 400px !important;
  -webkit-column-count: auto !important;
  -webkit-column-width: 400px !important;
  -webkit-column-gap: 0.5rem !important;
  -moz-column-count: auto !important;
  -moz-column-width: 400px !important;
  -moz-column-gap: 0.5rem !important;
  margin-bottom: 1.2em !important;
}

/* ui-tooltip anti-flicker */
.ui-tooltip {
  pointer-events: none;
}

.ui-datepicker {
  width: 18em;
}

.ui-draggable .ui-dialog-titlebar {
  border: 0;
  background: none;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #eef5fd;
}