/*
Theme Name: MB
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme for Mary Bakery site.
Version: 1.0
Author: Euphoria Digital Studio
Author URI: http://www.euphoriastudio.ru/
Template: enfold
*/

/*
New colors
#a0cdd2 - blue
#ffbdbb - light pink
#fe7b79 - pink

Color change
#97ddd6 -> #a0cdd2
#68c8be -> #90b8bd
#ff7190 -> #a0cdd2
#FF718F -> #a0cdd2
*/

/* Basic */
a:hover, a:focus, a:visited {
	text-decoration: none;
}
.align-right {
	text-align: right;
}
.align-left {
	text-align: left;
}
.align-center {
	text-align: center;
}
.hide-me {
	display: none;
}
a.button {
	border-radius: 20px;
}
#top .avia-button,
#top .es_textbox_button {
	border-radius: 20px;
	border: none;
	cursor: pointer;
	-webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;	
}
#top .avia-button:hover,
#top .avia-button:focus {
	background: #FF718F;
}
h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
}
.widgettitle {
	font-family: "Roboto Condensed";	
	font-size: 1.7em;
    font-weight: normal;
	text-transform: uppercase;
}
.miniheading, .author_name, #reply-title, #top .logged-in-as, .dynamic-column-title {
	font-weight: normal;
}
.main_color strong {
	color: inherit;
}
.mfp-content div .mfp-title {
	display: none;
}
.site-legal {
	display: inline-block;
	font-size: 12px;
	line-height: 14px;
}
#top .container_wrap {
	border-top-width: 0px;
}
/* Images */
body img {
	border-radius: 20px;
}
a img:hover, 
a img:focus,
.avia-content-slider .slide-image:hover,
.avia-content-slider .slide-image:focus,
.related_posts a:hover,
.related_posts a:focus,
.product .images a:hover,
.product .images a:focus {
	opacity: 0.8 !important;
	-webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}
.related_posts img, .related_posts a {
	border-radius: 0;
}
.avia-content-slider .slide-image,
.avia-content-slider .slide-image img {
	border-radius: 0;
}
.related_posts .related-format-icon {
	background: none !important;
}
.related_posts .related-format-icon .related-format-icon-inner {
	display: none !important;
}
.image-overlay .image-overlay-inside {
	display: none !important;
}
.image-overlay {
	background: none !important;
}
.image-overlay .image-overlay-inside:before {
	content: “” !important;
}
.small-preview img, .big-preview img {
	border-radius: 0;
}
/* Boxed */
#top.boxed {
    box-shadow: 0 0 30px rgba(150,150,150,0.35);
}
.responsive #top.boxed, .responsive.html_boxed.html_header_sticky #header, .responsive.html_boxed.html_header_transparency #header {
    max-width: 90.1%;
}
/* Topbar */
#top #header_meta .social_bookmarks li,
#top #header_meta .social_bookmarks a	{
	border-radius: 30px;
	border-right: none;
}
/* Header */
#top #header .logo-mobile {
	display: none;
}
#top #header .logo img {
	padding: 5px 0;
}
/*
#top #header .av-logo-container {
	margin: 5px 0;
}
#top #header .logo-mobile {
	display: none;
}
#top #header .logo img {
	max-width: none;
}
#top #header #menu-item-shop {
	color: #68C8BF;
}
#top #header #menu-item-shop.cart_dropdown .dropdown_widget .widget_shopping_cart_content {
	border: none;
	border-radius: 0;
}
#top #header #menu-item-shop .dropdown_widget_cart ul li:hover {
	color: #FFFFFF;
}
#top .dropdown_widget .buttons {
	padding: 0;
	margin-top: 10px;
}
#top .dropdown_widget .buttons .button {
	color: #FFFFFF !important;
	padding: 12px;
}
#top .dropdown_widget .buttons .button:hover,
#top .dropdown_widget .buttons .button:focus {
	background: #FF718F;
}
.responsive.html_boxed.html_header_sticky #header {
	z-index: 99990;
}
*/
#top .mfp-bg {
	z-index: 99991;
}
#top .mfp-wrap {
	z-index: 99992;
}
/* Main menu */
#top #header #header_main_alternate {
	background: #FF718F;
	margin: 0 -10px;
	height: 49px;
	position: relative;
}
#top #header #header_main_alternate .left-corner, 
#top #header #header_main_alternate .right-corner {
    border-style: solid;
    display: block;
    height: 0;
    opacity: 1;
    position: relative;
    top: 49px;
    width: 0;
	background: none;
	position: absolute;
}
#top #header #header_main_alternate .left-corner {
    border-color: transparent #CE86A6 transparent transparent;
    border-width: 0 9px 9px 0;
    float: left;
    left: 1px;
}
#top #header #header_main_alternate .right-corner {
    border-color: #CE86A6 transparent transparent;
    border-width: 9px 9px 0 0;
    float: right;
    right: 1px;
}
#top #header #header_main_alternate .main_menu ul#avia-menu > li > a {
	font-family: "Open Sans Condensed";	
	font-size: 1.7em;
    font-weight: normal;
    line-height: 47px;
	text-transform: uppercase;
	height: 49px;
	color: #FFFFFF;
}
#top #header #header_main_alternate .main_menu .avia-menu {
	height: 49px;
}
#top #header #header_main_alternate .main_menu ul#avia-menu > li:hover,
#top #header #header_main_alternate .main_menu ul#avia-menu > li:focus {
	background: #FF5F84;
}
#top #header #header_main_alternate .main_menu ul#avia-menu > li.current-menu-item {
	background: #68C8BF;
}
#top #header #header_main_alternate #menu-item-search > a {
    padding-right: 13px;
}
#top #header #header_main_alternate #searchform input {
	color: #FFFFFF;
}
#top #header #header_main_alternate .ajax_search_entry:hover .ajax_search_title,
#top #header #header_main_alternate .ajax_search_entry:focus .ajax_search_title {
    color: #FFFFFF;
}
#top #header #header_main_alternate .sub-menu {
	padding: 0;
}
#top #header #header_main_alternate .sub-menu li a {
	color: #68C8BF;
	font-family: "Open Sans Condensed";	
	font-weight: normal;
    font-size: 1.2em;
}
#top #header #header_main_alternate .sub-menu li:hover,
#top #header #header_main_alternate .sub-menu li:focus {
	background: #68C8BF;
}
#top #header #header_main_alternate .sub-menu li:hover a,
#top #header #header_main_alternate .sub-menu li:focus a {
	color: #FFFFFF;
	text-decoration: none;
}
#top #header #header_main_alternate .avia_mega_div {
	width: 416px;
	left: 0 !important;
	margin: 0;
    padding: 0;
	border: none;
}
#top #header #header_main_alternate .avia_mega_div .sub-menu li {
	padding: 6px 12px;
	width: 208px;
	float: left;
}
#top #header #header_main_alternate .avia_mega_div .sub-menu li a {
	font-size: 1em;
}
#top #header #header_main_alternate .av-main-nav ul {
	margin-top: 0;
}
.header_color *::-moz-placeholder {
    color: #ffffff;
}
#mobile-advanced {
	padding: 130px 0;
}
#mobile-advanced a, #mobile-advanced .mega_menu_title {
	font-family: "Open Sans";
}
#mobile-advanced li > .mega_menu_title:hover,
#mobile-advanced li > .mega_menu_title:focus {
    background-color: #68c8be;
	color: #ffffff;
}
#mobile-advanced li > .mega_menu_title:hover a,
#mobile-advanced li > .mega_menu_title:focus a {	
    color: #ffffff;
}
.responsive #top .cart_dropdown {
	display: none;
}
/* Title & breadumbs */
#top .title_container .container {
    padding-top: 15px;
}
#top .title_container .container .main-title {
	font-size: 1.5em;
	line-height: inherit;
}
#top .title_container .container .main-title,
#top .title_container .container .main-title a {
	color: #68C8BF;
}
#top .title_container .breadcrumb {
	position: relative;
	right: auto;
	top: 0;
}
#top .breadcrumb-trail span:first-child a {
	padding-left: 0px;
}
#top .breadcrumb-trail span, 
#top .bbp-breadcrumb-current a {
	display: inline-block;
	vertical-align: bottom;
}
/* Slider */
#top .avia-fullscreen-slider .avia-slideshow {
	max-height: 390px !important;
}
#top .av-control-minimal .avia-slideshow-arrows a::before {
	border: none;
}
#top .avia-slideshow-button {
	border-radius: 0;
	border: none;
}
#top .avia-slideshow-button:hover,
#top .avia-slideshow-button:focus {
	opacity: 1;
	background: #FF5F84;
}
.caption_framed .slideshow_caption .avia-caption-content p, 
.caption_framed .slideshow_caption .avia-caption-title {
	background: rgba(135,135,135,0.45);
	max-width: 95%;
}
/* Footer */
#footer .widget {
	font-size: 90%;
}
#footer .button,
#footer .es_textbox_button {
	background: #68C8BF;
	color: #fff;
	padding: 9px 22px;
	border: none;
}
#footer .es_textbox_button:hover,
#footer .es_textbox_button:focus,
#footer .button:hover,
#footer .button:focus {
	background: #FF718F;
}
#footer ul li a {
	color: #666666;
}
#footer ul li a:hover,
#footer ul li a:focus {
	color: #FF718F;
}
#footer .avia-gallery .jr-insta-thumb img {
	padding: 0;
}
#footer .site-legal {
	display: inline-block;
	font-size: 10px;
	line-height: 10px;
}
#footer .social_bookmarks {
	height: 40px;
}
#footer .social_bookmarks li {
	float: none;
	display: inline-block;
	width: 40px;
}
#footer .social_bookmarks li a {
	width: 40px;
	line-height: 40px;
	min-height: 40px;
	border-radius: 50%;
	font-size: 18px;
}
/* Subscribe */
#top #footer .es_textbox_class {
	margin: 0 !important;
	background-color: #ffffff;
    border-color: #cccccc;
}

/* Scroll to top */
#scroll-top-link {
	border: none;
	bottom: 54px;
	right: 8px;
	opacity: 1 !important;
	border-radius: 0;
}
#scroll-top-link:hover,
#scroll-top-link:focus {
    background-color: #FF718F;
    border: none;
    color: #FFFFFF;
}
/* Home */
#top.home .content {
	padding-bottom: 0;
    padding-top: 50px;
}
#top #products-recommended .template-shop {
	margin: 10px 0 4px 0;
}
#home-split .top_tab .tab_titles {
	background: #FF718F;
}
#home-split .top_tab .tab_titles .tab {
	color: #FFFFFF;
	border: none !important;
	top: 0;
	border-radius: 0;
	padding: 12px 26px 14px 16px;
	font-family: "Open Sans Condensed";	
	font-size: 1.7em;
    font-weight: normal;
	text-transform: uppercase;	
}
#home-split .top_tab .tab_titles .tab:hover,
#home-split .top_tab .tab_titles .tab:focus {
	color: #97DDD6;
}
#home-split .top_tab .tab_titles .active_tab {
	background: #FFFFFF url("/wp-content/themes/marybakery/images/tab-active.png") no-repeat scroll right top;
	color: #68C8BF !important;
}
#home-split .top_tab .av_tab_section .tab_content {
	border: none;
	background: #FFFFFF;
}
#home-split .av-special-heading-h2 {
	margin: 10px 0;
}
#home-split .av-special-heading-h2 h2 {
	font-size: 1.7em;
}
/* News */
#top .news-link {
	display: inline;
}
#top .news-link:hover,
#top .news-link:focus,
#top .widget ul li .news-link:hover,
#top .widget ul li .news-link:focus {
	display: inline;
}
#top .news-thumb {
	width: 100px;
	height: 100px;
}
#top .news-thumb img {
	width: 92px;
	height: 92px;
}
#top .news-excerpt {
	display: inline;
}
/* Blog */
.page-thumb img {
	border-radius: 0;
}
.archive .avia-content-grid-active .post-entry .slide-image,
.archive .avia-content-grid-active .post-entry .slide-image img {
	border-radius: 0;
}
.archive .avia-content-grid-active .post-entry .blog-categories {
	display: none !important;
}
/* Recipe single */
#recipe-ingridients ul {
	font-size: 110%;
	list-style: none; /* Удаляем нумерацию по умолчанию */  
	margin: 0;
}
#recipe-ingridients ul li {
    position: relative;
    display: block;
    padding: 0.2em 1em;
    *padding: .4em;
    margin: .3em 0;
    background: #eee;
    color: #555555;
    text-decoration: none;
    border-radius: .3em;
    transition: all .3s ease-out;
}
#recipe-ingridients ul li:hover,
#recipe-ingridients ul li:focus {
	background: #68c8bf;
	color: #fff;	
}
#recipe-steps ol {
	font-size: 110%;
	counter-reset: li; /* Устанавливаем счетчик */
	list-style: none; /* Убираем стандартную нумерацию */
	*list-style: decimal; /* Оставляем стандартную нумерацию для IE 6-7 */
	margin: 0 0 0 15px;
}
#recipe-steps ol li {
    position: relative;
    display: block;
    padding: .2em .4em .2em 2em;
    *padding: .4em;
    margin: .5em 0;
    background: #eee;
    color: #555555;
    text-decoration: none;
    border-radius: .3em;
    transition: all .3s ease-out;
}
#recipe-steps ol li:hover,
#recipe-steps ol li:focus {
	background: #ff5f84;
	color: #fff;
}
#recipe-steps ol li:hover:before,
#recipe-steps ol li:focus:before {
    transform: rotate(360deg);
}
#recipe-steps ol li:before {
    content: counter(li);
    counter-increment: li;
    position: absolute;
    left: -1.3em;
    top: 50%;
    margin-top: -1.3em;
    background: #ff5f84;
	color: #fff;
    height: 2em;
    width: 2em;
    line-height: 2em;
    border: .3em solid #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 2em;
    transition: all .3s ease-out;
}
.tag-my-recipe .av_promobox {
	margin: 20px 0 30px;
	border-color: #68c8be;
	background: #68c8be;
	color: #FFFFFF;
}
/* About Timeline */
#top .cool-timeline-wrapper .timeline-main-title {
	text-align: center;
	margin-bottom: 10px
}
#top .cool-timeline.white-timeline .timeline-post .timeline-content .content-title {
	background-image: none !important;
    border-radius: 4px;
	text-transform: inherit;
}
#top .ultimate-style .timeline-post .timeline-content .content-details {
	padding: 5px;
}
#top .cool-timeline .timeline-post .timeline-content .ctl_info {
    display: block;
    line-height: 1.5;
}
/* Woocommerce */
.woocommerce-page .button {
	border-radius: 0;
}
.woocommerce .cart-collaterals .cart_totals {
	float: none;
	margin: 0 auto;
}
.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout {
	text-align: center;
}
.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout .button {
	display: inline-block;
	float: none;
}
h2.woocommerce-loop-product__title {
	font-size: 1.5em;
	color: #ffffff;
}
/* Woocommerce order recived */
.woocommerce-order-received .site-legal {
	display: none;
}
/* Woocommerce Product Single */
#top.single-product .sidebar {
	display: none!important;
}
#top.single-product .product_title {
	display: none;
}
#top.single-product .product_meta .posted_in {
	display: none;
}
#top.single-product .price,
#top.single-product .price span, 
#top.single-product del, 
#top.single-product ins {
	font-size: 20px;
}
/* Woocommerce Sidebar */
#top div ul.product_list_widget li {
	border: none;
}
#top div ul.product_list_widget li a {
	display: inline;	
}
#top div ul.product_list_widget li a img {
    float: left;
    margin-right: 10px;
	margin-left: 0;
	padding: 3px;
    width: 100px;
	border: 1px solid #e1e1e1;	
}
#top div ul.product_list_widget li .product-title {
	display: block;
}
#top div ul.product_list_widget li .amount {
	font-size: 1.2em;
}
/* Woocheckout */
#top .woocommerce-checkout h3 label {
    font-size: 1em;
    font-weight: normal;
}
#top .woocommerce-checkout h3#ship-to-different-address {
	margin-bottom: 12px;
}
#top .woocommerce-checkout h3#ship-to-different-address span {
	font-size: 20px;
	color: #68c8be;
}
#top .woocommerce-checkout #jckwds-delivery-time {
	font-size: 12px;
}
#top .woocommerce-checkout #customer_details {
    padding-bottom: 20px;
}
#top .woocommerce-checkout h3#order_review_heading {
	margin-top: 20px;
}
#top .woocommerce-checkout #payment .place-order {
	text-align: center;
}
/* Media-kit */
#media-kit-partners {
	border: none;
}
#media-kit-partners .av-masonry-container {
	float: none;
}
#media-kit-partners .av-masonry-image-container {
	filter: grayscale(100%);
	opacity: 0.5;
}
#media-kit-partners .av-masonry-image-container:hover,
#media-kit-partners .av-masonry-image-container:focus {
	filter: none;
	opacity: 1;
}
#media-kit-ads .av-catalogue-title-container {
	color: #68c8be;
}
#media-kit-ads .av-catalogue-title {
	text-align: center;
}
#media-kit-pack-row1 .flex_column.av_one_fourth,
#media-kit-pack-row2 .flex_column.av_one_fourth,
#media-kit-pack-row3 .flex_column.av_one_fourth,
#media-kit-pack-row4 .flex_column.av_one_fourth {
    margin-left: 2%;
    width: 23.5%;
	-webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}
#media-kit-pack-row1 .flex_column.av_one_fourth:hover,
#media-kit-pack-row2 .flex_column.av_one_fourth:hover,
#media-kit-pack-row3 .flex_column.av_one_fourth:hover,
#media-kit-pack-row4 .flex_column.av_one_fourth:hover,
#media-kit-pack-row1 .flex_column.av_one_fourth:focus,
#media-kit-pack-row2 .flex_column.av_one_fourth:focus,
#media-kit-pack-row3 .flex_column.av_one_fourth:focus,
#media-kit-pack-row4 .flex_column.av_one_fourth:focus {
	opacity: 0.8;
}
#media-kit-pack-row1 .flex_column.av_one_fourth,
#media-kit-pack-row2 .flex_column.av_one_fourth,
#media-kit-pack-row3 .flex_column.av_one_fourth {
	min-height: 460px;
}
#media-kit-pack-row4 .flex_column.av_one_fourth {
	min-height: 485px;
}
#media-kit-pack-row1 .flex_column.av_one_fourth.first,
#media-kit-pack-row2 .flex_column.av_one_fourth.first,
#media-kit-pack-row3 .flex_column.av_one_fourth.first,
#media-kit-pack-row4 .flex_column.av_one_fourth.first {
	margin-left: 0;
}
/* Capcha */
.hctpc_block .hctpc_title {
	font-size: 0.92em;
	font-weight: bold;
}
.hctpc_block .hctpc_title .required {
	color: #333;
}
#products-recommended {
	display: none !important;
}
/* Donate */
.donate-form .wpcf7-form p > br {
	display: none !important;
}
/* Responsive */
@media only screen and (min-width: 990px) and (max-width: 1280px) {
	#media-kit-pack-row1 .flex_column.av_one_fourth,
	#media-kit-pack-row2 .flex_column.av_one_fourth {
		min-height: 645px;
	}
	#media-kit-pack-row3 .flex_column.av_one_fourth,
	#media-kit-pack-row4 .flex_column.av_one_fourth {
		min-height: 670px;
	}
}
@media only screen and (min-width: 768px) and (max-width: 989px) {
	#media-kit-pack-row1 .flex_column.av_one_fourth,
	#media-kit-pack-row2 .flex_column.av_one_fourth,
	#media-kit-pack-row3 .flex_column.av_one_fourth,
	#media-kit-pack-row4 .flex_column.av_one_fourth {
		margin-left: 4%;
		width: 48%;
	}
	#media-kit-pack-row1 .flex_column.av_one_fourth.first + .av_one_fourth + .av_one_fourth,
	#media-kit-pack-row2 .flex_column.av_one_fourth.first + .av_one_fourth + .av_one_fourth,
	#media-kit-pack-row3 .flex_column.av_one_fourth.first + .av_one_fourth + .av_one_fourth,
	#media-kit-pack-row4 .flex_column.av_one_fourth.first + .av_one_fourth + .av_one_fourth	{
		margin-left: 0;
	}
	#media-kit-pack-row1 .flex_column.av_one_fourth,
	#media-kit-pack-row2 .flex_column.av_one_fourth,
	#media-kit-pack-row3 .flex_column.av_one_fourth,
	#media-kit-pack-row4 .flex_column.av_one_fourth {
		min-height: 415px;
	}	
}
@media only screen and (max-width: 767px) {
	#media-kit-pack-row1 .flex_column.av_one_fourth,
	#media-kit-pack-row2 .flex_column.av_one_fourth,
	#media-kit-pack-row3 .flex_column.av_one_fourth,
	#media-kit-pack-row4 .flex_column.av_one_fourth {
		min-height: auto;
	}		
	.responsive #top #header .logo {
		display: none;
	}
	.responsive #top #header .logo-mobile {
		display: block;
	}
	.responsive #top #header .logo-mobile img {
		padding: 2px 0;
	}
	.responsive #top #header .av-logo-container,
	.responsive #top #header .logo-mobile,
	.responsive #top #header .logo-mobile img {
		max-height: 100px !important;
		height: 100px !important;
	}
	#menu-item-shop .cart_dropdown_link {
		padding: 0 42px;
	}
	#top #header_meta .social_bookmarks li, 
	#top #header_meta .social_bookmarks a {
		border: none !important;
	}
	#mobile-advanced {
		padding: 155px 0;
	}
	.responsive .title_container .breadcrumb {
		margin: 10px 0;
	}	
}
@media only screen and (max-width: 400px) {
	#top .news-thumb {
		height: 158px;
		width: 158px;
		float: none;
		margin: 0 auto;	
	}
	#top .news-thumb img {
		height: 150px;
		width: 150px;
	}
	#top .news-headline {
		display: inline-block;
	}
}