/*   
Theme Name: 1 Stop Maintenence
Description: Custom made WordPress theme for 1 Stop Maintenence.
Version: 1
*/

/*
== css reset ==
*/
* {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		margin: 0;
		padding: 0;
}

article, aside, footer, header, main, nav, section {
	display: block;
}

img {
		height: auto;
		max-width: 100%;
}

a {
		color: #939598;
		text-decoration: none;
}


/*
== WordPress alignment ==
*/
.alignnone,.alignleft {
		margin:5px 20px 5px 0;
}

.aligncenter {
	display:block;
	margin:5px auto;
}

.alignright {
	float:right;
	margin:5px 0 5px 20px;
}

.alignleft {
	float:left;
}


/*
== layout ==
*/

.container {
		margin: 0 auto;
		max-width: 996px;
}

.container:after {
		content:"";
		clear: both;
		display: block;
}

.col-12, .col-10, .col-8, .col-6, .col-4, .col-3, .col-2 {
		float: left;
		margin: 0 18px;
}

.col-12 {
		width: 960px;
}

.col-10 {
		width: 794px;
}

.col-8 {
		width: 628px;
}

.col-6 {
		width: 462px;
}

.col-4 {
    width: 296px;
}

.col-3 {
    width: 213px;
}

.col-2 {
    width: 130px;
}

/* fluid columns */
.col_4 {
	border: 1px solid #fff;
	float: left;
	width: 33.33333333%;
}

/*
== typography ==
*/
html {
	font-size: 10px;
	font-family: '微軟正黑體',sans-serif
}

body {

	font-size: 1.6rem;
	line-height: 2.4rem;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Work Sans', '微軟正黑體', sans-serif;
	margin-bottom: 1.4rem;
	text-transform: uppercase;
}

h1 {
	color: #ED1C24;
	font-size: 3.5rem;
	font-weight: 300;
	line-height: 5rem;
}

h2 {
	color: #231F20;
	font-size: 3.5rem;
	font-weight: 300;
	line-height: 5rem;
}

h3 {
	color: #ED1C24;
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 3.5rem;
}

h4 {
	color: #231F20;
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 3.5rem;
}

h5 {
	color: #231F20;
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 2rem;
	margin-bottom: 21px;
}

h6 {
	color: #231F20;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.6rem;
}



p {
	color: #939598;
	font-size: 1.5rem;
	line-height: 2rem;
	margin-bottom: 20px;
	font-family: '微軟正黑體','Archivo Narrow', sans-serif;
}

blockquote {
	margin: 0 0 15px 15px;
	padding-left: 26px;
}


main ul,
main ol {
	color: #939598;
	font-family: 1.5rem/2rem '微軟正黑體','Archivo Narrow', sans-serif;
	margin: 0 0 15px 15px;
}

hr {
	border-width: 1px 0 0;
	border-color: #939598;
	clear: both;
	margin: 0 0 15px;
}

.btn {
	background: #ED1C24;
	color: #fff;
	display: inline-block;
	font: 700 16px / 42px 'Work Sans', sans-serif;
	margin-bottom: 20px;
	padding: 0 26px;
	text-transform: uppercase;
}

/* header */
header {
	padding: 20px 0;
	position: fixed;
		top: 0;
		left: 0;
		right: 0;
	z-index: 105;
}

.smaller-menu {
	background: rgba(255,255,255,0.95);
	padding: 5px 0;
	-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
	 z-index: 110;
}

/* navigation */
#mobile-nav {
	display: none;
}

nav {
	float: right;
	margin: 11px 28px 0 0;
	text-align: right;
}

nav li {
    display: inline-block;
    margin-left: 28px;
}

nav a {
   color: #231F20;
	font-family: '微軟正黑體','Archivo Narrow', sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 16px;
	text-transform: uppercase;
}

.home nav a {
	color: #fff;
}

.smaller-menu nav a {
	color: #231F20;
}

#search-btn {
	background:  url('img/icon_search_d.png') center center no-repeat;
	cursor: pointer;
	display: block;
	float: right;
	height: 15px;
	margin-top: 17px;
	width: 12px;
}

.home #search-btn {
	background:  url('img/icon_search.png') center center no-repeat;
}

.smaller-menu #search-btn {
	background:  url('img/icon_search_d.png') center center no-repeat;
}

header .col-12 {
	z-index: 111;
}

.search-form {
	background: #fff;
	margin: 5px 0;
}

 .search-form input[type="search"] {
	border: none;
	display: block;
	height: 80px;
	line-height: 80px;
	padding: 0 15px;
	width: 50%;
 }

.smaller-menu .search-form input[type="search"] {
	height: 60px;
	line-height: 60px;
}

.search-form span,
.search-submit {
	display: none;
}

#close {
	background: url('img/icon-close.png') center center no-repeat;
	cursor: pointer;
	float: right;
	height: 25px;
	margin: -57px 15px 0 0;
	width: 26px;
	z-index: 100;
}

.smaller-menu #close {
	margin-top: -45px;
}

header .col-12 {
	display: none;
	margin: 0 auto;
	position: fixed;
		top: 0;
		right: 0;
		left: 0;
	width: 960px;
}

section {
	padding: 36px 0 33px;
}


/* banner */
#banner {
	padding: 0;
	position: relative;
}

#banner img {
	display: block;
	margin: 0 auto;
	height: auto;
	width: 100%;
}

#banner-content {
	position: absolute;
		top: 50%;
		right: 0;
		left: 0;
}

#banner-content h1 {
	color: #fff;
	font: 700 30px /36px '微軟正黑體','Work Sans', sans-serif;
	text-align: center;
}

#left-column .btn {
	float: right;
}

#right-column .btn {
	background: #231F20;
}

/* about */
#about {
	background: #939598;
}

#about p, #about a, #about h1, #about h5 {
	color: #fff;
}

 #about h5 {
	 font-weight: 700;
 }


/* services */
#services {
	background: #fff;
}

#services .col-4 {
	overflow: hidden; 
	position: relative;
	text-align: center;
}

#services .col-4:nth-child(3n+1) { 
	clear: both;
}

.icon {
	background: #fff;
	cursor: pointer;
	padding: 30px 0;
	position: relative;
	transition: transform 0.4s;
	z-index: 50;
}

#services .col-4:hover {
	overflow: visible;
}

#services .col-4:hover .icon {
	transform: translateY(-182px);
}

#services h1 {
	color: #231F20;
}

#services h5 {
	font-weight: 700;
	margin-bottom: 0;
}

#services img {
	padding-bottom: 26px;
}

.serv-text {
	background: #fff;
	position: absolute;
		top: 0;
		right: 0;
		left: 0;
}

.serv-text p {
	margin: 0;
}


/*  industries */
#industries {
	background: #231F20;
	padding-bottom: 0;
}

#industries:after {
	content: '';
	clear: both;
	display: block;
}

#industries .col_4 {
	position: relative;
}

#industries img {
	display: block;
	width: 100%;
}

#ind-text {
	margin-top: -20px;
	position: absolute;
		top: 50%;
		right: 0;
		left: 0;
	text-align: center;
}

#industries h1, #industries h5 a, #industries a {
	color: #fff;
}

#industries h5, #industries p {
	color: #fff;
	margin-bottom: 0;
}

#industries h5 {
	font-weight: 700;
}

/* case studies */
.tabs {
	margin-left: 0;
}

.tabs li {
	display: inline-block;
}

.tabs li:not(:last-child):after {
	background: #939598;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	content: '';
	display: block;
	float: right;
	height: 3px;
	margin: 10px;
	width: 3px;
}

.tabs a {
	color: #939598;
	font: 700 16px /19px 'Work Sans', sans-serif;
	text-transform: uppercase;
}

.tabs a.active {
	color: #231F20;
}

#case-studies h5 {
	font-weight: 700;
}


/* contact */
#contact {
	background: #231F20;
}

#contact h1, #contact h5, #contact p, #contact a {
	color: #fff;
}

#contact h5 {
	font-weight: 700;
}

#contact hr {
	border-color: #fff;
}


/* footer */
#footer-top {
	background: #E6E7E8;
}

#footer-top ul {
	list-style-type: none;
	margin: 0 0 20px;
}

#footer-top ul a {
	color: #58595B;
	font: 1.3rem/1.6rem 'Archivo Narrow', sans-serif;
}


#footer-bottom {
	background: #231F20;
	padding: 15px 0;
}

#footer-bottom p {
	color: #fff;
	margin-bottom: 0;
}

#footer-bottom a {
	color: #fff;
}

.connect li {
	display: inline-block;
	margin-left: 10px;
}

.connect a {
	display: block;
	height: 19px;
	width: 19px;
}

.fb {
	background:  url('img/icon_fb.png') center center no-repeat;
}

.tw {
	background:  url('img/icon_tw.png') center center no-repeat;
}


/*
* SINGLE INDUSTRIES
*/
.single-industries #nav .industries  {
	border-bottom: 1px solid #000;
}

#industries-menu {
	background: #231F20;
	padding: 15px 0;
}

#nav-ind {
	margin: 0;
}

#nav-ind li {
	display: inline-block;
	margin-right: 15px;
}

#nav-ind li.current-menu-item {
	border-bottom: 1px solid #fff;
}

#nav-ind a {
	color: #fff;
	font: 700 1.4rem/1.7rem 'Archivo Narrow', sans-serif;
	text-transform: uppercase;
}

#single-content {
	margin-top: 98px;
}

#single-banner {
	padding: 0;
	position: relative;
}

#single-banner img {
	width: 100%;
}

#single-banner h1 {
	color: #fff;
	margin: -25px 0 0;
}

#single-banner .container {
	position: absolute;
		top: 50%;
		right: 0;
		left: 0;
}

#single-top {
	margin-bottom: 80px;
}

#single-top:after {
	content: '';
	clear: both;
	display: block;
}

/*
* SEARCH RESULTS
*/
.search-results main,
#default-page {
	margin-top: 98px;
}
	
