/*   
Theme Name:		WIRELOCK®
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	
*/
	@font-face {
		font-family: 'body_font';
		src: url('lib/font/bodyfont.eot');
		src: url('lib/font/bodyfont.eot?#iefix') format('embedded-opentype'),
			 url('lib/font/bodyfont.woff') format('woff'),
			 url('lib/font/bodyfont.ttf') format('truetype'),
			 url('lib/font/bodyfont.svg#body_font') format('svg');
		font-weight: normal;
		font-style: normal;
	}
	
	body {background: #00a7ff; font-family: Helvetica, arial; font-weight: normal; font-size: 15px; color: #39373a;}
	* {transition: none !important;}
	h1, h2  {font-family: 'body_font'; font-weight: normal;}
	body.home #content .entry-content{font-family: 'body_font';}
	body.page-template-template-contact-us #content .entry-content h2{ font-family: Helvetica, arial; font-weight: bold;}
	#content .entry-content h2 {margin-bottom: 14px;}
	#content .entry-content h4 {margin-bottom: 5px;}
	strong, bold, em, #content .entry-content a, b {font-weight: bold;}
	h1 {color: #004495;}
	h1, h2, h3, h4 {color: #00a7ff;}
	#wrap {padding: 0;}
	#aside .youtube_wrap_inner {position: static;}
	.wrap_inner, #footer {padding: 14px; width: 100%; max-width: 996px; margin: 0 auto; overflow: hidden;}
	.wrap_inner{background: #fff; border-radius: 20px; margin-top: 14px;}
	#footer {margin: 0 auto 20px; border-radius: none;}
	#footer * {color: #fff;}
	#nav{height: 112px;}
	.left_col {float: left; width: 480px; padding: 0 28px 0 0;}
	#aside {margin: 0 0 0 480px;}
	.aside_inner {overflow: hidden;}
	.col_wrap {overflow: hidden; position: relative;}
	a:link, a:visited {color: #00a7ff; text-decoration: none;}
	a:active, a:hover {color: #39373a; text-decoration: none;}
	
	#nav ul.primary_menu {position: relative;}
	#nav ul.primary_menu li, .menu_item li {display: inline-block;}
	#nav ul.primary_menu li.menu-item-has-children:hover {position: relative;}
	#nav ul.primary_menu a, .menu_item a{padding: 0 14px 15px 0; -webkit-transition: none !important; transition: none !important; font-size: 16px; display: inline-block; color: #888889; font-weight: bold;}
	#nav ul.primary_menu li.current-menu-item > a, #nav  ul.primary_menu li.current_page_parent > a, #nav ul.primary_menu li:hover > a, #nav  ul.primary_menu li.current-menu-ancestor > a, .menu_item a:hover, .menu_item li.current_page_item > a, .menu_item li.current_page_parent > a{color: #00a7ff;}
	#nav ul.primary_menu ul.sub-menu {display: none; position: absolute; background: #fff; z-index: 99999; text-align: center; right: auto; left: 50%; width: 280px; border: 1px solid #dcdcdc; margin: 0 0 0 -100px; padding: 14px 0 1px; top: 34px;}
	#nav ul.primary_menu > li.menu-item-has-children:hover > ul.sub-menu {display: block;} 
	#nav ul.primary_menu > li.menu-item-has-children:hover > ul.sub-menu li {display: block; text-indent: 0; padding: 0 10px 14px;}
	#nav ul.primary_menu > li.menu-item-has-children:hover > ul.sub-menu a {padding: 7px;}
	
	#small_menu_button {display: none; line-height: 11px; position: absolute; top: 0; right: 14px; text-align: right;}	
	#small_menu_page_title_text {padding: 0 10px 0 0; vertical-align: top; color: #000; float: left; color: #00a7ff; font-weight: bold;}
	#small_menu_page_title_text:hover {color: #888889;}
	#small_menu_icon {background: url('lib/img/small_menu_icon.png') no-repeat 0 0; display: inline-block; width: 39px; height: 32px;}
	#small_menu_button:hover {cursor: pointer;}

	.menu_wrap {display: none; z-index: 99999; position: absolute; top: 0; left: 0; background: #fff; right: 0; height: auto; padding: 0; margin: auto;}
	body.menu_open .menu_wrap {display: block;}
	ul.small_menu {display: block;}
	ul.small_menu ul.sub-menu {display: block; position: static; overflow: hidden; padding: 0; margin: 0 auto; width: auto; margin: 0 40px;}
	ul.small_menu li {padding: 0;}
	ul.small_menu > li {border-bottom: 1px solid #888889;}
	ul.small_menu li a {display: block; padding: 20px; margin: 0 40px; text-align: center; background: none; width: auto; color: #888889; font-size: 20px;}
	ul.small_menu li a:hover, ul.small_menu li.current_page_item > a, ul.small_menu li.current_page_parent > a {color: #00a7ff;}
	ul.small_menu li ul li a {font-size: 16px;}
	ul.small_menu li ul li ul li a {font-size: 14px;}
	ul.small_menu li.menu-item-has-children {background: url("lib/img/plus.png") no-repeat 98% 23px;}
	ul.small_menu li.menu-item-has-children.open  {background: url("lib/img/minus.png") no-repeat 98% 23px;}
	
	.m2tp_logo img {width: 326px; margin: 0 0 40px;}
	
	.slide_wrap, .featured_image, #m2tp_slideshow{position: relative; border-radius: 14px;}
	#m2tp_slideshow > img {border-radius: 14px;}
	.slide_img, .slideshow_img, .project_slide_img {position: absolute; left: 0; right: 0; bottom: 0; top: 0; border-radius: 14px; background-size: cover;}
	#m2tp_slideshow .slideshow_img {display: none; float: none; width: auto; height: auto; border: none; position: absolute;}
	#m2tp_slideshow #slideshow_img_1 {display: block;} 
	.slide_wrap {margin: 0 -14px -14px 0; background: url('lib/img/slide_bg.jpg') no-repeat 0 0; background-size: cover; border-radius: 14px; overflow: hidden;}
	.slideshow_img, .project_gallery {margin: 0; float: left; width: 240px; height: 184px; position: relative; overflow: hidden; border: 14px solid #fff; border-width: 0 14px 14px 0;}
	#the_products .product_img {margin: 0; float: left; width: 240px; position: relative; overflow: hidden; border: 14px solid #fff; border-width: 0 14px 14px 0; height: 480px; padding: 0 0 20px;}
	.new_product_inner {position: relative;}
	.slide_title {color: #fff; text-align: center; font-size: 23px; background: #00a7ff; border-radius: 14px; margin: 0 0 14px; text-transform: uppercase; font-weight: bold; padding: 4px 10px; height: 60px; overflow: hidden;}
	.slide_excerpt {padding: 14px 14px 14px 0;}
	.slide_moretext {color: #00a7ff; font-weight: bold; position: absolute; bottom: 0; left: 0; }
	.slide_trans {display: none; position: absolute; left: 0; right: 0; bottom: 0; top: 0; border-radius: 14px; background: url("lib/img/product_trans.png") repeat 0 0;}
	.new_product:hover .slide_trans {display: block;}
	.new_product:hover .slide_title, .new_product:hover .slide_moretext {color: #004495;}
	.new_product:hover .slide_title {background: #a1cfed;}
	.autofill {position: absolute; right: 0; bottom: 0; width: 28px; height: 28px; background: url("lib/img/br.png") no-repeat 0 0;}
	.autofill2 {position: absolute; right: 14px; top: auto; width: 14px; height: 14px; background: url("lib/img/tr.png") no-repeat 0 0;}
	.left_fills {position: relative; display: inline-block; height: 170px; width: 0; position: absolute; vertical-align: top;}
	#the_products .left_fills {height: 396px;}
	.left_fills .topleft {position: absolute; width: 14px; height: 14px; background: url("lib/img/tl.png") no-repeat 0 0;}
	.left_fills .bottomleft {position: absolute; width: 14px; height: 14px; bottom: 0; background: url("lib/img/bl.png") no-repeat 0 0;}
	.slideshow_img, #page_slides .product_img, .project_gallery {background: #fff; border-radius: 0;}
	#slideshow_img_1.slideshow_img {float: none; width: 100%; height: auto; border-width: 0 14px 14px 0;}
	#contact_slides #slideshow_img_1.slideshow_img {float: left; width: 240px; height: 184px;}
	#main_aside > #slideshow_img_1.slideshow_img {border-width: 0 0 14px 0;}
	#m2tp_internal_slideshow .big_slideshow_img {display: none;}
	#m2tp_internal_slideshow .big_slideshow_img {height: 100%; position: relative; width: 100%;}
	#m2tp_internal_slideshow .big_slideshow_img .slideshow_img_wrap img {position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; width: auto; max-height: 100%;}
	h2.slide_meta_title {font-size: 15px;}
	#meta_strip_top .close_in_meta {background: url("lib/img/close_popup.png") no-repeat 50% 50%; width: 19px; height: 20px; position: absolute; right: 14px; top: 10px; z-index: 9999;}
	#m2tp_internal_slideshow .next_arrow {float: right; background: url("lib/img/cta_arrow.png") no-repeat 100% 50%;}
	#m2tp_internal_slideshow .previous_arrow {float: left; background: url("lib/img/cta_arrow_prev.png") no-repeat 0 50%;}
	
	.project_no {font-weight: bold;}
	.project_slide_text {display: none; position: absolute; top: 0; bottom: 0; left: 0; right: 0; padding: 24px 14px; color: #fff;}
	.project_slide_text h2 {color: #fff; font-family: Helvetica, arial; padding: 14px 0 0;}
	.project_gallery:hover .project_slide_text {display: block;}
	.project_gallery:hover  .slide_trans {display: block;}
	
	body.home #content {position: absolute; bottom: 0; left: 0; width: 466px; font-size: 21px;}
	body.home .m2tp_logo img {width: 100%; margin: 0;}
	body.home .the_wall {height: 100%; display: inline-block;}
	body.home .is_single.hentry {vertical-align: bottom; display: inline-block;}
	body.home .is_single.hentry p{margin: 0;}
	body.home #page_slides {margin: 14px -14px -14px 0;}
	#home_products {clear: both;}
	
	body.home .is_single.entry-content {padding: 0;}
	
	.post-nav, body.single-product .entry-meta{display: none;}
	
	.attachment-entry-wrap {width: 100%;}
	.slide_img:hover {cursor: pointer;}
	body.home .slide_img:hover {cursor: auto;}
	.attachment-entry.pdf {background: url("lib/img/pdf.png") no-repeat 0 0;}
	.attachment-entry .filename, .attachment-entry .size {padding: 0; text-align: left; margin: 0 0 0 40px; font-size: 15px;}
	
	.attachment-entry-wrap .size {font-size: 12px; color: #BBB;}
	.attachment-block {margin: 30px 0 0;}
	.attachment-entry {padding: 0; margin: 0 0 20px;}
	
	.area_selector {color: #939598; margin: 0 0 20px; font-weight: bold;}
	.area_selector:hover, .area_selector.selected {color: #00a7ff; cursor: pointer;}
	.contact_click {padding: 0 40px 0 0;}
	.map_wrap {position: relative; border-radius: 14px; margin: 0 0 14px; overflow: hidden; -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);}
	body.page-template-template-distributors-php  .map_wrap {margin: 0;}
	#maps_wrap {position: absolute; top: 0; bottom: 0; left: 0; right: 0; border-radius: 14px;}
	#maps_wrap iframe {width: 100%; height: 100%;}
		
	.back_to_projects {padding: 28px 0 0;}
	.back_to_projects a {font-weight: bold;}
	.back_to_projects  a:hover {color: #004495;}
	.content_inner > #slideshow_img_1 {width: 100%; height: auto; border: none; margin: 0 0 14px;}
		
	#footer .left_footer, #footer .right_footer {float: left; width: 50%;}
	.left_footer {font-size: 12px;}
	.right_footer {text-align: right;}
	.right_footer h4 {font-family: Helvetica, arial;}
	#footer img {margin: 7px 0 0;}
	#footer p {margin: 0;}
	
	body.page-template-template-contact-us .hentry h3{font-size: 17px; color: #39373a; margin: 10px 0 0; font-weight: normal;}
	body.page-template-template-contact-us .hentry h2{margin: 0 0 14px; font-weight: normal;}
	
	@media only screen and (min-width: 0){
	}
	
	@media only screen and (min-width: 1961px){
		.wrap_inner, #footer{max-width: 1934px;}
		#m2tp_slideshow img.responder{max-height: 100%;}
	}
	
	@media only screen and (max-width: 1960px){
		.wrap_inner, #footer{max-width: 1694px;}
		#m2tp_slideshow img.responder{max-height: 541px;}
	}
	
	@media only screen and (max-width: 1720px){
		.wrap_inner, #footer {max-width: 1454px;}
	}
	
	@media only screen and (max-width: 1480px){
		.wrap_inner, #footer {max-width: 1214px;}
	}	
	
	@media only screen and (max-width: 1240px){
		.wrap_inner, #footer{max-width: 974px;}
	}
	
	@media only screen and (max-width: 1023px){
		.wrap_inner, #footer{max-width: 740px;}
		.left_col {float: none; width: 100%; padding: 0; margin: 0 0 14px;}
		#aside {margin: 0;}
		ul.primary_menu {display: none;}
		#small_menu_button{display: block;}
		body.no-js #small_menu_button {display: none;}
		.menu_item {display: none;}
		#nav {height: 54px; position: relative;}
		body.home #content {width: auto; position: static; margin: 14px 0;}
		.slide_title {height: auto; padding: 10px;}
		#footer .left_footer {width: 164px;}
		#footer .right_footer {float: right;}
		#footer br, #footer p{margin: 0 0 8px;}
		.featured_image  {margin: 0 0 14px;}		
	}
	
	@media only screen and (max-width: 767px){
		.wrap_inner, #footer{max-width: 496px;}
	}
	
	@media only screen and (max-width: 524px){
		.wrap_inner, #footer{max-width: 100%; margin: 14px; width: auto;}
		#footer {margin: 0 14px 14px 14px;}
		#footer .right_footer {float: none;}
		#the_products .product_img, #page_slides .slideshow_img, #contact_slides .slideshow_img, .project_gallery, #contact_slides #slideshow_img_1.slideshow_img {width: 100%; height: auto;}
	}