/*   
Theme Name:		SDP
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-weight: 400; font-family: 'Libre Baskerville', serif;}
	body {background: #fbfbfb; color: #5a5c61; font-family: 'Libre Baskerville', serif; font-size: 16px; line-height: 23px;}
	a:link, a:visited {color: #354e69; text-decoration: none; transition: none;}
	a:active, a:hover {color: #d25469;}
	input {-webkit-appearance: none; -moz-appearance: none; appearance: none;}
	b, strong, h2, h3, h4 {font-weight: 700;}

	.entry-content a, a#cookie_accept{display: inline-block; font-weight: 700;}
	h2.entry-title a, .post-nav a{color: #d25469;}
	h2.entry-title a:hover, .post-nav a:active, .post-nav a:hover {color: #354e69;}
	.entry-content .alignleft {margin: 0 14px 14px 0;}
	a#cookie_accept {margin: 0 20px;}
	#wrap {padding: 20px; background: #fff;}
	#header {padding-top: 30px;}
	#content {padding: 0 0 14px;}
	.content_inner, .intro_text, .site_title {margin: 0 auto; padding: 0 20px;}
	.intro_text {max-width: 930px; padding-bottom: 16px; font-size: 21px; line-height: 28px; text-align: center;}
	.intro_text * {font-weight: 700;}
	.site_title {max-width: 768px; font-weight: 700; padding: 20px 20px 14px; color: #354e69; font-size: 35px; line-height: 38px; text-align: center; position: relative; z-index: 99;}
	#wrap.m2tp_default {max-width: 1200px;}
	body.is_singular .content_inner {padding: 0;}
	body.is_singular .is_single.hentry  {margin: 0 auto; background: #ececed;}
	body.is_singular .is_single.hentry  .hentry_inner{max-width: 600px; margin: 0 auto; padding: 30px 14px 14px; text-align: justify;}
	body.home.is_singular .is_single.hentry {background: #fff;}
	body.home.is_singular .is_single.hentry  .hentry_inner{max-width: 960px;}
	body.home.is_singular .is_single.hentry  .hentry_inner h3 {font-size: 21px; line-height: 28px;}
	body.loop .hentry.is_looped {margin: 0 auto 40px; padding-top: 20px; text-align: justify; text-justify: inter-word; max-width: 768px; text-align: center;}
	body.loop .entry-meta {display: block; margin: 0 0 7px; text-align: center;}
	body.loop .type-post .blog_image_container{display: none;}
	body.post-type-archive-people #content , body.page-template-template-contact #content {background: #ececed; margin: 0 0 14px;}
	body.post-type-archive-people .content_inner , body.page-template-template-contact .content_inner  {max-width: 900px; padding-top: 30px; padding-bottom: 30px;}
	.m2tp_authordata {display: none;}
	.entry-content ul li{background: url('lib/img/default-bullet.png') no-repeat 0 8px;}
	
	.single_image_container {margin: 0 0 30px; text-align: center;}
	.single_image_container img {border: 10px solid #fff;}
	
	.attachment-block {text-align: center;}
	.attachment-entry-wrap {width: auto;}
	.attachment-entry {margin: 0;}
	
	.slide_img {position: absolute; top: 0; bottom: 0; right: 0; left: 0;}	
	#home_slideshow {position: relative; overflow: hidden; max-height: 530px;}
	#m2tp_slideshow {overflow: hidden;}
	#m2tp_slideshow .slide_meta {position: absolute; top: 14px; bottom: 14px; right: 0; left: 14px; text-align: left; overflow: hidden;}
	.slide_meta_block {height: 100%;}	
	.slide_meta_wall {display: inline-block; height: 100%; vertical-align: middle;}
	.slide_content {display: none; bottom: 7px; left: 14px; right: 14px; padding: 5px; position: absolute; text-align: center; color: #fff; font-size: 74px; line-height: 74px; text-shadow: 1px 1px 1px #000;}
	.slide-cell.is-selected .slide_content{display: inline-block;} 
	.slideshow_img, .homeslide_img{position: absolute; top: 0; bottom: 0; left: 0; right: 0; display: none;}
	#slideshow_img_1, .homeslide_img {display: block;}	
	.slide_meta_link {vertical-align: middle; display: inline-block;}
	#featured_image {position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: 0;} 
	#progress_bar {background: rgba(255, 2555, 255, .5); height: 4px; position: absolute; top: 0; width: 0; z-index: 99;}
	
	#backtoptop {width: auto; height: 32px; max-width: 630px; position: fixed; background: url('lib/img/up_arrow.png') no-repeat 100% 50%; bottom: 55px; right: 0; left: 20px; margin: auto; z-index: 10000;}
	
	.share_item {width: 128px; display: inline-block;}
	.featured_img {margin: 0 0 30px; text-align: center;}
	
	.share_links_container {margin: 0;}
	.share_links {margin-bottom: 0;}
	.share_links_container {padding-top: 14px; height: 45px; overflow: hidden; text-align: center;}
	.share_item {margin-bottom: 0; height: 31px;}
	
	a.moretag {font-size: 12px;}
	
	#m2tp_cookie_policy {background: #fff;}

	#nav {text-align: center; padding: 14px 0 10px 0; background: #ececed;}
	#nav ul.primary_menu {display: inline-block; vertical-align: middle; width: 100%; max-width: 1023px; height: 30px; text-align: center; font-size: 0;}
	#nav ul.primary_menu li {display: inline-block; position: relative; font-size: 15px;}
	#nav ul.primary_menu li:hover {z-index: 99999;}
	#nav ul.primary_menu a {line-height: 20px; display: inline-block; vertical-align: middle; margin: 0 5px; padding: 0 5px 5px; text-transform: uppercase; font-size: 15px; border-bottom: 3px solid transparent;}
	#nav ul.primary_menu a:hover, #nav ul.primary_menu li.current_page_item > a, #nav ul.primary_menu li.current_page_parent > a, #nav ul.primary_menu li.current-menu-ancestor > a {border-bottom: 3px solid #d25469;}
	#nav ul.sub-menu {position: absolute; border-radius: 5px; text-align: left; padding: 14px 10px 1px; left: -3px; margin: 0; top: 25px; background-color: #d25469; width: 600px; z-index: 999; display: none;}
	#nav ul.sub-menu li {display: block; float: left; width: 50%; padding: 0 0 14px; margin: 0;}
	#nav ul.sub-menu a {font-size: 14px; color: #fff; border-bottom: 3px solid transparent; padding: 0;}
	#nav ul.sub-menu a:hover, #nav ul.sub-menu li.current_page_item > a, #nav ul.sub-menu li.current_page_parent > a, #nav ul.sub-menu li.current-menu-ancestor > a {border-bottom: 3px solid #fff;}
	#nav ul.sub-menu li.current-page-ancestor  > a {border-bottom: 3px solid #fff;}
	#nav li:hover > ul.sub-menu {display: block;}	
	
	#nav li.menu-item-261 ul.sub-menu{width: 200px;}
	
	ul.small_menu li.menu-item-has-children, ul.small_menu li.menu-item-has-children.open {background-position: 98% 21px;}
	
	.portnav {overflow: hidden; padding: 30px 0;}
	
	#services_list {background: #fff;}
	#our_services_list {max-width: 768px; margin: 0 auto; padding: 40px 14px; overflow: hidden;}
	ul#our_services_list_inner {margin: 0;}
	#our_services_list_inner li {display: block; float: left; width: 50%; padding: 0 0 14px 14px; margin: 0;}
	#our_services_list_inner li a {border: none !important;}
	#our_services_list_inner li.selected a {color: #d25469;}
	
	#small_menu_button {display: none; text-align: center;}	
	#small_menu_page_title_text {display: none}
	#small_menu_icon {width: 27px; height: 27px; display: inline-block;}
	#small_menu_icon {background: url('lib/img/menu.png') no-repeat 0 50%;}
	#small_menu_button:hover {cursor: pointer;}
	ul.small_menu {display: none; position: absolute; top: 0; left: 0; right: 0; height: auto; padding: 0; z-index: 9999; background: #ececed;}
	ul.small_menu ul.sub-menu {display: block; opacity: 0; height: 0; position: static; overflow: hidden; padding: 0; margin: 0 auto; width: 100%;}
	ul.small_menu ul.show_sub.sub-menu {height: auto; opacity: 1; margin: 0 0 5px;}
	ul.small_menu > li {border-bottom: 1px solid #fff;}
	ul.small_menu li a {display: block; padding: 20px; text-align: left; background: none; width: 100%; font-size: 18px; text-transform: uppercase;}
	ul.small_menu li ul li a {font-size: 16px;}
	ul.small_menu li.menu-item-has-children > a {background-position: 20px 20px;}
	ul.small_menu li.menu-item-has-children.open > a{background-position: 20px 20px;}	
	
	.m2tp_logo{text-align: center; margin: 0; padding: 0;}
	.m2tp_logo {background: #fff;}
	.site_tagline {font-style: italic; font-size: 28px; line-height: 38px; letter-spacing: -1px; padding: 7px 0; margin: 0 0 14px; text-align: center; background: #d25469; color: #fff;}
	.site_tagline div {padding: 0 20px;}
	.hentry h1, h1.page-title {color: #354e69; text-align: center; font-size: 32px; line-height: 35px; text-transform: uppercase; margin: 0 0 24px; font-weight: 700;}
	.hentry h2 {color: #354e69; margin: 0 0 20px; line-height: 1.3em; text-align: center;}
	.hentry h3 {font-size: 18px; line-height: 25px;}
	.hentry.centered {text-align: center;}
	.spaced {display: block; height: 30px;}
	.entry-meta {display: none;}
	.post-nav {margin: 50px 0; display: none;}
	
	#people_wrap {margin: 0 -30px 0 0; text-align: center;}
	.people_list_row {display: inline;}
	.people_list_row:first-of-type {display: block;}
	.person_img {margin: 0 0 30px; border: 14px solid #fff;}
	.team_role {text-align: center; margin: 0 0 14px;}
	
	.people_list.outer-cell {width: 50%; display: inline-block; vertical-align: top;}
	body.post-type-archive-people .hentry_inner {text-align: center; margin: 0 30px 30px 0; position: relative;}
	body.post-type-archive-people .hentry_inner h2 {border-bottom: 2px solid #d25469; margin: 0 0 20px; display: inline-block; transition: none; padding: 0 0 5px;}
	body.post-type-archive-people .hentry_inner:hover h2 {border-bottom: 2px solid transparent; color: #d25469;}
	body.page-template-template-declaration #content.m2tp_default{text-align: justify; text-justify: inter-word;}
	
	.col_wrap {margin: 0 -20px -20px 0; font-size: 0;}
	.col {width: 100%; display: inline-block; vertical-align: top; font-size: 26px;}
	.col_inner {margin: 0 20px 20px 0; padding: 20px; position: relative;}
	.col:last-of-type .col_inner {border: none;}
	.col5 .col {width: 20%;}	
	.col4 .col {width: 25%;}	
	.col3 .col {width: 33.333%;}	
	.col2 .col, .col-2 {width: 50%;}	
	.col-60 {width: 60%;}
	.col-40 {width: 40%;}
	
	
	/*! Flickity v2.0.10
	http://flickity.metafizzy.co
	---------------------------------------------- */
	
	.flickity-enabled {position: relative;}
	.flickity-enabled:focus{outline:0}
	.flickity-viewport {position: absolute; width: 100%; height: 100%;}
	.product-carousel, .no-carousel, .slide-carousel {overflow:hidden;position:absolute;top: 0; bottom: 0; left: 0; right: 0;}
	.flickity-slider{position:absolute;width:100%;height:100%}
	.flickity-enabled.is-draggable{-webkit-tap-highlight-color:transparent;tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
	.flickity-enabled.is-draggable .flickity-viewport{cursor:move;cursor:-webkit-grab;cursor:grab}
	.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down{cursor:-webkit-grabbing;cursor:grabbing}
	.flickity-prev-next-button{position:absolute; margin: -13px 0 0; top:50%;width:27px;height:24px;border:none;cursor:pointer;}
	.product_image_container:hover .flickity-prev-next-button {display: block;}
	.flickity-prev-next-button:hover{background:#fff}
	.flickity-prev-next-button:focus{outline:0;box-shadow:0 0 0 5px #676767}
	.flickity-prev-next-button:active{opacity:.6}
	.flickity-rtl .flickity-prev-next-button.previous{left:auto;right:auto}
	.flickity-rtl .flickity-prev-next-button.next{right:auto;left:10px}
	.flickity-prev-next-button:disabled{opacity:.3;cursor:auto}
	.flickity-prev-next-button svg{display: none;}
	.flickity-prev-next-button .arrow{fill:#676767}
	.flickity-page-dots{display: none; position:absolute;width:100%;top:0;padding:14px;margin:0;list-style:none;text-align:left;line-height:1}
	.flickity-rtl .flickity-page-dots{direction:rtl}
	.flickity-page-dots .dot{display:inline-block; width:22px; height:22px; margin:0 8px; cursor:pointer}
	.prod-cell, .slide-cell {width: 100%; height: 100%;}
	.flickity-prev-next-button.previous {left: 7px;}
	.flickity-prev-next-button.next {right: 7px;}
	.loop_img.no_image {position: absolute; top: 0; left: 0; bottom: 0; right: 0;}
	.is-hidden {display: none;}
	html.no-js .is-hidden {display: block;}
	
	#mc_embed_signup{background:none; clear:left; width:100%; margin: 0 0 14px;}
	#mc_embed_signup form {text-align:center; padding: 20px; background: #d25469;}
	#footer #mc_embed_signup form {padding:10px 0; background: none;}
	.mc-field-group { display: inline-block; vertical-align: middle;}
	#mc_embed_signup input.email {-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; color: #343434; background-color: #fbfbfb; box-sizing:border-box; vertical-align: middle; height:32px; padding: 0px 7px; display: inline-block; margin: 0; width:300px;}
	#footer #mc_embed_signup input.email {width:330px; background: #fff;}
	#mc_embed_signup .clear {display: inline-block; vertical-align: middle;} /* positions button horizontally in line with input */
	#mc_embed_signup .button {font-size: 13px; border: none; border-radius: 3px; letter-spacing: .03em; color: #fff; box-sizing:border-box; height:32px; line-height:32px; padding:0 18px; display: inline-block; margin: 0; transition: all 0.23s ease-in-out 0s;}
	#mc_embed_signup .button:hover {background-color:#777; cursor:pointer;}
	#mc_embed_signup div#mce-responses {float:left; top:-1.4em; padding:0em .5em 0em .5em; overflow:hidden; width:90%;margin: 0 5%; clear: both;}
	#mc_embed_signup div.response {margin:1em 0; padding:1em .5em .5em 0; font-weight:bold; float:left; top:-1.5em; z-index:1; width:80%;}
	#mc_embed_signup #mce-error-response {display:none;}
	#mc_embed_signup #mce-success-response {color:#529214; display:none;}
	#mc-embedded-subscribe.button {background: #354e69;}
	#mc-embedded-subscribe.button:hover {background: #d25469;}
	#footer #mc-embedded-subscribe.button {background: #d25469;}
	#footer #mc-embedded-subscribe.button:hover {background: #354e69;}	
	#mc_embed_signup label {display:inline-block; padding: 0 10px 0 0; font-weight: 700; font-size: 21px; vertical-align: middle; text-transform: uppercase; color: #fff;}		
	#footer #mc_embed_signup label {display:block; padding: 0 0 10px; font-size: 17px;}
	#footer #mc_embed_signup label {color: #5a5c61;}
	#mc_embed_signup label.error {display:block; float:none; width:auto; margin-left:1.05em; text-align:left; padding:.5em 0;}
	
	#footer {background: #ececed; padding: 30px 20px 14px;}
	.footer {text-align: center; max-width: 350px; margin: 0 auto; font-size: 10px;}
	.footer_block {margin: 0 0 14px;}
	.footer_block img {max-width: 66px;}
	
	.cta_block {width: 50%; display: inline-block; position: relative; text-align: center;}
	body.page-id-434 .cta_block {width: 100%}
	.the_wall {height: 100%; display: inline-block; vertical-align: middle;}
	.featured_text_wrap {display: inline-block; vertical-align: middle; padding: 14px;}
	.featured_banner {position: relative; margin: 0 0 14px; text-align: left; height: 390px; transition: none;}
	.page_img {position: absolute; top: 0; bottom: 0; left: 0; right: auto;}
	.page_text {position: absolute; top: 0; bottom: 0; left: auto; right: 0; background: #354e69; color: #fff; padding: 14px;} 
	.featured_banner:hover .page_text {background: #d25469;}
	h2.news_title {margin: 0 0 7px; font-size: 30px; line-height: 30px;}
	.featured_banner.even .page_img {left: auto; right: 0;} 
	.featured_banner.even .page_text {left: 0; right: auto;}
	.mobile_responder {display: none;}	
	
	@media only screen and (max-width: 1023px){
		#nav ul.primary_menu{display: none;}
		#nav {padding: 15px 0 10px;}
		#small_menu_button {display: block;}
		body.no-js #small_menu_button {display: none;}
		body.no-js ul.small_menu {position: static;}
		.slide_content {font-size: 62px; line-height: 62px;}
	}
	
	@media only screen and (max-width: 782px){
		#home_slideshow {margin-top: 0;}
		.site_title {font-size: 32px; line-height: 36px; max-width: 466px; color: #354e69 !important;}
		#mc_embed_signup label{display: block; margin: 0 0 7px;}
		#footer #mc_embed_signup input {max-width: 320px;}
		#mc_embed_signup input.email {width:100%; margin-bottom:10px;}
		#footer #mc_embed_signup .clear {display: block; width: 100% }
		#footer #mc_embed_signup .button {width: 100%; margin:0;}
		#our_services_list_inner li {width: 100%; float: none;}
		#our_services_list {max-width: 100%;}
		.slide_content {font-size: 50px; line-height: 50px;}
		.featured_banner {height: auto; padding-top: 390px}
		.cta_block {width: 100%;}
		.page_img {bottom: auto; height: 390px;}
		.page_text {position: static; padding: 30px 14px;}
		h2.news_title {font-size: 23px;}
		.the_wall {display: none;}
		.featured_text_wrap {padding: 0; display: block;}
	}
	
	@media only screen and (max-width: 600px){
		.site_title {font-size: 26px; line-height: 30px; max-width: 400px;}
		body.page-template-template-declaration #content.m2tp_default {text-align: left; text-justify: auto;}
		.people_list.outer-cell {width: 100%;}
		.hentry h1, h1.page-title {font-size: 30px; line-height: 30px;}
		.slide_content {font-size: 40px; line-height: 40px;}
		body.home.is_singular .is_single.hentry .hentry_inner h3, .intro_text {font-size: 18px; line-height: 25px;}
		#mc_embed_signup label {font-size: 18px;}
		.site_tagline div {margin: auto; font-size: 24px; line-height: 34px;}
		.featured_banner {padding-top: 290px}
		.page_img {height: 290px;}	
		h3.read_more {font-size: 14px;}
		body {font-size: 15px;}
		body.is_singular .is_single.hentry .hentry_inner {text-align: left;}
	}
	
	@media only screen and (max-width: 498px){
		.slide_content {font-size: 30px; line-height: 30px;}
		.featured_banner {padding-top: 240px}
		.page_img {height: 240px;}	
	}
	
	@media only screen and (max-width: 400px){
		.slide_content {font-size: 26px; line-height: 26px;}
		.site_title	{font-size: 21px; line-height: 25px; padding: 20px 0 14px; max-width: 320px;}
	}