@charset "utf-11";

@import '/css/history.css';

/* ------ 画面共通CSS ------*/

* {
    padding: 0;
    margin: 0;
    font-weight: normal;
}
html {
    overflow-y: scroll;
}

body {
    color: #777;
    font-family: Verdana, 游ゴシック, YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, sans-serif;
}

a:hover {
  cursor: pointer;
}

.clear {
    clear: both;
}

header {
    border-bottom: 1px solid #b6b6b6;
}
.right {
    font-size: 20px;
    float: right;
    text-align: right;
}

.account_name {
  display: none;
}

h1 {
    max-width: 900px;
    margin: 0 auto;
}

section {
    margin: 30px auto 55px;
    width: 1480px;
}
.screen_name {
    padding: 15px 5px 0;
}

button.action {
  display: block;
  margin: 30px auto 0;
    height: 60px;
    width: 250px;
    font-size: 16px;   
}
a.action {
    display: block;
    margin: 30px auto 0;
    padding: 17px 0;
    width: 250px;
    font-size: 16px;   
}
a.action:hover {
  color: #fff;
}

.button_wrapper {
    padding: 30px;
    justify-content: center;
    display: flex;
}

.button_wrapper button.action,
.button_wrapper a.action {
    display: block;
    margin: 0;
    height: 60px;
    width: 250px;
    font-size: 16px;
}

.button_wrapper a.btn {
    line-height: 2.5;
}

.button_wrapper button.margin-right,
.button_wrapper a.margin-right {
    margin-right: 20px;
}

.btn {
    background: #1d1c44;
    color: #fff;
    cursor: pointer;
    padding: 15px 30px;
    font-size: 13px;
    border-style: ridge;
}

.btn-1 {
    background: #474747;
    color: #fff;
}

.btn:hover {
    opacity: 0.7;

}

.btn-group .modifyButton {
    width: 20%;
    background-color: #efefef;
    color: #000;
    border-radius: 0.2rem !important;
}

.border-right-white {
    border-right:1px solid #b6b6b6;
}
.border-left-white {
    border-left:1px solid #b6b6b6;
}
.active-menu a{
    color: #ffffff;
    background-color: #074090;
}
#nav_back{
    background-color: #FFF;
    border-bottom: 1px solid #b6b6b6;
}
nav{
    margin: 0 auto;
    max-width: 1000px;
    min-height: 40px;
}
nav ul{
    list-style: none;
    height: 100%;
    margin: 0;
}
nav li{
    float:left;
    width: 142px;
    height: 100%;

}
nav li a{
    text-align: center;
    color: #333;
    display: block;
    text-decoration: none;
    line-height: 40px;
}
nav li a:hover{
    background-color: #d9d9d9;
}

#error_area {
    color: red;
    display: none;
    background-color: #e2eafc;
    padding: 5px;
    border: 1px solid #aaa;
}

#customer_search_result{
    margin: 0 0 50px 0;
}
  #customer_search_result > div {
    width: 880px;
  }


footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #ccc;
    text-align: center;
    background-color: rgb(54, 54, 60);
    color: rgb(255, 255, 255);
    font-size: 80%;
    font-weight: 400;
    line-height: 1;
}

footer a {
    color: #FFF !important;
}

footer p {
  margin: 0 auto;
  padding: .35rem 1.5rem;
}

footer ul {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

footer ul li {
  list-style: none;
  padding: .35rem 1.5rem;
}


#container {
  width: 880px;
  margin: 0 auto;
}

#search_for_bulk, #reject_for_bulk {
    margin: 15px auto 0;
}

#search_for_bulk,
#reject_for_bulk,
.search_form {
    width:880px;
}

#search_for_bulk table,
#reject_for_bulk table.form,
.search_form table{
  margin: 0 auto;
  width: 100%;
  table-layout: fixed;
}

table.accountgroup-list {
    width: 70%;
    th {
        text-align: center;
    }
    margin: auto;
}

table.account-list {
    width: 1280px;
    margin: 10px auto;
    th {
        white-space: nowrap;
    }
}

#reject_for_bulk .last_update_row {
    display: flex;
    justify-content: flex-end;
}

#search_for_bulk table tr {
    height: 80px;
    &.auto {
        height: auto;
    }
}

#search_for_bulk table td,
#reject_for_bulk td,
#reject_for_bulk th,
.search_form td,
.search_form th, #reject_for_bulk td, #reject_for_bulk th {
    border: solid 1px #ccc;
}

#search_for_bulk table .title,
#reject_for_bulk table .title,
.search_form table .title, #reject_for_bulk table .title {
    padding: 0 15px;
    color: #FFF;
    background-color: #074090;
    width: 170px;
    text-align: center;
}

#search_for_bulk table .cl {
    width: 500px;
}

#search_for_bulk table label,
.search_form table label {
    line-height: 30px;
}

.accordion_header {
    padding: 10px;
    color: #333;
    background-color: #f5f5f5;
    border:solid 1px #ddd;
    border-radius: 5px;;
    label {
        margin: 0;
        margin-left: 10px;
        font-weight: 700;
        position: relative;
        display: block;
        &::after {
            content: '';
            transform: translateY(-25%) rotate(45deg);
            width: 10px;
            height: 10px;
            margin-right: 10px;
            border-bottom: 3px solid #333;
            border-right: 3px solid #333;
            transition: transform .3s;
            display: inline-block;
            position: absolute;
            right: 10px;
            margin-top: 10px;
        }
        &.open::after {
            transform: rotate(-135deg);
        }
    }
    &:hover {
        background-color: #eee;
        cursor: pointer;
    }
}

#reject_for_bulk table .cl {
    padding-top: 8px;
}
#reject_for_bulk table.col-description  {
    margin-left: 30px;
    th,td {
        padding: 2px;
    }
}

table tbody td {
  word-break: break-all;
}

.btn input{
    display: none;
}

input {
    background: none;
    box-shadow: none;
    border: none;
}
.search {
    display: block;
    margin: 15px auto;
}


.sticky_table {
  display: block;
  margin: 0 auto;
  position: relative;
  border-collapse: collapse;
  table-layout: fixed;
  word-break: break-word;
}

.sticky_table thead,
.sticky_table tbody {
  display: block;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.sticky_table thead th{
  background-color: #03071eba;
  color: #fff;
  padding: 10px;
}

.sticky_table th,
.sticky_table td {
  width: 8.0rem;
  font-size: 1.0rem;
  border: 1px solid #999;
  height: 20px;
}
.sticky_table td {
  padding: 10px;
}

.sticky_table tr:nth-child(odd){
  background-color: #eee;
}

.confirm_modal_table td {
  padding: 10px;
}

 #announcement_window{
    width:880px;
    margin: 15px auto 0;
    height:auto;
    margin-top: -30px;
}
    .announcement {
    padding: 7px 5px;
    background-color: white;
    border-left: 4px solid #7f7f84;
    margin-bottom: 4px;
    -webkit-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2);
       -moz-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2);
            box-shadow: 0 5px 8px -6px rgba(0,0,0,.2);
    border-color: #074090;
    border-bottom: 1px solid rgba(201, 201, 201,.6);
}
.announcement>strong {
    color: #074090;
}
.announcement-sm {
    padding: 10px;
    font-size: 80%;
}
.announcement-lg {
    padding: 35px;
    font-size: large;
}

.announcement-card-body {
    padding: 7px 5px 5px 0px;
    background-color:rgba(235, 240, 248, .7);
    min-height: 150px;
    border-radius: 2px;
    border-bottom:1px solid gba(235, 240, 248, .7);
}

.announcement-card-header {
    background: linear-gradient(60deg, #335b92, #074090);
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, .2), 0 13px 24px -11px rgba(35, 119, 237, .6);
}

.announcement-card-header .nav-tabs {
    border: 0;
    border-radius: 3px;
    padding: 0 15px;
}

#announcement_window .nav {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

#announcement_window .nav-tabs .nav-item {
    margin-bottom: -1px;
}

#announcement_window .nav-tabs .nav-item .nav-link.active {
    background-color: hsla(0, 0%, 100%, .2);
    transition: background-color .3s .2s;
}

#announcement_window .nav-tabs .nav-item .nav-link {
    border: 0 !important;
    color: #fff !important;
    font-weight: 500;
}

#announcement_window .nav-tabs .nav-item .nav-link {
    color: #fff;
    border: 0;
    margin: 0;
    border-radius: 3px;
    line-height: 24px;
    text-transform: uppercase;
    font-size: 12px;
    padding: 10px 15px;
    background-color: transparent;
    transition: background-color .3s 0s;
}

#announcement_window .nav-link {
    display: block;
}

#announcement_window .nav-tabs .nav-item .material-icons {
    margin: -1px 5px 0 0;
    vertical-align: middle;
}

#announcement_window .nav .nav-item {
    position: relative;
}

.pagenotfound_row {
    margin-top: 100px;
}
.pagenotfound_status_text {
    line-height: 65px !important;
}
.pagenotfound_status_icon {
    line-height: 75px !important;
    font-size:.6em;
    vertical-align: top;
}

.announcement .badge{
    background-color: #007bff;
    color:#fff;
}
 .announcement[data-category="1"] .badge{
    background-color: #007bff;
    color:#fff;
}
.announcement[data-category="2"] .badge{
    background-color: #dc3545;
    color: #fff;
}

input[name=target_resources] + span {
    margin-left: 5px;
}
input[name=target_resources]:disabled + span {
    color: #cccccc;
}

.salesforce-container {
    padding-top: 25px;
    max-width: 880px;
    margin: 0 auto;

}

.sf-card-header {
    background-color: #074090 !important;
    color: white !important;
    height: 50px;
}

.sf-logo {
    margin: auto;
    display: block;
}

.modal {
    overflow: hidden !important;
}

.thismonth_usage {
    border-bottom: 2px solid #000;
    margin: 16px 0 24px;
}
.thismonth_usage .main_text{
    font-size: 125%;
    font-weight: bold;
}

.year-search-count-row {
    display: flex;
    justify-content: space-between;
}

table tr.service-usage-total-row {
    td {
        border-top: 1px solid gray;
        font-weight: bold;
    }
}

.hide {
    display: none;
}

/*
 * クリックしたらチェックされるセル
 */
th:has(.checkbox_cell),
td:has(.checkbox_cell) {
    padding: 0!important;
    position: relative;
}
/*
 * クリックしたらチェックされるセルのラベル
 */
label.checkbox_cell {
    position: absolute;
    top: 0;
    bottom: 0;
    cursor: pointer;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    input[type="checkbox"] {
        cursor: pointer;
    }
}
/*
 * チェックされたら行の色が変わる
 */
tr:has(.checkbox_cell>input[type="checkbox"]:checked) {
    background-color: #eee;
}

.icon_question {
    display: inline;
    height: 16px;
    margin: 0 5px;
    vertical-align: -2px;
}

.tooltip a, .tooltip a:focus, .tooltip a:active, .tooltip a:visited {
    color: inherit;
    text-decoration: underline;
}
.tooltip a:hover {
    color: inherit;
    opacity: 0.8;
    text-decoration: underline;
}

@media print {
    .icon_question, .tooltip {
        display: none !important;
    }
}

/* テーブルソート機能のスタイル */
.sortable {
    cursor: pointer;
    position: relative;
}
.sortable:hover {
    background-color: rgba(0, 0, 0, 0.6);
}
.fa-sort-up, .fa-sort-down, .fa-sort {
    position: relative;
    margin-left: 5px;
}
.permitted-group-list-wrapper {
    width: 1440px;
    overflow-x: auto;
    margin: auto;

    .table {
        width: auto;
        height: auto;
        margin: auto;
        border-collapse: collapse;
    }
}