@media only screen and (max-device-width: 480px) {
    /* スマホ用のCSS */
    #header-name {
        width: 150px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .navbar-toggle {
        float: left;
        padding-left: 10px !important;
    }
    .navbar-brand {
        font-size: 14px;
    }
}
html, body {
    height: 100%;
}
main {
    font-size: 12px;
}
nav {
    font-size: 13px;
}
.navbar-top-links > li > a {
    color: #ffffff !important;
}
.navbar-inverse .navbar-brand {
    color: #ffffff;
}
.navbar-inverse {
    background-color: #2a85e2 !important;
    background-image: none;
    border-color: #1d5996;
}
.table-striped > tbody > tr:nth-child(2n + 1) > td,
.table-striped > tbody > tr:nth-child(2n + 1) > th {
    background-color: #ffffff;
}
.table-striped > tbody > tr:nth-child(2n) > td,
.table-striped > tbody > tr:nth-child(2n) > th {
    background-color: #e0e0e0;
}
#dataTables-example_paginate {
    text-align: center;
}
.title {
    font-size: 14px;
}
.form-button {
    text-align: center;
}
.inline-col {
    padding-left: 0px !important;
}
body {
    font-family: monospace;
    letter-spacing: -0.047em;
}
.side-second {
    padding-left: 37px !important;
}
.side-third {
    padding-left: 57px !important;
}
.nav > li > a {
    padding: 1px 15px;
}
.nav > li > div > a {
    padding: 1px 15px;
    position: relative;
    display: block;
}
#page-wrapper {
    min-height: auto;
    padding: 30px 15px 0 0px !important;
    font-size: 12px;
    height: 92%;
}
.sidebar ul li a.active {
    /* background-color: #eee; */
}
.container-fluid {
    margin-left: 20px;
}

table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    padding: 1px !important;
}
table {
    margin-bottom: 20px;
}
#sidebar {
    font-size: 13px;
}
td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid gray;
    max-width: 330px;
}
th {
    white-space: nowrap;
}
.navbar {
    max-height: 30px;
    min-height: 30px;
    margin-bottom: none;
}

.navbar-brand {
    padding: 4px 4px;
    height: 20px;
}
.navbar-top-links li a {
    padding: 5px !important;
    min-height: 20px !important;
}
.navbar-toggle {
    padding: 0px;
}
.main-panel-font {
    font-size: 12px;
}
.table-checkbox {
    width: 1.5%;
}
.table-edit-delete {
    width: 2.5%;
}
.padding-left-right {
    padding-left: 10px !important;
    padding-right: 10px !important;
}
.submit-btn {
    text-align: center;
}
#user_view_condition {
    display: none;
}
#alert_edit {
    display: none;
}
#alert_regist {
    display: none;
}
#alert_login {
    display: none;
}
.fukidashi {
    display: none;
    position: absolute;
    padding: 16px;
    border-radius: 5px;
    background: #313131;
    color: #fff;
    font-weight: bold;
}
.fukidashi:after {
    position: absolute;
    width: 0;
    height: 0;
    left: 0;
    bottom: -19px;
    margin-left: 10px;
    border: solid transparent;
    border-color: rgba(51, 204, 153, 0);
    border-width: 10px;
    pointer-events: none;
    content: " ";
}
.text:hover + .fukidashi {
    display: block;
}

.tooltip {
    display: block !important;
    z-index: 10000;
}
.tooltip .tooltip-inner {
    max-width: 500px;
    background: black;
    text-align: left;
    word-break: break-all;
    color: white;
    border-radius: 5px;
    padding: 5px 10px 4px;
    width: 20vw;
}
.tooltip .tooltip-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    margin: 5px;
    border-color: black;
    z-index: 1;
}
.tooltip[x-placement^="top"] {
    margin-bottom: 5px;
}
.tooltip[x-placement^="top"] .tooltip-arrow {
    border-width: 5px 5px 0 5px;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    border-bottom-color: transparent !important;
    bottom: -5px;
    left: calc(50% - 5px);
    margin-top: 0;
    margin-bottom: 0;
}
.tooltip[x-placement^="bottom"] {
    margin-top: 5px;
}
.tooltip[x-placement^="bottom"] .tooltip-arrow {
    border-width: 0 5px 5px 5px;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    border-top-color: transparent !important;
    top: -5px;
    left: calc(50% - 5px);
    margin-top: 0;
    margin-bottom: 0;
}
.tooltip[x-placement^="right"] {
    margin-left: 5px;
}
.tooltip[x-placement^="right"] .tooltip-arrow {
    border-width: 5px 5px 5px 0;
    border-left-color: transparent !important;
    border-top-color: transparent !important;
    border-bottom-color: transparent !important;
    left: -5px;
    top: calc(50% - 5px);
    margin-left: 0;
    margin-right: 0;
}
.tooltip[x-placement^="left"] {
    margin-right: 5px;
}
.tooltip[x-placement^="left"] .tooltip-arrow {
    border-width: 5px 0 5px 5px;
    border-top-color: transparent !important;
    border-right-color: transparent !important;
    border-bottom-color: transparent !important;
    right: -5px;
    top: calc(50% - 5px);
    margin-left: 0;
    margin-right: 0;
}
.tooltip.popover .popover-inner {
    background: #f9f9f9;
    color: black;
    padding: 24px;
    border-radius: 5px;
    box-shadow: 0 5px 30px rgba(black, 0.1);
}
.tooltip.popover .popover-arrow {
    border-color: #f9f9f9;
}
.tooltip[aria-hidden="true"] {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.15s, visibility 0.15s;
}
.tooltip[aria-hidden="false"] {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.15s;
}
p {
    margin: 0 0 0px;
}
.view_flag {
    color: #337ab7;
}
.pointer {
    cursor: pointer;
}
thead {
    background-color: #cecece;
}
.tool-checkbox-label {
    margin-right: 10px;
}
.tool-checkbox-input {
    margin-right: 3px;
}

/* external css: flickity.css */

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
}

/* カルーセル周り*/
.carousel {
    background: #eee;
}

.carousel-cell {
    border-radius: 5px;
    counter-increment: carousel-cell;
    text-align: center;
    height: 100%;
}

/* 画像カルーセル不要な項目非表示*/

.flickity-viewport {
    height: 100% !important;
}

.side-view-top {
    margin-bottom: 0px;
}

.side-view {
    padding: 0px;
}

.main-view {
    padding: 0px;
}

.side-view-bottom {
    overflow: auto;
}

.sideview_iframe {
    position: relative;
    width: 100%;
    padding-top: 75%;
}
.sideview_iframe iframe {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* パネルリサイズ関係*/
.border {
    width: 100%;
    height: 3px;
    position: relative;
}
.border:hover {
    background-color: #708090;
    cursor: row-resize;
}

/* ブラウザエリアCSS */
#work-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
#work-content {
    position: absolute;
    flex-direction: column;
    flex-flow: column;
    width: 100%;
}
.flexbox {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
#work-upper {
    margin-top: 4px;
    flex-direction: row;
    height: 26px;
    width: 100%;
}
#search_button {
    width: 60px;
}
#url_textbox {
    flex: 1;
    flex-grow: 1;
}
#touroku_button {
    width: 100px;
}
#work-middle {
    margin-bottom: 1px;
    flex: 1;
    flex-grow: 1;
    width: 100%;
}
#inline-frame {
    width: 100%;
    height: 600px;
    border: 1px black solid;
}

a.disabled {
    pointer-events: none;
}
a.tag {
    background-color: #f1f1f1;
    text-decoration: underline;
    background-clip: content-box;
}
.other_item {
    text-align: right;
}
.sample:-moz-selection {
    color: #fff;
    background: #f7dc9e;
}
::-moz-selection {
    color: #333;
    background: #ffe164;
}
::selection {
    color: #333;
    background: #ffe164;
}

.titlebar {
    display: flex;
    width: 100%;
    padding: 5px 8px;
}
.titlebar > span {
    font-size: 16px;
    height: 20px;
}
.titlebar.black {
    background-color: #000000;
    color: #ffffff;
}
.titlebar.red {
    background-color: #8b0000;
    color: #ffffff;
}
.titlebar.green {
    background-color: #5cb85c;
    color: #ffffff;
}

/*
 Staff page
*/
.staff-form {
    width: 480px;
}
.staff-form h3 {
    font-size: 16px;
    padding-bottom: 4px;
    border-bottom: 1px solid #ccc;
}
.staff-form h4 {
    font-size: 14px;
    margin: 5px 0;
    font-weight: bold;
}
.staff-base {
    display: flex;
    margin-bottom: 8px;
}
.staff-base label {
    width: 100px;
}
.staff-base input {
    height: 30px;
}
.staff-form label {
    font-weight: normal;
}
.staff-form .form-check {
    padding-left: 16px;
}

/*
 Viewerの上書き
*/
.viewer-title {
    display: none !important;
}
/*
Viewerよりも左側の部分が上に来るように
*/
#flex {
    z-index:99999 !important;
    background-color: white !important;
}

/*
 vue-drag-resize vue packageの上書き
*/
.vdr-stick-tm,
.vdr-stick-mr,
.vdr-stick-bm,
.vdr-stick-ml {
    display: none;
}

.form-horizontal:last-child {
    margin-bottom: 0;
}
