﻿@import url('normalize.css');
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+TC:100,300,400,500,700,900&display=swap");
/*
@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('../fonts/glyphicons-halflings-regular.eot');
  src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
 
.glyphicon {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -moz-osx-font-smoothing: grayscale;
}*/

/*body {
    background-color: azure;
    line-height: 1.5em;
}

.body-content {*/
/*background-color: lightgray;*/
/*padding: 5px;*/
/*margin-bottom: 50px;
}


.navbar-icon-top .navbar-nav .nav-link > .fa {
    position: relative;
    width: 36px;
    font-size: 24px;
}

    .navbar-icon-top .navbar-nav .nav-link > .fa > .badge {
        font-size: 0.75rem;
        position: absolute;
        right: 0;
        font-family: sans-serif;
    }

.navbar-icon-top .navbar-nav .nav-link > .fa {
    top: 3px;
    line-height: 12px;
}

    .navbar-icon-top .navbar-nav .nav-link > .fa > .badge {
        top: -10px;
    }

@media (max-width: 576px) {
    .body-content {
        margin-top: 70px;
        margin-bottom: 50px;
    }
}

@media (min-width: 576px) {
    .body-content {
        margin-top: 70px;
        margin-bottom: 50px;
    }

    .navbar-icon-top.navbar-expand-sm .navbar-nav .nav-link {
        text-align: center;
        display: table-cell;
        height: 70px;
        vertical-align: middle;
        padding-top: 0;
        padding-bottom: 0;
    }

        .navbar-icon-top.navbar-expand-sm .navbar-nav .nav-link > .fa {
            display: block;
            width: 48px;
            margin: 2px auto 4px auto;
            top: 0;
            line-height: 24px;
        }

            .navbar-icon-top.navbar-expand-sm .navbar-nav .nav-link > .fa > .badge {
                top: -7px;
            }
}

@media (min-width: 768px) {
    .navbar-icon-top.navbar-expand-md .navbar-nav .nav-link {
        text-align: center;
        display: table-cell;
        height: 70px;
        vertical-align: middle;
        padding-top: 0;
        padding-bottom: 0;
    }

        .navbar-icon-top.navbar-expand-md .navbar-nav .nav-link > .fa {
            display: block;
            width: 48px;
            margin: 2px auto 4px auto;
            top: 0;
            line-height: 24px;
        }

            .navbar-icon-top.navbar-expand-md .navbar-nav .nav-link > .fa > .badge {
                top: -7px;
            }
}

@media (min-width: 992px) {

    .body-content {
        margin-top: 90px;
    }

    .navbar-icon-top.navbar-expand-lg .navbar-nav .nav-link {
        text-align: center;
        display: table-cell;
        height: 70px;
        vertical-align: middle;
        padding-top: 0;
        padding-bottom: 0;
    }

        .navbar-icon-top.navbar-expand-lg .navbar-nav .nav-link > .fa {
            display: block;
            width: 48px;
            margin: 2px auto 4px auto;
            top: 0;
            line-height: 24px;
        }

            .navbar-icon-top.navbar-expand-lg .navbar-nav .nav-link > .fa > .badge {
                top: -7px;
            }
}

@media (min-width: 1200px) {
    .navbar-icon-top.navbar-expand-xl .navbar-nav .nav-link {
        text-align: center;
        display: table-cell;
        height: 70px;
        vertical-align: middle;
        padding-top: 0;
        padding-bottom: 0;
    }

        .navbar-icon-top.navbar-expand-xl .navbar-nav .nav-link > .fa {
            display: block;
            width: 48px;
            margin: 2px auto 4px auto;
            top: 0;
            line-height: 24px;
        }

            .navbar-icon-top.navbar-expand-xl .navbar-nav .nav-link > .fa > .badge {
                top: -7px;
            }
}

.btn {
    min-width: 120px;
    margin-right: 20px;*/
/* padding:4px;*/
/*border-radius: 12px;
}

div.form-group label {
    text-align: right;
}*/

* {
    font-family: 'Noto Sans TC', sans-serif;
}

@media (max-width: 576px) {
    .container {
        margin-top: 15%;
        margin-bottom: 15%;
    }
}

@media (min-width: 576px) {
    .container {
        margin-top: 7%;
        margin-bottom: 5%;
    }
}

@media (min-width: 960px) {
    .dropdown-menu {
        margin: 0.125rem -6rem .125rem;
    }
}

body {
    /* background-color: #f1f1f1;*/
    overflow-y: auto;
    background-color: #fff;
    /*  background-image: url(./Images/web-bg.png);
    background-repeat: repeat;*/
}


header {
    box-shadow: 0px 1px 10px #000;
}

.navbar {
    /*  background-color: #8f5097;
     color: #fff;*/
    /*  background-color: #f1cd75;*/
    background-color: #4B4E6D;
}

nav .nav-link:hover {
    color: #515151;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.navbar-toggler-icon {
    /*background-color: #282554;*/
    border: 1px solid white;
}

/*網頁背景*/
/*.container {
   
}*/


a {
    color: inherit;
}

.w-20 {
    width: 20%;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

footer {
    text-align: justify;
}

.trBg {
    background-color: #90e7f3;
}

/* 这里的伪元素一定要加上，不然span元素不能两端对齐 */
footer:after {
    content: "";
    width: 100%;
}

footer span {
    display: inline-block;
    text-align: left;
}

footer ul {
    padding-left: 0px;
}

.text-justify {
    text-align: justify;
    text-justify: distribute-all-lines;
    text-align-last: justify;
}

.copyright {
    background-color: #515151;
    width: 100%;
    /*    text-align: center;
    margin: 150px 0 0;*/
    padding: 10px 20px;
    color: #fff;
    left: 0;
    bottom: 0;
}

.btn-default {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
/*jquery dialog CSS START*/
/*隱藏dialog的 X 圖示*/
.no-close .ui-dialog-titlebar-close {
    display: none;
}

/*確認按鈕取消靠右*/
.ui-dialog .ui-dialog-buttonpane {
    /*text-align: left;*/
    text-align: center;
    padding: .3em 1em .5em 1em;
}

    .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
        /*float: right;*/
        float: none;
    }


/*圓角*/
.ui-corner-all {
    border-radius: 10px;
}

/*jquery dialog CSS END*/

/*顏色*/
.lightyellow {
    background-color: antiquewhite;
}

.lightgray {
    background-color: #e1e1e3;
}

/*自訂按紐*/
.btn-t-primary {
    color: #fff;
    background-color: #4b9dea;
    /*  border-color: #0d6efd;*/
}

.btn-t-info {
    color: #000;
    background-color: #cbcbcb;
    /* border-color: #0dcaf0;*/
}

    .btn-t-info:hover {
        color: #000;
        background-color: #cbcbff;
        /* border-color: #0dcaf0;*/
    }

/*文字閃爍*/
.neon {
    color:red;
  
}
@-webkit-keyframes neon {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    50.01% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}



.whiteBg {
    background-color: #fff;
}

.grayTxt {
    color: #959595;
}

.lightPurpleTxt {
    color: #6787c7;
}

.timeColor {
    color: #888886;
}

/*灰線*/
.lightborder {
    border: solid 1px rgba(0,0,0,.125);
    border-radius: 5px;
}

/*增加CSS,偽diabled屬性*/
.disable {
    pointer-events: none;
    /*background-color: antiquewhite;*/
    background-color: #EDEDED;
    opacity: 0.7;
}

footer li {
    list-style: none;
}

td, th {
    text-align: center;
    vertical-align: middle;
}

/*區塊Css*/
.property-card {
    max-width: 900px;
    margin: 10px auto;
    padding: 20px;
    border: 1px solid darkgrey;
    border-radius: 16px;
    /*background-color: lightcyan;*/
    /* display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;*/
    /*  overflow: hidden;*/
    /* -webkit-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    -o-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    -webkit-box-shadow: 15px 15px 27px #e1e1e3, -15px -15px 27px #ffffff;
    box-shadow: 15px 15px 27px #e1e1e3, -15px -15px 27px #ffffff;*/
}

.radiusborder {
    padding: 10px;
    border: 1px solid darkgrey;
    border-radius: 16px;
    -webkit-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    -o-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    -webkit-box-shadow: 15px 15px 27px #e1e1e3, -15px -15px 27px #ffffff;
    box-shadow: 15px 15px 27px #e1e1e3, -15px -15px 27px #ffffff;
}

/*自動換行*/
div {
    word-wrap: break-word;
    word-break: normal;
}

a {
    text-decoration: none
}

    /*超連結*/
    a.hypertxt {
        color: #6787c7;
    }

textarea {
    resize: none;
    overflow-y: hidden;
}

/*區塊Css END*/

/*檔案上傳*/
.file-upload {
    cursor: pointer;
}

    .file-upload input {
        top: 0;
        left: 0;
        margin: 0;
        Loses tab index in webkit if width is set to 0 opacity: 0;
        filter: alpha(opacity=0);
    }


/*檔案上傳 END*/

.form-group {
    display: flex;
    justify-content: flex-end
}

/*Heartbeat*/
/*https://blog.darkthread.net/blog/prevent-aspnet-session-timeout/*/
#spnIdleWarning {
    color: coral;
}

.blink {
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

@-webkit-keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

/*Heartbeat END*/

/*超過字數計算,顯示的css*/
.countBelow {
    color: #ff0000;
    font-weight: bold;
}


/*固定選單*/
.leftmenu {
    margin: 0;
    width: auto;
    padding: 4px;
    position: fixed;
    height: 100%;
    overflow: auto;
}


div.main-content {
    height: 100vh;
}


@media (min-width: 576px) {
    div.main-content {
        margin-left: 30%;
        width: auto;
    }
}


@media (max-width: 768px) {
    div.main-content {
        margin-left: 0;
        width: 100%;
    }
}

/*捲軸樣式*/
/*::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
*/
/* iframe*/
.iframeDiv {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

    .iframeDiv iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }

/*FB*/
.fb-share-button {
    background: #3b5998;
    border-radius: 3px;
    font-weight: 600;
    padding: 5px 8px;
    display: inline-block;
    position: static;
}

    .fb-share-button:hover {
        cursor: pointer;
        background: #213A6F
    }

    .fb-share-button svg {
        width: 18px;
        fill: white;
        vertical-align: middle;
        border-radius: 2px
    }

    .fb-share-button span {
        vertical-align: middle;
        color: white;
        font-size: 14px;
        padding: 0 3px
    }
