/*

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

/* Side Nav Bar Custom Style
===*/
.x-navbar-fixed-left,
.x-navbar-fixed-right {    
    background: rgba(255, 255, 255, 0.8);
}

.x-navbar-fixed-left .desktop .x-nav, 
.x-navbar-fixed-right .desktop .x-nav {
    margin-top: 1em !important;
}

/*Side Nav Bottom Widget
===*/
.df-left-nav-widget {
    color: rgba(199,160,98,1);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.df-left-nav-widget a {
    color: rgba(29,66,106,1);
}

.df-left-nav-widget a:hover {
    color: rgba(192,149,87,1);   
}

/*X Theme Social Icon from Customizer in Widget
===*/
.x-social-global a {
    font-size: 21px;
    margin: 0 2px 0 2px;
}

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

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

/*Footer Custom Style
===*/
.x-colophon.bottom {
    background: rgba(29,66,106,1);
    box-shadow: none !important;
    border-top: none !important;
    color: rgba(255,255,255,1);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 0 20px 0;
}

.x-colophon.bottom a {
    color: rgba(255,255,255,1);
}

.x-colophon.bottom a:hover {
    color: rgba(204,204,204,1);
}

.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);
}

@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;
}

/*Creates Color Overlay on Top of Site Background
===*/
.x-main.full {
    background: rgba(255,255,255,1);
}
}

@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
===*/
#post-4 div.entry-content.content {
    max-width: 1200px;
    margin: 0 auto;
	background: rgba(255, 255, 255, 0) !important;
}
	
.entry-content.content {
    max-width: 1200px;
    margin: 0 auto;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 20px;
}

.x-main.full {
    background: rgba(255,255,255,0);
    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;
}

.df-left-nav-mobi-widget {
    margin: 0 auto;
    padding-top: 35px;
    text-align: center;
}
}

@media (min-width: 980px) {
/*Show Above and Below Masthead Videos on Desktop
===*/
.x-slider-container { 
	display: inherit;
}
	
/*Left Nav Bottom Widget
===*/
.df-left-nav-mobi-widget {
    display: none;
}

/*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 {
    background: rgba(29,66,106,1);
    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;
}

/*X Google Maps Map Marker Tool Tip Style
===*/
.gm-style .gm-style-iw {
}

/*DF Aligns Column Items Vertically With-In a Row (use class df-align-items in row that contains column items you want to vertically center)
===*/
.df-align-items {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex; 
    -webkit-box-align: center; 
    -webkit-align-items: center; 
    -ms-flex-align: center; 
    align-items: center;
}

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

.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;
}

div.x-main.left {
	width: 100% !important;
}