/*

Theme Name: X Pro DFX3 Hybrid Side Navigation
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;
}

/*FA Icon Fix
===*/
.x-icon-phone {
	transform: rotateY(180deg);
}

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

/* Side Nav Bar Custom Style
===*/
.x-navbar-fixed-left .desktop .x-nav, 
.x-navbar-fixed-right .desktop .x-nav {
    margin-top: 1em !important;
}

/*Side Nav Bottom Widget
===*/
.df-side-nav-widget {
	padding-top: 15px;
    font-size: 10px;
    letter-spacing: 2px;
	line-height: 1.75em;
    text-transform: uppercase;
    text-align: center;
}

.df-social {
	padding-top: 10px;
    max-width: 100%;
    width: 225px;
    margin: 0 auto;
    text-align: center;
}

.df-social a {
	font-size: 21px;
}

.x-social-global a {
	font-size: 23px;
	margin: 0 2px 0 2px;
}

.x-social-global, .x-social-global + div {
	display: inline;
}

.df-legal {
	padding-top: 15px;
	font-size: 10px;
    letter-spacing: 2px;
	line-height: 1.75em;
    text-transform: uppercase;
    text-align: center;
}

.df-legal a {
	font-size: 10px !important;
    letter-spacing: 2px;
	line-height: 1.75em;
    text-transform: uppercase;
    text-align: center;
}

/*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;
}

/*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
===*/
i.x-icon-angle-down {
    font-weight: bold;
}

.x-slider-scroll-bottom {
    box-shadow: 0px 0px 15px 3px rgba(255,255,255,0.6);
    text-shadow: 1px 5px 20px rgba(255,255,255,1);
}

/* Centers masthead arrow on Side Nav sites
===*/
#layerslider_7 .ls-wrapper{
/* 	top: 50% !important; */
    left: calc(50% + 117.5px) !important;
/*     -webkit-transform: translate(-50%, -50%) !important;
    -ms-transform: translate(-50%, -50%) !important;
    -moz-transform: translate(-50%, -50%) !important;
    -o-transform: translate(-50%, -50%) !important;
    transform: translate(-50%, -50%) !important; */
	
	-webkit-transform: translateX(-50%) !important;
    -ms-transform: translateX(-50%) !important;
    -moz-transform: translateX(-50%) !important;
    -o-transform: translateX(-50%) !important;
    transform: translateX(-50%) !important;
}

/* For tablet view */
@media screen and (max-width: 979px) {
	#layerslider_7 .ls-wrapper {
		left: 50% !important;
	}
}

@media (max-width: 480px) {
.x-slider-scroll-bottom {
    width: 67px;
    height: 67px;
    border: 7px solid;
    font-size: 50px;
    line-height: 50px;
}

.x-slider-scroll-bottom.center {
    margin-left: -33px;
}
}
@media (min-width: 481px) {
.x-slider-scroll-bottom {
    width: 67px;
    height: 67px;
    border: 7px solid;
    font-size: 50px;
    line-height: 50px;
}

.x-slider-scroll-bottom.center {
    margin-left: -34px;
}
}
@media (max-width: 979px) and (min-width: 768px) {
.x-slider-scroll-bottom {
    width: 77px;
    height: 77px;
    font-size: 60px;
}

.x-slider-scroll-bottom.center {
    margin-left: -40px;
}
}
@media (min-width: 980px) {
.x-slider-scroll-bottom {
    width: 100px;
    height: 100px;
    border: 10px solid;
    font-size: 79px;
}

.x-slider-scroll-bottom.center {
    margin-left: -50px;
}
}

/*==============================
Case 3 - Hybrid Product
==============================*/
@media (max-width: 767px) {
/*Hides Un-needed elements for App View
===*/
header, /*Hide Desktop Header*/
.df-web-home, /*Hide Desktop Homepage */
.df-patient-info-btn, /*Hide Back to Patient Info Btn*/
.x-slider-container, /*Hide Above and Below Masthead Videos*/ 
.df-desktop-share { /*Hide Smartphone section on Share Page */
    display: none;
}

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

@media (min-width: 768px) {
/*Hides Un-needed elements for Web View
===*/
.df-app-home, /*Hide App Grid on Homepage */
.df-app-help, /*Hides App Help On Web View*/
.x-topbar, /*Hide Topbar*/
.df-qr-code, /*Hide App QR Code on Share Page and App Help Page*/  
.x-section.df-app-btn { /*Hide App Buttons on Interior Pages*/ 
    display: none;
}

/*Shows needed elements for Web View
===*/
header, /*Hide Desktop Header*/
.df-web-home, /*Hide Desktop Homepage */
.df-patient-info-btn, /*Hide Back to Patient Info Btn*/
.df-desktop-share { /*Show Phone Img on Share Page on Tablet*/
    display: inherit;
}

/*Creates Center Content Holder on Homepage for Web Only Product with Side navigation
===*/
.entry-content.content {
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 20px;
    box-shadow: 0 0.125em 0.275em 0 rgba(0,0,0,0.125);
}

.x-main.full {
    background: rgba(255,255,255,0) !important;
    padding: 3%;
    min-height: 768px !important;
}
}

@media (max-width: 979px) and (min-width: 768px) {
/*Hide Above and Below Masthead Videos on Tablet
===*/
.x-slider-container { 
	display: none;
}
	
/*Left Nav Bottom Widget
===*/
.x-brand img {
   max-width: 100px !important;
}
}

@media (min-width: 980px) {
/*Show Above and Below Masthead Videos on Desktop
===*/
.x-slider-container { 
	display: inherit;
}

/*Hides Footer because left nav widget is being used to hold footer content
===*/
footer {
   display: none;
}
}

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

/*X Nav Links Solid Bar Hover Custom Style
===*/
.x-navbar .desktop .x-nav > li > a:hover, .x-navbar .desktop .x-nav > .x-active > a, .x-navbar .desktop .x-nav > .current-menu-item > a {
}

/*X Mobile Nav Bars Custom Style
===*/
.x-btn-navbar,
.x-btn-navbar:hover,
.x-btn-navbar.collapsed,
.x-btn-navbar.collapsed:hover {
    color: rgba(255,255,255,1);
}

/*X Google Maps Rounded Corners
===*/
div.x-map-inner.x-google-map-inner {
    border-radius: 0 0 20px 20px !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,div.gt_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;
}

/* My Style */

.x-navbar {
    overflow-y: auto;
	background: #ffffff url(/wp-content/uploads/grid-noise.png) center center;
}

.entry-content.content {
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

.home .x-main.full {
	padding: 0 !important;
}

.home .entry-content.content {
	max-width: 100% !important;
	background: rgba(255,255,255,0) !important;
}

.home .with-container, .home .x-flexslider-shortcode-container {
	margin: 0 !important;
}