/*
Theme Name: Fairdale Bikes v2018
Theme URI: http://francisdelapena.com
Description: Wordpress Theme designed by Francis Delapena.
Version: v2014
Author: Francis Delapena
Author URI: http://francisdelapena.com/
Tags: Francis, Delapena, Fixed Width, White

 A theme by Francis Delapena.

*/



/* HOME */
#content.home .news { border-top:1px solid #efefef; border-bottom:1px solid #ccc; background:#f9f9f9; padding: 50px 0; }
#content.home .news .padding { padding:0 25px 25px; }
#content.home .news h2 { margin-bottom:10px; }
#content.home .news .more-link { font-size:10px; padding:10px; display:inline-block; margin:0; }


/* NEWS */
/* items */
img.size-medium { width: 100%; height: auto; }
.wp-caption-text { color:#666; display:block; font-size: 12px; line-height:1em; margin:5px 0 25px; }
img.size-full { width:100%; max-width:100% !important;  height:auto;  }
#content.news .entry h3 { font-weight:bold; }
/* post meta */
.postmeta { clear: both; }
.postmeta img { float: left; margin: 0 5px 5px 0;}
/* tags */
#tags { text-align:center; }
#tags a { font-weight:normal; text-decoration:underline; }
/* comments */
#comments { margin-bottom:0 !important; }
.fb-comments { display:block !important; margin:0 auto; width:100%; }
/* navigation */
.navigation { font-size: 20px; text-transform: uppercase; padding-bottom:50px;}
.navigation a { color: #999; float: left; text-transform: uppercase;}
.navigation a:hover { color: #59a6b5 !important; text-decoration:none; }



/* RANDOMS */
/* issuu */
div.issuuembed, 
div.issuu-isrendered { width:600px !important; height: 400px !important; }
/* sidebar */
.sidebar { width:45%; }
.sidebar.floatright { border-left:1px solid #ccc; margin: 0 0 5% 25px; padding-left:5%; }
.sidebar.floatleft { border-right:1px solid #ccc; margin: 0 5% 25px 0; padding-right:5%; }
.sidebar .fb_iframe_widget { margin:0 0 10px; }
/* password protection */
.post-password-form input { background:#ccc; border-color:#333 !important; color:#333; }
.post-password-form label input { background:#fff; border-color:#999 !important; color:#666; }


/* FEATURES */
#content.feature { margin-bottom:-75px; padding: 50px 0 !important; }
#content.feature .entry { padding:50px; }
#content.feature #news-box { text-align:center; }
/* Columns */
.maxwidth-col1 { max-width:650px; }
.maxwidth-col2 { max-width:50%; }
.col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11, .col12 { margin-left:0; margin-right:0; width:100%;}
/* Containers */
.container { margin-bottom: 25px !important; }
.container.alignright { clear:right; float:right; margin-right:0 !important; margin-left:25px !important; }
.container.alignleft { clear:left; float:left; margin-left:0 !important; margin-right:25px !important; }
.container img { width:100%; height: auto; }
.container .slideshow { margin-bottom: 60px !important; }
.container .wp-caption-text { margin-bottom:0; }



/* GALLERY (list) */
.gallery { line-height:1em; margin-bottom:25px; }
.gallery p.nocaption { margin-bottom:5px; }
.gallery p.nocaption a { display:block; font-size:0; line-height:1em; }
.gallery p.hascaption { margin-bottom:5px; }
.gallery .wp-caption-text { padding-right:25px; margin-top:0; margin-bottom:10px; }
.gallery.caption-overlay p { margin-bottom:0; font-size:0; line-height:1em;  }
.gallery img { width:100%; height:auto; border:2px solid #fff; }
.gallery.thumbnail { line-height: 0; }
.gallery.thumbnail a.thumb img { margin: 0 10px 10px 0; height: 100px !important; width: auto !important; }
.gallery div.description { margin-bottom:25px; }
.gallery div.description p { margin:25px 25px 0; }
.caption-overlay .hascaption { line-height:9px; position: relative; }
.caption-overlay .wp-caption-text { background: #fff; border: 0; color:#000; font-size: 7px; font-weight: bold; margin: 0; padding: 5px 5px 0; text-transform: uppercase; position: absolute;bottom:2px; left: 2px; }



/* MODULES */
/* find a delaer */
.module .find-a-delaer { background:#ccc; padding:50px 0; text-align:center; text-transform:uppercase; }
.module .find-a-delaer input { font-size:18px; margin: 0 0 0 10px; text-align:center; }
.module .find-a-delaer input:hover { }
.module .find-a-delaer input.submit { margin-left: 0; }
/* bikes list */
.bikes-module { text-align:center; padding:50px 0 25px !important; }
.bikes-module h2 { font-weight:bold; margin:25px 0; }
.bikes-module ul { display:block; font-size:0; list-style:none; margin:0 auto; }
.bikes-module ul a { color:#000; font-weight:normal; }
.bikes-module ul a:hover { filter: alpha(opacity=75); -moz-opacity:.75; opacity:.75; text-decoration:none;}
.bikes-module ul li { display:inline-block; width:8%; margin:0 5px; max-width:100px; position:relative; }
.bikes-module ul img { width:100%; height:auto; }
.bikes-module ul span { font-size:7px; display:block; text-transform:uppercase; padding-top:5px; position:absolute; z-index:2; top:100%; left:0; right:0; }


/* NEWS */
#content.news .entry .size-large {  width:100%; max-width:100%; height:auto; }
#content.news .slideshow { margin-bottom:100px !important; }


/* SHORTCODE */
.shortcode h1 { padding-top:0 !important; margin:0 0 25px !important; }
.post-item.shortcode { margin: 0 0 -25px !important; padding: 50px 0 0 !important }


/* CONTACT */
#content.contact .contact-info { border-top:none; }



/* DEALERS */
#content.dealers { max-width:1200px; }
#content.dealers h3 a { color:#000; }
#content.dealers h3 a:hover { color:#59a6b5; text-decoration:none; }
/* DEALERS */
#content.dealers .post { }
#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_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 - Map */
#content.dealers .infoBox { width: 200px !important; }
#content.dealers .markertext { line-height:1em; font-size:10px; }
#content.dealers .markertext h3 { font-size:12px; line-height: 1em !important; margin-bottom:10px !important; }
/* Results - List */
#content.dealers #results { width:100% !important; margin-bottom:25px;}
#content.dealers #results h3 { font-size: 18px; font-weight:bold; text-transform:uppercase; }
#content.dealers #results h3 small { font-size: 12px; }
#content.dealers div.result { color:#666; padding:25px 20px; position:relative; }
#content.dealers div.result:hover { background:none; color:#333; }
#content.dealers div.result div.result_name,
#content.dealers div.result div.result_address,
#content.dealers div.result div.result_phone,
#content.dealers div.result div.result_links { min-height:none; margin:0 0 10px; position:relative; z-index:2; }
/* Resutls - List - Featured */
#content.dealers #results .sm_category_list { background:#ffe9e9; border:1px solid #666; position:absolute;left:0;right:0;top:5px;bottom:5px;  z-index:0; }
#content.dealers #results .sm_category_list small { background:#666; 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; }
/* Responsive */
@media screen and (max-width: 740px) {
	#content.dealers #results h3 small { display:block; }
	#content.dealers div.result div.result_address,
	#content.dealers div.result div.result_phone { width:45%; margin-right:5px; }
	#content.dealers div.result div.result_links { clear:both; display:block; float:none; margin:0 0 10px -20px; text-align:left; width:100%; }
	#content.dealers div.result div.result_links div,
	#content.dealers div.result div.result_links a { display:inline-block; margin-left:10px; }
}

/* VIDEOS */
.video { width:100%; }
.preserve-ratio { position:relative; width:100%; line-height:0; }
.preserve-ratio iframe { position:absolute;top:0;left:0; z-index:2; width: 100%!important; height: 100%!important;  }
.preserve-ratio img.ratio { width:100%; height:auto; position:relative; z-index:1; }
#content .entry .video { margin-bottom: 50px; }
#content .entry .hascaption .video,
#content .entry .hascaption .video { margin-bottom: 0; }
#content .video .credits,
#content .video .credits a { display:block; font-size:9px; line-height:9px; -webkit-appearance: none; }


/* FIELDTRIPS */
#content.fieldtrips { }
#content.fieldtrips .post-lists .entry { font-size:14px; line-height:1.5em; }
#content.fieldtrips #post-lists-image { display:block; line-height:0; text-decoration:none; padding:0 25px 25px; }



/* POST LISTS */
.post-lists-main { border-bottom: 0; margin-bottom: 0; }
.post-lists { border: 1px solid #ccc !important; border-bottom:0 !important; background:#eee !important; color:#666; font-size:14px; text-align:center; margin: 0 auto 50px; width:100% !important; padding:0 !important; }
.post-lists h2 { color: #666; margin: 0; padding: 75px; } 
.post-lists h2 a { color: #999; display:block !important; font-size: 10px; margin-top:5px;}
.post-lists h2 a:hover { color: #666; }
.post-lists .post { margin:0; padding:0; }
.post-lists h3 { font-weight:bold; margin-bottom: 0; font-size:16px; text-align:left; padding:25px 100px 25px 25px; position:relative; }
.post-lists small.date { border:0; padding:0; font-weight:normal; position:absolute; top: 25px; right:25px; -webkit-appearance: none;}
.post-lists .single small.date { top:5px; }
.post-lists .odd { background:#efefef; }
.post-lists img { width:100%; max-width:100%; }
.collapsible a:hover { text-decoration: none; }
#content.post-lists-content .post-lists .entry { padding:0 25px 25px !important; text-align:justify; text-transform: none; margin:0 auto; }



/* COLLAPSIBLE BOXES */
.collapsible { border-bottom: 1px solid #ccc; border-top: 1px solid #ccc; clear:both; padding:10px 0; }
.collapsible a { color: #999; }
.collapsible a:hover { color: #f93; }
img.lazy { display:none; }



/* NOT FOUND */
#not-found { text-align:center; }



/* BIKES */
/* BIKES ARCHIVE */
.view-bikes-archive { }
/* CATALOG (Bikes & Gear) */
#content.catalog { }
/* archive */
.post-6482 .post { margin-bottom:50px; }
.post-6482 .post h2 a { border:1px solid #000; background:#eee; display:block; padding:25px 0; width:100%;  }
.post-6482 .post h2 a:hover { background:#ccc; color:#000; }
/* learn more */
.learn-more a:hover { text-decoration:none; }
/* explained */
#explained-box img { float:left; margin-right:10px; }
#explained-box.has-thumbnail { height:210px; }
#explained-box.has-thumbnail a { display:block !important; }
#explained-box.has-thumbnail a:hover small { color:#000; }
#explained-box.has-thumbnail span { display:block; padding-top: 75px; }
#explained-box.has-thumbnail .link-2 { margin-top:10px; }
/* warranty */
#warrantyinfo { font-size:10px; text-align:center; }
/* 	RELATED */
.yarpp-related { margin: 0 !important; }