/*------------------------------------------------
*	Template name: White
*	Version      : 1.0
*	Author       : FlaTheme
*	Author URL   : http://themeforest.net/user/flatheme
*
*	Table of contents:
*	1. 	Body/Main
*	2.	Sticky Sidebar menu
*	3.	Home section
*	4.	About section
*	5.	Facs section
*	6.	Portfolio section
*	7.	Services section
*	8.	Resume section
*	9.	Testimonial section
*	10. Blog section
*	11. Contact section
*	12. Footer
*
-------------------------------------------------*/

/*-------------------------------------------------
	1. Body/Main
-------------------------------------------------*/
html, body {
	height: 100%;
}

body {
	position: relative;
	overflow-x: hidden;
	background: #eceff4;
	margin: 0;
	color: #4c566a;
    font-size: 14px;
    font-family: 'Go', 'Noto Sans TC', sans-serif;
	letter-spacing: 0.5px;
}

h1, h2, h3, h4 {
	color: #4c566a;
}

h1 {
	margin: 0 0 25px 0;
	font: 400 36px 'Go Mono', 'Noto Sans TC', monospace;
}

h2 {
	margin: 0 0 20px 0;
	font: 400 24px 'Go', 'Noto Sans TC', sans-serif;
	letter-spacing: 1px;
}

h3 {
	font: 400 18px 'Go', 'Noto Sans TC', sans-serif;
	letter-spacing: 1px;
}

h4 {
	margin: 0 0 20px 0;
    font-weight: 400;
    font-size: 14px;
	letter-spacing: 1px;
    font-family: 'GoSC', sans-serif;
}

ul, li, .row, p {
	margin: 0;
	padding: 0;
}

p {
  line-height: 26px;
  font-size: 16px;
  font-weight: 400;
}

a, a:hover, a:focus {
	text-decoration: none;
	outline: none;
}

li {
	list-style-type: none;
}

img {
	width: 100%;
	height: auto;
}

/* Section title */
.section-title {
	position: relative;
	display: inline-block;
	/* margin-bottom: 80px; */
	font-weight: 700;
}

/*
 * .section-title::before {
 * 	position: absolute;
 * 	content: '';
 * 	bottom: -10px;
 * 	left: -50px;
 * 	background: #4c566a;
 * 	width: 50px;
 * 	height: 1px;
 * }
 *
 * .section-title::after {
 * 	position: absolute;
 * 	content: '';
 * 	bottom: -10px;
 * 	left: 0;
 * 	background: #4c566a;
 * 	width: 100%;
 * 	height: 1px;
 * }
 */

/*-------------------------------------------------
	2. Sticky Sidebar menu
-------------------------------------------------*/
/* Toggle button */
.toggle-btn {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 998;
	visibility: hidden;
	background: #4c566a;
	width: 100%;
	height: 50px;
	border: none;
	outline: none;
}

.lines::before,
.lines::after {
	position: absolute;
	content: '';
	left: 0;
	display: inline-block;
	background: #eceff4;
	width: 20px;
	height: 2px;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.lines {
	position: relative;
	display: inline-block;
	background: #eceff4;
	width: 20px;
	height: 2px;
	vertical-align: middle;
}

.lines::before {
	top: 5px;
}

.lines::after {
	top: -5px;
}

.toggle-close .lines {
	background: transparent;
}

.toggle-close .lines::before,
.toggle-close .lines::after {
	top: 0;
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}

.toggle-close .lines::before {
	-webkit-transform: rotate3d(0, 0, 1, 45deg);
	transform: rotate3d(0, 0, 1, 45deg);
}

.toggle-close .lines::after {
	-webkit-transform: rotate3d(0, 0, 1, -45deg);
	transform: rotate3d(0, 0, 1, -45deg);
}

/* Sidebar */
.sticky-sidebar-menu {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 997;
	background: #eceff4;
	height: 100%;
	-webkit-box-shadow: 5px 0px 15px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 5px 0px 15px 0px rgba(0,0,0,0.25);
	box-shadow: 5px 0px 15px 0px rgba(0,0,0,0.25);
}

.sidebar-top {
	position: absolute;
	top: 50px;
	left: 50px;
}

.sidebar-top img {
	display: inline-block;
	width: 60px;
	height: 60px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
}

.sidebar-top h4 {
	display: inline-block;
	padding-left: 20px;
}

/* Sidebar menu links */
.sidebar-menu {
	position: absolute;
	top: 50%;
	left: 50px;
	-webkit-transform: translate(0,-50%);
	-moz-transform: translate(0,-50%);
	-ms-transform: translate(0,-50%);
	-o-transform: translate(0,-50%);
	transform: translate(0,-50%);
}

.sidebar-menu ul li a,
.sidebar-menu ul li a:hover,
.sidebar-menu ul li a:focus,
.sidebar-menu ul li.active a {
	background: transparent;
	color: #4c566a;
}

.sidebar-menu ul li {
	padding: 15px 0;
	font: 700 24px 'Go', 'Noto Sans TC', sans-serif;
	line-height: 24px;
	letter-spacing: 1px;
}

.sidebar-menu ul li a {
	position: relative;
	padding: 0;
}

.sidebar-menu ul li a::after {
	position: absolute;
	content: '';
	bottom: -12px;
	left: 0;
	background: #eceff4;
	width: 6px;
	height: 6px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.sidebar-menu ul li a:hover::after,
.sidebar-menu ul li.active a::after {
	background: #4c566a;
}

/* Sidebar Social Media Links */
.sidebar-social {
	position: absolute;
	bottom: 50px;
	left: 50px;
}
.sidebar-social ul li {
	display: inline-block;
	margin-right: 10px;
}

.sidebar-social ul li:last-child {
	margin: 0;
}

.sidebar-social ul li a {
	display: block;
	background: #eceff4;
	width: 42px;
	height: 42px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	color: #4c566a;
	text-align: center;
	line-height: 42px;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.sidebar-social ul li a:hover,
.sidebar-social ul li a:focus {
	background: #4c566a;
	color: #d8dee9;
}

/*-------------------------------------------------
	3. Home section
-------------------------------------------------*/
.home-background {
	/* background: url("../images/background.jpg") no-repeat center center; */
 	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	min-height: 100%;
}

.fill {
	position: relative;
	height: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
}

.dark-layer {
	position: absolute;
	background: #2e3440;
	width: 100%;
	height: 100%;
}

.home-middle-content {
	position: absolute;
	top: 50%;
	left: 0;
	-webkit-transform: translate(0,-50%);
	-moz-transform: translate(0,-50%);
	-ms-transform: translate(0,-50%);
	-o-transform: translate(0,-50%);
	transform: translate(0,-50%);
	width: 100%;
	text-align: center;
}

.home-middle-content h1 {
  color: #d8dee9;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 40px;
  font-weight: 400;
}

.home-middle-content h4 {
  color: #d8dee9;
  font-size: 18px;
  font-weight: 500;
}

.scroll-down {
	position: absolute;
	bottom: 50px;
	left: 50%;
	-webkit-transform: translate(-50%,0);
	-moz-transform: translate(-50%,0);
	-ms-transform: translate(-50%,0);
	-o-transform: translate(-50%,0);
	transform: translate(-50%,0);
}

.scroll-down a {
	font-size: 24px;
}

.scroll-down a,
.scroll-down a:hover,
.scroll-down a:focus {
	color: #d8dee9;
}

/*-------------------------------------------------
	4. About section
-------------------------------------------------*/
.about-background {
	padding: 80px 250px;
}

/* Skills */
.skills-row {
	margin: 50px -15px 0 -15px;
}

.skill-box {
	padding: 0 15px;
}

.skill-box h4 {
	margin-bottom: 15px;
}

.progress {
	overflow: visible;
	position: relative;
	background: #eceff4;
	height: 6px;
	margin: 0;
	padding: 0;
	box-shadow: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-ms-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
}

.progress-bar {
	position: relative;
	background: #4c566a;
	box-shadow: none;
	border: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-ms-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
}

.progress-bar span {
	position: absolute;
	top: -32px;
	right: 0;
	color: rgb(160, 160, 160);
	text-align: right;
}

/*-------------------------------------------------
	5. Facts section
-------------------------------------------------*/
.facts-background {
	background: #eceff4;
	padding: 80px 35px;
}

.facts-box h2,
.facts-box h4 {
	text-align: center;
}

.facts-box h2 {
	font-weight: 400;
	font-size: 32px;
}

.facts-box h4 {
	margin-bottom: 0;
	line-height: 24px;
}

/*-------------------------------------------------
	6. Portfolio section
-------------------------------------------------*/
.portfolio-background {
	padding: 80px 50px;
}

.portfolio-filter {
	margin-bottom: 50px;
}

.portfolio-filter ul li {
	position: relative;
	display: inline-block;
	margin-right: 30px;
	font: 700 13px 'Go', 'Noto Sans TC', sans-serif;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
}

.portfolio-filter ul li:last-child {
	margin: 0;
}

.portfolio-filter ul li::after {
	position: absolute;
	content: '';
	bottom: -16px;
	left: 50%;
	-webkit-transform: translate(-50%,0);
	-moz-transform: translate(-50%,0);
	-ms-transform: translate(-50%,0);
	-o-transform: translate(-50%,0);
	transform: translate(-50%,0);
	background: #eceff4;
	width: 6px;
	height: 6px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.portfolio-filter ul li.mixitup-control-active::after,
.portfolio-filter ul li:hover::after {
	background: #4c566a;
}

.portfolio-box {
	position: relative;
}

.portfolio-box-hover {
	position: absolute;
	top: 0;
	left: 0;
	visibility: hidden;
	opacity: 0;
	background: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
	-webkit-transition: ease-out 0.2s;
	-moz-transition: ease-out 0.2s;
	-o-transition: ease-out 0.2s;
	transition: ease-out 0.2s;
}

.portfolio-box:hover .portfolio-box-hover,
.portfolio-box:focus .portfolio-box-hover {
	visibility: visible;
	opacity: 1;
}

.portfolio-box-hover a {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	display: inline-block;
	background: #4c566a;
	width: 42px;
	height: 42px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	color: #d8dee9;
	text-align: center;
	line-height: 42px;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.portfolio-box-hover a:hover {
	background: #eceff4;
	color: #4c566a;
}

.portfolio-box-hover div {
	position: absolute;
	bottom: 30px;
	left: 30px;
	color: #d8dee9;
}

.portfolio-box-hover h4 {
	margin-bottom: 15px;
	color: #d8dee9;
}

button.mfp-close {
	display: block;
	top: -44px;
	opacity: 1;
	width: auto;
	height: auto;
	line-height: auto;
	font-size: 24px;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.mfp-close-btn-in .mfp-close {
	color: rgba(255, 255, 255, 0.7);
}

button.mfp-close:hover {
	top: -44px;
	opacity: 1;
	color: #d8dee9;
}

.popup-box {
	position: relative;
	background: #eceff4;
	width: auto;
	max-width: 640px;
	margin: 0 auto;
}

.popup-box div {
	padding: 30px;
}

/*-------------------------------------------------
	7. Services section
-------------------------------------------------*/
.services-background {
	padding: 0 50px;
}

.service-box div {
	background: rgb(245, 245, 245);
	padding: 30px;
	text-align: justify;
}

.service-box i {
	display: block;
	margin-bottom: 25px;
	font-size: 36px;
}

/*-------------------------------------------------
	8. Resume section
-------------------------------------------------*/
.resume-background {
	padding: 80px 50px;
}

.resume-box {
	margin-bottom: 10px;
}

.resume-box:last-child {
	margin: 0;
}

.resume-icon {
	background: #4c566a;
	font-size: 36px;
	text-align: center;
}

.resume-icon i {
	color: #d8dee9;
}

.resume-content {
	background: rgb(245, 245, 245);
	padding: 30px;
}

/*-------------------------------------------------
	9. Testimonial section
-------------------------------------------------*/
.testimonial-background {
	background: url("../images/background.jpg") no-repeat center center;
 	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.testimonial-dark-layer {
	background: rgba(0, 0, 0, 0.7);
	color: rgba(255, 255, 255, 0.7);
	padding: 80px 50px;
	text-align: center;
}

.testimonial-box span {
	display: inline-block;
	background: #eceff4;
	width: 42px;
	height: 42px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	margin: 0 auto 30px;
	color: #4c566a;
	font-size: 16px;
	line-height: 42px;
	text-align: center;
}

.testimonial-box h4 {
	color: #d8dee9;
	text-align: center;
}

.owl-dots {
	margin-top: 30px;
}

.owl-dot {
	position: relative;
	display: inline-block;
	background: rgba(255, 255, 255, 0.3);
	width: 8px;
	height: 8px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	margin: 0 10px;
}

.owl-dot:hover,
.owl-dot:focus,
.owl-dot.active {
	background: #eceff4;
}

/*-------------------------------------------------
	10. Blog section
-------------------------------------------------*/
.blog-background {
	padding: 80px 50px;
}

.blog-post-box {
    margin-bottom: 10px;
}

.blog-post-box:last-child {
	margin: 0;
}

.blog-post-box-img-container {
	position: relative;
}

.blog-post-box-img-container div {
	position: absolute;
	top: 0;
	left: 0;
	visibility: hidden;
	opacity: 0;
	background: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
	text-align: center;
	-webkit-transition: ease-out 0.2s;
	-moz-transition: ease-out 0.2s;
	-o-transition: ease-out 0.2s;
	transition: ease-out 0.2s;
}

.blog-post-box-img-container:hover div,
.blog-post-box-img-container:focus div {
	visibility: visible;
	opacity: 1;
}

.blog-post-box-img-container a {
	position: relative;
	top: 50%;
	-webkit-transform: translate(0,-50%);
	-moz-transform: translate(0,-50%);
	-ms-transform: translate(0,-50%);
	-o-transform: translate(0,-50%);
	transform: translate(0,-50%);
	display: inline-block;
	background: #4c566a;
	width: 42px;
	height: 42px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	margin: 0 auto;
	color: #d8dee9;
	line-height: 42px;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.blog-post-box-img-container a:hover {
	background: #eceff4;
	color: #4c566a;
}

.blog-post-box-content a {
	display: block;
	background: rgb(245, 245, 245);
	padding: 30px;
	color: rgb(80, 80, 80);
}

.blog-post-box-content ul li {
	display: inline-block;
	padding-right: 7px;
}

.blog-post-box-content ul li:last-child {
	padding: 0;
}

.blog-post-box-content ul li::after {
	content: '-';
	padding-left: 7px;
}

.blog-post-box-content ul li:last-child::after {
	content: '';
}

/*-------------------------------------------------
	11. Contact section
-------------------------------------------------*/
.contact-background {
	padding: 0 50px 80px;
}

.input-style {
	width: 100%;
}

.input-style input,
.text-style textarea {
	background: rgb(245, 245, 245);
	width: 100%;
	padding: 15px;
	border: none;
	outline: none;
	color: rgb(80, 80, 80);
}

.input-style div {
	margin-bottom: 10px;
}

textarea {
	height: 120px;
}

::-webkit-input-placeholder {
	letter-spacing: 0.5px;
	color: rgb(80, 80, 80);
}

:-moz-placeholder {
	letter-spacing: 0.5px;
	color: rgb(80, 80, 80);
}

::-moz-placeholder {
	letter-spacing: 0.5px;
	color: rgb(80, 80, 80);
}

:-ms-input-placeholder {
	letter-spacing: 0.5px;
	color: rgb(80, 80, 80);
}

.submit-style {
	display: inline-block;
	background: rgb(245, 245, 245);
	margin-top: 30px;
	padding: 15px 30px;
	border: none;
	box-shadow: none;
	color: #4c566a;
	font: 700 13px 'Go', 'Noto Sans TC', sans-serif;
	letter-spacing: 1px;
	text-transform: uppercase;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.submit-style:hover,
.submit-style:focus {
	background: #4c566a;
	color: #d8dee9;
}

.submit-style:focus {
	outline: none;
}

#success,
#error {
	display: none;
	margin-top: 50px;
}

#success {
	color: #419873;
}

#error {
	color: red;
}

/* Contact Info */
.contact-info h4 {
	margin-bottom: 15px;
}

.contact-info ul li {
	margin-bottom: 20px;
}

.contact-info ul li:last-child {
	margin: 0;
}

/*-------------------------------------------------
	12. Footer
-------------------------------------------------*/
.footer-background {
	background: #4c566a;
	padding: 80px 50px;
	text-align: center;
	color: rgba(255, 255, 255, 0.8);
}
