﻿html {
    position: relative;
    min-height: 100%;
}

body {
    background: #e5f8ca;
    overflow: auto;
    background-color: #e5f8ca
}

@media (min-width: 992px) {
    body {
        padding-top: 56px;
    }
}

body.popup {
    padding: 20px 20px 5px 20px;
}

body.full section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.full .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

footer {
    line-height: 16px;
}

*:fullscreen
*:-ms-fullscreen,
*:-webkit-full-screen,
*:-moz-full-screen {
    overflow: auto !important;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #4caf50 !important;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #4caf50 !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #4caf50 !important;
}

.heading {
    margin-bottom: 0 !important;
    font-size: 1.25em !important;
    font-weight: 500 !important;
}

.bg-image-full {
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.bg-full {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .bg-full video.video-apk {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        -webkit-transition: 1s opacity;
        -o-transition: 1s opacity;
        transition: 1s opacity;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: -100;
    }

    .bg-full .info {
        position: absolute;
        top: 20%;
        z-index: 1;
    }

    .bg-full .mask {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        background-attachment: fixed;
        background-color: rgba(0,0,0,.3);
    }

@media (max-width: 1280px) {
    .bg-full .info {
        top: 15%;
    }
}

@media (max-width: 1024px) {
    .bg-full .info {
        top: 10%;
    }
}

a:hover, a:focus {
    text-decoration: none;
}

blockquote p {
    line-height: 1.6rem !important;
}


p, ul {
    margin-bottom: 0;
}

/* Navbar Icon */
.nav-icon {
    margin-left: 10px;
    padding: 8px 5px;
    border: solid 1px #fff;
    border-radius: 5px;
    color: #fff;
}

#return-to-top,
#system-control-panel {
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: block;
    background: rgb(13, 71, 161);
    background: rgba(13, 71, 161, 0.3);
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    text-decoration: none;
    width: 50px;
    height: 50px;
    -webkit-transform: all 0.3s linear;
    -moz-transform: all 0.3s linear;
    -ms-transform: all 0.3s linear;
    -o-transform: all 0.3s linear;
    transform: all 0.3s linear;
    z-index: 99;
}

#return-to-top {
    bottom: 80px;
    background: rgb(246, 62, 62);
    background: rgba(246, 62, 62, 0.3);
}

    #return-to-top i,
    #system-control-panel i {
        position: relative;
        top: 10px;
        left: 17px;
        margin: 0;
        color: #fff;
        font-size: 24px;
        font-weight: bold;
        -webkit-transform: all 0.3s ease;
        -moz-transform: all 0.3s ease;
        -ms-transform: all 0.3s ease;
        -o-transform: all 0.3s ease;
        transform: all 0.3s ease;
    }

#system-control-panel i {
    top: 13px;
    left: 12px;
}

#return-to-top:hover {
    background: rgb(246, 62, 62);
    background: rgba(246, 62, 62, 0.7);
}

#system-control-panel:hover {
    background: rgb(66, 133, 244);
    background: rgba(66, 133, 244, 1);
}

#return-to-top:hover i {
    top: 5px;
}

@media only screen and (max-width: 768px) {
    #return-to-top {
        bottom: 155px;
    }

    #system-control-panel {
        bottom: 95px;
    }
}

.square-box {
    margin: 0 5px;
    background-color: #fff;
    border: solid 1px #3e4134;
    width: 16px;
    height: 16px;
    top: 2px
}

table .square-box {
    margin: -3px 5px 0;
    vertical-align: middle;
}

/* Sign In */
.sign-in .card-container.card {
    padding: 40px 40px;
    max-width: 350px;
}

.register .card-container.card {
    padding: 40px 40px;
    width: 80%;
    max-width: 500px;
}

@media (max-width: 992px) {
    .sign-in .card-container.card {
        margin-top: 30% !important;
    }

    .register .card-container.card {
        margin-top: 20% !important;
    }
}

.sign-in .img-profile,
.register .img-profile {
    width: 96px;
    height: 96px;
    margin: 0 auto 10px;
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.sign-in section ul li {
    margin-left: 25px;
    color: #0275d8;
    line-height: 1.3rem;
    list-style: disc;
}

.register section ul li {
    margin-left: 120px;
    color: #0275d8;
    line-height: 1.3rem;
    list-style: none;
}

.sign-in input[type=email], .sign-in input[type=password] {
    margin-bottom: 5px !important;
}

/* Button */
.btn-query {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 1.05rem;
}

.btn-dropdown {
    padding: 7px 10px !important;
    font-size: 1.05rem;
}

.btn-case {
    position: relative;
    padding: 5px 0;
    font-size: 16px;
    width: 170px;
    height: 32px;
    text-align: center;
}

    .btn-case .badge {
        position: absolute;
        top: 4px;
        right: 4px;
        font-size: 16px;
        font-weight: 700;
        background-color: #ffffff;
        color: #ff3547 !important;
    }

@media (max-width: 1280px) {
    .btn-case {
        width: 150px;
    }
}

.btn-rectype {
    position: relative;
    padding: 5px 0;
    font-size: 16px;
    width: 300px;
    height: 32px;
    text-align: center;
    letter-spacing: 2px;
}

/* Table */
table > thead > tr > th {
    text-align: center !important;
    line-height: 1.2rem;
}

.tablesaw-bar .tablesaw-advance a.tablesaw-nav-btn.left:before,
.tablesaw-bar .tablesaw-advance a.tablesaw-nav-btn.right:before {
    color: #000;
}

table.form > tbody > tr > th {
    background: #e8f5e9;
    color: #000;
    font-weight: 500;
    text-align: right;
}

table.form td select {
    padding-top: 4px !important;
    padding-left: 7px !important;
}

table.no-data {
    /*margin-bottom: 60px;*/
}


/* Fancybox */
.fancybox-slide--iframe .fancybox-content {
    width: 800px;
    height: 600px;
    max-width: 95%;
    max-height: 95%;
    margin: 0;
}

/* Validation */
.field-validation-error {
    display: inline-block;
    margin: 8px 0 0 0;
    padding: 3px 0 3px 27px;
    background: url(../images/excla.png) no-repeat 5px 0;
    border-radius: 5px;
    color: #ff471c;
}

input.input-validation-error,
select.input-validation-error,
textarea.input-validation-error {
    border-color: rgb(246, 62, 62);
    border-width: 2px;
    color: rgb(246, 62, 62);
    font-weight: bolder;
}

/* Assistant */
/*#assistantModal .modal-dialog.modal-bottom-right {
    bottom: 85px !important;
}*/

#assistantModal .modal-dialog.cascading-modal {
    width: 280px;
}

    #assistantModal .modal-dialog.cascading-modal .modal-header {
        margin-bottom: 0;
        padding: 1rem;
    }

        #assistantModal .modal-dialog.cascading-modal .modal-header .close {
            margin-right: -1rem !important;
        }

#assistantModal span.badge {
    font-size: 50%;
}

#assistantModal ol {
    padding-left: 0;
    list-style: decimal;
    list-style-position: inside;
}

    #assistantModal ol > li {
        line-height: 1.5em !important;
    }

/* Others */
.v-middle {
    vertical-align: middle !important;
}

hr.split {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

mark {
    background-color: #ffff00;
    color: #ff3547;
    font-weight: bold !important;
}

.menu-btn {
    margin-bottom: 20px !important;
    font-size: 1.8rem !important;
    max-width: 600px;
    letter-spacing: 10px;
}

    .menu-btn:hover {
        opacity: 0.8;
    }

    .menu-btn .badge {
        font-size: 0.5em;
        letter-spacing: 0;
    }

.link-box {
    float: left;
    display: block;
    margin: 0 15px 15px;
    padding: 1rem;
    background-color: #f3fbf8;
    border: 1px solid #a2d0c2;
    border-radius: 5px;
    width: 270px;
    height: 190px;
}

    .link-box img {
        width: 230px;
        height: 118px;
    }

    .link-box a {
        color: #09451e;
        font-size: 14px;
        font-weight: normal;
        text-align: center;
    }

img.sign {
    width: 200px;
}

.search {
    margin-bottom: 12px;
    padding: 12px 20px 12px 42px;
    background-image: url(/Content/images/search.png);
    background-position: 10px 12px;
    background-repeat: no-repeat;
    border: 1px solid #ddd;
    font-size: 16px;
    width: 100%;
}

/* alertify.js */
.alertify-notifier .ajs-message.ajs-success,
.alertify-notifier .ajs-message.ajs-error {
    color: #fff;
}

/* Kendo */
.k-grid .k-grid-toolbar {
    /*background-color: #e0e0e0;*/
}

.k-grid .k-grid-header,
.k-grid .k-grid-header .k-header,
.k-grid .k-grid-header .k-header a,
.k-grid .k-grid-header .k-header .k-icon {
    background-color: #e8f5e9;
}

.k-grid .k-button {
    background-color: #e8f5e9;
    border-color: #388e3c;
    border-radius: 5px;
    font-size: 80%;
}

.k-grid .k-pager-numbers .k-state-selected {
    line-height: 2rem;
}

.k-pager-info {
    margin-top: 0.6rem;
}

.data-display {
    background-image: url(../../Content/images/eye-slash.png);
    display: block;
    position: absolute;
    width: 38px;
    height: 38px;
    top: 5px;
    right: 0px;
    background-repeat: no-repeat;
    background-size: 75%;
    background-color: transparent;
}

.data-hide {
    background-image: url(../../Content/images/eye-closed.png);
}

/* 縣市審核流程 */
.steps .steps-row .steps-step .btn-bureau {
    margin-top: -28px !important;
    width: 100px !important;
    height: 100px !important;
}

    .steps .steps-row .steps-step .btn-bureau div {
        white-space: normal;
        width: 100px;
        margin-left: -20px;
    }
