/** base **/
html {
    font-size: 62.5%;
}
body {
    font-family: "Noto Sans Japanese","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 1.3rem;
    background-color: #f0f3f6;
}
h1 {
    margin-bottom: 0;
    margin-top: 0;
    font-size: 2.5rem;
}
h2 {
    font-size: 2.0rem;
}
h3 {
    font-size: 1.5rem;
}
h4 {
    font-size: 1.3rem;
}
input:focus, textarea:focus {
    background-color: #fcfade;
}

.navbar-header span {
    display: block;
    position: absolute;
    left: 0;
    font-size: 2.5rem;
    font-weight: bold;
    opacity: 0.9;
    padding: 5px;
}

.navbar-inverse .navbar-nav>li>a:hover {
    color: #333;
}
.navbar-inverse .navbar-nav>li>div {
    color: #999;
    padding-top: 15px;
    font-weight: bold;
}
.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:hover,
.navbar-inverse .navbar-nav>.open>a:focus {
    color: #9d9d9d;
    background-color: #fff;
}
nav.navbar.top-nav {
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    background-color: #fff;
}

.navbar-brand {
    padding: 5px 0 0 5px;
}

.navbar-brand img {
    height: 40px;
}

.table-wrapper {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: #fff;
    margin-bottom: 20px;
}
.table-wrapper>.table {
    margin: 0;
}

/** role **/
.kcs-admin,
.kcs-director,
.kcs-desk,
.kcs-editor,
.kcs-writer {
    display: none;
}

/** top memu **/
.global-menu li>a>i {
    font-size: 18px;
}

/** main **/
.main {
    padding-bottom: 50px;
}

/** pankuzu **/
.pankuzu {
}

.pankuzu ol {
    padding-left: 0;
    list-style-type: none;
}
.pankuzu ol li {
    display: inline-block;
    margin-right: 5px;
}
.pankuzu ol li:after {
    content: '>';
    margin-left: 5px;
}
.pankuzu ol li:last-child {
    margin-right: 0;
}
.pankuzu ol li:last-child:after {
    content: normal;
}

/** h1 **/
.header-title {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: solid 1px #eee;
}

.ledger-search-form {
    padding: 20px;
    background-color: #eee;
    border-radius: 3px;
}

.kcs-search-form {
    padding: 20px;
    background-color: #fff;
    border-radius: 3px;
    margin-bottom: 10px;
    border: 2px solid #ddd;
}

/** ticket **/

.ticket-main-box {
    padding: 20px;
    border-radius: 3px;
    border: solid 2px #999;
}

.ticket-main-box h2 {
    margin-bottom: 40px;
}

.ticket-main-box table.info tr th {
     width: 240px;
}

.ticket-main-box a.edit_anchor {
     font-size: 70%;
}

.ticket-flow-form {
    background-color: #fff;
}

.ticket-history {
    padding: 10px 20px 0px 20px;
    margin: 20px 0;
    border: 1px solid #428bca;
    border-left-width: 5px;
    border-radius: 3px;
}

.ticket-history pre {
    background-color: #fff;
    border-color: #fff;
}


/** ticket-status-line **/

.ticket-status-line ol {
    overflow: hidden;
    width: 100%;
    padding: 0;
    list-style-type: none;
}
.ticket-status-line li {
    float: left;
    margin: 0 5px 5px 13px;
}
.ticket-status-line li p {
    background-color: #ddd;
    color: #999;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
    position: relative;
    font-size: 1.1rem;
    display: table-cell;
    vertical-align: middle;
    height: 40px;
    padding: 0 5px;
}
.ticket-status-line li p:before {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -20px;
    border-width: 20px 0 20px 13px;
    border-style: solid;
    border-color: #ddd #ddd #ddd transparent;
    left: -13px;
}
.ticket-status-line li p:after {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -20px;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 13px solid #ddd;
    right: -13px;
}
.ticket-status-line li:first-child {
    margin-left: 0;
}
.ticket-status-line li:first-child p:before {
    content: normal;
}
.ticket-status-line p.active  {
    font-weight: bold;
    background-color: #dff0d8;
    color: #3c763d;
}
.ticket-status-line p.active:before  {
    border-color: #dff0d8 #dff0d8 #dff0d8 transparent;
}
.ticket-status-line p.active:after  {
    border-left-color: #dff0d8;
}


/** notification **/

a#notification {
    display: block;
    position: relative;
}

.badge {
    display: none;
    position: absolute;
    top: 10px;
    right: 3px;
    line-height: 16px;
    height: 16px;
    padding: 0 5px;
    color: #fff;
    border-radius: 10px;
}
nav .badge.red {
    background: red;
    border-color: red;
}

.notification-box {
    display: none;
    position: fixed;
    top: 50px;
    right: 0;
    width: 480px;
    z-index: 10000;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 10px 0 rgba(4,0,0,0.175);
}
.notification-box p {
    margin: 0;
}
.notification-head {
    position: relative;
    background-color: #5bc0de;
}
.notification-head p.title {
    display: inline-block;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 20px;
    padding-right: 60px;
    font-size: 15px;
    color: #fff;
    margin: 0;
    width: 100%;
}
.notification-head a.read_all_action {
    margin-left: 10px;
    color: #fff;
    font-size: 1rem;
}
.notification-head a.close {
    position: absolute;
    top: 7px;
    right: 10px;
}
.notification-list {
    overflow: auto;
    height: calc(100% - 50px - 37px);
}
.notification-list .no-message {
    display:none;
    padding: 12px 20px;
}
.notification-list ul {
    list-style-type: none;
    width: 100%;
    padding: 0;
    margin: 0;
}
.notification-list li {
    position: relative;
    border-bottom: solid 1px #d2d2d2;
    cursor: pointer;
}
.notification-list li:first-child {
    border-top: solid 1px #d2d2d2;
}
.notification-list li a {
    display: inline-block;
    padding: 12px 20px;
}
.notification-list li.readed {
    background-color: #ebebeb;
}
.notification-list li:hover {
    background-color: #fcfade;
}
.notification-list li:hover:after {
    font-family: 'FontAwesome';
    content: "\f054";
    position: absolute;
    color: gray;
    top: 50%;
    right: 10px;
    margin-top: -12px;
}
.notification-list li a {
    text-decoration: none;
    color: gray;
}
.notification-more {
    width: 100%;
    border-top: 2px solid #d2d2d2;
    display: none;
}
.notification-more a{
    width: 100%;
    text-align: center;
    display: inline-block;
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #fff;
}

.writing-table-td-selected {
    background-color: #fff000;
}

iframe.inline-preview {
    width: 100%;
    /* windowの高さ - ヘッダの高さ - mainのpaddingの上下 */
    height: calc(100vh - 50px - 20px - 20px);
    border: none;
}

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
    background-color: #fff;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout+.bs-callout {
    margin-top: -5px;
}
.bs-callout-default {
    border-left-color: #777;
}
.bs-callout-default h4 {
    color: #777;
}
.bs-callout-primary {
    border-left-color: #428bca;
}
.bs-callout-primary h4 {
    color: #428bca;
}
.bs-callout-success {
    border-left-color: #5cb85c;
}
.bs-callout-success h4 {
    color: #5cb85c;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}

.text-bold {
    font-weight: bold;
}

.text-danger {
    color: #d9534f;
}

tr.new-keyword {
    background-color: #D0FFD0;
}

tr.deleted-keyword {
    background-color: #CCC;
}

tr.ticket_base_word {
    background-color: #FFC;
}

/** question-item **/
.question-item {
    display: inline-block;
}

/** footer-menu **/
.footer-menu {
    width: 100%;
    height: 50px;
    position: fixed;
    bottom: 0;
    text-align: center;
    background-color: rgba(249, 249, 249, 0.9);
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
    padding: 8px 0;
    z-index: 1049;
}
.footer-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.footer-menu ul li {
    display: inline-block;
}
.footer-menu ul li:not(:last-child) {
    margin-right: 10px;
}

.tooltip-comment {
    color: #ffcc00;
}

.tooltip-edit {
    color: #00ccff;
}

.bg-muted {
    background-color: #ccc;
}

/** information **/
.information-icon {
    font-size: 18px;
}
@keyframes information-blink {
    from { opacity: 0; }
    to { opacity: 1; }
}
.information-icon.blink {
    animation: information-blink 1s linear 0s infinite none;
}
.information-icon.blink i {
    color: red;
}

/** information page **/

.information-container {
}
.information-container article h2 {
    padding: 2px 0 5px 5px;
    border-bottom: solid 1px #ccc;
    border-left: solid 5px #5bc0de;
}
.information-container article p {
    padding-left: 10px;
}

/** rich editor **/
.kcs-richeditor-link {
    color:#0e8df9;
    background-color: #eef;
}
.kcs-richeditor-highlight-link {
    color: #f90e2b;
    background-color:#fee;
}
