/*
Theme Name: Flatsome Child Theme - Maggie
Theme URI: http://flatsome.uxthemes.com/
Description: This is a child theme for Flatsome
Author: UX Themes
Author URI: 
Template: flatsome
Version: 2.25.05.283
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* PRIMARY COLOUR = #59b8d6 */

/*embeded video ratio fix - for better thumbnials*/
.embed-video-ratio-fix {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.embed-video-ratio-fix:before {
    content: "";
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    display: block;
    overflow: hidden;
}

.embed-video-ratio-fix .fb_reset, .embed-video-ratio-fix .twitter-tweet{ /*correction for Facebook and Twitter embeds*/
    margin-top: -56.25%!important;
}

.video.video-fit.mb {
    padding-top: 0px !important;
}

.embed-video-ratio-fix iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*----------*/

/*my account*/

.my-account .button {
    color: #fff;
    background-color: #59b8d6;
    margin: 1em;
    }
    
.woocommerce-order-downloads tr .download-remaining, .woocommerce-order-downloads tr .download-expires {
    display: none;
}

a.woocommerce-MyAccount-downloads-file:before {
    content: '';
    margin-right: 14px;
    position: relative;
    top: 6px;
    display: inline-block;
    height: 20px;
    width: 20px;
    background: url(https://www.maggiedent.com/wp-content/uploads/2017/07/dl-icon.gif);
    background-size: contain;
}

.woocommerce-MyAccount-content td.download-file {
    height: 50px;
}

a.woocommerce-MyAccount-downloads-file.button.alt {
    margin-right: 0px;
}

.mejs-container, .mejs-container .mejs-controls, .mejs-embed, .mejs-embed body {
    background: #8dc63f!important;
}

.woocommerce-MyAccount-content .download-file span.nobr:after {
    content: '/PLAY';
}

.account-user.circle {
    display: none;
}

/* MY ACCOUNT NAV TWEAKS ALL SCREEN SIZES */
#my-account-nav li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--customer-logout {
    display: none;
}

em.user-id.op-5 {
    display: none;
}

span.user-name.inline-block {
    top: 14px;
    position: relative;
}

.my-account .message-wrapper {
    margin: 0;
    padding-bottom: .5em;
    background: #f7f7f7;
    margin-bottom: 20px;
}

/*************** MY ACCOUNT MY DOWNLOADS SIMPLIFY FOR SMALL SCREEN ***************/
@media only screen and (max-width: 600px) {
  
.woocommerce-MyAccount-content tr .download-file {
    text-align: center!important;
}

.woocommerce-MyAccount-content tr .download-product {
    display: none;
}
}
/****************************************************/

/*** MY ACCOUNT NAV TWEAKS MOBILE & TABLET SIZES ***/
@media only screen and (max-width: 850px) {
#my-account-nav li.woocommerce-MyAccount-navigation-link {
    display: none;
}

#my-account-nav li.wishlist-account-element {
    display: none;
}

#my-account-nav li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--dashboard.is-active.active {
    display: none!important;
}

#my-account-nav li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--dashboard {
    display: initial!important;
    background: #f7f7f7;
    padding: 0 10px;
}

#my-account-nav .woocommerce-MyAccount-navigation-link--dashboard:before {
    content: '<';
}

#my-account-nav .nav-vertical>li>ul>li a, .nav-vertical>li>a {
    display: inline-block;
}

.my-account .account-user.circle {
    border: 1px solid #59b8d6;
    border-radius: 7px!important;
    padding: 0 4px 4px 9px;
}
}
/****************************************************/

.my-video-list a:before {
    content: url(https://www.maggiedent.com/wp-content/uploads/2017/07/vid-icon.gif);
    margin-right: 16px;
    position: relative;
    top: 10px;
}

.my-video-list li {
    list-style-type: none;
    border-bottom: 1px solid #f7f7f7;
    padding-bottom: 10px;
}    

/* light text link color (for dark sections)*/
.entry-content .dark p a, .content-area .dark p a, .content-area .dark li a {
    color: white;
    text-decoration: underline;
} 

img.round-img {
border-radius: 999px;
}

.scroll-to-bullets {
      overflow-y: initial;
}
    
/*POST STATUS - BACKGROUND COLOURS*/
article.status-pending div.article-inner {
    background: #ecffd1;
}

 /*list defaults*/
.content-area li, .entry-content li, .cart-container li {
    margin-left: 40px;
    margin-bottom: 10px;
}

.content-area ul, .entry-content ul{
    list-style: initial;
}
/*list defaults end*/

.widget {
    margin-bottom: 2em;
}

.shade {
    background: linear-gradient(to top, #323232 20%, rgba(50,50,50,0) 60%);
    opacity: .6!important
    }
    
.box-overlay.dark .box-text, .box-shade.dark .box-text {
    text-shadow: 1px 1px 1px rgb(0, 0, 0);
}
   
.box-shade .box-text {
    padding-bottom: 0.7em;
}
    
    
.box-shade .overlay-icon, .box-overlay .overlay-icon {
   opacity: 1; 
}
    

/*.page-template-page-common-concern #content .col-inner .pf-content p {
    font-size: 110%;
}*/




/*----SEARCH----*/
.searchform .flex-row.relative {
    margin-bottom: 4px;
}

.searchform select#cat {
    height: 2em;
    color: #555555;
    margin-bottom: 0px;
}

.search .page-title span {
    color: #59b8d6;
}


/*---------------*/
/*-----FIXES-----*/
/*---------------*/

.mfp-close-btn-in .mfp-close {
    position: absolute;
}

/*--------------------*/


/*---------------*/
/*-contact forms-*/
/*---------------*/
.wpcf7 span.wpcf7-list-item {
    margin-left: 0;
    margin-right: 1.2em;
    white-space: nowrap;
    display: block;
}

.wpcf7-recaptcha {
    margin-bottom: 14px;
}
/*--------------------*/


/*--------------*/
/*-blog display-*/
/*--------------*/

/*-------universal------*/

/*hide uncatigorized menu item*/
li.cat-item.cat-item-1 {
    display: none;
}

li.cat-item.cat-item-424 {
    display: none!important;
}

.post-date.badge {
    display: none;
}

.article-inner, .article-inner:hover {
    box-shadow: none;
}

.single img.attachment-large.default-featured-img {
    display: none;
}

.category-sticky {
    border: none;
}

.single-post .entry-image.relative {
    text-align: center;
}

.single-post .entry-image img {
    max-width: 100%;
    max-height: 500px;
    width: inherit;
}

h6.entry-category.is-xsmall {
    display: none;
}

/*masonary grid/list*/

.row-masonry .post-item .post-date {
    display: none;
}

/*.row-masonry .box-blog-post{
    border: 1px solid #59b8d6;
    padding: 10px;
}*/

.post-meta.is-small {
    display: none;
}

/* single posts*/ 

.article-inner:hover {
    box-shadow: none;
}

.post span.byline {
    display: none;
}

/*Jetpack related posts*/

#jp-relatedposts h3.jp-relatedposts-headline {
    font-size: inherit!important;
    text-transform: uppercase;
}

#jp-relatedposts h3.jp-relatedposts-headline em:before {
    display: none!important;
}

div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
    font-size: 16px;
    color: inherit;
    font-weight: bold;
}

img.jp-relatedposts-post-img {
    margin-bottom: 10px;
}

/*hide featured image for posts tagged video*/
.single-post .blog-post-type-video .entry-image {
    display: none;
}
.single-post .blog-post-type-monthly-qa .entry-image img {
    display: none !important;
}

.single-post .blog-post-type-video-member .entry-image img {
    display: none !important;
}


.wpt_widget_content .entry-title {
    font-size: 95%;
    padding-left: 77px!important;
}


/*BLOG & SEARCH labels*/

.menu-item.boxed {
	border:none;
	display:inline-block;
}

.footer-widgets .menu-item.boxed {
     	display: block;
     	margin-bottom:8px;
}

.footer-widgets .menu-item.boxed a {
	opacity:1;
   }

.box-blog-post .blog-post-type, .menu-item.boxed a {
    padding: 1px 6px!important;
    font-size: 85%;
    color: white;
    text-transform: uppercase;
    background:#7b7b7b;
    display: inline-block;
    opacity:0.8;
    margin-bottom: 2px;
}

.menu-item.boxed a:hover {
    color: #ffffff;
}

.box-blog-post .video, .menu-item.video a  {
    background: #e84444;
}

.box-blog-post .handout, .menu-item.handout a  {
    background: #4dd685;
}

.box-blog-post .article, .menu-item.article a  {
    background: #4a96d8;
}

.box-blog-post .audio, .menu-item.audio a  {
    background: #b78ad2;
}

.box-blog-post .video-member, .menu-item.video-member a  {
    background: #3ac4e0;
}

.menu-item.top-tip a  {
    background: #ffb200;
}

.category-top-tips .box-blog-post .box-text::before {
    content: 'Top Tips';
    padding: 0px 6px!important;
    font-size: 95%;
    color: white;
    text-transform: uppercase;
    display: inline-block;
    opacity: 0.8;
    margin-bottom: 1px;
    background: #ffb200;
       }

.search-results .type-product 
.box-text::before {
    content: 'In the shop';
    background: #29b533;
    }
    
.search-results .type-page 
.box-text::before {
    content: 'Page';
    }

.search-results .type-tribe_events 
.box-text::before {
    content: 'Upcoming event';
    background: #ff34c8;
    }




/*-----------*/
/*----NAV----*/
/*-----------*/

/*FIX remove border lines between columns on nav dropdown */
.nav-dropdown.nav-dropdown-bold>li.nav-dropdown-col, .nav-dropdown.nav-dropdown-simple>li.nav-dropdown-col {
    border-color: transparent;
}

.nav-dropdown li.image-column>a img {
    width: 160px;
    bottom: 0px;
    position: absolute;
    }

ul.nav-dropdown.nav-dropdown-simple {
    min-height: 230px;
}

.nav-dropdown li.menu-item {
    white-space: nowrap;
}


/*colour a menu link!*/
.link-blue a.nav-top-link {
    color: #ffffff!important;
    background-color: #52bee0!important;
    padding: 3px 4px;
}

.link-green a.nav-top-link {
  color: #ffffff!important;
    background-color: #8dc63f!important;
    padding: 3px 4px;
}

.link-blue a.nav-top-link, .link-green a.nav-top-link {
height: 24px;
}

.sidebar-menu .link-blue a.nav-top-link, .sidebar-menu  .link-green a.nav-top-link {
height:inherit;
}

.stuck .header-main .nav > li > a {
    line-height: inherit!important;
}


ul.nav li.hide > a {
    display: none;
}

ul.nav li.hide {
margin-bottom:0px;
}

.mobile-sidebar .nav-vertical li.menu-item {
    border-bottom: solid 1px #e8e8e8;
}

/*nav hover tweaks*/

ul.header-nav li.active a.nav-top-link {
    opacity: 0.6;
}

ul.header-nav a.nav-top-link {
    color: grey;
    opacity: 1;
}

/*block spacing
.ux_block {
    margin-bottom: 10px;
}
*/


/*ux featured boxes eg. Common Concerns*/

.ux-box-image {
    }
    
.ux-box.ux-text-bounce .ux-box-text {
     padding: 10px 10px;
}

li.ux-box.featured-item {
    padding: 0px 10px;
}
    
.featured-item .tx-div {
    margin-top: 10px;
}




/*Vertical nav sub page sidebar page template

.page-template .vertical-tabs .tabs-inner {
    
  border-left-width:0px;
    padding-right: 40px;
  padding-left:0px;
  margin-right: 10px!important;
}

.vertical-tabs .large-3.columns {
    margin-top: 10px;
}*/

.page .entry-header .parallax-title {
    margin-bottom: 30px;
}



/*testimonials*/
.testimonial_text .test_name, .testimonial_text .test_company {
    color: #59b8d6;
}

.text-left .testimonial_text {
    padding-left: 0px;
}




/*--------------------*/
/*----SHOP DISPLAY----*/
/*--------------------*/

li.cat-item.cat-item-670 {
    display: none;
}

.product-small.product_cat-bundles .add-to-cart-button {
    display: none;
}

.woocommerce-messages {
    padding: 20px 10px 0px 10px;
    background: #f7f7f7;
    margin: 30px auto;
    border: 1px solid #eee;
}

.post-type-archive-product .shop-page-title {
display:none;
}

.badge-inner {
    padding: 10px;
}

.cart.bundled_item_cart_content.variations_form {
    display: none;
}

.name.product-title a {
    font-size: 120%;
}

.woocommerce-tabs::before {
    content: 'Product Details';
    display: block;
    font-size: 2em;
    margin-bottom: 10px;
}

.product-tabs li a {
    color: #59b8d6!important;
}

.product-tabs li.active a {
    color: #fff!important;
}

.woocommerce-shipping-fields {
    border-top: 2px solid #59b8d6;
}

/*product variation*/
.variations td.label label {
    font-size: 120%;
    font-weight: normal!important;
}

.variations td {
    display: block;
}

.variations td.value {
    font-size: 1em;
}

.woocommerce-info.message-wrapper {
    background: #f7f7f7;
    padding: 5px;
}

.text-left.social-login.pb-half.pt-half {
    text-align: center;
}

.message-container.container.medium-text-center {
    font-weight: 400;
}

/*breadcrumbs*/
.breadcrumbs {
    color: #cacaca;
    font-weight: 100;
   }

.breadcrumbs a {
     padding: 0 2px;
}

span.breadcrumb_last {
    display: none;
}

.cross-sells {
    padding-top: 42px;
}

/*fix for vertical box text wrap*/
.box-vertical .category.no-text-overflow {
    white-space: normal;
}

.product-footer .woocommerce-tabs {
    padding: 30px 0 80px 0;
    }
    
.single-product span.tagged_as, .single-product span.sku_wrapper {
    display: none;
}
.single-product .yith-wcwl-add-to-wishlist {
    margin-bottom: 18px;
}
.single-product .social-icons .button.icon:not(.is-outline) {
    background-color: #cccccc!important;
    border-color: transparent!important;
}

.callout.style2 {
    left: 10px;
    top: 64px;
}
    
.post-type-archive-product .products.row {
    display: none;
}

.wishlist-popup {
    margin-top: -15px;
    background-color: none;
}

.postid-246665 .price.product-page-price.price-on-sale {
	display:none;
}
.postid-246665 .price-wrapper .price {
    display: none;
}
@media only screen and (max-width: 48em) {

/*************** ADD MOBILE ONLY CSS HERE  ***************/
}
