﻿.brand-blue {
    color: #337ab7;
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
    font-size: 1.7rem;
    line-height: 3rem;
    background-color: #fff;
    color: #555555;
    font-family: Microsoft JhengHei;
    /*background-image: url('../image/Hot-Air-Balloon-Vector-Background-3.jpg');*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.box {
    display: block;
    background-color: #fff;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    margin-right: 1rem;
    /*width: 45%;*/
    height: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-radius: 20px;
}

.box h3 {
    text-align: center;
}

.box .icon {
    margin-top: 30px;
    margin-bottom: 30px;
}

.box-about {
    display: block;
    background-color: #fff;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    margin-right: 1rem;
    /*width: 45%;*/
    height: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.box-news {
    display: block;
    background-color: #fff;
    /* box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3); */
    box-sizing: border-box;
    margin-right: 1rem;
    /*width: 45%;*/
    height: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #9d9d9d;
    margin-bottom: 20px;
}

.container {
    width: 80%;
}

.icon {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: #337ab7;
}

h1, h2, .h2 {
    color: #337ab7;
    font-weight: bolder;
}

h3 {
    font-weight: bolder;
}

.navbar {
    padding: 10px 0;
    border-bottom: 5px solid #337ab7;
    background-color: white;
    box-shadow: 1px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

.brand {
    line-height: 20px;
    position: relative;
    display: block;
    padding: 10px 15px;
    font-size: 18px;
    color: #555
}

.brand > img{
    float: left;
    width: 50px;
}

.brand div{
    font-size: 16px;
    font-weight: bold;
    padding-left: 5px;
}

a:hover {
    text-decoration: none;
    color: #337ab7;
}

.navbar-inverse .navbar-nav>li>a:hover {
    color: #337ab7;
}

.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:hover, .navbar-inverse .navbar-nav>.open>a:focus {
    color: #337ab7;
    background-color: #fff;
}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form{
    border-color: #fff;
}

.navbar-nav>li {
    font-weight: bolder;
}

.nav-link>i{
    vertical-align: text-top;
}

ul {
    margin-left: -15px;
}

.caseBox {
    /*width: 200px;
    height: 200px;*/
    text-align: center;
    line-height: 25px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    font-size: 2rem;
    font-weight: bolder;
    color: transparent;
    margin: 0 auto;
}

.caseBox:hover {
    color: black;
}

.caseBox>div:hover {
    background-color: rgba(248, 249, 250, 0.8);
}

@media screen and (max-width: 1024px) {
    .navbar-collapse{
        float: left;
    }
    .navbar>.container {
        width: 100%;
    }
}

@media screen and (min-width: 1024px) {
    .navbar-collapse{
        float: right;
    }
    .navbar>.container {
        width: 80%;
    }
}

@media screen and (max-width: 768px) {
    .d-sm-none{
        display: none;
    }
}

#others p {
    text-align: center;
}

.dropdown-menu {
    min-width: 100px;
    border-color: transparent;
    box-shadow: none;
    position: relative;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 600;
    color: #9d9d9d;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
}

.img-middle {
    background: #3A6F9A;
    vertical-align: middle;
    max-height: 25px;
    max-width: 160px;
}

.title {
    height: 20vh;
    width: 100%;
}

.title h2, .title div {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.quote-container {
    position: relative;
    text-align: center;
    color: white;
    height: 500px;
}

.quote-container img {
    /* opacity: 0.7; */
    height: 500px;
}

.quote-center {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.blockquote {
    border-width: 0px;
    text-shadow: 0.1em 0.1em 0.2em black;
}

.blockquote-footer {
    color: white;
}

.bx-caption {
    background-color: rgba(223, 220, 220, 0.75) !important;
}

.bxslider img {
    width: 100%;
}

.triangle {
    width: 0;
    height: 0;
    border: 25px solid;
}

.triangle-left {
    border-color: transparent #fdf1cb transparent transparent;
    top: 80px;
}

.triangle-right {
    border-color: transparent transparent transparent #fceab2;
    top: 100px;
}

.triangle-top {
    border-color: transparent transparent #ffe1b9 transparent;
    float: left;
    margin-left: 80px;
}

@media (max-width: 1024px) {
    .triangle, .dialog-img, #service-category {
        display: none;
    }
}

@media (min-width: 1024px) {
    .triangle, .dialog-img, #service-category {
        display: block;
    }
}

.bg-gray {
    background-color: #9d9d9d;
}

.bg-blue {
    background-color: #dfe3ee;
    padding: 30px 0 30px 0;
}

.bg-orange {
    background-color: #ffe1b9
}

.bg-yellow1 {
    background-color: #fdf1cb;
}

.bg-yellow2 {
    background-color: #fceab2;
}

.dialog {
    display: block;
    box-sizing: border-box;
    height: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px;
    border-radius: 20px;
}

.row-block {
    margin: 20px 0 20px 0;
}

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 1;
}

.btn {
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.bx-wrapper {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 0;
}

footer .row{
    font-size: 1.5rem;
}

footer .row b{
    font-size: 1.7rem;
}

footer p{
    font-size: 1.3rem;
}

.flex-container {
    display: flex;
    flex-flow: row wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.flex-item {
    width: 90px;
    height: 90px;
    margin: 20px;
    line-height: 150px;
    color: white;
    font-weight: bold;
    font-size: 3em;
    text-align: center;
}

.flex-item>img {
    width: 100%;
}

.bx-wrapper {
    border: 0px !important;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    color: #9d9d9d;
}

.inlinedivider {
  flex-grow: 1;
  border-top: 3px dashed #dfe3ee;
  content: "";
  height: 0;
  margin: 0 10px;
}

.navbar-header > button{
    background-color:#337ab7; 
    border-color: transparent;
}

.float-right{
    float: right;
}

.float-left{
    float: left;
}

#software-project > .row > div{
    margin-bottom: 20px;
}

.customer-logo {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}


@media screen and (min-width: 1024px) {
    .customer-logo > img{    
        max-width: 20% !important;
        height: auto;
        padding:20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .customer-logo > img{    
        max-width: 40% !important;
        height: auto;
        padding:10px;
    }
}

@media screen and (max-width: 767px) {
    .customer-logo > img{    
        max-width: 100% !important;
        height: auto;
        padding:10px;
    }
    .bx-pager{
        display: none;
    }
}