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

/*-----------------------------------------------------------------------------------*/
/*	Grid System - keeping things in line
/*-----------------------------------------------------------------------------------*/

.row {
  margin-left: -20px;
  *zoom: 1;
}

.row:before, .row:after {
  display: table;
  content: "";
  line-height: 0;
}

.row:after {
  clear: both;
}

[class*="span"] {
  float: left;
  margin-left: 20px;
}

.gridcontainer {
  width: 940px;
}
.span12 {
  width: 940px;
}
.span11 {
  width: 860px;
}
.span10 {
  width: 780px;
}
.span9 {
  width: 700px;
}
.span8 {
  width: 620px;
}
.span7 {
  width: 540px;
}
.span6 {
  width: 460px;
}
.span5 {
  width: 380px;
}
.span4 {
  width: 300px;
}
.span3 {
  width: 220px;
}
.span2 {
  width: 140px;
}
.span1 {
  width: 60px;
}
.offset12 {
  margin-left: 980px;
}
.offset11 {
  margin-left: 900px;
}
.offset10 {
  margin-left: 820px;
}
.offset9 {
  margin-left: 740px;
}
.offset8 {
  margin-left: 660px;
}
.offset7 {
  margin-left: 580px;
}
.offset6 {
  margin-left: 500px;
}
.offset5 {
  margin-left: 420px;
}
.offset4 {
  margin-left: 340px;
}
.offset3 {
  margin-left: 260px;
}
.offset2 {
  margin-left: 180px;
}
.offset1 {
  margin-left: 100px;
}
.row-fluid {
  width: 100%;
  *zoom: 1;
}
.row-fluid:before,
.row-fluid:after {
  display: table;
  content: "";
  line-height: 0;
}
.row-fluid:after {
  clear: both;
}
.row-fluid [class*="span"] {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  margin-left: 2.127659574468085%;
  *margin-left: 2.074468085106383%;
}
.row-fluid [class*="span"]:first-child {
  margin-left: 0;
}
.row-fluid .span12 {
  width: 100%;
  *width: 99.94680851063829%;
}
.row-fluid .span11 {
  width: 91.48936170212765%;
  *width: 91.43617021276594%;
}
.row-fluid .span10 {
  width: 82.97872340425532%;
  *width: 82.92553191489361%;
}
.row-fluid .span9 {
  width: 74.46808510638297%;
  *width: 74.41489361702126%;
}
.row-fluid .span8 {
  width: 65.95744680851064%;
  *width: 65.90425531914893%;
}
.row-fluid .span7 {
  width: 57.44680851063829%;
  *width: 57.39361702127659%;
}
.row-fluid .span6 {
  width: 48.93617021276595%;
  *width: 48.88297872340425%;
}
.row-fluid .span5 {
  width: 40.42553191489362%;
  *width: 40.37234042553192%;
}
.row-fluid .span4 {
  width: 31.914893617021278%;
  *width: 31.861702127659576%;
}
.row-fluid .span3 {
  width: 23.404255319148934%;
  *width: 23.351063829787233%;
}
.row-fluid .span2 {
  width: 14.893617021276595%;
  *width: 14.840425531914894%;
}
.row-fluid .span1 {
  width: 6.382978723404255%;
  *width: 6.329787234042553%;
}
.row-fluid .offset12 {
  margin-left: 104.25531914893617%;
  *margin-left: 104.14893617021275%;
}
.row-fluid .offset12:first-child {
  margin-left: 102.12765957446808%;
  *margin-left: 102.02127659574467%;
}
.row-fluid .offset11 {
  margin-left: 95.74468085106382%;
  *margin-left: 95.6382978723404%;
}
.row-fluid .offset11:first-child {
  margin-left: 93.61702127659574%;
  *margin-left: 93.51063829787232%;
}
.row-fluid .offset10 {
  margin-left: 87.23404255319149%;
  *margin-left: 87.12765957446807%;
}
.row-fluid .offset10:first-child {
  margin-left: 85.1063829787234%;
  *margin-left: 84.99999999999999%;
}
.row-fluid .offset9 {
  margin-left: 78.72340425531914%;
  *margin-left: 78.61702127659572%;
}
.row-fluid .offset9:first-child {
  margin-left: 76.59574468085106%;
  *margin-left: 76.48936170212764%;
}
.row-fluid .offset8 {
  margin-left: 70.2127659574468%;
  *margin-left: 70.10638297872339%;
}
.row-fluid .offset8:first-child {
  margin-left: 68.08510638297872%;
  *margin-left: 67.9787234042553%;
}
.row-fluid .offset7 {
  margin-left: 61.70212765957446%;
  *margin-left: 61.59574468085106%;
}
.row-fluid .offset7:first-child {
  margin-left: 59.574468085106375%;
  *margin-left: 59.46808510638297%;
}
.row-fluid .offset6 {
  margin-left: 53.191489361702125%;
  *margin-left: 53.085106382978715%;
}
.row-fluid .offset6:first-child {
  margin-left: 51.063829787234035%;
  *margin-left: 50.95744680851063%;
}
.row-fluid .offset5 {
  margin-left: 44.68085106382979%;
  *margin-left: 44.57446808510638%;
}
.row-fluid .offset5:first-child {
  margin-left: 42.5531914893617%;
  *margin-left: 42.4468085106383%;
}
.row-fluid .offset4 {
  margin-left: 36.170212765957444%;
  *margin-left: 36.06382978723405%;
}
.row-fluid .offset4:first-child {
  margin-left: 34.04255319148936%;
  *margin-left: 33.93617021276596%;
}
.row-fluid .offset3 {
  margin-left: 27.659574468085104%;
  *margin-left: 27.5531914893617%;
}
.row-fluid .offset3:first-child {
  margin-left: 25.53191489361702%;
  *margin-left: 25.425531914893618%;
}
.row-fluid .offset2 {
  margin-left: 19.148936170212764%;
  *margin-left: 19.04255319148936%;
}
.row-fluid .offset2:first-child {
  margin-left: 17.02127659574468%;
  *margin-left: 16.914893617021278%;
}
.row-fluid .offset1 {
  margin-left: 10.638297872340425%;
  *margin-left: 10.53191489361702%;
}
.row-fluid .offset1:first-child {
  margin-left: 8.51063829787234%;
  *margin-left: 8.404255319148938%;
}
[class*="span"].hide,
.row-fluid [class*="span"].hide {
  display: none;
}
[class*="span"].pull-right,
.row-fluid [class*="span"].pull-right {
  float: right;
}
.gridcontainer {
  margin-right: auto;
  margin-left: auto;
  *zoom: 1;
}
.gridcontainer:before,
.gridcontainer:after {
  display: table;
  content: "";
  line-height: 0;
}
.gridcontainer:after {
  clear: both;
}
.gridcontainer-fluid {
  padding-right: 20px;
  padding-left: 20px;
  *zoom: 1;
}
.gridcontainer-fluid:before,
.gridcontainer-fluid:after {
  display: table;
  content: "";
  line-height: 0;
}
.gridcontainer-fluid:after {
  clear: both;
}


/*-----------------------------------------------------------------------------------*/
/*	Document - styling of common elements, typography, etc.
/*-----------------------------------------------------------------------------------*/
html.boxed-layout.desktop {
    background: #e0e0e0;
}

body {
    color: #212121;
    font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    background: white;
    line-height: 1.5em;
    margin: 0 auto !important;
    zoom: 1;
    -webkit-font-smoothing: antialiased;
}

.ie8 body {
    height: 100%;
}

html.tablet-device body {
    width: 1020px;
}
html.tablet-device.ie10.wide body {
    width: 100%;
}

html.tablet-device.ie10.boxed body {
    width: 1090px;
}

html.tablet-device .body-wrapper {
    width: 1020px;
    overflow: hidden;
}

html.tablet-device.ie10.wide .body-wrapper {
    width: 100%;
}
html.tablet-device.ie10.boxed .body-wrapper {
    width: 1090px;
}

html.tablet-device.mobile-layout-always .body-wrapper {
    width: 100% !important;
}


.hidden {
	display: none;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	margin-left: auto;
	margin-right: auto;
	display: block;
	clear: both;
}

.clear {
	clear: both;
	display: block;
	font-size: 0;
	height: 0;
	line-height: 0;
	width: 100%;
}

a {
    text-decoration: none;
	color: #ddac23;
    border-bottom: 1px solid #ddd;
	border-bottom: 1px solid rgba(0, 0, 0,.1);
	-webkit-transition: border .1s linear;
    -moz-transition: border .1s linear;
    -ms-transition: border .1s linear;
    -o-transition: border .1s linear;
    transition: border .1s linear;
	-webkit-transition: border-color .1s linear;
    -moz-transition: border-color .1s linear;
    -ms-transition: border-color .1s linear;
    -o-transition: border-color .1s linear;
    transition: border-color .1s linear;
}

html.no-touch a:hover {
	border-bottom-color: #ecb825;
}

a.unstyled, a.unstyled:hover {
	border-bottom-width: 0;
	padding-bottom: 0;
}

a, a:visited, a:hover, a:active {
    /* Prevent the dotted outline in FireFox*/
    outline: none;
}

a.image-link {
    display: inline;
}

a.image-link img,  .embed-wrapper {
    transition: box-shadow 0.3s;
    -moz-transition: box-shadow 0.3s;
    -webkit-transition: box-shadow 0.3s;
    -o-transition: box-shadow 0.3s;
}

html.no-touch a.image-link:hover img, html.no-touch .embed-wrapper:hover {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), 0 0 20px #ecb825;
}

a.image-link.no-link:hover img {
    box-shadow: none;
}

p {
  margin: 0 0 10px;
}

.lead {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 200;
  line-height: 30px;
}

small {
  font-size: 85%;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

cite {
  font-style: normal;
}

.muted {
  color: #999999;
}

h1, h2, h3, h4, h5, h6 {
  margin: 10px 0;
  font-family: inherit;
  font-weight: bold;
  line-height: 1;
  color: inherit;
  text-rendering: optimizelegibility;
}

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
  font-weight: normal;
  line-height: 1;
  color: #999999;
}

h1 {
  font-size: 36px;
  line-height: 40px;
}

h2 {
  font-size: 30px;
  line-height: 40px;
}

h3 {
  font-size: 24px;
  line-height: 40px;
}

h4 {
  font-size: 18px;
  line-height: 20px;
}

h5 {
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
}

h6 {
  font-size: 13px;
  line-height: 20px;
    font-weight: 500;
}
h1.no-margin,
h2.no-margin,
h3.no-margin,
h4.no-margin,
h5.no-margin,
h6.no-margin {
    margin: 0;
    /*line-height: 1em;*/
}

p.no-margin {
    margin: 0;
    margin-bottom: -3px;
}

p.large {
    font-size: 16px;
    line-height: 24px;
}

p.empty {
    margin-bottom: 0;
    line-height: 0;
}

h1.small {
  font-size: 24px;
    line-height: 1.5em;
}

h2.small {
  font-size: 21px;
    line-height: 1.5em;
}

h3.small {
  font-size: 14px;
    line-height: 1.5em;
}

h4.small {
  font-size: 14px;
    line-height: 1.5em;
}

h4.section-header {
    margin-top: 0;
    font-size: 32px;
    line-height: 36px;
}

p.section-subheader {
    font-size: 18px;
    line-height: 25px;
    color: #888;
}

p.big-text {
    font-size: 15px;
    line-height: 22px;
}

.align-center {
    text-align: center;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align:right;
}

.page-content > h1:first-child,
.page-content > h2:first-child,
.page-content > h3:first-child,
.page-content > h4:first-child,
.page-content > h5:first-child,
.page-content > h6:first-child {
    margin-top: 0;
}

.page-header {
  padding-bottom: 9px;
  margin: 20px 0 30px;
  border-bottom: 1px solid #eeeeee;
}

ul, ol {
  padding: 0;
  margin: 0 0 10px 20px;
}

ul ul, ul ol, ol ol, ol ul {
  margin-bottom: 0;
}

li {
  line-height: 20px;
}

ul.unstyled, ol.unstyled {
  margin-left: 0;
  list-style: none;
}

dl {
  margin-bottom: 20px;
}

dt, dd {
  line-height: 20px;
}

dt {
  font-weight: bold;
}

dd {
  margin-left: 10px;
}

/*-----------------------------------------------------------------------------------*/
/*	Forms
/*-----------------------------------------------------------------------------------*/

button,
input,
select,
textarea {
  margin: 0;
  font-size: 100%;
  vertical-align: middle;
}

button,
input {
  *overflow: visible;
  line-height: normal;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}

input[type="search"] {
  -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
  -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

.clearfix {
  *zoom: 1;
}

.clearfix:before,
.clearfix:after {
  display: table;
  line-height: 0;
  content: "";
}

.clearfix:after {
  clear: both;
}

.hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.input-block-level {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

label,
input,
button,
select,
textarea {
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
}

input,
button,
select,
textarea {
  font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

label {
  display: block;
    font-size: 13px;
  /*margin-bottom: 4px;*/
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  display: inline-block;
  height: 20px;
  padding: 4px 6px;
  margin-bottom: 9px;
  font-size: 14px;
  line-height: 20px;
  color: #555555;
/*  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;*/
}

input,
textarea,
.uneditable-input {
  /*width: 206px;*/
}

textarea {
  height: auto;
    width: 100%;
}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
     -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
       -o-transition: border linear 0.2s, box-shadow linear 0.2s;
          transition: border linear 0.2s, box-shadow linear 0.2s;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
  border-color: rgba(221, 172, 35, 0.8);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */

  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(221, 172, 35, 0.6);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(221, 172, 35, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(221, 172, 35, 0.6);
}

input[type="radio"],
input[type="checkbox"] {
  margin: 4px 0 0;
  margin-top: 1px \9;
  *margin-top: 0;
  line-height: normal;
  cursor: pointer;
}

input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
  width: auto;
}

select,
input[type="file"] {
  height: 30px;
  /* In IE7, the height of the select element cannot be changed by height, only font-size */

  *margin-top: 4px;
  /* For IE7, add top margin to align select with labels */

  line-height: 30px;
}

select {
  width: 220px;
  background-color: #ffffff;
  border: 1px solid #cccccc;
}

select[multiple],
select[size] {
  height: auto;
}

select:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.uneditable-input,
.uneditable-textarea {
  color: #999999;
  cursor: not-allowed;
  background-color: #fcfcfc;
  border-color: #cccccc;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
     -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
          box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
}

.uneditable-input {
  overflow: hidden;
  white-space: nowrap;
}

.uneditable-textarea {
  width: auto;
  height: auto;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #999999;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #999999;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #999999;
}

.radio,
.checkbox {
  min-height: 18px;
  padding-left: 18px;
}

.radio input[type="radio"],
.checkbox input[type="checkbox"] {
  float: left;
  margin-left: -18px;
}

.controls > .radio:first-child,
.controls > .checkbox:first-child {
  padding-top: 5px;
}

.radio.inline,
.checkbox.inline {
  display: inline-block;
  padding-top: 5px;
  margin-bottom: 0;
  vertical-align: middle;
}

.radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline {
  margin-left: 10px;
}

.input-mini {
  width: 60px;
}

.input-small {
  width: 90px;
}

.input-medium {
  width: 150px;
}

.input-large {
  width: 210px;
}

.input-xlarge {
  width: 270px;
}

.input-xxlarge {
  width: 530px;
}

input[class*="span"],
select[class*="span"],
textarea[class*="span"],
.uneditable-input[class*="span"],
.row-fluid input[class*="span"],
.row-fluid select[class*="span"],
.row-fluid textarea[class*="span"],
.row-fluid .uneditable-input[class*="span"] {
  float: none;
  margin-left: 0;
}

.input-append input[class*="span"],
.input-append .uneditable-input[class*="span"],
.input-prepend input[class*="span"],
.input-prepend .uneditable-input[class*="span"],
.row-fluid input[class*="span"],
.row-fluid select[class*="span"],
.row-fluid textarea[class*="span"],
.row-fluid .uneditable-input[class*="span"],
.row-fluid .input-prepend [class*="span"],
.row-fluid .input-append [class*="span"] {
  display: inline-block;
}

input,
textarea,
.uneditable-input {
  margin-left: 0;
}

.controls-row [class*="span"] + [class*="span"] {
  margin-left: 20px;
}

input.span12,
textarea.span12,
.uneditable-input.span12 {
  width: 926px;
}

input.span11,
textarea.span11,
.uneditable-input.span11 {
  width: 846px;
}

input.span10,
textarea.span10,
.uneditable-input.span10 {
  width: 766px;
}

input.span9,
textarea.span9,
.uneditable-input.span9 {
  width: 686px;
}

input.span8,
textarea.span8,
.uneditable-input.span8 {
  width: 606px;
}

input.span7,
textarea.span7,
.uneditable-input.span7 {
  width: 526px;
}

input.span6,
textarea.span6,
.uneditable-input.span6 {
  width: 446px;
}

input.span5,
textarea.span5,
.uneditable-input.span5 {
  width: 366px;
}

input.span4,
textarea.span4,
.uneditable-input.span4 {
  width: 286px;
}

input.span3,
textarea.span3,
.uneditable-input.span3 {
  width: 206px;
}

input.span2,
textarea.span2,
.uneditable-input.span2 {
  width: 126px;
}

input.span1,
textarea.span1,
.uneditable-input.span1 {
  width: 46px;
}

.controls-row {
  *zoom: 1;
}

.controls-row:before,
.controls-row:after {
  display: table;
  line-height: 0;
  content: "";
}

.controls-row:after {
  clear: both;
}

.controls-row [class*="span"] {
  float: left;
}

input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
  cursor: not-allowed;
  background-color: #eeeeee;
}

input[type="radio"][disabled],
input[type="checkbox"][disabled],
input[type="radio"][readonly],
input[type="checkbox"][readonly] {
  background-color: transparent;
}

.control-group.warning > label,
.control-group.warning .help-block,
.control-group.warning .help-inline {
  color: #c09853;
}

.control-group.warning .checkbox,
.control-group.warning .radio,
.control-group.warning input,
.control-group.warning select,
.control-group.warning textarea {
  color: #c09853;
}

.control-group.warning input,
.control-group.warning select,
.control-group.warning textarea {
  border-color: #c09853;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.control-group.warning input:focus,
.control-group.warning select:focus,
.control-group.warning textarea:focus {
  border-color: #a47e3c;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
}

.control-group.warning .input-prepend .add-on,
.control-group.warning .input-append .add-on {
  color: #c09853;
  background-color: #fcf8e3;
  border-color: #c09853;
}

.control-group.error > label,
.control-group.error .help-block,
.control-group.error .help-inline {
  color: #b94a48;
}

.control-group.error .checkbox,
.control-group.error .radio,
.control-group.error input,
.control-group.error select,
.control-group.error textarea {
  color: #b94a48;
}

.control-group.error input,
.control-group.error select,
.control-group.error textarea {
  border-color: #b94a48;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.control-group.error input:focus,
.control-group.error select:focus,
.control-group.error textarea:focus {
  border-color: #953b39;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
}

.control-group.error .input-prepend .add-on,
.control-group.error .input-append .add-on {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #b94a48;
}

.control-group.success > label,
.control-group.success .help-block,
.control-group.success .help-inline {
  color: #468847;
}

.control-group.success .checkbox,
.control-group.success .radio,
.control-group.success input,
.control-group.success select,
.control-group.success textarea {
  color: #468847;
}

.control-group.success input,
.control-group.success select,
.control-group.success textarea {
  border-color: #468847;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.control-group.success input:focus,
.control-group.success select:focus,
.control-group.success textarea:focus {
  border-color: #356635;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
}

.control-group.success .input-prepend .add-on,
.control-group.success .input-append .add-on {
  color: #468847;
  background-color: #dff0d8;
  border-color: #468847;
}

.control-group.info > label,
.control-group.info .help-block,
.control-group.info .help-inline {
  color: #3a87ad;
}

.control-group.info .checkbox,
.control-group.info .radio,
.control-group.info input,
.control-group.info select,
.control-group.info textarea {
  color: #3a87ad;
}

.control-group.info input,
.control-group.info select,
.control-group.info textarea {
  border-color: #3a87ad;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.control-group.info input:focus,
.control-group.info select:focus,
.control-group.info textarea:focus {
  border-color: #2d6987;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
}

.control-group.info .input-prepend .add-on,
.control-group.info .input-append .add-on {
  color: #3a87ad;
  background-color: #d9edf7;
  border-color: #3a87ad;
}

input:focus:required:invalid,
textarea:focus:required:invalid,
select:focus:required:invalid {
  color: #b94a48;
  border-color: #ee5f5b;
}

input:focus:required:invalid:focus,
textarea:focus:required:invalid:focus,
select:focus:required:invalid:focus {
  border-color: #e9322d;
  -webkit-box-shadow: 0 0 6px #f8b9b7;
     -moz-box-shadow: 0 0 6px #f8b9b7;
          box-shadow: 0 0 6px #f8b9b7;
}

.form-actions {
  padding: 19px 20px 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border-top: 1px solid #e5e5e5;
  *zoom: 1;
}

.form-actions:before,
.form-actions:after {
  display: table;
  line-height: 0;
  content: "";
}

.form-actions:after {
  clear: both;
}

.help-block,
.help-inline {
  color: #595959;
}

.help-block {
  display: block;
  margin-bottom: 10px;
}

.help-inline {
  display: inline-block;
  *display: inline;
  padding-left: 5px;
  vertical-align: middle;
  *zoom: 1;
}

.input-append,
.input-prepend {
  margin-bottom: 5px;
  font-size: 0;
  white-space: nowrap;
}

.input-append input,
.input-prepend input,
.input-append select,
.input-prepend select,
.input-append .uneditable-input,
.input-prepend .uneditable-input {
  position: relative;
  margin-bottom: 0;
  *margin-left: 0;
  font-size: 14px;
  vertical-align: top;
  -webkit-border-radius: 0 3px 3px 0;
     -moz-border-radius: 0 3px 3px 0;
          border-radius: 0 3px 3px 0;
}

.input-append input:focus,
.input-prepend input:focus,
.input-append select:focus,
.input-prepend select:focus,
.input-append .uneditable-input:focus,
.input-prepend .uneditable-input:focus {
  z-index: 2;
}

.input-append .add-on,
.input-prepend .add-on {
  display: inline-block;
  width: auto;
  height: 20px;
  min-width: 16px;
  padding: 4px 5px;
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  text-align: center;
  text-shadow: 0 1px 0 #ffffff;
  background-color: #eeeeee;
  border: 1px solid #ccc;
}

.input-append .add-on,
.input-prepend .add-on,
.input-append .btn,
.input-prepend .btn {
  vertical-align: top;
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

.input-append .active,
.input-prepend .active {
  background-color: #a9dba9;
  border-color: #46a546;
}

.input-prepend .add-on,
.input-prepend .btn {
  margin-right: -1px;
}

.input-prepend .add-on:first-child,
.input-prepend .btn:first-child {
  -webkit-border-radius: 3px 0 0 3px;
     -moz-border-radius: 3px 0 0 3px;
          border-radius: 3px 0 0 3px;
}

.input-append input,
.input-append select,
.input-append .uneditable-input {
  -webkit-border-radius: 3px 0 0 3px;
     -moz-border-radius: 3px 0 0 3px;
          border-radius: 3px 0 0 3px;
}

.input-append .add-on,
.input-append .btn {
  margin-left: -1px;
}

.input-append .add-on:last-child,
.input-append .btn:last-child {
  -webkit-border-radius: 0 3px 3px 0;
     -moz-border-radius: 0 3px 3px 0;
          border-radius: 0 3px 3px 0;
}

.input-prepend.input-append input,
.input-prepend.input-append select,
.input-prepend.input-append .uneditable-input {
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

.input-prepend.input-append .add-on:first-child,
.input-prepend.input-append .btn:first-child {
  margin-right: -1px;
  -webkit-border-radius: 3px 0 0 3px;
     -moz-border-radius: 3px 0 0 3px;
          border-radius: 3px 0 0 3px;
}

.input-prepend.input-append .add-on:last-child,
.input-prepend.input-append .btn:last-child {
  margin-left: -1px;
  -webkit-border-radius: 0 3px 3px 0;
     -moz-border-radius: 0 3px 3px 0;
          border-radius: 0 3px 3px 0;
}

input.search-query {
  padding-right: 14px;
  padding-right: 4px \9;
  padding-left: 14px;
  padding-left: 4px \9;
  /* IE7-8 doesn't have border-radius, so don't indent the padding */

  margin-bottom: 0;
  -webkit-border-radius: 15px;
     -moz-border-radius: 15px;
          border-radius: 15px;
}

/* Allow for input prepend/append in search forms */

.form-search .input-append .search-query,
.form-search .input-prepend .search-query {
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

.form-search .input-append .search-query {
  -webkit-border-radius: 14px 0 0 14px;
     -moz-border-radius: 14px 0 0 14px;
          border-radius: 14px 0 0 14px;
}

.form-search .input-append .btn {
  -webkit-border-radius: 0 14px 14px 0;
     -moz-border-radius: 0 14px 14px 0;
          border-radius: 0 14px 14px 0;
}

.form-search .input-prepend .search-query {
  -webkit-border-radius: 0 14px 14px 0;
     -moz-border-radius: 0 14px 14px 0;
          border-radius: 0 14px 14px 0;
}

.form-search .input-prepend .btn {
  -webkit-border-radius: 14px 0 0 14px;
     -moz-border-radius: 14px 0 0 14px;
          border-radius: 14px 0 0 14px;
}

.form-search input,
.form-inline input,
.form-horizontal input,
.form-search textarea,
.form-inline textarea,
.form-horizontal textarea,
.form-search select,
.form-inline select,
.form-horizontal select,
.form-search .help-inline,
.form-inline .help-inline,
.form-horizontal .help-inline,
.form-search .uneditable-input,
.form-inline .uneditable-input,
.form-horizontal .uneditable-input,
.form-search .input-prepend,
.form-inline .input-prepend,
.form-horizontal .input-prepend,
.form-search .input-append,
.form-inline .input-append,
.form-horizontal .input-append {
  display: inline-block;
  *display: inline;
  margin-bottom: 0;
  vertical-align: middle;
  *zoom: 1;
}

.form-search .hide,
.form-inline .hide,
.form-horizontal .hide {
  display: none;
}

.form-search label,
.form-inline label,
.form-search .btn-group,
.form-inline .btn-group {
  display: inline-block;
}

.form-search .input-append,
.form-inline .input-append,
.form-search .input-prepend,
.form-inline .input-prepend {
  margin-bottom: 0;
}

.form-search .radio,
.form-search .checkbox,
.form-inline .radio,
.form-inline .checkbox {
  padding-left: 0;
  margin-bottom: 0;
  vertical-align: middle;
}

.form-search .radio input[type="radio"],
.form-search .checkbox input[type="checkbox"],
.form-inline .radio input[type="radio"],
.form-inline .checkbox input[type="checkbox"] {
  float: left;
  margin-right: 3px;
  margin-left: 0;
}

.control-group {
  margin-bottom: 10px;
}

legend + .control-group {
  margin-top: 20px;
  -webkit-margin-top-collapse: separate;
}

.form-horizontal .control-group {
  margin-bottom: 20px;
  *zoom: 1;
}

.form-horizontal .control-group:before,
.form-horizontal .control-group:after {
  display: table;
  line-height: 0;
  content: "";
}

.form-horizontal .control-group:after {
  clear: both;
}

.form-horizontal .control-label {
  float: left;
  width: 160px;
  padding-top: 5px;
  text-align: right;
}

.form-horizontal .controls {
  *display: inline-block;
  *padding-left: 20px;
  margin-left: 180px;
  *margin-left: 0;
}

.form-horizontal .controls:first-child {
  *padding-left: 180px;
}

.form-horizontal .help-block {
  margin-bottom: 0;
}

.form-horizontal input + .help-block,
.form-horizontal select + .help-block,
.form-horizontal textarea + .help-block {
  margin-top: 10px;
}

.form-horizontal .form-actions {
  padding-left: 180px;
}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
	height: auto;
}

.mozilla textarea,
.mozilla input[type="text"],
.mozilla input[type="password"],
.mozilla input[type="datetime"],
.mozilla input[type="datetime-local"],
.mozilla input[type="date"],
.mozilla input[type="month"],
.mozilla input[type="time"],
.mozilla input[type="week"],
.mozilla input[type="number"],
.mozilla input[type="email"],
.mozilla input[type="url"],
.mozilla input[type="search"],
.mozilla input[type="tel"],
.mozilla input[type="color"] {
    min-height: 31px;
}

/*-----------------------------------------------------------------------------------*/
/*	Header - styling of common elements, typography, etc.
/*-----------------------------------------------------------------------------------*/

header {
    width: 100%;
    position: relative;
	padding: 0;
}

.has-mobile-specific-content .mobile-header-content {
	display: none;
}

.header-container {
	position: relative;
}

.header-content {
	text-align: right;
}

.normal-header-content {
	position: absolute;
	top: 29px;
}


.normal-menu-holder {
	position: absolute;
    padding-right: 0;
	top: 66px;
}

.span12.normal-menu-holder {
    width: auto;
}

.mobile-header-content {
	position: absolute;
}

.mobile-menu-holder {
	position: absolute;
	z-index: 2;
}

/* Logo */

.logo-wrapper {
	z-index: 1;
	position: absolute;
	left: 0;
	top: -2px;
}

.mobile .logo-wrapper {
	position: relative;
}

a.logo {
	display: inline-block;
	text-indent: -9999px;
}

/* Menu */

html.no-touch .tablet-menu , html.touch .desktop-menu, .mobile-menu-holder {
	/* Make sure the correct menus are displayed */
	display: none;
}

nav {
	float: right;
	width: auto;
	text-align: left;
}

/* Menus - Superfish Styling */

.sf-menu, .sf-menu * {
    margin: 0;
    padding: 0;
    list-style:	none;
}

.sf-menu ul {
    position: absolute;
    top: -999em;
    width: 20em; /* left offset of submenus need to match (see below) */
}

.sf-menu ul li {
    width: 100%;
}

.sf-menu li.sfHover, html.no-touch .sf-menu li:hover {
    visibility: inherit; /* fixes IE7 'sticky bug' */
}

.sf-menu li {
    float: left;
    position: relative;
    height: 20px;
}

.sf-menu a {
    display: block;
    position: relative;
}

.sf-menu li.sfHover ul, html.no-touch .sf-menu li:hover ul {
    left: 0;
    top: 51px; /* match top ul list item height */
    z-index: 201;
}

ul.sf-menu li.sfHover li ul, html.no-touch ul.sf-menu li:hover li ul{
    top: -999em;
}

ul.sf-menu li li.sfHover ul, html.no-touch ul.sf-menu li li:hover ul {
    left: 20em; /* match ul width */
    top: 0;
}

ul.sf-menu li li.sfHover li ul, html.no-touch ul.sf-menu li li:hover li ul {
    top: -999em;
}

ul.sf-menu li li li.sfHover ul, html.no-touch ul.sf-menu li li li:hover ul {
    left: 20em; /* match ul width */
    top: 0;
}

ul.sf-menu li {
    height: auto;
}

/* Browser Specific Tweaking Styling */

html.ie8 .sf-menu li.sfHover ul,
html.ie9 .sf-menu li.sfHover ul,
html.ie8 html.no-touch .sf-menu li:hover ul,
html.ie9 html.no-touch .sf-menu li:hover ul{
	top: 46px;
}

/* Menus - Base styling */

.topmenu {
    line-height: 1.0;
    margin: 0;
    padding: 0;
    list-style: none;
    vertical-align: middle;
    float: right;
}

.topmenu a {
    display: block;
    text-decoration: none;
    border-bottom: none;
    line-height: 1.6em;
	font-size: 11px;
	padding: 13px 3px 19px 3px;
}

.topmenu strong {
	-webkit-transition: color .1s linear;
    -moz-transition: color .1s linear;
    -ms-transition: color .1s linear;
    -o-transition: color .1s linear;
    transition: color .1s linear;
	font-weight: bold;
    display: block;
	color: #2b2b2b;
}

.menu-link-wrap {
    display: block;
}

.topmenu .sfHover > a strong {
	/* Menu item hover color */
	/* Need descendant selector or all children menu items will also change color */
	color: #ddac23;
}

/* Menus - Top-level menu */

.topmenu > li:last-child > a {
	/* So the last menu item lines up with the edge of the page */
	padding-right: 0;
}

.topmenu > .menu-parent-item > a strong:after {
	/* Add the down arrow for menu items that have submenus */
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
	font-size: 0.9em;
    display: inline-block;
	content: "\f0dd";
	padding-left: 4px;
	position: absolute;
	top: 23%;
	max-width:10px;
}

.topmenu > .menu-parent-item > a {
	/* The down arrows require different padding */
	padding-right: 22px;
}

.topmenu > li > a strong {
	/* Top level menu items are uppercase */
	text-transform: uppercase;
}

/* Menus - Submenus */

.topmenu .sub-menu, .mobile-menu.topmenu  {
    background: white;
	background: rgba(255, 255, 255, 0.95);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
	border-top: 3px solid #ddac23;
}

.topmenu .sub-menu a {
	/* Submenu items aren't as tall at the top-level items */
	padding: 8px 20px 7px 20px;
}

.topmenu .sub-menu strong {
	/* Submenu items aren't bolded */
	font-weight: 400;
}

.topmenu .sub-menu .menu-link-wrap {
    border-left: 1px solid transparent;
}

.topmenu .sub-menu li:first-child > a {
    border-top: 1px solid transparent;
}

.topmenu .sub-menu li a, .mobile-menu.topmenu  li a {
    border-top: 1px solid #ededed;
}

.sf-menu .sub-menu {
	/* Use .sf-menu selector so this doesn't apply to the mobile menu */
	margin-left: -9px;
}

.sf-menu .sub-menu .sub-menu {
	/* Use .sf-menu selector so this doesn't apply to the mobile menu */
	margin-top: -3px;
	margin-left: 0;
}

.sub-menu .menu-parent-item > a strong:after {
	font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    display: inline-block;
	content: "\f0da";
	padding-left: 0;
	max-width:10px;
	position: absolute;
	top: 28%;
	right: 15px;
}

/* Mobile Menus */

.mobile .mobile-menu-holder {
    z-index: 201; /* So the menu appears over the Revolution Slider */
}

.mobile-menu-wrapper {
	/* Needed so that the menu shadow stays visible during the collapse animation */
	margin-left: -10px;
	margin-right: -10px;
	padding-left: 10px;
	padding-right: 10px;
}

.mobile-menu.topmenu  {
	box-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
	display: block;
    visibility: visible;
    float: none;
    margin-top: 5px;
	margin-bottom: 5px;
	text-align: left;
}

.mobile-menu.topmenu  ul {
	list-style: none;
}

.mobile-menu.topmenu  a {
	padding: 10px 20px;
}

.mobile-menu.topmenu  > li:first-child > a {
	border-top: none;
}

.mobile-menu.topmenu  ul a {
	padding-left: 40px;
}

.mobile-menu.topmenu  ul ul a {
	padding-left: 60px;
}

.mobile-menu.topmenu  ul ul ul a {
	padding-left: 80px;
}

.mobile-menu.topmenu  ul ul ul ul a {
	padding-left: 100px;
}

.mobile-menu.topmenu  ul ul ul ul ul a {
	padding-left: 120px;
}

.mobile-menu.topmenu  strong {
	text-transform: uppercase;
	font-weight: bold;
}

.mobile-menu.topmenu  strong:after  {
	/* No need to display the arrows associated with parent menu items */
	display: none;
	visibility: collapse;
}

.mobile-menu.topmenu  .sub-menu {
	/* Needed so that the submenus display tabbed over in a list (without shadows, etc.)*/
    border-top: 1px solid #ededed;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
}

/* Menus - IE Shadows */

.ie8 ul.sub-menu li > a, .ie7 ul.sub-menu li > a {
	/* No shadows in IE8/IE9 so substitute a gray border */
    border-left: 1px solid #ededed;
    border-right: 1px solid #ededed;
}
.ie8 ul.sub-menu, .ie7 ul.sub-menu {
	/* No shadows in IE8/IE9 so substitute a gray border */
    border-bottom: 1px solid #ededed
}


/* Subheader */

.subheader {
    position: relative;
	background: #f2f2f2;
	padding: 21px 0 19px 0;
}

.inset-vertical-shadow {
	box-shadow: inset 0  6px 6px -6px rgba(0, 0, 0, 0.2), inset 0 -6px 6px -6px rgba(0, 0, 0, 0.2);
}

.ie8 .inset-vertical-shadow .top-shadow-fallback,
.ie8 .top-shadow-fallback{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: url(../img/top-shadow.png) top left repeat-x;
}


.ie8 .inset-vertical-shadow .bottom-shadow-fallback {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    z-index: 2;
    background: url(../img/bottom-shadow.png) bottom left repeat-x;
}

p#breadcrumbs {
	margin-bottom: 5px;
}

p#breadcrumbs, p#breadcrumbs a {
    color: #b4b4b4;
	border-bottom-width: 0;
	font-size: 12px;
}

p#breadcrumbs a:hover {
	color: #ddac23;
}

.subheader h1 {
	font-size: 36px;
	line-height: 36px;
	text-transform: uppercase;
	font-weight: 900;
	margin: 0;
}

.subheader h2 {
	font-size: 16px;
	line-height: 16px;
	line-height: 1.3em;
	font-weight: 400;
	color: #ddac23;
	margin: 3px 0 0 0;
}

/*-----------------------------------------------------------------------------------*/
/*	Revolution Slider
/*-----------------------------------------------------------------------------------*/


.rev_slider_wrapper .tp-bullets {
    width: auto !important;
}

.rev_slider_wrapper {
    display: block;
    padding: 0 !important;
}

.banner-wrapper {
    position: relative;
}

.bullet.last {
    clear: none;
}



/*-----------------------------------------------------------------------------------*/
/*	Shortcodes - various site elements
/*-----------------------------------------------------------------------------------*/

/* Styled Headings */

h1.underline,
h2.underline,
h3.underline,
h4.underline,
h5.underline,
h6.underline{
    border-bottom: 2px solid #212121;
}

h1.underline, h4.underline  {
    padding-bottom: 2px;
}

h3.underline {
    line-height: 36px;
}

/* Buttons */

a.btn, a.btn:hover {
	border-bottom-width: 0;
}

a.btn, input[type="submit"] {
	border: 0;
}

a.btn.full-width {
	width: 100%;
	text-align: center;
}

.btn.danger,
.alert-message.danger,
.btn.error,
.alert-message.error {
    background-color: #fb3939;
}

.btn.success, .alert-message.success {
    background-color: #00B6F0;
}

.btn.info, .alert-message.info {
    background-color: #444;
}

.btn, .wpcf7-submit, input[type="submit"] {
    cursor: pointer;
    display: inline-block;
    background-color: #ecb825;
    background-repeat: no-repeat;
    background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));

    -ms-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);

    padding: 9px 21px 9px 21px;
    color: white;
    font-size: 14px;
    line-height: normal;
    -webkit-transition: 0.1s linear all;
    -moz-transition: 0.1s linear all;
    -ms-transition: 0.1s linear all;
    -o-transition: 0.1s linear all;
    transition: 0.1s linear all;
    margin: 0 8px 13px 0;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
}

.ie9 .btn, .ie8 .btn,
.ie9 input[type="submit"], .ie8 input[type="submit"],
.ie9 a.accordion-toggle, .ie8 a.accordion-toggle,
.ie9 .alert-message, .ie8 .alert-message,
.ie9 .dropcap-circle, .ie8 .dropcap-circle,
.ie9 div.styled-table > table > thead > tr > th, .ie8 div.styled-table > table > thead > tr > th,
.ie9 .tabs > li > a, .ie8 .tabs > li > a
{
    background-image: url(../img/transparent-gradient-large.png);
    background-position: top center;
    background-repeat: repeat;
    background-size: 300px 50px;
}

.ie9 .tabs > li.active > a, .ie8 .tabs > li.active > a {
    background: white;
}

.ie9 .btn.large, .ie8 .btn.large {
    background-size: 300px 100px;
}

.ie8 .btn, .ie8 a.btn, .ie8 a.btn:visited, .ie8 body a.btn, .ie8 body a.btn:visited, .ie8 .wpcf7-submit, .ie8 input[type="submit"] {
    border: none;
}

.ie9 input[type="text"], .ie10 input[type="text"] {
    display: inline-block;
    min-height: 30px;
}

.ie8 input[type="text"] {
    display: inline-block;
    height: 30px;
}

body div.header-content a.btn {
    margin-right: 0;
}

html.no-touch .btn:hover, html.no-touch .wpcf7-submit:hover, html.no-touch input[type="submit"]:hover {
    text-shadow: 0px 0px 8px rgba(255,255,255,.9);
    color: white;
    text-decoration: none;
}

.ie8 .btn:hover, .ie8 a.btn:hover, .ie8 a.btn:visited:hover, .ie8 body a.btn:hover, .ie8 body a.btn:visited:hover,
.ie8 .wpcf7-submit:hover, .ie8 input[type="submit"]:hover {
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; // first!
filter: alpha(opacity=90);					// second!
}

.gf_browser_ie.gform_wrapper div.gform_footer > input.button {
    padding: 10px 14px;
}

.btn:focus {
    outline: 1px dotted #666;
}

.btn.primary, .main a.btn.primary {
    color: #ffffff;
    background-color: #0064cd;
    background-repeat: repeat-x;
    background-image: -khtml-gradient(linear, left top, left bottom, from(#049cdb), to(#0064cd));
    background-image: -moz-linear-gradient(top, #049cdb, #0064cd);
    background-image: -ms-linear-gradient(top, #049cdb, #0064cd);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #049cdb), color-stop(100%, #0064cd));
    background-image: -webkit-linear-gradient(top, #049cdb, #0064cd);
    background-image: -o-linear-gradient(top, #049cdb, #0064cd);
    background-image: linear-gradient(top, #049cdb, #0064cd);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#049cdb', endColorstr = '#0064cd', GradientType = 0);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    border-color: #0064cd #0064cd #003f81;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

.btn:active {
    -webkit-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.15);
    -moz-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.15);
}

.btn.disabled {
    cursor: default;
    background-image: none;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    filter: alpha(opacity = 65);
    -khtml-opacity: 0.65;
    -moz-opacity: 0.65;
    opacity: 0.65;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.btn[disabled] {
    cursor: default;
    background-image: none;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    filter: alpha(opacity = 65);
    -khtml-opacity: 0.65;
    -moz-opacity: 0.65;
    opacity: 0.65;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.btn.large, a.btn.large:hover, .main .post a.btn.large:hover, .main .prime-page a.btn.large:hover {
    font-size: 18px;
    line-height: normal;
    padding: 17px 28px 17px 28px;
}

.btn.small, a.btn.small, a.btn.small:hover, .main .post a.btn.small, .main .prime-page a.btn.small:hover {
    padding: 9px 10px 8px 10px;
    margin: 0 8px 13px 0;
    font-size: 11px;
}

button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
    padding: 0;
    border: 0;
}

/* Display Shortcodes */
.fullsize-only {
    display: inherit;
}
.mobile-only {
    display: none;
}

/* Divider */
.shortcode-divider {
    display: block;
    margin: 10px 0;
    height: 0;
}

.shortcode-divider.thick {
    width: 100%;
    height: 2px;
    background: #212121;
}

.shortcode-divider.thin {
    height: 0;
    background: transparent;
    border-bottom: 1px dotted #999;
    margin: 0;
}

.shortcode-divider.medium {
    position: relative;
    width: 100%;
    display: block;
}

.page-content > .shortcode-divider.medium:first-child {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.shortcode-divider.medium div {
    float: left;
    margin-bottom: 10px;
}
.shortcode-divider.medium div.first-section {
    width: 100%;
    border-top: 2px solid #212121;
}

.shortcode-divider.medium div.second-section {
    position: absolute;
    left: 220px;
    right: 0;
    border-top: 2px solid #cdcdcd;
}



/* Icon Shortcode */

div.icon-shortcode {
    display: inline-block;
    font-size: 20px;
}

div.icon-shortcode {
    width: 18px;
    height: 30px;
    line-height: 30px;
}

div.icon-shortcode-with-background {
    width: 46px;
    height: 37px;
    line-height: 38px;
    margin-right: 5px;
}



div.icon-shortcode i {
    display: inline-block;
    width: 100%;
    height: 100%;
    text-align: left;
    vertical-align: middle;

}

div.icon-shortcode-with-background i {
    text-align: center;
    margin-right: 0.5em;
}

.safari div.icon-shortcode-with-background i {
    vertical-align: top;
    margin-top: 1px;
}

div.icon-shortcode-content {
    display: inline-block;
    margin-left: 6px;
}

div.icon-shortcode-with-background i.icon-star {
    line-height: 36px;
}


/* Searchbar Shortcode */
.search-form-shortcode {
    margin-top: 2px;
}


/* Social Icons */

ul.social-icons-shortcode {
	line-height: 1em;
	padding-top: 2px;
	list-style-type: none;
	margin: 0;
	display: inline-block;
}

.ie8 ul.social-icons-shortcode {
    padding-top: 0;
}
ul.social-icons-shortcode li {
	display: inline-block;
	margin-left: 12px;
}

ul.social-icons-shortcode.large-size li {
	margin-left: 8px;
}

ul.social-icons-shortcode li:first-child {
	margin-left: 0;
}

a.social-link {
    position: relative;
    display: block;
    color: white;
    font-size: 15px;
    background-color: #4b4b4b;
    margin: 0;
    padding: 0;
    width: 20px;
    height: 20px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    text-align: center;
}
.ie8 .body-wrapper {
    position: relative;
}

.ie8 .small-size a.social-link {
    background: transparent url(../img/small-social-bg.png) left center no-repeat;
    width: 22px;
    height: 22px;
    border: 0 !important;
}

.ie8 .right-shadow-fallback {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -5px;
    width: 5px;
    background: transparent url(../img/right-shadow.png) top left repeat-y;
}

.ie8 .left-shadow-fallback {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -5px;
    width: 5px;
    background: transparent url(../img/left-shadow.png) top right repeat-y;
}



.ie9 a.social-link {
    padding: 0 !important;
}

.large-size a.social-link {
	border-radius: 15px;
	background-color: #cccccc;
	width: 31px;
	height: 31px;
}

.ie8 .large-size a.social-link {
    background: transparent url(../img/large-social-bg.png) top center no-repeat;
    height: 33px;
    box-shadow: none;
    filter: none !important;
    border: 0 !important;
}
.ie8 a.social-link:hover {
    box-shadow: none;
    filter: none !important;
    border: 0 !important;
}

.ie9 .large-size a.social-link {
    width: 32px;
}


a.social-link:hover {
	border-bottom-color: transparent;
}

a.social-link i {
	display: block;
	position: absolute;
	color: white;
	-webkit-transition: text-shadow .2s linear;
    -moz-transition: text-shadow .2s linear;
    -ms-transition: text-shadow .2s linear;
    -o-transition: text-shadow .2s linear;
    transition: text-shadow .2s linear;
}


.large-size a.social-link i {
	font-size: 20px;
}

a.social-link:hover i {
	text-shadow: 0px 0px 8px rgba(255,255,255,.8);
}

a.facebook-link i {
	left: 7px;
}
.ie8 .small-size a.facebook-link i {
    top: 2px;
    left: 9px;
}

.large-size a.facebook-link i {
	top: 7px;
	left: 12px;
}

.ie9 .large-size a.facebook-link i{
    top: 9px;
}
.ie8 .large-size a.facebook-link i{
    top: 8px;
}

a.twitter-link i {
	left: 3px;
}
.ie8 .small-size a.twitter-link i {
    top: 2px;
    left: 5px;
}
.large-size a.twitter-link i {
	top: 7px;
	left: 7px;
}
.ie9 .large-size a.twitter-link i {
    top: 8px;
}
.ie8 .large-size a.twitter-link i {
    top: 7px;
}

a.linkedin-link i {
	left: 5px;
}
.ie8 .small-size a.linkedin-link i {
    top: 2px;
    left: 6px;
}
.large-size a.linkedin-link i {
	top: 6px;
	left: 8px;
}
.ie9 .large-size a.linkedin-link i {
    top: 8px;
}
.ie8 .large-size a.linkedin-link i{
    top: 7px;
}

a.googleplus-link i {
	top: 1px;
	left: 5px;
}
.ie8 .small-size a.googleplus-link i {
    top: 2px;
    left: 6px;
}
.large-size a.googleplus-link i {
	top: 7px;
	left: 8px;
	font-size: 22px;
}
.ie9 .large-size a.googleplus-link i,
.ie8 .large-size a.googleplus-link i{
    top: 9px;
}

a.pinterest-link i {
	top: 1px;
	left: 4px;
	font-size: 16px;
}
.ie8 .small-size a.pinterest-link i {
    top: 2px;
    left: 5px;
}
.large-size a.pinterest-link i {
	top: 5px;
	left: 6px;
	font-size: 25px;
}
.ie9 .large-size a.pinterest-link i,
.ie8 .large-size a.pinterest-link i{
    top: 6px;
}

a.email-link i {
	font-size: 12px;
	left: 5px;
}
.ie8 .small-size a.email-link i {
    top: 1px;
    left: 6px;
}
.large-size a.email-link i {
	font-size: 18px;
	top: 8px;
	left: 8px;
}
.ie9 .large-size a.email-link i{
    top: 10px;
}

a.rss-link i {
	font-size: 14px;
	left: 5px;
}
.ie8 .small-size a.rss-link i {
    top: 1px;
    left: 6px;
}
.large-size a.rss-link i {
	top: 6px;
	left: 9px;
}
.ie9 .large-size a.rss-link i,
.ie8 .large-size a.rss-link i{
    top: 8px;
}

/* Call Button */

a.call-btn {
	margin: 0;
}

/* Spacers */

.hspacer {
	display: inline-block;
}

/* Testimonial Shortcode */

.testimonial-shortcode {
    position: relative;
    background: #212121;
    text-align: center;
    padding: 24px 20px;
}

.testimonial-shortcode .tip-wrapper {
    position: absolute;
    left: 50%;
    bottom: -12px;
}

.testimonial-shortcode .tip {
    content: ' ';
    position: relative;
    left: -50%;

    z-index: 1;

    border-right: 13px solid transparent;
    border-left: 13px solid transparent;
    border-top: 13px solid #212121;
}


.testimonial-shortcode .message {
    color: white;
    font-size: 16px;
    line-height: 24px;
    /*font-weight: 500;*/
    margin-bottom: 4px;
}


.testimonial-shortcode .attribution {
    color: #ecb825;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* Gallery */

.prime-gallery-wrapper {
    width: 100%;
    height: auto;
    /*overflow: hidden;*/
}

.gallery-caption {
    display: inline-block;
}

.prime-gallery {
    display: block;
    whitespace: nowrap;
    opacity: 0;

    -webkit-transition: opacity 1s linear;
    -moz-transition: opacity 1s linear;
    -ms-transition: opacity 1s linear;
    -o-transition: opacity 1s linear;
    transition: opacity 1s linear;
}

.no-js .prime-gallery {
    opacity: 1;
}

html.touch .prime-gallery a.image-link,
html.no-touch .prime-gallery a.image-link{
    display: block;
    float: left;
    clear: none;
    height: auto;
    word-spacing: 0;
    padding: 0;
    margin: 0;
    line-height: 0;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}

.prime-gallery a.image-link img {
    width: 100%;
    height: auto;
    box-shadow: none;
}



.ie8 article.item, .ie8 a.image-link {
    /*overflow: hidden;*/
}




/* Drop Caps */

span.dropcap {
    display: block;
    float: left;
    font-size: 40px;
    line-height: 34px;
    margin: 4px 6px 0 0;
}

span.dropcap.dropcap-circle {
    margin-top: 4px;
    margin-right: 9px;
    color: white;
    background-color: #444;
    background-repeat: no-repeat;
    background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));

    -ms-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    padding: 9px 10px 4px 10px;
    text-shadow: rgba(0, 0, 0, 0.2) 0px -1px 0px;
}

/* Accordion */

.collapse {
    -webkit-transition: height 0.35s ease;
    -moz-transition: height 0.35s ease;
    -ms-transition: height 0.35s ease;
    -o-transition: height 0.35s ease;
    transition: height 0.35s ease;
    position: relative;
    overflow: hidden;
    height: 0;
}
.collapse.in {
    height: auto;
}
.accordion {
    margin-top: 0;
    margin-bottom: 18px;
}
.accordion-group {
    margin-bottom: 6px;
    -ms-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.accordion.minimal .accordion-group {
    box-shadow: none;
    border-bottom: 1px dotted #999;
    margin-bottom: 4px;
}

.accordion-heading {
    border-bottom: 0;
    position: relative;
    cursor: pointer;
}

.accordion-heading .accordion-toggle {
    display: block;
    padding: 10px 15px 10px 15px;
}

.accordion.minimal .accordion-toggle{
    padding-left: 0;
    padding-top: 6px;
}

.accordion-inner {
    padding: 15px 15px 5px 15px;
    height: auto;
    /*margin-bottom: 1px;*/
    border: 1px solid #E5E5E5;
    border: 1px solid rgba(0, 0, 0, 0.15);
    /*border: 1px solid #E5E5E5;*/
    /*border: 1px solid rgba(0, 0, 0, 0.15);*/
    border-top: none;
    border-bottom: 0;
}

.accordion.minimal .accordion-inner {
    padding-top: 4px;
}

.accordion.minimal .accordion-inner{
    border: 0;
}

a.accordion-toggle, a.accordion-toggle:visited {
    font-weight: bold;
    background-color: #ECB825;
    background-repeat: no-repeat;
    background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));

    color: white;
    font-size: 13px;
    text-decoration: none;

    -webkit-transition: 0.1s linear all;
    -moz-transition: 0.1s linear all;
    -ms-transition: 0.1s linear all;
    -o-transition: 0.1s linear all;
    transition: 0.1s linear all;

    border-bottom: 0;
    text-transform: uppercase;
}

.accordion.minimal a.accordion-toggle,
.accordion.minimal a.accordion-toggle:visited {
    padding-bottom: 8px;
    background-image: none;
    background: transparent;
    color: #212121 !important;
}

html.no-touch a.accordion-toggle:hover {
    text-shadow: 0px 0px 8px rgba(255,255,255,.9);
    color: white;
    text-decoration: none;
    border-bottom: 0;
}

a.accordion-toggle > span {
    display: inline-block;
    padding-top: 2px;
    margin-left: 15px;
}

html.touch a.accordion-toggle:hover {
    text-decoration: none;
}
i.toggle-icon {
    display: block;
    position: absolute;
    left: 14px;
}

.accordion.minimal i.toggle-icon {
    left: 0;
}

/* Styled Table */

div.styled-table {
    display: inline-block;
    width: 100%;
}

div.styled-table > table {
    width:100%;
    text-align: left;
    white-space: normal;
}

div.styled-table > table > thead > tr > th {
    padding: 10px 10px 9px 10px;
    text-align: left;

    margin-top: 10px;
    background-color: #ECB825;
    background-repeat: no-repeat;
    background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));


    text-shadow: rgba(0, 0, 0, 0.2) 0px -1px 0px;
    color: white;
}

div.styled-table > table td {
    padding: 10px 10px 7px 10px;
}

div.styled-table > table tbody {
    margin-top: 3px;
}

div.styled-table > table tbody tr {
    border: 1px solid #f0f0f0;
    border-top: none;
    background: transparent;
}

div.styled-table > table tfoot {
    font-size: 0.9em;
}

/* Blockquote */

blockquote {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 16px;
    /*font-weight: 300;*/
    line-height: 1.3em;
    color: #DDAC23;
}

blockquote, span.pullquote {
    border-left: 4px solid #f0f0f0;
    padding-left: 1em;
    margin-left: 1em;
    margin-right: 3em;
}

blockquote > p {
    margin: 0;
    position: relative;
}

blockquote.large {
    margin: 0;
    font-size: 21px;
    line-height: 30px;
    text-align: center;
    border: 1px dotted #999;
    border-left: 0;
    border-right: 0;
    padding: 26px 0 25px 0;
    color: #212121;
    font-weight: 500;
}


/* Alerts */

.close, .main a.close, .main a.close:hover {
    float: right;
    color: black;
    font-size: 24px;
    padding-top: 1px;
    /*margin-top:-2px;*/
    font-weight: bold;
    line-height: 17.5px;
    text-shadow: 0 1px 0 #ffffff;
    filter: alpha(opacity = 20);
    -khtml-opacity: 0.2;
    -moz-opacity: 0.2;
    opacity: 0.2;
    border: none;
    text-decoration: none;
}

.close:hover, .main a.close:hover {
    color: #000000;
    text-decoration: none;
    filter: alpha(opacity = 40);
    -khtml-opacity: 0.4;
    -moz-opacity: 0.4;
    opacity: 0.4;
    background: none;
}

.alert-message {
    position: relative;
    margin-bottom: 10px;
    background-color: #ECB825;
    background-repeat: no-repeat;
    background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));

    -ms-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    padding: 12px 19px 11px 19px;
    text-shadow: rgba(0, 0, 0, 0.2) 0px -1px 0px;
    color: white;
    font-size: 13px;
    line-height: 1.5em;
    -webkit-transition: 0.1s linear all;
    -moz-transition: 0.1s linear all;
    -ms-transition: 0.1s linear all;
    -o-transition: 0.1s linear all;
}
html body div.alert-message.alert-shortcode a,
html body div.alert-message.alert-shortcode a:hover,
html body div.alert-message.alert-shortcode a:visited {
    color: white;
}

.alert-message .close {
    *margin-top: 3px; /* IE7 spacing */
}

div.alert-message.alert-shortcode {

}

.alert-message h5 {
    line-height: 18px;
}

.alert-message p:first-child {
    margin-top: 0;
}

.alert-message div {
    margin-top: 5px;
    margin-bottom: 2px;
    line-height: 28px;
}

.alert-message .btn {
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
    margin-bottom: 0;
    margin-top: 0;
}

.alert-message.block-message {
    background-image: none;
    background-color: #fdf5d9;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    padding: 14px;
    border-color: #fceec1;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.alert-message.block-message ul, .alert-message.block-message p {
    margin-right: 30px;
}

.alert-message.block-message ul {
    margin-bottom: 0;
}

.alert-message.block-message li {
    color: #404040;
}

.alert-message.block-message .alert-actions {
    margin-top: 5px;
}

.alert-message.block-message, .alert-message.block-message:hover {
    color: #404040;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.alert-message.block-message.error {
    background-color: #fddfde;
    border-color: #fbc7c6;
}

.alert-message.block-message.success {
    background-color: #d1eed1;
    border-color: #bfe7bf;
}

.alert-message.block-message.info {
    background-color: #ddf4fb;
    border-color: #c6edf9;
}

.alert-message .alert-actions a.btn {
    color: black !important;
}

/* Image shortcode */

a.image-link.no-link, a.image-link.no-link:hover {
    cursor: default;
}

a.image-link.image-shortcode {
    display: inline-block;
    position: relative;
}

a.image-link.image-shortcode.full-width-image > img {
    width: 100%;
    height: auto;
}

.pp_pic_holder > div.ppt {
    display: none !important;
}


/* Pricing Table */

.pricing-table {
    width: 100%;
    height: auto;
}

.pricing-table .plan {
    position: relative;
    display: block;
    float: left;
    z-index: 1;
    text-align:center;
    background: #f8f8f8;
    border: 1px solid #E5E5E5;
    border:1px solid rgba(0, 0, 0, 0.1);
    border-left: 0;
    border-top: 0;
    /*margin-top: -1px;*/
}

.pricing-table .plan:first-child {
    border-left: 1px solid #E5E5E5;
    border-left:1px solid rgba(0, 0, 0, 0.1);
}

.pricing-table .plan .inner {
    border-radius: 4px;
}

.pricing-table .plan-header {
    border-bottom: 1px solid #E5E5E5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 3px solid #ecb825;
}

.pricing-table .plan-header h3 {
    margin-bottom: 0;
    margin-top: 0;
    padding: 13px 0 2px 0;
    color: #191919;
    letter-spacing: -1px;
    font-size: 20px;
    font-weight: 400;
}

.pricing-table .plan-header .price {
    position: relative;
    display: block;
    letter-spacing: -1px;
    color: #191919;
    font-weight: 300;
    font-size: 55px;
    line-height: 0.8em;
    vertical-align: text-bottom;
}

.ie9 .pricing-table .plan-header .price {
    padding-top: 10px;
}

.pricing-table .plan-header .period {
    line-height: 3em;
    color: #b6b6b6;
}

.pricing-table .plan-header .plan-action {
    border-top: none;
    border-bottom: none;
    padding: 6px 13% 20px 13%;
}

.pricing-table .plan-header .plan-action .btn {
    margin: 0 1px;
}

.pricing-table .plan .inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-table .plan .inner > ul > li {
    border-top: 1px solid #eee;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
    padding: 10px 13%;
}

.pricing-table .plan .inner > ul > li:first-child {
    border-top: none;
}

.pricing-table .plan .inner > ul > li ul {
    padding-top: 5px;
    padding-left: 0px;
    font-size: 11px;
}

.pricing-table.columns-1 .plan {
    width: 100%;
}

.pricing-table.columns-2 .plan {
    width: 50%;
}

.pricing-table.columns-3 .plan {
    width: 33.333333333333333%;
}

.pricing-table.columns-4 .plan {
    width: 25%;
}

.pricing-table.columns-5 .plan {
    width: 20%;
}

.pricing-table.columns-6 .plan {
    width: 16.6666666666666666%;
}

/* Recent Posts */

.recent-posts-shortcode, .recent-projects-shortcode {
    width: 100%;
    height: auto;
}

.recent-posts-shortcode a.image-link {
    display: block;
    float: left;
    margin-bottom: 1px;
}

.recent-posts-shortcode a.image-link span.overlay-thumbnail {
    top: -5px;
}

.recent-posts-preview, .recent-projects-preview {
    position: relative;
    float: left;
    padding-right: 20px;
    margin-bottom: 10px;
}

.recent-posts-preview img.post-preview-image,
.recent-projects-shortcode img.post-image{
    width: 100%;
    height: auto;
    padding: 0;

}

.recent-projects-shortcode .recent-projects-preview.col-width-3,
.recent-posts-shortcode .recent-posts-preview.col-width-3{
    padding-right: 0;
    width: 31.5% !important;
    margin-left: 2.75%;
}

.recent-projects-shortcode .recent-projects-preview.col-width-4,
.recent-posts-shortcode .recent-posts-preview.col-width-4{
    padding-right: 0;
    width:23.404255319% !important;

    margin-left: 2.127659574%;
}

.recent-projects-shortcode .recent-projects-preview.col-width-3:first-child ,
.recent-posts-shortcode .recent-posts-preview.col-width-3:first-child,
.recent-projects-shortcode .recent-projects-preview.col-width-4:first-child ,
.recent-posts-shortcode .recent-posts-preview.col-width-4:first-child {
    margin-left: 0;
}

.recent-projects-shortcode img.post-image {
    margin-bottom: 0;
}

.recent-posts-shortcode h5 {
    margin: 0 0 10px 0;
}
.recent-posts-shortcode span.categories, .recent-projects-shortcode span.categories {
    padding-left: 0;
    padding-right: 0;
}

.recent-posts-shortcode span.categories a, .recent-projects-shortcode span.categories a {
    display: inline-block;
    line-height: 1.2em;
    margin-bottom: 3px;
    padding-top: 5px;
}

.recent-projects-shortcode span.categories.filters {
    /*margin-top: 15px;*/
}

.recent-projects-shortcode span.categories.filters a {
    margin-right: 3px;
}

.recent-projects-shortcode .description {
    /*margin-bottom: 10px;*/
}

/* Banner */

.banner-wrapper {
    background: #212121;
}

.banner {
    display: block;
    margin-bottom: 0;
    height: auto;
    margin-left: 0;
    padding: 0 0 0 0;
    text-align: center;
    color: #a1a1a1;

}

.banner.align-left {
    text-align: left;
}

.banner.align-right {
    text-align: right;
}

.banner.align-center {
    text-align: center;
}

.banner h1, .banner h2, .banner h3, .banner h4, .banner h5, .banner h6 {
    color: white;
}

.banner > .span12 {
    float: none;
    margin: 0 auto;
    width: 940px;
}

.banner a.image-link img {
    border: 1px solid white;
}

.banner a {
    border-color: #777;
}

.banner a:hover {
    border-color: #DDAC23
}

/* Columns with Dividers */

.columns-with-divider {
    position: relative;
    display: block;
}

.column-with-divider {
    position: relative;
    float: left;
    border-left: 1px dotted #444;
    border-left: 1px dotted rgba(255, 255, 255, 0.26);
}

.column-with-divider:first-child {
    border-left: 0;
}

/* Tabs */

.tabs, .pills {
    margin: 0 0 0 0;
    padding: 0;
    list-style: none;
    zoom: 1;
}

.tabs:before,
.pills:before,
.tabs:after,
.pills:after {
    display: table;
    content: "";
    zoom: 1;
    *display: inline;
}

.tabs:after, .pills:after {
    clear: both;
}

.tabs > li:first-child {
    background: none;
    padding-left: 0;
}

.tabs > li, .pills > li {
    float: left;
    padding-left: 0px;
    padding-right: 0px;

}

.tabs > li.active, .tabs > li.right-of-active {
    background: none;
}

.tabs > li > a, .pills > li > a {
    display: block;
}

ul.tabs, .prime-post ul.tabs {
    float: left;
    width: 100%;
    /*    border-bottom: 1px solid #ddd;*/
    padding-left: 0;
}

.tabs > li {
    position: relative;
    top: 0;
    /*margin-right: -1px;*/
    padding-top:3px;
}

.main .tabs > li > a, .tabs > li > a, body .main .tabs > li > a, body .tabs > li > a {
    display: inline-block;
    text-transform: uppercase;
    background-color: #ecb825;
    background-repeat: no-repeat;
    background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;

    padding: 11px 15px 11px 15px;
    font-size: 13px;
    line-height: normal;

    font-weight: bold;
    color: white;

    margin-bottom: -1px;
    text-decoration: none;
    border-bottom: 0;
}

.main .tabs > li > a:hover, .tabs > li > a:hover {

}

.main .tabs > li.active > a:hover, .tabs > li.active > a:hover {
    text-decoration: none;
    border-bottom: 0;
}

.tabs > li.active {
    padding-top: 0;
    border-top: 3px solid #ecb825;
    background: white;

}

.tabs > li.active:first-child a {
    border-left: 1px solid #e5e5e5;
}

.tabs > li.active.last-tab a {
    border-right: 1px solid #e5e5e5;
}

.main .tabs > li.active > a, .tabs > li.active > a {
    /*-webkit-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.15);*/
    /*-moz-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.15);*/
    /*box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.15);*/
    border-top-width: 0;
    padding-top: 11px;
    color: #212121;
    background: white !important;
}

.ie8 .main .tabs > li.active > a, .ie8 .tabs > li.active > a {
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; // first!
filter: alpha(opacity=80);
}

.tabs .menu-dropdown, .tabs .dropdown-menu {
    top: 35px;
    border-width: 1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.tabs a.menu:after, .tabs .dropdown-toggle:after {
    border-top-color: #999;
    margin-top: 15px;
    margin-left: 5px;
}

.tabs li.open.menu .menu, .tabs .open.dropdown .dropdown-toggle {
    border-color: #999;
}

.tabs li.open a.menu:after, .tabs .dropdown.open .dropdown-toggle:after {
    border-top-color: #555;
}

.tab-content {
    background: white;
    margin-bottom: 1em;
    clear: both;
}

.tab-content > div {

    border-top: none;
    margin-top: 0;
}

.tab-content > div, .pill-content > div {
    visibility: hidden;
    display: block;
    opacity: 0;
    height: 0;
    width: auto;
    padding: 0;
    overflow: hidden;
    padding-left: 13px;
    padding-right: 13px;
    -webkit-transition: opacity 1s linear;
    -moz-transition: opacity 1s linear;
    -ms-transition: opacity 1s linear;
    -o-transition: opacity 1s linear;
    transition: opacity 1s linear;
    border-radius: 0 0 4px 4px;
}

.tab-content {
    border: 1px solid #e5e5e5;
    height: auto;
    overflow: hidden;
}

.tab-content > div.active {
    visibility: visible;
    height: auto;
    opacity: 1;
    padding: 15px 15px 2px 15px;
    margin-top: 0;
}


/*-----------------------------------------------------------------------------------*/
/*	Footer
/*-----------------------------------------------------------------------------------*/

.widget-area {
	line-height: 19px;
}

footer {
	background: #212121;
	padding: 43px 0 20px 0;
}

.widget-area a {
	border-bottom-width: 0;
}

.widget-area a:hover {
	border-bottom-width: 1px;
}

h3.widget-title, h3.widget-title a {
	color: white;
	font-size: 13px;
	text-transform: uppercase;
	text-decoration: none;
}

h3.widget-title {
	border-top: 2px solid #a1a1a1;
    border-top: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 1px dotted #444;
	border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
	line-height: 13px;
	padding: 18px 0 13px 0;
	margin: 0 0 11px 0;
}

.widget {
	margin-bottom: 16px;
	color: #a1a1a1;
}

.widget a {
	color: #ecb825;
}

/* Divider */

.widget .divider {
	width: 100%;
	margin: 0;
    border-top: 1px dotted #444;
	border-top: 1px dotted rgba(255, 255, 255, 0.2);
	height: 0;
	background: none;
	margin-bottom: 10px;
}

/* List-Based Widget Base Styling */

article.widget {
    overflow: hidden;
}

article.widget.widget_search {
    overflow: visible;
}

.widget_archive ul, .widget_categories ul, .widget_recent_comments ul,
.widget_nav_menu ul, .widget_pages ul, .widget_links ul, .widget_meta ul, .widget_rss ul,
ul.tweet_list, ul.post-list, article.widget_recent_entries ul,
.widget_prime_subpages ul {
	list-style-type: none;
	padding-left: 0;
	margin: -1px 0 0 0;
}

.widget_archive ul > li,
.widget_nav_menu ul > li,
.widget_pages ul > li,
.widget_links ul > li,
.widget_meta ul > li,
.widget_rss ul > li,
ul.tweet_list > li,
.ie8 ul.tweet_list > li,
ul.post-list > li,
article.widget_recent_entries ul > li,
.widget_recent_comments ul > li,
.widget_prime_subpages ul > li {
    padding-left: 0;
	padding-top: 8px;
    margin-left: 0;
	padding-bottom: 7px;

	border-style: dotted;
    border-color: #444;
	border-color: rgba(255, 255, 255, 0.2);
	border-width: 1px 0 0 0;
}

ul.tweet_list > li:first-child,
.ie8 ul.tweet_list > li:first-child,
ul.post-list > li:first-child,
.ie8 ul.post-list > li:first-child,
article.widget_recent_entries ul > li:first-child,
.widget_recent_comments ul > li:first-child,
.widget_nav_menu ul.menu > li:first-child,
ul.blogroll > li:first-child,
article.widget_meta ul > li:first-child,
article.widget_pages > div.widget-container > ul > li:first-child,
article.widget_rss ul > li:first-child,
.widget_archive ul > li:first-child
{
    border-top: none;
    padding-top: 0;
}

/* Custom Menu & Pages Widgets */

.widget_nav_menu ul ul, article.widget_pages ul ul {
	border-style: dotted;
	border-color: rgba(255, 255, 255, 0.2);
	border-width: 1px 0 0 0;
	margin: 7px 0 0 0;
	padding: 0 0 0 1.4em;
}

.widget_nav_menu ul > li:first-child, article.widget_pages ul > li:first-child {
	border-top-width: 0;
}

.widget_nav_menu ul > li:last-child, article.widget_pages ul > li:last-child {
	padding-bottom: 0;
}

.widget_nav_menu ul li a {
    line-height: 14px;
}

.widget_nav_menu li.current_page_item > a {
    color: #A1A1A1;
}

.widget_nav_menu li.current_page_item > a:hover {
    border-bottom-width: 0;
}

/* Subpages Widget */

.sidebar .widget.widget_prime_subpages {
    padding-bottom: 0;
}

.widget_prime_subpages ul {
    margin-top: -12px;
}

.widget_prime_subpages ul li:first-child {
    border-top: 0;
}

.widget_prime_subpages ul li.current_page {
    background: #ECB825;
    border-style: solid;
    border-bottom: 1px solid #ECB825;
    margin-bottom: -1px;
    z-index: 2;
}

.widget_prime_subpages ul li.current_page a {
    color: #212121;
    font-weight: bold;
}


/* Categories Widget */

.widget_categories ul {
	padding-top: 5px;
	margin-bottom: 0;
}

.widget_categories li, #filters li {
	display: inline-block;
	margin-bottom: 3px;
	margin-right: 1px;
	padding: 0 !important;
}

.widget_categories li a, span.categories a, span.categories a, #filters li div {
	font-weight: bold;
	font-size: 12px;
	text-transform: uppercase;
	color: #212121;
	line-height: 18px;
	background-color: #ecb825;
	margin: 0;
	padding: 4px 6px 2px 6px;
	border: none;

	-webkit-transition: background-color .2s linear;
    -moz-transition: background-color .2s linear;
    -ms-transition: background-color .2s linear;
    -o-transition: background-color .2s linear;
    transition: background-color .2s linear;
}

.widget_categories li a:hover, #filters li div:hover, span.categories a:hover {
	background-color: #ffc216;
}

/* Popular Posts */

span.post-date {
    display: block;
    font-size: 11px;
}

/* Video Embed */

.embed-wrapper {
    line-height: 0;
	margin: 0 0 10px 0;
}

.embed-wrapper > iframe {
    width: 100%;
    height: auto;
}

div.embed-widget-text {
	margin-bottom: 26px;
}

/* Twitter Widget */

.tweet_time {
    display: block;
	font-size: 11px;
}

ul.tweet_list a.tweet_avatar {
	padding-top: 4px;
    position: absolute;
}

ul.tweet_list span.tweet_text, ul.tweet_list span.tweet_time {
    display: inline-block;
    padding-left: 50px;
	word-wrap: break-word;
}

ul.tweet_list span.tweet_text a, ul.tweet_list span.tweet_time a {
	white-space: pre; /* CSS 2.0 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3.0 */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: -o-pre-wrap; /* Opera 7 */
	white-space: -moz-pre-wrap; /* Mozilla */
	white-space: -hp-pre-wrap; /* HP Printers */
	word-wrap: break-word; /* IE 5+ */
}

/* RSS Widget */

.widget_rss span.rss-date, .widget_rss cite {
	display: block;
	font-size: 11px;
}

h3.widget-title a.rsswidget:first-child {
	display: none;
}

/* Search Widget */

.widget_search h3.widget-title {
	margin-bottom: 16px;
}

.search-widget > form.search-form {
    margin: 0;
}
form.search-form fieldset {
	border-width: 0;
}

form.search-form fieldset > div {
    border-width: 0;
}

form.search-form {
    margin-bottom: 0;
}

form.search-form > fieldset {
    padding: 0;
    margin: 0;
    position: relative;
    -webkit-transition: 0.1s linear all;
    -moz-transition: 0.1s linear all;
    -ms-transition: 0.1s linear all;
    -o-transition: 0.1s linear all;
    transition: 0.1s linear all;

}
form.search-form button {
    width: 30px;
    height: 30px;
	padding: 0;
	margin: 0;
    position: absolute;
    right: 0;
    top: 0;
	border: 0;
	box-shadow: none;
}
form.search-form button i, .ie8 form.search-form button i, .ie7 form.search-form button i {
    width: 30px;
    height: 30px;
    font-family: FontAwesome;
    font-weight: 300;
    font-style: normal;
    display: inline-block;
	font-size: 16px;
	color: white;
	position: absolute;
	right: 0;
	top: 10px;
	content: "\f002";
}
form.search-form input[type="text"] {
	height: auto;
	padding-right:35px;
	width: 100%;
    margin-bottom: 0;
    height: 30px;
}
.ie9 form.search-form input[type="text"] {
	border-bottom-left-radius: 0px;
	border-top-left-radius: 0px;
}
.ie8 form.search-form button i {
	top: -7px;
	right: 1px;
}

/* Text Widget */

div.textwidget {
	margin-bottom: 0;
}

/* Embed Widget */

div.video-embed-shortcode.autosize {
    width: 100%;
}

html.mozilla div.video-embed-shortcode.autosize {
    height: 100%;
}

div.video-embed-shortcode > iframe {
    width: 100%;
    height: 100%;
}


/* Subfooter */

.subfooter {
	padding: 15px 0;
}

a.top-link {
	text-align: right;
	float: right;
}

/*-----------------------------------------------------------------------------------*/
/*	Sidebar
/*-----------------------------------------------------------------------------------*/

.sidebar .widget {
	background: #212121;
	margin-bottom: 27px;
	padding-bottom: 3px;
}

.sidebar .textwidget > ul {
    margin-left: 0;
}

.sidebar .textwidget > div.shortcode-divider {
    margin-left: -16px;
    margin-right: -16px;
    width: 200%;
}

.sidebar .widget a {
	border-bottom-width: 1px;
	border-bottom-color: transparent;
}

.sidebar .widget a:hover {
	border-bottom-color: #ECB825;
}

.sidebar .widget li {
	padding-left: 16px;
	padding-right: 16px;
}

.sidebar .widget ul.social-icons-shortcode li:first-child {
    margin-left: 0;
}

.sidebar .widget ul.social-icons-shortcode li {
    display: inline-block;
    margin-left: 12px;
    padding: 0;
}

.sidebar .widget a.social-link:hover {
    border-color: transparent;
}

.sidebar .textwidget li[class^="icon-"], .sidebar .textwidget  li[class*=" icon-"] {
    margin-left: 2px;
}

.sidebar .widget:last-child {
	margin-bottom: 0;
}

h3.widget-title.sidebar-widget-title {
	border-top-width: 0;
	padding-left: 16px;
	padding-right: 16px;
}

.sidebar .widget_categories ul {
	padding-left: 17px;
	padding-right: 16px;
	margin-bottom: 10px;
}

.sidebar div.tagcloud {
	padding-top: 5px;
	padding-bottom: 10px;
	padding-left: 16px;
	padding-right: 16px;
}

.sidebar ul.menu, .sidebar .widget_pages >div >ul {
	margin-bottom: 5px;
}

 .sidebar .widget_pages >div >ul >li:first-child {
	padding-top: 0;
}

.sidebar ul.sub-menu, .sidebar ul.children {
	padding-left: 0;
}

.sidebar ul.menu li, .sidebar .widget_pages li {
	padding-left: 0;
	padding-right: 0;
}

.sidebar ul.menu li a, .sidebar .widget_pages li a {
	margin-left: 16px;
	margin-right: 16px;
	display: inline-block;
}

.sidebar ul.menu li li a, .sidebar .widget_pages li li a {
	margin-left: 32px;
}

.sidebar ul.menu li li li a, .sidebar .widget_pages li li li a {
	margin-left: 48px;
}

.sidebar ul.menu li li li li a, .sidebar .widget_pages li li li li a {
	margin-left: 64px;
}

.sidebar ul.menu li li li li li a, .sidebar .widget_pages li li li li li a {
	margin-left: 80px;
}

.sidebar ul.menu li li li li li li a, .sidebar .widget_pages li li li li li li a {
	margin-left: 96px;
}

.sidebar .widget_search {
	background: transparent;
	margin-bottom: 23px;
}

.widget_search h3.sidebar-widget-title {
	display: none;
}

.widget_search input {
	margin-bottom: 0;
}

.sidebar .widget_prime_embed .embed-wrapper,
.sidebar .widget_prime_embed .embed-widget-text{
    padding-left: 16px;
    padding-right: 16px
}

.sidebar div.embed-widget-text {
    margin-bottom: 10px;
}

.sidebar div.textwidget {
    margin-bottom: 0;
}

.sidebar .widget_text .textwidget {
    padding-left: 16px;
    padding-right: 16px;
}

/*-----------------------------------------------------------------------------------*/
/*	Page
/*-----------------------------------------------------------------------------------*/

.pagecontainer {
	margin-top: 40px;
	margin-bottom: 35px;
}

.pagecontainer.has-left-sidebar div.sidebar-span {
    float: left;
}

.pagecontainer.has-left-sidebar div.page-content-span {
    float: right;
}

.page-content-with-right-sidebar {
	padding-right: 10px;
}

.page-content-with-left-sidebar {
	padding-left: 10px;
}

/*-----------------------------------------------------------------------------------*/
/*	Portfolio
/*-----------------------------------------------------------------------------------*/

div.filter-wrapper {
    position: relative;
    width: 100%;
    border-bottom: 2px solid #212121;
    padding-bottom: 15px;
    margin-bottom: 44px;
}

/* Hide Mobile Filters*/
select.filter {
    display: none;
    visibility: collapse;
}

ul#filters
{
    margin: 0;
    margin: 0;
    padding: 0;
    float: left;
    list-style: none;
    vertical-align: middle;
}

ul#filters li {
    cursor: pointer;
    margin-bottom: 0;
}

ul#filters li div {
    display: inline;
}

ul#filters li div.current {
    background: #212121;
    color: #ecb825;
}

a.shuffle-link {
    float: right;
    padding-top: 3px;
    padding-bottom: 0;
    line-height: 15px;
}

a.shuffle-link i {
    display: inline-block;
    font-style: normal;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 15px
}

a.shuffle-link i:before {
    font-size: 16px;
    line-height: 16px;
    padding-right: 5px;
}

div.prime-portfolio {
    overflow: visible;
    position: relative;
    padding-bottom: 0;
    margin-bottom: 0;
}

div#masonry-container {
    margin-left: -20px;
    margin-right: -20px;
    overflow-x: visible;
    min-height: 90px;
}

.ie9 div#masonry-container, .ie8 div#masonry-container {
    overflow: visible !important;
}

div#masonry-container .notice, div#masonry-container .search-widget {
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;

}

.isotope-item {
    z-index: 1;
}

.isotope-hidden.isotope-item {
    pointer-events: none;
    z-index: 1;
}

/* Portfolio (Isotope) CSS3 transitions */

.isotope,
.isotope .isotope-item {
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    transition-duration: 0.8s;
}

.isotope {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    transition-property: height, width;
}

.isotope .isotope-item {
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    transition-property: transform, opacity;
}

/* Disabling Portfolio (Isotope) CSS3 transitions */

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
    -webkit-transition-duration: 0s;
    -moz-transition-duration: 0s;
    transition-duration: 0s;
}

.fade {
    -webkit-transition: opacity 0.15s linear;
    -moz-transition: opacity 0.15s linear;
    -ms-transition: opacity 0.15s linear;
    -o-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
    opacity: 0;
}

.fade.in {
    opacity: 1;
}

article.item div.description {
    margin-top: 0;
    padding-bottom: 0;
    margin-bottom: 15px;
}

article.item {
    max-width: 220px;
    overflow: visible;
    margin: 0 0 15px 20px;
    padding: 0;
    opacity: 0;
    display:inline-block;
}

.no-js article.item {
    opacity: 1;
}

.column-3 article.item {
    max-width: 300px;
}

.column-2 article.item {
    max-width: 460px;
}

.column-1 article.item {
    max-width: 940px;
    margin-bottom: 35px;
}

.column-1 article.item > * {
    display: block;
    float: left;
}

.column-1 article.item > a.image-link {
    width: 620px;
    margin-right: 30px;
}

.column-1 article.item > div.description {
    padding-top: 15px;
    border-width: 0;
    border-top-width: 1px;
    border-style: dotted;
    border-color: #444;
    border-color: rgba(0, 0, 0, 0.3);
    width: 290px;
}

.portfolio-with-1-column .portfolio-paginators, .portfolio-with-1-column .portfolio-paginators ul.pagination {
    margin-top: 0;
}

.portfolio-with-1-column div.filter-wrapper {
    margin-bottom: 40px;
}

article.item a.image-link img {
    width: 100%;
    height: auto;
}

h3.portfolio-item-title, h3.portfolio-item-title a, .recent-posts-preview h5, .recent-posts-preview h5 a {
    font-size: 15px;
    line-height: 15px;
    color: #212121;
    margin: 10px 0 12px 0;
    font-weight: 500;
}

.column-1 h3.portfolio-item-title, .column-1 h3.portfolio-item-title a {
    font-size: 18px;
    line-height: 18px;
    margin: 10px 0 20px 0;
}

a.image-link span.overlay-thumbnail {
    position: absolute;
    margin: 0;
    padding: 0;
    top: -10px;
    left: -10px;
    width: 26px;
    height: 26px;
    border-radius: 13px;
    font-size: 22px;
    text-align: center;
    box-shadow: none;
    font-weight: 400;
    background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.4), rgba(0, 0, 0, 0.4));
    background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 0.2));
}

.ie8 a.image-link {
    overflow: visible;
}

a.image-link span.overlay-thumbnail i {
    line-height: 27px;
}

.portfolio-paginators,
.portfolio-paginators ul.pagination {
    margin-top: 17px;
}


/*-----------------------------------------------------------------------------------*/
/*	Blog
/*-----------------------------------------------------------------------------------*/

.post-preview {
	margin-bottom: 32px;
}

.post-preview:first-child, .single-post div.post {
	margin-top: -12px;
}

.post-title {
	margin-top: 0;
}

.post-title a, .single-post .post-title, .comments-title, #respond h3 {
	font-size: 21px;
	line-height: 42px;
	color: #212121;
	display: block;
	border-bottom-width: 2px;
	border-bottom-color: #212121;
	border-bottom-style: solid;
	font-weight: 500;
}

.post-preview-image, .post-featured-image {
	width: 100%;
	height: auto;
}

.image-link, .image-link:hover {
	clear: both;
	border-bottom-width: 0;
}

img.post-preview-image, img.post-featured-image {
	line-height: 0;
	margin-top: 5px;
	margin-bottom: 8px;
}

img.post-featured-image {
	margin-bottom: 12px;
}

p.post-meta {
	padding-top: 3px;
	margin-bottom: 8px;
}

.no-preview-image p.post-meta {
	margin-bottom: 9px;
}

span.categories, span.author, span.date, span.comment-count {
	display: inline-block;
	padding-left: 2px;
	padding-right: 2px;
}

span.author {
	padding-left: 0;
}

ul.pagination {
	border-top: 2px solid #212121;
	list-style: none;
	width: 100%;
	text-align: center;
	margin-top: 51px;
	margin-left: 0;
	margin-right: 0;
	padding-top: 12px;
}

ul.pagination li {
	display: inline-block;
}

ul.pagination li a {
	font-size: 15px;
	text-transform: uppercase;
}

li.older-link {
	float: right;
}

li.newer-link {
	float: left;
}

a.disabled {
	color: #d7d7d7;
	border-bottom-width: 0;
	cursor: default;
}

div.post-content p {
	margin-bottom: 14px;
}

div.post-meta-extra {
	margin-top: 15px;
	padding-top: 13px;
	border-top: 1px dotted #212121;
}

p.tags {
	float: right;
    padding-left: 1.5em;
    display: block;
    position: relative;
}
p.tags a {
    display: inline-block;
    padding-right: 1px;
}
p.tags a:last-child {
    padding-right: 0;
}

p.tags:before {
    font-family: FontAwesome;
    content: "\f02c";
    display: block;
    padding-right: 2px;
    position:absolute;
    font-size: 1.2em;
    opacity: 0.8;
    left: 0;
    bottom: -1px;
}

p.social-share {
	float: left;
}

div.no-tags p.social-share {
	float: none;
}

p.social-share, p.tags {
	margin-bottom: 5px;
}

.facebook-share, .twitter-share,
.linkedin-share, .google-share,
.email-share {
    margin-right: 5px;
    display: inline-block;
    position: relative;
    padding-left: 1.2em;
}

.facebook-share:before, .twitter-share:before,
.linkedin-share:before, .google-share:before,
.email-share:before{
    font-family: FontAwesome;
    display: inline-block;
    font-size: 1.2em;
    position:absolute;
    left: 0;
    bottom: -1px;
}

.facebook-share:before {
    content: "\f082";
}

.twitter-share:before {
    content: "\f081";
}

.linkedin-share:before {
    content: "\f08c";
}

.google-share:before {
    content: "\f0d4";
}

.email-share:before {
    content: "\f0e0";
    font-size: 1.1em;
}

.share-intro-text {
    display: inline-block;
    margin-right: 4px;
}

.social-share-links a:last-child {
    margin-right: 0;
}

.blog-medium-image .post-preview:first-child {
    margin-top: 0;
}

.blog-medium-image .post-preview {
    margin-top: 30px;
    margin-bottom: 0;
    padding-top: 17px;
    padding-bottom: 0;
    border-top: 2px solid #212121;
}

.blog-medium-image  .post-preview > a.image-link {
    float: left;
    width: 330px;
    margin-right: 25px;
    margin-top: 8px;
    position: relative;
}

.has-left-sidebar .blog-medium-image  .post-preview > a.image-link {
    float: right;
    margin-right: 0;
    margin-left: 25px;
}

.blog-medium-image img.post-preview-image,.blog-medium-image img.post-featured-image {
    /*padding-top: 4px;*/
    margin-top: 4px;
}

.blog-medium-image a.image-link span.overlay-thumbnail {
    top: -8px;
}

.has-left-sidebar .blog-medium-image a.image-link span.overlay-thumbnail {
    right: -10px;
    left: auto;
}

.blog-medium-image .has-preview-image  div.post-preview-heading {
    float: right;
    width: 335px;
}

.blog-medium-image .has-preview-image div.post-content {
    padding-top: 5px;
    float: right;
    width: 335px;
}

.blog-medium-image h2.post-title {
    margin-bottom: -3px;
}

.blog-medium-image h2.post-title a {
    border-bottom: none;

}

.blog-medium-image .has-preview-image p.post-meta {
    float: right;
    width: 335px;
    padding-top: 0;
    padding-bottom: 0;
}


.blog-medium-image span.categories {
    padding-left: 0;
    display: block;
    margin-top: 7px;
}

.blog-medium-image ul.pagination {
    margin-top: 31px;
}


.has-left-sidebar .blog-medium-image .has-preview-image p.post-meta,
.has-left-sidebar .has-preview-image div.post-content,
.has-left-sidebar .blog-medium-image .has-preview-image  div.post-preview-heading {
    float: left;
}


.comments {
	margin-top: 27px;
}

.comment > .avatar {
    position: absolute;
    top: 0;
    left: 0;
}

.comment-title {
	font-weight: bold;
}

.comment-permalink {
	display: block;
	float: right;
	line-height: 14px;
}

.comment-form-wrapper {
	margin-top: 32px;
	margin-bottom: 12px;
}

.comment-form {
	padding-top: 10px;
	margin-bottom: 0;
}

.comment-form fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.is-logged-in label[for="comment"] {
	display: none;
}

.comment-form input.text {
	margin-bottom: 18px;
	min-width: 300px;
}

.comment-form textarea {
	margin-bottom: 18px;
	width: 100%;
	min-height: 200px;
}

.comment-form input[type="submit"] {
	margin-bottom: 0;
}

p.cancel-comment-reply a {
	display: inline-block;
	margin-top: 20px;
	color: #ed1c24;
}

p.cancel-comment-reply a:hover {
	border-bottom-color: red;
}

/* Contact Form 7 */

.widget input, .widget textarea {
    width: 100%;
}

.wpcf7 img.ajax-loader[style*="hidden"] {
    display: none;
}

.sidebar .widget .wpcf7 li {
    padding-left: 1px;
    padding-right: 1px;
}

.wpcf7 div.wpcf7-validation-errors,
.wpcf7 div.wpcf7-mail-sent-ng,
.wpcf7 div.wpcf7-mail-sent-ok {
    padding: 8px 14px 8px 14px;
    margin: 4px 0 20px 0;
    color: #B94A48;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #F2DEDE;
    border: 1px solid #EED3D7;
    font-weight: bold;
    text-align: center;
}

.wpcf7 div.wpcf7-mail-sent-ok {
    color: #468847;
    background-color: #DFF0D8;
    border-color: #D6E9C6;
}

.wpcf7-not-valid-tip {
    display: none;
}

input.wpcf7-not-valid,
textarea.wpcf7-not-valid{
    border: 2px solid #B94A48;
    background-color: #F2DEDE;
}

form.wpcf7-form.sent * {
    display: none;
}

form.wpcf7-form.sent div.wpcf7-mail-sent-ok {
    display: block;
}

/* Slider Contact Form */

div.wpcf7 ul.slider-contact li span.wpcf7-form-control-wrap > input{
    width: 100%;
    margin-bottom: 8px;
}

div.wpcf7 ul.slider-contact li.side-by-side span.wpcf7-form-control-wrap,
div.wpcf7 ul.slider-contact li.side-by-side input.wpcf7-form-control.wpcf7-submit {
    width: 49%;
    float: right;
}

div.wpcf7 ul.slider-contact li.side-by-side span.wpcf7-form-control-wrap:first-child {
    width: 49%;
    float: left;
}

div.wpcf7 ul.slider-contact li.side-by-side span.wpcf7-form-control-wrap > input {
    width: 100%;
    float: left;
}

div.wpcf7 ul.slider-contact li.stretch-submit {
    padding: 0 1px;
}

div.wpcf7 ul.slider-contact li.stretch-submit input[type="submit"] {
    width: 100%;
}

div.wpcf7 ul.slider-contact input[type="text"],
div.wpcf7 ul.slider-contact input[type="email"]{
    font-size: 14px;
    line-height: 21px;
    padding-left: 10px;
    padding-right: 0;
}

ul.slides form {
    margin-bottom: 7px;
}

.layer-content-wrapper div.wpcf7-response-output {
    margin-bottom: 0;
}

/*********************************************************************************************************************/
/*********************************************************************************************************************/
/**************************************************** LEGACY STYLES **************************************************/
/*********************************************************************************************************************/
/*********************************************************************************************************************/


.hidden {
    display: none;
    visibility: hidden;
}

.visible-phone {
    display: none !important;
}

.visible-desktop {
    display: inherit !important;
}

.hidden-desktop {
    display: none !important;
}

.ie8 .visible-tablet, .ie8 .visible-phone-portrait, .ie8 .visible-phone-landscape,
.ie8 .hidden-tablet, .ie8 .hidden-desktop {
    display: none;
    visibility: collapse;
}

.ie8 .display-desktop {
    display: inherit;
    visibility: visible;
}

/* Responsive Display Shortcode */

/* Desktop */

html.no-touch .responsive-display.hide-desktop {
    display: none;
    visibility: collapse;
}

/*-------------------------------------------------------------------------------------------------------
        Document
-------------------------------------------------------------------------------------------------------*/

html.touch a:hover {
    text-decoration: none;
}


abbr[title] {
    border-bottom: none;
}

.no-js body {
    display: block;
}



div.plan-header h3 {
    letter-spacing: -0.05em;
    line-height: 48px;
    margin: 30px auto 0 auto;
}

/* Page Containers */

div#subheader h1, div#subheader h2 {
    text-align: center;
}

div#subheader h1 {
    font-size: 40px;
    line-height: 40px;
    margin: 60px auto 0 auto;
}

div#subheader h2 {
    margin-top: 5px;
    font-weight: 300;
    font-size: 20px;
    line-height: 40px;
}

.main {
    position: relative;
    background: white;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    width: 980px;
    margin: 0 auto 30px auto;
    overflow: hidden;
}

.main.home {
    /*    margin-top: 0;*/
    /*    padding-top: 18px;*/
}

.prime-page, .prime-post, .comments {
    /*    padding: 26px 6px 26px 0;
   margin-right: 14px;
   margin-bottom: 10px;*/
    /*	padding: 0 26px;*/
}

.prime-page {
    margin: 40px 45px 42px 45px;
    /*	padding-left: 25px;
     padding-right: 25px;*/
    /*	padding: 0 25px 25px 25px;*/
}

/*.main.has-sidebar.left-sidebar .prime-page {
    margin-left: 14px;
    margin-right: 0;
    padding-left: 6px;
    padding-right: 0;
}*/

.main.has-sidebar.left-sidebar div.sidebar-wrapper.right-sidebar-wrapper {
    display: none;
    visibility: collapse;
}

div.sidebar-wrapper.span4 {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    border-left: 1px solid #E5E5E5;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    background: #fafafa;
    background: rgba(0, 0, 0, 0.01);
    margin: 0;
    width: 30%;
}


div.left-sidebar div.sidebar-wrapper.span4 {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid #E5E5E5;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

div.left-sidebar div.sidebar-wrapper.span4 div#sidebar {
    padding-left: 45px;
    padding-right: 45px;
}


div.page-container.row-fluid > div.span8 {
    width: 70%;
    overflow: hidden;
}

div.left-sidebar div.page-container.row-fluid > div.span8 {
    float: right;
}

/*div#sidebar {
	margin: 40px 0;
	padding: 0 45px 0 40px;
	text-shadow: rgba(255, 255, 255, 0.597656) 0px 1px 0px;
}*/

/*div#sidebar article.widget-first {
	margin-top:15px;
} */

/*div#sidebar > article > div.sidebar-widget > h3 {
	line-height: 13px;
	font-family: 'Helvetica Neue', 'Segoe UI', 'Arial', sans-serif;
	font-weight: bold;
}*/

.prime-post {
    padding-top: 0;
    margin-top: -5px;
}

.prime-single-portfolio {
    padding-top: 29px;
    padding-bottom: 0;
}

.prime-full-width {
    /*	padding: 25px;*/
}

article.item > iframe {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}




/* WP Core Styling*/

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter, div.aligncenter {
    display:block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin:0;
    max-width: 98.5%;
    padding:0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size:11px;
    line-height:17px;
    margin:0;
    padding:0 4px 5px;
}

figcaption {
    margin-top: 1em;
    margin-bottom: 1em;
}

.sticky, .bypostauthor { }




/*-------------------------------------------------------------------------------------------------------
        Header
-------------------------------------------------------------------------------------------------------*/

/*div.header-bg {
	width: 100%;
	height: 500px;
	position: absolute;
	top: 0;
}
*/


/*html.touch header {*/
/*margin-top: 10px;*/
/*}*/

/*nav {
	width: 980px;
	margin: 0 auto;
}*/

/*.tagline {
    display: inline-block;
    vertical-align: middle;
    float: left;
    position: relative;
    top: 46px;
    padding-left: 10px;
    color: #7d7d7d;
}*/

/*div.tagline {
	display: inline-block;
	float: left;
	color: white;
	margin-top: 13px;
	line-height: 1em;
	font-weight: bold;
	text-shadow: 0 -1px rgba(0, 0, 0, 0.2);

	margin-left: 12px;
	padding-left: 13px;
	font-weight: bold;
	border-left: 1px dotted white;
	border-left: 1px solid rgba(255, 255, 255, 0.2);
}*/



/*html.std-selector body header a,
html.std-selector body header a:hover,
html.std-selector body header div.social-links a:hover,
html.std-selector body header a:visited {
	color: white;
}*/

/*-------------------------------------------------------------------------------------------------------
        Menus
-------------------------------------------------------------------------------------------------------*/




/*html.touch ul.topmenu.desktop-menu, html.no-touch ul.tablet-menu.tablet-menu-landscape, ul.topmenu.tablet-menu, ul.topmenu.mobile-menu, div.mobile-menu-wrapper, a.btn.mobile-menu-btn {
    display: none;
    visibility: collapse;
}*/

/* Header Social Icons */


/*div.standard-header-content div.social-links > a:first-child {
	border-left: none;
}*/

/*span.call-us-button {
	margin-left: 40px;
}*/

/*body div.header-content a:hover {
	color: white;
	opacity: 1;
}

ul.social-links li {
    line-height: 1.5em;
}

ul.social-links li:first-child, ul.social-links li:first-child a {
    line-height: 1.6em;
}

ul.social-links a {
    text-decoration: none;
}
ul.social-links a:hover {
    text-decoration: underline;
}

ul.social-links li span.arrow {
    display: inline-block;
    vertical-align: bottom;
    margin-bottom: -1px;
}

.ie7 ul.social-links li a > span.arrow {
    text-decoration: none;
}

ul.social-links li:first-child a span.arrow {
    margin-bottom: 0;
}*/

/*-------------------------------------------------------------------------------------------------------
        Page
-------------------------------------------------------------------------------------------------------*/

div.subheader-wrapper {
    border-bottom: 1px solid #e5e5e5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px 4px 0 0;
}

div.main.cp_slider div.subheader-wrapper,
div.main.flex_slider div.subheader-wrapper,
div.main.content_slider div.subheader-wrapper,
div.main.cp_slider div.content-wrapper > div.overlay-divider:first-child,
div.main.flex_slider  div.content-wrapper > div.overlay-divider:first-child,
div.main.content_slider  div.content-wrapper > div.overlay-divider:first-child {
    display: none;
    visibility: collapse;
}

/*div#subheader {
    padding: 0;
    padding-bottom: 0;
}*/

/*div#subheader div.divider {
    width: 1004px;
    padding-top: 6px;
    margin-bottom: 0;
}*/

/*#subheader h1 {*/
/*    margin: 0;*/
/*    font-size: 20px;*/
/*    line-height: 20px;*/
/*}*/

/*#subheader h2 {
	color: #999;
	margin: 10px auto 45px auto;
	line-height: 30px;
}*/



p#breadcrumbs a {
    /*    text-decoration: underline;*/
}

div.content-wrapper {
    position: relative;
    /*	border-top: 3px solid #f8f8f8;
     border-top: 3px solid rgba(0, 0, 0, 0.025);*/
}

div.overlay-divider {
    height: 3px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background: #f8f8f8;
    background: rgba(0, 0, 0, 0.02);
    z-index: 3;
}

.ie8 div.overlay-divider {
    background: black;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=2)";
    filter: alpha(opacity=2);
}

div.overlay-divider.bottom {
    bottom: 0;
    top: auto;
}

div.page-container {
    /*	margin-top: -3px;*/
}

/*-------------------------------------------------------------------------------------------------------
        Front Page
-------------------------------------------------------------------------------------------------------*/

div.intro {
    border-radius: 4px;
    margin: 0 auto;
    /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);*/
}

div.frontpage-slider-wrapper {
    /*    border-radius: 4px 4px 0 0;*/

}

div.flexslider {
    /*    overflow: hidden;*/
}

div.home.prime-page {
    padding-top: 0;
    margin-bottom: 0;
}

/*div.home.prime-page > .grid_3, .recent-posts-shortcode .grid_3  {*/
/*padding-bottom: 15px;*/
/*padding-top: 24px;*/
/*}*/

div.home.prime-page > .grid_3.omega {
    margin-right: 0;
}


/*-------------------------------------------------------------------------------------------------------
        Footer
-------------------------------------------------------------------------------------------------------*/

footer {
    /*	position: relative;*/
    /*	overflow: visible;*/
    /*	border-left: 1px solid white;
     border-right: 1px solid white;*/
    /*	background: #f8f8f8;*/
    /*	padding: 12px 45px 35px 45px;*/
    /*    width: 100%;*/
    /*	width: 916px;
     margin: 10px auto;*/
    /*    padding-bottom: 20px;*/
    /*    color: #b4b4b4;*/
    /*    line-height: 18px;*/
    /*    overflow-x: hidden;*/
    /*    border-radius: 4px 4px 0 0;*/
    /*    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);*/
    /*	text-shadow: rgba(255, 255, 255, 0.6) 0px 1px 0px;*/
    /*	color: #777;*/
    /*	border-radius: 0 0 4px 4px;*/

    /*background-color: #333333;
   background-image: -webkit-gradient(linear, left top, left bottom, from(#333333), to(#666666));
   background-image: -webkit-linear-gradient(top, #333333, #666666);
   background-image:    -moz-linear-gradient(top, #333333, #666666);
   background-image:     -ms-linear-gradient(top, #333333, #666666);
   background-image:      -o-linear-gradient(top, #333333, #666666);
   background-image:         linear-gradient(to bottom, #333333, #666666);
   text-shadow: rgba(0, 0, 0, 0.2) 0px -1px 0px;
   color: #eee;*/

    /*background-color:
   #79B743;
   background-image: -moz-linear-gradient(top,
   #79B743,
   #58B28D);
   background-image: -ms-linear-gradient(top,
   #79B743,
   #58B28D);
   background-image: -o-linear-gradient(top,
   #79B743,
   #58B28D);
   background-image: -webkit-linear-gradient(top,
   #79B743,
   #58B28D);
   background-image: linear-gradient(top,
   #79B743,
   #58B28D);
   text-shadow: rgba(0, 0, 0, 0.2) 0px -1px 0px;
   color: white;*/
}

/*footer article.widget > div.container > h3 {
	text-transform: uppercase;
}

footer article.widget > div.container > h3, footer article.widget > div.container a {
	color: white;
}*/

/*footer div.border.border-top {
	position: absolute;
	height: 3px;
	border-top: 1px solid #E5E5E5;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	background: rgba(0, 0, 0, 0.02);
	top: 0;
	left: -10px;
	right: -1px;
}
*/
/*footer div.divider {
    display: none;
	visibility: collapse;
    width: 3000px;
    margin-left: -1000px;
    height: 1px;
    background: #212121;
    float: left;
}*/

footer a, footer a:visited {
    /*    color: white;*/
    text-decoration: none;
}

footer h3 {
    /*    color: white;*/
    /*font-family: 'Helvetica Neue', 'Segoe UI', 'Arial', 'sans-serif';*/
    /*    text-transform: none;*/
    /*    margin: 0 0 11px 0;*/
    /*	margin: 13px 0 20px 0;
     font-size: 13px;
 line-height: 13px;
 font-weight: bold;
     letter-spacing: 0;*/
    /*    border-bottom: 1px solid #363636;*/
    /*    padding: 0 0 10px 0;*/
}

footer .widget {
    /*    margin-top: 30px;*/
}
/*
body footer a, body footer a:visited {
    color: white;
}*/

footer a:hover {
    /*    color: white;*/
}

.footer-logo {
    text-align: center;
}

.footer-logo h3 {
    margin-bottom: 17px;
}

.footer-logo h3 a {
    border: none;
}

.footer-logo span#tagline {
    display: block;
}

footer > .container_12 > div.grid_3:first-child > div.widget-first.divider {
    background: none;
}


/*.subfooter {
	width: 980px;
	margin: 0 auto 30px auto;
	text-align: center;
	color: #bbb;
	text-shadow: rgba(255, 255, 255, 0.597656) 0px 1px 0px;
}*/
/*
#subfooter #copyright {
    float: left;
}

#subfooter #social {
    float: right;
}*/

/*#subfooter a, #subfooter a:visited {
    color: #7c7c7c;
    text-decoration: none;
}*/

#subfooter a:hover {
    text-decoration: underline;
}

/*-------------------------------------------------------------------------------------------------------
        Shortcodes
-------------------------------------------------------------------------------------------------------*/

/* Social */
div.social-shortcode {
    display: inline-block;
    padding-top: 3px;
}
div.social-shortcode.counter-right span.fb-wrap {
    margin-top: -2px;
}

div.fb-like {
    margin-right: 5px;
}

div.social-shortcode.counter-right iframe.twitter-share-button {
    max-width: 87px;
}
div.social-shortcode.counter-right div#___plusone_0 {
    max-width: 67px;
}
div.social-shortcode.counter-right div.fb-like > span > iframe {
    /*	max-width: 103px;*/
    margin-top: -3px;
}
div.social-shortcode.counter-right div.fb-like.hasLikes {
    /*	max-width: 86px !important;*/
}

html.webkit.ms-windows div.social-shortcode.counter-right div.fb-like.hasLikes,
html.mozilla.ms-windows div.social-shortcode.counter-right div.fb-like.hasLikes {
    /*	max-width: 79px !important;*/
}

div.social-shortcode > span.in-wrap {
    display: inline-block;
    position: relative;
    min-width: 30px;
    height: 18px;
}

div.social-shortcode.counter-right > span.in-wrap > span.IN-widget {
    top: -2px;
    position: absolute;

}

div.social-shortcode.counter-top span.fb-wrap,
div.social-shortcode.counter-top span.twitter-wrap,
div.social-shortcode.counter-top span.g-wrap,
div.social-shortcode.counter-top span.in-wrap,{
    display: inline-block;
    /*	float: left;*/
    /*	margin-top: -3px;*/
}



div.social-shortcode.counter-top span.fb-wrap  iframe{
    margin-top: -3px;
}
div.social-shortcode.counter-top span.twitter-wrap {
    margin-right: 7px;
}
div.social-shortcode.counter-top span.g-wrap {
    margin-right: 6px;
}

div.social-shortcode.counter-top > span.in-wrap > span.IN-widget {
    bottom: -1px;
    position: absolute;
}

.ie8 div.social-shortcode.counter-top > span.in-wrap > span.IN-widget,
.ie9 div.social-shortcode.counter-top > span.in-wrap > span.IN-widget {
    bottom: 2px;
}


/* Buttons */







/* Tabs */








/* Alerts */



/* Dividers */


.ie8 .main div.divider, .ie8 .main div#subheader div.divider {
    /*	border-bottom: 1px solid #eee;*/
}

/*.main div.prime-page div.divider, .main.has-sidebar div.divider, .main.has-sidebar div.prime-page > div.divider {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-shadow: none;
    border-bottom: 1px dotted #ddd;
}
*/
/*div.divider {
    height: 3px;
	border-top: 1px solid #E5E5E5;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	background: #F8F8F8;
	background: rgba(0, 0, 0, 0.02);
    display: block;
	border-bottom: none;
    width: 1280px;
    margin-left: -50px;
	margin-bottom: -4px;
}*/

.ie8 .main div.prime-page div.divider, .ie8 .main.has-sidebar div.divider, .ie8 .main.has-sidebar div.prime-page > div.divider, .ie8 .main div.prime-page > div.divider, .ie8 .main div#subheader div.divider {
    /*    border-bottom: 1px solid #eee;*/
}

/* Accordion */


/* Gallery */


html.no-touch a.image-link {
    transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
}

a.image-link.no-frame {
    border: 0;
}

a.image-link.no-frame span.image-overlay {
    top: 0;
    left: 0;
    bottom: 5px;
    right: 0;
}

/*html.no-touch .prime-gallery a.image-link */
html.no-touch span.image-overlay {
    position: absolute;
    margin: 0;
    /*    top:-4px;
   left:-4px;
   right: -4px;
   bottom: -4px;*/
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    /*	border-width: 4px;*/
    border-style: solid;
    /*    border: 4px solid #ff8000;*/
    background: rgba(255, 255, 255, 0.75);
    opacity: 0;
    border-radius: 4px;

}

html.no-touch.ie8 span.image-overlay {
    display: none;
    visibility: collapse;
}

/*html.no-touch .prime-gallery */
html.no-touch a.image-link:hover span.image-overlay {
    opacity: 1;
}

html.no-touch.ie8 a.image-link:hover span.image-overlay {
    display: block;
    visibility: visible;
}

/*.prime-gallery */


.prime-gallery a.desktop-row {
    margin-right: 0;
}


/* Contact Form */

form.wpcf7-form ul {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

form.wpcf7-form ul li:first-child {
    padding-top: 0;
}

form.wpcf7-form ul br {
    display: none;
    visibility: collapse;
}

form.wpcf7-form  ul input {
    float: none;
    margin-bottom: 6px;
}

form.wpcf7-form  ul textarea {
    /*height: 200px;*/
    /*width: 97.5%;*/
    /*margin-bottom: 17px;*/
}

form.wpcf7-form  ul label {
    font-weight: bold;
    text-align: left;
    float: none;
    display: block;
    padding-top: 6px;
    padding-bottom: 6px;
}

form.wpcf7-form  ul input[type="submit"] {
    font-weight: bold;
    display: inline-block;
}

form.wpcf7-form ul p {
    display: inline-block;
    margin-left: 4px;
}

/* Styled Table */




/* Blockquote */



/* Video Embed Shortcode */

div.video-embed-shortcode, div#map_canvas {
    /*    border: 4px solid #eee;
  transition: border 0.2s;
  -moz-transition: border 0.2s;
  -webkit-transition: border 0.2s;
  -o-transition: border 0.2s;*/
}


div.video-embed-shortcode:hover, div#map_canvas:hover {
    /*    border-color: #ff8000;*/
}

div.map-wrapper {
    position: relative;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.18);
}

div.map-wrapper.full {
    margin-left: -45px;
    margin-right: -45px;
    border-top: none;
    margin-top:-40px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}





html.boxed-layout body .recent-posts-shortcode h5 > a,
html.boxed-layout body .recent-posts-shortcode h5 > a:visited {
    color: #333;
    text-decoration: none;
}

/* Codebox shortcode */
code,
pre {
    padding: 0 3px 2px;
    font-family: Menlo, Monaco, "Courier New", monospace;
    font-size: 12px;
    color: #333333;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
code {
    padding: 2px 4px;
    color: #d14;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
}
pre {
    display: block;
    padding: 8.5px;
    margin: 0 0 9px;
    font-size: 12.025px;
    line-height: 18px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    white-space: pre;
    white-space: pre-wrap;
    word-break: break-all;
    word-wrap: break-word;
}
pre.prettyprint {
    margin-bottom: 18px;
}
pre code {
    padding: 0;
    color: inherit;
    background-color: transparent;
    border: 0;
}
/* Prettify */
.com { color: #93a1a1; }
.lit { color: #195f91; }
.pun, .opn, .clo { color: #93a1a1; }
.fun { color: #dc322f; }
.str, .atv { color: #D14; }
.kwd, .linenums .tag { color: #1e347b; }
.typ, .atn, .dec, .var { color: teal; }
.pln { color: #48484c; }

.prettyprint {
    padding: 8px;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
}
.prettyprint.linenums {
    -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
    -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
    box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
}

/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
    margin: 0 0 0 33px; /* IE indents via margin-left */
    padding: 0;
}
ol.linenums li {
    padding-left: 12px;
    color: #bebec5;
    line-height: 18px;
    text-shadow: 0 1px 0 #fff;
}

ul.entypo-icon-list {
    margin: 0;
    padding: 0;
}

/* Recent Projects */
div.recent-projects {
    position: relative;

}

div.recent-projects article.item, div.recent-posts article.item {
    opacity: 1;
    margin: 0;
    margin-left: 18px;
    margin-right: 17px;
}

div.recent-projects h2, div.recent-posts h2 {
    line-height: 18px;
}

div.recent-projects div.recent-projects-carousel, div.recent-projects div.recent-posts {
    /*	box-sizing: padding-box;*/
    /*    margin-left: 0;
     padding-top: 20px;
     margin-top: -20px;
     padding-right: 20px;
     margin-right: -20px;
     min-width: 694px;*/
}

div.recent-projects article.item a.image-link > img {
    height: auto;
}

.ie8 div.recent-projects div.recent-projects-carousel {
    /*	max-height: 265px;*/
}

div.recent-projects-divider, div.recent-projects-mobile-divider {
    position:absolute;
    width: 18px;
    /*	background: white;*/
    top: 0;
    bottom: 0;
    left: 23.404255317%;
    /*	margin-right: -4px;*/
    z-index: 100;


    background-image: -webkit-gradient(
        linear, left top, right top, from(rgba(255,255,255,1)),
        to(rgba(255,255,255,0))
    );

    background-image: -moz-linear-gradient(left,
    rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 95%
    );

    /* approximately a 33% opacity on blue */
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,
    startColorstr=#FFFFFFFF, endColorstr=#00FFFFFF
    );

    /* IE8 uses -ms-filter for whatever reason... */
    -ms-filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,
    startColorstr=#FFFFFFFF, endColorstr=#00FFFFFF
    );
}

div.recent-projects-mobile-divider {
    left: auto;
    right: 0;
    display: none;
    visibility: collapse;

    background-image: -webkit-gradient(
        linear, left top, right top, from(rgba(255,255,255,0)),
        to(rgba(255,255,255,1))
    );

    background-image: -moz-linear-gradient(left,
    rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%
    );

    /* approximately a 33% opacity on blue */
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,
    startColorstr=#00FFFFFF, endColorstr=#FFFFFFFF
    );

    /* IE8 uses -ms-filter for whatever reason... */
    -ms-filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,
    startColorstr=#00FFFFFF, endColorstr=#FFFFFFFF
    );
}

div.recent-projects div.rpc-paginators {
    margin-top: 0.8em;
    display: inline-block;
    /*position: absolute;*/
    /*left: 1px;*/
    /*bottom: 18px;*/
    display: none;
    visibility: collapse;
}

html body div.recent-projects div.rpc-paginators a {
    text-align: center;
    display: inline-block;
    background: #aaa;
    background: rgba(0, 0, 0, 0.225);
    color: white;
    width: 20px;
    height: 20px;
    margin-right: -1px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    padding-top: 1px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1);

    -webkit-transition: 0.2s linear all;
    -moz-transition: 0.2s linear all;
    -ms-transition: 0.2s linear all;
    -o-transition: 0.2s linear all;
    transition: 0.2s linear all;



}

html body div.recent-projects div.rpc-paginators a:hover {
    background: rgba(0, 0, 0, 0.3);
}

html body div.recent-projects div.rpc-paginators a:active {
    background: rgba(0, 0, 0, 0.4);
}

html body div.recent-projects div.rpc-paginators a.disabled {
    background: rgba(0, 0, 0, 0.2);
    cursor: not-allowed;
}

div.recent-projects div.rpc-paginators a.rpc-prev i {
    padding-right: 1px;
}

div.recent-projects div.rpc-paginators a.rpc-next i {
    padding-left: 1px;
}


/*.ie8 div.recent-projects-carousel, .ie8 div.recent-posts-carousel {
	position: relative;
}*/

.ie8 div.recent-projects {
    overflow: hidden;
    min-height: 267px;
}

.ie8 div.recent-projects.recent-posts {
    min-height: 374px;
}

/*.ie8 div.recent-projects-carousel > ul > li, .ie8 div.recent-posts-carousel > ul > li {
	list-style: none;
	float: left;
}*/

/*.ie8 div.recent-projects-carousel > ul, .ie8 div.recent-posts-carousel > ul {
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	width: 10000px;
}*/
/*
.ie8 div.recent-projects div.rpc-paginators {
	display: none;
	visibility: collapse;
}
*/
/* Recent Posts */

div.recent-posts article.item div.description h5 {
    margin-top: 9px;
    margin-bottom: 2px;
}

html.boxed-layout body div.recent-posts article.item div.description h5 a,
html.boxed-layout body div.recent-posts article.item div.description h5 a:visited {
    color: #333;
    text-decoration: none;
}

div.recent-posts article.item div.description h5 a:hover {
    /*    color: #ff8000;*/
}

div.recent-posts article.item div.description a, div.recent-posts  article.item div.description a:visited{
    /*    color: #ff8000;*/
    /*    text-decoration: underline;*/
}

div.recent-posts article.item {
    width: 100%;
}

/* Flexslider */

/* Browser Resets */
.flex-container a:active,
.flexslider a:active {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {width: 100%; margin: 0; padding: 0;}
.flexslider .slides > li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
    /*max-width: 100%;*/
    display: block;
    /*    border-radius: 4px;*/
    margin-bottom: 0;
}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

/* Ensure no padding or margin is set on the main ul*/
.flexslider > ul.slides {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* FlexSlider Theme
*********************************/
.flexslider {position: relative; zoom: 1;}
.flexslider .slides {zoom: 1;}
.flexslider .slides > li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative;}

/* Frontpage slider preloader */
div.frontpage-slider-wrapper {
    background: white;
    position: relative;
}

html.touch div#frontpageslider-container {
    width:100%;
    margin:0;
}

html.touch div#frontpageslider-container >.grid_12 {
    width:100%;
    margin:0;
}

div.flexslider-shortcode {
    /*    border-radius: 5px;*/
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

div#frontpageslider-container div.flexslider-shortcode {
    /*	box-shadow: inset 0 1px rgba(0, 0, 0, 0.3), inset 0 2px rgba(255, 255, 255, 0.1)*/
    /*	box-shadow: none;*/
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
}

div#frontpageslider-container div.flexslider-shortcode ul li img {
    /*	border-radius: 4px 4px 0 0;*/
}

div.flexslider-shortcode ul.slider-arrows {
    opacity: 1;
}

/* Remove tap on android*/
.flexslider li {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.flex-caption {
    width: auto;
    position: absolute;
    left: 45px;
    top: 17px;
    background: black;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
    line-height: 18px;
    border-radius: 4px;
}

.ie8 .flex-caption {
    padding-top: 3px;
}

.flex-caption > div.caption {
    display: inline-block;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 13px 13px 8px 13px;
}

.flex-caption > div.subcaption > p {
    margin: 0;
}

.flex-caption > div.subcaption {
    position: relative;
    /*    font-weight: 500;*/
    display: block;
    color: #7d7d7d;
    padding: 0 14px 11px 14px;
    font-size: 13px;
}

.flex-caption.top-left {
    top: 45px;
    left: 45px;
    bottom: auto;
    right: auto;
}

.flex-caption.top-right {
    top: 45px;
    right: 45px;
    bottom: auto;
    left: auto;
}

.flex-caption.bottom-right {
    bottom: 45px;
    right:45px;
    top: auto;
    left: auto;
}

.flex-caption.bottom-left {
    top: auto;
    right: auto;
    left: 45px;
    bottom: 45px;
}

.flex-caption.center-left {
    top: 50%;
    right: auto;
    left: 45px;
    bottom: auto;
    margin-top: -37px;
}

.flex-caption.center-right {
    top: 50%;
    right: 45px;
    left: auto;
    bottom: auto;
    margin-top: -37px;
}

.flex-caption.top-right > div, .flex-caption.bottom-right > div {
    float: right;
}

ul.slider-arrows {
    display: none;
    visibility: collapse;
    margin: 0;
    padding: 0;
    height: 0;
    list-style: none;
}

div.arrow-left, div.arrow-right {
    position: absolute;
    bottom: -40px;
    /*	margin-top: -21px;*/
}

div.arrow-left {
    left: 0;
}

div.arrow-right {
    right: 0;
}

ul.slider-arrows li {
    display: inline-block;
    /*    display: block;*/
    /*	position: absolute;
     top: 50%;*/
}

ul.slider-arrows li i {
    background: transparent;
    color: black;
    font-size: 21px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    left: 6px;
}

ul.slider-arrows li span.arrow-wrapper.right-arrow-wrapper i {
    left: 9px;
}

span.arrow-wrapper {
    display: block;
    position: relative;
    /*	margin-right: 4px;*/
    /*	border: 3px solid white;*/
    border-radius: 0 4px 4px 0;
    /*	background: black;*/
    /*    background: rgba(0, 0, 0, 0.85);*/
    position: relative;
    width: 41px;
    height: 41px;
    /*	opacity: 0.5;*/
    -webkit-transition: 0.2s linear all;
    -moz-transition: 0.2s linear all;
    -ms-transition: 0.2s linear all;
    -o-transition: 0.2s linear all;
    transition: 0.2s linear all;
    /*	opacity: 0;	*/
}

span.arrow-wrapper.right-arrow-wrapper {
    border-radius: 4px 0 0 4px;

}

div.flexslider:hover span.arrow-wrapper {
    /*	opacity: 1;*/
}

/* Control Nav */

div.intro, div.frontpage-slider-wrapper,
div#frontpageslider-container, div.flexslider,
ol.flex-control-nav {
    /*overflow: visible;*/
}

ol.flex-control-nav {
    /*	background: red;*/
}

.flex-control-nav {
    /*position: absolute; */
    /*background: white;*/
    /*margin-bottom: 0; */
    /*text-align: center;*/
    /*margin-left:0; */
    /*opacity: 0; */
    /*vertical-align:middle;*/
    /*height:10px;*/
    /*bottom: -9px;*/
    /*right: 63px;*/
    /*padding: 12px 6px 18px 6px;*/
    /*border-radius: 4px 4px 0 0;*/
    /*z-index: 98;*/
}

.ie8 .flex-control-nav {
    padding-left: 16px;
    padding-right: 16px;
}

.flex-control-nav:before, .flex-control-nav:after, div#nav:before, div#nav:after {
    display: block;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 6px;
    position: absolute;
    top: 6px;
    content:' ';
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    filter: progid:DXImageTransform.Microsoft.Matrix(/
	                     M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476, sizingMethod='auto expand');
    zoom: 1;
}

.flex-control-nav:before, div#nav:before {
    left: -19px;
    z-index: -1;
}
.flex-control-nav:before {
    left: -18px;
}

.flex-control-nav:after, div#nav:after {
    right: -19px;
    z-index: -1;
}
.flex-control-nav:after {
    right: -18px;
}

.ie8 .flex-control-nav:before,
.ie8 div#nav:before,
.ie8 .flex-control-nav:after,
.ie8 div#nav:after  {
    display: none;
    visibility: collapse;
}

.ie8 div#nav {
    padding-left: 8px;
    padding-right: 10px;
}

.flex-control-nav li {margin: 0; display: inline-block; zoom: 1; *display: inline; float: left;}
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav li a, div#nav-pager a {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    display: block;
    background: #d2d2d2;
    cursor: pointer;
    text-indent: -9999px;
    margin-left: 8px;
    -webkit-transition: 0.1s linear all;
    -moz-transition: 0.1s linear all;
    -ms-transition: 0.1s linear all;
    -o-transition: 0.1s linear all;
    transition: 0.1s linear all;
}

html.msie .flex-control-nav li a {
    margin-top: 1px;
}

.flex-control-nav li:first-child a {
    margin-left: 0;
}

.flex-control-nav li a:hover, div#nav-pager > a:hover {
    background: #bbb;
}

.flex-control-nav li a.active, div#nav-pager a.activeSlide {
    background: #777;
}

.flex-control-nav li a.icon-play, .flex-control-nav li a.icon-pause,
html.msie .flex-control-nav li a.icon-play, html.msie .flex-control-nav li a.icon-pause {
    color: #d2d2d2;
    border-radius: 0;
    background: transparent !important;
    text-indent: 0;
    margin-top: -5px;
    margin-right: 1px;
    -webkit-transition: 0.2s linear all;
    -moz-transition: 0.2s linear all;
    -ms-transition: 0.2s linear all;
    -o-transition: 0.2s linear all;
    transition: 0.2s linear all;
    opacity: 1;
    text-decoration: none;
}

html.msie .flex-control-nav li a.icon-pause {
    margin-right: 3px;
}

div#nav > div.nav-controls > a#next, div#nav > div.nav-controls > a#pause {
    display: inline-block;
    color: #d2d2d2;
    background: transparent;
    -webkit-transition: 0.2s linear all;
    -moz-transition: 0.2s linear all;
    -ms-transition: 0.2s linear all;
    -o-transition: 0.2s linear all;
    transition: 0.2s linear all;
    opacity: 1;
    cursor: pointer;
    padding-left: 7px;
    padding-right: 1px;
    padding-top: 0;
}

div#nav > div.nav-controls > a#next > i, div#nav > div.nav-controls > a#pause > i {
    display: inline-block;
    /*	padding-top: 2px;*/
}

/*div#nav > a#next {
	padding-right: 5px;
}*/


.flex-control-nav li a.icon-play:hover, .flex-control-nav li a.icon-pause:hover, div#nav > div.nav-controls > a#next:hover, div#nav > div.nav-controls > a#pause:hover {
    color: #bbb;
}

.flex-control-nav li a.icon-play:active, .flex-control-nav li a.icon-pause:active, div#nav > div.nav-controls > a#next:active, div#nav > div.nav-controls > a#pause:active {
    color: #777;
}

.flex-control-nav li a.icon-pause {
    margin-right: 3px;
}

.flex-control-nav li a.icon-pause.is-paused, div#nav > div.nav-controls > a#pause.is-paused {
    text-shadow: 0.1em 0.1em 1em #ff8000;
    color: #ff8000;
}


/* Needed since there is not animated fade in the gallery slider */
.galleryslider .flex-control-nav {
    opacity: 1;
}
.galleryslider ul.slider-arrows {
    opacity: 1;
    padding-left: 0;
}

div#frontpageslider-container, div#frontpageslider-container >.grid_12  {
    width:100%;
    margin:0;
}

/* CP Slider */

div#nav {
    width: auto;
    position: absolute;
    bottom: -5px;
    padding-top: 6px;
    padding-left: 0px;
    padding-right: 1px;
    right: 63px;
    z-index: 98;
    background: white;
    clear: both;
    height: 24px;
}

div#nav-pager {
    padding-left: 0;
    padding-right: 5px;
    display: inline-block;
    position: relative;
}

div.nav-controls {
    float: left;
    padding-top: 1px;
}

div#nav-pager a {
    display: inline-block;
    /*	position: absolute;*/
    margin-top: 6px;
    line-height: 13px;
}

html.msie div#nav-pager a {
    margin-top: 7px;
}


div.cpslider > div.slide img.fg-image.right {
    float: right;
}
div.cpslider > div.slide img.fg-image.left {
    float: left;
}
div.cpslider > div.slide > .row-fluid > div.span6.right {
    float: right;
}
div.cpslider > div.slide > .row-fluid > div.span6.left {
    float: left;
}
div.cpslider > div.slide > .row-fluid > div.span6.text-content,
div.content {
    padding:  0 45px;
    z-index: 2;
}

div.cpslider > div.slide form,
div.prime-content-slider > div.slide form {
    margin-bottom: 0;
}

div.cpslider > div.slide div.divider,
div.prime-content-slider > div.slide div.divider {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2px;
    height: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

div.cpslider-inner-wrap, div.content-slider-wrapper {
    position: relative;
}

div.cpslider-inner-wrap > div.border, div.content-slider-inner-wrap > div.border {
    position: absolute;
    background: rgba(0, 0, 0, 0.05);
    height: 2px;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: -2px;
    z-index: 10;
}

div.content-slider-inner-wrap > div.border {
    background: rgba(0, 0, 0, 0.02);
}

div.cpslider div.wpcf7 li span.wpcf7-form-control-wrap > input,
div.prime-content-slider div.wpcf7 li span.wpcf7-form-control-wrap > input {
    width: 100%;
    margin-bottom: 8px;
}

div.cpslider div.wpcf7 li.side-by-side span.wpcf7-form-control-wrap,
div.cpslider div.wpcf7 li.side-by-side input.wpcf7-form-control.wpcf7-submit,
div.prime-content-slider div.wpcf7 li.side-by-side span.wpcf7-form-control-wrap,
div.prime-content-slider div.wpcf7 li.side-by-side input.wpcf7-form-control.wpcf7-submit {
    width: 49%;
    float: right;
}

div.cpslider div.wpcf7 li.side-by-side span.wpcf7-form-control-wrap:first-child,
div.prime-content-slider div.wpcf7 li.side-by-side span.wpcf7-form-control-wrap:first-child {
    width: 49%;
    float: left;
}

div.cpslider div.wpcf7 li.side-by-side span.wpcf7-form-control-wrap > input,
div.prime-content-slider div.wpcf7 li.side-by-side span.wpcf7-form-control-wrap > input {
    width: 100%;
    float: left;
}

div.cpslider div.wpcf7 li.stretch-submit,
div.prime-content-slider div.wpcf7 li.stretch-submit {
    padding: 0 1px;
}

div.cpslider div.wpcf7 li.stretch-submit input[type="submit"],
div.prime-content-slider div.wpcf7 li.stretch-submit input[type="submit"] {
    width: 100%;
}

div.cpslider div.wpcf7 ul input[type="text"],
div.prime-content-slider div.wpcf7 ul input[type="text"] {
    font-size: 14px;
    line-height: 21px;
    height: 34px;
    padding-left: 10px;
    padding-right: 0;
}

div.cpslider div.wpcf7 div.wpcf7-response-output,
div.prime-content-slider div.wpcf7 div.wpcf7-response-output {
    margin: 0 1px 0 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.6);
    margin-top: -17px;
    border-width: 1px;
    padding-top: 10px;
    padding-bottom: 10px;
    -ms-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 1px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 1px rgba(0, 0, 0, 0.3);
    -o-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 1px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 1px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 1px rgba(0, 0, 0, 0.3);

}

div.cpslider div.wpcf7 div.wpcf7-response-output.wpcf7-mail-sent-ok,
div.prime-content-slider div.wpcf7 div.wpcf7-response-output.wpcf7-mail-sent-ok {

    background-color: transparent;
    background-color: rgba(57, 143, 20, 0.6);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99398F14,endColorstr=#99398F14);
    zoom: 1;
    border-color: #96C085;
    color: white;
    text-shadow: rgba(0, 0, 0, 0.2) 0px -1px 0px;
}

div.cpslider div.wpcf7 div.wpcf7-response-output.wpcf7-validation-errors,
div.prime-content-slider div.wpcf7 div.wpcf7-response-output.wpcf7-validation-errors {
    background-color: transparent;
    background-color: rgba(247, 231, 0, 0.6);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99F7E700,endColorstr=#99F7E700);
    zoom: 1;
    color: black;
}

div.cpslider span.wpcf7-not-valid-tip,
div.prime-content-slider span.wpcf7-not-valid-tip {
    display: none;
    visibility: collapse;
}

div.cpslider input.wpcf7-not-valid,
div.prime-content-slider input.wpcf7-not-valid {
    border-color: #F7E700;
}

div.cpslider-wrapper,
div.content-slider-wrapper {
    width: 100%;
    position: relative;
    margin: 0 auto;
}

div.cpslider > div.slide,
div.content-slider > div.slide {
    margin: 0 auto;
    width: 100%;
}

.cpslider-inner-wrap,
.content-slider-inner-wrap {
    position: relative;
    margin: 0 auto;
    height: 100%;
    overflow: hidden;
}

.cpslider > .slide,
.content-slider > .slide {
    display: none;
}

.cpslider > .slide > .slide-content,
.content-slider > .slide > .slide-content {
    margin: 0 auto;
    padding: 0;
    width: auto;
    position: relative;
    height: 100%;
}

div.cpslider > div.slide .cp-anim-image,
div.content-slider > div.slide .cp-anim-image {
    bottom: 0;
    display: block;
    vertical-align: bottom;
}

.long-anim {
    -webkit-animation-duration: 3s;
    -webkit-animation-delay: .5s;
}




/* Content Slider */

div.frontpage-slider-wrapper {
    z-index: 1;
}

div.prime-content-slider > div.slide {
    width: 100%;
}

div.prime-content-slider > div.slide > div.slide-content, div.prime-content-slider > div.slide > div.slide-content > div.span12 {
    width: 100%;
    height: 100%;
}

div.prime-content-slider > div.slide > img:first-child {
    z-index: -1;
}

div.prime-content-slider a img.alignnone, div.prime-content-slider img.alignnone, div.prime-content-slider img {
    margin:0;
}

div.prime-content-slider > div.slide div.embed-wrapper {
    margin-top: 0;
}


/*-------------------------------------------------------------------------------------------------------
        Archives
-------------------------------------------------------------------------------------------------------*/

.prime-archives > h4 {
    margin: 2em 0 1em 0;
}



/*-------------------------------------------------------------------------------------------------------
        Portfolio
-------------------------------------------------------------------------------------------------------*/






/* Portfolio Item */

div.prime-post.prime-single-portfolio {
    margin-right: 0;
    padding-right: 0;
    padding-bottom: 1em;
    padding-top: 25px;
}

div.galleryslider-wrapper {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 4px;

    margin-bottom: 12px;
    position: relative;
}

div.prime-post.prime-single-portfolio div.post > .embed-wrapper {
    margin-top: 0;
}

div.prime-single-portfolio img.post-image {
    margin-bottom: 12px;
}


/*-------------------------------------------------------------------------------------------------------
        Comments
-------------------------------------------------------------------------------------------------------*/

.comments {
    /*	margin: 35px 0;*/
    /*    padding-right: 0;
   margin-right: 0;*/
    /*    border-top: 1px solid #e8e8e8;*/
}

.comments h2.comments-title {
    font-size: 20px;
    line-height: 25px;
    margin-top: 0;
}

.comments h2.comments-title a {
    font-weight: normal;
}

.comments .comment:first-child {
    margin-top: 0;
}

.comments ul.children {
    margin: 0;
    padding-left: 46px;
}

.comment, .comments ul.children .comment:first-child {
    margin-top: 22px;
    padding-bottom: 3px;
    clear: both;
    width: 100%;
    position: relative;
}



.comment .message-wrap {
    padding-left: 76px;
}

.comment .message > .comment-tip {
    float: left;
    margin-left: -33px;
    margin-top: 1px;
    width: 12px;
    height: 17px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right:10px solid #f3f3f3;
}

.comment a, .comment a:visited {
    /*    color: #ff8000;*/
    text-decoration: none;
    /*    font-weight: bold;*/
}

.comment a:hover, .comment .message a.reply:hover {
    /*    color: #ff8000;*/
}

.comment .message > h5 {
    margin-top: 0;
    /*    margin-bottom: 10px;*/
    font-size: 13px;
}

.comment .message {
    padding: 21px 24px 21px 24px;
    background: #f0f0f0;
    /*    border-radius: 4px;*/
}
.comment .message h5 a, .comment .message h5 a:hover, .comment.author .message h5 a:visited, .comment .message a.comment-reply-link, .comment .message a.comment-reply-link:visited {

}

/*.comment .message h3 a:hover, .comment.author .message h3 a:visited:hover, .comment .message a.comment-reply-link:hover, .comment .message a.comment-reply-link:visited:hover {
    text-decoration: none;
    color: #ff8400;
}*/

.comment-form-wrapper > h2 {
    /*    font-weight: bold;
   font-size: 20px;
   margin-top: 15px;
   margin-bottom: 22px;*/
}

nav#comments-nav a {
    display: inline-block;
    margin-bottom: 13px;
}

nav#comments-nav a, nav#comments-nav a:visited {
    color: #313337;
    font-weight: bold;
}

nav#comments-nav a:hover {
    color: #ff8400;
    text-decoration: none;
}

nav#comments-nav div.comments-previous {
    float: left;
}

nav#comments-nav div.comments-next {
    float: right;
}

form.comment-form {
    /*	padding-top: 1em;*/
    /*    padding-bottom: 0;
   margin-bottom: 0;
   margin-right: 0;*/
}

form.comment-form fieldset {
    padding-top: 0;
    margin-bottom: 0;
}

div#respond {
    /*    border-top: 1px solid #e8e8e8;*/
    /*    margin-top: 0;*/
    /*    padding-top: 35px;*/
}

div.prime-page div#respond > h3 {
    /*	margin-top: 35px;*/
}

div#respond.is-logged-in fieldset {
    padding-left: 0;
    padding-right: 0;
}

form.comment-form fieldset .comment-info {
    width: 44%;
    float: left;
    margin-bottom: 17px;
}

form.comment-form p.login-info {
    margin-top: 0;
    /*    font-weight: bold;*/
}

form.comment-form p.login-info > a {
    /*    color: #313337;*/
}

form.comment-form p.login-info > a:hover {
    /*    color: #ff8400;*/
    /*    text-decoration: none;*/
}

form.comment-form fieldset .comment-info input {
    clear: both;
    width: 100%;
    margin-bottom: 10px;
    margin-top: 3px;
}

form.comment-form fieldset .comment-message {
    width: 50%;
    float: right;
    margin-bottom: 17px;
    position: relative;
}

div#respond.is-logged-in form.comment-form fieldset .comment-message {
    width: 100%;
    float: left;
}

div#respond.is-logged-in form.comment-form fieldset .comment-message > label {
    display: none;
    visibility: collapse;
}

form.comment-form fieldset .comment-message textarea {
    width: 100%;
    height: 149px;
    margin-top: 3px;
}

div#respond.is-logged-in form.comment-form fieldset .comment-message textarea {
    /*    width: 98%;*/
}

form.comment-form fieldset .comment-options {
    width: 44%;
    float: left;
    clear: both;
    padding-left: 24px;
}

form.comment-form fieldset .comment-options label {
    font-weight: normal;
    margin-top: -1px;
    padding-top: 0;
    margin-left: 3px;
    width: 100%;
}

div#respond.is-logged-in form.comment-form fieldset input[type="submit"] {
    float: left;
}

form.comment-form fieldset input[type="submit"] {
    /*    float: right;
   margin-right: 0;
   font-weight: bold;
   padding-left: 25px;
   padding-right: 25px;
   margin-bottom: 0;*/
}

div#respond.logged-in form.comment-form fieldset input[type="submit"] {
    float: left;
}

form.comment-form fieldset input {
    float: none;
}

form.comment-form fieldset label {
    /*    font-weight: bold;*/
    text-align: left;
    float: none;
}

form.comment-form fieldset span.form {
    display: block;
    padding: 24px;
}

/*-------------------------------------------------------------------------------------------------------
        Blog
-------------------------------------------------------------------------------------------------------*/

.prime-blog {
    padding-top: 3px;
    padding-bottom: 15px;
}

.prime-blog div.divider:first-child {
    display: none;
    visibility: collapse;
}

.post-preview {
    /*    margin-top: 40px;
   margin-bottom: 10px;*/
    position: relative;
    /*    padding-top: 0;
   padding-bottom: 35px;*/
    /*    border-bottom: 1px solid #eee;*/
    /*    margin-right: 20px;*/
}

span.comment-count:before, span.author:before, span.date:before {
    padding-right: 4px;
}

html.boxed-layout body span.categories > a, html.boxed-layout body span.categories > a:hover,
html.boxed-layout body span.categories > a:visited {
    /*	color: white;*/
    /*    -webkit-transition: 0.1s linear all;
     -moz-transition: 0.1s linear all;
     -ms-transition: 0.1s linear all;
     -o-transition: 0.1s linear all;
     transition: 0.1s linear all;	*/
}


span.categories > a:hover, ul.page-numbers > li > a:hover {
    /*	color: white;
     opacity: 0.9;*/
}

span.spacer {
    display: inline-block;
    padding: 0 5px;
    opacity: 0.3;
}

.post-preview:first-child, article.post {
    /*    margin-top: 0;*/
    /*    padding-top: 4px;*/
    /*	padding-bottom: 13px;*/
}

img.post-image, a.image-link.no-frame img {
    /*    background: #fafafa;*/
    /*    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);*/
    /*border-radius: 4px;*/
    /*    margin-bottom: 5px;*/
}

.post-preview h3.post-title, h1.post-title, div#respond > h3, h3.comments-title {
    /*    font-size: 24px;
     margin: 0 0 10px 0;
     line-height: 30px;
     text-align: left;*/
}

html body .post-preview h3.post-title a,
html body .post-preview h3.post-title a:visited,
html body .post-preview h3.post-title a:hover {
    color: #333;
    text-decoration: none;
}

.post-preview h3.post-title a:hover {
    text-decoration: none;
}

.post-preview p.post-meta, div.post p.post-meta {
    /*    margin: 12px 0 9px 0;*/
    /*    padding: 0;*/
}

.post-preview .post-content p.post-text {
    margin: 0 0 11px 0;
}

.post-preview .like-buttons {
    width: auto;
    margin: 18px 0 0 0;
}

.post-preview .read-more-link {
    /*    font-weight: bold;*/
    margin: 0;
}

.main div.divider.post-divider {
    margin-top: 0;
    margin-bottom: 0;
}

.paginators {
    position: relative;
    margin: 25px 0 0 0;
}

.paginators a,
.paginators span {
    vertical-align: middle;
}

.paginators ul.page-numbers {
    display: block;
    list-style: none;
    padding: 0 0 0 0;
    margin-bottom: -15px;
    text-align: center;
}

.paginators ul.page-numbers li {
    display: inline-block;
}

.paginators ul.page-numbers li a,
.paginators ul.page-numbers li span.current {
    display: inline-block;
    padding: 6px 10px;
    /*    width: 20px;
   height: 34px;*/
    /*    background: #191919;*/
    /*    border-radius: 17px;*/
}

.paginators ul.page-numbers li span.current {
    background-color: #ccc;
    text-shadow: none;
}

html.std-selector span.page-numbers.dots {
    background: transparent;
    color: #aaa;
    text-shadow: none;
}

html ul.page-numbers > li > a.next.page-numbers, html ul.page-numbers > li > a.prev.page-numbers,
html.ie8 ul.page-numbers > li > a.next.page-numbers, html.ie8 ul.page-numbers > li > a.prev.page-numbers {
    text-transform: none;
    text-shadow: none;
    font-size: 13px;
    letter-spacing: 0;
    width: auto;
    text-decoration: none;
    padding-left: 0;
    padding-right: 0;
    font-weight: normal;
}

.prime-blog .paginators ul.page-numbers li span.current {
    display: inline-block;
    background: #7d7d7d;
}

.paginators ul.page-numbers li.ellipsis {
    background-image: url(../img/paginator-ellipsis.png);
    text-indent: -9999px;
    height: 10px;
    width: 18px;
}

html.std-selector body div.paginators > ul.page-numbers > li > a.page-numbers,
html.std-selector body div.paginators > ul.page-numbers > li > a.page-numbers:visited {
    display: inline-block;
    padding: 6px 10px;
    /*    color: white;*/
    /*    text-decoration: none;*/
    /*    font-weight: 500;*/
}

.paginators ul.page-numbers li a:hover {
    /*    text-decoration: none;*/
}

.paginators ul.page-numbers li span.current {
    /*    color: white;*/
}

.paginators ul.page-numbers li a.prev,
.paginators ul.page-numbers li a.next {
    position: absolute;
    background: none;
    top: 0;
    color: #7d7d7d;
    font-weight: normal;
}

.paginators ul.page-numbers li a.prev:hover,
.paginators ul.page-numbers li a.next:hover {
    text-decoration: none;
    /*    color: #ff8000;*/
}

.paginators ul.page-numbers li a.prev {
    left: 0;
}

.paginators ul.page-numbers li a.next {
    right: 0;
}


/*-------------------------------------------------------------------------------------------------------
        Post
-------------------------------------------------------------------------------------------------------*/
.prime-post h1.post-title {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 0;
    margin-top: 23px;
}

.prime-post .post-meta {
    margin-top: 3px;
    margin-bottom: 12px;
}

div.post-content {
    /*	margin-top: 15px;*/
}

div.post div.post-content {
    /*	margin-top: 1.5em;*/
    /*	margin-bottom: 35px;*/
}

div.post > a.image-link, div.post-preview > a.image-link {
    /*	margin: 0.5em 0;*/
}

.prime-post.prime-single-portfolio .post-meta {
    padding-top: 12px;
    padding-bottom: 4px;
}


.prime-post .post-meta > a#prev-post {
    background: url(../img/prev-post.png) center center no-repeat;
}

.prime-post .post-meta > a#next-post {
    margin-left: 2px;
    background: url(../img/next-post.png) center center no-repeat;
}

.prime-post .post-meta p.post-byline a {
    font-weight: bold;
    font-style: normal;
    text-transform: uppercase;
}

.prime-post .post-meta p.post-date {
    float: right;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 0;
    line-height: 1em;
    margin-bottom: 0;
    color: #656971;
}

.prime-post .post-meta p.post-date sup {
    text-transform: none;
}

.prime-post .video-iframe-wrapper iframe, .jquery-player-wrapper {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
    background: #191919;
}

.prime-post .video-iframe-wrapper, .jquery-player-wrapper {
    width: 100%;
    display: inline-block;
    margin-bottom: 1px;
}

.jquery-player-wrapper {
    margin-bottom: 5px;
}

div.jquery-player-wrapper.jplayer-audio-wrapper {
    margin-bottom: 1px;
    border-top: 0px;
}

.prime-post img.post-image.audio-banner-image {
    margin-bottom: 0;
    border-bottom: none;
}

.prime-post span.post-subtitle {
    color: #7d828c;
    font-weight: normal;
}

.prime-post ul.post-social {
    list-style: none;
    padding-left: 0;
    padding-top: 4px;
    float: left;
}

.prime-post ul.post-social li {
    margin-bottom: 10px;
    margin-left: 0;
}

.prime-post ul {
    padding-left: 16px;
}


div.post-content img {
    background: white;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    margin-bottom: 5px;
}


/*-------------------------------------------------------------------------------------------------------
        Widgets
-------------------------------------------------------------------------------------------------------*/

/*#sidebar {
    padding-top: 26px;
    padding-bottom: 30px;
}

.sidebar-widget {
    position: relative;
}

#sidebar article.widget {
  margin-bottom: 50px;
}

#sidebar article.widget.widget-first, #sidebar article.widget:first-child {
    padding-top: 0;
    border-top: none;
}

#sidebar article.widget ul {
    margin-bottom: 0;
}

#sidebar article.widget li {
    padding-top:0;
    padding-bottom: 0;
}

#sidebar article.widget li:first-child {
    border-top: none;
}

#sidebar article > .sidebar-widget > h3 {
    margin-top: 0;
    margin-bottom: 1.5em;
    font-size: 13px;
}

#sidebar div.divider {
    display: none;
}
*/



/*-------------------------------------------------------------------------------------------------------
        Forms
-------------------------------------------------------------------------------------------------------*/

form {
    margin-bottom: 18px;
}

fieldset {
    margin-bottom: 18px;
    padding-top: 18px;
}

fieldset legend {
    display: block;
    padding-left: 150px;
    font-size: 19.5px;
    line-height: 1;
    color: #404040;
    *padding: 0 0 5px 145px; /* IE6-7 */
    *line-height: 1.5; /* IE6-7 */

}

form .clearfix {
    margin-bottom: 18px;
    zoom: 1;
}

form .clearfix:before, form .clearfix:after {
    display: table;
    content: "";
    zoom: 1;
    *display: inline;
}

form .clearfix:after {
    clear: both;
}

label,
input,
select,
textarea {
    font-size: 13px;
    font-weight: normal;
    line-height: normal;
}

label {
    /*color: #333;*/
}

footer label {
    color: white;
}

form .input {
    margin-left: 150px;
}

input[type=checkbox], input[type=radio] {
    cursor: pointer;
}

/*input,*/
textarea,
select,
.uneditable-input {
    display: inline-block;
    /*    width: 210px;*/
    height: 28px;
    padding: 4px;
    font-size: 13px;
    line-height: 18px;
    color: #808080;
    border: 1px solid #ccc;
    /*    -webkit-border-radius: 3px;
   -moz-border-radius: 3px;
   border-radius: 3px;*/
}



/* mini reset for non-html5 file types */
input[type=checkbox], input[type=radio] {
    width: auto;
    height: auto;
    padding: 0;
    margin: 3px 0;
    *margin-top: 0; /* IE6-7 */

    line-height: normal;
    border: none;
}

input[type=file] {
    background-color: #ffffff;
    padding: initial;
    border: initial;
    line-height: initial;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

input[type=button], input[type=reset], input[type=submit] {
    width: auto;
    height: auto;
}

select, input[type=file] {
    height: 27px;
    line-height: 27px;
    *margin-top: 4px; /* For IE7, add top margin to align select with labels */
}

select[multiple] {
    height: inherit;
}

textarea {
    height: auto;
}

.uneditable-input {
    background-color: #ffffff;
    display: block;
    border-color: #eee;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
    cursor: not-allowed;
}

:-moz-placeholder {
    color: #bfbfbf;
}

::-webkit-input-placeholder {
    color: #bfbfbf;
}

input, textarea {
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
    -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s;
    transition: border linear 0.2s, box-shadow linear 0.2s;
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

input:focus, textarea:focus {
    outline: 0;
}

input[type=file]:focus, input[type=checkbox]:focus, select:focus {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    outline: 1px dotted #666;
}

form div.clearfix.error {
    background: #fae5e3;
    padding: 10px 0;
    margin: -10px 0 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

form div.clearfix.error > label, form div.clearfix.error span.help-inline, form div.clearfix.error span.help-block {
    color: #9d261d;
}

form div.clearfix.error input, form div.clearfix.error textarea {
    border-color: #c87872;
    -webkit-box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
    -moz-box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
    box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
}

form div.clearfix.error input:focus, form div.clearfix.error textarea:focus {
    border-color: #b9554d;
    -webkit-box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
    -moz-box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
    box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
}

form div.clearfix.error .input-prepend span.add-on, form div.clearfix.error .input-append span.add-on {
    background: #f4c8c5;
    border-color: #c87872;
    color: #b9554d;
}

input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
    background-color: #f5f5f5;
    border-color: #ddd;
    cursor: not-allowed;
}

/* Gravity Forms */

.gform_wrapper ul.gfield_radio li, .gform_wrapper ul.gfield_checkbox li {
    overflow: visible;
}

li.gfield {
    padding-bottom: 3px;
}

.gform_wrapper .gfield_description {
    padding-top: 6px;
}

#ui-datepicker-div {
    min-width: 222px;
}

label {
    /*    padding-bottom: 2px;*/
}

.widget .gform_wrapper .top_label input.medium, .widget .gform_wrapper .top_label select.medium {
    width: 100%;
}

footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
    /*    color: #d4d4d4;*/
}

/*-------------------------------------------------------------------------------------------------------
        Helper
-------------------------------------------------------------------------------------------------------*/

.ir {
    display: block;
    border: 0;
    text-indent: -999em;
    overflow: hidden;
    background-color: transparent;
    background-repeat: no-repeat;
    text-align: left;
    direction: ltr;
}

.ir br {
    display: none;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}


/*-------------------------------------------------------------------------------------------------------
        Preview Site Styles
-------------------------------------------------------------------------------------------------------*/

html.preview-site.skin-red a.logo {
    background-image: url(../img/logo-red.png);
}
html.preview-site.skin-light-red a.logo {
    background-image: url(../img/logo-light-red.png);
}
html.preview-site.skin-blue a.logo {
    background-image: url(../img/logo-blue.png);
}
html.preview-site.skin-green a.logo {
    background-image: url(../img/logo-green.png);
}
html.preview-site.skin-dark-green a.logo {
    background-image: url(../img/logo-dark-green.png);
}
html.preview-site.skin-orange a.logo {
    background-image: url(../img/logo-orange.png);
}
html.preview-site.skin-pink a.logo {
    background-image: url(../img/logo-pink.png);
}
html.preview-site.skin-brown a.logo {
    background-image: url(../img/logo-brown.png);
}
html.preview-site.skin-light-grey a.logo {
    background-image: url(../img/logo-light-grey.png);
}
html.preview-site.skin-light-blue a.logo {
    background-image: url(../img/logo-light-blue.png);
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
    html.preview-site.skin-red a.logo {
        background-image: url(../img/logo-retina-red.png);
    }
    html.preview-site.skin-light-red a.logo {
        background-image: url(../img/logo-retina-light-red.png);
    }
    html.preview-site.skin-blue a.logo {
        background-image: url(../img/logo-retina-blue.png);
    }
    html.preview-site.skin-green a.logo {
        background-image: url(../img/logo-retina-green.png);
    }
    html.preview-site.skin-dark-green a.logo {
        background-image: url(../img/logo-retina-dark-green.png);
    }
    html.preview-site.skin-orange a.logo {
        background-image: url(../img/logo-retina-orange.png);
    }
    html.preview-site.skin-pink a.logo {
        background-image: url(../img/logo-retina-pink.png);
    }
    html.preview-site.skin-brown a.logo {
        background-image: url(../img/logo-retina-brown.png);
    }
    html.preview-site.skin-light-grey a.logo {
        background-image: url(../img/logo-retina-light-grey.png);
    }
    html.preview-site.skin-light-blue a.logo {
        background-image: url(../img/logo-retina-light-blue.png);
    }
}

/* Preview Bar */

html.preview-site {
    margin-top: 28px;
}

html.preview-site.mobile-device {
    margin-top: 0;
}

html.preview-site.mobile-device #prime-preview-bar {
    display: none;
}

#prime-preview-bar {
    direction: ltr;
    color: #CCC;
    font: normal 13px/28px sans-serif;
    height: 28px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 600px;
    z-index: 99999;
    background: #464646;
    background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0,#373737),color-stop(18%,#464646));
    background-image: -webkit-linear-gradient(bottom,#373737 0,#464646 5px);
    background-image: -moz-linear-gradient(bottom,#373737 0,#464646 5px);
    background-image: -o-linear-gradient(bottom,#373737 0,#464646 5px);
    background-image: linear-gradient(to top,#373737 0,#464646 5px);
}

#prime-preview-bar * {
	height: auto;
	width: auto;
	margin: 0;
	padding: 0;
	position: static;
	text-transform: none;
	letter-spacing: normal;
	line-height: 1;
	font: normal 13px/28px sans-serif;
	color: #CCC;
	text-shadow: #444 0 -1px 0;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}
#prime-preview-bar ul, #prime-preview-bar ul li, #prime-preview-bar .pb-sub-wrapper {
	background: 0;
	clear: none;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	text-indent: 0;
	z-index: 99999;
}

#prime-preview-bar ul li {
    float: left;
}

#prime-preview-bar ul li i {
    padding-right: 8px;
}

#prime-preview-bar a {
    border-bottom: 0;
    border-right: 1px solid #333;
    height: 28px;
    display: block;
    padding: 0 12px;
    margin: 0;
}

#prime-preview-bar > ul > li {
	border-right: 1px solid #555;
}



#prime-preview-bar > ul.right-option-list {
    float: right;
    background: #464646;
    background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0,#373737),color-stop(18%,#464646));
    background-image: -webkit-linear-gradient(bottom,#373737 0,#464646 5px);
    background-image: -moz-linear-gradient(bottom,#373737 0,#464646 5px);
    background-image: -o-linear-gradient(bottom,#373737 0,#464646 5px);
    background-image: linear-gradient(to top,#373737 0,#464646 5px);
}

#prime-preview-bar > ul.right-option-list li {
    border-left: 1px solid #333;
    border-right: 0;
    float: right;
}

div#prime-preview-bar > ul.right-option-list li a {
    border-left: 1px solid #555;
    border-right: 0;
}

html.preview-site.mobile-layout-always li#prime-preview-mobile-layout {
    display: none;
}

html.preview-site.mobile-layout-onmobiledevices li#prime-preview-fullsize-layout {
    display: none;
}

html.preview-site.ie8 #prime-preview-bar li#prime-preview-mobile-layout,
html.preview-site.ie8 #prime-preview-bar li#prime-preview-fullsize-layout {
    display: none;
}

#prime-preview-bar > ul > li:hover,
#prime-preview-bar > ul > li.hover {
color: #fafafa;
background: #222;
background-image: -webkit-gradient(linear, left bottom, left top, from(#3a3a3a), to(#222));
background-image: -webkit-linear-gradient(bottom, #3a3a3a, #222);
background-image:    -moz-linear-gradient(bottom, #3a3a3a, #222);
background-image:      -o-linear-gradient(bottom, #3a3a3a, #222);
background-image: linear-gradient(to top, #3a3a3a, #222);
}

#prime-preview-bar .pb-sub-wrapper {
    min-width: 100%;
    margin: 0 0 0 -1px;
    padding: 0;
    -webkit-box-shadow: 0 4px 4px rgba(0,0,0,0.2);
    box-shadow: 0 4px 4px rgba(0,0,0,0.2);
    background: #fff;
    display: none;
    position: absolute;
    float: none;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: #dfdfdf;


    left: -1px;
    right: auto;
    margin: 0 -1px 0 0;
}

#prime-preview-bar li.hover .pb-sub-wrapper {
    display: block;
}

#prime-preview-bar .pb-submenu {
    padding: 6px 0;
}

#prime-preview-bar .pb-submenu li {
    float: none;
}

#prime-preview-bar .pb-submenu li a {
    line-height: 26px;
    height: 26px;
    text-shadow: none;
    white-space: nowrap;
    min-width: 140px;
    color: #21759B;
    border: 0;
}

#prime-preview-bar li.has-submenu > a {
    cursor: default;
}

#prime-preview-bar li.has-submenu.hover {
    background: white;
}

#prime-preview-bar li.has-submenu.hover > a, #prime-preview-bar li.has-submenu.hover > a > i, #prime-preview-bar li.has-submenu.hover span {
    color: #333;
    text-shadow: none;
}

#prime-preview-bar .pb-submenu {
    border-top: 1px solid #ddd;
}
#prime-preview-bar .pb-submenu.darker {
    background: #f0f0f0;
}

#prime-preview-bar .pb-submenu.darker a:hover {
    background: #ddd;
}

#prime-preview-bar .pb-submenu:first-child {
    border-top: none;
}

#prime-preview-bar .pb-submenu a:hover,
#prime-preview-bar .pb-submenu a.current-skin:hover {
    background: #eaf2fa;
}

#prime-preview-bar .pb-submenu i {
    text-shadow: none;
}

#prime-preview-bar .pb-submenu a.current-skin {
    /*background: #f0f0f0;*/
}

#prime-preview-bar ul.skin-picker > li > a.current-skin:after,
#prime-preview-bar ul.page-style-picker > li > a.current-layout:after{
    display: block;
    position: absolute;
    right: 10px;
    top: 1px;
    content: '\f00c';
    font-family: 'FontAwesome';
    color: #666;
}

#prime-preview-bar ul.page-style-picker > li > a.current-layout:after{
top: 0;
}