/*
    Document   : shared_retailer.css
    Created on : Nov 30, 2012
    Author     : Joseph Gultekin
    Description: Style the retailers
*/
/* This part has been added to transform the retailer page using afs design */
body#pid-retailers div.region-content, body#pid-retailers div.region-content .gutter,
body#pid-retailers div.region-content div.clearfix, body#pid-retailers div.region-content .find-retailer {
  width:724px;
  margin: 0px;
  padding: 0px;
  float:left;
}

body.node-type-retailer div.region-content, body.node-type-retailer div.region-content .gutter,
body.node-type-retailer div.region-content div.clearfix,  body.node-type-retailer #main-content {
  width:724px;
  margin: 0px;
  padding: 0px;
  float:left;
}

body.node-type-retailer h2 {
  font-size: 20px !important;
}

body.node-type-retailer #block-menu_block-6 > div.clearfix {
  margin-top: 0px !important;
}

body.node-type-retailer .footer-inner .block h2.block-title {
  font-size: 14px !important;
}

body.node-type-retailer .content .back-link {
  display: none;
}

.front-end .page-node.node-type-retailer .field-name-field-retailer-overview {
    float:left;
}
.page-node.node-type-retailer .content .buttons-wrapper {
    float: left;
    margin-bottom: 10px;
    width: 100%;
}

.ui-tabs-vertical { width: 55em; }
.ui-tabs-vertical .ui-tabs-nav { padding: .2em .1em .2em .2em; float: left; width: 12em; }
.ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 1px !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; }
.ui-tabs-vertical .ui-tabs-nav li a { display:block; }
.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; padding-right: .1em; border-right-width: 1px; border-right-width: 1px; }
.ui-tabs-vertical .ui-tabs-panel { padding: 1em; float: right; width: 40em;}


body.node-type-retailer .content{
  background: none;
  border: 0px;
  padding: 0px;
  margin: 0px;
}

div.retailer-information ul.menu-tabs {
  float:left;
  min-height: 400px;
  width: 240px;
  margin: 0px;
  list-style: none;
}

div.retailer-information ul.menu-tabs li {
  margin: 0px;
  /*padding: 6px 0px 6px 5px !important;*/
  padding: 6px 10px 6px 9px !important;
  position: relative;
}

#main-content div.retailer-information ul.menu-tabs li a, 
#main-content div.retailer-information ul.menu-tabs li a:hover,
#main-content div.retailer-information ul.menu-tabs li a:visited {
  color: #000;
  text-decoration: none;
  display: block;
}

#main-content div.retailer-information ul.menu-tabs li span.arrow-blue {
  background: url('/profiles/subaru/themes/custom/subaru/images/blue-arrow.png') no-repeat right;
  position: absolute;
  top: 13px;
  right: 10px;
  width: 10px;
  height:10px;
}

div.retailer-information ul.menu-tabs li.active, 
div.retailer-information ul.menu-tabs li:hover{
  background-image: -webkit-gradient(linear, 0 0, 0 122, color-stop(0.016, #fefefe), color-stop(0.352, #f2f2f2), to(#e4e4e4));
  background-image: -webkit-linear-gradient(#fefefe 1.6%, #f2f2f2 35.2%, #e4e4e4);
  background-image: -moz-linear-gradient(#fefefe 1.6%, #f2f2f2 35.2%, #e4e4e4);
  background-image: -o-linear-gradient(#fefefe 1.6%, #f2f2f2 35.2%, #e4e4e4);
  filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#fefefe', EndColorStr='#e4e4e4', GradientType=0);
  color: #000;
  border: 1px solid #BDBCBD;
  font-weight: normal;
  box-shadow: none;
  -moz-box-shadow: none;
  border: none;
  cursor: pointer;
  zoom:1;
}

div.retailer-information {
    word-wrap: break-word;
}

div.retailer-information .phones table {
    width: 100%;
}

div.retailer-information .phones tbody {
    border: none;
}

div.retailer-information .phones td {
    vertical-align: top;
    padding: 0;
    margin: 0;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto; 
}

div.retailer-information li.disabled {
  opacity: 0.5;
  filter:alpha(opacity=50) !important;
  zoom:1;
}

div.retailer-information div.retailer-info-panel {
  float:left;
  width: 479px;
  margin: 0px;
  border-left: 1px #ccc solid;
}

div.retailer-information div.retailer-info-panel > div {
  float: left;
  width: 481px;
  /*padding: 0px 10px 0px 11px;*/
}

body.node-type-retailer .retailer-information {
  border: 1px #ccc solid;
  background: url("/profiles/subaru/themes/custom/subaru/images/nav-85.png") repeat scroll 0 0 transparent;
  float: left;
  width: 722px;
}

body.node-type-retailer .retailer-info-panel > div {
  display: none;
}

body.node-type-retailer .retailer-info-panel > div.active {
  display: block;
}

body.node-type-retailer .about-retailer, body.node-type-retailer .retailer-gallery {
  float: left;
  border-top: 1px #ccc solid;
  padding: 20px 11px 10px 9px;
  width: 702px;
}

body.node-type-retailer div.map-container {
  float:left;
  width:460px;
  padding:20px 10px 20px 11px;
}

.retailer-info-panel div.info-details {
  float:left;
  width: 460px;
  margin: 19px 0 20px 0;
  padding-bottom: 15px;
  padding: 0px 10px 0px 11px;
  background-image: url('/profiles/subaru/themes/custom/subaru/images/details_divider.gif');
  background-repeat: repeat-y;
  background-position-x: center;  
}

.retailer-info-panel div.info-details div.column {
  float: left;
  width: 209px;
  padding-left: 10px;
}

.retailer-info-panel div.info-details div.column ul {
  list-style: none;
  margin: 0px 0px 26px 0px;
  padding-top: 5px;
}

.retailer-info-panel div.info-details div.coll {
  width: 209px;
}

.retailer-info-panel div.info-details div.colr {
  width: 225px;
}
.retailer-info-panel div.info-details div.colr p{
  margin-bottom: 0px;
  margin-top: 0px;
}
.retailer-info-panel div.info-details h4 {
  width: 235px;
  float:left;
  font-weight: bold;
}

.retailer-info-panel div.info-details > div.column > span {
  float:left;
  width: 279px;
}

.retailer-info-panel div.info-details > div.coll > span {
  float:left;
  width: 205px;
}

.retailer-info-panel div.info-details span.label {
  font-weight: bold;
  font-size: 14px;
  width: 235px;
  padding-top: 5px;
}

.retailer-info-panel h3 {
  font-size: 14px;
  padding:22px 0 0 49px;
  background: url('/profiles/subaru/themes/custom/subaru/images/blue-pin-map.png') no-repeat 10px 8px;
  margin: 10px 0 0 10px;
  font-weight: bold;
}

.retailer-info-panel span.address {
  padding-top:0px !important;
}

.retailer-info-panel span.address a {
  font-size: 12px;
  text-decoration: none;
  color: #000;
}

.retailer-info-panel span.phones {
  margin:18px 0px 15px 0px !important;
}

.retailer-info-panel div.call-actions {
  float:left;
  width: 452px;
  margin: 0px;
  padding: 0px 10px 15px 5px;
  border-bottom: 1px #ccc solid;
}

.retailer-info-panel div.call-actions > a {
  float:left;
}

.retailer-info-panel div.call-actions a.get-directions-link {
  background: url('/profiles/subaru/themes/custom/subaru/images/open-in-new.png') no-repeat 88px 0px;
  padding-right: 23px;
  margin-right: 15px;
}

#main-content .retailer-info-panel div.call-actions a.action-button {
  color: #fff;
  width: auto;
  padding: 1px 8px;
  float: left;
  text-align: center;
  background-image: -webkit-gradient(linear, 0 0, 0 122, color-stop(0.016, #369fd6), color-stop(0.352, #1d60a7), to(#042477));
  background-image: -webkit-linear-gradient(#369fd6 1.6%, #1d60a7 35.2%, #042477);
  background-image: -moz-linear-gradient(#369fd6 1.6%, #1d60a7 35.2%, #042477);
  background-image: -o-linear-gradient(#369fd6 1.6%, #1d60a7 35.2%, #042477);
  filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#369fd6', EndColorStr='#042477', GradientType=0);
  margin: -3px 2px 0px 5px;
}

.retailer-info-panel div.call-actions a.action-button:hover {
  background-image: -webkit-gradient(linear, 0 0, 0 122, color-stop(0.016, #006397), color-stop(0.352, #003267), to(#000336));
  background-image: -webkit-linear-gradient(#006397 1.6%, #003267 35.2%, #000336);
  background-image: -moz-linear-gradient(#006397 1.6%, #003267 35.2%, #000336);
  background-image: -o-linear-gradient(#006397 1.6%, #003267 35.2%, #000336);
  filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#369fd6', EndColorStr='#042477', GradientType=0);
  text-decoration: none;
}

body.node-type-retailer .about-retailer > h4 {
  font-weight: bold;
  color: #003466;
  width: 756px;
  float:left;
}

body.node-type-retailer .about-retailer .retailer-overview {
  text-align: left !important;
  padding-left: 3px !important;
}

/* New Styling based on AfterSales */

#pid-retailers.node-type-simple-page #content {
    display: block;
}

#block-find_retailer-find_retailer {
    width: auto;
}

/*#pid-retailers select.styled {
    position: relative;
    width: 120px;
    opacity: 0;
    filter: alpha(opacity=0);
    z-index: 5;
}*/

.find-retailer-form {
  float: left;
  width: 220px;
  margin-right: 2px;
  padding: 0px 11px 0px 9px;
}

.find-retailer-form #edit-submit {
  display: none;
}

.find-retailer-form .form-item input.form-radio, 
.find-retailer-form .form-item input.form-checkbox {
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding:0px;
}

#find-retailer-results {
  float:left;
  width:460px;
  padding: 0px 12px 0px 10px;
}

#find-retailer-results-map{
  width: 460px;
  height: 520px;
}

#find-retailer-results-listing {
  /*border: 1px #ccc solid;*/
  background-color: #fff;
  box-shadow: inset 1px 1px 20px -10px #000;
  width:460px;
  min-height:680px;
  padding: 0px;
}

/*#find-retailer-results-listing a {
  background: url('/profiles/subaru/themes/custom/subaru/images/blue-arrow.png') no-repeat 114px 5px;
  padding-right: 10px;
  color: #000;
}*/

body.subaru-retailer-dir .content h2 {
  padding:10px 0px 0px 2px;
  margin-top: 10px;
  border-top: 1px #ccc solid;
}

#find-retailer-results-listing table {
  width: 100%;
  border: none;
  margin: 15px;
}

#find-retailer-results-listing table th{
  padding:15px;
  font-weight: bold;
  font-size: 14px;
  border: 0px !important;
}

#find-retailer-results-listing td{
  vertical-align: top;
  text-align: left;
  padding-left: 15px;
}

#find-retailer-results-listing tbody, body.subaru-retailer-dir .content tbody{
  border: 0px !important;
}

#find-retailer-results-listing tr.even,
#find-retailer-results-listing tr.even td {
  border: none;
}

#find-retailer-results-listing tr.odd,
#find-retailer-results-listing tr.odd td {
  border: none;
}

#find-retailer-results-listing tr.none-found {
  display: block !important;
}

#find-retailer-results-listing td.retailer-name{
  width: 100px;
}

#find-retailer-results-listing td.retailer-name a {
  color: #1d6ab1;  
}

#find-retailer-results-listing td.retailer-action{
  width: 125px;
}

#find-retailer-selected-retailer {
  clear:both;
}

.find-retailer-form fieldset#edit-state {
  display: none;
}

.find-retailer-form fieldset#edit-cookie {
  display: none;
}

div.retailer-small-image {
  float: left;
  margin-left: 25px;
}

div.retailer-small-image img{
  clear:both;
}

div.retailer-small-image.first {
  margin-left: 0;
}

div.retailer-small-image.last {

}

body#pid-retailers div#content {
  display:block !important;
}

body#pid-retailers div.grid16-7 {
  width:auto !important;
}
body#pid-retailers #block-system-main {
  margin-bottom: 0;
}
body#pid-retailers #block-system-main h1 {
  margin: 0;
  padding-left: 9px;
}
body#pid-retailers #block-system-main .node-bottom {
  margin: 0;
}
body#pid-retailers.node-type-simple-page .node-simple-page {
  background: none;
}


body.node-type-retailer .main-wrapper .sidebar-first-inner,
body#pid-retailers .main-wrapper .sidebar-first-inner {
  margin-top: -12px !important; /* -16px */
}

#pid-retailers-directory .main-wrapper .sidebar-first-inner,
#pid-retailers-nt .main-wrapper .sidebar-first-inner,
#pid-retailers-nsw .main-wrapper .sidebar-first-inner,
#pid-retailers-qld .main-wrapper .sidebar-first-inner,
#pid-retailers-tas .main-wrapper .sidebar-first-inner,
#pid-retailers-vic .main-wrapper .sidebar-first-inner,
#pid-retailers-sa .main-wrapper .sidebar-first-inner,
#pid-retailers-wa .main-wrapper .sidebar-first-inner,
#pid-retailers-act .main-wrapper .sidebar-first-inner
{
  margin-top: -3px !important;
}

body.node-type-retailer .header-group,
body#pid-retailers .header-group,
#pid-retailers-directory .header-group, 
#pid-retailers-nt .header-group, 
#pid-retailers-nsw .header-group, 
#pid-retailers-qld .header-group, 
#pid-retailers-tas .header-group, 
#pid-retailers-vic .header-group, 
#pid-retailers-sa .header-group, 
#pid-retailers-wa .header-group, 
#pid-retailers-act .header-group
{
  height: 102px !important;
}

body.node-type-retailer .main-wrapper,
body#pid-retailers .main-wrapper{
  margin-top: 16px !important;
}

body.node-type-retailer .header-group-wrapper a#showroom-link,
body#pid-retailers .header-group-wrapper a#showroom-link,
#pid-retailers-directory .header-group-wrapper a#showroom-link,
#pid-retailers-nt .header-group-wrapper a#showroom-link,
#pid-retailers-nsw .header-group-wrapper a#showroom-link,
#pid-retailers-qld .header-group-wrapper a#showroom-link,
#pid-retailers-tas .header-group-wrapper a#showroom-link,
#pid-retailers-vic .header-group-wrapper a#showroom-link,
#pid-retailers-sa .header-group-wrapper a#showroom-link,
#pid-retailers-wa .header-group-wrapper a#showroom-link,
#pid-retailers-act .header-group-wrapper a#showroom-link
{
  display: none !important;
}

body.node-type-retailer #header-top .block-views,
body#pid-retailers #header-top .block-views,
#pid-retailers-directory #header-top .block-views,
#pid-retailers-nt #header-top .block-views,
#pid-retailers-nsw #header-top .block-views,
#pid-retailers-qld #header-top .block-views,
#pid-retailers-tas #header-top .block-views,
#pid-retailers-vic #header-top .block-views,
#pid-retailers-sa #header-top .block-views,
#pid-retailers-wa #header-top .block-views,
#pid-retailers-act #header-top .block-views
{
  background-position: 0px 100px;
}

body.node-type-retailer #header-top .block-views img,
body#pid-retailers #header-top .block-views img,
#pid-retailers-directory #header-top .block-views img,
#pid-retailers-nt #header-top .block-views img,
#pid-retailers-nsw #header-top .block-views img,
#pid-retailers-qld #header-top .block-views img,
#pid-retailers-tas #header-top .block-views img,
#pid-retailers-vic #header-top .block-views img,
#pid-retailers-sa #header-top .block-views img,
#pid-retailers-wa #header-top .block-views img,
#pid-retailers-act #header-top .block-views img
{
  height: 100px !important;
}

body.node-type-retailer div.find-retailer, body#pid-retailers div.find-retailer {
  float:left;
  /*margin:30px 0 0 -10px !important;*/
}

body.page-node.node-type-retailer #main-content h1.title {
  margin:0px 0px 20px 0px;
  padding-left: 0;
  background: none;
}

/*
body.node-type-retailer .sidebar-first {
  margin-right: 10px !important;
}
*/

body.node-type-retailer .find-retailer-top, body#pid-retailers .find-retailer-top {
  float: left;
  width: 100%;
  margin-top: 11px;
}

body.node-type-retailer .subaru-app-locator, body#pid-retailers .subaru-app-locator {
  float:right;
  background-image: -webkit-gradient(linear, 0 0, 0 122, color-stop(0.016, #fefefe), color-stop(0.352, #f2f2f2), to(#e4e4e4));
  background-image: -webkit-linear-gradient(#fefefe 1.6%, #f2f2f2 35.2%, #e4e4e4);
  background-image: -moz-linear-gradient(#fefefe 1.6%, #f2f2f2 35.2%, #e4e4e4);
  background-image: -o-linear-gradient(#fefefe 1.6%, #f2f2f2 35.2%, #e4e4e4);
  filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#fefefe', EndColorStr='#e4e4e4', GradientType=0);
  border: 1px solid #BDBCBD;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font-weight: normal;
  box-shadow: none;
  -moz-box-shadow: none;
  cursor: pointer;
  width: 200px;
  padding: 1px 5px;
  text-transform: uppercase;
  color: #0000BB;
  position:relative;
  margin-right: 12px;
}
#find-retailer-results .toggle-buttons {
  margin-left: 2em;
  padding: 0;
  margin-bottom: 0;
}
#find-retailer-form .form-type-textfield.form-item-find-retailer-location {
  margin-top: 14px;
}
body.node-type-retailer .subaru-app-locator, body#pid-retailers .subaru-app-locator a{
    font-size:10px;
}
.subaru-app-locator span.smart-phone {
  background: url('/profiles/subaru/themes/custom/subaru/images/smart-phone-btn1.png') no-repeat left;
  height: 16px;
  width: 16px;
  position: absolute;
  top: 2px;
}

.subaru-app-locator a, .subaru-app-locator a:hover, .subaru-app-locator a:visited{
  display: block;
  font-family:"Avenir", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding-left: 17px;
  font-size: 12px;
  font-variant-caps: small-caps;
  text-decoration: none !important;
  color: #0000BB !important;
}

#find-retailer-results {
  float:right;
  margin-top: 17px;
}

.find-retailer-tool ul.ui-tabs-nav {
  position: absolute;
  right: 0px;
  top:-30px;
  margin: 0px;
  padding: 0px;
  background: none;
  border:none;
}

.find-retailer-tool li {
  font-size: 13px !important;
  color: #fff !important;
  height: 20px !important;
  background-color: #0062A0 !important;
  border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  box-shadow: none !important;
  -moz-box-shadow: none !important;
  cursor: pointer !important;
}

.find-retailer-tool {
  float:left;
  position:relative;
}

#find-retailer-results > div {
  width: 460px;
  display: none;
  float:left;
  min-height: 520px;
}

#find-retailer-results > div.active {
  display: block;
}

ul.toggle-buttons {
  float:right;
  list-style: none;
  width: 76px;
}

ul.toggle-buttons li {
  color: #fff;
  width: 38px;
  padding: 1px 0px;
  float: left;
  text-align: center;
  background-image: -webkit-gradient(linear, 0 0, 0 122, color-stop(0.016, #369fd6), color-stop(0.352, #1d60a7), to(#042477));
  background-image: -webkit-linear-gradient(#369fd6 1.6%, #1d60a7 35.2%, #042477);
  background-image: -moz-linear-gradient(#369fd6 1.6%, #1d60a7 35.2%, #042477);
  background-image: -o-linear-gradient(#369fd6 1.6%, #1d60a7 35.2%, #042477);
  filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#369fd6', EndColorStr='#042477', GradientType=0);
  zoom:1;
}

ul.toggle-buttons li:first-child {
  border-top-left-radius: 5px !important;
  /*border-bottom-left-radius: 5px !important;*/
}

ul.toggle-buttons li:last-child {
  border-top-right-radius: 5px !important;
  /*border-bottom-right-radius: 5px !important;*/
}

.toggle-buttons li.active, .toggle-buttons li:hover {
  background-image: -webkit-gradient(linear, 0 0, 0 122, color-stop(0.016, #006397), color-stop(0.352, #003267), to(#000336));
  background-image: -webkit-linear-gradient(#006397 1.6%, #003267 35.2%, #000336);
  background-image: -moz-linear-gradient(#006397 1.6%, #003267 35.2%, #000336);
  background-image: -o-linear-gradient(#006397 1.6%, #003267 35.2%, #000336);
  filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#006397', EndColorStr='#000336', GradientType=0);
  zoom:1;
}

#main-content ul.toggle-buttons li a, #main-content ul.toggle-buttons li a:visited {
  color: #fff;
  text-decoration: none;
  display: block;
}

.find-retailer .form-item > label {
  color: #003466;
  margin-bottom: 5px !important;
}

.find-retailer .form-item > input {
  margin-bottom: 4px !important;
}

.find-retailer-form .parent-option {
  font-weight: bold !important;
  color: #333;
  margin-top: 10px;
  float: left;
  width: 220px;
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}

div.form-item-find-retailer-location input {
  width:130px;
}

div.form-item-find-retailer-type {
  margin-top: 15px;
}

div.retailer_options {
  /*margin-top: 28px;*/
  float:left;
  width: 220px;
}
.form-item.form-item-find-retailer-type .field-suffix{margin-left:0px;}
div.retailer_options div.form-item {
  float:left;
  width: 230px;
}

div.retailer_options label.option {
  color:#000;
}

div.retailer_options div.form-type-checkbox {
  margin:0 0 0.1em 0 !important;
}

.find-retailer-tool .form-type-select .select {
  border: 1px solid #ccc;  
  background: url('/profiles/subaru/themes/custom/subaru/images/select-75.png') no-repeat scroll -180px 100 transparent;
  width: 205px;
  height: 23px;
  color:#000;
  font-size: 81.25%;
  border: none;
}

#edit-find-retailer-location {
  width: 198px;
}

body.subaru-retailer-dir #block-menu_block-6 {
  margin-top: 0px;
}

body#pid-retailers #block-menu_block-6 > div.clearfix,
body.subaru-retailer-dir #block-menu_block-6 {
  margin-top: 20px !important;
}

#block-subaru_retailer_dir-subaru_retailer_dir_menu .retailer-dir-menu a + .item-list > ul > li a,
#block-subaru_retailer_dir-subaru_retailer_dir_menu .retailer-dir-menu .item-list li ul > li li a {
  padding-left: 45px;
  font-size: 11px;
  color: #333;
  background-color: #F0F0F0;
}

#block-subaru_retailer_dir-subaru_retailer_dir_menu h2 {
  display: none;
}

#block-subaru_retailer_dir-subaru_retailer_dir_menu {
  margin-bottom: 0px !important;
}

body.subaru-retailer-dir #main-content .content > div {
  width: 780px;
}

body.node-type-retailer div.one-retailer {
  float:left;
  width: 481px;
}

body#pid-retailers select#edit-find-retailer-type {
  width: 240px !important; 
}
#selectfind_retailer_type{border:1px solid #ccc;}

body.node-type-retailer .gallery-thumbs li.cloned {
  display: none;
}

body.node-type-retailer .galleryformatter-greenarrows .gallery-thumbs li a {
  padding: 0px !important;
}
/*body.node-type-retailer .galleryformatter-greenarrows .view-full {
    background-position: -2px -205px;;
}
body.node-type-retailer .galleryformatter-greenarrows a:hover .view-full {
    background-position: -2px -252px;
}*/
body.node-type-retailer .galleryformatter {
  float: left;
  width: 702px;
  background: #FFFFFF;
}
body.node-type-retailer .galleryformatter .gallery-thumbs {
  width: 132px !important;
  float: left;
  padding: 0;
  margin-left: 9px;
}
body.node-type-retailer .galleryformatter .gallery-thumbs .wrapper {
  overflow: hidden;
  height: 500px;
  border: none;
  background: none;
}
body.node-type-retailer .galleryformatter .gallery-thumbs .wrapper ul{
  width: 132px !important;
  float: left;
}
body.node-type-retailer .galleryformatter .gallery-thumbs .wrapper ul li {
  padding: 0px !important;
  width: 132px;
  height: 107px;
  margin-bottom: 9px;
}
body.node-type-retailer .galleryformatter .gallery-thumbs .arrow {
  display:none;
}
body.node-type-retailer .galleryformatter .gallery-slides {
  width: 561px;
  height: 455px;
  float: left;
  display: inline-block;
}

body.node-type-retailer .galleryformatter .overlay-inner h3 {
  color: #FFFFFF;
}

#retailer-info-window {
    background: white;
    border: 1px solid whitesmoke; 
    margin-top: 0px; 
    padding: 10px 0px 10px 10px;
    width: 160px;
}
retailer-info-window a,
#retailer-info-window p{
    font-family: Arial, Helvetica, Verdana, "Bitstream Vera Sans", sans-serif;
    font-size:14px;
}

#retailer-info-window h5 {
  font-family: Arial, Helvetica, Verdana, "Bitstream Vera Sans", sans-serif;
  font-size: 14px;
  font-weight: bold;
}
#retailer-info-window.details h5{
  color: #001d77;
  font-family: Arial, Helvetica, Verdana, "Bitstream Vera Sans", sans-serif;
  font-size: 13px;
  font-weight: bold;
}

#retailer-info-window a, #retailer-info-window a h5 {
  color: #1d6ab1 !important;
}

#retailer-info-window a:hover, #retailer-info-window a:hover h5 {
    color:#1d6ab1 !important;   
}

#retailer-info-window a.get-directions-link {
	/*background: url('/profiles/subaru/themes/custom/subaru/images/open-in-new.png') no-repeat 88px 0px;*/
	padding-right: 23px;
	margin-right: 15px;
}
#retailer-info-window.details
,#retailer-info-window.location {
    background: white;
    border: 1px solid whitesmoke; 
    margin-top: 0px; 
    padding: 10px 0px 0px 10px;
    width: 160px;
}

.arrow-callout {
    background: url('/profiles/subaru/themes/custom/subaru/images/arrow.png') no-repeat;
    position: absolute;
    left: 71px;
    bottom: -29px;
    width: 30px;
    height: 30px;   
}

/* Admin UI changes */

/* Remove the delta order columns from the table */

#edit-field-opening-times td.delta-order {
    display: none;
}

#edit-field-opening-times td.field-multiple-drag {
    display: none;
}

#edit-field-opening-times th.tabledrag-hide {
    display: none;
}

#edit-field-opening-times .tabledrag-toggle-weight-wrapper {
    display: none;
}

.retailer-info-panel div.padder {
    float: left;
    width: 481px;
    border-top: 1px #ccc solid;
    margin: 0px;
    padding: 10px 0px;
}

#tooltip {
    width: 100px;
}
#tooltip .body {
    font-size: 10px;
}

#vin-tooltip {
    position: absolute;
    z-index: 3000;
    padding: 5px;
    border: 1px #ccc solid;
    background-image: -webkit-gradient(linear, 0 0, 0 122, color-stop(0.016, #fefefe), color-stop(0.352, #f2f2f2), to(#e4e4e4));
    background-image: -webkit-linear-gradient(#fefefe 1.6%, #f2f2f2 35.2%, #e4e4e4);
    background-image: -moz-linear-gradient(#fefefe 1.6%, #f2f2f2 35.2%, #e4e4e4);
    background-image: -o-linear-gradient(#fefefe 1.6%, #f2f2f2 35.2%, #e4e4e4);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#fefefe', EndColorStr='#e4e4e4', GradientType=0);
    color: #000;
    font-weight: normal;
    box-shadow: none;
    -moz-box-shadow: none;
    zoom:1;
}
#vin-tooltip h3, #vin-tooltip div { margin: 0; }
#vin-tooltip {
    width: 200px;
    font-size: 10px;
}
#vin-tooltip .body {
    font-size: 10px;
}

.back-to-far {
    padding: 15px 0;
}

.node-type-retailer div.region-content h1.title.gutter {
    padding-bottom: 15px;
}

.node-type-retailer #lightbox {
  top: 10% ! important;    
}
.node-type-retailer #bottomNavClose, .node-type-retailer #bottomNavClose:hover{
    left: auto ! important;
    right:-15px ! important;
}


#block-subaru_retailer_dir-subaru_retailer_dir_menu .retailer-dir-menu ul li.first ul li.first{
    margin-top:2px;
}
.node-type-retailer #lightbox #imageDetails{
    padding: 15px 0 0 0;
}
.node-type-retailer .galleryformatter-greenarrows .view-full {
    background: url("/profiles/subaru/themes/custom/subaru/images/galleryformatter-sprite.png") no-repeat scroll 0 0 transparent;
    background-position: center -205px;
    height: 46px;
    width: 46px;
    margin: 10px 0;
    position: absolute;
    right: 0;
    top: 0;
    text-indent: -9999px;
    display:none;
}
.node-type-retailer .galleryformatter-greenarrows a:hover .view-full {
  background-position: center -249px;
  display:none;
}
.node-type-retailer li.gallery-slide .overlay-inner h4 {
    display:none;
}
#block-subaru_retailer_dir-subaru_retailer_dir_states {
    width: 725px;
    margin: -20px 10px 10px 0px;
    padding-bottom: 10px;
    background-image: url("/profiles/subaru/themes/custom/subaru/images/nav-85.png");
    
}
#block-subaru_retailer_dir-subaru_retailer_dir_retailers {
    width: 725px;
    margin: -20px 10px 10px 0px;
    padding-bottom: 10px;
    background-image: url("/profiles/subaru/themes/custom/subaru/images/nav-85.png");
}

body#pid-retailers-directory #main-content h1.title {
    margin-bottom: -10px;	
}
body#pid-retailers-act .grid16-13,
body#pid-retailers-nsw .grid16-13,
body#pid-retailers-qld .grid16-13,
body#pid-retailers-tas .grid16-13,
body#pid-retailers-vic .grid16-13,
body#pid-retailers-sa .grid16-13,
body#pid-retailers-wa .grid16-13,
body#pid-retailers-nt .grid16-13,
body#pid-retailers-directory .grid16-13{
    width:735px;
}
body#pid-retailers-act #main-content h1.title,
body#pid-retailers-nsw #main-content h1.title,
body#pid-retailers-qld #main-content h1.title,
body#pid-retailers-tas #main-content h1.title,
body#pid-retailers-vic #main-content h1.title,
body#pid-retailers-sa #main-content h1.title,
body#pid-retailers-wa #main-content h1.title,
body#pid-retailers-nt #main-content h1.title {
    margin-bottom: -10px;
}
#find-retailer-form label{font-size: 14px; color:#333;font-weight:bold;}

#find-retailer-form div.retailer_options label{font-weight:normal; }

.refine-search{
  font-size: 14px;
  font-weight: bold;
  color: #333;
}
table.subaru-retailer-dir {
    margin-bottom: 20px;
}
table.subaru-retailer-dir tbody {
    border: none;
}
tr.retailer-group td.retailer-title {
    padding-top: 20px;
}
tr.retailer-group.first td.retailer-title {
    padding-top: 0px;
}
table.subaru-retailer-dir td.retailer-title,
table.subaru-retailer-dir td.pcr-retailer-title {
    width: 400px;
}
#pid-retailers-directory #block-system-main
,#pid-retailers-nt #block-system-main
,#pid-retailers-nsw #block-system-main
,#pid-retailers-qld #block-system-main
,#pid-retailers-tas #block-system-main
,#pid-retailers-vic #block-system-main
,#pid-retailers-sa #block-system-main
,#pid-retailers-wa #block-system-main
,#pid-retailers-act #block-system-main
{
    width: 100%;
}
.retailer-title {
    margin-top: 10px;
}
.retailer-location-title {
    padding-left: 40px;
}