/*
Theme Name: Beverly
Author: 
Description: 
Version: 1.0
*/
img{
	height:auto;
	display: block;
	max-width: 100%;
}
.screen-reader-text {
     position: absolute;
     left: -1000em;
}

acronym, abbr {
	border-bottom: 1px dashed #333;
}

acronym, abbr, span.caps {
	font-size: 90%;
	letter-spacing: .07em;
}

acronym, abbr {
	cursor: help;
}

blockquote {
	border-left: 5px solid #ccc;
	margin-left: 1.5em;
	padding-left: 5px;
}

cite {
	font-size: 90%;
	font-style: normal;
}

ul.post-meta {
	list-style: none;
}

ul.post-meta span.post-meta-key {
	font-weight: bold;
}


.credit a:link, .credit a:hover {
	color: #fff;
}

.feedback {
	color: #ccc;
	text-align: right;
	clear: both;
}

.meta {
	font-size: .75em;
	display: none;
}

.meta li, ul.post-meta li {
	display: inline;
}

.meta ul {
	display: inline;
	list-style: none;
	margin: 0;
	padding: 0;
}

.meta, .meta a {
	color: #808080;
	font-weight: normal;
	letter-spacing: 0;
}

.storytitle {
	margin: 0;
}

.storytitle a {
	text-decoration: none;
}

/* Captions & aligment */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin: 7px 7px 0 0;
}

.alignright {
	float: right;
	margin: 7px 0 0 7px;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

.storycontent:after {
    content: "";
    display: block;
	font-style: normal;
    clear: both;
}

.storycontent {
    margin: 0 0 20px 0;
}


/*** New Css ***/

.page_sedation-dentistry .why {
    padding-left: 30px;
    padding-right: 30px;
    color: #fff;
    background-size: cover;
    background-position: top center;
	    margin-bottom: 80px;
}
.page_cosmetic-dentistry .why {
    padding-left: 30px;
    padding-right: 30px;
    color: #fff;
    background-size: cover;
    background-position: top center;
	  margin-top: 80px;
}
.page_sedation-dentistry .why *, 
.page_cosmetic-dentistry .why *{
    z-index: 1;
    position: relative;
}
.page_sedation-dentistry .why:after, 
.page_cosmetic-dentistry .why:after{
    content: "";
    background: #00000061;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.page_sedation-dentistry .why ul, 
.page_cosmetic-dentistry .why ul
 {
    font-weight: 300;
    flex-wrap: wrap;
    text-align: left;
    justify-content: flex-start;
    gap: 20px;
    max-width: 1100px;
    line-height: 1.4;
    margin: 30px auto 30px;
}
.page_sedation-dentistry .why ul li{
    max-width: 49%;
    font-size: 18px !important;
    margin: 0 !important;
}
.page_cosmetic-dentistry .why ul li{
    max-width: 32%;
    font-size: 18px !important;
    margin: 0 !important;
}
.page_sedation-dentistry main#page ul, 
.page_cosmetic-dentistry main#page ul{
	text-align:left;
}

.page_sedation-dentistry .pd-block, .page_sedation-dentistry .more-to-explore, 
.page_cosmetic-dentistry .pd-block, .page_cosmetic-dentistry .more-to-explore{
    padding: 80px 0;
}
.page_sedation-dentistry p:last-child, 
.page_cosmetic-dentistry p:last-child{
    margin-bottom: 0;
}
.sp-easy-accordion {
    margin-top: 45px;
    text-align: left;
}
.sp-easy-accordion .sp-ea-single .ea-header a {
    font-size: 21px;
}
.page_sedation-dentistry h2, 
.page_cosmetic-dentistry h2, 
.page_home h2{
	line-height:1.3;
}
.page_sedation-dentistry #page-banner h2, 
.page_cosmetic-dentistry #page-banner h2, 
.page_home #page-banner h2{
    line-height: 1.2;
}
.page_sedation-dentistry main#page ul li, 
.page_cosmetic-dentistry main#page ul li{
    margin: 10px 0;
}
.section.flex-rev {
    flex-direction: row-reverse;
    flex-wrap: wrap;
}
.page_home #same-day {
    padding: 80px 0 80px;
}
.page_home #welcome {
    padding-top: 0;
}
.page_home #welcome p {
    line-height: 1.4;
}
.page_home #stories {
    padding: 80px 0;
}
.page_home #welcome.hwelcmsec {
    background: #f2f7fa;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}
.page_home #welcome.hwelcmsec article, 
.page_home #services.hservsec article{
	max-width: 100%;
	font-size: 23px;
} 
.page_home .hservsec {
    background: #f2f7fa;
    padding: 70px 0;
}
.page_home #services.hservsec #switch-nav {
    max-height: 880px;
}
.page_home #services.hservsec .services-switch {
    margin-top: 25px;
}
.page_home #hfaqs {
    padding: 70px 0;
}
.page_home #reviews {
    margin-top: 0;
}
.page_home #assoc {
    padding-top: 15px;
}
.page_home #banner article h2 {
    margin-bottom: 15px !important;
}


@media screen and (max-width:767px){
	.page_sedation-dentistry .why ul li, 
	.page_cosmetic-dentistry .why ul li{
    max-width: 100%;
}
	.page_sedation-dentistry .why ul, 
	.page_cosmetic-dentistry .why ul{
    gap: 0px;
    margin: 20px auto 0px;
}
	    .why ul li {
        margin-bottom: 20px;
    }
	.page_sedation-dentistry .pd-block, .page_sedation-dentistry .more-to-explore, 
	.page_cosmetic-dentistry .pd-block, .page_cosmetic-dentistry .more-to-explore{
    padding: 50px 0;
}
.page_sedation-dentistry #page-banner, 
	.page_cosmetic-dentistry #page-banner{
    margin-bottom: 15px;
}
	.sp-easy-accordion .sp-ea-single .ea-header a {
    font-size: 17px;
}
	.sp-easy-accordion p {
    font-size: 17px;
}
.page_sedation-dentistry #page-title h2#append, 
	.page_cosmetic-dentistry #page-title h2#append {
        font-size: 40px;
}
	.page_sedation-dentistry .why {
    margin-bottom: 50px;
}
	.page_cosmetic-dentistry .why {
    margin-top: 50px;
}
	.page_sedation-dentistry .why ul li, 
	.page_cosmetic-dentistry .why ul li{
    margin: 10px 0 !important;
}
	.page_sedation-dentistry p, 
	.page_cosmetic-dentistry p, 
	.page_home p{
    line-height: 1.4;
}
	.page_home #same-day {
    padding: 20px 0 25px;
}
.page_home #same-day article>div {
    padding: 15px 18px;
}
	.page_home #welcome.hwelcmsec {
    padding-top: 35px !important;
    padding-bottom: 35px !important;
    padding-left: 15px;
    padding-right: 15px;
}
	.page_home .hservsec {
    background: #ffffff;
    padding: 35px 0 0;
}
.page_home #welcome.hwelcmsec article, .page_home #services.hservsec article {
    font-size: 20px;
}
	.page_home .hmservsec #switch-nav1 {
    margin-top: 0;
}
.page_home .hmservsec#services .services-switch {
    margin-top: 0 !important;
}
#services #switch-nav1 .card h3 {
    text-align: left;
    margin-bottom: 0;
    line-height: 1.3;
}
#services #switch-nav1 .card {
    padding: 15px 10px 15px 17px;
}
#services.hmservsec {
    padding-bottom: 35px;
}
.page_home #hfaqs {
    padding: 35px 0;
    background: #f2f7fa;
}
.page_home #hfaqs #sp-ea-8216.sp-easy-accordion>.sp-ea-single {
    background: #fff;
}
.page_home #reviews {
    margin-bottom: 40px !important;
}
.page_home #giving {
    display: block !important;
}
.page_home #assoc {
    display: block !important;
}
.page_home #assoc img {
    max-width: 72%;
}
}

@media screen and (min-width:768px) and (max-width:1023px){
	.page_sedation-dentistry .why ul li, 
	.page_cosmetic-dentistry .why ul li{
    max-width: 48%;
}
	
}


@media screen and (min-width:1024px) and (max-width:1249px){
	.section.flex-rev {
    flex-wrap: unset;
}
}

/*** New Css ***/

