/*
Theme Name: Sunday Bikes v2018
Theme URI: http://sundaybikes.com
Author: Francis Delapena
Author URI: http://francisdelapena.com
Description: The 2017 theme for Sunday Bikes is a fully responsive theme that looks great on any device.
Version: 3.0
Tags: Sunday Bikes, BMX, Francis Delapena
Text Domain: sundaybikes
*/

/* HOME */
#video_news { background:#dfdfdf; }
#product_news { background:#ccc; border-color:#efefef; position:relative; z-index:2;}

/* NEWS */
#content.prebook { min-height:500px; }
#content.news h1.page-title span.subtitle { display:inline-block; }

/* INSTAGRAM */
#sbi_images div.sbi_item:nth-child(10) {  
  display:none !important;
}

/* BIKES */
#ProductPricing { font-size:1em; margin-bottom:10px; }
#ProductPricing small { display:inline-block; }
#archivedbikes .btn { display:block; margin-bottom:5px; text-align:left;}

/* DEALERS */
#content.dealers .post { padding-left:0; width:100%; }
#content.dealers #locator_container { position:relative; overflow:hidden; }
#content.dealers #location_search_form { background:#efefef; padding:25px; margin-bottom:10px; }
#content.dealers table.location_search { margin-bottom:0; }
#content.dealers table.location_search,
#content.dealers tr,
#content.dealers td { width:100%; border-top:0; } 
#content.dealers td { display:block; font-weight:normal; padding: 0 0 5px; }
#content.dealers td input,
#content.dealers td select,
#content.dealers #location_search_submit_field { background-color:#fff; display:block; padding:10px; width:100%; border:1px solid #999; -moz-appearance:none; -webkit-appearance:none; }
#content.dealers td input:hover,
#content.dealers td select:hover { color:#000; }
#content.dealers td select { padding:10px; background-position: right center; background-image: url(https://cdn.shopify.com/s/files/1/0703/8345/t/3/assets/icon-select.svg?2212407648681612240); background-repeat: no-repeat; background-position: right 10px center; }
#content.dealers #location_search_submit_field { background:#333; color:#fff !important; text-align:left; text-transform:uppercase; }
#content.dealers #location_search_submit_field:hover { background:#000; }
#content.dealers #location_search_submit_field { margin:10px 0 0; }
#content.dealers #location_search_sm-category_fields input { display:inline-block; width:auto; -webkit-appearance: checkbox; }
#content.dealers .location_search_zip_cell { text-transform:uppercase;  }
#content.dealers #location_search_zip_field { margin-top:5px; width:100%; }
#content.dealers .location_search_title,
#content.dealers #location_search_0_tr,
#content.dealers .location_search_state_cell,
#content.dealers #location_search_2_tr,
#content.dealers #location_search_3_tr,
#content.dealers #location_search_4_tr,
#content.dealers .location_search_empty_cell,
#content.dealers #simplemap-updating { display:none; }
/* Map */
#content.dealers #simplemap-updating,
#content.dealers #simplemap { background:#fdfdfd; border:1px solid #efefef; height:400px !important; width:100% !important; margin-bottom:25px; }
/* Results */
#content.dealers div#results { width:100% !important; padding-bottom: 50px !important; text-align:left !important;}
#content.dealers .result { background: none!important; border:0; position:relative; }
#content.dealers .result * { position:static; z-index:2; }
#content.dealers .result h3 { display:block; font-weight:normal; text-transform:uppercase; }
#content.dealers .result .result_distance { color:#002663; }
#content.dealers .result address { padding-right:10px; text-transform:uppercase; }
#content.dealers .result .sm_category_list { background:#fbf5ee; border:1px solid #002663; position:absolute;left:0;right:0;top:5px;bottom:5px;  z-index:-1; }
#content.dealers .result .sm_category_list small { background:#002663; color:#fff; font-style:italic; font-weight:bold; text-transform:uppercase; padding:5px; position:absolute;bottom:100%;left:-1px; }
#content.dealers #results .sm_category_list small strong { display:none; }
/* international distributors */
#international-distributors header h1 { margin-bottom:25px; }
.distributors h3.subtitle { border:0; clear: both; padding: 25px 0 0; line-height: 10px; margin-bottom: 10px; text-transform: uppercase !important; }
.distributors { display: inline-block; float: left; margin-right: 25px; }
.distributors ul { margin: 0 0 25px; }
.distributors li { color: #666; display:inline-block; margin: 0 10px 10px 0; font-size: 10px; line-height: 1.2em; list-style: none; margin:0 auto 10px; text-transform: uppercase; width:30%; vertical-align:top; }
.distributors li a { display: block; font-weight:bold; text-transform: lowercase; text-transform: uppercase; padding-bottom: 2px; }
#col1.distributors { width: 100%; }
#col2.distributors  { width: 100%; margin-right:0; }

/* WARRANTY */
#content.warranty #guidelines { background:#fff; border-left:1px solid #ccc; float:right; margin: 0 0 25px 25px; padding: 0 0 25px; width:250px; clear:right; max-width:50%;}
#content.warranty #guidelines p { padding-left:25px; font-size:12px; }
#content.warranty #register { background: #fff; border-width:1px; border-style:solid; padding: 25px; margin: 0 0 25px; }
#content.warranty #form { font-size: 12px; }
#content.warranty #form input { background: transparent; border: 0; border-bottom-style:solid; border-bottom-width:1px; border-radius:0; font-size:1.2em; padding: 10px 0 2px; width: 100%; }
#content.warranty #form label { display: block; font-style: italic; font-size: 10px; text-transform: uppercase; }
#content.warranty .req { color: #F00; }
#content.warranty #buttons { padding: 10px 0 0; }
#content.warranty #buttons input { cursor: pointer; background: #666; color: #fff; font-weight:normal; padding: 5px; text-transform: uppercase; width: auto; border-radius:2px; }
#content.warranty #buttons input:hover { background: #333; }
#content.warranty #alerts strong { color: #F00; }
#content.warranty #purchase select { border-color:#666; }
#content.warranty #purchase label { display: block; }

@media screen and (min-width: 900px) {
  #col1.distributors { width:24%; margin-right:3%; }
  #col1.distributors li { width:100%; }
  #col2.distributors { width: 73%; }
  /* WARRANTY */
  #content.warranty #register { margin:0 0 25px 25px; float:right; width:500px; }
}