/*

Theme Name: DFX3 Hybrid
Theme URI: http://www.dentalfone.com/
Author: Dentalfone
Author URI: http://www.dentalfone.com/
Description: A powerful mobile tool
Version: 3.0.0
Template: x

*/


.x-social-global a i.x-icon-facebook-square {
    color: #3b5998;
}

.x-social-global a i.x-icon-twitter-square {
    color: #55acee;
}

.x-social-global a i.x-icon-instagram {
    color: #cd486b;
}

i.fa.fa-google {
    color: #d34836;
}

i.fa.fa-yelp {
    color: #b2242b;
}


/*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,
a.x-btn-navbar,
a.x-scroll-top {
    text-decoration: none !important;
}

/*Top Bar Custom Style
===*/
.x-topbar,
.x-topbar .p-info {
    background: #1a1718;
}

.x-topbar .p-info {
    font-size: 16px !important;
}

.x-topbar .p-info a {
    font-size: 16px !important;
    border-bottom: none !important;
}

.x-topbar .p-info a:hover {
    font-size: 16px !important;
}

#df-tb-color,
#df-tb-color a {
    color: rgba(255,255,255,1);
}

#df-tb-color a:hover {
    color: rgba(204,204,204,1);
}

.x-topbar .x-social-global a {
    color: rgba(255,255,255,1);
}

.x-topbar .x-social-global a:hover {
   color: rgba(204,204,204,1);
}

/* Logo Bar Custom Style
===*/
.x-logobar {    
    background: url('/wp-content/uploads/crossword.png');;
}

/* Nav Bar Custom Style
===*/
.x-navbar {    
    background: #1a1718;
    height: 65px;    
    border-bottom: 0px solid #ccc!important; 
}

/*Footer Custom Style
===*/
.x-colophon.bottom {
    background: #1a1718;
    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
===*/
.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;
}

/*Blog Entry Container
===*/
.single .entry-wrap {
    padding: 3% !important;
    max-width: 100%;
    margin: 0 auto;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.15) !important;
    border-radius: 20px !important;
    box-shadow: 0 0.125em 0.275em 0 rgba(0,0,0,0.125) !important;
}

.blog .entry-wrap {
    padding: 5% !important;
    max-width: 100%;
    margin: 0 auto;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.15) !important;
    border-radius: 20px !important;
    box-shadow: 0 0.125em 0.275em 0 rgba(0,0,0,0.125) !important;
}

/*==============================
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;
}

/*Removes Color Overlay on Top of Site Background
===*/
.blog .x-main.full,
.single .x-main.full  {
    background: rgba(255,255,255,0);
}

/*Creates Color Overlay on Top of Site Background
===*/
.x-main.full {
    background: rgba(255,255,255,1);
}

/*Show Blog Post Title Information
===*/
.blog header.entry-header,
.single header.entry-header {
     display: inherit !important;
}
}

@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*/
.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*/
.x-slider-container, /*Show Above and Below Masthead Videos on Tablet*/
.df-desktop-share { /*Show Phone Img on Share Page on Tablet*/
    display: inherit;
}

/*Creates Center Content Holder on Homepage for Web Only Product
===*/
#post-4 div.entry-content.content /*Homepage*/ {
    max-width: 100%;
    margin: 0 auto;
    background: none;
    border: none;
    border-radius: none;
    box-shadow: none;
}

/*Creates Center Content Holder on Interior Pages for Web Only Product
===*/
.entry-content.content {
    max-width: 94%;
    margin: 3% auto;background: rgba(255, 255, 255, 0.8);
    border: 0px solid rgba(0,0,0,0.15);
    border-radius: 2px;
    -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);
}

/*Removes Center Content Holder on Blog Posts for Web Only Product
===*/
.single .entry-content.content {
    max-width: 94%;
    margin: 3% 0 3% 0;
    background: rgba(255,255,255,0);
    border: 0px solid rgba(0,0,0,0.15);
    border-radius: 0px;
    box-shadow: 0 0 0 0 rgba(0,0,0,0.125);
}
}

@media (min-width: 1220px) {
/*Creates Center Content Holder on Interior Pages for Web Only Product
===*/
.entry-content.content {
    max-width: 1200px;
}
}



/*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: #77787b;
    color: rgba(255,255,255,1);
}

/*X Accordion Link Colors
===*/
.x-accordion-heading .x-accordion-toggle  {
    color: #77787b;
}

.x-accordion-heading:hover .x-accordion-toggle:hover  {
    color: #1a1718;
}

/*X Google Maps Rounded Corners
===*/
div.x-map-inner.x-google-map-inner {
}

/*X Google Maps Map Marker Tool Tip Style
===*/
.gm-style .gm-style-iw {
}

/*X Custom Headline Accent Color
===*/
.h-custom-headline.accent span:before, .h-custom-headline.accent span:after {
    border-bottom: #77787b;
    border-top: #77787b;
}

/*X Callout Custom Border and Background Colors
===*/
.x-callout:before {
    border: none !important;
    background-color: rgba(255,255,255,1);
    box-shadow: none !important;
}

.x-callout {
    border: none !important;
    background-color: #77787b;
    box-shadow: none !important;
}



/*DF Custom Button Color on X Buttons (use class df-btn-flip on button element)
===*/
a.x-btn.df-btn-flip {
    border-color: rgba(255,255,255,1) !important;
}

a.x-btn.df-btn-flip:hover {
    border-color: rgba(204,204,204,1) !important;
    background-color: rgba(204,204,204,1);
}

/*DF X Feature Box Link Colors (use class df-title-flip in link structure)
===*/
a.df-title-flip {
    color: rgb(51,153,255);
}

a:hover.df-title-flip {
    color: rgb(0,0,0);
}

/*DF Adds Hover Color to X Feature Box (use class df-color-flip in text box shortcode structure)
===*/
.df-color-flip .x-feature-box-graphic i, .x-feature-box-graphic img {
    background-color: transparent !important;    
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}

.df-color-flip:hover .x-feature-box-graphic i, .x-feature-box-graphic img {
    background-color: rgb(229,210,31); 
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}

/*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;
}

@media (max-width: 1350px) and (min-width: 768px) {
/*Homepage Side Image
===*/
.df-image-cover {
    background-size: 220%; background-image: url('/wp-content/uploads/image-cover.jpg'); 
}
}

@media (min-width: 1351px) {
/*Homepage Side Image
===*/
.df-image-cover {
    background-size: 120%; background-image: url('/wp-content/uploads/image-cover.jpg'); 
}
}

/* 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;
}

/*Testimonial Hide Office Review Checkbox
===*/
#li-category-4 {
    display: none;
}

/*Non-1 Column 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;
}
}