main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.bg-dark{
    /*
    * Created with https://www.css-gradient.com
    * Gradient link: https://www.css-gradient.com/?c1=414141&c2=0176fe&gt=l&gd=dtr
    */
    background: #414141;
    background: linear-gradient(165deg, #414141, #0176FE);
    height: 70px !important;
}

.site-index{
    background-image: url("../imgs/nsd_osaka_office_022.jpg");
    background-size: 100%;
    background-position: center;
    backdrop-filter: contrast(80%);

    width: 100%;
    height: 400px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container1{
    width: 100%;
}

.hello-index{
    color: white;
}

.margin-top{
    padding-top:5%;
}

.btn-table{
    background-color: #0b5ed7;
    color: white;
}

.jbshadow{
    padding: 20px;
    border-radius: 5px;

    -webkit-box-shadow: 2px 4px 8px 0px rgba(54, 54, 54, 0.3);
    -moz-box-shadow: 2px 4px 8px 0px rgba(54, 54, 54, 0.3);
    box-shadow: 2px 4px 8px 0px rgba(54, 54, 54, 0.3);
}

.detail-view {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 2rem 0;
    font-size: 1rem;
}

.detail-view th,
.detail-view td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    line-height: 1.6;
    transition: background-color 0.2s ease;
}

.detail-view th {
    background-color: #f1f5f9;
    color: var(--dark);
    font-weight: 600;
    width: 30%;
    border-right: 1px solid var(--light-gray);
    vertical-align: top;
}

.detail-view td {
    background-color: var(--white);
    color: var(--gray);
    border-bottom: 1px solid var(--light-gray);
}

/* Чередование строк */
.detail-view tr:nth-child(even) td {
    background-color: #f8fafc;
}

/* Эффект при наведении */
.detail-view tr:hover td {
    background-color: #eff6ff;
}

/* Границы для таблицы */
.detail-view.table-bordered th,
.detail-view.table-bordered td {
    border: 1px solid var(--light-gray);
}

/* Стиль для последней строки */
.detail-view tr:last-child td {
    border-bottom: none;
}

/* Заголовки в строках */
.detail-view tr > th:first-child {
    border-top-left-radius: var(--radius);
}

.detail-view tr > th:last-child {
    border-top-right-radius: var(--radius);
}

.detail-view tr:last-child td:first-child {
    border-bottom-left-radius: var(--radius);
}

.detail-view tr:last-child td:last-child {
    border-bottom-right-radius: var(--radius);
}

/* Адаптивность */
@media (max-width: 768px) {
    .detail-view {
        display: block;
    }

    .detail-view tbody,
    .detail-view tr,
    .detail-view td {
        display: block;
        width: 100%;
    }

    .detail-view th {
        display: none;
    }

    .detail-view td {
        padding: 1rem;
        position: relative;
        padding-left: 40%;
        border-bottom: 1px solid var(--light-gray);
    }

    .detail-view td:before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        top: 1rem;
        width: 35%;
        font-weight: 600;
        color: var(--dark);
    }

    .detail-view.table-bordered td {
        border-left: 1px solid var(--light-gray);
        border-right: 1px solid var(--light-gray);
    }

    .detail-view tr:last-child td {
        border-bottom: 1px solid var(--light-gray);
    }

    .detail-view tr:last-child td:first-child {
        border-bottom-left-radius: 0;
    }

    .detail-view tr:last-child td:last-child {
        border-bottom: none;
        border-bottom-right-radius: var(--radius);
        border-bottom-left-radius: var(--radius);
    }
}