/*

Theme Name: X Pro DFX3 App
Theme URI: http://www.dentalfone.com/
Author: Dentalfone
Author URI: http://www.dentalfone.com/
Description: A powerful mobile tool
Version: 3.0.0
Template: pro

*/

/*Underline links for Accessibility
===*/
a,
a:active,
a:hover {
    text-decoration: underline !important;
}

.tg-grid-wrapper a,
.x-topbar .x-social-global a,
a.x-btn,
.x-btn-navbar,
.x-slider-scroll-bottom,
.x-slider-scroll-bottom:hover,
.x-scroll-top,
.x-scroll-top:hover,
.x-social-global a,
.df-left-nav-widget h5 a,
.x-btn-navbar,
.x-btn-navbar:hover,
.flex-direction-nav a,
.x-creative-cta,
a.x-creative-cta {
    text-decoration: none !important;
}

/*Video Background Thumbnail Button Placement and Hide Play Icon shown by default
===*/
a.x-anchor.x-anchor-button.df-btn {
    position: relative;
	bottom: 55px;
	z-index: 9999;
	text-decoration: none !important;
}

.x-column.df-btn-col {
	margin-bottom: -65px;
}

*::-webkit-media-controls-panel {
  display: none !important;
 -webkit-appearance: none;
}

/* Old shadow dom for play button */

*::-webkit-media-controls-play-button {
  display: none !important;
  -webkit-appearance: none;
}

/* New shadow dom for play button */

/* This one works */

*::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

/*===========================================
Case 1 - App Only Product
===========================================*/
/*Hide Un-needed Elements for App Only Product
===*/
.x-slider-container, /*Hide Above and Below Masthead Videos*/
header, /*Hide Desktop Header*/
.df-desktop-share, /*Hide Phone on Share Page*/
.df-web-home, /*Hide Desktop Homepage */
.df-patient-info-btn /*Hide Back to Patient Info Btn*/  {
    display: none;
}

/*Creates Center Content Holder on Interior Pages
===*/
.x-main.full,
.entry-content.content {
	background: rgba(255, 255, 255, 0) !important;
}

#df-grid-container .x-section {
    max-width: 768px;
    margin: 0 auto !important;
}

/*Creates App Buttons on Interior Pages
===*/
.df-app-btn {
    position: relative;
    max-width: 100% !important;
    text-transform: uppercase;  
    z-index: 10000 !important;
}

/*Footer Custom Style
===*/
.x-colophon.bottom {
    box-shadow: none !important;
    border-top: none !important;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 0 20px 0;
}

.x-colophon.bottom .x-colophon-content {
    margin: 20px 0 10px !important;
    padding-bottom: 10px !important;
}

/*X Button Remove Text Drop Shadow
===*/
.x-btn, .x-btn:hover, .button, .button:hover, [type="submit"], [type="submit"]:hover {
    text-shadow: none !important;
}

/* Shrink URL on Share Page to fit in Viewport on Apps
Add this class to the custom headline in cornerstone: url-overflow
========================================= */
@media screen and (max-width: 460px) {	
	.url-overflow {
		font-size: 121.4%;
	}
}

@media screen and (min-width: 461px) {
	.url-overflow {
		font-size: 171.4%;
	}
}

/*GTranslate Look and Feel
===*/
div.switcher.notranslate {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-bottom: 10px !important;
}

#x-root {
    display: block !important;
}

/*Testimonial last name with only first letter
===*/
.df-first-letter {
    visibility: hidden;
    width: 10px;
}

.df-first-letter::first-letter {
    visibility: visible;
}

.testimonial-name {
    float: right;
    text-align: right;
    margin-right: 15px;
}

.df-first-letter {
    position: absolute;
    right: 23px;    
    font-weight: bold;
}

.df-review-date {
    clear: both;
}

/*Hide Office Review Checkbox
===*/
#li-category-4 {
    display: none;
}

/*Blog Customizations
===*/
.p-meta>span:nth-child(1), .p-meta>span:nth-child(3) {
   display: none !important;
}

.p-meta>span:after {
   content: "" !important;
}

.single .entry-title {
    padding-bottom: 0px !important;
}

.single .p-meta {
    padding-bottom: 40px !important;
}

.entry-header {
    display: inherit !important;
}

.x-header-landmark
/*.single .entry-featured img*/  {
    display: none !important;
}

.single .entry-content.content {
    background: rgba(255, 255, 255, 0);
    border: 0px solid rgba(0, 0, 0, 0.15); 
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.0);
	margin: initial !important;
}

.blog .x-main.full,
.single .x-main.full {
    background: rgba(255, 255, 255, 0) !important;
}
    
/*.blog .entry-featured img {
    display: none !important
}*/

.entry-wrap {
    max-width: 1200px !important;
	padding: 30px !important;
    margin: 0 auto !important;
	background: rgba(255,255,255,0.9);
    border: none;
    -webkit-box-shadow: 0px 0px 26px -5px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 26px -5px rgba(0 ,0, 0, 0.5);
    box-shadow: 0px 0px 26px -5px rgba(0 ,0, 0, 0.5);
}

.single .entry-title {
    padding-bottom: 30px;
}

/*.single .entry-featured img {
    padding-bottom: 30px;
}*/

.single .entry-thumb {
    background: transparent !important;
}

.has-post-thumbnail .entry-featured {
    border-bottom: 0px solid #ddd;
}

.x-sidebar {
    width: 25.536945%;
	background: rgba(255,255,255,0.9);
    border: none;
    -webkit-box-shadow: 0px 0px 26px -5px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 26px -5px rgba(0 ,0, 0, 0.5);
    box-shadow: 0px 0px 26px -5px rgba(0 ,0, 0, 0.5);
    padding: 30px;
}