@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:700');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:800');

html {
    position: relative;
    max-width: 768px;
    margin: 0 auto;
    overflow-x: hidden !important;
}
html, body {
    height: 100%;
}
* {
    font-family: "Roboto", "微軟正黑體", "Open Sans" !important;
}

body {
    background-color: #fff !important;
}
body.loading:before {
    content: " ";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5) url("/assets/images/loading.gif") center center no-repeat;
    background-size: 100px;
    z-index: 999999999;
}

.clear {
    clear: both;
}

a,
a:hover,
a:active,
a:focus {
    color: #528294;
    text-decoration: none;
}

.line-through {
	text-decoration: line-through;
}

#content {
    padding-bottom: 50px;
}

#back-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    text-indent: -99999px;
    width: 30px;
    height: 30px;
    background-color: #528294;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
a#back-top:before {
    content: " ";
    position: absolute;
    left: 13px;
    top: 14px;
    height: 1px;
    width: 10px;
    background-color: #fff;
    transform: rotate(45deg);
}
a#back-top:after {
    content: " ";
    position: absolute;
    left: 7px;
    top: 14px;
    height: 1px;
    width: 10px;
    background-color: #fff;
    transform: rotate(-45deg);
}

body {
    border: 0 !important;
    padding: 0 !important;
}
.body > .container,
footer > .container {
    padding: 0;
    margin: 0;
    background-color: #fff;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    max-width: 100%;
    border: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.body > .container > .row-fluid {
    float: left !important;
}
header {
    margin-bottom: 0 !important;
}
header .brand {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 80px;
    background: transparent url("/assets/images/logo_tectom.png") center center no-repeat;
    background-size: contain;
    text-indent: -99999px;
	z-index: 1;
}
nav.navigation {
    display: none;
}
nav.navigation .navbar {
    margin: 0;
}
nav.navigation .navbar a.btn-navbar {
    position: relative;
    height: 18px;
    width: 26px;
    margin: 4px 0;
    background: #fff !important;
    border: 0;
}
nav.navigation .navbar a.btn-navbar:before {
    content: " ";
    position: absolute;
    top: 4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
}
nav.navigation .navbar a.btn-navbar:after {
    content: " ";
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
}
nav.navigation .navbar a.btn-navbar > span {
    display: none;
}
nav.navigation .navbar {
    display: none;
}
nav.navigation a.dse-nav {
    position: relative;
    display: none;
    width: 44px;
    height: 44px;
}
nav.navigation a.dse-nav:before {
    content: " ";
    position: absolute;
    left: 10px;
    top: 18px;
    width: 24px;
    height: 8px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}
nav.navigation .nav-collapse {
    display: none;
}
nav.navigation .nav-collapse.show {
    position: absolute;
    display: block !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1;
}
nav.navigation .nav-collapse a.dse-nav-close {
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    top: 0;
    right: 0;
}
nav.navigation .nav-collapse a.dse-nav-close:before,
nav.navigation .nav-collapse a.dse-nav-close:after {
    content: " ";
    position: absolute;
    left: 20px;
    top: 10px;
    height: 20px;
    width: 1px;
    background-color: #528294;
}
nav.navigation .nav-collapse a.dse-nav-close:before {
    transform: rotate(45deg);
}
nav.navigation .nav-collapse a.dse-nav-close:after {
    transform: rotate(-45deg);
}
nav.navigation .nav-collapse ul.nav {
    width: 100%;
    padding: 40px;
}
nav.navigation .nav-collapse ul.nav li {
    float: left;
    width: 100%
}
nav.navigation .nav-collapse ul.nav li a {
    margin-bottom: 20px;
    text-align: center;
    background-color: transparent !important;
    color: #000; !important;
    font-weight: 400;
}
nav.navigation .nav-collapse ul.nav li a.hidden {
    display: none;
}
footer {
    padding: 20px 0;
    background-color: #bbd8e2;
    color: #fff;
    text-align: center;
}
footer > .container {
    background-color: transparent;
}
.modal.dse-pop {
    top: 0;
    left: 0;
    right: 0;
    border: 0;
    margin: 0px;
    padding-left: 0px;
    width: 100%;
    border-radius: 0;
    background-color: transparent;
}
.modal.dse-pop .modal-dialog {
    margin: 0 auto;
    max-width: 768px;
}
.modal.dse-pop .modal-dialog .modal-content {
    border: 0;
    border-radius: 0;
}
.modal.dse-pop .modal-dialog .modal-content .modal-header {
    display: block;
    padding: 28px 0;
    text-align: center;
    border: 0;
}
.modal.dse-pop .modal-dialog .modal-content .modal-header h5.modal-title {
    font-size: 20px;
    font-style: italic;
    color: #164861;
}
.modal.dse-pop .modal-dialog .modal-content .modal-header h6.modal-subtitle {
    font-size: 16px;
    color: #97b3c1;
    margin-bottom: 0;
}
.modal.dse-pop .modal-dialog .modal-content .modal-header button.close {
    position: absolute;
    top: 20px;
    right: 20px;
    text-indent: -999999px;
    width: 44px;
    height: 44px;
    padding: 0;
}
.modal.dse-pop .modal-dialog .modal-content .modal-header button.close:before,
.modal.dse-pop .modal-dialog .modal-content .modal-header button.close:after {
    content: " ";
    position: absolute;
    left: 22px;
    top: 12px;
    height: 20px;
    width: 1px;
    background-color: #528294;
}
.modal.dse-pop .modal-dialog .modal-content .modal-header button.close:before {
    transform: rotate(45deg);
}
.modal.dse-pop .modal-dialog .modal-content .modal-header button.close:after {
    transform: rotate(-45deg);
}
.modal.dse-pop .modal-dialog .modal-content .modal-body {
    width: 100%;
    max-height: none;
}

.dse-desktop {
    display: none;
}
.dse-mobile {
    display: block;
}

.dse-legend {
	padding: 10px;
	background-color: #f7f7f7;
	border-radius: 3px;
	display: inline-block;
}
.dse-legend > h4 {
	font-size: 12px;
	font-weight: 600;
}
.dse-legend > table {

}
.dse-legend > table tr td:first-child {
	width: 60px;
	font-weight: 600;
}
.dse-legend > table tr td {
	font-size: 10px;
}

.section-advertisement {
    padding: 10px !important;
    border: 2px dotted #090;
}

#contact-us {
    position: fixed;
    top: 60px;
    right: 0;
    padding: 6px 8px;
    background-color: #528194;
    color: #fff;
    border-radius: 5px 0 0 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

@media only screen and (min-width: 768px) {
    footer {

    }
    footer > .container {
        max-width: 768px;
        margin-left: auto;
        margin-right: auto;
    }
    .dse-desktop {
        display: block;
    }
    .dse-mobile {
        display: none;
    }
    .dse-legend > h4 {
    	font-size: 14px;
    }
    .dse-legend > table tr td {
    	font-size: 12px;
    }
}


@media only screen and (max-width: 767px) {
    header .brand {
        right: 15px;
    }
}


