﻿/* 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. */

.navbar {
    border-radius: 0.5rem 0.5rem 0 0 !important; /* top-left, top-right */
/*    margin-left: 3px;
    margin-right: 5px !important;*/
/*    padding-left: 10px;*/
    width: 100%;
}

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;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.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 {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    /*height: 60px;*/
    line-height: 60px; /* Vertically center the text there */
}


/* ----------------- My CSS -----------------------------------*/
body {
    font-family: "Arial","Microsoft YaHei","黑体","宋体",sans-serif, -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" !important;
}

html {
    font-size: 1rem; /*1rem = 16px*/
}

/*@media (min-width: 576px) {
    html {
        font-size: 0.8rem;
    }
}*/

.myVerticalPostImgBox {
    height: 100px; /* calc(65px + 0.5vw)*/
}


    .myVerticalPostImgBox img {
        vertical-align: middle;
        text-align: center;
        /*border-style: none;*/
        width: 96%;
        min-height: 74%;
        height: 96%;
        /* height: 90%;*/
        object-fit: cover;
    }

.my-backcolor1 {
    background-color: #fa4c000f; /* #CA1E77  #3333331a !important;*/
}

.my-backcolor2 {
    background-color: #d7d8d9;
}

@media (min-width: 768px) {
    html {
        font-size: 1rem;
    }
}

/*@media (min-width: 992px) {
    html {
        font-size: 1.75rem;
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 2rem;
    }
}*/



/* xs < 768 */
@media screen and (max-width: 767px) {
    body {
        font-size: 0.95em; /* 0.9em; */
    }
}

/* sm */
@media screen and (min-width: 768px) {
    body {
        font-size: 1em;
    }
}
/* md */
@media screen and (min-width: 992px) {
    body {
        font-size: 1em; /* 1.2em;  */
    }
}
/* lg */
@media screen and (min-width: 1200px) {
    body {
        font-size: 1em; /* 1.3em; */
    }
}

.mySiteHeader {
    background-color: #b20000;
}

.mySiteFooter {
    background-color: #b20000;
}

.my-post-title {
    color: #b20000 !important; /* #333333   #dc3545*/
}

.card-img-top {
    width: 95%;
    height: 22vw;
    object-fit: cover;
}


@media (min-width: 768px) {
    .card-img-top {
        width: 100%;
        height: 8vw;
        object-fit: cover;
    }
}

.post-preview > a {
    color: #333333;
    text-decoration: none;
}

    .post-preview > a:hover,
    .post-preview > a:focus {
        text-decoration: none;
        color: #337ab7;
    }

    .post-preview > a > .post-title {
        /*font-size: 30px;*/
        margin-top: 20px;
        margin-bottom: 10px;
    }

/*.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 85%;
}*/


.blockquote {
    font-style: italic;
    color: #868e96;
    font-size: 16px !important;
}




.post-preview > .post-meta {
    color: #777777;
    font-size: 13px;
    font-style: italic;
    margin-top: 0px;
}

@media only screen and (min-width:768px) {
    .post-preview > .post-meta {
        color: #777777;
        font-size: 15px;
        font-style: italic;
        margin-top: 0px;
    }

    .myVerticalPostImgBox {
        height: 127px; /* calc(65px + 0.5vw)*/
    }
}

@media screen and (min-width: 576px) {

    .myVerticalPostImgBox {
        height: 90px;
    }
}


@media screen and (max-width: 575px) {

    .myVerticalPostImgBox {
        height: 70px;
    }
}


/**************** **********************Social Sharing *******************************************************/

.socialsharing {
    text-align: center;
}

    .socialsharing a {
        display: inline-block;
        padding: .7em;
        line-height: 0;
        margin-bottom: 2em;
    }

    .socialsharing path {
        fill: gray;
    }

    .socialsharing svg {
        width: 24px;
        height: 24px;
    }

.copy-wrapper {
    position: relative;
    display: inline-block;
    line-height: normal !important; /* Fix clipping */
    overflow: visible !important; /* Allow bubble to show */
}

.copied-msg {
    position: absolute;
    top: -7px;
    right: -6px;
    background: #222;
    color: #fff;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.35);
    z-index: 10;
}

  /*   Optional: Add a small arrow pointing down*/ 
/*    .copied-msg::after {
        content: "";
        position: absolute;
        top: 100%;
        right: 15px;
        border-width: 5px;
        border-style: solid;
        border-color: #333 transparent transparent transparent;
    }
*/


/********************************* block a section *******************************/
.cust_disabled {
    opacity: 0.5; /*make it semi-transparent*/
    pointer-events: none; /*disable mouse events*/
}



/******************************** For updated to BootStrap V5 ***********************************************/

.form-group {
    margin-bottom: 1rem;
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

    .form-row > .col {
        padding-left: 5px;
        padding-right: 5px;
    }

label {
    margin-bottom: 0.5rem;
}