/*   
Theme Name:  	OneMileBakery
Theme URI: 
Description:  	More To The Picture child theme
Version: 1.1
Template:   	moretothepicture
@author     	moretothepicture
@license   		http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later)
@link      		http://moretothpicture.com
License:   		GNU General Public License v2.0
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html 
*/ 
	
	dt, dd {display: inline-block;}
	.variation dt {font-family: GillSansMTStd-Bold;}
	.woocommerce-message {padding: 10px; background: #f26522; color: #fff; margin: 0 0 30px;}
	.woocommerce-message a:link, .woocommerce-message a:visited {color: #fff;}
	.woocommerce-message a:active, .woocommerce-message a:hover {color: #272727;} 	
			
	/* Quote Box 
	....................................................................... */ 
	.about_box {clear: both; position: relative; width: 100%; background: #f1f1f1; border: 8px solid #fff; box-shadow: 0 0 4px rgba(0,0,0,0.25); margin: 0 0 30px; border-radius: 10px;}
	.about_box_wrap {margin: 10px;}
	.owner_pic {position: absolute; top: 0; bottom: 0; left: 0; right: 0; border-radius: 10px;}

	/* Homepage Location Box
	....................................................................... */
	#location {display: table;width: 100%;background: #f1f1f1;border: 5px solid #fff;box-shadow: 0 0 4px rgba(0,0,0,0.25);margin: 0 0 40px 0;overflow: hidden;border-radius: 10px;box-sizing: border-box;}
	#location_map {display: table-cell;vertical-align: top;text-align: center;width: 50%;position: relative;}
	#location_map .map_wrap {margin: 0;}
	#location_map p {margin: 0; position: absolute; bottom: 20px; left: 50%; margin: 0 0 0 -88px;}
	#location_status {display: table-cell;vertical-align: middle;text-align: center;width: 46%;border-left: 5px solid #fff;padding: 20px 2% 16px 2%;position: relative;}
	#location_status h2,#location_status h3,#location_status p {margin-bottom: 0.25em;}
	#location_status h2 {color: #f26522;}	
	
	.wrapped {overflow: hidden;}

	.map_img {position: absolute; top: 0; bottom: 0; left: 0; right: 0; background:  url('lib/img/in.jpg') no-repeat 50% 50%;}
	#location_map img {width: 90%; max-width: 255px;}
	
	/* Instagram */
	#insta_content {margin: 0 0 20px;}
	.insta_post {position: relative;}
	.meta_wrap {position: absolute; top: 0; bottom: 0; right: 0; left: 0; display: none;}
	.insta_post:hover .meta_wrap {cursor: pointer; display: block;}
	.insta_button {position: absolute; right: 50%; left: 0; top: 30px; margin: 0 450px 0 0; bottom: 0; z-index: 9; background: url("lib/img/left.png") no-repeat calc(100% - 20px) 50%;}
	#insta_next.insta_button {background: url("lib/img/right.png") no-repeat 20px 50%; left: 50%; right: 0; margin: 0 0 0 450px;}
	.insta_button:hover {cursor: pointer;}
	.meta_wrap_inner {height: 24px; width: 120px; position: absolute; top: 50%; left: 50%; margin: -14px 0 0 -48px; overflow: hidden;}
	.meta_block  {display: inline-block; vertical-align: top; width: 50%; padding: 0 0 0 25px; line-height: 25px; color: #fff;}
	.likes {background: url("lib/img/icons.png") no-repeat 0 0; background-position: -546px -135px;}
	.comments {background: url("lib/img/icons.png") no-repeat 0 0; background-position: -546px -114px;}
	#m2tp_insta {display: none; vertical-align: middle;}
	#m2tp_insta  * {-webkit-user-select: none; /* Safari */ -moz-user-select: none; /* Firefox */ -ms-user-select: none; /* IE10+/Edge */ user-select: none; /* Standard */}
	#m2tp_insta #internal_slideshow_wrap.text_box_popup {top: 0;}
	#m2tp_insta #body_dull, #quickview_content{display: block; z-index: 1;}
	.top_close_strip, #meta_strip_top, .quickview_close {position: fixed; top: 0; left: 0; right: 0; height: 32px; z-index: 9999; text-align: right; padding: 0 14px; line-height: 32px; font-size: 14px; background: #000; color: #fff;}
	.top_close_strip:hover, #meta_strip_top:hover {cursor: pointer;}
	#internal_slideshow_wrap.text_box_popup {top: 30px;}
	#m2tp_internal_slideshow .slide_meta {top: -42px; font-size: 11px;}
	#instagram_loop_wrap {margin: 0 0 14px;}
	#instagram_wrap {position: absolute; top: 0; bottom: 0; left: 0; right: 0; max-width: 900px; max-height: 600px; width: 100%; height: 100%; margin: auto; background: #fff; z-index: 10;}
	.insta_image, .insta_text {display: inline-block; vertical-align: top; position: relative; z-index: 2;}
	.insta_text {max-width: 300px; width: 100%; max-height: 600px; height: 100%; padding: 20px; color: #333; font-size: 14px; line-height: 18px;}
	.insta_image {background-size: cover; background-repeat: no-repeat;}
	.profile_image {width: 50px; height: 50px; border-radius: 50%; float: left; background-size: contain;}
	.username, .follow_link {display: inline-block; padding: 0 0 0 14px;}
	.full_name {margin: 6px 0 0 64px;}
	.profile_header {overflow: hidden; margin: 0 0 20px;}
	.caption {border-top: 1px solid #ddd; padding: 20px 0;}
	.caption {height: 400px; overflow: hidden;}
	.bottom_meta {position: absolute; bottom: 32px; left: 20px; right: 20px; height: 70px; border-top: 1px solid #ddd; padding: 10px 0 20px;}
	.post_date {color: #999; font-size: 13px;}
	.heart {height: 24px; width: 24px; background: url("lib/img/icons.png") no-repeat 0 0; background-position: -234px -479px; margin: 0 0 7px;}
	.insta_post:hover .meta_wrap{color: #fff; background-color: rgba(242,101,34,.75);}
	
	body.page-template-template-instgram #post_loop {padding-right: 0;}
	#instagram_loop_wrap .col_wrap {margin: 0 -20px -20px 0;}
	#instagram_loop_wrap .col_1 {padding-right: 0;}
	#instagram_loop_wrap .col_inner {margin-bottom: 20px;}
	
	.latest_tweets, .latest_instagram {margin: 0 0 30px;}
	body.single-instagram .entry-meta {display: none;}
	body.single-instagram .single_insta_container {margin: 0 0 30px;}

	@media only screen and (max-width: 1023px){
		.woocommerce-product-gallery, .woocommerce div.product div.summary {width: 100%; padding: 0;}
		.location_wrap {text-align: center;}
		#location, #location_map, #location_status {display: inline-block; max-width: 498px; width: 100%;}
		#location_map, #location_status {border: none;}
		.menu_block {width: 25%;}
		body.woocommerce-cart .quantity {height: auto; padding: 0;}
		.quantity a {width: 20px;}	
		.insta_button {margin: 0 300px 0 0;}
		#insta_next.insta_button {margin: 0 0 0 300px;}
		#instagram_wrap {max-height: none; max-width: 600px; height: auto; overflow: auto; top: 30px;}
		.caption{height: 100%;}
		.insta_text {max-height: none; max-width: 600px; height: auto; padding-bottom: 120px;}
		body.wider_content .col4 .col, .col4 .col {width: 50%;}
		#wrap .latest_news img {float: none; margin: 0 0 14px; width: auto; height: auto;}		
	}	
	
	@media only screen and (max-width: 782px){
		body.page-template-template-checkout {text-align: center;}
		form.checkout {text-align: left;}
		body.woocommerce-cart .quantity {float: none;}
		#your_order, #customer_details, .wc-proceed-to-checkout, body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table {width: 100%; display: block; padding: 0;}
		body.woocommerce-cart .woocommerce table.shop_table td {display: block; width: 100%; clear: both; text-align: center;}
		body.woocommerce-cart table.shop_table, body.woocommerce-cart table.shop_table tbody,  body.woocommerce-cart table.shop_table tr {width: auto; display: block;}
		.woocommerce div.coupon, body.woocommerce-cart table.shop_table tr, .woocommerce #content table.cart td.actions, .woocommerce table.cart td.actions, .woocommerce-page #content table.cart td.actions, .woocommerce-page table.cart td.actions {text-align: center;}
		.woocommerce div.coupon {display: block;}
		body.woocommerce-cart .cart-collaterals table.shop_table tr {text-align: center;}
		.woocommerce table.cart th, .woocommerce table.cart td, .woocommerce #content table.cart th, .woocommerce #content table.cart td, .woocommerce-page table.cart th, .woocommerce-page table.cart td, .woocommerce-page #content table.cart th, .woocommerce-page #content table.cart td {text-align: center;}
		.woocommerce table.cart .product-thumbnail, .woocommerce #content table.cart .product-thumbnail, .woocommerce-page table.cart .product-thumbnail, .woocommerce-page #content table.cart .product-thumbnail {max-width: 100%;}
		.entry-content .shop_table button.button, .wc-proceed-to-checkout a:link, .wc-proceed-to-checkout a:visited, body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table {float: none; margin-top: 20px;}
		.woocommerce .cart-collaterals .cart_totals table.shop_table th, .woocommerce .cart-collaterals .cart_totals table.shop_table td {display: inline;}
		.woocommerce div.coupon input#coupon_code {width: 100%;}
		.woocommerce-cart-form th {display: none;}
		body.woocommerce-cart .cart-collaterals {padding: 0; margin: 0;}		
	}

	@media only screen and (max-width: 498px){
		.view_basket_wrap {padding-right: 27px;}
		.items.view_basket {display: none;}
		.menu_block {width: 50%;}
		#customer_details p {width: 100%; padding: 0;}
		#instagram_loop_wrap .col3 .col {width: 100%;}
	}