/*

Theme Name: X Pro DFX4 Hybrid
Theme URI: http://www.dentalfone.com/
Author: Dentalfone
Author URI: http://www.dentalfone.com/
Description: A powerful mobile tool
Version: 4.0.0
Template: pro

*/

/*App View
===*/
@media (max-width: 767px) {
/*Hides Un-needed Elements for App Only Product
===*/
.x-slider-container, /*Hides Above and Below Masthead Video*/
.df-desktop-share, /*Hides Have a Smartphone Section on Refer a Friend Page*/
.df-web-home /*Hide Desktop Homepage Sections*/ {
    display: none;
}

/*Makes App Buttons Full Width on Interior Pages
===*/
.df-app-btn {
    position: relative;
    max-width: 100%;  
    text-transform: uppercase;
	display: none !important;
}
.df-app-btn2 {
    position: relative;
    max-width: 100%;  
    text-transform: uppercase;
}

/*Resizes Container on Interior Pages
===*/
.x-section {	
    max-width: 768px;
    margin: 0 auto !important;
}
}


/*Web View
===*/
@media (min-width: 768px) {
/*Hides Un-needed elements for Web View
===*/
.df-app-home, /*Hides App Grid on Homepage */
.df-qr-code, /*Hide Scan Our QR Code Section on Refer a Friend Page*/  
.x-section.df-app-btn { /*Hide App Buttons on Interior Pages*/ 
    display: none;
}

/*Creates Center Content Holder on Interior Pages for Web Only Product
===*/
.entry-content.content {
    max-width: 94%;
	width: 1200px;
    margin: 3% auto;
    border: 0px solid rgba(0,0,0,0.15);
    border-radius: 2px;
	background: rgba(255, 255, 255, 0.9) !important;
	box-shadow: 0em 0.15em 2em rgba(0,0,0,0.15);
}

/*Google Maps Rounded Corners
===*/
div.x-map-inner.x-google-map-inner {
    border-radius: 0 0 2px 2px !important;
}
	
/*Formats shortcode buttons in Header
===*/
div.e7092-5.x-bar-content-area div a.x-btn.x-btn-global.x-btn-block {
    padding: 0.379em 1.105em 0.542em !important;
}
}

/*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 {
	padding: 30px !important;
    margin: 0 auto !important;
	background: rgba(255,255,255,0.9);
    border: none;
    box-shadow: 0em 0.15em 2em rgba(0,0,0,0.15);
}

.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 {
	background: rgba(255,255,255,0.9);
    border: none;
    box-shadow: 0em 0.15em 2em rgba(0,0,0,0.15);
    padding: 30px;
}

@media (min-width: 768px) {
.x-sidebar {
    width: 25.536945%;
}
	
.entry-wrap {
    max-width: 1200px !important;
}
}

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

/*Font Awesome Phone and Map Marker Icon Display Fix
===*/
.x-icon-phone {
	transform: rotateY(180deg);
}

.x-icon-map-marker:before {
	content: "\f3c5";
}

/* Shrinks URL to fit in Viewport on Apps in Share Our URL Section on Share Page 
=== */
@media screen and (max-width: 768px) {	
	.url-overflow {
		font-size: 18px;
	}
}

/* Formats Display of Our Reviews Page
===*/
/*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;
}

/*Non-1 Column Promobox in App View on Our Team Page Layout
===*/
@media (max-width: 767px) and (min-width: 600px) {	
.df-dr-row {
    display: flex;
}

.df-dr-col {
    margin-right: 3% !important;
    margin-left: 3% !important;
}
}

/*Hide (or cover with color) Site Background Image on Masthead Video Fade-In
===*/
.x-slider-container.bg-video.above {
    background-color: #fff;
}

.x-slider-container.bg-video.below {
    background-color: #fff;
}

/*Down Arrow Custom Style Overlay on Masthead Video
===*/
.x-slider-scroll-bottom {
    border: 0 !important;
    background: url(/wp-content/uploads/scroll_over.png) no-repeat !important; 
    border-radius: 0;
    height: 130px;
    width: 120px;
}

.x-slider-scroll-bottom:hover {
    border: 0 !important;
    background: url(/wp-content/uploads/scroll_under.png) no-repeat !important; 
    border-radius: 0;
    height: 130px;
    width: 120px;
}

.x-slider-scroll-bottom i.x-icon-angle-down {
    display: none;
}

.x-slider-scroll-bottom.center {
    margin-left: -60px !important;
}

/*App Homepage Video Background Thumbnail Button Placement and Hide Play Icon shown by default - Requested to add by Scott
===*/
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;
}