/**
 * BaseWeb
 * A fresh front-end development framework
 *
 * @author Sebastian Nitu
 * @url https://github.com/sebnitu/BaseWeb
 * @url http://sebnitu.com
 *
 * Copyright (c) 2013 Sebastian Nitu (MIT Licensed)
 */

/*==============================================================================
  @Structure
==============================================================================*/

.wrapper {
  background: #e5eaed;
}
.main {
  padding: 0;
}
.inner-main {
  padding: 30px;
}
.sidebar {

}

/**
 * Responsive Styles
 */
@media screen and (min-width: 665px) {

  .wrapper {

  }
  .main {
    padding-right: 320px;
  }
  .sidebar {
    float: right;
    width: 320px;
  }

}

/*==============================================================================
  @Structure Colors
==============================================================================*/

.card .card-inner {
  position: relative;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}
.page-sub .card .card-inner {
  margin: 10px 0 0;
}
.main-content {
  position: relative;
  margin: 0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}
/*==============================================================================
  @Header
==============================================================================*/
.header-bar {
  background: #5f6364;
  font-size: 14px;
  line-height: 20px;
}
.header-bar .inner {
  margin: 0 auto;
  max-width: 1600px;
}
/**
 * Navigation
 */
.header-bar .nav {
  margin: 0 auto;
  padding: 0;
}
.page-sub .header-bar .nav {
  max-width: 900px;
}
.header-bar .nav ul {
  margin: 0 0 0 -1px;
  list-style: none;
  zoom: 1;
}
.header-bar .nav ul:before,
.header-bar .nav ul:after {
  content: "\0020";
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}
.header-bar .nav ul:after {
  clear: both;
}
.header-bar .nav ul li {
  float: left;
  margin: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.header-bar .nav ul li:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.header-bar .nav ul li a {
  background: rgba(255, 255, 255, 0);
  display: block;
  padding: 8px 20px;
  border: 0 none;
  color: #ffffff;
}
.header-bar .nav ul li a:hover {
  background: rgba(255, 255, 255, 0.05);
}
.header-bar .nav ul li.active a {
  background: #e5eaed;
  color: #434849;
}
/*==============================================================================
  @Sidebar
==============================================================================*/
.sidebar .widget {
  margin: 0;
  padding: 15px 30px;
  font-size: 14px;
  line-height: 20px;
  color: #4a5258;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.widget:last-child {
  border-bottom: 0 none;
}
.card .widget {
  padding: 10px 20px;
  border-radius: 2px;
}
.sidebar .widget h2,
.sidebar .widget h3,
.sidebar .widget h4,
.sidebar .widget label {
  font-size: 18px;
  line-height: 26px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4a5258;
  font-weight: 600;
}
.sidebar .widget a {
  color: #4a5258;
}
.sidebar .widget a:hover {
  color: #cea600;
}
/**
 * Widget Logo
 */
.widget-branding {
  background: #cea600;
  padding: 30px;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.75);
}
.widget-branding.widget-branding-custom {
  background: transparent;
  color: #e5eaed;
}
.widget-branding.widget-branding-custom .logo {
  margin: 0 auto;
}
.widget-branding.widget-branding-custom img {
  display: block;
  margin: 0 auto;
}
.widget-branding .logo {
  display: block;
  margin: -15px auto 5px;
  text-indent: 100%;
  white-space: nowrap;
  font-size: 0;
  color: transparent;
  overflow: hidden;
}
.widget-branding .logo-vs {
  width: 260px;
  height: 49px;
  background: url("../img/vs-logo-white.svg") no-repeat center center;
  background-size: 100% auto;
}
.widget-branding .logo-vssec {
  width: 260px;
  height: 68px;
  background: url("../img/vs-logo-white-sec.svg") no-repeat center center;
  background-size: 100% auto;
}
.ie8 .widget-branding .logo-vs {
  background: url("../img/vs-logo-white.png") no-repeat center center;
}
.ie8 .widget-branding .logo-vssec {
  background: url("../img/vs-logo-white-sec.png") no-repeat center center;
}
/**
 * Widgets Testimonials
 */
.sidebar blockquote {
  margin: 15px 0;
  font-style: italic;
}
.sidebar blockquote small {
  font-size: 14px;
}
.sidebar blockquote small:before {
  content: "— ";
}
.sidebar .video-thumbnail {
  position: relative;
  display: block;
  margin: 15px 0;
  border: 0 none;
  max-width: 260px;
}
.sidebar .video-thumbnail:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 40px;
  margin: -20px 0 0 -25px;
  background: rgba(0, 0, 0, 0.75) url("../img/icon-play.svg") no-repeat center center;
  background-size: 13px 16px;
  border-radius: 2px;
}
.ie8 .sidebar .video-thumbnail:before {
  background: #000000 url("../img/icon-play.png") no-repeat center center;
}
.sidebar .video-thumbnail img {
  margin: 0;
  padding: 0;
  border-radius: 2px;
}
.sidebar .video-thumbnail {
  display: none;
}
.sidebar .video-thumbnail.video-mobile {
  display: block;
}
.sidebar .btn {
  font-size: 14px;
  line-height: 20px;
  color: #e5eaed;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  -o-transition: all 0.25s linear;
  transition: all 0.25s linear;
}
.sidebar .btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: none;
}
.ie8 .sidebar .btn {
  background: #5e6363;
}
@media screen and (min-width: 665px) {
  .sidebar .video-thumbnail {
    display: block;
  }
  .sidebar .video-thumbnail.video-mobile {
    display: none;
  }
}
/**
 * Widgets Branding
 */
.sidebar .vs-brand {
  background: #cea600;
  margin: 10px 0 20px;
  padding: 10px 10px 20px 10px;
  color: #fff;
  border-radius: 4px;
}
.sidebar .vs-brand .vs-logo {
  display: block;
  width: 221px;
  height: 41px;
  margin: 0 auto;
  background: url("../img/vs-logo-white.svg") no-repeat center center;
  background-size: 221px 41px;
  text-indent: 100%;
  white-space: nowrap;
  font-size: 0;
  color: transparent;
  overflow: hidden;
}
.ie8 .sidebar .vs-brand .vs-logo {
  background: url("../img/vs-logo-white.png") no-repeat center center;
}
.sidebar .vs-brand .vs-sup-text {
  display: block;
  margin: 5px 0 -10px 0;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}
/**
 * Widget Links Listing
 */
.widget-links ul {
  margin: 20px 0;
  list-style: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.widget-links ul li {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.widget-links ul li a {
  display: block;
  padding: 10px 10px;
  color: #e5eaed;
  border: 0 none;
}
.widget-links ul li a:hover {
  padding-left: 15px;
  background: rgba(255, 255, 255, 0.05);
}
/**
 * Widget Articles
 */
.widget-articles ul {
  margin: 20px 0;
  list-style: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.widget-articles ul li {
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.widget-articles h4 {
  margin: 0;
}
.widget-articles p {
  margin: 0;
  color: #a6aaad;
}
/**
 * Widget Connect
 */
.widget-connect form input {
  width: 100%;
}
.widget-connect form button {
  margin: 6px 0;
}
.widget-connect .social-links .icon {
  background-clip: padding-box;
  border: 1px solid rgba(255, 255, 255, 0);
}
.widget-connect .social-links .icon:hover {
  border-color: rgba(255, 255, 255, 0.75);
}
/**
 * Widget - Highlight
 */
.widget-highlight {
  background: #cea600;
  color: #fff;
}
.widget-highlight h3 {
  color: #fff;
}
.widget-highlight .btn {
  background: rgba(0, 0, 0, 0.2);
}
.widget-highlight .btn:hover {
  background: rgba(0, 0, 0, 0.3);
}
/**
 * Widget - Joining
 */
.widget-joinus .group-joined {
  position: relative;
}
.widget-joinus .group-joined input,
.widget-joinus .group-joined .btn {
  height: 38px;
  line-height: 24px;
}
.widget-joinus .group-joined input {
  width: 100%;
  border-radius: 4px;
}
.widget-joinus .group-joined .btn {
  position: absolute;
  top: 0;
  right: 0;
  background: #a3831a;
}
/**
 * Widget Modifiers
 */
.widget-phone {
  text-align: center;
}
.widget-phone a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.widget-phone a:hover {
  border-color: rgba(255, 255, 255, 0.25);
}
.widget-phone .lined {
  position: relative;
}
.widget-phone .lined:before {
  content: '';
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}
.widget-phone .lined .text {
  position: relative;
  z-index: 10;
  display: inline-block;
  margin: 0 0 10px 0;
  padding: 0 10px;
  font-size: 16px;
  line-height: 24px;
  font-weight: bold;
  text-transform: uppercase;
  background: #cea600;
}
.widget-phone .lined .phone {
  display: block;
  font-size: 26px;
  line-height: 30px;
  font-weight: bold;
  letter-spacing: 1px;
}

/**
 * Widget Social
 */
.widget-social {
  background: none;
}

/*==============================================================================
  @Card Structure
==============================================================================*/
.card-wrap {
  position: relative;
}
.card {
  position: relative;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  margin: 0;
}
.card .card-inner,
.card .widget {
  margin: 10px;
}
.card .card-content {
  padding: 5px 20px;
}
.card-1 {
  width: 100%;
}
.card-2 {
  width: 100%;
}
.card-3 {
  width: 100%;
}
.card-4 {
  width: 100%;
}
.card .card-text {
  padding: 5px 15px;
}
/**
 * Responsive Styles
 */
@media screen and (min-width: 900px) {
  .card-1 {
    width: 50%;
  }
  .card-2 {
    width: 100%;
  }
  .card-3 {
    width: 100%;
  }
  .card-4 {
    width: 100%;
  }
  .card .card-text {
    padding: 5px 20px;
  }
  .ie8 .card-1 {
    width: 49%;
  }
}
@media screen and (min-width: 1200px) {
  .card-1 {
    width: 33.333%;
  }
  .card-2 {
    width: 66.666%;
  }
  .card-3 {
    width: 99.999%;
  }
  .card-4 {
    width: 100%;
  }
  .ie8 .card-1 {
    width: 33%;
  }
  .ie8 .card-2 {
    width: 66%;
  }
  .ie8 .card-3 {
    width: 99%;
  }
}
@media screen and (min-width: 1600px) {
  .card-1 {
    width: 25%;
  }
  .card-2 {
    width: 50%;
  }
  .card-3 {
    width: 75%;
  }
  .card-4 {
    width: 100%;
  }
  .page-sub .card-1 {
    width: 33.333%;
  }
  .page-sub .card-2 {
    width: 66.666%;
  }
  .page-sub .card-3 {
    width: 99.999%;
  }
}
/*==============================================================================
  @Main
==============================================================================*/
.inner-main .main-header {
  position: relative;
  padding: 0;
}
.inner-main .main-header h1 {
  position: relative;
  z-index: 5;
  margin: 10px 0;
  color: #434849;
  font-size: 30px;
  line-height: 38px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.inner-main .main-header form {
  margin: 15px 0;
}
.inner-main .main-header .group-zipcode {
  position: relative;
  z-index: 10;
  margin: 0;
}
.inner-main .main-header .group-zipcode input {
  width: 100%;
  border-bottom-left-radius: 0;
  border-top-right-radius: 4px;
  text-align: center;
}
.inner-main .main-header .group-zipcode button {
  width: 100%;
  border-bottom-left-radius: 4px;
  border-top-right-radius: 4px;
  border: 1px solid rgba(0,0,0, 0.1);
}
/**
 * Responsive Styles
 */
@media screen and (min-width: 665px) {
  .inner-main .main-header .group-zipcode input {
    width: 100%;
    padding-right: 110px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 0;
    text-align: left;
  }
  .inner-main .main-header .group-zipcode button {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
  }
}
@media screen and (min-width: 900px) {
  .inner-main .main-header h1 {
    margin: 0 0 20px;
  }
}
@media screen and (min-width: 1030px) {
  .inner-main .main-header h1 {
    padding-right: 320px;
  }
  .inner-main .main-header form {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
  }
  .inner-main .main-header .group-zipcode {
    width: 300px;
  }
}
/**
 * Cards
 */
.card img {
  display: block;
  height: auto;
  max-width: 100%;
  margin: 0;
}
.card .oid {
  display: block;
  width: 35px;
  float: right;
  font-weight: bold;
  text-align: right;
  color: #A9A9A9;
  font-size: 10px;
  margin: 10px 0 0 0;
  padding: 0 0 0 10px;
}
.card h2 {
  color: #cea600;
  font-size: 20px;
  line-height: 24px;
  font-weight: 300;
  margin: 10px 0;
}
.card p {
  margin: 10px 0 15px;
}
.card video {
  width: 100%    !important;
  height: auto   !important;
}
.card .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.card .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media screen and (min-width: 760px) {
  .card .btn-next-loc {
    display: none;
  }
}
/**
 * Card Photos
 */
.card-photo:first-child img {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}
/**
 * Contact Details
 */
.card .card-distance {
  margin-top: -5px;
  font-weight: bold;
  font-size: 11px;
  text-transform: uppercase;
  color: #de5151;
}
.card .card-address,
.card .card-phone {
  position: relative;
  padding-left: 30px;
}
.card .card-address .icon,
.card .card-phone .icon {
  position: absolute;
  top: 0;
  left: 0;
}
.card .contact-details {
  display: none;
}
.card .contact-details-mobile {
  display: block;
}
@media screen and (min-width: 665px) {
  .card .contact-details {
    display: block;
  }
  .card .contact-details-mobile {
    display: none;
  }
}
/**
 * Card Buttons
 */
.card .btn {
  margin: 0;
  padding: 10px 20px;
  font-weight: normal;
  color: #c29b2a;
}
.card .btn:hover {
  color: #4a5258;
}
/**
 * Btn Groups
 */
.btn-group {
  width: 100%;
  margin: 0;
  font-size: 0;
}
.btn-group .btn {
  display: block;
  padding: 15px 20px;
  color: #cea600;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: left;
  border-radius: 0;
}
.btn-group .btn:hover {
  color: #434849;
  box-shadow: none;
}
.btn-group .btn:first-child {
  border-left: 0 none;
}
/* Btn Table */
.btn-table {
  display: table;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.ie8 .btn-table {
  border-top: 1px solid #e5e5e5;
}
.btn-table .btn {
  display: table-cell;
  padding: 10px 10px;
  border-top: 0 none;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom-right-radius: 2px;
  border-bottom-left-radius: 2px;
  text-align: center;
}
.ie8 .btn-table .btn {
  border-left: 1px solid #e5e5e5;
}
.btn-table .btn-sep {
  display: table-cell;
  width: 10px;
}
/**
 * Inline Icons
 */
.icon,
.btn .icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 5px 0 -5px;
  padding: 0;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-color: transparent;
}
.icon-website,
.btn .icon-website {
  background-image: url("../img/icon-website.svg");
  background-size: 20px 20px;
}
.ie8 .icon-website,
.ie8 .btn .icon-website {
  background-image: url("../img/icon-website.png");
}
.icon-appointment,
.btn .icon-appointment {
  background-image: url("../img/icon-appointment.svg");
  background-size: 20px 20px;
}
.ie8 .icon-appointment,
.ie8 .btn .icon-appointment {
  background-image: url("../img/icon-appointment.png");
}
.icon-map,
.icon-phone {
  width: 15px;
  height: 24px;
  margin: 0 5px 0 0;
}
.btn .icon-map,
.btn .icon-phone {
  width: 15px;
  height: 24px;
  margin: -2px 5px -2px 0;
}
.icon-map,
.btn .icon-map {
  background-image: url("../img/icon-map.svg");
  background-size: 15px 24px;
}
.ie8 .icon-map,
.ie8 .btn .icon-map {
  background-image: url("../img/icon-map.png");
}
.icon-phone,
.btn .icon-phone {
  background-image: url("../img/icon-phone.svg");
  background-size: 15px 24px;
}
.ie8 .icon-phone,
.ie8 .btn .icon-phone {
  background-image: url("../img/icon-phone.png");
}
/**
 * Map Card
 */
.card-map {
  float: right;
  border-radius: 2px;
  display: none;
}
.ie8 .card-map {
  display: none;
}
.card-map .card-inner {
  padding: 2px;
}
.card-map .map-wrap {
  position: relative;
}
.card-map .map-wrap #map {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.card-map.card-1 .map-wrap {
  height: 300px;
}
.card-map.card-2 .map-wrap {
  height: 450px;
}
.card-map.card-3 .map-wrap {
  height: 500px;
}
.card-map.card-4 .map-wrap {
  height: 600px;
}
.card-map img {
  border-radius: 2px;
}
.card-map .btn-more {
  position: absolute;
  z-index: 1010;
  top: 8px;
  right: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}
.card-map .btn-more:hover {
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
}
@media screen and (min-width: 665px) {
  .card-map {
    display: block;
  }
  .ie8 .card-map {
    display: none;
  }
}

/**
 * Locations Block
 */
.card-location .thumb-link {
  display: block;
  border: 0 none;
}
.card-location img {
  width: 100%;
  height: auto;
}
.card-location div.card-text {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #E8E8E8;
}
