﻿/* 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 {
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

loading {
    display: table;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.8;
}

#loading .loadingMsg {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding-top: 140px;
    background: url("/gif/loading.gif") center center no-repeat;
}

/* ヘッダーメニュー */
.headerMenu {
    display: flex;
    background-color: white;
    font-size: 22px;
    list-style: none;
    border-bottom: 1px solid #ff9100;
    padding-left:60px;
}

.headerMenu li {
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* メニューの文字色 */
.headerMenuTextColor {
    color: rgba(0,0,0,.5);
}

/* 現在選択中のメニュー*/
.activeMenu {
    border-bottom: 3px solid #ffb655;
}

.activeMenu a {
    color: #333;
    font-weight:bold;
}

/* メニューをホバー時に現在選択中のメニューの文字色と下線をデフォルトに変更*/
.headerMenu:hover .activeMenu {
    padding-bottom:3px;
    border-bottom: none;
}

.headerMenu:hover .activeMenu a {
    color: rgba(0,0,0,.5);
}

/* メニューをホバー時に下線をアニメーション付きで変更 */
.headerMenu li::after {
    border-bottom: 3px solid #ffb655;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
}

.headerMenu li:hover::after {
    transform: scale(1, 1);
}

.headerMenu li a :hover {
    border-bottom: none;
    color: #333;
    font-weight:bold;
}

.sticky-header {
    position: sticky;
    top: 0;
}

.carGroupIcon {
    background: url(../img/car_group.png);
    background-size: cover;
    background-color: yellow;
    height: 20px;
    width: 20px;
    /* Other styles here */
}