html,
body,
div,
span,
object,
iframe,
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,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  font-style: normal;
}
/* Structure tags */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}
/* Responsive images and other embedded objects */
img,
object,
embed,
video,
iframe {
  width: auto;
  max-width: 100%;
}
/* Responsive images aspeсt ratio */
img,
video,
iframe {
  height: auto;
}
/* To prevent some browsers from inserting quotes on q and p */
blockquote,
q {
  quotes: none;
}
blockquote p:before,
blockquote p:after,
q:before,
q:after {
  content: '';
  content: none;
}
/* Table reset */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption,
th,
td {
  text-align: left;
  vertical-align: top;
  font-weight: normal;
}
thead th,
thead td {
  font-weight: bold;
  vertical-align: bottom;
}
/* Image inside */
a img,
th img,
td img {
  vertical-align: top;
}
/* Webkit browsers reset margin */
button,
input,
select,
textarea {
  margin: 0;
}
textarea {
  overflow: auto;
}
/* Normalize buttons in IE */
button {
  width: auto;
  overflow: visible;
}
/* Hand cursor on clickable controls */
input[type=button],
input[type=submit],
button {
  cursor: pointer;
}
/* Trick with vertical align for radio and checkbox  */
input[type="radio"],
input[type="checkbox"] {
  font-size: 110%;
}
/* Horizontal rule reset  */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ddd;
}
/* Clearfix */
.group:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}
/* =Typography
-----------------------------------------------------------------------------*/
body {
  background: #f0efeb;
  color: #505765;
  font-size: 0.875em;
  line-height: 1.5714285714285714em;
  font-family: 'Exo-Light', Helvetica, Arial, Tahoma, sans-serif;
}
a {
  color: #264aa5;
  text-decoration: none;
  -moz-transition-duration: 0.2s;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
a:hover {
  color: #ff8e07;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.5em;
}
h1 {
  font-size: 1.8571428571428572em;
  line-height: 1em;
}
h2 {
  font-size: 1.7142857142857142em;
  line-height: 1.1em;
}
h3 {
  font-size: 1.2857142857142858em;
  line-height: 1.3em;
}
h4 {
  font-size: 1.1428571428571428em;
  line-height: 1.3em;
}
h5 {
  font-size: 1em;
  line-height: 1.3em;
}
h6 {
  font-size: 0.7857142857142857em;
  line-height: 1.3em;
  text-transform: uppercase;
}
h1,
h2,
h3,
h4 {
  margin-bottom: .1em;
}
.subheader {
  font-size: 1.2em;
  font-weight: normal;
  color: #8f8f8f;
  margin-bottom: 1em;
}
p,
ul,
ol,
dl,
dd,
dt,
blockquote,
td,
th {
  line-height: 1.5714285714285714em;
}
ul,
ol,
ul ul,
ol ol,
ul ol,
ol ul {
  margin: 0 0 0 2em;
}
ol ol li {
  list-style-type: lower-alpha;
}
ol ol ol li {
  list-style-type: lower-roman;
}
p,
ul,
ol,
dl,
blockquote,
hr,
pre,
hgroup,
table,
form,
fieldset {
  margin-bottom: 1.5714285714285714em;
}
dl dt {
  font-weight: bold;
}
dd {
  margin-left: 1em;
}
blockquote {
  /*  margin-top: @baseLine/@em;*/

  margin-bottom: 3.142857142857143em;
  margin-left: 1.5714285714285714em;
  padding-left: 1.5714285714285714em;
  border-left: 3px solid #ecebe6;
  font-size: 1.2857142857142858em;
}
blockquote small,
cite {
  color: #888;
  font-style: italic;
}
blockquote p {
  margin-bottom: 1em;
  font-style: italic;
}
small,
blockquote cite {
  font-size: 0.85em;
  line-height: 1;
}
blockquote .pull-right,
.row blockquote .pull-right {
  float: none;
  text-align: right;
  display: block;
}
address {
  font-style: italic;
}
del {
  text-decoration: line-through;
}
abbr[title],
dfn[title] {
  border-bottom: 1px dotted #000;
  cursor: help;
}
strong,
b {
  font-weight: bold;
}
em,
i {
  font-style: italic;
}
sub,
sup {
  font-size: 0.7em;
  line-height: 0;
  position: relative;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
figcaption {
  font-size: 0.85em;
  font-style: italic;
}
ins,
mark {
  background-color: #ffee55;
  color: #000000;
  text-decoration: none;
}
pre,
code,
kbd,
samp {
  font-size: 90%;
  font-family: Menlo, Monaco, monospace, sans-serif;
}
pre {
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 1.5714285714285714em;
  white-space: pre;
  overflow: auto;
}
code {
  padding: 2px 3px;
  display: inline-block;
  line-height: 1;
  background: #f8f8f8;
  border: 1px solid #ddd;
}
kbd {
  padding: 0 6px;
  border-radius: 4px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px #ffffff inset;
  background-color: #fafafa;
  border-color: #ccc #ccc white;
  border-style: solid solid none;
  border-width: 1px 1px medium;
  color: #444;
  font-weight: normal;
  white-space: nowrap;
}
input[type="text"],
input[type="password"],
input[type="email"],
textarea {
  font-size: 13px;
}
fieldset {
  padding: 2em 1.5714285714285714em;
  margin-bottom: 1.5714285714285714em;
  border: 1px solid #dddddd;
}
legend {
  font-size: 1.2em;
  text-transform: uppercase;
  font-weight: bold;
  padding: 0 1em;
}
tfoot th,
tfoot td {
  background-color: #f2f2f2;
}
th,
td {
  border-bottom: 1px solid #eeeeee;
  padding: 0.7857142857142857em 0.5em;
}
/* =Tables
-----------------------------------------------------------------------------*/
table caption {
  text-transform: uppercase;
  font-weight: bold;
  padding-left: 0.5em;
  color: #666;
}
table.simple td,
table.simple th {
  border: none;
  padding: 0.7857142857142857em 0.7em 0.7857142857142857em 0;
}
table.bordered td,
table.bordered th {
  border: 1px solid #ddd;
}
table.stroked td,
table.stroked th {
  border-bottom: 1px solid #eee;
}
table.striped tbody tr:nth-child(odd) td {
  background-color: #f8f8f8;
}
table.hovered tbody tr:hover td,
table.hovered thead tr:hover th {
  background-color: #f6f6f6;
}
.thead-gray td,
.thead-gray th {
  background-color: #f0f0f0;
}
.thead-black td,
.thead-black th {
  font-weight: normal;
  color: #f6f6f6;
  color: rgba(255, 255, 255, 0.9);
  background-color: #222;
}
table.bordered .thead-black td,
table.bordered .thead-black th {
  border: 1px solid #444;
}
/* =Forms
-----------------------------------------------------------------------------*/
.forms label {
  display: block;
  margin-bottom: 2px;
}
.descr {
  color: #a7abb2;
  font-size: 0.85em;
  line-height: 1.5714285714285714em;
}
div.descr {
  margin: 4px 0;
}
.columnar div.descr {
  margin-bottom: 10px;
}
.forms ul {
  list-style: none;
  margin: 0;
}
.forms ul li {
  margin-bottom: 10px;
}
.forms.columnar ul li {
  margin-bottom: 15px;
}
/* liner fieldset */
fieldset.liner {
  border: none;
  padding: 0;
}
fieldset.liner legend {
  padding: 0;
  width: 100%;
  padding-bottom: 12px;
}
fieldset.liner legend span {
  padding: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
  display: block;
}
/* multicolumn */
.forms ul.multicolumn:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.forms ul.multicolumn li {
  float: left;
  margin-right: 12px;
  margin-bottom: 0;
  line-height: 1.8em;
}
.forms ul.multicolumn li label {
  margin-bottom: 0;
}
.forms ul.multicolumn li.width-50 {
  width: 48%;
  margin-right: 2%;
}
.forms ul.multicolumn li.width-33 {
  width: 31%;
  margin-right: 2%;
}
/* columnar */
.forms.columnar legend {
  margin-bottom: 1em;
}
.forms.columnar label {
  float: left;
  width: 150px;
  text-align: right;
  margin-right: 20px;
}
.forms.columnar .push,
.forms.columnar div.descr {
  margin-left: 170px;
}
.forms.columnar li fieldset label {
  float: none;
  width: auto;
  text-align: left;
  margin-right: 0;
}
.forms.columnar li fieldset {
  border: none;
  padding: 0;
  margin: 0;
  padding-left: 170px;
  position: relative;
}
.forms.columnar li fieldset section {
  padding: 0;
  position: absolute;
  width: 150px;
  text-align: right;
  left: 0;
  top: 0;
}
.forms.columnar li fieldset section label {
  float: none;
  width: auto;
  margin-right: 0;
  text-align: right;
}
.forms.columnar li fieldset div.descr {
  margin-left: 0;
}
/* section */
.forms li.form-section {
  font-weight: bold;
  border-bottom: 1px solid #eee;
  padding: 1.5em 0 .7em 0;
  font-size: 1.1em;
  margin-bottom: 1.5em;
}
.columnar li.form-section {
  padding-left: 170px;
}
/* tableforms */
table.tableforms td {
  font-size: 90%;
  padding: 1px 10px 3px 0 !important;
  border: none;
}
table.tableforms tr.labels td {
  padding-top: .8em !important;
  font-weight: bold;
}
input[type="radio"],
input[type="checkbox"] {
  position: relative;
  top: -1px;
}
input[type="text"],
input[type="password"],
input[type="email"],
textarea {
  position: relative;
  z-index: 2;
  font-family: 'Exo-Light', Helvetica, Arial, Tahoma, sans-serif;
  height: 23px;
  border: 1px solid #ccc;
  margin: 0;
  padding: 1px 2px;
  background-color: white;
  color: #333;
  font-size: 13px;
  line-height: 1;
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;
  -webkit-transition: border 0.3s ease-in;
  -moz-transition: border 0.3s ease-in;
  -ms-transition: border 0.3s ease-in;
  -o-transition: border 0.3s ease-in;
  transition: border 0.3s ease-in;
}
textarea {
  line-height: 1.4em;
}
/* Errors and Success */
.error,
.success {
  margin-left: 5px;
  font-weight: normal;
  font-size: 0.85em;
}
input.input-error,
textarea.input-error,
select.input-error,
.input-error {
  border-color: #da3e5a;
  box-shadow: 0 0 0 2px rgba(218, 62, 90, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2) inset;
}
input.input-success,
textarea.input-success,
select.input-success,
.input-success {
  border-color: #18a011 ;
  box-shadow: 0 0 0 2px rgba(24, 160, 17, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2) inset;
}
input.input-gray,
textarea.input-gray,
select.input-gray,
.input-gray {
  border-color: #ccc;
  box-shadow: 0 0 0 2px rgba(204, 204, 204, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2) inset;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: #5ca9e4;
  box-shadow: 0 0 0 2px rgba(70, 161, 231, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2) inset;
}
input.input-search,
input[type="search"] {
  padding-right: 10px;
  padding-left: 10px;
  margin-bottom: 0;
  border-radius: 15px;
}
.input-append,
.input-prepend {
  display: inline-block;
  background-color: #eee;
  height: 23px;
  border: 1px solid #ccc;
  margin: 0;
  padding: 1px 8px;
  color: #333;
  font-size: 14px;
  line-height: 23px;
}
.input-prepend {
  margin-right: -1px;
}
.input-append {
  position: relative;
  z-index: 1;
  margin-left: -1px;
}
.btn {
  position: relative;
  cursor: pointer;
  outline: none;
  display: inline-block;
  text-align: center;
  font-weight: normal;
  font-size: 17px;
  color: #fff;
  text-shadow: 0 1px rgba(0, 0, 0, 0.3);
  height: 40px;
  line-height: 38px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  background: #163c55;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #022840), color-stop(1, #274e67));
  background: -ms-linear-gradient(bottom, #022840, #274e67);
  background: -moz-linear-gradient(center bottom, #022840 0%, #274e67 100%);
  border: 0 none;
  padding: 0 16px;
  text-decoration: none;
}
.btn [class^="icon-"]:before,
.btn [class*=" icon-"]:before {
  font-size: 19px;
  margin-top: 2px;
  margin-right: 0;
}
.btn:hover {
  color: #123951;
  background: #086daa;
  background: #fcaf22;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ff8e07), color-stop(1, #febc24));
  background: -ms-linear-gradient(bottom, #ff8e07, #febc24);
  background: -moz-linear-gradient(center bottom, #ff8e07 0%, #febc24 100%);
  text-shadow: 0 1px rgba(255, 255, 255, 0.3);
}
/* Active  */
.btn-big.btn-active,
.btn-big.btn-active:hover {
  padding: 11px 25px;
}
.btn-active,
.btn-active:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) inset;
  color: #555;
  border: none;
  background: none;
  filter: none;
  background-color: #ddd;
  text-shadow: 0 1px 0px rgba(255, 255, 255, 0.8);
  padding: 7px 17px 8px 17px;
}
/* Small */
.btn-small {
  padding: 0 12px;
  font-size: 13px;
  height: 30px;
  line-height: 30px;
}
.btn-small.btn-active {
  padding: 5px 12px;
}
.btn-small [class^="icon-"]:before,
.btn-small [class*=" icon-"]:before {
  font-size: 13px;
  margin-top: 2px;
  margin-right: 0;
}
/* Big */
.btn-big {
  padding: 10px 24px;
  font-size: 20px;
}
/* Square */
.btn-square {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
/* Round */
.btn-round {
  border-radius: 15px;
  border-radius: 0 \0;
  /* ie9 hack */
}
/* Full */
.btn-full {
  width: 100%;
}
/* Group  */
.btn-group {
  display: inline-block;
  margin-right: 2px;
  vertical-align: bottom;
}
.btn-group:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.btn-group > .btn,
.btn-group > input {
  float: left;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  margin-left: -1px;
}
.btn-group > .btn:first-child {
  border-radius: 4px 0 0 4px;
}
.btn-group > .btn:last-child {
  border-radius: 0 4px 4px 0;
}
.btn-group > .btn.btn-round:first-child,
.btn-group > .input-search:first-child {
  border-radius: 15px 0 0 15px;
}
.btn-group > .btn.btn-round:last-child,
.btn-group > .input-search:last-child {
  border-radius: 0 15px 15px 0;
}
/* Append  */
.btn-append {
  margin-left: -2px;
  border-radius: 0 4px 4px 0;
}
/* Disabled  */
.btn.disabled,
.btn[disabled] {
  border: none;
  filter: none;
  background: none;
  background-color: #e9e9e9;
  opacity: 0.6;
  cursor: default;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
/* FF fix */
@-moz-document url-prefix("http://") {
  input[type=submit].btn::-moz-focus-inner,
  button.btn::-moz-focus-inner {
    border: 0;
    padding: 0;
  }
}
/* =Grid
-----------------------------------------------------------------------------*/
/* 
Grid
*/
.half,
.third,
.quarter,
.fifth,
.sixth,
.twothird,
.twofifth,
.threefifth,
.fourfifth,
.fivesixth,
.threequarter {
  margin-left: 0;
  width: 100%;
}
.push-half,
.push-threequarter,
.push-quarter,
.push-third,
.push-twothird,
.push-fifth,
.push-twofifth,
.push-threefifth,
.push-fourfifth,
.push-sixth,
.push-fivesixth {
  left: 0;
}
.pull-right {
  float: none;
}
/*
Blocks
*/
.block-two,
.block-three,
.block-four,
.block-five,
.block-six {
  margin-left: 0;
  margin-bottom: 1.5714285714285714em;
}
.block-two > li,
.block-three > li,
.block-four > li,
.block-five > li,
.block-six > li {
  float: none;
  margin: 0;
  width: 100%;
}
/*
Forms
*/
.forms.columnar label {
  float: none;
  text-align: left;
  width: auto;
}
.forms.columnar .push,
.forms.columnar div.descr {
  margin-left: 0;
}
.forms .multicolumn li {
  float: none;
  margin-right: 0;
}
.forms .multicolumn li.width-50,
.forms .multicolumn li.width-33 {
  width: 100%;
}
.forms.columnar li fieldset,
.forms.columnar li fieldset section {
  width: 100%;
  padding-left: 0;
  text-align: left;
  position: static;
}
.forms fieldset {
  padding: 0;
  padding-top: 1em;
  border: none;
}
.forms fieldset legend {
  padding: 0;
}
/* =Blocks
-----------------------------------------------------------------------------*/
.block-two,
.block-three,
.block-four,
.block-five,
.block-six {
  list-style: none;
  margin-left: -3.067484662576687%;
  margin-bottom: 0;
}
.block-two:after,
.block-three:after,
.block-four:after,
.block-five:after,
.block-six:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.block-two > li,
.block-three > li,
.block-four > li,
.block-five > li,
.block-six > li {
  height: auto;
  float: left;
  margin-bottom: 1.5714285714285714em;
  margin-left: 3.067484662576687%;
}
.block-two > li {
  width: 46.93251533742332%;
}
.block-three > li {
  width: 30.265848670756647%;
}
.block-four > li {
  width: 21.932515337423315%;
}
.block-five > li {
  width: 16.932515337423315%;
}
.block-six > li {
  width: 13.59918200408998%;
}
/* =Goodies
-----------------------------------------------------------------------------*/
figure img {
  display: block;
  border: 0;
}
.image-left {
  float: left;
  margin: 0 1em 1em 0;
}
.image-right {
  float: right;
  margin: 0 0 1em 1em;
}
.image-left img,
.image-right img {
  position: relative;
  top: .4em;
}
.image-center {
  text-align: center;
}
.to-right {
  float: right;
}
p.lead {
  font-size: 1.2em;
}
.supersmall {
  font-size: 0.7em;
}
.small {
  font-size: 0.85em;
}
.big {
  font-size: 1.2em;
}
input.big {
  padding: 2px 0;
  font-size: 1.2em;
}
.text-centered {
  text-align: center;
}
.uppercase {
  text-transform: uppercase;
}
.nowrap {
  white-space: nowrap;
}
.clear {
  clear: both;
}
.last {
  margin-right: 0 !important;
}
.end {
  margin-bottom: 0 !important;
}
.handle {
  cursor: move;
}
.normal {
  font-weight: normal;
}
.bold {
  font-weight: bold;
}
.italic {
  font-style: italic;
}
.req,
.required {
  font-weight: normal;
  color: #da3e5a;
}
.highlight {
  background-color: #e5ecf5 !important;
}
.hide_overflow {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Width */
.width-33 {
  width: 33%;
}
.width-50 {
  width: 50%;
}
.width-100 {
  width: 100%;
}
input.width-100 {
  width: 98.6%;
}
textarea.width-100 {
  width: 99.4%;
}
select.width-100 {
  width: 99.4%;
}
/* Colors */
.black {
  color: #000000;
}
.gray-light {
  color: #a7abb2;
}
.white {
  color: #ffffff;
}
.red,
.error {
  color: #da3e5a;
}
.green,
.success {
  color: #5fba00;
}
/* Link Colors Hover */
a.white:hover {
  color: #d9d9d9;
  color: rgba(255, 255, 255, 0.8);
}
a.green:hover,
a.red:hover,
a.error:hover {
  color: #000000;
}
/* layout */
/* typo styles
-----------------------------------------------------------------------------*/
h1,
h2,
h3 {
  font-weight: normal;
}
h1 {
  text-transform: uppercase;
  font-weight: normal;
  padding-right: 15px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
}
h1 span {
  font-size: 16px;
  color: #f7911e;
}
h2 {
  font-weight: normal;
  font-size: 1.1428571428571428em;
  line-height: 1.3em;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
}
h3 {
  color: #f7911e;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 1.1428571428571428em;
  line-height: 1.3em;
  margin-bottom: 1em;
}
h4,
h5,
h6 {
  font-weight: normal;
}
/* global styles
-----------------------------------------------------------------------------*/
html {
  -webkit-text-size-adjust: none;
  /* Prevent font scaling in landscape */

}
/* layout styles
-----------------------------------------------------------------------------*/
.bubble-lnk-blue-invert {
  white-space: nowrap;
  text-transform: uppercase;
  color: #ffffff;
  background: #264aa5;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
  border: 0;
  padding: 3px 5px 3px 10px;
  -moz-transition-duration: 0.2s;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
.bubble-lnk-blue-invert:hover {
  border: 0;
  color: #ffffff;
  background: #ff8e07;
}
.wrapper {
  margin: auto;
  padding: 0 10px;
}
.wrp {
  margin: auto;
}
hgroup h1 {
  padding: 30px 0 25px;
  margin-bottom: 0;
}
blockquote {
  margin-left: 0;
}
blockquote h1 {
  font-size: 36px;
  padding: 15px 0 0 0;
  margin-bottom: 0;
}
header {
  width: 100%;
  border-top: 2px solid #fff;
  border-bottom: 1px solid #ecebe6;
  background: #f3f2ef;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ffffff), color-stop(1, #f0efeb));
  background: -ms-linear-gradient(bottom, #ffffff, #f0efeb);
  background: -moz-linear-gradient(center bottom, #ffffff 0%, #f0efeb 100%);
}
header.border-white {
  border-bottom: 1px solid #fff;
}
header .quarter {
  text-align: center;
}
header #logo a {
  display: block;
  border: 0 none;
}
header #logo a img {
  vertical-align: middle;
}
section {
  background-color: #ffffff;
}
/*article {
  padding-bottom: 50px;
}
*/
.box {
  margin: 0 auto;
  background-color: #fff;
}
.scrollup {
  font-size: 13px;
  display: inline-block;
  -webkit-border-radius: 13px;
  -moz-border-radius: 13px;
  border-radius: 13px;
  line-height: 26px;
  height: 26px;
  padding: 0 10px 0 5px;
  background-color: #264aa5;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}
.scrollup:hover {
  background-color: #ff8e07;
  color: #ffffff;
}
.badge {
  font-size: 18px;
  display: inline-block;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
  line-height: 32px;
  height: 32px;
  padding: 0 18px;
}
.badge-primary {
  background: #f7911e;
  color: #ffffff;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
}
.lightBrownGradient {
  background: #f3f2ef;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ffffff), color-stop(1, #f0efeb));
  background: -ms-linear-gradient(bottom, #ffffff, #f0efeb);
  background: -moz-linear-gradient(center bottom, #ffffff 0%, #f0efeb 100%);
}
#games h2 {
  font-size: 60px;
  margin-bottom: 30px;
}
#games .download {
  line-height: 40px;
}
#games .download a {
  margin: 0 10px;
  line-height: 40px;
}
/* nav */
#main-nav {
  margin-top: 18px;
  margin-bottom: 0;
}
#main-nav li {
  list-style: none inside;
  text-align: center;
}
#main-nav li a {
  text-transform: uppercase;
  border: 0;
  color: #a7abb2;
  font-family: 'Exo-Regular', Helvetica, Arial, Tahoma, sans-serif;
  font-size: 1.1428571428571428em -0.5;
  height: 38px;
  line-height: 38px;
  display: block;
  width: 100%;
  text-align: center;
}
#main-nav li a:hover {
  color: #505765;
}
#main-nav li.active a,
#main-nav li.active a:hover {
  color: #f7911e;
}
#main-nav li a span {
  color: #f7911e;
  font-size: 11px;
}
#social-nav {
  margin-top: 18px;
}
#social-nav li {
  display: inline-block;
}
#social-nav li a {
  color: #bec0c2;
  transition-duration: 0.2s;
}
#social-nav li a i {
  font-size: 28px;
}
#social-nav li a:hover {
  color: #f7911e;
}
/* footer */
#contact {
  border-top: 1px solid #ECEBE6;
  background: #fff;
  padding-bottom: 70px;
}
#contact address {
  font-style: normal;
  padding-left: 30px;
  padding-bottom: 30px;
}
#contact h3 {
  font-size: 26px;
  margin-bottom: 1em;
}
#ftr-nav {
  text-align: center;
  border-top: 1px solid #fac190;
}
#ftr-nav ul {
  list-style: none;
  padding-top: 36px;
}
#ftr-nav ul li {
  display: inline-block;
  padding: 0 5px;
}
#ftr-nav ul li a {
  text-transform: uppercase;
}
#ftr-social {
  background-color: #fff;
}
#ftr-social .wrapper {
  border-top: 1px solid #e0dfda;
  padding-top: 36px;
}
#ftr-social ul {
  list-style: none;
  margin: 36px 0 54px 0;
}
#ftr-social ul li {
  display: inline-block;
  padding: 0 5px;
}
#ftr-social a {
  font-size: 64px;
  transition-duration: 0.2s;
}
#ftr-social .ftr-facebook a {
  color: #3a599d;
}
#ftr-social .ftr-twitter a {
  color: #28aae1;
}
#ftr-social .ftr-vimeo a {
  color: #474e5c;
}
#ftr-social .ftr-facebook a:hover,
#ftr-social .ftr-twitter a:hover,
#ftr-social .ftr-vimeo a:hover {
  color: #f7911e;
}
#ftr .scrollup {
  position: relative;
  top: -13px;
}
#ftr-copy {
  text-align: center;
  padding: 36px 0 18px 0;
  font-size: 11px;
  color: #505765;
}
/*content*/
#team h1 {
  position: relative;
  top: -16px;
}
/* media queries */
@media only screen and (min-width: 320px) {
  /* 320 and up 
  -----------------------------------------------------------------------------*/
  .wrapper,
  .wrp {
    width: 300px;
  }
}
@media only screen and (min-width: 480px) {
  /* 480 and up
  -----------------------------------------------------------------------------*/
  .wrapper {
    padding: 0 15px;
    width: 450px;
  }
  .wrp {
    width: 450px;
  }
}
@media only screen and (min-width: 768px) {
  /* 768 and up 
  -----------------------------------------------------------------------------*/
  .row {
    margin-bottom: 1.5714285714285714em;
  }
  .container.row {
    margin-bottom: 0;
  }
  .container:after,
  .row:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }
  .half,
  .third,
  .quarter,
  .fifth,
  .sixth,
  .twothird,
  .twofifth,
  .threefifth,
  .fourfifth,
  .fivesixth,
  .threequarter {
    margin-left: 3.067484662576687%;
    float: left;
    min-height: 1px;
  }
  .half:first-child,
  .third:first-child,
  .quarter:first-child,
  .fifth:first-child,
  .sixth:first-child,
  .twothird:first-child,
  .twofifth:first-child,
  .threefifth:first-child,
  .fourfifth:first-child,
  .fivesixth:first-child,
  .threequarter:first-child {
    margin-left: 0;
  }
  .sixth {
    width: 14.110429447852761%;
  }
  .fifth {
    width: 17.54601226993865%;
  }
  .quarter {
    width: 22.699386503067487%;
  }
  .third {
    width: 31.28834355828221%;
  }
  .half {
    width: 48.46625766871166%;
  }
  .threequarter {
    width: 74.23312883435584%;
  }
  .twothird {
    width: 65.6441717791411%;
  }
  .twofifth {
    width: 38.15950920245399%;
  }
  .threefifth {
    width: 58.77300613496932%;
  }
  .fourfifth {
    width: 79.38650306748467%;
  }
  .fivesixth {
    width: 82.82208588957056%;
  }
  .push-half,
  .push-threequarter,
  .push-quarter,
  .push-third,
  .push-twothird,
  .push-fifth,
  .push-twofifth,
  .push-threefifth,
  .push-fourfifth,
  .push-sixth,
  .push-fivesixth {
    position: relative;
  }
  .push-half {
    left: 51.53374233128835%;
  }
  .push-third {
    left: 34.355828220858896%;
  }
  .push-quarter {
    left: 25.766871165644176%;
  }
  .push-fifth {
    left: 20.61349693251534%;
  }
  .push-sixth {
    left: 17.177914110429448%;
  }
  .push-threequarter {
    left: 77.30061349693253%;
  }
  .push-twothird {
    left: 68.71165644171779%;
  }
  .push-twofifth {
    left: 41.22699386503068%;
  }
  .push-threefifth {
    left: 61.84049079754601%;
  }
  .push-fourfifth {
    left: 82.45398773006136%;
  }
  .push-fivesixth {
    left: 85.88957055214725%;
  }
  .split .half,
  .split .third,
  .split .quarter,
  .split .fifth,
  .split .sixth,
  .split .twothird,
  .split .twofifth,
  .split .threefifth,
  .split .fourfifth,
  .split .fivesixth,
  .split .threequarter {
    margin-left: 0;
  }
  .split .half {
    width: 50%;
  }
  .split .threequarter {
    width: 75%;
  }
  .split .quarter {
    width: 25%;
  }
  .split .third {
    width: 33.3%;
  }
  .split .twothird {
    width: 66.6%;
  }
  .split .fifth {
    width: 20%;
  }
  .split .twofifth {
    width: 40%;
  }
  .split .threefifth {
    width: 60%;
  }
  .split .fourfifth {
    width: 80%;
  }
  .split .sixth {
    width: 16.6%;
  }
  .split .fivesixth {
    width: 83.4%;
  }
  .inner {
    padding: 1.5714285714285714em;
  }
  .inner-left {
    padding-left: 1.5714285714285714em;
  }
  .inner-right {
    padding-right: 1.5714285714285714em;
  }
  .inner-nobottom {
    padding-bottom: 1px;
  }
  .inner-double {
    padding: 3.142857142857143em;
  }
  .inner-double-left {
    padding-left: 3.142857142857143em;
  }
  .inner-double-right {
    padding-right: 3.142857142857143em;
  }
  .inner-double-nobottom {
    padding-bottom: 1px;
  }
  .row .push-right {
    float: right;
  }
  .row .push-left {
    float: left;
  }
  .row .centered {
    float: none;
    margin: 0 auto;
  }
  /*
  Layout
  */
  .wrapper {
    padding: 0 39px;
    width: 670px;
  }
  hgroup h1 {
    padding: 70px 0 50px;
  }
  blockquote {
    margin-left: 1.5714285714285714em;
  }
  blockquote h1 {
    font-size: 46px;
  }
  header {
    height: 100px;
  }
  header .wrapper {
    width: 718px;
    padding: 0;
    padding-top: 6px;
    position: relative;
  }
  header div.quarter {
    width: 200px;
  }
  header nav.threequarter {
    width: 488px;
    margin-left: 0;
  }
  .box {
    width: 748px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.2);
    -moz-box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.2);
    box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.2);
  }
  #studio {
    background: url('../img/bg-studio.png') no-repeat center 70px;
    padding-bottom:70px;
  }
  #bf {
    background: url('../img/bg-bf.png') no-repeat center top;
    min-height: 600px;
  }
  #ec {
    background: url('../img/bg-earthcore.png') no-repeat center bottom;
    min-height: 600px;
  }
  #fkd {
    background: url('../img/bg-fkd.png') no-repeat center top;
    min-height: 600px;
  }
  #ec .wrapper,
  #bf .wrapper,
  #fkd .wrapper {
      padding-top:120px;
  }
  /* nav */
  #main-nav,
  #social-nav {
    display: table;
    margin: 0;
    padding: 0;
  }
  #main-nav {
    padding-left: 14px;
  }
  #main-nav li {
    display: table-cell;
    padding: 31px 0 18px 0;
  }
  #main-nav li a {
    font-size: 1em;
    margin: 0 10px;
    width: auto;
    -moz-transition-duration: 0.2s;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
  }
  #social-nav {
    float: right;
    margin-top: 36px;
    text-align: right;
  }
  #social-nav li a i {
    font-size: 24px;
  }
  #social-nav [class^="icon-"]:before,
  #social-nav [class*=" icon-"]:before {
    margin-left: 0;
  }
  #ftr-nav ul li {
    padding: 0 15px;
  }
}
@media only screen and (min-width: 978px) {
  /* 978 and up
  -----------------------------------------------------------------------------*/
  .wrapper {
    padding: 0 54px;
    width: 870px;
  }
  header {
    height: 135px;
  }
  header .wrapper {
    padding: 0;
    padding-top: 18px;
    width: 918px;
  }
  header div.quarter {
    width: 230px;
  }
  header nav.threequarter {
    width: 658px;
    margin-left: 30px;
  }
  .box {
    width: 978px;
  }
  #main-nav {
    padding-left: 20px;
  }
  #main-nav li {
    padding: 31px 0;
  }
  #main-nav li a {
    font-size: 1.1428571428571428em;
    margin: 0 15px;
  }
  #social-nav li a i {
    font-size: 28px;
  }
}
/* High Resolution Devices ----------- */
/*@media only screen and (-webkit-min-device-pixel-ratio: 1.5) and (min-width: 768px),
only screen and (min--moz-device-pixel-ratio: 1.5) and (min-width: 768px),
only screen and (-o-device-pixel-ratio: 1.5) and (min-width: 768px), 
only screen and (min-device-pixel-ratio: 1.5) and (min-width: 768px) {*/
@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px), only screen and (min--moz-device-pixel-ratio: 2) and (min-width: 320px), only screen and (-o-min-device-pixel-ratio: 2/1) and (min-width: 320px), only screen and (min-device-pixel-ratio: 2) and (min-width: 320px), only screen and (min-resolution: 192dpi) and (min-width: 320px), only screen and (min-resolution: 2dppx) and (min-width: 320px) {
  #address h2 {
    background-image: url('/web/20150907074504im_/http://www.tequilagames.com/img/qmark@2x.png');
    background-size: 60px 64px;
  }
  #jobs .job h2 a {
    background-image: url('../img/bg_plus_minus@2x.png');
    background-size: 60px 74px;
  }
  #tqp h2 {
    background-image: url('../img/tqp_logo@2x.png');
    background-size: 230px 100px;
  }
}
@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 768px), only screen and (min--moz-device-pixel-ratio: 2) and (min-width: 768px), only screen and (-o-min-device-pixel-ratio: 2/1) and (min-width: 768px), only screen and (min-device-pixel-ratio: 2) and (min-width: 768px), only screen and (min-resolution: 192dpi) and (min-width: 768px), only screen and (min-resolution: 2dppx) and (min-width: 768px) {
  #main-nav li.active {
    background: url('/web/20150907074504im_/http://www.tequilagames.com/img/bg_menu_sel@2x.png') no-repeat center bottom;
    background-size: 100px 40px;
  }
  #sequence .frame .download a:before {
    background-image: url('../img/app_store_bg@2x.png');
    background-size: 64px 96px;
  }
}
