﻿
/* #region common */

body {
    font-size: .9rem;
}

h1,h2, h3, form {
    margin: 0px;
    padding: 0px;
}

select {
    font-size: 12px
}

input {
    font-size: 12px
}

/* #endregion */

/* #region header */

header {
    border-bottom:#e5e5e5 0.05rem solid;
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #999;
    }

    .sidebar .nav-link.active {
        color: #007bff;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/*
 * Navbar
 */
.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
}

    .navbar-brand img {
        height: 30px;
    }

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

    .form-control-dark:focus {
        border-color: transparent;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
    }

/* #endregion */

/* #region company bar */

img.logo {
    max-width: 80px;
    border-radius: 40px;
}

@media (max-width: 767.98px) {

    img.logo {
        display: block;
        text-align: center;
        margin: 0 auto 0.5rem auto;
    }

    .companyname h1 {
        font-size: 1.4rem;
        text-align: center;
    }

    .companyname .btn-toolbar {
        text-align:center !important;
    }
}
/* #endregion */

/* #region footer */
footer {
    background-color:#f9f9f9;
    border-top: #e5e5e5 0.05rem solid;
    padding: 2rem 0;
    text-align: center;
    color: #999;
    font-size:0.9rem;
}
    footer p {
        margin-bottom:0.5rem;
    }

    footer span {
        margin:0 0.5rem;
        font-size:0.6rem;
    }

    footer a:link, footer a:visited {
        color: dimgray;
        text-decoration: none;
    }

    footer a:hover, footer a:active {
        color: #ff3300;
        text-decoration: none;
    }

/* #endregion */

/* #region home */

.post {
    margin-bottom: 3rem;
}

.post-title {
    margin-bottom: 0.6rem;
    font-size: 1.5rem;
}

.post-meta {
    color: #999;
}

.post-content {
    padding-bottom: 1rem;
}

    .post-content img {
        padding: 1rem 0;
        max-width:100%;

    }
/* #endregion */

/* #region product */

.product .card-body {
    text-align: center;
}
.product .card-body img {
    max-width:100%;
}
.product_item {
    border-bottom: #ccc 1px solid;
    padding: 10px;
}

.product_pic {
    background-color:#fff;
    border: #CCCCCC 1px solid;
    text-align: center;
    line-height: 100px;
    height:100px;
    width:100px;
    margin:0 auto;
}

.product_detail {
    margin-left: 10px;
}

/* #endregion */

/* #region product detail */

.carousel {
    width: 500px;
    max-width: 80%;
    margin: 0 auto;
}

    .carousel img {
        border: #efefef 1px solid;
        max-height: 500px;
    }

.carousel-control-next, .carousel-control-prev {
    border: 0;
}

.carousel-control-prev {
    left: -15%;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.carousel-control-next {
    right: -15%;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

/* #endregion */

/* #region company */

.home_intro p {
    text-indent: 2rem;
}

/* #endregion */

/* #region member */

.tips {
    color: gray;
}
.tips_alert {
    color: #cc0000;
}

/* #endregion */
