/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #d79c2e;
    --light: #EEF9FF;
    --dark: #36454f;
}

body {
    overflow-x: hidden;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

nav .logo-img {
    height: 55px;
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

/* @media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
} */

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(https://www.rdicdental.com/assets/front/images/custom/carousel-1.jpg) center center no-repeat;
    background: linear-gradient(rgba(9, 30, 62, .60), rgba(9, 30, 62, .60)), url(https://www.rdicdental.com/assets/front/images/custom/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(https://www.rdicdental.com/assets/front/images/custom/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background:url(https://www.rdicdental.com/assets/front/images/custom/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(https://www.rdicdental.com/assets/front/images/custom/carousel-2.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.bg-video-testimonial {
    position: relative;
}
.bg-video-testimonial::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://www.rdicdental.com/assets/front/images/custom/carousel-2.jpg);
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: -1;
}

.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 50px;
    height: auto;
}

/* My Custom */
.navbar-light .navbar-toggler {
    border-color: var(--primary) !important;
}
.bg-primary {
    background-color: var(--primary) !important;
}
.bg-secondary {
    --bs-bg-opacity: 1;
    background-color: var(--secondary) !important;
}
.bg-dark {
    background-color: var(--dark) !important;
}
.text-primary {
    color: var(--primary) !important;
}
.btn-primary {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}
.btn-secondary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}
.btn-light {
    color: #000;
    background-color: #EEF9FF;
    border-color: #EEF9FF;
}

.top-shape a {
    color: #fff;
    text-decoration: none;
}
.top-shape a:hover {
    text-decoration: underline;
}


.form-control,
.form-select {
  height: 60px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 300;
  padding: 10px 15px;
  border-color: #BABDC0;
}
@media (max-width: 767px) {
  .form-control,
.form-select {
    height: 50px;
    font-size: 16px;
    padding: 15px;
  }
}
.form-control:focus,
.form-select:focus {
  box-shadow: none;
}
.form-control::-moz-placeholder, .form-select::-moz-placeholder {
  color: #747B81;
}
.form-control:-ms-input-placeholder, .form-select:-ms-input-placeholder {
  color: #747B81;
}
.form-control::placeholder,
.form-select::placeholder {
  color: #747B81;
}

.form-check-input:focus {
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.form-check-danger {
  background-color: #f62947;
  border-color: #f62947;
}
.form-check-danger:checked {
  background-color: #f62947;
  border-color: #f62947;
}

.form-check-success {
  background-color: #0ac074;
  border-color: #0ac074;
}
.form-check-success:checked {
  background-color: #0ac074;
  border-color: #0ac074;
}

.form-lg-check {
  width: 24px;
  height: 24px;
  margin-top: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  color: #747B81;
  font-size: 14px;
  font-weight: 300;
}

.form-textarea {
  height: 160px;
}

.input-group-text {
  border-radius: 10px;
  width: 60px;
  justify-content: center;
  border-color: #ffffff;
  background-color: #ffffff;
}

.form-control-transparent {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;
}
.form-control-transparent::-moz-placeholder {
  color: #ffffff;
}
.form-control-transparent:-ms-input-placeholder {
  color: #ffffff;
}
.form-control-transparent::placeholder {
  color: #ffffff;
}
.form-control-transparent:focus {
  background-color: transparent;
  border-color: #ffffff;
}

.border-top-primary {
  border-top: 1px solid #fe8065;
}

.z-index-1 {
  z-index: 1;
}

.required:after {
  content: "*";
  position: relative;
  font-size: inherit;
  color: #F62947;
  font-weight: 400;
}

.fs-small {
  font-size: 14px;
}

.hide-arrow::after {
  content: none;
}

.hide {
  display: none;
}

#valid-msg {
  color: green;
  margin-left: 2px;
}

#error-msg {
  color: red;
  margin-left: 2px;
}

.hero-testimonial-header {
    background: linear-gradient(rgba(9, 30, 62, .60), rgba(9, 30, 62, .60)), url(https://www.rdicdental.com/assets/front/images/custom/rdic-testimonial.jpg) center center no-repeat;
    background-size: cover;
    padding: 150px 0;
}
.hero-gallery-header {
    background: linear-gradient(rgba(9, 30, 62, .60), rgba(9, 30, 62, .60)), url(https://www.rdicdental.com/assets/front/images/custom/rdic-testimonial.jpg) center center no-repeat;
    background-size: cover;
    padding: 150px 0;
}

/*.gallery .portfolio-menu{
    text-align:center;
}
.gallery .portfolio-menu ul li{
    display:inline-block;
    margin:0;
    list-style:none;
    padding:10px 15px;
    cursor:pointer;
    -webkit-transition:all 05s ease;
    -moz-transition:all 05s ease;
    -ms-transition:all 05s ease;
    -o-transition:all 05s ease;
    transition:all .5s ease;
    border-color: var(--primary);
    color: var(--primary);
}
.gallery .portfolio-menu ul li.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.gallery .portfolio-menu ul li:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.gallery .portfolio-item{
    width:100%;
}
.gallery .portfolio-item .item{
    float:left;
    margin-bottom:10px;
}*/


.gallery .portfolio-item {
  column-count: 4;
  column-gap: 10px;
}

.gallery .portfolio-item img {
  max-width: 100%;
  display: block;
}

.gallery .portfolio-item figure {
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  margin-bottom: 10px;
  break-inside: avoid;
}

.gallery .portfolio-item figure > img {
  grid-row: 1 / -1;
  grid-column: 1;
}

.gallery .portfolio-item figure a {
  color: black;
  text-decoration: none;
}

.gallery .portfolio-item figcaption {
  grid-row: 2;
  grid-column: 1;
  background-color: rgba(255,255,255,.5);
  padding: .2em .5em;
  justify-self: start;
}
.mfp-close {
    cursor: pointer !important;
}

@media only screen and (min-width: 576px) and (max-width: 991px) {
    .portfolio-item {
      column-count: 3;
    }
}
@media only screen and (max-width: 575px) {
    .portfolio-item {
      column-count: 2;
    }
}

#couponModal .modal-dialog {
    max-width: 500px;
}
#couponModal .modal-dialog .modal-content {
    border-radius: 0 !important;
}
#couponModal .modal-dialog .modal-content .modal-body .container {
    margin: 0;
    padding: 0;
}
#couponModal .modal-dialog .modal-content .modal-body .container .closeOuter {
    width: 100%;
    display: flex;
    justify-content: end;
}
#couponModal .modal-dialog .modal-content .modal-body .container .closeOuter .close {
    font-size: 24px;
    background-color: transparent;
    border-color: transparent;
    padding: 0;
}
#couponModal .modal-dialog .modal-content .modal-body .container .closeOuter .close:hover {
    color: #A6A6A6;
}
#couponModal .modal-dialog .modal-content .modal-body .container .coupon-yes-button, 
#couponModal .modal-dialog .modal-content .modal-body .container .coupon-no-button {
    min-width: 90%;
}
#couponModal .modal-dialog .modal-content .modal-body .container .coupon-yes-button {
    font-weight: 700;
    margin: 10px 0;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
}
#couponModal .modal-dialog .modal-content .modal-body .container .coupon-no-button {
    margin: 10px 0;
    background-color: transparent;
    border: none;
    color: #163b49;
    font-size: 0.8rem;
    text-decoration: underline;
}
#couponModal .modal-dialog .modal-content .modal-body .container h2 {
    font-weight: 900 !important;
    letter-spacing: 0.2px !important;
}
#couponModal .modal-dialog .modal-content .modal-body .container hr {
    height: 5px;
    color: var(--secondary) !important;
    opacity: 1;
}
#couponModal .modal-dialog .modal-content .modal-body .container p {
    font-size: larger;
    margin-bottom: 50px;
}

@media screen and (max-width: 576px) {
    #couponModal .modal-dialog .modal-content .modal-body .container .coupon-yes-button {
        font-size: inherit;
    }
    #couponModal .modal-dialog .modal-content .modal-body .container .coupon-no-button {
        font-size: 0.7rem;
    }
    #couponModal .modal-dialog .modal-content .modal-body .container p {
        font-size: inherit;
        margin-bottom: 20px;
    }
}

/** Css by Virender **/
.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}


/*  ----------------Highlights CSS--------------  */

.content-sec {
  font-size: 16px;
  margin-bottom: 0;
  line-height: 28px;
}
.highlights-block .progress-title {
  line-height: 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 26px;
  margin-bottom: 15px;
  color: #040F3D;
}
.progress-title span{
  color: var(--primaryColor);
  line-height: 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.img-right{
  padding-left: 50px;
}
.img-left{
  padding-right: 50px;
}
.img-right img{
  width: 500px;
  height: 350px;
  object-fit: cover;
  border-top: 15px solid var(--primaryColor);
  border-left: 15px solid var(--primaryColor);
}
.img-left img{
  width: 500px;
  height: 350px;
  object-fit: cover;
  border-top: 15px solid var(--primaryColor);
  border-right: 15px solid var(--primaryColor);
}
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.blinking-star {
  display: inline-block;
  font-size: 24px;
  color: gold;
  animation: blink 3s infinite, rotate 5s infinite linear;
  position: absolute;
  top: -5px;
  left: -1px;
}
@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@media (max-width:767px) {
  .order-mb .col-md-6:first-child {
  order: 2;
}
.order-mb .col-md-6:last-child {
  order: 1;
}
.highlights-block .progress-title {
  margin-bottom: 15px;
  font-size: 18px;
}
 .progress-title span{
  font-size: 18px;
}
.highlights-block .progress-title {
  line-height: 28px;
}
.content-sec {
  font-size: 14px;
  line-height: 23px;
}
.img-right{
  padding-left:calc(var(--bs-gutter-x) * .5);
}
.img-left{
  padding-right: calc(var(--bs-gutter-x) * .5);
}
.img-right img{
  width: 100%;
  height: auto;
  border-top: none;
  border-left: none;
  
}
.img-left img{
  border-top: none;
  border-right: none;
  width: 100%;
  height: auto;
}
.blinking-star{
  display: none !important;
}
}

/*  ----------------Highlights CSS End!--------------  */