/*-------------------------
RESET*/

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, img, 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;
}

/*-------------------------
Global Styles*/

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

::selection {
    background: #e96d6d;
    color: #fff;
}
::moz-selection {
    background: #e96d6d;
    color: #fff;
}
* {
    margin: 0;
}
html {
    webkit-text-size-adjust: none;
}
a {
    text-decoration: none;
}

/* `Clear Floated Elements
----------------------------------------------------------------------------------------------------*/

/* >> The Magnificent CLEARFIX << */

.clearfix:after { 
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden; 
}
.clearfix { 
  display: inline-block;  
}
* html .clearfix {  
  height: 1%;  
} 
/* Hides from IE-mac \*/
.clearfix {  
  display: block;  
}
.clearfix:after {
  clear: both;
}


/*======================================
              Layout CSS
=======================================*/


/*-------Html5 Boilerplate------ */

html { 
    font-size: 100%; 
    -webkit-text-size-adjust: 100%; 
    -ms-text-size-adjust: 100%; 
        min-width: 380px;
}

html, button, input, select, textarea { 
    font-family: 'Lato Regular', helvetica, arial, sans-serif; color: #999; 
}

body { 
    margin: 0; 
    font-size: 1em; 
    line-height: 1.5;
        min-width: 340px;
  }

h1 {
  font-family: 'Lato Regular';
  font-size: 60px;
  font-weight: normal;
  color: #fff;
  padding: 0;
  margin: 0;
}

h2 {
  font-family: 'Lato Regular';
  font-size: 40px;
  font-weight: normal;
  color: #777;
  padding: 0 0 10px 0;
  margin: 0;
}

.feature h2 {
  font-family: 'Lato Regular';
  font-size: 30px;
  font-weight: normal;
  color: #777;
  padding: 0 0 10px 0;
  margin: 0;
}


h3 {
  font-family: 'Lato Regular';
  font-size: 30px;
  font-weight: normal;
  color: #777;
  padding: 0 0 10px 0;
  margin: 0;
}

h4 {
  font-family: 'Lato Regular';
  font-size: 20px;
  font-weight: normal;
  color: #777;
  padding: 0 0 10px 0;
  margin: 0;
}


.header {
    display: block;
    background-color:  #262626;
    height: 80px;
}

/*---------Navigation-----------*/

.nav {
  max-width: 960px;
  margin: 0px auto;
  xpadding: 0 14px;
}

.nav ul {
    float: right;
        display: block;
        padding-top: 22px;
    list-style-type: none;
}

.nav ul li {
    float: left;
        margin-left: 5px;
        display: inline-block;
        margin-right: 1em;
}

.nav ul li a {
    color: rgba(196, 196, 196, 0.88);
    xpadding-left: 40px;
    text-decoration: none;
    font-weight: normal;
        position: relative;
        width: 260px;

}

.nav ul li a:hover {
	color: #ffffff;
}

.nav ul li a:active {
    color: #ea5353;
}

/*----------LOGO-----------*/

.brand img {
    padding: 25px 0;
}

img {
    border: 0;
    vertical-align: middle;
}
/*---------- Page Layout --------*/

.section {
    background-color: #292929;
    text-align: center;

}

.feature {
    xwidth: 960px;
    padding-bottom: 40px;
    padding-top: 40px;
    margin: 0 auto; 
}

.services {
    background-color: #f8f8f8;
    text-align: center;
}

.services-wrap {
    display: inline-block;
    margin: 0 auto;
    xwidth: 960px;
    padding-bottom: 50px;
    padding-top: 30px;
    float: none;
    xheight: 360px; 
}

.portfolio {
    background-color: #ffffff;
    text-align: center;
}

.portfolio-wrap {
    padding-bottom: 20px;
    padding-top: 40px;
    height: 370px; 
}
.footer {
    background-color: #313131;
    text-align: center;
}
.footer-wrap {
    padding-bottom: 20px;
    padding-top: 40px;
     
}

.featu {
    max-width: 220px;
    xfloat: left;
    xmargin: 60px 10px;
    margin: 40px 5px 0 5px;
    xheight: 230px;
    display: inline-block;
}
/*
.featu {
    max-width: 50%;
    float: left;
    margin: 0 auto;
    margin: 60px 10px;
    height: 230px;
    display: block;
}*/
.icon {
    display: block;
    clear: both;
    height: 64px;
    width: 64px;
    margin: 0px auto;
}

.featu h6 {
    
    margin: 28px 0px 14px;
    font-size: 18px;
    text-align: center;
    font-weight: 400;
    color: rgb(66, 73, 80);
}
.main-btn {
    margin: 0 auto;
    width: 220px;
    
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px; /* border radius */
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box; /* prevents bg color from leaking outside the border */
    background-color: #ea5353; /* layer fill content + color overlay */
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.5), inset 0 1px 3px rgba(255,255,255,.25); /* drop shadow and inner shadow */
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.5), inset 0 1px 3px rgba(255,255,255,.25); /* drop shadow and inner shadow */
    box-shadow: 0 1px 2px rgba(0,0,0,.5), inset 0 1px 3px rgba(255,255,255,.25); /* drop shadow and inner shadow */
    text-decoration: none;
    color: #fff; /* text color */
    font-size: 18px;
    font-weight: normal;
    text-shadow: 0 1px 0 #a63636; /* drop shadow */
}

.main-btn:hover {
    background-color: #e96262;
}

.main-btn a {
    padding: 18px 0;
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: normal;
    text-transform: uppercase;
    /*text-shadow: 0 1px 0 #a63636;*/
}

.work-filter {
  margin: 14px 0px;
}
.work-filter li {
  display: inline-block;
  margin: 6px 4px;
}
.work-filter li a{
  color: #fff;
}

.work-filter .btn {  
    padding: 8px 18px;
    text-align: center;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px; /* border radius */
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box; /* prevents bg color from leaking outside the border */
    background-color: #ff675f; /* layer fill content */
}
    /*----- Drop Shadow------
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.5), inset 0 1px 3px rgba(255,255,255,.25);
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.5), inset 0 1px 3px rgba(255,255,255,.25);
    box-shadow: 0 1px 2px rgba(0,0,0,.5), inset 0 1px 3px rgba(255,255,255,.25);
    */
    
.work-filter .btn:hover {
    background-color: #e96262;
}

.work-filter .btn a {
    color: #fff;
    font-size: 16px;
    font-weight: normal;
    text-transform: uppercase;
    /*text-shadow: 0 1px 0 #a63636;*/
}
.contact {
  padding: 8px 0;
}
.contact p {
  display: inline-block;
  margin-left: 6px;
  font-size: 16px;
}
.contact li {
  display: inline-block;
} 
.contact img {
  padding-bottom: 3px;
}
.first-icon {
  margin-right: 30px;
}
/*-- Social Media Links-- */

.social-links {
  margin: 20px 0;
}
.social-links li img {
  margin-top: 6px;
  
}
.social-links li {
  display: inline-block;
  margin: 2px;
  width: 36px;
  height: 36px;
  -moz-border-radius: 18px;
  -webkit-border-radius: 18px;
  border-radius: 18px; /* border radius */
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box; /* prevents bg color from leaking outside the border */
  background: #fff;
}

li.rss {
  background-color: #f3b25b; 
}
li.rss:hover {
  background-color: #f3aa47;
}

li.facebook{
  background: #5783bf;
}
li.facebook:hover {
  background: #4a6fa2;
}

li.twitter {
  background: #63bddf;
}
li.twitter:hover {
  background: #59abc9;
}
li.dribbble {
  background: #e99fc3;
}
li.dribbble:hover {
  background: #d693b4;
}
li.pinterest {
  background: #d34f51;
}
li.pinterest:hover {
  background: #bf4849;
}

.subfooter {
  padding: 20px 0;
  background: #262626;
  height: 60px;
}

/*=================================
                Font
===================================*/
@font-face {
    font-family: 'Lato Regular';
    src: url('lato-regular-webfont.eot');
    src: url('lato-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('lato-regular-webfont.woff') format('woff'),
         url('lato-regular-webfont.ttf') format('truetype'),
         url('lato-regular-webfont.svg#latoregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

