/** {*/
/*    border: 1px solid red;*/
/*}*/

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}

body {
    margin: 0;
    font-family: var(--bs-body-font-family), serif;
    font-size: var(--bs-body-font-size);
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height);
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

#container {
    min-height: 800px;
}

#carousel {
    .carousel-caption {
        bottom: 70px;
        line-height: 95px;
    }
}

#topMenu {

    .top {
        border-bottom: 2px solid transparent;
    }

    .top:hover {
        border-bottom: 2px solid #00379a;
        background-color: var(--bs-body-bg) !important;
    }

    .nav-link {
        padding: 8px 20px;
    }

    .nav-link:hover {
        color: #00379a;
        background-color: rgba(0, 0, 0, 0.06);
    }

    .nav-item:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu {
        border-radius: 0;
        padding: 0 var(--bs-dropdown-padding-x);
    }

    .dropdown-toggle::after {
        border-top: 0;
        margin-left: 0;
        border-left: 0;
        border-right: 0;
    }

}

.floor {
    padding: 40px 0;

    .small-title {
        color: rgba(200, 200, 200, 0.6);
        font-weight: 500;
        font-size: 36px;
        text-align: center;
        display: inline-block;
        width: 100%;
        padding: 0;
    }

    .big-title {
        color: rgb(51, 51, 51);
        font-weight: 800;
        font-size: 36px;
        text-align: center;
        display: inline-block;
        width: 100%;
        padding: 0;
    }

    .paragraph {
        padding: 10px 0;
        text-align: center;
        font-size: 14px;
        line-height: 30px;
        color: rgb(102, 102, 102);
    }

}

#floor1 .list-item {

    ul {
        list-style: none;
        display: flex;
        justify-content: center;
    }

    li {
        padding: 15px;

    }

    .img {
        width: 400px;
        height: 250px;
    }

}

#floor2 .list-item {
    ul {
        list-style: none;
        display: flex;
        justify-content: center;
    }

    li {
        padding: 15px;
        -webkit-transition: -webkit-box-shadow .35s, -webkit-transform .35s;
        transition: -webkit-box-shadow .35s, -webkit-transform .35s;
        transition: box-shadow .35s, transform .35s, -webkit-box-shadow .35s, -webkit-transform .35s;

        .img {
            width: 300px;
            height: 550px;
        }

        .caption {
            position: absolute;
            z-index: 999;
            margin: 0 auto;
            left: 0;
            right: 0;
            top: 60%;
            text-align: center;
            width: 100%;
            color: #fff;
            background: rgba(4, 20, 121, 0.7);
            padding: 20px 10px 5px;
            font-size: 14px
        }

    }

    li:hover {
        transform: translateY(-15px);
    }

}

#floor3 .list-item {
    ul {
        list-style: none;
        display: flex;
        justify-content: center;
    }

    li {
        padding: 15px;

    }

    div {
        width: 400px;
        height: 320px;
        background: #fff;
        -webkit-box-shadow: 0 0 15px 0 rgba(0, 0, 0, .1);
        box-shadow: 0 0 15px 0 rgba(0, 0, 0, .1);

        a {
            color: #333;
            text-decoration: none;
            display: block;
        }

        .img {
            width: 400px;
            height: 250px;
        }

        .title {
            padding: 5px 10px;
            margin: 0;
            font-size: 16px;
            width: 330px;
            display: block;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            word-break: keep-all;
        }

        .content {
            padding: 2px 10px;
            margin: 0;
            color: #666;
            font-size: 14px;
            line-height: 26px;
            width: 330px;
            display: block;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            word-break: keep-all;
        }
    }

    div:hover {
        -webkit-box-shadow: 0 0 15px 0 rgba(0, 0, 0, .3);
        box-shadow: 0 0 15px 0 rgba(0, 0, 0, .3);
    }
}

#floor4 {

    .swiper-container {
        width: 100%;
        height: 100%;
        overflow-x: hidden;
    }

    .swiper-slide {
        text-align: center;
        background: transparent !important;
        width: 200px !important;
    }

    .swiper-wrapper {
        transition-timing-function: linear !important;
    }

}

#bottomMenu {
    .nav-link {
        display: inline;
    }

    .nav-link:hover {
        text-decoration: underline;
    }
}

#footer {
    background: #01112b;
    color: rgba(254, 255, 230, 0.61);
    font-size: 13px;

    a {
        color: rgba(254, 255, 230, 0.61);
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

}

#treeCategory {
    font-size: 16px;
    padding: 10px 5px;

    div {
        background: #eee;
        width: 240px;
        padding: 20px 0;
    }

    ul {
        list-style: disc;
        margin-top: 0;
        margin-bottom: 0;
    }

    li {
        padding: 5px 0;
    }
}

#postList {
}


#pagination {
    float: right;
    padding: 20px 0;
    font-size: 14px;

    .page-item:first-child {
        margin-right: 10px;
        margin-top: 2px
    }
}