/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }
a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 20px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }
form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
input:focus { outline-style: 0; outline-width: 0; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }
table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

/* ================ */
/* =     Grid     = */
/* ================ */

.grid-unit{ float: left; }
.grid1of1{ float: none; }
.grid1of2{ width: 50%; }
.grid1of3{ width: 33.33333%; }
.grid2of3{ width: 66.66666%; }
.grid1of4{ width: 25%; }
.grid3of4{ width: 75%; }
.grid1of5{ width: 20%; }
.grid2of5{ width: 40%; }
.grid3of5{ width: 60%; }
.grid4of5{ width: 80%; }
.grid-last-unit{
  display: table-cell;
  float: none;
  width: auto;
  *display: block;
  *zoom: 1;
  _position: relative;
  _left: -3px;
  _margin-right: -3px; }
.grid-wrapper{ width: 960px; margin: 0 auto; }


/* ===== Primary Styles ===================================================== */
/* Author: Zac Parker                                                         */
/* ========================================================================== */

body {
  margin-bottom: 80px;
  background-color: #06163d;
  background: url("../img/bg.png") 0 0 repeat-x #06163d;
  font-size: 13px;
}
header {
  background: url("../img/header-bg.png") 0 0 no-repeat white;
  border-radius: 5px;
}
blockquote {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-style: italic;
  color: #404040;
  font-size: 16px;
}
blockquote img {
  float:left;
  margin: 5px 10px 5px 0;
}
blockquote strong {
  font-style: normal;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 12px;
}
a {
  text-decoration: none;
}
a:hover,
.dropdown-list span:hover {
  -webkit-transition: background-color 0.2s linear;
  -moz-transition: background-color 0.2s linear;
  -ms-transition: background-color 0.2s linear;
  -o-transition: background-color 0.2s linear;
  transition: background-color 0.2s linear;
  -webkit-transition: color 0.2s linear;
  -moz-transition: color 0.2s linear;
  -ms-transition: color 0.2s linear;
  -o-transition: color 0.2s linear;
  transition: color 0.2s linear;
}
ul, li {
  list-style: none;
}
.content-block {
  border-radius: 6px;
  font-size: 14px;
  overflow: hidden;
  background-color: white;
  box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, .15);
}
.content-block-header {
  margin: 0;
  display: block;
  padding: 15px 20px;
  color: white;
  background-repeat: repeat-x;
}
.blue-header {
  text-shadow: 0 -1px 0 #3177a2;
  background-color: #419ed7;
  background-image: -moz-linear-gradient(top, #4ba6db, #3292d2);
  background-image: -ms-linear-gradient(top, #4ba6db, #3292d2);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4ba6db), to(#3292d2));
  background-image: -webkit-linear-gradient(top, #4ba6db, #3292d2);
  background-image: -o-linear-gradient(top, #4ba6db, #3292d2);
  background-image: linear-gradient(top, #3292d2, #3292d2);
}
.red-header {
  text-shadow: 0 -1px 0 #a63c25;
  background-color: #da472d;
  background-image: -moz-linear-gradient(top, #e3623d, #d33121);
  background-image: -ms-linear-gradient(top, #e3623d, #d33121);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e3623d), to(#d33121));
  background-image: -webkit-linear-gradient(top, #e3623d, #d33121);
  background-image: -o-linear-gradient(top, #e3623d, #d33121);
  background-image: linear-gradient(top, #e3623d, #d33121);
}
.green-header {
  text-shadow: 0 -1px 0 #718443;
  background-color: #92aa54;
  background-image: -moz-linear-gradient(top, #a7bb69, #7f9c41);
  background-image: -ms-linear-gradient(top, #a7bb69, #7f9c41);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#a7bb69), to(#7f9c41));
  background-image: -webkit-linear-gradient(top, #a7bb69, #7f9c41);
  background-image: -o-linear-gradient(top, #a7bb69, #7f9c41);
  background-image: linear-gradient(top, #a7bb69, #7f9c41);
}
.grid-wrapper {
  background-color: #d6e2ea;
  border-radius: 8px;
  padding: 20px;
  margin-top: 40px;
}
.slab {
  /* To be replaced by TypeKit fonts */
  font-family: "Rockwell", "Courier New", Courier, serif;
}
.highlight {
  font-size: 18px;
  font-weight: bold;
  color: #05143f;
}
.read-more {
  color: #d33221;
}
.btn.read-more {
  color: white;
}
.read-more:after {
  content: " ➞";
}
.btn.read-more:after {
  content: " ➡";
}
.btn .rotate180 {
  padding: 0 4px 2px 0;
}
nav li {
  float: left;
}
nav li a {
  display: inline-block;
}

/* This is the nav in the top right corner of the page */
.social-nav-top ul {
  float: right;
  border: 1px solid #1d68ad;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 1px 0 rgba(255, 255, 255, 0.25);
  border-radius: 0 4px 0 6px;
  overflow: hidden;
}
.social-nav-top img {
  margin-right: 10px;
}
.social-nav-top a {
  color: white;
  text-shadow: 0 1px 0 #497a9c;
  font-weight: bold;
  font-size: 13px;
  padding: 9px 26px;
  height: 20px;
  margin: 0;
  border-right: 1px solid #3377b4;
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.25) inset;
  background: url('../img/rgba_ffffff_25.png') 0 0 repeat;
  background: rgba(255, 255, 255, 0.25);
}
.social-nav-top li:last-child a {
  border: none;
}
.social-nav-top a:hover {
  background: url('../img/rgba_ffffff_15.png') 0 0 repeat;
  background: rgba(255, 255, 255, 0.15);
}
/* This is the image-replaced logo */
header h1 {
  float: left;
}
.uvis-logo {
  width: 150px;
  height: 90px;
  margin: -34px 0 -70px 27px;
}

/* This is the search bar up at the top of the page */
.nav-search {
  float: right;
  padding: 8px;
  margin-right: 15px;
  width: 285px;
  border-radius: 3px;
  border: 1px solid #ccc;
  color: #ccc;
  margin-top: 40px;
  font-style: italic;
  font-weight: 12px;
}

/* This is the nav that hovers over the hero unit */
.internal-nav {
  border-top: 1px solid #7d8d4e;
  margin: 12px 0;
  border-radius: 0 0 6px 6px;
  background: url("../img/nav-bg.png") 0 0 repeat-x #7f9c41;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.internal-nav a {
  border-left: 1px solid #7d8d4e;
  text-shadow: 0 -1px 0 #7d8d4e;
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.25) inset;
  font-size: 14px;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  padding: 20px 42px;
}
.lt-ie98 .internal-nav li {
  float: left;
  display: inline;
}
.internal-nav a:hover {
  background: url('../img/rgba_ffffff_25.png');
  background: rgba(255, 255, 255, 0.25);
}
.internal-nav a.active,
.internal-nav a.active:hover {
  background: url('../img/internal-nav-active-bg.png')
}
.internal-nav li:first-child a {
  border-bottom-left-radius: 6px;
  padding: 20px 23px;
  border: none;
}
.internal-nav li:last-child a {
  border-bottom-right-radius: 6px;
}
@media screen and (-webkit-min-device-pixel-ratio:0) { /* webkit hack */
  .internal-nav li:first-child a {
    padding: 20px 22px;
  }
  .internal-nav li:first-child a:hover {
    border-bottom-left-radius: 7px;
  }
}
.lt-ie9 .internal-nav li:first-child a {
  padding: 22px 27px;
}

/* This is the hero unit / image rotator and it's contents */
.carousel {
  height:  336px;
  width:   1000px;
  padding: 0;
  position: relative;
  right: 20px;
  margin: -72px 0 0 0;
  margin-bottom: -275px;
  overflow: hidden;
}
.carousel img {
  width:  1000px;
  height: 336px;
  top:  0;
  left: 0
}
.carousel-layover {
  position: relative;
  z-index: 10;
  margin: 0 0 214px 20px;
}
.hero-unit .slab{
  color: white;
  text-shadow: 0 1px 3px #000;
  font-size: 23px;
}
.get-started {
  background-color: #606060;
  margin-top: 10px;
}
.get-started h4 {
  color: white;
  font-size: 14px;
  font-weight: bold;
  margin:  10px 0 10px 20px;
}
.get-started .grid1of2:last-child {
  box-shadow: 1px 0 0 #4a4a4a inset, 2px 0 0 rgba(255, 255, 255, 0.10) inset;
}
.get-started ul {
  margin: 0 0 10px 0;
  padding: 0 15px;
}
.lt-ie8 .get-started ul {
  padding-bottom: 5px;
}
.get-started a {
  display: block;
  background-color: #707070;
  color: white;
  font-size: 14px;
  border-radius: 5px;
  padding: 5px;
  margin: 2px 0;
}
.get-started li:hover a {
  background-color: #808080;
}
.get-started li img {
  margin: 0 10px 0 3px;
}

/* These are the styles for the content blocks that start in the bottom of the carousel and extend below */
.carriers {
  margin: 8px 0 0 0;
  position: relative;
  z-index: 10;
}
@media screen and (-webkit-min-device-pixel-ratio:0) { /* webkit hack */
  .carriers {
    margin: 9px 0 0 0;
  }
}
.lt-ie9 .carriers {
  margin-top: 6px;
}
.lt-ie8 .carriers-header {
  padding: 13px 20px;
}
.carriers-content {
  padding: 10px;
}
.carriers-content .btn {
  margin: 0 100px;
}
.tabs-outer-wrapper {
  position: relative;
  z-index: 10;
}
.tabs-wrapper {
  margin: 9px 0 10px 20px;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, .15);
}
.tabs-content {
  color: #606060;
  font-size: 14px;
  padding-bottom: 10px;
}
.testimonials {
  margin: -20px 0 0 0;
}
.testimonials-content {
  padding: 10px 0;
}
.standout {
  margin: 10px 0 0 0;
}
.standout-content {
  margin: 9px 0 0 20px;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, .15);
  padding: 26px 20px 26px;
}
.standout .slab {
  font-size: 34px;
  font-weight: 300;
  margin: 0;
  color: #05143f;
}
.standout p {
  font-size: 14px;
  color: #606060;
}
.standout .btn-primary {
  margin-right: 10px;
}
/* ============================== */
/*              Blog              */
/* ============================== */

.main-wrapper {
  background: #cdcdcd;
  border: 1px solid #a9a9a9;
  overflow: hidden;
  border-radius: 6px;
}
.sidebar {
  width: 250px;
  float: left;
  padding: 15px 0;
  margin: 0;
}
.main {
  box-shadow: 3px 0 10px rgba(0, 0, 0, 0.5);
  border-left: 1px solid #a9a9a9;
  width: 707px;
  overflow: hidden;
  background: #fff;
  padding: 0;
  min-height: 805px;
}
.sidebar .content-block:first-child {
  margin-top: 0;
}
.sidebar .content-block {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin: 15px 15px 0 -1px;
  position: static;
}
.sidebar .carriers .btn {
  margin: 5px 65px;
}
.categories ul {
  margin: 0;
  padding: 0;
}
.categories a {
  color: #606060;
  display: block;
  padding: 8px 12px;
  border-top: 1px solid #e5e5e5;
}
.categories a:hover {
  color: #909090;
  text-decoration: underline;
}
.blog-post.featured {
  background-color: #fffdef;
  border-top: none;
  padding-top: 1px;
  padding: 1px 20px 25px;
}
.blog-post {
  margin: 0;
  padding: 0 30px 15px;
  border-top: 1px solid #cccccc;
}
.blog-post p {
  font-size: 14px;
  color: #606060;
  line-height: 1.7;
  margin: 5px 0 10px!important; /* important to override rules set by .richcontainer class￿*/
}
.blog-post img {
  padding: 3px;
  background-color: white;
  border: 1px solid #e1dfd3;
}
.blog-post h3 {
  font-size: 24px;
  font-weight: normal;
  margin: 10px 0;
}
.featured h3 {
  font-size: 32px;
}
.blog-post .blog-date {
  color: #909090;
}
.pagination-wrapper {
  border-top: 1px solid #cccccc;
}
.pagination{
  padding: 30px 30px 50px;
}
.pagination a {
  color: #d33221;
  text-decoration: underline;
}
.pagination span {
  margin-left: 65px;
  color: #909090;
}

/* ============================== */
/*           Who We Are           */
/* ============================== */
/**
 * Aside / Dropdown Menu
 */

.dropdown-list {
  margin-top: -15px;
  padding: 0; list-style: none;
}
.dropdown-list li {
  margin: 0; padding: 0; list-style: none;
}
.dropdown-list li {
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.25) inset;
  position: relative;
}
.dropdown-list li a {
  display: block; padding: 15px;
  border-bottom: 1px solid #b8b8b8;
  color: #606060;
  margin: 0;
  zoom: 1;
}
.dropdown-list a:hover {
  background: url('../img/rgba_ffffff_25.png');
  background: rgba(255, 255, 255, 0.25);
}
.dropdown-list a.current-content {
  background: white;
  color: #3091d8;
  border-right: 1px solid white;
  margin-right: -1px;
}
.dropdown-list a.current-content:hover {
  color: #606060;
}
.lt-ie9 .dropdown-list a.current-content {
  margin-top: -3px;
}
.dropdown-list li span {
  background: url(../img/grey-right-arrow.png) no-repeat center center;
  width: 48px;
  height: 48px;
  border-left: 1px solid #b8b8b8;
  position: absolute;
  top: 0;
  right: 1px;
}
.dropdown-list li.active span {
  background: url(../img/grey-down-arrow.png) no-repeat center center;
  border-bottom: 1px solid #CDCDCD;
}
.dropdown-list li span:hover {
  background-color: url('../img/rgba_ffffff_25.png');
  background-color: rgba(255, 255, 255, .25);
  cursor: pointer;
}

/** Sub Nav **/
.dropdown-list li .dropdown {
  display: none;
}

.dropdown-list li ul {
  padding: 15px 0;
  border-bottom: 1px solid #b8b8b8;
  margin: 0;
}
.dropdown-list li ul li {
  background: url(../img/list-black-right-25.png) no-repeat 15px 8px;
  padding: 2px 15px 10px 30px;
  border: 0 none;
}
.dropdown-list li ul li a {
  color: #606060;
  display: inline;
  padding: 0;
  font-size: 12px;
  line-height: 18px;
}
.dropdown-list li ul li:hover a,
.dropdown-list li ul li a:hover {
  color: #303030;
  background: 0;
}
.sub-page-content {
  font-size: 14px;
  line-height: 1.7;
  color: #606060;
  margin: 0 30px 0 0;
}
.sub-page-content h3 {
  color: #05143f;
  font-size: 42px;
  font-weight: normal;
  margin: 35px 0 10px;
}
.sub-page-content h4 {
  margin: 20px 0;
  color: #05143f;
  font-size: 20px;
}

/* ============================== */
/*          Find an Agent         */
/* ============================== */

.search-and-sort {
  padding: 20px;
  background-color: #f7f7f7;
  background-image: -moz-linear-gradient(top, #ffffff, #efefef);
  background-image: -ms-linear-gradient(top, #ffffff, #efefef);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#efefef));
  background-image: -webkit-linear-gradient(top, #ffffff, #efefef);
  background-image: -o-linear-gradient(top, #ffffff, #efefef);
  background-image: linear-gradient(top, #ffffff, #efefef);
  background-repeat: repeat-x;
}
.search-and-sort input[type=search] {
  padding: 12px 6px 10px;
  margin: 0 10px 0 0;
  border-radius: 4px;
  border: 1px solid #ccc;
  color: #ccc;
  font-style: italic;
  font-size: 12px;
  width: 409px;
  float: left;
}
.sort-by-company {
  margin-right: 10px;
}
.company-list {
  margin: 0;
  padding: 0;
  font-size: 13px;
}
.company-list p {
  margin: 5px 0;
}
.company-list li {
  border-top: 1px solid #ccc;
  padding: 15px 20px 0;
}
.analog-contact {
  margin: 0;
  padding: 0;
}
.analog-contact li {
  float: left;
  border: none;
  padding: 0;
  margin-right: 15px;
}
.company-list li li img {
  float: left;
  padding: 5px 10px 10px 0;
}
.digital-contact {
  margin: 10px 0 -1px 0;
  padding: 0;
  float: left;
}
.digital-contact a {
  display: block;
  padding: 8px 15px;
  color: #909090;
}
.digital-contact a:hover {
  background-color: #f5f5f5;
  color: #606060;
}
.digital-contact li {
  float: left;
  border: 1px solid #ccc;
  border-bottom: none;
  padding: 0;
}
.digital-contact li:first-child {
  border-top-left-radius: 6px;
  border-right: none;
}
.digital-contact li:last-child {
  border-top-right-radius: 6px;
  border-left: none;
}
.company-list h4 {
  font-weight: normal;
  font-size: 20px;
  margin: 0 0 -5px !important; /* important overrides .richcontainer style */
  color: #dc331f;
}
.distance-length,
.license-number {
  font-style: italic;
  color: #ccc;
}
.license-number {
  margin: 15px -40px 0 0;
  font-size: 12px;
}


/* ============================== */
/*             Footer             */
/* ============================== */


.bottom-nav {
  border-top: 1px solid #c0cbd2;
  border-bottom: 1px solid #c0cbd2;
  height: 50px;
  position: relative;
  right: 20px;
  width: 1000px;
  margin: 25px 0 40px;
}
.lt-ie9 .bottom-nav {
  height: 52px;
}
.lt-ie8 .bottom-nav {
  height: 50px;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
  .bottom-nav {
    height: 51px;
  }
}
.bottom-nav a {
  display: block;
  color: #06163d;
  padding: 15px 20px;
}
.bbb {
  margin-right: 100px;
}
.bottom-nav li a:hover {
  background: url('../img/rgba_ffffff_25.png');
  background: rgba(255, 255, 255, 0.25);
}
.bottom-nav img {
  margin-right: 15px;
}
.bottom-nav li {
  border-right: 1px solid #c0cbd2;
}
.bottom-nav li:first-child a {
  border-bottom: 1px solid #d6e2ea;
  padding: 15px 20px 15px;
}
.bottom-nav li:first-child img {
  margin-right: 0;
}
.bottom-nav .last-child {
  padding: 8px 20px;
  border: none;
}
.bottom-nav input[type=text] {
  background-color: #fff;
  color: #ccc;
  border: 1px solid #b6c0c7;
  border-radius: 4px;
  font-style: italic;
  width: 408px;
  padding: 9px;
  margin: 0 10px;
}
.bottom-nav input[type=submit] {
  margin-top: -2px;
  padding: 9px 16px 7px;
}
.lt-ie8 .bottom-nav input[type=submit] {
  padding: 6px 15px 5px;
}
footer h4,
footer p,
footer li a {
  font-size: 14px;
  color: #06163d;
}
footer ul,
footer li {
  margin-left: 0;
  padding-left: 0;
}
footer .richcontainer li {
  line-height: 30px;
}
footer ul.pull-left {
  margin-right: 40px;
}
.copyright {
  margin-top: 60px;
  padding: 20px 40px;
  border-top: 1px solid #c0cbd2;
  width: 920px;
  position: relative;
  right: 20px;
}

/* =============================================== */
/*                 Tabs (see tabs.js)              */
/* =============================================== */

ul.tabs {
  padding: 0;
  border: 1px solid #b2b2b2;
  border-bottom: solid 1px #a9a9a9;
  margin: 0;
  display: block;
  padding: 10px 10px;
  color: #303030;
  background-color: #c9c9c9; }
ul.tabs li {
  display: block;
  width: auto;
  height: 30px;
  padding: 0;
  float: left;
  margin-bottom: 0; }
ul.tabs li a {
  display: block;
  text-decoration: none;
  width: auto;
  height: 30px;
  padding: 5px 20px;
  line-height: 30px;
  margin: 0;
  font-size: 14px;
  text-shadow: 0 1px 0 white;
  color: #303030; }
ul.tabs li a.active {
  background: white;
  border: solid 1px #a9a9a9;
  position: relative;
  border-left-width: 1px;
  margin: -1px 0 0 0;
  padding: 5px 30px;
  color: #3091d8;
  border-bottom: 1px solid white !important;
  -moz-border-radius-topleft: 6px;
  -webkit-border-top-left-radius: 6px;
  border-top-left-radius: 6px;
  -moz-border-radius-topright: 6px;
  -webkit-border-top-right-radius: 6px;
  border-top-right-radius: 6px; }
ul.tabs li:first-child a.active {
  margin-left: 0; }
ul.tabs li:first-child a {
  border-width: 1px 1px 0 1px;
  -moz-border-radius-topleft: 6px;
  -webkit-border-top-left-radius: 6px;
  border-top-left-radius: 6px; }
ul.tabs li:last-child a {
  -moz-border-radius-topright: 6px;
  -webkit-border-top-right-radius: 6px;
  border-top-right-radius: 6px; }

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

/* Clearfixing tabs for beautiful stacking */
ul.tabs:before,
ul.tabs:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0; }
ul.tabs:after {
  clear: both; }
ul.tabs {
  zoom: 1; }

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

.btn {
  display: inline-block;
  padding: 4px 10px 4px;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 18px;
  color: #333333;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
  vertical-align: middle;
  background: transparent;
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(top, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  border: 1px solid #ccc;
  border-bottom-color: #bbb;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  *margin-left: .3em;
  -webkit-font-smoothing: antialiased;
  zoom: 1; }
.btn:hover,
.btn:active,
.btn.active {
  background-color: #e6e6e6; }
.btn:active,
.btn.active {
  background-color: #cccccc \9; }
.btn:first-child {
  *margin-left: 0; }
.btn:hover {
  color: #333333;
  text-decoration: none;
  background-color: #e6e6e6;
  background-position: 0 -15px;
  -webkit-transition: background-position 0.2s linear;
  -moz-transition: background-position 0.2s linear;
  -ms-transition: background-position 0.2s linear;
  -o-transition: background-position 0.2s linear;
  transition: background-position 0.2s linear; }
.btn:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px; }
.btn:active,
.btn.active {
  background-image: none;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  background-color: #e6e6e6;
  background-color: #d9d9d9 \9;
  outline: 0; }
.btn-primary {
  background: transparent;
  background-color: #4fa9dc;
  background-repeat: repeat-x;
  background-image: -khtml-gradient(linear, left top, left bottom, from(#4fa9dc), to(#3292d2));
  background-image: -moz-linear-gradient(top, #4fa9dc, #3292d2);
  background-image: -ms-linear-gradient(top, #4fa9dc, #3292d2);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4fa9dc), color-stop(100%, #3292d2));
  background-image: -webkit-linear-gradient(top, #4fa9dc, #3292d2);
  background-image: -o-linear-gradient(top, #4fa9dc, #3292d2); background-image: linear-gradient(#4fa9dc, #3292d2);
  border-color: #3292d2;
  color: #fff !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.26);
  zoom: 1; }
.btn-primary:hover,
.btn-primary:active,
.btn-primary.active {
  background-color: #3292d2; }
.btn-action {
  background: transparent;
  background-color: #e15d39;
  background-repeat: repeat-x;
  background-image: -khtml-gradient(linear, left top, left bottom, from(#e15d39), to(#d33021));
  background-image: -moz-linear-gradient(top, #e15d39, #d33021);
  background-image: -ms-linear-gradient(top, #e15d39, #d33021);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e15d39), color-stop(100%, #d33021));
  background-image: -webkit-linear-gradient(top, #e15d39, #d33021);
  background-image: -o-linear-gradient(top, #e15d39, #d33021);
  background-image: linear-gradient(#e15d39, #d33021);
  border-color: #d33021 ;
  color: #fff !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.26);
  zoom: 1; }
.btn-action:hover,
.btn-action:active,
.btn-action.active {
  background-color: #d33021; }
.btn-inverse {
  color: white;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background: transparent;
  background-color: #a0a9af;
  background-image: -moz-linear-gradient(top, #a0a9af, #91999e);
  background-image: -ms-linear-gradient(top, #a0a9af, #91999e);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#a0a9af), to(#91999e));
  background-image: -webkit-linear-gradient(top, #a0a9af, #91999e);
  background-image: -o-linear-gradient(top, #a0a9af, #91999e);
  background-image: linear-gradient(top, #a0a9af, #91999e);
  background-repeat: repeat-x;
  border-color: #9aa2a8; }
.btn-inverse:hover,
.btn-inverse:active,
.btn-inverse.active {
  color: white;
  background-color: #91999e; }
.btn-inverse:active,
.btn-inverse.active {
  background-color: #0c0c0c \9; }
.btn-large {
  font-size: 17px;
  padding: 12px 20px; }
.btn-medium {
  padding: 8px 18px; }
.btn-small {
  padding: 4px 10px; }

/* =============================================== */
/*              Rich container Pattern             */
/* =============================================== */
/*
A block that contains media and text. The image is float to the left by default
Options :  -- Add .img-right to the container to put the img on the right
example :
  <div class="richcontainer">
    <a href="#" class="img"><img src="http://cache.ohinternet.com/images/thumb/2/2d/Trollface_HD.png/618px-Trollface_HD.png"></a>
    <div class="bd">
      Lorem Ipsum Troll Sit Amet
      </div>
  </div>
*/
.richcontainer .bd:after {
  clear: both;
  display: block;
  visibility: hidden;
  overflow: hidden;
  height: 0 !important;
  line-height: 0;
  font-size: xx-large;
  content: " x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x ";
}
.richcontainer .bd { display: table-cell; zoom: 1; }
.richcontainer .bd > :first-child { margin-top: 0; }
.richcontainer .bd > :last-child { margin-bottom: 0; }
.richcontainer .img { float: left; }
/*Options*/
.richcontainer .img-right{ float: right; }
.small .img { margin-right: 5px; }
.medium .img { margin-right: 10px; }
.large .img { margin-right: 15px; }
.xlarge .img { margin-right: 20px; }
.xxlarge .img { margin-right: 30px; }

/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir {
  text-indent: -9999px;
  display: block;
}
.ir br { display: none; }
.pull-left { float: left; }
.pull-right { float: right; }
.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; }
.separator { margin: 0 10px; }
.rotate180 {
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
  display: none\9;
}