﻿html, body, .container {
    min-height: 100% !important;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
}

body
{
    background-color: #f4f9f4 !important;
    font-family:微軟正黑體 !important;
    padding-right: 0px !important;
}


ul{
    margin-bottom: 0px !important;
}

.bg-DotechGreen
{
    background-color: rgb(0, 114, 21);
}

* {
    box-sizing: border-box;
}


h2 {
    text-align: center;
    margin-bottom: 50px;
    color: black;
}

/* form starting stylings ------------------------------- */
.group {
    position: relative;
    margin-bottom: 35px;
}

input {
    font-size: 18px;
    padding: 5px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid rgb(197, 197, 197);
    background: transparent;
}

input:focus {
    outline: none;
}

/* LABEL ======================================= */
label {
    color: black;
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

/* active state */
input:focus ~ label, input:valid ~ label {
    top: -20px;
    font-size: 14px;
    color: black;
}

/* BOTTOM BARS ================================= */
.bar {
    position: relative;
    display: block;
    width: 100%;
}

.bar:before, .bar:after {
    content: '';
    height: 1.5px;
    width: 0;
    bottom: 0.8px;
    position: absolute;
    background: rgb(132, 132, 132);
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.bar:before {
    left: 50%;
}

.bar:after {
    right: 50%;
}



/* active state */
input:focus ~ .bar:before, input:focus ~ .bar:after {
    width: 50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* active state */
input:focus ~ .highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
    from {
        background: black;
    }

    to {
        width: 0;
        background: black;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: black;
    }

    to {
        width: 0;
        background: black;
    }
}

@keyframes inputHighlighter {
    from {
        background: black;
    }

    to {
        width: 0;
        background: black;
    }
}

#panel {
    background: -webkit-linear-gradient(90deg, #fff 0%, #fff 100%);
    background: red; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(90deg, #fff 0%, #fff 100%); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(90deg, #fff 0%, #fff 100%); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(90deg, #fff 0%, #fff 100%); /* For Firefox 3.6 to 15 */
    background: linear-gradient(90deg, #fff 0%, #fff 100%); /* Standard syntax (must be last) */
        
    border-radius: 4px;
    position: absolute;
    top: 20%;
}

.btn-dotech
{
    background:rgb(0, 114, 21);
    color:White;
}

.btn-dotech:hover
{
    background:#399546;
    color:White;
}

.btn-dotech:focus
{
    background:#72b976;
    color:White;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .navbarDotech
    {
        width: 30%;
    }
    .DotechImg
    {
        width:170%;
    }

    /*RWD Table*/
    .rwdtable caption {
        font-size: 1.3em;
    }

    .rwdtable thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .rwdtable tr {
        background-color:white;
        display: block;
        margin-bottom: .625em;
    }

    .rwdtable td {
        color: #424242;
        border-top: 0px !important;
        display: block;
        font-size: .8em;
        text-align: right;
    }

    .rwdtable td:before {
        color: black;
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    .rwdtable td:last-child {
        border-bottom: 0;
        box-shadow: 0 10px 6px -6px rgba(0, 0, 0, 0.1);
    }
    .BottomStrip {
      background-color: #282828 !important;
      height: 17%;
      color:white;
    }
    .fontsize{
        font-size:xx-small;
    }
    footer {
        position: fixed;
        bottom: 0;
        height: 55px;
        width: 100%;
        background-color: #282828;
        color: white;
        font-size:10pt;
    }
} 

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .navbarDotech
    {
        width: 30%;
    }
    .DotechImg
    {
        width:170%;
    }
    .BottomStrip {
      background-color: #282828 !important;
      height: 17%;
      color:white;
    }
    .textRight{
        text-align:right;
    }
    .bgColor{
        background-color:white !important;
        height: auto;
    }
    .table thead th{
        border-top: 0px !important;
        border-bottom:2px solid #424242 !important;
    }

    .table td{
        border-top: 1px solid #dee2e6 !important;
    }
    footer {
        position: fixed;
        bottom: 0;
        height: 55px;
        width: 100%;
        background-color: #282828;
        color: white;
    }
} 

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px)
{
    #panel
    {
        border: 1px solid rgb(200, 200, 200);
        box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 5px 2px;
    }
    .navbarDotech
    {
        width: 15%;
    }
    .DotechImg
    {
        width:170%;
    }
    .BottomStrip {
      background-color: #282828 !important;
      height: 9%;
      color:white;
    }
    .bgColor{
        background-color:white !important;
        height: auto;
    }
    .table thead th{
        border-top: 0px !important;
        border-bottom:2px solid #424242 !important;
    }

    .table td{
        border-top: 1px solid #dee2e6 !important;
    }
    footer {
        position: fixed;
        bottom: 0;
        height: 55px;
        width: 100%;
        background-color: #282828;
        color: white;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) 
{
    #panel 
    {
        border: 1px solid rgb(200, 200, 200);
        box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 5px 2px;
    }
    .navbarDotech
    {
        width: 15%;
    }
    .DotechImg
    {
        width:150%;
    }
    .BottomStrip {
      background-color: #282828 !important;
      height: 9%;
      color:white;
    }
    .bgColor{
        background-color:white !important;
        height: auto;
    }
    .table thead th{
        border-top: 0px !important;
        border-bottom:2px solid #424242 !important;
    }

    .table td{
        border-top: 1px solid #dee2e6 !important;
    }
    footer {
        position: fixed;
        bottom: 0;
        height: 55px;
        width: 100%;
        background-color: #282828;
        color: white;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    #panel {
        border: 1px solid rgb(200, 200, 200);
        box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 5px 2px;
    }

    .navbarDotech {
        width: 15%;
    }

    .DotechImg {
        width: 100%;
    }
    /*
    footer {
        display: flex;
        justify-content: space-between;
        background-color: #282828;
        padding: 15px 15px;
        color: white;
    }
        */

    footer {
        position: fixed;
        bottom: 0;
        height: 55px;
        width: 100%;
        background-color: #282828;
        color: white;
    }

    .BottomStrip {
        background-color: #282828 !important;
        height: 7%;
        color: white;
    }


    .bgColor {
        background-color: white !important;
    }

    .table thead th {
        border-top: 0px !important;
        border-bottom: 2px solid #424242 !important;
    }

    .table td {
        border-top: 1px solid #dee2e6 !important;
    }

    .nav-link

    .nav-linkActive {
        text-decoration: underline !important;
    }
}
.nav-link:hover
{
    color:rgb(188, 196, 182) !important;
}

/*
.nav-link{
    color:white !important;
}
*/

.menu-item {
    color: white !important;
}

/* Center the loader */
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 120px !important;
  height: 120px !important;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid rgb(0, 114, 21);
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn.active, .btn:active 
{
    background: #ddd;
    outline: 0;
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.input-group-addon{
    padding: .375rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    background-color: #e9ecef !important;
    border: 1px solid #ced4da !important;
    border-radius: .25rem;
}

.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto; 
}

#TotalDetail{
    position: fixed;
    bottom: 15%;
    float:right;
    z-index: 888;
    background-color:white;
}


@media (min-width: 1500px) {
    .container {
        min-width: 100%;
    }
}