/*
Theme Name: Classic Dentist Clinic
Theme URI: https://www.theclassictemplates.com/products/free-dental-clinic-wordpress-theme
Author: classictemplate
Author URI: https://www.theclassictemplates.com/
Description: The Classic Dentist Clinic Theme is a professional, responsive, and feature-rich solution crafted for dental clinics, orthodontic centers, and healthcare providers, also supporting related services like health insurance and life insurance information for patient awareness and trust. Designed with a clean and modern aesthetic, it allows seamless showcasing of treatments such as teeth whitening, dental implants, orthodontics, root canals, extractions, crowns, bridges, veneers, and preventive care. Its mobile-friendly and retina-ready design ensures a flawless browsing experience across all devices. Optimized for SEO and built with lightweight, secure, and fast-loading code, it offers smooth performance and higher visibility in search results. The theme includes customizable sections for appointment booking, service listings, testimonials, doctor profiles, and pricing tables, helping clinics present their services effectively. Integrated plugins like WooCommerce support online payment for consultations or dental kits, while Contact Form 7 enables hassle-free inquiries and appointment scheduling. Social media integration boosts patient engagement, and customization options for colors, fonts, and layouts allow easy brand personalization. Perfect for both independent dentists and multi-specialty clinics, the Classic Dentist Clinic Theme provides a reliable, elegant, and user-friendly platform to build trust, attract patients, and showcase dental excellence online.
Version: 0.4.3
Tested up to: 6.9
Requires PHP: 5.6
Requires at least: 5.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: classic-dentist-clinic
Tags: blog, portfolio, education, one-column, two-columns, three-columns, four-columns, grid-layout, left-sidebar, right-sidebar, custom-logo, post-formats, featured-images, full-width-template, custom-colors, editor-style, flexible-header, footer-widgets, wide-blocks, custom-header, translation-ready, custom-background, custom-menu, sticky-post, threaded-comments, rtl-language-support, theme-options

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.

Classic Dentist Clinic WordPress Theme has been created by classictemplate (theclassictemplates.com), 2024.
Classic Dentist Clinic WordPress Theme is released under the terms of GNU GPL
*/

* {
  margin: 0;
  padding: 0;
}

:root {
  --first-theme-color: #BC74A5;
  --second-theme-color: #0E54AE;
}

body {
  margin: 0;
  padding: 0;
  font-size: 15px;
  color: #000000;
  font-family: "Open Sans", sans-serif;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
  background-color: #ffffff;
}

img {
  border: none;
  margin: 0;
  padding: 0;
  height: auto;
  max-width: 100%;
}

a {
  color: #000000;
  text-decoration: none;
  word-wrap: break-word;
  cursor: pointer;
}

a:hover {
  color: #000000;
  text-decoration: none;
}

ol,
ul {
  margin: 0;
  padding: 0;
}

.wp-caption,
.wp-caption-text,
.sticky,
.gallery-caption,
.aligncenter {
  margin: 0;
  padding: 0;
  max-width: 100% !important;
}

.sticky {
  background: #ededed;
}

.entry-content ol li,
.entry-content ul li {
  margin-left: 15px;
}

.entry-content a {
  text-decoration: underline;
}

ul li ul,
ul li ul li ul,
ol li ol,
ol li ol li ol {
  margin-left: 10px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Exo", sans-serif;
  color: #000000;
  word-wrap: break-word;
  line-height: 1.1;
  font-weight: 700;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 14px;
}

:hover {
  transition-duration: 0.5s;
}

.clear {
  clear: both;
}

.alignnone {
  width: 100% !important;
}

img.alignleft,
.alignleft {
  float: left;
  margin: 0 15px 0 0;
  padding: 5px;
  border: 1px solid #cccccc;
}

img.alignright,
.alignright {
  float: right;
  margin: 0 0 0 15px;
  padding: 5px;
  border: 1px solid #cccccc;
}

.left {
  float: left;
}

.right {
  float: right;
}

#comment-nav-above .nav-previous,
#comment-nav-below .nav-previous {
  float: none !important;
  margin: 10px 0;
}

h2#reply-title {
  padding-top: 20px;
}

ol.comment-list li {
  list-style: none;
  margin-bottom: 5px;
}

.comment-content p {
  color: #292D32;
}

p {
  color: #292D32;
}

.woocommerce nav.woocommerce-pagination ul,
.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image--placeholder {
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background-color: var(--second-theme-color);
  color: #ffffff;
  padding: 10px 12px;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background-color: var(--second-theme-color);
  color: #ffffff;
  padding: 10px 12px;
}

.woocommerce-page p {
  color: #292D32;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price del {
  margin-right: 6px;
  display: inline-flex;
}

.single-product .product_meta {
  margin-top: 20px;
}

.single-product .woocommerce-product-gallery__wrapper img {
  height: 500px !important;
  width: 500px !important;
}

.boxlayout {
  width: 1140px;
  margin: 0 auto;
  background-color: #fff;
  position: relative;
  box-shadow: 0 -8px 8px #8e8e8e;
}

.single-post .kk-star-ratings .kksr-legend {
  font-size: 15px !important;
}

.single-post .comment-respond .comment-form-cookies-consent {
  display: flex;
}

.single-post .comment-respond .comment-form-cookies-consent label {
  margin-left: 10px;
}

/* Wishlist */
.wishlist_table.mobile {
  padding-left: 0;
}

.wishlist_table.mobile table {
  width: auto;
}

.wishlist_table.mobile li {
  padding: 15px;
  border: 1px solid #000000;
}

.cart.wishlist_table .additional-info-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

ul.shop_table.cart.wishlist_table.wishlist_view.responsive.mobile {
  display: grid;
  grid-template-columns: 2fr 50%;
  gap: 10px;
}

.wishlist_table.images_grid li .item-details table.item-details-table td.label,
.wishlist_table.mobile li .item-details table.item-details-table td.label,
.wishlist_table.mobile li table.additional-info td.label,
.wishlist_table.modern_grid li .item-details table.item-details-table td.label {
  font-size: 16px !important;
  font-weight: 500;
}

.wishlist_table.mobile li .item-details table.item-details-table td,
.additional-info .value {
  font-size: 14px !important;
  padding: 6px !important;
  font-family: "Open Sans", sans-serif;
}

/*post formate*/
.format-gallery .wp-block-gallery,
.format-video figure {
  margin-bottom: 15px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

a:focus,
input[type='submit']:focus,
input[type='search']:focus,
textarea:focus,
input[type='name']:focus,
input[type='email']:focus,
.toggle-nav button:focus,
a.close-button:focus,
#commentform input#email:focus,
#commentform input#url:focus,
#commentform input#author:focus,
#commentform textarea:focus,
#commentform input#eazycfc_captcha:focus,
.serach_inner button[type="submit"]:focus,
.serach_inner input[type="submit"]:focus {
  outline: -webkit-focus-ring-color auto 1px;
}

.main-nav ul.sub-menu li a:focus,
.main-nav ul ul a:focus,
.serach_inner input[type="submit"]:focus {
  border: 2px solid var(--second-theme-color);
  outline: none;
}

.main-nav a:focus,
.search-box button:focus,
.search-outer button.search-close:focus {
  border: 2px solid #000;
  outline: none;
}

input:focus {
  border: 2px solid #000000;
}

.textwidget p a,
.entry-content p a,
.entry-summary a {
  text-decoration: underline !important;
}

.comment-content p a,
.description p a {
  text-decoration: underline !important;
}

.single-post .entry-content p {
  color: #292D32;
}

/* = wide block css
-------------------------------------- */
.single-post .alignfull,
.single-post .alignwide {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/*block css*/
.site-main .alignfull,
.site-main .alignwide {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 20px;
}

.site-main .alignfull img {
  width: 100% !important
}

.site-main .alignnone,
.site-main .aligncenter {
  width: auto !important;
}

.site-main .alignleft {
  margin-right: 10px;
}

.postsec-list .wp-block-button a:hover,
.site-main .wp-block-button a:hover,
.site-main .wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):hover,
.postsec-list .wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):hover,
.site-main .wp-block-button.is-style-outline a:hover {
  background-color: var(--first-theme-color);
  color: #fff !important;
}

.postsec-list .wp-block-button.is-style-squared a,
.site-main .wp-block-button.is-style-squared a {
  border-radius: 0px !important;
}

.postsec-list .wp-block-button__link,
.site-main .wp-block-button__link {
  background: var(--second-theme-color);
  color: #111 !important;
  border-radius: 30px;
  font-weight: 500 !important;
}

.postsec-list .wp-block-button.is-style-outline a {
  background: none;
  border: 1px solid var(--second-theme-color);
  color: #fff !important;
}

.site-main .wp-block-button.is-style-outline a {
  background-color: var(--second-theme-color);
  color: #fff !important;
}

.site-main img.alignleft,
.site-main .alignleft,
.site-main img.alignright,
.site-main .alignright,
.postsec-list img.alignleft,
.postsec-list .alignleft,
.postsec-list img.alignright,
.postsec-list .alignright {
  border: none;
}

.tags a {
  text-decoration: none !important;
  font-weight: 400;
  color: #ffffff !important;
  background: var(--second-theme-color);
  box-shadow: 0 1px 0 rgb(0 0 0 / 8%);
  text-shadow: none;
  line-height: 3.5;
  padding: 8px;
  margin: 5px;
  border-radius: 5px;
  font-size: 15px;
}

.tags a:hover {
  background-color: var(--first-theme-color);
  color: #fff !important;
}

.modal-content {
  background: transparent;
  border: 0;
}

.modal-dialog {
  pointer-events: all;
}

.modal-body {
  padding: 0;
}

#myModal,
.modal-open {
  padding: 0 !important;
}

.modal-open {
  overflow-y: scroll;
}

/*scroll to top*/
#button {
  background: var(--second-theme-color);
  color: #ffffff;
  cursor: pointer;
  width: fit-content;
  padding: 5px;
  padding-top: 22px;
  height: 60px;
  aspect-ratio: 1;
  text-align: center;
  position: fixed;
  border-radius: 50%;
  bottom: 60px;
  right: 20px;
  z-index: 9999;
  -moz-border-radius: 0;
  font-size: 15px;
  display: none;
}

.scroll-btn:hover {
  background: var(--first-theme-color) !important;
}

#site-navigation .close-button {
  background: var(--second-theme-color) !important;
}

/* Progress Bar */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background: var(--first-theme-color);
  z-index: 9999;
}

.admin-bar #progress-bar {
  top: 32px;
}

/* = pre loader css
-------------------------------------- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 999999;
}

#status {
  width: 200px;
  height: 200px;
  position: absolute;
  left: 50%;
  top: 50%;
  background-image: url(images/status.gif);
  background-repeat: no-repeat;
  background-position: center;
  margin: -100px 0 0 -100px;
}

/*logo*/
h1.site-title,
p.site-title {
  font-size: 30px;
  margin-bottom: 0;
  font-weight: 600;
  color: #ffffff;
}

p.site-title a,
h1.site-title a {
  color: #ffffff;
  font-size: 30px;
  text-transform: capitalize;
}

.page-template-template-home-page p.site-title a,
.page-template-template-home-page h1.site-title a {
  color: #000000;
}

p.site-title {
  line-height: 1.3;
}

.page-template-template-home-page h1.site-title a:hover {
  color: var(--second-theme-color);
}

.classic-dentist-clinic-logo span.site-description {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
}

.page-template-template-home-page .classic-dentist-clinic-logo span.site-description {
  color: #000000;
}

#mySidenav {
  display: inline;
}

.main-nav ul {
  margin: 0;
  padding: 0;
}

.main-nav li {
  display: inline-flex;
  position: relative;
  align-items: center;
  padding: 12px 5px;
}

.page-template-template-home-page .main-nav .current-menu-item a {
  background-color: var(--first-theme-color);
  color: #ffffff;
}

.main-nav .current-menu-item a {
  background-color: var(--second-theme-color);
}

.page-template-template-home-page .main-nav .current-menu-item a:hover,
.main-nav .current-menu-item a:hover {
  color: #ffffff;
}

.main-menu li:last-child {
  border-right: none;
}

.main-nav a {
  font-size: 14px;
  display: block;
  text-transform: capitalize;
  color: #ffffff;
  font-weight: 500;
  padding: 4px 15px;
}

.page-template-template-home-page .main-nav a:hover {
  color: var(--first-theme-color);
}

.main-nav .main-menu {
  text-align: left;
}

.main-nav .sub-menu a {
  color: #111 !important;
}

.main-nav li ul li.current_page_item li a {
  color: #111 !important;
}

.main-nav li ul li.current_page_item a {
  color: #fff !important;
}

.main-nav ul ul li.current_page_item a {
  color: #000000 !important;
}

.page-template-template-home-page .main-nav a {
  color: #000000;
  background-color: transparent;
}

.page-template-template-home-page li.main-nav .current_page_item {
  color: #111;
  background-color: var(--second-theme-color);
}

.page-template-template-home-page .main-nav .sub-menu .current_page_item a {
  background: none;
}

.main-nav ul.sub-menu .current_page_item a::before,
.main-nav ul.sub-menu .current-menu-item a::before,
.main-nav ul ul .menu-item a:before {
  content: none;
}

.main-nav ul ul .menu-item-has-children>a::after {
  margin-top: 2px;
}

.main-nav .menu-item-has-children>a::after {
  content: '\f107';
  font-family: 'Font Awesome 7 Free';
  font-weight: 900;
  display: inline-block;
  width: 0;
  height: 0;
  position: absolute;
  top: auto;
  bottom: auto;
  right: auto;
  margin-left: 3px;
  margin-top: 3px;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
}

.main-nav .menu-item-has-children.current-menu-parent>a::after,
.main-nav .menu-item-has-children.current-menu-ancestor>a::after,
.main-nav .menu-item-has-children.current_page_parent>a::after {
  transform: translateY(-50%) rotate(0deg);
}

.main-nav ul.sub-menu li a:hover {
  background-color: var(--first-theme-color);
  color: #ffffff;
}

.main-nav ul ul {
  position: absolute;
  background: #fff;
  min-width: 250px;
  z-index: 9999;
  top: 98%;
  line-height: 30px;
  opacity: 0;
}

.main-nav ul ul ul {
  left: 100%;
  top: 0%;
}

.main-nav ul ul a {
  color: #1f1f1f;
  border: none;
  padding: 10px;
  margin-bottom: 0;
}

.main-nav ul ul li {
  float: none;
  display: block;
  text-align: left;
  border-left: none;
  border-right: none !important;
  padding: 0;
  border-bottom: solid 1px #f1f1f1;
}

.main-nav li ul {
  border-top: 3px solid var(--second-theme-color);
  box-shadow: 0px 0px 12px -3px rgba(0, 0, 0, 0.4);
}

.main-nav .menu>ul>li.highlight {
  background-color: #006ccc;
}

.main-nav .menu>ul>li.highlight:hover {
  background: transparent;
}

.main-nav .menu-item-has-children:not(.off-canvas):hover>.sub-menu,
.main-nav .menu-item-has-children:not(.off-canvas):focus>.sub-menu,
.main-nav .menu-item-has-children.is-focused:not(.off-canvas)>.sub-menu,
.main-nav .menu-item-has-children:not(.off-canvas)[focus-within]>.sub-menum,
.main-nav .menu-item-has-children:not(.off-canvas):focus-within>.sub-menu {
  opacity: 1;
}

.main-nav ul li:hover>ul {
  opacity: 1;
}

.main-nav li.menu-item-has-children:hover>ul,
.main-nav li.menu-item-has-children:focus>ul,
.main-nav li.menu-item-has-children.focus>ul {
  opacity: 1;
}

.main-nav .sub-menu {
  opacity: 0;
  left: -9999px;
  z-index: 99999;
  width: 150px !important;
}

.main-nav ul.sub-menu li a {
  background: #ffffff !important;
  color: #000 !important;
}

ul.sub-menu ul.sub-menu {
  left: 150px !important;
}

.main-nav .menu-item-has-children:not(.off-canvas):hover>.sub-menu,
.main-nav .menu-item-has-children:not(.off-canvas):focus>.sub-menu,
.main-nav .menu-item-has-children.is-focused:not(.off-canvas)>.sub-menu,
.main-nav .menu-item-has-children:not(.off-canvas)[focus-within]>.sub-menum,
.main-nav .menu-item-has-children:not(.off-canvas):focus-within>.sub-menu {
  display: block;
  left: 0;
  margin-top: 0;
  opacity: 1;
  width: auto;
  min-width: 100%;
}

ul.sub-menu ul.sub-menu {
  left: -9999px;
}

.toggle-nav,
a.close-button {
  display: none;
}

/*page css*/
.page-header {
  margin-bottom: 20px;
}

.page-header h1 {
  color: #111;
  margin-bottom: 10px;
  font-size: 35px;
  word-wrap: break-word;
}

.page-header span,
.page-header span a {
  font-size: 18px;
  word-wrap: break-word;
  display: inline;
  margin-bottom: 10px;
}

/* Topbar */
.page-template-template-home-page .main-header {
  position: absolute;
  z-index: 2;
  width: 100%;
  background: transparent !important;
  margin-top: 18px;
}

.page-template-template-home-page .main-header .header-sec {
  background-color: #ffffff;
  box-shadow: 0px 3px 6px #00000029;
}

.main-header {
  background-color: var(--first-theme-color);
  padding: 5px 0px;
}

.main-header .phone-icon i {
  background-color: #ffffff;
  color: var(--second-theme-color);
  font-size: 15px;
  border-radius: 30px;
  height: 35px;
  width: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-template-template-home-page .main-header .phone-icon i {
  background-color: var(--second-theme-color);
  color: #ffffff !important;
}

.page-template-template-home-page .main-header .phone-title,
.page-template-template-home-page .main-header .phone-no {
  color: #000000;
}

.main-header .phone-title {
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
}

.main-header .phone-no {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

/*---------Sticky Header---------*/
.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

body.page-template-template-home-page.admin-bar .header-fixed,
body.admin-bar .header-fixed {
  margin-top: 32px !important;
}

.header-fixed .main-header {
  margin-top: 0px !important;

}

/* Slider */
#slider-cat .text-content .slider-title a,
#services-section .services-name,
#services-section .services-text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical
}

#slider-cat .imagebox img {
  height: 750px;
  object-fit: cover;
}

#slider-cat .slider-overlay {
  position: absolute;
  content: '';
  background-color: #000000;
  height: 100%;
  width: 100%;
  top: 0;
  opacity: 0.3;
}

#slider-cat .text-content {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: 35%;
}

#slider-cat .text-content .slider-title a {
  font-size: 40px;
  color: #FFFFFF;
  text-shadow: 0px 0px 10px #00000069;
  line-height: 1.5;
  -webkit-line-clamp: 3;
}

#slider-cat .text-content .sliderbtn a {
  background-color: var(--second-theme-color);
  color: #ffffff;
  font-size: 14px;
  border: 1px solid #ffffff;
  padding: 10px 20px;
  display: inline-block;
}

#slider-cat .text-content .sliderbtn a:hover {
  background-color: var(--first-theme-color);
}

#slider-cat .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
}

#slider-cat .owl-nav .owl-prev {
  left: 4%;
}

#slider-cat .owl-nav .owl-next {
  right: 4%;
}

#slider-cat .owl-nav button i {
  background-color: var(--second-theme-color);
  color: #ffffff;
  font-size: 20px;
  height: 45px;
  width: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#slider-cat .owl-nav button i:hover {
  background-color: var(--first-theme-color);
}

/* Services Section */
#services-section {
  background: #F5F5F5;
}

#services-section .services-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

#services-section .services-overlay {
  position: absolute;
  content: '';
  background-color: var(--second-theme-color);
  height: 100%;
  width: 100%;
  top: 0;
  opacity: 0.6;
}

#services-section .blog-bx {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

#services-section .services-title {
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
}

#services-section .tooth-icon i {
  color: #ffffff;
  font-size: 18px;
}

#services-section .tooth-icon {
  display: inline-block;
  position: relative;
  width: 8%;
}

#services-section .tooth-icon:before {
  left: 0;
}

#services-section .tooth-icon:after {
  right: 0;
}

#services-section .tooth-icon:after,
#services-section .tooth-icon:before {
  position: absolute;
  content: '';
  height: 2px;
  width: 40px;
  background: #ffffff;
  top: 50%;
  transform: translateY(-50%);
}

#services-section .services-content {
  margin-top: -9%;
  padding-bottom: 40px;
}

#services-section .services-card {
  background-color: #ffffff;
  box-shadow: 0px 0px 6px #0000002E;
  border-radius: 6px;
}

#services-section .services-card .service-icon i {
  background-color: #F4F4F4;
  color: var(--first-theme-color);
  font-size: 40px;
  border-radius: 50%;
  height: 130px;
  width: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

#services-section .services-name {
  color: var(--second-theme-color);
  font-size: 18px;
  font-weight: 600;
  -webkit-line-clamp: 1;
  font-family: "Open Sans", sans-serif;
  line-height: 1.3;
}

#services-section .services-text {
  color: #333333;
  font-size: 12px;
  -webkit-line-clamp: 2;
  line-height: 25px;
}

#services-section .card-link i {
  background-color: var(--first-theme-color);
  color: #ffffff;
  font-size: 16px;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}

/* = Page lay out css
-------------------------------------- */
.postsec-list input.search-field,
.postsec-list input.search-submit {
  padding: 11px 10px;
}

.postsec-list .search-form input.search-submit,
#sidebar form .wp-block-search__button {
  background-color: var(--second-theme-color);
  color: #ffffff;
  border: 2px solid var(--second-theme-color);
  font-weight: 600;
  border-radius: 4px;
}

.postsec-list .search-form input.search-submit:hover,
#sidebar form .wp-block-search__button:hover {
  background-color: var(--first-theme-color);
  border-color: var(--first-theme-color);
}

.contentsecwrap {
  padding: 35px 0;
  clear: both;
}

.contentsecwrap p {
  margin-bottom: 20px;
}

.type-page .entry-content p {
  color: #292D32;
}

#sidebar aside.widget {
  padding: 20px;
  border-radius: 5px;
}

.listarticle {
  border-radius: 5px;
}

.listarticle h2 a {
  color: #000000;
  font-size: 30px;
  text-decoration: none;
  word-wrap: break-word;
}

.listarticle h2 a:hover {
  color: var(--second-theme-color);
}

.single_title {
  margin-bottom: 15px;
  font-size: 20px;
}

.post-thumb {
  margin: 15px 0;
}

.nav-links .page-numbers {
  background-color: var(--second-theme-color);
  color: #ffffff !important;
  padding: 10px 15px;
  text-decoration: none;
}

span.page-numbers.current,
.nav-links .page-numbers:hover {
  background-color: #000000;
  color: #ffffff;
}

/* label css
---------------------------------------------- */
label {
  margin-bottom: 0;
}

#footer .search-form label,
#sidebar .search-form label {
  width: 100%;
}

aside.widget ul,
.entry-summary li {
  list-style: none;
}

.listarticle .alignfull,
.listarticle .alignwide {
  margin-left: 0;
  margin-right: 0;
}

#recentcomments li {
  background-image: none !important;
}

#recentcomments li a {
  padding-left: 0px !important;
}

.textwidget select,
table {
  width: 100%;
}

nav.navigation.pagination {
  margin: 30px auto;
}

/*--------------------------------------------------------------
## Sidebar Style 
--------------------------------------------------------------*/
#sidebar input[type="text"],
#sidebar input[type="search"],
#footer input[type="search"] {
  border: solid 2px var(--second-theme-color);
  padding: 10px;
  width: 100%;
}

#footer input[type="search"] {
  color: #000;
}

#sidebar input.search-submit,
#footer input.search-submit,
form.woocommerce-product-search button {
  padding: 10px;
  width: 100%;
  border: none;
  background: var(--second-theme-color);
  font-size: 15px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 600;
}

input.search-submit {
  background-color: var(--second-theme-color);
  color: #ffffff;
  border: none;
  padding: 10px 20px !important;
}

.widget-area .widget::after,
.widget-area .widget::before {
  clear: both;
  content: "";
  display: table;
}

#sidebar .widget-title,
#sidebar h1,
#sidebar h2,
#sidebar h3,
#sidebar h4,
#sidebar h5,
#sidebar h6,
#sidebar form label.wp-block-search__label {
  font-size: 28px;
  font-weight: 600;
  padding-bottom: 10px;
  position: relative;
  text-align: left;
  text-transform: capitalize;
}

.entry-title h2:before {
  content: "\f185";
  display: inline-block;
  font-family: FontAwesome;
  margin-right: 5px;
}

#sidebar ul {
  list-style: outside none none;
  padding: 0;
  margin: 0;
}

#sidebar ul ul {
  border-bottom: none;
  padding-bottom: 0;
}

#sidebar ul li {
  padding: 5px;
  padding-left: 30px;
  padding-top: 5px;
  position: relative;
  color: #000000;
}

#sidebar ul li::before {
  color: var(--second-theme-color);
  content: "\f192";
  display: inline-block;
  font-family: 'Font Awesome 7 Free';
  font-weight: 900;
  font-size: 7px;
  left: 0;
  position: absolute;
  top: 12px;
  margin-left: 2px;
}

#sidebar .widget_nav_menu ul li::before {
  top: 18px;
}

#sidebar .widget a,
#sidebar .widget a:visited {
  color: #000000;
  text-decoration: none;
}

#sidebar .widget a:hover,
#sidebar .widget a:active {
  color: var(--second-theme-color);
}

#sidebar .widget {
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 4px #cfcfcf;
  border-bottom: 3px solid var(--second-theme-color);
  margin-bottom: 30px;
}

#sidebar .widget:hover {
  box-shadow: 0 0 20px #cfcfcf;
}

#sidebar .widget_nav_menu ul li {
  padding: 3px 8px 5px 20px;
}

#sidebar .widget_nav_menu ul li a {
  line-height: 2.5;
}

/*Clearing floats css*/
.page-links {
  float: unset !important;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  margin: 20px auto;
}

.page-links a,
.page-links span {
  padding: 10px 15px;
  background-color: var(--second-theme-color);
  color: #ffffff;
}

.page-links .post-page-numbers.current,
.page-links a:hover {
  background-color: #000000;
  color: #fff;
}

/*calendar widget*/
.widget_calendar {
  text-align: center;
}

.widget_calendar caption {
  background: var(--second-theme-color) none repeat scroll 0 0;
  color: #ffffff;
  padding: 5px;
}

.widget_calendar .pad {
  background: #eeeeee none repeat scroll 0 0;
}

.widget_calendar #today a {
  color: #ffffff;
}

.widget_calendar #today {
  background: var(--second-theme-color) none repeat scroll 0 0;
  color: #ffffff;
}

.widget .tagcloud a {
  border: 1px solid #dddddd;
  color: #001837;
  display: inline-block;
  font-size: 16px !important;
  line-height: 1.5;
  margin-bottom: 5px;
  padding: 5px 15px;
}

.widget .tagcloud a:hover {
  border: 1px solid var(--second-theme-color);
  color: var(--second-theme-color);
}

.widget_categories li>a,
.widget_archive li>a {
  display: inline-block;
  min-width: 85%;
}

.search-form .search-submit:focus {
  box-shadow: inherit;
  outline: none;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

img {
  height: auto;
  max-width: 100%;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

td,
th {
  border: 1px solid #ddd;
  padding: 5px;
  color: #252525;
}

#footer td,
#footer th {
  color: #fff;
}

select {
  width: 100%;
  padding: 5px;
}

#footer .tagcloud a {
  border: solid 1px #fff;
  font-size: 14px !important;
  margin: 2px 0;
  display: inline-block;
  color: #fff !important;
  padding: 5px 10px;
  font-weight: 500;
}

.tagcloud a:hover {
  background-color: var(--second-theme-color);
  border-color: var(--second-theme-color);
  color: #ffffff !important;
}

/*footer*/
#footer ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

#footer ul li {
  font-size: 15px;
  padding: 3px 6px 3px 13px;
  position: relative;
  color: #fff;
}

#footer ul li::before {
  color: #fff;
  content: "\f105";
  display: inline-block;
  font-family: 'Font Awesome 7 Free';
  font-weight: 900;
  font-size: 14px;
  left: 0;
  position: absolute;
  top: 3px;
}

#footer a .footer-widget-area {
  float: left;
  padding: 0 25px;
  width: 25%;
}

#footer a,
#footer p {
  color: #fff;
}

#footer a:hover,
#footer h6 {
  color: var(--second-theme-color);
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.postsec-list article.hentry,
.postsec-list .listarticle {
  background: #ffffff none repeat scroll 100% 0;
  box-shadow: 0 0 2px #cfcfcf;
  padding: 30px;
  position: relative;
  border-radius: 12px;
  margin-bottom: 30px;
}

.postsec-list article.hentry:hover,
.postsec-list .listarticle:hover {
  box-shadow: 0 0 20px #cfcfcf;
}

/* = Footer css
------------------------------------------- */
#footer input.search-submit {
  background: var(--second-theme-color);
  color: #ffffff;
}

#footer {
  background-color: #000000;
  color: #ffffff;
}

#footer h1,
#footer h2,
#footer h3,
#footer h4,
#footer h5,
#footer h6 {
  color: #fff;
}

.ftr-4-box {
  width: 100%;
  float: left;
  margin: 0 4% 2% 0;
  box-sizing: border-box;
  padding: 20px 20px 20px 0px;
}

.widget-column-4 {
  margin-right: 0px !important;
}

.ftr-4-box h5 {
  font-size: 28px;
  color: var(--second-theme-color);
  margin-bottom: 0;
  border-bottom: 1px solid #000000;
  padding-bottom: 20px;
}

.ftr-4-box h5 span {
  font-weight: 300;
  color: #3dd4e5;
}

.ftr-4-box ul {
  margin: 0;
  padding: 0;
  list-style: inside disc;
}

.ftr-4-box ul li {
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid #000000;
}

.ftr-4-box ul li a,
.ftr-4-box a.readmore span {
  color: #ffffff;
}

.ftr-4-box p {
  margin-bottom: 15px;
}

.copywrap {
  font-size: 18px;
  padding: 14px 10px !important;
  background-color: var(--second-theme-color);
}

.copywrap p,
.copywrap p a {
  color: #ffffff !important;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 16px;
}

#footer .copywrap a:hover {
  color: #000000;
}

.entry-content .tags a {
  color: #fff !important;
}

.copywrap .copywrap-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.copywrap .copywrap-info.center-content {
  justify-content: center;
  text-align: center;
}

.search-no-results .search-form label {
  margin-bottom: 2px
}

.search-no-results .entry-title {
  margin-bottom: 15px;
}

#footer .widget_calendar #today {
  background: #ffffff none repeat scroll 0 0;
}

#footer .widget_calendar #today a {
  color: var(--first-theme-color);
}

/* Sticky Copyright */
.sticky-copyright.active-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: bottom 0.4s;
  box-shadow: 0px 0px 8px #000000;
}

/* Mobile Portrait View */
@media screen and (max-width: 1000px) {
  .main-nav li ul li.current_page_item li a {
    color: #ffffff !important;
  }

  p.site-title a,
  h1.site-title a {
    font-size: 23px;
  }

  .main-nav ul ul,
  .main-nav .sub-menu {
    opacity: 1;
    width: auto;
  }

  .page-template-template-home-page .main-nav .current_page_item a {
    color: var(--second-theme-color);
  }

  .main-nav .current_page_item a::before {
    content: none;
  }

  .classic-dentist-clinic-logo span.site-description {
    font-size: 12px;
  }

  .main-nav ul ul li {
    margin-bottom: 0;
  }

  .page-template-template-home-page .main-nav a,
  .main-nav ul.sub-menu li a {
    color: #fff !important;
    text-align: center;
    padding-left: 0;
    background-color: transparent !important;
  }

  .main-nav ul.sub-menu li a {
    padding-left: 0;
  }

  .page-template-template-home-page .sidenav .main-nav {
    background-color: #0000;
  }

  .main-nav ul {
    text-align: left;
  }

  .main-nav ul.sub-menu li a:focus,
  .main-nav ul ul a:focus,
  .main-nav a:focus {
    border: 2px solid #fff;
    outline: none;
  }

  .main-nav li ul {
    border: none;
    box-shadow: none;
    border-top: none !important;
  }

  .main-nav .sub-menu li {
    border-bottom: none;
  }

  .page-template-template-home-page .toggle-nav button,
  .toggle-nav button {
    font-weight: 600;
    border: none;
    font-size: 13px;
    padding: 8px 20px;
    color: #ffffff;
    display: inline-block;
    background-color: var(--second-theme-color);
  }

  .toggle-nav button {
    background-color: var(--second-theme-color);
  }

  .sidenav {
    height: 100%;
    width: 100%;
    position: fixed !important;
    z-index: 99999;
    left: 0;
    top: -110%;
    overflow-x: hidden;
    transition: 0.5s top ease-in-out;
    overflow-y: scroll;
    background: #000;
    visibility: hidden;
    opacity: 0.9;
  }

  .main-nav ul li a:hover {
    color: #fff;
  }

  .main-nav li {
    padding: 0 15px;
    display: block;
    border-bottom: none;
    border-right: none;
    height: auto;
  }

  body.show-main-menu .sidenav {
    visibility: visible;
    top: 0;
    transition: 0.5s top ease-in-out;
    background: #000 !important;
  }

  .sidenav .close-button {
    margin-bottom: 30px !important;
    font-size: 36px;
    display: block !important;
    color: #fff;
    padding: 10px !important;
    text-align: center;
    margin-top: 25px;
  }

  .sidenav #site-navigation {
    width: 100%;
    margin-top: 45px;
  }

  .toggle-nav span {
    font-size: 30px;
    cursor: pointer;
    text-align: right;
  }

  .main-nav ul ul li,
  .menubar .nav ul li {
    display: block;
    text-align: center !important;
  }

  .toggle-nav {
    display: block;
  }

  .main-nav ul li a {
    padding: 8px;
    text-decoration: none;
    font-size: 15px;
    color: #fff;
    display: block;
    float: none;
    margin: 5px 0;
    border-right: none;
    text-align: center;
  }

  .main-nav .menu-item-has-children>a::after {
    margin-top: 0;
  }

  .main-nav ul li ul li a:before {
    content: "\00BB \00a0";
  }

  .main-nav ul.sub-menu a:hover {
    color: #000000;
  }

  .main-nav ul ul {
    position: static;
    width: 100%;
    background: transparent;
    border-top-width: 0px;
    border-bottom-width: 0px;
    box-shadow: none;
  }

  .main-nav ul ul a {
    border-bottom: none;
    padding-left: 40px;
  }

  .main-nav ul ul li.current_page_item a {
    color: #ffffff !important;
  }

  .main-nav ul ul ul.sub-menu a {
    padding-left: 0;
  }

  #mySidenav {
    text-align: left;
    display: inline;
  }

  .main-menu {
    padding: 0em;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main-nav ul.sub-menu>li>a:before {
    content: unset;
  }

  .main-nav ul.sub-menu>li>a:hover:before {
    opacity: 0;
    left: 0px;
    width: 0px;
  }

  .page-template-template-home-page .main-nav .current_page_item a,
  .main-nav .current_page_item a,
  .main-nav .current_page_item a:hover {
    background: none;
  }

  .header .woo-icon {
    justify-content: space-around !important;
  }
}

@media screen and (max-width: 500px) {
  #services-section .tooth-icon {
    width: 38%;
  }
}

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

  body.page-template-template-home-page.admin-bar .header-fixed,
  body.admin-bar .header-fixed {
    margin-top: 0px !important;
    background-color: #ffffff;
    box-shadow: 0px 3px 6px #00000029;
  }
}

@media screen and (min-width: 601px) and (max-width: 782px) {

  body.page-template-template-home-page.admin-bar .header-fixed,
  body.admin-bar .header-fixed {
    margin-top: 40px !important;
  }
}

@media screen and (min-width: 501px) and (max-width: 767px) {
  #services-section .tooth-icon {
    width: 25%;
  }
}

@media screen and (max-width: 767px) {
  .page-template-template-home-page .main-header {
    position: unset;
    margin-top: 18px;
  }

  .page-template-template-home-page .main-header .header-sec {
    box-shadow: none;
  }

  #slider-cat .imagebox img {
    height: 400px;
  }

  #slider-cat .text-content {
    transform: translate(-50%, -50%);
    width: 70%;
  }

  #slider-cat .text-content .slider-title a {
    font-size: 25px;
    line-height: 1.2;
  }

  #slider-cat .owl-nav button i {
    font-size: 15px;
    height: 35px;
    width: 35px;
  }

  #services-section .services-content {
    margin-top: 0;
  }

  #services-section .services-img img {
    height: 165px;
  }

  #services-section .services-title {
    font-size: 25px;
  }

  #footer .footer-widget {
    text-align: center;
  }

  #footer ul li {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 6px 0;
  }

  #footer ul li::before {
    content: none;
  }

  .single-product .woocommerce-product-gallery__wrapper img {
    width: 100% !important;
    height: auto !important;
  }

  .woocommerce ul.products li {
    width: 100% !important;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="tel"],
  .wpcf7 input[type="email"],
  .wpcf7 textarea {
    width: 100%;
  }

  .ftr-4-box {
    width: 100%;
  }

  .boxlayout {
    width: 270px;
  }

  .admin-bar .page-template-template-home-page .header.sticky-head,
  .admin-bar .sticky-head {
    top: 0;
  }

  .classic-dentist-clinic-logo,
  .toggle-nav {
    text-align: center !important;
  }

  .page-template-template-home-page .product-cart .cart-count {
    background-color: var(--second-theme-color);
    color: #ffffff;
  }

  ul.shop_table.cart.wishlist_table.wishlist_view.responsive.mobile {
    grid-template-columns: 100%;
  }

  .sidenav .close-button {
    margin-bottom: 20px !important;
  }

  .admin-bar .page-template-template-home-page .header.main.sticky-head,
  .admin-bar .main.sticky-head {
    top: 0;
  }

  tr.wc-block-cart-items__row {
    gap: 0.4em;
  }

  td.wc-block-cart-item__total {
    padding-left: 0px !important;
  }

  li.wc-block-grid__product {
    max-width: 100% !important;
    float: none;
  }

  .page-template-template-home-page.admin-bar .sidenav {
    margin-top: 44px;
  }

  .header.main.sticky-head {
    position: static;
    box-shadow: none;
  }

  .header.main.sticky-head {
    position: static;
    transform: none;
  }

  #sidebar {
    margin-top: 30px;
  }

  .copywrap .copywrap-info {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  .copywrap .copywrap-info p,
  .copywrap .footer-social {
    flex: 1 1 100%;
    justify-content: center;
    align-items: center;
  }

  .copywrap .footer-social {
    margin-top: 10px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  #sidebar .wp-block-search__inside-wrapper {
    flex-wrap: wrap;
  }

  #sidebar form .wp-block-search__button {
    width: 100%;
    margin-left: 0 !important;
    border-radius: 0 !important;
    margin-top: 5px;
    padding: 10px;
  }

  #slider-cat .imagebox img {
    height: 600px;
  }

  #slider-cat .text-content {
    width: 70%;
  }

  #slider-cat .text-content .slider-title a,
  #services-section .services-title {
    font-size: 28px;
  }

  #services-section .tooth-icon {
    width: 16%;
  }

  #services-section .services-content {
    margin-top: -16%;
  }

  .toggle-nav {
    text-align: right !important;
  }

  ul.shop_table.cart.wishlist_table.wishlist_view.responsive.mobile {
    grid-template-columns: 100%;
  }

  .single-product .woocommerce-product-gallery__wrapper img {
    width: 100% !important;
    height: auto !important;
  }

  .is-sticky-on.mobile.sticky-head {
    top: 40px;
  }

  .admin-bar .page-template-template-home-page .header.sticky-head,
  .admin-bar .sticky-head {
    top: 47px;
  }

  .admin-bar .page-template-template-home-page .header.main.sticky-head,
  .admin-bar .main.sticky-head {
    top: 42px;
  }

  .boxlayout {
    width: 650px;
  }

  .ftr-4-box {
    display: inline-grid;
    float: none;
  }

  tr.wc-block-cart-items__row {
    gap: 1em;
  }

  li.wc-block-grid__product {
    max-width: 48% !important;
    float: left;
    clear: both;
    margin: 0 1% 2.992em;
    flex: 1 0 48% !important;
  }

  .toggle-nav button {
    margin-bottom: 0;
  }

  .woocommerce ul.products li.product {
    width: 48% !important;
    margin: 0 6px 2.992em;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  #slider-cat .imagebox img {
    height: 600px;
  }

  #slider-cat .text-content {
    width: 65%;
  }

  #slider-cat .text-content .slider-title a {
    font-size: 35px;
  }

  #services-section .services-content {
    margin-top: -12%;
  }

  #services-section .tooth-icon {
    width: 12%;
  }

  #services-section .services-title {
    font-size: 30px;
  }

  .toggle-nav {
    text-align: right !important;
  }

  ul.shop_table.cart.wishlist_table.wishlist_view.responsive.mobile {
    grid-template-columns: 100%;
  }

  .toggle-nav button {
    margin-bottom: 0;
  }

  .main-nav a,
  .main-nav .menu-item-has-children>a::after {
    font-size: 12px;
  }

  .main-nav .menu-item-has-children>a::after {
    margin-top: 2px;
  }

  .admin-bar .page-template-template-home-page .header.sticky-head,
  .admin-bar .sticky-head {
    top: 32px;
  }

  .admin-bar .page-template-template-home-page .header.main.sticky-head,
  .admin-bar .main.sticky-head {
    top: 30px;
  }

  tr.wc-block-cart-items__row {
    gap: 1em;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
  #services-section .tooth-icon {
    width: 10%;
  }
}

@media screen and (min-width: 1400px) {
  .single-product.woocommerce-page div.product div.summary {
    width: 52%;
  }
}