/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/*a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}*/

/* Provide sufficient contrast against white background */
/*a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}*/

/* Sticky footer styles
-------------------------------------------------- */
/*html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}*/

/* Sticky footer styles
-------------------------------------------------- */
/*html {
  position: relative;
  min-height: 100%;
}

body {*/
  /* Margin bottom by footer height */
  /*margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;*/ /* Vertically center the text there */
/*}*/


/*.form-control {
    color: initial;
}

.form-control:focus {
    color: initial;
}
*/

/****************************オートコンプリート*************************************/
.ui-autocomplete {
    position: absolute;
    top: 0;
    left: 0;
    cursor: default;
    font-size:small;
    border: 1px solid #aaaaaa;
    max-height: 200px;
    overflow-y: auto; /* prevent horizontal scrollbar */
    overflow-x: hidden; /* add padding to account for vertical scrollbar */
    z-index: 1000 !important;
}

/****************************COMPASS Table 標準*************************************/

.compassTable {
    max-width: 95%;
    font-size:medium;
}


.compassTable > thead > tr > th,
.compassTable > tbody > tr > th,
.compassTable > tfoot > tr > th {
    padding: 0.2rem 0.75rem 0.2rem 0.75rem;
    vertical-align: middle;
    /*background-color: powderblue;*/
}
.compassTable > thead > tr > td,
.compassTable > tbody > tr > td,
.compassTable > tfoot > tr > td {
    padding: 0.2rem 0.75rem 0.2rem 0.2rem;
    vertical-align: middle;
}



/**********************虫眼鏡背景*************************/
/*.search-icon {
    background-image: url('../images/search.png');
    background-repeat: no-repeat;
    background-position: right;
}
*/

input.font-awesome-solid-icon::placeholder {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
}


/**********************アイコン********************/
.hint:before {
    font-family: "Font Awesome 5 Free";
    content: '\f059';
    font-weight: 900;
}

/**********************余白少な目にする*************************/
.container-fluid {
    margin-right: auto;
    margin-left: auto;
    max-width: 1800px;
}


/**********************validation系*************************/
/** https://qiita.com/koob/items/f36976773fc6dd189604  **/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}


/*****************************一まとめのテキストボックス***************/
.cp-inline-block {
    display: inline-block;
}
.cp-grouping {
    display: flex;
}

/*************************compass 規定サイズ cp:compass********************/
.cp-W40 {
    width: 40px;
}

.cp-itemexpense-cd,
.cp-currency-cd,
.cp-vessel-cd,
.cp-voyage-no,
.cp-port-cd,
.cp-code-default,
.cp-company-cd {
    width: 90px;
}

.cp-W60 {
    width: 60px;
}

.cp-W70 {
    width: 70px;
}


.cp-voyage-type,
.cp-department-cd,
.cp-W80 {
    width: 80px;
}

.cp-office-cd,
.cp-staff-cd,
.cp-name-short, .cp-W110 {
    width: 110px;
}

.cp-department-nm,
.cp-office-nm,
.cp-bl-no,
.cp-amount,
.cp-W150 {
    width: 150px;
}


.cp-W160 {
    width: 160px;
}

.cp-W170 {
    width: 170px;
}


.cp-port-nm,
.cp-vessel-nm,
.cp-staff-nm,
.cp-dropdown-default,
.cp-W180 {
    width: 180px;
}

.cp-W200 {
    width: 200px;
}



.cp-company-nm,
.cp-name-default, .cp-W220 {
    width: 220px;
}

.cp-W230 {
    width: 230px;
}


.cp-W252 {
    width: 252px;
}


.cp-name-shipping-route, .cp-W260 {
    width: 260px;
}

.cp-W300 {
    width: 300px;
}

.cp-width-max {
    width: 99%;
}

.cp-numeric {
    text-align: right;
}

.currency{
    margin-right:10px;
    font-size:small;
}

/*******************テーブルヘッダー固定********/

/*Bootstrapのテーブルで表示される太い線を回避*/
.table > :not(:first-child) {
    /* border-top: 2px solid currentColor; */
    border-top: 0px solid currentColor !important;
}
.fixed01 {
    position: sticky;
    top: 0px;
}
/*
.fixed01::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 100%;
    height: 100%;
    border: 5px solid #ccc;
}
*/
/********************PageTopに戻るボタン********/
#page_top {
    width: 90px;
    height: 60px;
    position: fixed;
    right: 0;
    bottom: 0;
    opacity: 0.6;
    border: 3px solid #3f98ef;
    border-radius: 15px;
}

#page_top a {
    position: relative;
    display: block;
    width: 90px;
    height: 60px;
    text-decoration: none;
}

#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f062';
    font-size: 25px;
    color: #3f98ef;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -45px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

#page_top a::after {
    content: 'PAGE TOP';
    font-size: 13px;
    color: #0366d6;
    position: absolute;
    top: 15px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0px;
    text-align: center;
}