/*

Compass Template
    
http://www.templatemo.com/tm-454-compass


http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)

*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Icon Fonts
*********************************/
/* Font-face Icons */
@font-face {
	font-family: 'DemiLight';
	src: url('//at.alicdn.com/t/webfont_y2nil73suh.eot'); /* IE9*/
	src: url('//at.alicdn.com/t/webfont_y2nil73suh.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		url('//at.alicdn.com/t/webfont_y2nil73suh.woff2') format('woff2'),
		url('//at.alicdn.com/t/webfont_y2nil73suh.woff') format('woff'), /* chrome、firefox */
		url('//at.alicdn.com/t/webfont_y2nil73suh.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
		url('//at.alicdn.com/t/webfont_y2nil73suh.svg#NotoSansHans-DemiLight') format('svg'); /* iOS 4.1- */
	font-weight: normal;
	font-style: normal;
}

/*------------------------------------------------------
	Basic Styling 
--------------------------------------------------------*/
body {
	min-width: 1250px;
	padding-top: 1px;
	font: 13px/23px "DemiLight", sans-serif;
	-webkit-font-smoothing: antialiased;
	word-wrap: break-word;
	color: #777777;
}

a {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

input::-moz-focus-inner {
	border: 0;
}

a:hover,
a:active,
a:focus {
	text-decoration: none;
	outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "DemiLight", sans-serif;
	color: #444444;
}

.top-header .right-header ul.social-icons,
.main-header .menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#services,
#about,
#news {
	padding-top: 50px;
}

/*------------------------------------------------------
	Header Styles 
--------------------------------------------------------*/
.top-header {
	background: #b1021a;
	color: white;
	padding: 10px 0;
}

.top-header .left-header span {
	display: inline-block;
	margin: 8px 30px 0 0;
}

.top-header .left-header span i {
	margin-right: 10px;
}

.top-header .right-header ul.social-icons li {
	display: inline-block;
}

.top-header .right-header ul.social-icons li a {
	color: white;
	width: 32px;
	height: 32px;
	text-align: center;
	line-height: 30px;
	border: 1px solid white;
	-webkit-border-radius: 16px;
	border-radius: 16px;
	margin: 0 5px;
}

.top-header .right-header ul.social-icons li a:hover {
	background-color: white;
	color: #b1021a;
}

.main-header {
	position: fixed;
	width: 100%;
	z-index: 9999;
	padding: 25px 0;
	background: white;
	-webkit-box-shadow: 0 2px 4px rgba(1, 1, 1, 0.15);
	-moz-box-shadow: 0 2px 4px rgba(1, 1, 1, 0.15);
	box-shadow: 0 2px 4px rgba(1, 1, 1, 0.15);
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.main-header .logo {
	margin: 5px;
	width: 164px;
}

.main-header .logo img {
	width: 100%;
	height: auto;
}

.main-header .logo h1 {
	font-size: 28px;
	font-weight: 700;
	text-transform: uppercase;
}

.main-header .logo h1 a {
	color: #444444;
}

.main-header .menu {
	margin-top: 10px;
}

.main-header .menu ul li {
	display: inline-block;
	margin-left: 15px;
	position: relative;
	line-height: 30px;
}

.main-header .menu ul li:hover {
	border-bottom: 2px solid #e50012;
}

.main-header .menu ul li>a {
	text-transform: uppercase;
	color: #000;
	font-weight: bold;
	font-size: 15px;
	padding: 8px 15px;
	/*border-radius: 3px;*/
}

.main-header .menu ul li>a.current {
	background: #b1021a;
	color: white;
}

.main-header .menu li:hover .children-menu {
	display: block;
}

.main-header .menu .children-menu {
	display: none;
	position: absolute;
	color: #999;
	width: 100%;
	text-align: center;
	top: 15px;
	padding: 18px 0 5px;
	border-radius: 5px;
	z-index: 2;
}

.main-header .menu .children-menu.wide {
	width: 170%;
}

.main-header .menu .children-menu .triangle {
	display: none;
	width: 10px;
	height: 10px;
	border-top: 5px solid transparent;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid #b1021a;
	position: absolute;
	top: 10px;
	left: 15px;
}

.main-header .menu .children-menu>div {
	background-color: #fff;
	width: auto;
	font-size: 15px;
	line-height: 25px;
}

.main-header .menu .childmenu-item {
	border: 1px solid #E6E4E3;
	color: #999;
	display: block;
}

.main-header .children-menu .childmenu-item:hover {
	color: #e50012;
}

.main-header-shrink {
	padding: 25px 0;
	top: 0;
}

.responsive-menu {
	position: relative;
	top: -20px;
}

.responsive-menu .toggle-menu {
	font-size: 24px;
	color: #b1021a;
}

.responsive-menu .menu {
	display: none;
	position: absolute;
	top: 52px;
	width: 100%;
	background-color: #b1021a;
}

.responsive-menu .menu ul li {
	display: block;
	text-align: left;
	border-bottom: 1px solid #d1601c;
	margin: 0;
}

.responsive-menu .menu ul li:last-child {
	border-bottom: 0;
}

.responsive-menu .menu ul li a {
	color: white;
	padding: 15px 20px;
	display: block;
	-webkit-border-radius: 0;
	border-radius: 0;
}

.responsive-menu .menu ul li a.current {
	background-color: #444444;
}

/*------------------------------------------------------
	Basic Layout Styles 
--------------------------------------------------------*/
.title-section {
	margin-bottom: 57px;
	border-bottom: 1px solid #ccc;
}

.title-section h2 {
	font-size: 22px;
	/*font-weight: normal;*/
	font-weight: bold;
	text-transform: uppercase;
	display: block;
	margin-bottom: 15px;
}

.title-section span {
	display: block;
	width: 110px;
	height: 4px;
	background: #b1021a;
	margin: 0 auto;
	position: relative;
	top: 3px;
}

.widget-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 30px;
}

.mainBtn {
	background-color: #b1021a;
	color: white;
	display: inline-block;
	text-transform: uppercase;
	padding: 10px 15px;
	font-weight: 600;
	font-size: 14px;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.mainBtn:hover {
	background-color: #444444;
}

.flex-caption {
	position: absolute;
	top: 39%;
	width: 100%;
	text-align: center;
	z-index: 999;
	color: white;
}

.flex-caption h2 {
	font-size: 50px;
	text-transform: uppercase;
	font-weight: 700;
	color: white;
	margin-bottom: 45px;
}

.flex-caption span {
	background: url(../images/slider-dec.png) no-repeat;
	width: 60px;
	height: 9px;
	display: block;
	margin: 30px auto;
}

.flex-caption p {
	font-size: 18px;
	font-family: 'Droid Serif', serif;
	line-height: 28px;
}

.flex-direction-nav a {
	color: #444444;
	width: 40px;
	height: 40px;
	background-color: white;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin: -20px 0 0 0;
	text-align: center;
	line-height: 40px;
}

/*------------------------------------------------------
	Services Styles 
--------------------------------------------------------*/
.business {
	overflow: auto;
	margin: 0 -10px 20px;
}

#services .service-item {
	width: 20%;
	float: left;
	padding: 5px 10px;
}

#services .service-item .service-header {
	width: 100%;
}

#services .service-item .service-header img {
	width: 100%;
	height: auto;
}

#services .service-description {
	background: #ddd;
	color: #666;
	text-align: center;
	padding: 7px;
	font-size: 15px;
}

#services .service-item:hover .service-description {
	color: #b1021a;
}

.img-box-bottom {
	display: flex;
}

.img-box-bottom div {
	flex: 1;
	margin-right: 20px;
}

.img-box-bottom div:last-child {
	margin-right: 0;
}

.img-box-bottom img {
	width: 100%;
	height: auto;
}

/*------------------------------------------------------
	Portfolio Styles 
--------------------------------------------------------*/
#portfolio {
	padding-bottom: 80px;
	margin-top: 100px;
	background: #3d3f3f;
}

#portfolio .title-section h2 {
	color: white;
}

#portfolio .portfolio-thumb {
	overflow: hidden;
	position: relative;
	margin-bottom: 30px;
}

#portfolio .portfolio-thumb img {
	width: 100%;
	height: auto;
}

#portfolio .portfolio-thumb .overlay {
	opacity: 0;
	visibility: visible;
	background: rgba(227, 114, 46, 0.9);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

#portfolio .portfolio-thumb .overlay .inner {
	position: absolute;
	padding: 20px;
	width: 100%;
	bottom: 0;
	left: 0;
	text-align: center;
}

#portfolio .portfolio-thumb .overlay .inner h4 {
	font-size: 18px;
	margin-bottom: 10px;
}

#portfolio .portfolio-thumb .overlay .inner h4 a {
	color: white;
}

#portfolio .portfolio-thumb .overlay .inner span {
	font-weight: 300;
	color: white;
}

#portfolio .portfolio-thumb:hover .overlay {
	opacity: 1;
	visibility: visible;
}

/*------------------------------------------------------
	About Styles 
--------------------------------------------------------*/
#about .service-item {
	display: flex;
	margin-bottom: 20px;
}

#about .service-header {
	width: 89%;
	margin-right: 44px;
}

#about .service-description {
	width: 70%;
	font-size: 16px;
	position: relative;
}

#about .service-description .btnBox {
	position: absolute;
	bottom: 0;
	/*right: 0;*/
	width: 100%;
	text-align: center;
}

#about .service-header .bigImg {
	width: 100%;
	margin: 0;
}

#about .service-header img {
	width: 49%;
	height: auto;
	margin: 2% 0;
	float: left;
}

#about .service-description p {
	line-height: 28px;
	letter-spacing: 3px;
}

#about .service-description span {
	padding-left: 36px;
}

/*------------------------------------------------------
	News Styles 
--------------------------------------------------------*/
#news .r_center {
	width: 100%;
	/*margin-bottom: 20px;*/
	display: flex;
}

#news .picBox {
	background-size: 100% 100%;
	width: 30rem;
	height: 20rem;
	/*box-shadow: 0 17px 54px rgba(0, 0, 0, 0.22);*/
}

#news .newItem {
	margin-bottom: 22px;
}

#news .newList {
	margin-left: 52px;
	flex: 1;
}

#news .newItem:last-child {
	margin-bottom: 0;
}

.newList .newItem span {
	font-size: 1.3rem;
	color: #545454;
	display: block;
	margin-bottom: 5px;
	overflow: hidden;
	width: 100%;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.newList .newItem small {
	font-size: 1rem;
	color: #8c8c8c;
	font-weight: bold;
	opacity: 0.5;
}

.btnBox {
	text-align: center;
	margin: 10px auto 0;
}

.btnBox .btn {
	font-size: 12px;
	color: #fff;
	background: #b1021a;
	padding: 2px 14px;
	border-radius: 2rem;
}

/*------------------------------------------------------
	Footer Styles 
--------------------------------------------------------*/
.site-footer {
	margin-top: 80px;
	background-color: #730010;
	color: white;
	padding: 25px 0;
}

.friendship {
	overflow: auto;
	display: flex;
}

.friendship>div {
	flex: 1;
}

.friendship>img {
	width: 130px;
	height: 130px;
}

.friendship-links {
	display: flex;
	color: #fff;
	margin-bottom: 25px;
}

.site-footer a {
	color: white;
	text-align: center;
	padding: 0 10px;
}

.site-footer p span {
	margin-left: 25px;
}


/********************************
IPAD LANDSCAPE (1024x768)
********************************/
/********************************
IPAD PORTRAIT (768x1024)
********************************/
@media only screen and (max-width: 960px) {
	.flexslider {
		margin-top: 100px;
	}

	.main-header {
		padding: 15px 0;
	}

	.main-header .logo {
		margin: 20px;
		width: 164px;
	}

	.main-header .logo img {
		width: 100%;
		height: auto;
	}

	.service-item,
	.team-member {
		margin-bottom: 50px;
	}

	.our-skills {
		margin-top: 60px;
	}

	.flex-caption {
		top: 20%;
	}

	.flex-caption h2 {
		font-size: 24px;
		margin-bottom: 20px;
	}

	.flex-caption p {
		font-size: 14px;
		width: 70%;
		margin: 0 auto;
	}

	.left-header,
	.right-header {
		text-align: center;
	}
}

/********************************
IPHONE 4-4S-5 LANDSCAPE (568x320)
********************************/
@media only screen and (max-width: 760px) {
	.flex-caption {
		display: none !important;
	}

	.contact-form {
		margin-bottom: 60px;
	}

	.main-header {
		height: 60px;
	}

	.main-header .logo {
		margin: 0;
		width: 164px;
	}

	.main-header .logo img {
		width: 100%;
		height: auto;
	}

	.flexslider {
		margin-top: 60px;
	}

	.responsive-menu .menu {
		top: 32px;
	}
}

/********************************
IPHONE 4-4S-5 PORTRAIT (320x568)
********************************/
