body {
	color: #555;
	font-size: 15px;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	background: #fff url(../img/body-bg.jpg) no-repeat left 32%;
}

a {
	text-decoration: none;
	color: #0088cc;
}

a:hover {
	text-decoration: underline;
}

h1, h2, h3, h4 {
	color: #333;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

strong {
	color: #333;
}


/*Mixins*/
@mixin pulse ($n) {
0%{transform: scaleX(1) scaleY(1);}
@for $i from 1 through 9 {
$m:1;
@if $i % 2 !=0 {$m: $n;}
#{$i*10%}{transform:scaleX($m) scaleY($m)}
}
100%{transform: scaleX(1) scaleY(1);}
}

@mixin shake ($n) {
0%{transform: rotateZ(0);}
$pos: 1;
@for $i from 1 through 9 {
$pos: $pos * -1;
$m: ($n / $i) * $pos;
#{$i*10%}{transform:  rotateZ($m * 1deg)}
}
100%{transform: rotateZ(0);}
}

@keyframes pulse {
@include pulse(0.85);
}
@keyframes shake {
@include shake(30);
}
@keyframes spin {
to{transform:rotateZ(720deg)}
}

/* HEADER
-------------------------------------------*/

#header {
	background: #6d6d6d url(../img/header-bg.jpg) repeat-x left top;
	padding: 0 10px;
}

#header-inner {
	max-width: 1000px;
	margin: 0 auto;
}

#header .logo {
	padding: 16px 0;
	float: left;
}


#nav ul {
	float: right;
	margin-top: 47px;
	margin-left: 0 !important;
	margin-bottom: 12px;
}

#nav li {
	display: inline;
	padding-left: 20px;
	text-transform: uppercase;
	font-size: 14px;
}

#nav li.first {
	display: inline;
	padding-left: 0;
}

#nav li a {
	color: white;
	font-weight: bold;
}

.nav_toggle {
	display: none;
}


/* CONTENT
-------------------------------------------*/

#content {
	max-width: 1000px;
	margin: 35px auto;
	padding: 0 24px;
	background: #fff;
	min-height: 380px;
}

.hero {
	margin-bottom: 20px;
	border-radius: 5px;
}

.intro {
	font-size: 16px;
}

.blocks-3 {
	margin-bottom: 0;
}

#blocks li {
	background-color: #eee;
	margin-bottom: 15px;
	min-height: 254px;
}

#blocks li p {
	margin-bottom: 0;
}

.circle {
    width:70px;
    height:70px;
    border-radius:250px;
    font-size:20px;
    color:#fff;
    line-height:70px;
    text-align:center;
    background-color:#e67548;
    margin-bottom: 15px;
}

.twitter-icon {
	padding: 2px 6px;
	background-color: #44B6EF;
	color: white;
	margin-right: 10px;
}

.fb-icon {
	padding: 2px 6px;
	background-color: #3B5D95;
	color: white;
	margin-right: 10px;
}

.gplus-icon {
	padding: 2px 6px;
	background-color: #CF5D45;
	color: white;
	margin-right: 10px;
}

.portfolio {
	padding: 20px;
	margin-top: 40px;
	background-color: #eee;
}


/* FOOTER
-------------------------------------------*/

#footer {
	padding: 0 10px;
}

#footer-inner {
	border-top: 1px solid #ddd;
	max-width: 1000px;
	margin: 0 auto;
	font-size: 14px;
	color: #666;
	padding: 15px 0;
}

#footer-inner a {
	margin-right: 12px;
	float: right;
}
/* MEDIA QUERIES
--------------------------------------------*/

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

.header-links {
  display: none;	
}

.nav_toggle {
	display: block;
	margin-right: 10px;
}

a.nav_toggle {
	text-decoration: none;
	color: white;
	float: right;
	margin-top: 32px;
	background-color: #c03b1d;
	padding: 4px 10px;
	font-size: 22px;
}

#nav {
	display: none;
	clear: both;
}

#nav ul {
	margin: 0;
	float: left;
	width: 100%;
}

#nav li {
	display: block;
	padding: 7px 0;
	border-top: 1px solid #858585;
	padding:10px;
}

#blocks li {
	margin-bottom: 10px;
}

}

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

#nav {
	display: inline !important; 
}

}

.navbg {
	background: #BF311A !important;
	width: 100%;
	height: 24px;
	float: left;
}

@keyframes pound {
	from { transform: none; }
	50% { transform: scale(1.1); }
	to { transform: none; }
}

i {
	float: right;
}

#blocks li:hover i {
	animation: pound .4s infinite;
	transform-origin: center;
}

.left {
	float: left !important;
}

i.left {
	padding: 4px 12px 0 0;
}

.header-links {
	float: right;
	margin-top: 12px;
}

.header-links a {
	color: #555;
}

.header-links p a {
	margin-right: 12px;
}

.header-links li {
	float: left;
	display: inline-block;
}

.header-links li i {
	float: left !important;
	padding: 5px 12px 0 0;
	color: #555;
}

.header-links i {
	float: right;
	margin-left: 12px;
}

.addmargin {
	margin-right: 6px;
}

ul.flex-direction-nav {
	display: none;
}
