body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  --btnColor: #3071a9
}

/* .main-container nav{
    background-color:#0d6efd !important;
} */

.accordion-button b {
  width: 100%;
}

/* .dropdown-toggle::after {
  display: none
} */
.navbar-brand {
  color: #fff !important;
  text-align: left;
}

.main-container nav a {
  color: #000;
}

.tooltip-text-para img {
  width: 100%;
  height: 318px;
  object-fit: fill;
}

.tooltip-text-para p {
  padding: 14px 0 0;
  font-size: 16px;
}

a {
  cursor: pointer;
  color: #007bff;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  text-decoration: underline;
}

.main {
  padding: 0px 20px;
}

.cards {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  text-align: center;
}

.card {
  border: none;
  padding: 5px 0px;
  /* text-align: center; */
  /* background-color: #edf6fa; */
  /* width: 100% !important; */
}

.card .inner-div {
  background-color: #fff;
}

.card .description h5 {
  text-align: start;
}

.card .description p {
  text-align: justify;
  padding: 0 4px;
}

.card .description {
  background-color: #fefefe;
}

.card .description h5 {
  text-align: start;
}

.card .description p {
  text-align: justify;
}

.card p {
  margin-bottom: 0.5rem;
  padding: 0px 7px;
}

.card-link-box div {
  padding: 0px 7px;
}

.card .img-container,
.card .animation-container {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  column-gap: 0.5rem;
  width: 100%;
}

.main-para {
  background-color: green;
  color: #000;
  padding: 10px 11px 1px;
  font-size: 17px;
}

.card .img-container img,
.card .animation-container img {
  /* width: 100%;
    height: auto; */
  flex-grow: 1;
  flex-shrink: 0;
  width: 48%;
  object-fit: cover;
  object-position: center;
  height: 400px;
}

.quiz-container {
  padding: 10px;
  background-color: #fff;
  text-align: left;
}

.quiz-container h3 {
  text-align: center;
}

.quiz-container .question {
  font-weight: bold;
  margin-bottom: 10px;
}

.quiz-container .options {
  margin-bottom: 20px;
}

.quiz-container .option {
  display: block;
  margin-bottom: 10px;
}

.quiz-container .option input {
  margin-right: 10px;
}

.quiz-container .button {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--btnColor);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
  transition: background-color 0.3s;
  margin-right: 10px;
}

.quiz-container .button:hover {
  background-color: var(--btnColor);
}

.quiz-container .result {
  margin: 10px 0;
  font-weight: bold;
}

.quiz-container .hide {
  display: none;
}

.result .correct-ans {
  margin-bottom: 0;
  color: green;
}

.result .wrong-ans {
  margin-bottom: 0;
  color: red;
}

.result .answer-text {
  margin-bottom: 0;
}

.btn-container {
  margin: 1%;
}

.btn-container a {
  padding: 4px 17px 7px;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.link-container a img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

.card .space-container {
  height: 20px;
  width: 100%;
}


.custom-select {
  /* min-width: 350px; */
  position: relative;
}

select {
  appearance: none;
  /*  safari  */
  -webkit-appearance: none;
  /*  other styles for aesthetics */
  width: 100%;
  font-size: 1.15rem;
  padding: 0.25em 2.5em 0.25em 0.5em;
  background-color: #fff;
  border: 1px solid #caced1;
  border-radius: 0.25rem;
  color: #000;
  cursor: pointer;
}

select option {
  width: 40px;
}

/* .dropdown-toggle::after{display:none} */

.custom-select::before,
.custom-select::after {
  --size: 0.3rem;
  content: "";
  position: absolute;
  right: 1rem;
  pointer-events: none;
}

.custom-select::before {
  border-left: var(--size) solid transparent;
  border-right: var(--size) solid transparent;
  border-bottom: var(--size) solid black;
  top: 40%;
}

.custom-select::after {
  border-left: var(--size) solid transparent;
  border-right: var(--size) solid transparent;
  border-top: var(--size) solid black;
  top: 55%;
}

.navbar-brand {
  font-size: 14px;
  display: flex;
  align-items: center;
  white-space: pre-wrap;
  word-wrap: break-word;
  white-space: normal;
  display: block;
}

.navbar-brand img {
  /* height: 15px; 
  width: 130px;*/
  display: block;
}

.dropdown-menu {
  min-width: 100%;
}

.nav-band-center-text {
  font-size: 22px;
  color: black;
  font-weight: 600;
  text-align: center;
  line-height: 25px;
}

.accordion-item {
  border: 0 !important;

}

.accordion-body {
  padding: 0;
}

.accordion-button {
  background-color: #ebe3e3;
}

.accordion-button:focus {
  box-shadow: rgb(13 110 253 / 0%) 0px 0px 0px 0.25rem;
}

.img-container-1 {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  column-gap: 0.5rem;
  width: 101%;
}

.card-box {
  width: 100%;
  border: 1px solid #ccc;
}

.card-box img {
  flex-shrink: 0;
  width: 100%;
  height: 300px;
}

.card-box p {
  padding: 5px;
}

.card-box a {
  text-decoration: none;
  color: #000;
}

.card-1 {
  text-align: left !important;
}

.new-code-updated {
  display: flex;
  justify-content: space-around;
}

.go-two {
  background-color: rgb(0 123 220);
  border-radius: 34px;
  border: 0;
  font-size: 18px;
  border-top: 0;
  border-bottom: 3px solid #e1d3d3;
  color: #fff !important;
  font-weight: bold;
  padding: 5px 14px;
  height: max-content;
}

.go-two:hover {
  background-color: #00adef !important;
  color: #fff;

}

.h2_1 {
  font-size: 28px;
}


.btn-check:focus+.btn,
.btn:focus {
  outline: 0px !important;
  box-shadow: rgb(0 66 253 / 0%) 0px 0px 0px 0.25rem !important;
}

.header_new {
  display: flex;
  justify-content: space-between;
  padding: 14px;
  border-bottom: 1px solid #ccc;
}

.logo_aid {
  width: 77px;
}

.new-double-img {
  width: 17px;
}

.accordion-button:not(.collapsed) {
  color: #000000;
}

.accordion-button:not(.collapsed) {
  color: #000;
  background-color: #ebe3e3;
}

.accordion-button {
  background-color: #ebe3e3;
}

.accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-image: url(https://eurekahomes.org/pages/single-down-arrow.png) !important;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform .2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
  background-image: url(https://eurekahomes.org/pages/single-down-arrow.png) !important;
  transform: rotate(-180deg);
}

/* 12/28/23 */
.navbar .container-fluid {
  display: grid;
  /* grid-template-columns: 80px 1fr; */
  /* grid-template-columns: 1fr 1fr 1fr;
  width: 700px; */
  padding: 0 5px;
}


@media (width <=992px) {
  .navbar-collapse {
    position: absolute;
    left: 0px;
    top: 65px;
    background: #0d6efd !important;
    width: 100%;
    z-index: 1;
  }

  .nav-band-center-text {
    font-size: 28px;
    /* text-align: right; */
  }

  .navbar-brand img {
    left: 6px;
    width: 60px;
  }

  .navbar-toggler {
    padding-left: 0px;
    padding-right: 0px;
    outline: none;
    box-shadow: none;
  }

  .navbar-toggler:focus {
    box-shadow: none !important;
  }



  .navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 14px;
  }
}

@media (width <=768px) {
  .nav-band-center-text {
    font-size: 24px;
  }

  .navbar-brand img {
    width: 60px;
  }
}


@media screen and (max-width: 767px) {

  .card .img-container img,
  .card .animation-container img {
    height: 250px;
  }

  .link-container a img {
    height: 250px;
  }

  .go-two {
    padding: 3px 1px 5px 8px;
    font-size: 11px;
  }

  .nav-band-center-text {
    font-size: 11px;
  }

  .logo_aid {
    width: 41px;
  }
}

.card-box img {
  height: 300px;
}

@media (width <=768px) {
  .navbar-collapse {
    top: 56px;
  }

  /* .nav-band-center-text {
    font-size: 24px;
} */
  .navbar-brand img {
    width: 60px;
    left: 8px;
  }

  .nav-band-center-text {
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .nav-band-center-text span {
    font-size: 100% !important;
  }

  /* 12/28/23 */
  /* .navbar .container-fluid {
    display: grid;
    grid-template-columns: 0fr 2fr 1fr;
  } */

  .new-double-img {
    width: 10px;
  }

  .d-flex {
    text-align: right !important;
    display: block !important;
  }

  .card .img-container img,
  .card .animation-container img {
    height: 200px;
  }

  .h2_1 {
    font-size: 21px;
  }

  .link-container a img {
    height: 200px;
  }

  select {
    padding-right: 1.5rem;
    padding-left: 0.3rem;
    /* font-size: 1rem; */
  }

  .custom-select::before,
  .custom-select::after {
    right: 0.5rem;
  }

  .custom-select::before {
    top: 34%;
  }

  .go-two {
    padding: 3px 1px 5px 4px;
    font-size: 11px;
  }



  .nav-band-center-text {
    line-height: 18px !important;
  }

  .donar-text {
    line-height: 20px !important;
  }

  .logo_aid {
    width: 71px;
  }


  .navbar-brand img {
    width: 53px;
    left: 8px;
  }

  .navbar-light .navbar-toggler-icon {
    width: 23px;
  }

  .card-box {

    width: 48%;
  }

}

@media (width <=425px) {

  .new-education {
    justify-content: center !important;
    position: relative;
  }

  .new-double-img {
    width: 10px;
  }

  .card-box img {
    height: 157px;
  }



  .h2_1 {
    font-size: 21px;
  }

  /* .nav-band-center-text {
    text-align: center !important;
    line-height: 1.2;
  } */

  .nav-band-center-text>span {
    display: block;
  }

  .card-box {

    width: 48%;
  }

  select {
    font-size: 1rem;
  }

  .navbar-brand img {
    left: 3px;
  }

  .go-two {
    padding: 3px 1px 5px 4px;
    font-size: 11px;
  }

  .nav-band-center-text {
    font-size: 18px;
    /* text-align: right; */
  }

  .logo_aid {
    width: 71px;
  }
}

.navbar {
  flex-wrap: nowrap !important;
}

tbody,
td,
tfoot,
th,
thead,
tr {
  border: 1px solid;
}

.d-flex {
  display: contents !important;
  text-align: right;
}

.navbar-toggler {
  display: none !important;
}

.karaikal-main-schools-subview {
  width: 700px;
  text-align: center;
  background-color: #fff;
}

.bg-color-white {
  background-color: #fff;
  padding: 26px 4px 16px;
}

.carousel-item-1 img {
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  height: 390px;
  /* margin: 3px; */
}

.carousel-item img {
  border: 2px solid #ccc;
  border-radius: 10px;
  width: 100%;
  height: 390px;
  object-fit: fill;
  /* margin: 3px; */
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  border: 3px solid #cb0000;
  background-color: #cb0000 !important;
  border-radius: 32px;
}

.sr-only {
  display: none;
}

.carousel-control-next,
.carousel-control-prev {
  opacity: 1 !important;
}

.carousel-indicators li {
  border-radius: 50px;
  width: 12px;
  height: 12px;
  background-color: #fff;
  border: 1px solid;
  opacity: 1;
  margin: 0 4px;
}

.carousel-indicators li.active {
  background-color: #CB0000;
}

.l2r-card-img img {
  width: 100% !important;
  height: 158px !important;
}

/* .l2r-card-img .col-md-4 {
padding: 0;
} */
.l2r-card-img {
  justify-content: center;
  --bs-gutter-x: 6px;
}

.double-btn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 2% 0;
  align-items: center;
}

.double-btn a {
  color: #fff !important;
  display: inline-block;
}


.card-link-box {
  width: 48%;
  border: 1px solid #ccc;
  flex-grow: 1;
  flex-shrink: 0;
}

.card-link-box img {
  width: 100% !important;
  object-fit: fill !important;
  object-position: center;
}

.card-link-box a {
  text-decoration: none;
  color: #000;
}

.l2r-card-img a {
  text-decoration: none;
}

.primary-middle-btn {
  background-color: rgb(203, 0, 0);
  border-radius: 30px;
  padding: 3px 29px 7px;
  color: rgb(255, 255, 255);
  font-size: 20px;
  font-weight: 600;
  border: 2px solid #fff;
  box-shadow: 0px 0px 4px 0px #00000082;
}

.table-responsive {
  height: 443px !important;
}

.table thead th {
  border-bottom: 2px solid #000 !important;
}

.table-bordered th,
.table-bordered td {
  border: 1px solid #000 !important;
  font-size: 16px;
  text-align: center;
  color: #000;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #555;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #ccc;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}

::-webkit-scrollbar:horizontal {
  height: 5px;
}

::-webkit-scrollbar-thumb:horizontal {
  background: #ccc;
}

.main-image img {
  border: 2px solid #FFF;
  border-radius: 12px;
  width: 100%;
  height: 400px;
}

.video-thumbnails {
  position: relative;
  cursor: pointer;
}

.video-thumbnails span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 0.25rem #333333);
  background-color: #ff4343;
  border-radius: 50%;
}

.video-thumbnails span i {
  font-size: 50px;
  color: #e4e4e4;
  border-radius: 50%;
}

.main-link {
  background: #fff;
  padding: 3%;
  margin: 5% 0;
  border-radius: 12px;
  box-shadow: 0px 0px 7px 0px #00000082;
  /* text-align: center; */
  /* display: flex; */
  /* justify-content: center; */
  /* align-items: center; */
}

.main-link a {
  font-size: 20px;
}

.content {
  font-size: 22px;
  line-height: 30px;
}

.btngrp {
  background: linear-gradient(180deg, #ffffff69 0, #fff 80%);
  height: 200px;
  position: relative;
  margin: -200px calc(var(--space2)* -1) var(--space4);
  z-index: 999;
  bottom: 80px;
}

.btngrp button {
  position: absolute;
  left: 35%;
  bottom: 45px;
  border: 1px solid black;
  background-color: green;
  color: #fff;
  border-radius: 9px;
  padding: 7px 48px 11px;
}

.tooltip {
  position: relative;
  display: inline-block;
  opacity: 1 !important;
  z-index: 9;
}

.main11 {
  display: flex;
  justify-content: center;
  background-color: #0a9de4;
  width: 700px;
  padding: 10px 10px;
  margin: 0 auto;
}

.main12 {
  background: #ad068f;
  margin: 0 auto;
  padding: 10px;
  color: #fff;
  width: 700px;
}

.main-text-left {
  text-align: left;
}

.main-text-center {
  text-align: center;
}

.main-text-right {
  text-align: right;
}

.donar-text span {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 100%;
  background-color: #000;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 87%;
  left: 0;
  /* margin-left: -76px; */
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 15px;
  white-space: pre-line;
  display: block;
  /* width: max-content;
    max-width: 200px; */
}

.dropdown-toggle::after {
  font-size: 26px;
}

.dropdown-toggle {
  white-space: nowrap;
  display: flex;
  align-items: center;
}

/* .dropdown::after {
  position: absolute;
  top: 21px;
  right: -8px;
  display: inline-block;
  margin-left: .255em;
  vertical-align: .255em;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
  color: #fff;
  font-size: 24px;
} */

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  /* top: -15px; */
  bottom: -15px;
  left: 50%;
  margin-left: -5px;
  border-width: 8px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
  /* rotate: 180deg; */
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.new_h4 {
  font-size: 16px;
  background: #0a2f40;
  padding: 10px;
  color: #fff;
  text-align: center;
}

.main-pdf iframe {
  width: 100%;
}

.modal-header .close {
  color: #000;
  opacity: 1;
  border: 0;
  background: transparent;
  font-size: 28px;
  padding: 0
}

.p_class_para {
  font-size: 20px;
  text-align: center;
  font-weight: 600;
  margin: 0;
  color: #000;
}

.normal-view-img img {
  width: 100%;
  padding: 0px;
  height: 300px;
  border: 2px solid #CB0000;
  border-radius: 12px;
  margin-bottom: 5%;
}

.navbar {
  display: block;
  width: 700px;
  margin: 0 auto;
}

table {
  background-color: #FFF;
}

.test {
  white-space: nowrap;
  width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.test:hover {
  overflow: visible;
}

.name {
  background: #ccc;
  color: #000;
  background: #ccc;
  font-weight: bold;
  margin: 0;
  padding: 10px 1px;
  line-height: 17px;
  width: 100%;
  font-weight: 400;
  text-overflow: ellipsis;
  margin-bottom: 12px;
  cursor: pointer;
  word-break: break-all;
  overflow: hidden;
  white-space: nowrap;

}

.name:hover {
  overflow: visible;
  white-space: normal;
}

.popup_header {
  background-color: #ccc;
}

#video {
  width: 100%;
  height: 400px;
}

.video_view_text {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

/* .main_three_btn {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  align-items: center;
} */
.main_three_btn {
  display: flex;
  width: 700px;
  justify-content: space-between;
}

/* .main_three_btn a:hover {
  text-decoration: none;
} */
.dropdown-item {
  font-size: 18px;
  font-weight: 600;
}

.three_btn {
  color: #000;
  font-size: 18px;
  font-weight: 600;
  text-overflow: ellipsis;
  cursor: pointer;
  word-break: break-all;
  overflow: hidden;
  white-space: nowrap;
  max-width: 146px;
  display: block;
  text-decoration: none;
}

.three_btn:hover {
  text-decoration: underline;

}

.dropdown-item.active,
.dropdown-item:active {
  color: #000 !important;
  background-color: transparent !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: transparent;
}

.main-link li {
  list-style: circle;
  margin-bottom: 10px;
}

.main-link li:last-child {
  margin-bottom: 0;
}

@media (max-width:767px) {
  .popover {
    transform: translate3d(0px, 536.328px, 24px) !important;
    max-width: 90%;
    left: 5% !important;
  }
}

@media (max-width:375px) {
  .popover {
    transform: translate3d(0px, 536.328px, 24px) !important;
    max-width: 90%;
    left: 5% !important;
  }
}

@media (max-width: 480px) {
  .main11 {

    width: 358px;
  }

  .main12 {

    width: 358px;
  }

  .navbar {
    display: block;
    width: 358px;
  }

  .dropdown-item {
    font-size: 14px;
  }

  .donar-text span {
    margin: 0;
    font-size: 16px !important;
    line-height: 21px !important;
  }

  .btngrp button {
    left: 18%;
  }

  .three_btn {
    font-size: 13px;
  }

  .navbar .container-fluid {
    display: grid;
    /* grid-template-columns:60px 1fr 68px; */
    padding: 0 px;
  }

  #video {
    width: 100%;
    height: 182px;
  }

  .tooltip .tooltiptext {
    margin-left: 11px;
    font-size: 9px;
  }

  .tooltip-text-para img {
    width: 100%;
    height: 245px;
    object-fit: fil
  }

  .double-btn {
    margin: 1% 0;
  }

  .main-image img {
    height: 289px;
  }

  .primary-middle-btn {
    padding: 3px 10px 3px;
    font-size: 15px;
  }

  .karaikal-main-schools-subview {
    width: 100%;
  }

  .carousel-item-1 img {
    height: 241px;
  }

  .carousel-item img {
    height: 241px;
  }
}