hr {
    background: darkgray;
}
ul{
    list-style: circle;
}

time {
    font-size: 15px;
    color: gray;
}

@media(min-width: 576px) {
    .hidden-sm-up {
        display: none !important;
    }
}
@media(min-width: 768px) {
    .hidden-md-up {
        display: none !important;
    }
}
@media(min-width: 992px) {
    .hidden-lg-up {
        display: none !important;
    }
}
@media(max-width: 1139px) {
    .hidden-lg-down {
        display: none !important;
    }
}
@media(max-width: 991px) {
    .hidden-md-down {
        display: none !important;
    }
}
@media(max-width: 767px) {
    .hidden-sm-down {
        display: none !important;
    }
    .w-sm-100 {
        width: 100% !important;
    }
}

@media(max-width: 575px) {
    .hidden-xs-down {
        display: none !important;
    }
    .w-xs-100 {
        width: 100% !important;
    }
}
.right-0 {
    right: 0 !important;
}

.text-justify{
	text-align:justify !important;
}

/* ========== transition ========== */
.hover-shadow {
    transition: box-shadow 0.3s;
}

.pagination .page-link{
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 3px !important;
    border-radius: 0.25rem !important;
    font-weight: 600;
}
.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.hover-zoom img:hover, img.hover-zoom:hover {
    transform: scale(1.06);
}

/* form */
.form-control:focus {
    box-shadow: 0 0 0 0.125rem rgb(13 110 253 / 25%);
}
form.needs-validation .form-group, .form--edit .form-group {
    margin-bottom: 1.2rem;
}
form.needs-validation .form-group label.form-label, .form--edit .form-group label.form-label{
    display: block;
    font-size: 1rem
}
form.needs-validation .form-group label.form-label>span, .form--edit .form-group label.form-label>span {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
}
.form--edit .form-group>label {
    display: block;
    max-width: 800px;
}
.form-group-submit {
    text-align: left;
    margin-top: 32px;
    border-top: 1px solid #e9ecef;
    padding-top: 24px;
}
.form-group-submit>.btn {
    margin-bottom: .5rem;
}
@media(max-width: 767px) {
    .form-group-submit>.btn {
        width: 100%;
    }
}
.form-group-image input[type=file] {
    display: none;
}
.form-group-image img {
    display: block;
    object-fit: cover;
    width: 120px;
    height: 120px;
}

/* ========== Modal ==========*/
/* modal left */
.modal.modal--left {
    overflow: hidden;
}
.modal--left.fade .modal-dialog {
    transition: transform .3s ease-out;
    transform: translate(-100%, 0);
}
.modal--left .modal-dialog {
    margin: 0;
}
.modal--left.show .modal-dialog {
    transform: none;
    margin: 0;
    height: 100vh;
}
.modal--left .modal-content {
    overflow-y: scroll;
    height: 100vh;
    border: 0;
    border-radius: 0;
    width: 320px;
}
/* modal top */
.modal.modal--top {
    overflow: hidden;
}
.modal--top.fade .modal-dialog {
    transition: transform .3s ease-out;
}
.modal--top .modal-dialog {
    margin: 0;
}
.modal--top.show .modal-dialog {
    transform: none;
    margin: 0;
    height: 100vh;
    max-width: initial;
}
.modal--top .modal-content {
    overflow-y: scroll;
    height: 100vh;
    border: 0;
    border-radius: 0;
    width: 100vw;
    overflow-x: hidden;
}

/* ========== Components use boostrap ==========*/
.spinner-border {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-primary);
}
button>.spinner-border {
    width: 1rem;
    height: 1rem;
}
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
.link-img {
    line-height: 0;
    display: block;
}
.dropdown-toggle {
    cursor: pointer;
}

/*image*/
.img-contain:not(img), .img-cover:not(img) {
    height: 0;
    padding-bottom: 100%;
    position: relative;
    display: block;
}
.img-contain:not(img)>img, .img-cover:not(img)>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-position: center;
}
.img-cover:not(img)>img {
    object-fit: cover;
}
img.img-contain {
    object-fit: contain;
}

.bg-contain, .bg-cover {
    padding-bottom: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.bg-cover {
    background-size: cover;
}


#to-top:hover {
    background: rgba(0, 0, 0, .1);
}
.icon-arrow-top {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 18px solid black;width: 0; height: 0;
}


/*back to top*/
#to-top {
    /*display: none;*/
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid #545353;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    /*right: 12px;*/
    right: -100px;
    bottom: 50px;
    z-index: 999;
    opacity: 1;
}
#to-top.show {
    right: 12px;
    opacity: 1;
}

/* side item */
.side-item {
    display: flex;
}
.side-thumb {
    width: 100px;
    height: 100px;
    margin-right: 16px;
}
.site-main {

}
.site-title {
    font-weight: 600;
}
.site-time {
    color: #333;
}

/* Lightbox */
/* Lightbox data */
.lightbox-data img {
    transition: 0.3s;
    cursor: pointer;
}
.lightbox-data img:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.modal.modal--lightbox {
    background: rgb(0, 0, 0, .5);
    /*padding-top: 100px;*/
    justify-content: center;
    align-items: center;
}
.lightbox-dialog {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-content {
    position: relative;
    background-color: rgb(0, 0, 0);
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    pointer-events: auto;
}
/* The Close Button */
.modal--lightbox .close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}
.modal--lightbox .close:hover,
.modal--lightbox .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}
/* Hide the slides by default */
.lightbox-item {
    display: none;
    height: 100%;
    position: relative;
}
.lightbox-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
}
/* Next & previous buttons */
.modal--lightbox .prev,
.modal--lightbox .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Position the "next button" to the right */
.modal--lightbox .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.modal--lightbox .prev:hover,
.modal--lightbox .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
/* Number text (1/3 etc) */
.modal--lightbox .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}
/* Caption text */
.lightbox-caption {
    text-align: center;
    background-color: black;
    color: white;
}

/* ========== Components use for all ========== */
/* dropdown hover*/
.dropdown--hover {
    position: relative;
}
.dropdown--hover .dropdown-btn {
    
}
.dropdown--hover .dropdown-content {
    -webkit-box-shadow: 0 3px 6px rgb(0 0 0 / 20%);
    box-shadow: 0 3px 6px rgb(0 0 0 / 20%);
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .1s, visible .1s;
    transition: all .1s ease;
}
.dropdown--hover:hover .dropdown-content{
    opacity: 1;
    visibility: visible;
}
