/*!
Theme Name: Paul Nitz MD
Theme URI: http://underscores.me/
Author: Ceatus Media Group
Author URI: http://www.ceatus.com
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: adamfreedhand
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

adamfreedhand is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


.top-nav.sticky.is-anchored.is-at-top{
    padding-top: 2.8rem;
}
.top-nav-scrolled.sticky{
    padding-top: 2rem;
}

.top-nav .menu>li{
    padding-left: 0.25rem;
    padding-right: 1rem;
}
.top-nav-scrolled .menu>li
{    padding-left: 0.25rem;
    padding-right: 1rem;
}

.is-stuck.is-at-top{
    top: -1rem !important;
    opacity: 0;
}

.is-stuck.is-at-top.stuck{
    background: #fff;
    opacity:1;
}
button{
    outline: none;
}

@media (max-width: 1439px) {
.top-nav *, .top-nav-scrolled * {
    -webkit-transition: all .0s linear;
    -o-transition: all linear .0s;
    transition: all .0s linear;
}
}

:root:before {
  content: url('/wp-content/uploads/2020/02/hero-bg-interiorpage.jpg');
  /* partial fallback */
  background-image: url('/wp-content/uploads/2020/02/hero-bg-interiorpage.jpg');
  visibility: hidden;
  position: absolute;
  left: -999em;
}


header.static .top-nav, .top-nav-scrolled{
    position: absolute;
    width: 100%;
}

.top-nav a, .top-nav-scrolled a{
    font-weight: 400;
}

         @-webkit-keyframes fadeInLeft {
            0% {
               opacity: 0;
               -webkit-transform: translateX(-100px);
            }
            100% {
               opacity: 1;
               -webkit-transform: translateX(0);
            }
         }
         
         @keyframes fadeInLeft {
            0% {
               opacity: 0;
               transform: translateX(-100px);
            }
            100% {
               opacity: 1;
               transform: translateX(0);
            }
         }
         

header .logo-text span{
	display: block;
	font-size: 16px;
    margin-top: -11px;
    letter-spacing: -0.1px;
}

body.home .hero-content .hero-main{
    padding-left: 3rem;
    }
body.page-template-default .hero-main{
    padding-top: 6rem;
}
.hero-content .hero-main .hero-heading{
    letter-spacing: -1px;
}


.hero-content .hero-main .hero-heading span{
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
	font-size: 28px;
	margin-top: 18px;
    letter-spacing: 0;
}

header .logo-text, .hero-content .hero-main .hero-heading, header.static .top-nav .logo-text{
    font-family: 'DM Serif Display', serif;
}

header.static .top-nav .logo-text{
    font-size: 28px;
}

header .logo-text span{
    font-family: 'Open Sans', sans-serif;
}

.hero-content .hero-main .hero-sub-heading {
    font-family: 'DM Serif Display', serif;
    color: #0093c5;
    font-size: 56px;
    line-height: 1;
    margin-top: 26px;
    letter-spacing: -3px;
}

/*body.page-template-default .parallax-mirror, body.post-template-default .parallax-mirror, body.blog .parallax-mirror {
    height: 640px;
}

body.page-template-default .parallax-window, body.post-template-default .parallax-window, body.blog .parallax-window {
    min-height: 640px;
}*/

.hero-content .scroll-down{
    padding-bottom: 11rem;
    padding-top: 8.4rem;
}

body.page-template-default .hero-content .hero-main{
    position: relative;
}

body.page-template-default .parallax-window, body.post-template-default .parallax-window, body.blog .parallax-window{
    min-height: 542px;
}

body.home h1.page-title{
    font-size: 40px;
    font-family: 'DM Serif Display', serif;
    font-weight: normal;
    margin: 0.5em 0 1em 0;
    line-height: 1.15;
    color: #101569;
}

.content-block .content-inner h1{
    font-size: 48px;
    font-family: 'DM Serif Display', serif;
    margin: 0.875em 0;
    letter-spacing: -1px;
    color: #101569;
}

.content-block .content-inner .h2{
    font-size: 58px;
    font-family: 'DM Serif Display', serif;
    margin: 0;
    letter-spacing: -1px;
    color: #101569;
}

body.home .content-block .content-inner .h2{
    margin: 5rem 0 -1rem 0;
    }

.content-block .content-inner .h2 span {
    display: inline-block;
    font-family: "Open Sans",sans-serif;
    color: #05a1c7;
    font-size: 58px;
    line-height: 1;
    font-weight: 400;
}
.content-block .content-inner h1 span {
    display: inline-block;
    font-family: "Open Sans",sans-serif;
    color: #05a1c7;
    font-size: 72px;
    line-height: 1;
    font-weight: 400;
}

.content-block .content-inner h2 {
	font-size: 40px;
    font-family: 'DM Serif Display', serif;
}

.content-block .content-inner h3{
	font-size: 30px;
	color: #0093c5;
    font-family: 'DM Serif Display', serif;
}

body.home .content-block .content-inner h2 {
    margin-top: 42px;
}
.content-block .content-inner .doc-name{
	font-size: 20px;
	color: #505050;
	line-height: 1.6;
	letter-spacing: .5em;
	text-align: center;
	margin: 2em 0px 10px 0px;
    text-transform: uppercase;
}

.content-block .content-inner .divider{
	margin: 0 auto;
    max-width: 430px;
    width: 100%;
    height: 4px;
    background: #0093c5;
}

.featured-section .articles{
	max-height: 0px;
}

.featured-section .articles, .featured-section .articles .article-item{
	padding-bottom: 50%;
}

.featured-section .articles .article-item-hover.active{
	padding-bottom: 50%;
}

.item-content .item-title{
    text-transform: capitalize;
}

/* Start Form styling */

.contact-form input, .contact-form textarea, .contact-form .contact-submit{
	background-color: #009acb;
}
.contact-form .mathcaptcha {
    max-width: 540px;
    margin: 20px auto 0;
    text-align: center;
}

.contact-form #mc {
    margin-bottom: 1rem;
    display: block;

}

@media (min-width: 40.063em) {
    .contact-form #mc {
        padding: .2rem 0;
    }
}

.contact-form #mc input[type="text"] {
    display: inline-block;
    max-width: 48px;
    background: #009acb;
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
    padding: 0 10px;
}

.contact-form #mc span {
    display: inline-block;
    margin: 0 .5rem;
    color: #404040;
    font-size: 1.7rem;
}

.contact-form #mc input[type="text"]#mc_r:focus {
    background-color: #fff;
    color: #48375d;
}

@media (min-width: 64.063em) and (max-width: 1500px) {
    .contact-form #mc span {
        margin: 0 .3rem;
    }
}

/* End Form styling */

/* sidebar buttons */

.sidebar {
    background-color: #fff;
}


.sidebar-btn{
	position: relative;
}

.sidebar-btn-text{
	position: absolute;
    font-family: "Open Sans",sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 18px;
    top: 36%;
    left: 30%;
    max-width: 170px;
    left: 50%;
    margin-left: -80px;
}

.sidebar .side-block { 
  position: inherit;
  top:0;
}

/* Footer locations */
.footer-contact-container{
	background-color: #dae6f3;
	padding: 50px 35px;
}

.footer-locations .office-details{
	background: #fff;
}

.footer-contact-container .contact-info-inner{
	padding-bottom: 44px;
}

.footer-contact-container .footer-locations .grid-x{
	margin-top: -6px;
}

.footer-locations{
	padding: 0 15px;
}

.footer-locations .footer-map iframe{
	height: 300px;
}

.footer-contact-container .contact-office{
	padding-bottom: 152px;
}

.footer-contact-container .contact-info-inner .contact-info-title {
    font-size: 26px;
    text-transform: uppercase;
    color: #0286ba;
    letter-spacing: -1px;
}

.contact-office-hours .text-title{
	font-size: 26px;
	text-transform: uppercase;
}

.contact-scheduling .text-hours{
	font-size: 22px;
	text-transform: uppercase;
    line-height: 1;

}

.footer-contact-container .contact-info-inner .contact-info-sub {
    font-size: 16px;
}

.office-details{
	position:relative;
}

.contact-office-scheduling{
	background-color: #a3d3e9;
    color: #000;
    padding-left: 55px;
    padding-top: 30px;
    padding-bottom: 36px;
    color: #0f1468;
    position: absolute;
    bottom:0;
}

.schedule-phone{
	display: block;
	font-size: 22px;
	font-weight: bold;
    margin-top: 8px;
}

.social-media-footer{
    padding-top: 5.25rem;
}

.footer-contact-container .contact-office .contact-office-hours{
    margin-bottom: -3px;
}

.footer-contact-container .contact-info-inner {
    min-height: 422px;
}

#slider.flexslider {
    position: absolute;
    z-index: 0;
    border: 0;
}

.flexslider .slides > li:first-child {
    display: block; -webkit-backface-visibility: visible;
} 

.parallax-window {
    min-height: 991px;
    z-index: 10;
}


.flex-direction-nav, .flex-control-nav{
    display:none;
}

.mobile-header{
    display: none;
}

header .phone-mobile {
    padding-left: 2rem;
}

.is-stuck.is-at-top.stuck {
    min-height: 75px;
}

@media screen and (max-width: 1835px) {
.grid-x>.medium-6.footer-locations {
    width: 100%;
}

.footer-locations{
	margin-top:30px;
}

.contact-office-scheduling{
	position: absolute;
	width: 100%;
}

.footer-contact-container .contact-info-inner {
    padding-bottom: 40px;
    min-height: auto;
}
.footer-contact-container .contact-office {
    padding-bottom: 166px;
}
.hero-content .hero-main .hero-heading{
    font-size: 86px;
}
.hero-content .hero-main .hero-heading span{
    font-size: 23px;
}
.hero-content .hero-main .hero-sub-heading{
    font-size: 62px;
}

body.home .hero-content .scroll-down{
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.footer-contact-container .contact-info-inner {
    padding-bottom: 55px;
} 

}

@media screen and (max-width: 47.99875em) {
    .top-nav .container, .top-nav-scrolled .container {
        position: relative;
    }
    header .phone-mobile, .top-nav-scrolled .phone-mobile {
        display: block;
        border-right: 0;
        position: absolute;
        bottom: -36px;
    }
    .is-stuck.is-at-top.stuck {
        min-height: 115px;
    }
}
@media screen and (max-width: 39.99875em){
.hero-content .hero-main .hero-sub-heading {
    font-size: 50px;
}
}



@media screen and (max-width: 1439px){
body.home .hero-content .hero-main{
    padding-top: 4rem;
}

.hero-content .scroll-down {
    padding-bottom: 3rem;
    padding-top: 3rem;
}
.featured-section .articles {
    max-height: 0px;
}

.featured-section .articles, .featured-section .articles .article-item{
    padding-bottom: 50%;
}

.featured-section .articles .article-item-hover.active{
    padding-bottom: 50%;
}
}

@media screen and (max-width: 1199px){
.hero-content .scroll-down {
    padding-bottom: 0rem;
    padding-top: 0rem;
    display: none;
}
.content-block .content-inner .h2, .content-block .content-inner .h2 span{
    font-size: 55px;
}

}


@media screen and (max-width: 980px){
    #slider.flexslider{ display: none; }
    body.home .mobile-header{
        position: absolute;
        display: block;
        background-image: url('https://drpaulnitz.com/wp-content/uploads/2020/02/hero-bg-homepage.jpg');
        background-size: cover;
        background-position: left top;
        min-height: 640px;
        z-index: 0;
        width: 100%;
    }

}

@media screen and (max-width: 768px){
.top-nav-scrolled .title-bar-container{
    flex: 1 0 auto;
}
}

@media screen and (max-width: 680px){

.wp-block-image .alignright, .wp-block-image .alignleft{
    float: none;
    margin: 0 auto;
    text-align: center;
}

.hero-content .hero-main .hero-heading {
    font-size: 66px;
}
.hero-content .hero-main .hero-heading span {
    font-size: 18px;
}
.content-block .content-inner .h2{
    margin-top: 20px;
    letter-spacing: -2px;
}

}

@media screen and (max-width: 640px){
    header .phone-mobile {
        padding-left: 1em;
    }
}

@media screen and (max-width: 480px){
.hero-content .hero-main{
    padding-left: 1rem;
}

.hero-content .hero-main .hero-heading {
    font-size: 56px;
}

.hero-content .hero-main .hero-heading span {
    font-size: 16px;
    font-weight: bold;
}

.hero-content .hero-main .hero-sub-heading {
    font-size: 46px;
}

.content-block .content-inner h1 {
    font-size: 52px;
}

.content-block .content-inner .h2{
    line-height: 1;
}

.content-block .content-inner .doc-name{
    font-size: 14px;
    }

}

@media screen and (max-width: 380px){
.content-block .content-inner .h2, .content-block .content-inner .h2 span{
    font-size: 45px;
}
}    

.wp-block-embed__wrapper, .videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
  margin-bottom: 30px;
}
.wp-block-embed__wrapper iframe, .videoWrapper iframe, .videoWrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}