/* #Reset & Basics (Inspired by E. Meyers)
================================================== */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  padding: 0;
  margin: 0;
  font: inherit;
  vertical-align: baseline;
  border: 0;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* #Basic Styles
================================================== */

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  line-height: 18px;
  color: #000000;
  -webkit-text-size-adjust: 100%;
  background: #ffffff;
}

/* #Typography
================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 9px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #000000;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  font-weight: inherit;
}

h1,
h2,
h3 {
  line-height: 36px;
}

h1 {
  font-size: 38.5px;
}

h2 {
  font-size: 31.5px;
}

h3 {
  font-size: 24.5px;
}

h4 {
  font-size: 17.5px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 11.9px;
}

h1 small {
  font-size: 24.5px;
}

h2 small {
  font-size: 17.5px;
}

h3 small {
  font-size: 14px;
}

h4 small {
  font-size: 14px;
}

.subheader {
  color: #262626;
}

p {
  margin: 0 0 20px 0;
}

p img {
  margin: 0;
}

p.lead {
  font-size: 21px;
  line-height: 24.3px;
  color: #777;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
  color: #000000;
}

small {
  font-size: 11.200000000000001px;
}

/* #Blockquotes
================================================== */

blockquote,
blockquote p {
  font-size: 16.8px;
  font-style: italic;
  line-height: 21.599999999999998px;
  color: #404040;
}

blockquote {
  padding: 9px 20px 0 19px;
  margin: 0 0 20px;
  border-left: 1px solid #dddddd;
}

blockquote cite {
  display: block;
  font-size: 11.9px;
  color: #333333;
}

blockquote cite:before {
  content: "\2014 \0020";
}

blockquote cite a,
blockquote cite a:visited,
blockquote cite a:visited {
  color: #333333;
}

hr {
  height: 0;
  margin: 20px 0;
  clear: both;
  border: solid #8AA7D2;
  border-width: 1px 0 0;
}

/* #Links
================================================== */

a,
a:visited {
  color: #000000;
  text-decoration: none;
  outline: 0;
}

a:hover,
a:focus {
  color: #8ba9d4;
}

p a,
p a:visited {
  line-height: inherit;
}

/* #Images
================================================== */

img {
  text-decoration: none;
  border: 0;
}

img.scale-with-grid {
  height: auto;
  max-width: 100%;
}

/* #Buttons
================================================== */

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  padding: 4px 12px;
  padding: 8px 10px;
  margin: 0 0 20px 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 10.99px;
  font-weight: bold;
  line-height: normal;
  color: #000000;
  text-decoration: none;
  text-shadow: 0 1px rgba(255, 255, 255, 0.75);
  cursor: pointer;
  background: #eeeeee;
  background: #eeeeee -moz-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  background: #eeeeee -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0.3)), color-stop(100%, rgba(0, 0, 0, 0.3)));
  background: #eeeeee -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  background: #eeeeee -o-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  background: #eeeeee -ms-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  background: #eeeeee linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  border: 1px solid #aaa;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
  color: #000000;
  background: #dddddd;
  background: #dddddd -moz-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  background: #dddddd -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0.3)), color-stop(100%, rgba(0, 0, 0, 0.3)));
  background: #dddddd -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  background: #dddddd -o-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  background: #dddddd -ms-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  background: #dddddd linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  border: 1px solid #888;
  border-top: 1px solid #aaa;
  border-left: 1px solid #aaa;
}

.button:active,
button:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active {
  background: #cccccc;
  background: #cccccc -moz-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  background: #cccccc -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0.3)), color-stop(100%, rgba(0, 0, 0, 0.3)));
  background: #cccccc -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  background: #cccccc -o-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  background: #cccccc -ms-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  background: #cccccc linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  border: 1px solid #666;
}

.button.full-width,
button.full-width,
input[type="submit"].full-width,
input[type="reset"].full-width,
input[type="button"].full-width {
  width: 100%;
  padding-right: 0 !important;
  padding-left: 0 !important;
  text-align: center;
}

/* Fix for odd Mozilla border & padding issues */

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

/* #Misc
================================================== */

.remove-bottom {
  margin-bottom: 0 !important;
}

.half-bottom {
  margin-bottom: 10px !important;
}

.add-bottom {
  margin-bottom: 20px !important;
}

/* #Utility Classes
================================================== */

.no-display {
  position: absolute;
  left: -9999px;
  width: 1em;
  overflow: hidden;
}

.floatL {
  float: left;
  margin: 0 10px 10px 0;
}

.floatR {
  float: right;
  margin: 0 0 10px 10px;
}

.textR {
  text-align: right;
}

.center {
  margin: 0 auto;
  text-align: center;
}

.no-margin {
  margin: 0 !important;
}

.alignleft,
img.alignleft {
  display: inline;
  float: left;
  margin-right: 20px;
}

.alignright,
img.alignright {
  display: inline;
  float: right;
  margin-left: 20px;
}

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

img.alignleft,
img.alignright,
img.aligncenter {
  margin-bottom: 10px;
}

.half {
  float: left;
  width: 50%;
}

.fourth {
  float: left;
  width: 25%;
}

.one-third {
  float: left;
  width: 33%;
}

.two-thirds {
  float: left;
  width: 66%;
}

/* #Lists
================================================== */

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

ul {
  list-style: none outside;
}

ol {
  list-style: decimal;
}

ol,
ul.square,
ul.circle,
ul.disc {
  margin: 0 0 20px 20px;
}

ul.square {
  list-style: square outside;
}

ul.circle {
  list-style: circle outside;
}

ul.disc {
  list-style: disc outside;
}

ul ul,
ul ol,
ol ol,
ol ul {
  margin: 4px 0 5px 30px;
  font-size: 12.6px;
}

ul ul li,
ul ol li,
ol ol li,
ol ul li {
  margin: 0 0 6px;
}

li {
  margin: 0 0 6px;
  line-height: 18px;
}

ul.large li {
  line-height: 20.88px;
}

li p {
  line-height: 20.88px;
}

/* #Forms
================================================== */

form {
  margin: 0 0 20px;
}

fieldset {
  margin-bottom: 0 0 20px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
textarea,
select {
  display: block;
  width: 210px;
  max-width: 100%;
  padding: 6px 4px;
  margin: 0;
  margin: 0 0 10px;
  font: 13px "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #404040;
  background: #ffffff;
  border: 1px solid #ccc;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
  outline: none;
}

select {
  padding: 4px 0;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus {
  color: #1a1a1a;
  border: 1px solid #aaa;
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
     -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
          box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

textarea {
  min-height: 60px;
}

label,
legend {
  display: block;
  font-size: 13.299999999999999px;
  font-weight: bold;
}

select {
  width: 220px;
}

input[type="checkbox"] {
  display: inline;
}

label span,
legend span {
  font-size: 13.299999999999999px;
  font-weight: normal;
  color: #1a1a1a;
}

/* #Tabs (activate in tabs.js)
================================================== */

ul.tabs {
  display: block;
  padding: 0;
  margin: 0 0 20px 0;
  border-bottom: solid 1px #ddd;
}

ul.tabs li {
  display: block;
  float: left;
  width: auto;
  height: 30px;
  padding: 0;
  margin-bottom: 0;
}

ul.tabs li a {
  display: block;
  width: auto;
  height: 29px;
  padding: 0 20px;
  margin: 0;
  font-size: 13px;
  line-height: 30px;
  text-decoration: none;
  background: #f5f5f5;
  border: solid 1px #ddd;
  border-width: 1px 1px 0 0;
}

ul.tabs li a.active {
  position: relative;
  top: -4px;
  height: 30px;
  padding-top: 4px;
  margin: 0 0 0 -1px;
  color: #111;
  background: #fff;
  border-left-width: 1px;
  -webkit-border-top-right-radius: 2px;
          border-top-right-radius: 2px;
  -webkit-border-top-left-radius: 2px;
          border-top-left-radius: 2px;
  -moz-border-radius-topright: 2px;
  -moz-border-radius-topleft: 2px;
}

ul.tabs li:first-child a.active {
  margin-left: 0;
}

ul.tabs li:first-child a {
  border-width: 1px 1px 0 1px;
  -webkit-border-top-left-radius: 2px;
          border-top-left-radius: 2px;
  -moz-border-radius-topleft: 2px;
}

ul.tabs li:last-child a {
  -webkit-border-top-right-radius: 2px;
          border-top-right-radius: 2px;
  -moz-border-radius-topright: 2px;
}

ul.tabs-content {
  display: block;
  margin: 0;
}

ul.tabs-content > li {
  display: none;
}

ul.tabs-content > li.active {
  display: block;
}

/* Clearfixing tabs for beautiful stacking */

ul.tabs:before,
ul.tabs:after {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
  content: '\0020';
  visibility: hidden;
}

ul.tabs:after {
  clear: both;
}

ul.tabs {
  zoom: 1;
}

/* #Base 960 Grid
================================================== */

.container {
  position: relative;
  width: 1024px;
  padding: 0;
  margin: 0 auto;
}

.container [class*="span"] {
  position: relative;
  display: inline;
  float: left;
  margin-right: 10px;
  margin-left: 10px;
}

.container [class*="span"].alpha {
  margin-left: 0;
}

.container [class*="span"].omega {
  margin-right: 0;
}

.row {
  margin-bottom: 20px;
}

.container .span16 {
  width: 1004px;
}

.container .span15 {
  width: 940px;
}

.container .span14 {
  width: 876px;
}

.container .span13 {
  width: 812px;
}

.container .span12 {
  width: 748px;
}

.container .span11 {
  width: 684px;
}

.container .span10 {
  width: 620px;
}

.container .span9 {
  width: 556px;
}

.container .span8 {
  width: 492px;
}

.container .span7 {
  width: 428px;
}

.container .span6 {
  width: 364px;
}

.container .span5 {
  width: 300px;
}

.container .span4 {
  width: 236px;
}

.container .span3 {
  width: 172px;
}

.container .span2 {
  width: 108px;
}

.container .span1 {
  width: 44px;
}

.container .span1Third {
  width: 321.3333333333333px;
}

.container .span2Thirds {
  width: 662.6666666666666px;
}

.container .offset15 {
  padding-left: 960px;
}

.container .offset14 {
  padding-left: 896px;
}

.container .offset13 {
  padding-left: 832px;
}

.container .offset12 {
  padding-left: 768px;
}

.container .offset11 {
  padding-left: 704px;
}

.container .offset10 {
  padding-left: 640px;
}

.container .offset9 {
  padding-left: 576px;
}

.container .offset8 {
  padding-left: 512px;
}

.container .offset7 {
  padding-left: 448px;
}

.container .offset6 {
  padding-left: 384px;
}

.container .offset5 {
  padding-left: 320px;
}

.container .offset4 {
  padding-left: 256px;
}

.container .offset3 {
  padding-left: 192px;
}

.container .offset2 {
  padding-left: 128px;
}

.container .offset1 {
  padding-left: 64px;
}

.container .offset1Third {
  padding-left: 341.3333333333333px;
}

.container .offset2Thirds {
  padding-left: 682.6666666666666px;
}

.container .push15 {
  left: 960px;
}

.container .push14 {
  left: 896px;
}

.container .push13 {
  left: 832px;
}

.container .push12 {
  left: 768px;
}

.container .push11 {
  left: 704px;
}

.container .push10 {
  left: 640px;
}

.container .push9 {
  left: 576px;
}

.container .push8 {
  left: 512px;
}

.container .push7 {
  left: 448px;
}

.container .push6 {
  left: 384px;
}

.container .push5 {
  left: 320px;
}

.container .push4 {
  left: 256px;
}

.container .push3 {
  left: 192px;
}

.container .push2 {
  left: 128px;
}

.container .push1 {
  left: 64px;
}

.container .pull15 {
  left: -960px;
}

.container .pull14 {
  left: -896px;
}

.container .pull13 {
  left: -832px;
}

.container .pull12 {
  left: -768px;
}

.container .pull11 {
  left: -704px;
}

.container .pull10 {
  left: -640px;
}

.container .pull9 {
  left: -576px;
}

.container .pull8 {
  left: -512px;
}

.container .pull7 {
  left: -448px;
}

.container .pull6 {
  left: -384px;
}

.container .pull5 {
  left: -320px;
}

.container .pull4 {
  left: -256px;
}

.container .pull3 {
  left: -192px;
}

.container .pull2 {
  left: -128px;
}

.container .pull1 {
  left: -64px;
}

/* #Clearing
================================================== */

/* Self Clearing Goodness */

.container:after {
  display: block;
  height: 0;
  clear: both;
  content: "\0020";
  visibility: hidden;
}

/* Use clearfix class on parent to clear nested columns,
or wrap each row of columns in a <div class="row"> */

.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
  content: '\0020';
  visibility: hidden;
}

.row:after,
.clearfix:after {
  clear: both;
}

.row,
.clearfix {
  zoom: 1;
}

/* You can also use a <br class="clear" /> to clear columns */

.clear {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
  clear: both;
  visibility: hidden;
}

.hori-nav {
  position: relative;
  z-index: 997;
  min-height: 35px;
  padding: 0;
  margin: 0 auto;
  line-height: 35px;
}

.hori-nav li {
  position: relative;
  display: block;
  float: left;
  margin: 0;
  line-height: 35px;
}

.hori-nav li a {
  display: block;
  padding: 0 10px;
  text-decoration: none;
}

/* Horizontal Menu's Second Level */

.hori-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 100%;
  margin: 0;
  border-top: none;
}

.hori-nav li:hover > .sub-menu {
  display: flex !important;
}

.hori-nav .sub-menu li {
  float: none;
}

.hori-nav .sub-menu li a {
  float: none;
  margin: 0;
}

/* Horizontal Menu's Third Level*/

.hori-nav .sub-menu .sub-menu {
  top: 0;
  left: 100%;
}

/*
	Global - Vertical Navigation
*/

.vert-nav {
  position: relative;
  padding: 0;
  margin: 0;
  line-height: 35px;
}

.vert-nav li {
  position: relative;
  padding: 0;
  margin: 0;
}

.vert-nav li a {
  display: block;
  padding: 0 0 0 10px;
  line-height: 35px;
  text-decoration: none;
}

/* Vertical Menus Second Level*/

.vert-nav .sub-menu {
  margin: 0;
}

.vert-nav .sub-menu li a:before {
  content: "• ";
}

/* Vertical Menus Third Level */

.vert-nav .sub-menu .sub-menu {
  font-size: 100%;
}

.vert-nav .sub-menu .sub-menu li a:before {
  content: ">> ";
}

/*
    Responsive Menu
*/

#responsive-menu {
  display: none;
}

/*
 * jQuery FlexSlider v2.2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

/* Browser Resets
*********************************/

.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus {
  outline: none;
}

.slides,
.flex-control-nav,
.flex-direction-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* FlexSlider Necessary Styles
*********************************/

.flexslider {
  padding: 0;
  margin: 0;
}

.flexslider .slides > li {
  position: relative;
  display: none;
  margin: 0;
  -webkit-backface-visibility: hidden;
}

/* Hide the slides before the JS is loaded. Avoids image jumping */

.flexslider .slides img {
  display: block;
  width: 100%;
  height: auto;
}

.flex-pauseplay span {
  text-transform: capitalize;
}

/* Clearfix for the .slides element */

.slides:after {
  display: block;
  height: 0;
  clear: both;
  line-height: 0;
  content: "\0020";
  visibility: hidden;
}

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

/* FlexSlider Default Theme
*********************************/

.flexslider {
  position: relative;
  margin: 0 0 30px;
  background: #fff;
  zoom: 1;
}

.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
          transition: all 1s ease;
}

.loading .flex-viewport {
  max-height: 300px;
}

.flexslider .slides {
  zoom: 1;
}

.carousel li {
  margin-right: 5px;
}

/* Direction Nav */

.flex-direction-nav {
  *height: 0;
}

.flex-direction-nav li {
  margin: 0;
  line-height: 1;
}

.flex-direction-nav a {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: block;
  width: 30px;
  height: 30px;
  margin: 0;
  overflow: hidden;
  color: rgba(0, 0, 0, 0.8);
  text-indent: -999em;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  cursor: pointer;
  opacity: 0;
  -webkit-transition: all .3s ease;
     -moz-transition: all .3s ease;
          transition: all .3s ease;
}

.flex-direction-nav .flex-prev {
  left: -50px;
  background: url('../includes/scripts/flexslider/images/bg_direction_nav.png') no-repeat 0 center;
}

.flex-direction-nav .flex-next {
  right: -50px;
  background: url('../includes/scripts/flexslider/images/bg_direction_nav.png') no-repeat -30px center;
}

.flexslider:hover .flex-prev {
  left: 10px;
  opacity: 0.7;
}

.flexslider:hover .flex-next {
  right: 10px;
  opacity: 0.7;
}

.flexslider:hover .flex-next:hover,
.flexslider:hover .flex-prev:hover {
  opacity: 1;
}

.flex-direction-nav .flex-disabled {
  cursor: default;
  opacity: 0!important;
  filter: alpha(opacity=0);
}

/* Pause/Play */

.flex-pauseplay a {
  position: absolute;
  bottom: 5px;
  left: 10px;
  z-index: 10;
  display: block;
  width: 20px;
  height: 20px;
  overflow: hidden;
  color: #000;
  cursor: pointer;
  opacity: 0.8;
}

.flex-pauseplay a:before {
  display: inline-block;
  font-family: "flexslider-icon";
  font-size: 20px;
  content: '\f004';
}

.flex-pauseplay a:hover {
  opacity: 1;
}

.flex-pauseplay a.flex-play:before {
  content: '\f003';
}

/* Control Nav */

.flex-control-nav {
  position: absolute;
  bottom: -25px;
  width: 100%;
  text-align: center;
}

.flex-control-nav li {
  display: inline-block;
  *display: inline;
  margin: 0 6px;
  zoom: 1;
}

.flex-control-paging li a {
  display: block;
  width: 11px;
  height: 11px;
  text-indent: -9999px;
  cursor: pointer;
  background: #666;
  background: rgba(0, 0, 0, 0.5);
  -webkit-border-radius: 20px;
     -moz-border-radius: 20px;
       -o-border-radius: 20px;
          border-radius: 20px;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
     -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
       -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
          box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
}

.flex-control-paging li a:hover {
  background: #333;
  background: rgba(0, 0, 0, 0.7);
}

.flex-control-paging li a.flex-active {
  cursor: default;
  background: #000;
  background: rgba(0, 0, 0, 0.9);
}

.flex-control-thumbs {
  position: static;
  margin: 5px 0 0;
  overflow: hidden;
}

.flex-control-thumbs li {
  float: left;
  width: 25%;
  margin: 0;
}

.flex-control-thumbs img {
  display: block;
  width: 100%;
  cursor: pointer;
  opacity: .7;
}

.flex-control-thumbs img:hover {
  opacity: 1;
}

.flex-control-thumbs .flex-active {
  cursor: default;
  opacity: 1;
}

/* Content Stuff  */

.slide-info {
  position: absolute;
}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    left: 10px;
    opacity: 1;
  }
  .flex-direction-nav .flex-next {
    right: 10px;
    opacity: 1;
  }
}

/*
    Gallery Pages
*/

.preload {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100000;
  width: 100%;
  height: 100%;
  color: #FFF;
  text-align: center;
  background: #FFF;
}

.preload div {
  width: 100%;
  height: 100%;
  background: transparent url('../images/load-indicator.gif') no-repeat scroll 50% 50%;
}

/* thumbnails */

#gallery-thumbs {
  margin: 0;
}

#gallery-thumbs li {
  float: left;
  width: 29%;
  margin: 0 1.5% 16px 1.5%;
  list-style: none;
}

#gallery-thumbs li img {
  width: 100%;
  height: auto;
  padding: 2px;
  background: #fff;
}

/* Images */

#gallery-images {
  position: relative;
  width: 100%;
  margin: 0 0 10px;
  background: #fff;
}

#gallery-images li {
  position: relative !important;
  right: 0;
  width: 100%;
  margin: 0;
  list-style: none;
}

#gallery-images li img {
  display: block;
  width: 100%;
  height: auto;
}

/*
    Gallery navigation
*/

#gallery-nav {
  margin-bottom: 40px;
  clear: both;
}

#gallery-nav a {
  font-weight: bold;
  /*    color: #D71D24;*/

}

#sb-title-inner,
#sb-info-inner,
#sb-loading-inner,
div.sb-message {
  font-family: "HelveticaNeue-Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 200;
  color: #fff;
}

#sb-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  display: none;
  padding: 0;
  margin: 0;
  text-align: left;
  visibility: hidden;
}

#sb-overlay {
  position: relative;
  width: 100%;
  height: 100%;
}

#sb-wrapper {
  position: absolute;
  width: 100px;
  visibility: hidden;
}

#sb-wrapper-inner {
  position: relative;
  height: 100px;
  overflow: hidden;
  border: 1px solid #303030;
}

#sb-body {
  position: relative;
  height: 100%;
}

#sb-body-inner {
  position: absolute;
  width: 100%;
  height: 100%;
}

#sb-player.html {
  height: 100%;
  overflow: auto;
}

#sb-body img {
  border: none;
}

#sb-loading {
  position: relative;
  height: 100%;
}

#sb-loading-inner {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 24px;
  margin-top: -12px;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
}

#sb-loading-inner span {
  display: inline-block;
  padding-left: 34px;
  background: url(../includes/scripts/shadowbox/loading.gif) no-repeat;
}

#sb-body,
#sb-loading {
  background-color: #060606;
}

#sb-title,
#sb-info {
  position: relative;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

#sb-title,
#sb-title-inner {
  height: 26px;
  line-height: 26px;
}

#sb-title-inner {
  font-size: 16px;
}

#sb-info,
#sb-info-inner {
  height: 20px;
  line-height: 20px;
}

#sb-info-inner {
  font-size: 12px;
}

#sb-nav {
  float: right;
  width: 45%;
  height: 16px;
  padding: 2px 0;
}

#sb-nav a {
  display: block;
  float: right;
  width: 16px;
  height: 16px;
  margin-left: 3px;
  cursor: pointer;
  background-repeat: no-repeat;
}

#sb-nav-close {
  background-image: url(../includes/scripts/shadowbox/close.png);
}

#sb-nav-next {
  background-image: url(../includes/scripts/shadowbox/next.png);
}

#sb-nav-previous {
  background-image: url(../includes/scripts/shadowbox/previous.png);
}

#sb-nav-play {
  background-image: url(../includes/scripts/shadowbox/play.png);
}

#sb-nav-pause {
  background-image: url(../includes/scripts/shadowbox/pause.png);
}

#sb-counter {
  float: left;
  width: 45%;
}

#sb-counter a {
  padding: 0 4px 0 0;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

#sb-counter a.sb-counter-current {
  text-decoration: underline;
}

div.sb-message {
  padding: 10px;
  font-size: 12px;
  text-align: center;
}

div.sb-message a:link,
div.sb-message a:visited {
  color: #fff;
  text-decoration: underline;
}

/* /////////////////////////////////////////////////////////////////////
//  Echotheme Styles
/////////////////////////////////////////////////////////////////////*/

#sb-wrapper-inner {
  border: 2px solid #fff;
  border-radius: 5px;
}
