/**RESET STYLES P - #7c8595 **/

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, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ul, ol, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, input, textarea, select, header { 
  margin: 0; 
  padding: 0; 
  border: 0; 
  outline: 0; 
  font-size: 100%; 
  vertical-align: baseline; 
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box;    
  box-sizing: border-box;  
}

li, a { 
  list-style: none; 
  text-decoration: none;
  color: inherit;
}

.clearfix:after {
  display: block;
  content: "";
  height: 1px;
  visibility: hidden;
  clear: both;
}

.clear {
  clear: both;
}

/* Responsive Resets --------------------------- */

@-o-viewport {
  width: device-width;
}
@-ms-viewport {
  width: device-width;
}
@viewport {
  width: device-width;
}

html {
  overflow-y: auto;
}

img,
audio,
video,
canvas {
  max-width: 100%;
  display: block;
}

.r-b {
  -webkit-border-radius: 3px;
  -o-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
}

.r-b5 {
  -webkit-border-radius: 5px;
  -o-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
}

.mb {
  margin-bottom: 20px;
}

.m-b {
  margin-bottom: 10px;
}

.left { 
  float: left 
}

.right { 
  float: right 
}

.hidden {
  display: none !important;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  text-align: left;
  font-size: 80%;
  text-transform: uppercase;
  padding: 0 10px 5px;
  border-bottom: 1px solid #d8d8d8;
}

td {
  padding: 13px 10px;
  font-size: 90%;
  border-bottom: 1px solid #f4f4f4;
  position: relative;
}

.red {
  color: red;
}

.under {
  color: inherit;
  border-bottom: 1px dotted;
}


.btn {
  width: 100%;
  font-size: 105%;
  padding: 13px 20px 10px;
  color: #fff;
  cursor: pointer;
  font-family: 'Source Sans Pro', sans-serif;
  background: #dd8c2b;
  -webkit-appearance: none;
}

.btn.right , .btn.left{
  width: auto;
  padding: 13px 30px;
}

.btn:hover {
  opacity: 0.9;
}

a.btn:hover {
  color: #fff;
}

.btn.btn_danger {
  background: #e13a35;
  border-bottom-color: #b72723;
}

.color-orange {
  color: #dd8c2b;
}

.small {
  font-size: 80%;
  color: #999;
}

input[type="text"], input[type="password"], input[type="email"], input[type="search"], textarea, input[type="number"], select {
  border: 1px solid #e8e8e8;
  height: 3.2em;
  width: 100%;
  padding: 0.2em .7em;
  font-size: 90%;
  background: #fff;
  -webkit-appearance: none;
}

.select_wrap select {
  background: #fff;
  padding-left: 1em;
  margin-bottom: 0;
  border: 0;
  outline: 0;
  box-shadow: 0 0 0;
}

.select_wrap {
  border: 1px solid #eee;
  border-radius: 2px;
  position: relative;
  margin-bottom: 1em;
  border-bottom: 3px solid #f4f4f4;
  -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.2);
  -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.2);
  box-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.select_wrap:after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 20px;
  pointer-events: none;
  background: #fff url(../img/sprite.png) no-repeat -380px 6px;
}

textarea {
  min-height: 150px;
  padding: .7em;
  font-family: 'Source Sans Pro', Verdana, Arial, sans-serif;
}

.split_input input[type="text"], .split_input input[type="email"], .split_input input[type="password"], .split_input select {
  width: 48.8%;
}

/* Grid > 6 Column Mobile First
-------------------------------------------------------------- */
.container {
  /*
    The `max-width` property is the width governer. I dare you to experiment
    with setting this larger, something like 1280px.
  */
  max-width: 960px;
  width: 90%;
  margin:0px auto;
}

.row {
  clear: both;
}

@media screen and (min-width: 480px) {
  .container {
    width: 90%;
  }

  .grid-1,
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .grid-6,
  .grid-half,
  .grid-full,
  .grid-unit {
    float: left;
    width: 96.969696969697%;
    margin: 0 1.515151515152% 1em;
  }

  .gallery .grid-unit,
  .grid-half {
    width:46.969696969697%;
    margin: 0 1.515151515152% 1em;
  }

  .grid-flow-opposite{
    float:right
  }

}

@media screen and (min-width: 640px) {
  .grid-1     { width: 13.636363636364%; }
  .grid-2     { width: 30.30303030303%; }
  .grid-3,
  .grid-half  { width: 46.969696969697%; }
  .grid-4     { width: 63.636363636364%; }
  .grid-5     { width: 80.30303030303%; }
  .grid-6,
  .grid-full  { width: 96.969696969697%; }

  .gallery .grid-unit {
    width: 30.30303030303%;
  }

  .content-pad-right {
    padding-right: 4%; /* Use (or don't) as necessary. */
  }

  .content-pad-left {
    padding-left: 4%;
  }

}

/* Micro Clearfix - http://nicolasgallagher.com/micro-clearfix-hack/
For best results, use your favorite clearfix here.
-------------------------------------------------------------- */
.cf:before, .cf:after { content:""; display:table; }
.cf:after { clear:both; }
.cf { zoom:1; } /* For IE 6/7 (trigger hasLayout) */

/* Layout
-------------------------------------------------------------- */
body {
  font: 300 100%/1.5 'Source Sans Pro', Verdana, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  fot-family: 'Roboto', serif;
}

section {
  margin-botom: 2em;
}

footer {
  font-size: 0.8em;
  /*padding: 0.5em 0 2.5em;*/
}

/* Typography
-------------------------------------------------------------- */
.heading {
  font-size: 3em;
  margin: 0;
}

.sub-heading {
  font-size: 2em;
  margin-bottom: 0.5em;
}

a {
  color: #459FDB;
}

a:focus,
a:hover, nav a:hover, .inner_nav a:hover {
  opacity: 0.9;
}

/* Elements
-------------------------------------------------------------- */
figure {
  margin: 0;
  background: #f8f8f8;
}

figcaption {
  padding: 0.5em 1em 1em;
  font-size: 0.875em;
}

code {
  padding: 0.5em;
  background: #efefef;
}

/* Helpers
-------------------------------------------------------------- */
.show-grid div[class*='grid-'] {
  background-color: #eee;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  padding: 0.5em 1em;
  margin-bottom: 1em;
  text-align: center;
}

::-webkit-input-placeholder {
  font-weight: 100;
  font-family: 'Lato', Verdana, Arial, sans-serif;
  letter-spacing: 0.5px;
}

:-moz-placeholder { /* older Firefox*/
  font-weight: 100;
  font-family: 'Lato', Verdana, Arial, sans-serif;
  letter-spacing: 0.5px;
}

::-moz-placeholder { /* Firefox 19+ */ 
  font-weight: 100;
  font-family: 'Lato', Verdana, Arial, sans-serif;
  letter-spacing: 0.5px;
} 

:-ms-input-placeholder { 
  font-weight: 100;
  font-family: 'Lato', Verdana, Arial, sans-serif;
  letter-spacing: 0.5px;
}



@media
  (min--moz-device-pixel-ratio: 2),
  (-o-min-device-pixel-ratio: 2/1),
  (-webkit-min-device-pixel-ratio: 2),
  (min-device-pixel-ratio: 2) {

  .logo {
    background-image: url(../img/sprite@2x.png);
    background-size: 400px 400px;
  }


}

