/*
Theme Name: bansal2022
Author: Devon Conn
Version: 3.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bansal2023
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments

Twenty Twenty-Two WordPress Theme, (C) 2021 WordPress.org
Twenty Twenty-Two is distributed under the terms of the GNU GPL.
*/

/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934

*/
.single .wp-block-post-title, .single .wp-block-post-title+h1{
	display:none !important;
}
.header-nav .wp-block-navigation__container li{
	color:white;
}
ol.has-background, ul.has-background{
	padding:0 !important;
}
header > *:nth-child(1){
	z-index:3;
  	position:relative;
}
.service-inner{
  max-width: 250px;
margin: 20px auto;
  border:none !important;
}
.service-inner:hover{
  cursor:pointer;
}
.page-id-2036 main{
	max-width:1800px !important;
}
.animate-row{
	max-width: 800px !important;
}
.service-inner{
	height:100%;
}
.shiftnav-toggle.fixed-nav i{
	float:right !important;
}
.shiftnav-toggle{
display: flex;
justify-content: space-between;
}
.fixed-nav img{
max-width: 100px !important;
padding-bottom: 10px;
  padding-top:10px;
}
.fixed-nav{
background-color: #f3f0e9 !important;
  display:flex;
}
.menu-container.fixed-nav{
  padding:0 !important;
}
.blog .footer-blogs{
	display:none !important;
}


.main-image img{
	filter: invert(1) !important;
}
body:not(.home) .banner .wp-block-cover__background{
	opacity:.5 !important;
}
.wp-site-blocks > * + *{
	margin-block-start: unset !important;
}
.banner h2{
	width:100%;
  	text-align:center;
}
.home .banner-text{
	display:none !important;
}
header .wp-block-buttons{
	margin-top:unset !important;
}
.wp-block-buttons{
	margin-top:4rem !important;
}
.page main .wp-block-buttons{
	justify-content:center !important;
}
.page main .wp-block-post-title, .page main h1{
	text-align:center !important;
}
.contact-info-center{
	justify-content:center;
}
.custom-logo{
	width: 100%;
	object-fit: contain;
}
header + .wp-block-cover__inner-container{
	margin-top:0 !important;
}

@media screen and (min-width:1361px){
  .middle-line{
  	position:relative;
  }
  .middle-line::after{
  	content: "";
    position:absolute;
    left:50%;
    top:0;
    transform:translateX(-50%);
    background-color:#424043;
    width:3px;
    height:100%;
  }
	.boxes{
	position:relative;
    }
/*
    .boxes::before{
      content: "";
      width: 45%;
      height: 85%;
      position: absolute;
      left: -2%;
      border: 3px solid #3a5d3f;
      top: -5%;
      z-index: -1;
    }
    .boxes::after{
      content: "";
      width: 20%;
      height: 40%;
      position: absolute;
      right: -2%;
      border: 3px solid #3a5d3f;
      bottom: -5%;
      z-index: -1;
    }
*/
}

.wp-block-buttons.block-editor-block-list__layout{
	width:unset !important;
}

@media screen and (max-width:700px){
  .box{
  	padding:20px !important;
  }
}

.no-top-padding{
	padding-top:0 !important;
}
.no-padding{
	padding:0 !important;
}
/*
.standard-section-margin{
  	margin: 0 auto 80px !important
}
*/
.background-overlay img{
  box-shadow: 0px 0px 8px #00000052;
}
.background-overlay > .wp-block-column > .wp-block-columns{
	position:relative;
}
.background-overlay-parallax{
  content: "";
  width: 80%;
  position: absolute;
  top: 50%;
  right: -3%;
  height: 120%;
  background-color: #edf1f4;
  z-index: -1;
  transform: translateY(-50%);
  }
.reverse .background-overlay-parallax{
	right:unset;
  	left:-3%;
}
nav .wp-block-navigation-item > a > span::after{
  content: "";
  width: 0%;
  height: 3px;
  background-color: black;
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  transition: width .3s ease-in-out;
}
nav .wp-block-navigation-item:hover > a > span::after{
  
  width: 60%;
}
.wp-block-navigation__submenu-container li:hover, .wp-block-navigation__submenu-container li:hover > a{
	background-color:#f3f0e9 !important;
  	color:black !important;
}
header .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > a > span::after{
	display:none;
}
header .wp-block-navigation-item > a > span{
	line-height:1.5;
}
/*
.wp-block-button__link:active,
.wp-block-button__link:focus,
.wp-block-button__link:visited {
    color: white !important;
}
*/


.info-min-width-set {
    min-width: 330px;
}

/* 
Services
*/

.wp-block-button .wp-block-button__link{
	border:2px solid #2e546b !important;;
}
.wp-block-button:hover .wp-block-button__link {

    background-color: transparent;
  color:black !important;
  
}

.service-container {
    max-width: unset !important;
}

.service .hover-image {
    display: none;
}

.service:hover {
    cursor: pointer;
}

.service .main-image {
    margin-top: 0 !important;
}

.service .main-text {
    font-size: 16px !important;
}

.service .hover-image, 
.service .main-image,
.service .main-text {
    text-align: center;
}

.service {
    height: 100%;
    /*border-radius: 100%; */
    min-width: 180px;
    min-height: 180px;
    max-width: 180px;
    max-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}


.service:hover .main-image, .service-item:hover .main-image, .service:hover .main-text{
  display:none;
}
.service:hover img, .service-item:hover img{
	display:none;
}
.service:hover, .service-item:hover {
    background-image: url(https://machesneydentalstudioil.com/wp-content/uploads/2023/01/dentist-machesney-park-little-icon.png);
    background-position:center bottom;
  background-repeat:no-repeat;
  background-size:cover;
  background-color:#dde6eb !important;
  

    /*background-color: #004d73 !important;*/
}
.remove-max-width{
 max-width:unset !important; 
}
/*
main.wp-container-55{
	background-image: url(https://matos.identitydentalwebsites.com/wp-content/uploads/2022/09/rectangle_31.jpg);
  background-size:cover;
}*/
/*
.service:hover::after {
    content: '';
    position: absolute;
    box-sizing: border-box;
    border: 3px solid #004d73;
    border-radius: 50%;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    left: -8px;
    top: -8px;
}
*/
/* 
Services
*/
.service-item > figure{
	width:100%;#2e546b
}
/*Newer Service Items*/
.service-item ~ figcaption{
	text-align:center !important;
}
.service-item{
  	display:flex;
  	align-items:center;
	border-radius:50%;
  	height:120px;
  	width:120px !important;
}
.services-row{
	justify-content:center !important;
  	max-width:900px !important;
}
/*Newer Service Items*/
.shiftnav-toggle {
    width: 100%;
    background-color: #c3b59b !important;
}

.shiftnav-toggle>i {
    float: right;
}
.service-item .wp-block-group{
	width:100%;
}
.ti-rating-text>span,
.ti-rating-text strong {
    color: white !important;
}

.map-area {
    overflow: hidden !important;
}

.blog-preview-link {
    background-color: #cde6c3;
    color: black;
}

.wp-site-blocks iframe {
    width: 100%;
}

.wp-site-blocks {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wp-block-post-featured-image {
    display:none !important;
}

.max-width-custom {
    max-width: 1100px !important;
    margin: 80px auto !important;
    width: 80% !important;
}

.max-width-unset {
    max-width: unset !important;
}
.wp-block-latest-posts__list{
	max-width:1200px;
  	margin:0 auto;
}
.blog .wp-block-latest-posts__list {
    margin-top: 40px;
}

.wp-block-post-title {

    font-size: 36px !important;
    font-weight: 300 !important;
    line-height: .9 !important;
}

h1 {
    font-size: var(--wp--preset--font-size--small);
    margin-block-start: 18px !important;

}

body:not(.home) div:not(.block-editor-block-list__layout) h1 {
    margin-left: 0rem !important;
    margin-right: 0rem !important;
}

body:not(.home) .banner-text{
    right: unset !important;
  	left:50%;
  	transform: translate(-50%, -50%);
}
body footer.wp-block-template-part h1 {
    margin-left: auto !important;
    margin-right: auto !important;
}

.home h1 {
    margin-bottom: 4rem !important;
}
/*
.background-apply {
    box-shadow: 0 20px 16px #0000003b;
}
*/
.wp-site-blocks>.wp-block-template-part:last-child {
    margin: 0 !important;
}

/*
.wp-block-navigation__container > li, .wp-block-navigation__container > li a{
  padding-top:0px !important;
    padding-bottom:0px !important;
}*/
/*
.header-nav .wp-block-navigation__container>li:last-child {
    padding: 10px 40px !important;
    background-color: #cde6c3 !important;
    color: black !important;
}*/


.top-header .menu-container{
	background-color:transparent !important;
} 
.header-cover {
    padding: 0em 0em 0em 0em !important;
}

.center {
    margin: 0 auto !important;
}

a {
    text-decoration: none !important;
}

.our-gallery img {
    border: 4px solid #28578d;
    padding: 2px;
}
.header-btn{
	background-color:white !important;
  	color:black !important;
  	border: 2px solid white;
}
.blog-preview {
    width: 80%;
    background-color: #f3f0e9;
    text-align: center;
	max-width: 350px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    box-shadow: -1px 7px 10px #0006;
}
.blog-preview .wp-block-latest-posts__post-date{
	background-color:#414141;
      color:white;
}
.wp-block-latest-posts__post-title{
	font-size:20px !important;
}
.blog-preview .wp-block-latest-posts__post-date,
.wp-block-latest-posts__post-title {
    padding: 20px;
    text-decoration: none;
  text-align:center;
}
.blog-preview .wp-block-latest-posts__post-excerpt{
	text-align:left;
  	font-size:16px;
  padding:20px;
  padding-top:0;
}
.hide {
    display: none !important;
}

.blog-preview .blog-preview-link {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    margin-top: auto;
    text-decoration: none;
}
/*
.wp-container-20> :where(:not(.alignleft):not(.alignright)) {
    max-width: unset !important;
}
*/
body:not(.home) main {
    width: 80%;
    margin: 80px auto;
    max-width: 1000px;
}

.blue-right-border {
    border-right: 3px solid blue;
}

.banner-caption{
	position:relative;
  	
}
.no-left-padding{
	padding-left: 0 !important;
}

.no-right-padding{
	padding-right: 0 !important;
}
.banner-btn{
	position:absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 28%);
}
.boxes-container img{
  object-fit: contain !important;
  width: 80% !important;
  margin: 0 auto !important;
}
.block-editor-block-list__block.map-details{
  top: unset !important;
  background-color: white !important;
  padding: unset !important;
  right: unset !important;
  transform: unset !important;
}
/*
.page-id-398 main{
  width: 100% !important;
  margin: unset !important;
  max-width: unset !important;
}
*/
.page-id-398 .wp-block-buttons{
	margin-top:0 !important;
}
.page-id-398 .entry-content{
	margin: 0px auto;
}
.page-id-398 main > div{
  width: 80%;
  max-width: 1000px;
  margin:0 auto;
}
.page-id-398 .wp-container-22 h2, .page-id-398 .wp-container-22 h1{
	color:white !important;
}
.page-id-398 .wp-container-22{
	/*padding:80px 20px 0px 20px !important;*/
}

.services-row figcaption{
	color:white !important;
}
.top-header{
	z-index: 2;
    margin-top: 0px;
    margin-bottom: 0px;
  	width: 100%;
  	background-color:#f3f0e9;
}
.fixed-nav{
	background-color:#f3f0e9;
}
.fixed-nav .wp-block-navigation__container{
	justify-content:center;
}
.fixed-nav .wp-block-navigation__container > li, .fixed-nav .wp-block-navigation__container > li > *{
	color:black !important;
}
@media only screen and (max-width:1665px) {

  .banner-text a{
  	font-size:13px !important;
  }
    .background-apply:not(.reverse) h2::before {
        visibility: hidden;
    }
}
.shiftnav-nav li a:hover{
	background-color:#c3b59b !important;
  color:black !important;
}

@media only screen and (max-width:1360px){
  .order-1{
  	order:1;
  }
  .order-2{
  	order:2;
  }
  .wp-block-columns.left-right-inner > div{
  	flex-basis:100% !important;
  }
  .wp-block-columns.left-right-inner{
  	flex-wrap:wrap !important;
  }
}

@media only screen and (min-width:983px) {
  .top-header {
      position: absolute;
      top: 0;
      left: 0;
    background-color:transparent !important;
  }
        .shiftnav-toggle {
        display: none !important;
    }
}
@media only screen and (max-width:982px) {
  .fixed-nav{
  	gap:0 !important;
  }
  .fixed-nav > div:nth-child(2){
  	display:none !important;
  }
  .menu-container{
  	padding:0 !important;
    padding-top:0 !important;
  }
  .top-header-inside{
  	padding-top:0 !important;
  }
  .header-cover{
  	padding:0 !important;
  }
  .top-header-inside .wp-container-7 > div:nth-child(1){
  	flex-basis:100% !important;
  }
  .top-header-inside .wp-container-7 > div:nth-child(2){
  	display:none!important;
  }
    .top-header{
  	padding-top:0px !important;
  }
	.top-header li, .top-header li *{
    	color:black !important;
  	}
 .custom-logo{
  	max-width:180px !important;
  }
  .top-header-inside, .top-header-inside > div{
  	padding:0 !important;
  }
  .top-header-inside > div{
  	padding-top:0 !important;
  }
  header .wp-block-spacer{
  	display:none !important;
  }
    .header-nav {
        display: none !important;
    }

    header .custom-logo-link img {
        width: 100%;
        object-fit: contain;
    }

    .wp-block-navigation {
        justify-content: right !important;
        padding: 10px 20px;
    }

    .wp-block-navigation__container li {
        display: block;
    }
}
@media only screen and (min-width:980px) {
  
    .bordered-right {
        border-right: 3px solid white;
        padding-right: 60px;
        padding-left: 60px;
    }

    .bordered-right+div {
        padding-right: 60px;
    }
}
.banner-text{
	align-items:center !important;
}
@media only screen and (max-width: 980px) {
  .map-row{
  	flex-direction:column !important;
    align-items:center !important;
  }
    	.banner-text{
	
      	width:100% !important;

  	}
  .map-container iframe{
  	height:unset !important;
  }
  .map-container .wp-block-buttons{
  	justify-content:center !important;
  }
  .map-details{
  position: relative !important;
  top: unset !important;
  padding: unset !important;
  right: unset !important;
  transform: unset !important;
    box-shadow:unset !important;
    text-align:center;
  }
    .background-apply {
        background-image: none !important;
    }



    /*.wp-container-2 {
        flex-basis: 0 !important;
    }*/

    .logo-area,
    .header-info {
        flex-basis: 100% !important;
    }

    .primary-text-area {
        max-width: 80% !important;
    }
}

@media only screen and (max-width:870px) {
    .service-container>div {
        flex-basis: 40% !important;
    }

    .service-container {
        flex-wrap: wrap !important;
    }

    .service {
        margin: 0 auto;
    }
}

.page-id-230 .wp-container-24{
	display:none;
}

@media only screen and (max-width: 781px) {
  .footer-contacts > .wp-block-column > p{
  	text-align:center;
  }
  .footer-contacts > .wp-block-column > ul{
  	justify-content:center !important;
  }
    .wp-block-button__link {
        font-size: 16px !important;
    }

    .header-contact {
        justify-content: center !important;
    }

    .header-text {
        text-align: center !important;
    }
}
@media only screen and (max-width: 660px) {

	  .banner-text h2{
  	font-size:30px !important;
  }

}
@media only screen and (min-width: 601px) {

}

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

    .full-width-mobile {
        max-width: 100% !important;
        padding: 0 !important;
        border: none !important;
    }

}

@media only screen and (max-width: 480px) {
  .social-section > *{
  	max-width:90% !important;
  }
  .home *{
  	text-align:center !important;
  }
  .home .wp-block-buttons{
  	  justify-content:center !important;
  }
  h2{
  	font-size:24px;
  }
  
    .large-width-mobile>div {
        max-width: 90% !important;
    }
    .home .wp-site-blocks > .wp-block-columns, .home .wp-site-blocks > .wp-block-columns *:not(.wp-block-button__link){
      padding-left:0 !important;
      padding-right:0 !important;
    }
  .home .wp-site-blocks > .wp-block-columns .wp-block-cover{
  	padding-top:20px !important;
    padding-bottom:20px !important;
  }
}

.banner-text {
  margin-bottom: 0;
  position: absolute;
  width: 25%;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
}

.centered-columns {
    justify-content: center !important;
}

.yellow-border,
.yellow-border img {
    border: 2px solid #77848f;
    padding: 8px;
}

body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

/*
 * Text and navigation link styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

a {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25ch;
}

a:hover,
a:focus {
    text-decoration-style: dashed;
}

a:active {
    text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
    text-decoration: underline;
    text-decoration-style: solid;
}

/*
 * Search and File Block button styles.
 * Necessary until the following issues are resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/36444
 * https://github.com/WordPress/gutenberg/issues/27760
 */

.wp-block-search__button,
.wp-block-file .wp-block-file__button {
    background-color: var(--wp--preset--color--primary);
    border-radius: 0;
    border: none;
    color: var(--wp--preset--color--background);
    font-size: var(--wp--preset--font-size--medium);
    padding: calc(.667em + 2px) calc(1.333em + 2px);
}

/*
 * Button hover styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

.wp-block-search__button:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover {
    opacity: 0.90;
}

/*
 * Alignment styles.
 * These rules are temporary, and should not be relied on or
 * modified too heavily by themes or plugins that build on
 * Twenty Twenty-Two. These are meant to be a precursor to
 * a global solution provided by the Block Editor.
 *
 * Relevant issues:
 * https://github.com/WordPress/gutenberg/issues/35607
 * https://github.com/WordPress/gutenberg/issues/35884
 */

.wp-site-blocks,
body>.is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-group.has-background,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align="full"]>.wp-block-group,
.is-root-container .wp-block[data-align="full"]>.wp-block-cover {
    /*padding-left: var(--wp--custom--spacing--outer);
  padding-right: var(--wp--custom--spacing--outer);*/
}

.wp-site-blocks .alignfull,
.wp-site-blocks>.wp-block-group.has-background,
.wp-site-blocks>.wp-block-cover,
.wp-site-blocks>.wp-block-template-part>.wp-block-group.has-background,
.wp-site-blocks>.wp-block-template-part>.wp-block-cover,
body>.is-root-container>.wp-block-cover,
body>.is-root-container>.wp-block-template-part>.wp-block-group.has-background,
body>.is-root-container>.wp-block-template-part>.wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
    margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
    margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
    width: unset;
}
body:not(.home) .menu-container{
	padding-top:0 !important;
}
body:not(.home) .custom-logo{
	max-width:150px !important;
}
.special-box{
	width:400px;
  	min-height:300px;
  display:flex;
  flex-direction:column;
}
.special-box .wp-block-buttons{
	margin-top:auto !important;
}
.special-box h2{
	margin-top:auto !important;
  	margin-bottom:auto !important;
}
/* Blocks inside columns don't have negative margins. */
.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
/* We also want to avoid stacking negative margins. */
.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
.is-root-container .wp-block[data-align="full"]>*:not(.wp-block-group) .wp-block[data-align="full"] {
    margin-left: auto !important;
    margin-right: auto !important;
    width: inherit;
}

/*
 * Responsive menu container padding.
 * This ensures the responsive container inherits the same
 * spacing defined above. This behavior may be built into
 * the Block Editor in the future.
 */

.wp-block-navigation__responsive-container.is-menu-open {
    padding-top: var(--wp--custom--spacing--outer);
    padding-bottom: var(--wp--custom--spacing--large);
    padding-right: var(--wp--custom--spacing--outer);
    padding-left: var(--wp--custom--spacing--outer);
}

:where(p.has-text-color:not(.has-link-color)) a {
    color: inherit !important;
}

.section {
    padding: 80px 20px;
}

.background-apply h2 {
    position: relative;
}

/*
.background-apply h2::before{
  content: "";
  position: absolute;
  left: -40px;
  top: 0;
  width: 4px;
  height: 170px;
  background-color: #0f577b;
  transform: translateY(-25%);
}
*/
.map-container {
    position: relative;
}

.box {
    padding: 20px 120px;
}
/*
.map-details {
    position: absolute;
    top: 50%;
    background-color: white;
    padding: 60px 100px;
    right: 10%;
    transform: translateY(-55%);
  	box-shadow: 0px 0px 8px #00000052
}
*/
.wp-block-latest-posts li {
    margin: 0px 0px 1.25em 0px !important;
}

.background-apply {
    margin: 0 auto 80px auto !important;
}

/*.wp-site-blocks > div:not(.wp-block-template-part){
  margin: 80px auto !important;

}*/
/*
.wp-site-blocks > .wp-block-template-part{
  margin: 80px auto !important;
}
*/
.wp-block-template-part {
    margin-top: 0 !important;
}
.service-item{
	margin:0 auto;
}
.service-item:hover{
	cursor:pointer;
}
.services-row > div{
	text-align:center;
}
.wp-site-blocks>.wp-block-template-part:nth-child(1) {
    margin: 0px auto !important;
}

.wp-site-blocks iframe {
    width: 100%;
}