body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #fcfcfc;
}

.top-container {
  background-color: #f1f1f1;
  padding: 10px;
  text-align: center;
}

.custom_icon {
  background: url('http://127.0.0.1:8000/frontend/Capital-Logo.png');
  height: 100px;
  width: 100px;
  display: block;
}

.header {
  padding: 10px 16px;
  background: #555;
  color: #f1f1f1;

}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: 0px;
  margin-left: 0px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
}

.tapst .sticky+.content {
  padding-top: 102px;
  margin-top: 1000px;
}

.dropdown-item {
  border: 1px;
  background: none;
  font-size: 20px;
  cursor: pointer;
  transition: 0.8s;
  position: relative;
  overflow: hidden;
}

.dp-item {
  color: #f00a30;

}

.dp-item:hover {
  color: aliceblue;
  background-color: #f00a30;
  transition: 3s;
}

.dropdown-item::before {
  content: "";
  position: absolute;
  left: 0;
  width: 0%;
  height: 100%;
  background: #f00a30;
  z-index: -1;
  transition: 2s;
}

.dp-item::before {
  left: 0;
  border-radius: 0 50% 50% 0;
}

.dp-item:hover::before {
  width: 180%;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 600px;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: inside;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 0.25rem;
}

@media (max-width: 1300px) {
  .dropdown-item {
    border: 1px;
    background: none;
    font-size: 15px;
    cursor: pointer;
    transition: 0.8s;
    position: relative;
    overflow: hidden;
}

.dropdown-item {
    display: block;
    width: 100%;
     padding: 0.29rem 6.8px !important;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 520px;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: inside;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 0.25rem;
}
}


.nav-link {
  font-size: 18px;
}

.navbar-brand {
  font-size: 18px;
}

.ticker {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 30px;
  margin: 0 auto;
  line-height: 0.8;
}

.news {
  width: 90%;
  background: #E3E3E3;
  padding: 0 2%;
}

marquee {
  width: 100%;
  overflow: hidden;
  background: #e3e3e3;
  list-style: none;
  display: inline-block;
  padding: 0;
  margin-bottom: 12px;
  min-height: 35px;
  max-height: 35px;
}

.title {
  width: 10%;
  text-align: center;
  background: #e90c0c;
  color: aliceblue;
  position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .title {
    width: 20%;
    /* make it bigger on small screens */
    font-size: 14px;
  }

  .news {
    width: 80%;
    padding: 0 1%;
  }

  marquee {
    font-size: 14px;
    min-height: 30px;
    max-height: 30px;
  }
}

.special_img-container {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.imagetitle {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.specialsec_img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.specialsec_text {
  font-size: 14px;
  color: #222;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .imagetitle {
    font-size: 14px;
    padding: 8px;
  }

  .specialsec_text {
    font-size: 13px;
  }
}

.title:after {
  position: absolute;
  content: "";
  top: 0;
}

.title h5 {
  font-size: 18px;
  margin: 8% 0;
  text-align: center;
}

.news marquee {
  font-size: 18px;
  margin-top: 10px;

}

.vertical {
  border-left: 6px solid black;
  height: 100%;
  position: absolute;
  left: 50%;
}

.text {
  text-align: justify;
  font-family: Verdana;

}

.custom_container {
  margin: 25px 1px 10px 1px;
  width: 100%;


}

.custom_img {
  float: left;
  width: 70%;
  height: 150px;
  padding: 0 10px 0 0;
  border-radius: 10px;
}

img {
  border-radius: 10px;
}

/* @media only screen and (max-width: 300px) {
  .custom_img{
    width:70%;
  }

}  */

.tabContainer {
  width: 100%;
  height: 700px;
}

.tabContainer .buttonContainer {
  height: 50px;
}

.tabContainer .buttonContainer button {
  width: 50%;
  height: 100%;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px;
  font-family: sans-serif;
  font-size: 18px;
  background-color: #eee;
}

.tabContainer .buttonContainer button:hover {
  background-color: #d7d4d4;


}

.tabContainer .tabPanel {
  width: 100%;
  height: 100%;
  background-color: gray;
  color: white;
  text-align: left;
  padding-top: 5px;
  box-sizing: border-box;
  font-family: sans-serif;
  font-size: 10px;
  display: none;
  overflow: auto;

}

.tabContainer .tabPanel a i {
  color: white;
  font-size: 20px;
  font-style: bold;
  padding-left: 17px;

}

.tabContainer .tabPanel a h2 {
  color: white;
  font-size: 15px;
  font-style: bold;
  margin-top: 5px;
  padding-left: 10px;
}

.tabContainer .tabPanel a h1 {
  color: white;
  font-size: 15px;
  font-style: bold;
  margin-top: 5px;
  padding-left: 10px;
}

.tabContainer .tabPanel a h3 {
  color: white;
  font-size: 15px;
  font-style: bold;
  margin-top: 5px;
  padding-left: 10px;
}

a {
  color: black;
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: rgb(8, 0, 0);
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: blue;
  background-color: transparent;
  text-decoration: none;
  transition: 2s;
}

small,
p:not(a):hover {
  color: black;
}

p,
small:not(a):hover {
  color: black;
}

.tabContainer .tabPanel a:visited {
  color: white;
  background-color: transparent;
  text-decoration: none;
}

.tabContainer .tabPanel a:hover {
  color: blue;
  text-decoration: none;
  background-color: transparent;

}

.content .container .row .col-md a h2 {
  font-size: 20px;
  font-weight: bold;
}

.content .container .row .col-md a:hover {
  color: blue;
  text-decoration: none;
  background-color: transparent;

}

.card .intro {
  height: 70px;
  box-sizing: border-box;
  position: absolute;
  background: rgb(27, 27, 27);
  color: #d7d4d4;
  height: 200px;
  padding: 6px;
  bottom: -130px;
  transition: 1s;
  opacity: 90%;


}

.intro h1 {
  margin: 10px;
  font-size: 20px;
  color: #d7d4d4;
}

.intro h2 {
  margin: 10px;
  font-size: 20px;
  color: #d7d4d4;
}

.intro h3 {
  margin: 10px;
  font-size: 20px;
  color: #d7d4d4;
}

.intro p {
  margin: 10px;
  font-size: 20px;
  color: #d7d4d4;
}

.intro p:hover {
  margin: 10px;
  font-size: 15px;
  color: #d7d4d4;
}

.intro small {
  margin: 10px;
  font-size: 15px;
  color: #d7d4d4;
}

.intro small:hover {
  margin: 10px;
  font-size: 15px;
  color: #d7d4d4;
}

.card {
  overflow: hidden;
  height: 250px;
  box-shadow: 5px 5px 20px rgb(0, 0, 0);
  margin: 10px;
}

.card img {
  height: 250px;
  border-radius: 3px;
}

.nine_container {
  display: flex;
}

.intro p {
  margin: 10px 0 0 20px;
  font-size: 15px;
  visibility: hidden;
  opacity: 0;
}

.card:hover {
  cursor: pointer;
}

.card:hover .intro {
  height: 220px;
  bottom: 0px;
  background: rgb(27, 27, 27);
}

.card:hover p {
  opacity: 1;
  visibility: visible;

}

.pageheaderone {
  font-weight: bold;
  color: #e90c0c;
}

.pageheaderone:hover {
  transition: 2s;
  color: #0ce93c;
  font-weight: bold;

}

.imgbig:hover {
  width: 105%;
  transition: 1s;

}

.bg-denger {
  background: #ff0000;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  color: white;
}

.wrapper {
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  margin: 3px;
}

.wrapper header {
  display: flex;
  align-items: center;
  padding: 25px 30px 10px;
  justify-content: space-between;
}

header .icons {
  display: flex;
}

header .icons span {
  height: 38px;
  width: 38px;
  margin: 0 1px;
  cursor: pointer;
  color: #878787;
  text-align: center;
  line-height: 38px;
  font-size: 1.9rem;
  user-select: none;
  border-radius: 50%;
}

.icons span:last-child {
  margin-right: -10px;
}

header .icons span:hover {
  background: #f2f2f2;
}

header .current-date {
  font-size: 1.45rem;
  font-weight: 500;
}

.calendar {
  padding: 20px;
}

.calendar ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  text-align: center;
}

.calendar ul a {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  text-align: center;
}

.calendar .days {
  margin-bottom: 20px;
}

.calendar li {
  color: #333;
  width: calc(100% / 7);
  font-size: 1.07rem;
}

.calendar a {
  color: #333;
  width: calc(100% / 7);
  font-size: 1.07rem;
}

.calendar .weeks li {
  font-weight: 500;
  cursor: default;
}

.calendar .days li {
  z-index: 1;
  cursor: pointer;
  position: relative;
  margin-top: 30px;
}

.calendar .days a li {
  z-index: 1;
  cursor: pointer;
  position: relative;
  margin-top: 30px;
}

.days li.inactive {
  color: #aaa;
}

.days li.active {
  color: #fff;
}

.days li::before {
  position: absolute;
  content: "";
  left: 50%;
  top: 50%;
  height: 40px;
  width: 40px;
  z-index: -1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.days a li::before {
  position: absolute;
  content: "";
  left: 50%;
  top: 50%;
  height: 40px;
  width: 40px;
  z-index: -1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.days li.active::before {
  background: #9B59B6;
}

.days li:not(.active):hover::before {
  background: #f2f2f2;
}

.path-block:hover {
  fill: rgb(113, 113, 113)
}

.cat_six_image-container {
  position: relative;
  margin: 8px;
}

.cat_six_img-container {
  width: 390px;
  height: 200px;
  max-width: 100%;
  object-fit: cover;
}

.cat_six_ads_image {
  width: 240px;
  height: 208px;
  max-width: 100%;
}

.imagetitle {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 20px;
  border-radius: 10px;
}


.footer_ep_header {
  margin-top: 40px;
}


.category_main_img {
  width: 350px;
  max-width: 100%;
  height: 200px;
}

.news_list_img {
  width: 500px;
  max-width: 95%;
  height: 300px;
}

@media (max-width: 1300px) {
  .news_list_img {
    height: auto;
  }
}

@media only screen and (max-width: 1280px) {

  .specialsec_header {
    font-size: 35px;
    color: #d50000;
  }

  .specialsec_text {
    font-size: 15px;
  }

  .col-md {
    padding-right: 0px;
    padding-left: 0px;
  }


  .latestsec_left_img {

    width: 448px;
    height: 252px;
    margin-top: 33px;
    border-radius: 20px;

  }

  .latestsec_right_img {
    width: 200px;
    height: 140px;
    max-width: 95%;
  }

  .title h5 {
    margin-top: 15px;
  }

  .cat_one_upper_image:hover {
    max-width: 100%;
  }

  .cat_one_lower_image:hover {
    max-width: 100%;
  }

  .cat_one_lower_text {
    font-size: 12px;
  }

  .calendar .weeks li {
    font-weight: 500;
    font-size: 12px;
    cursor: default;
  }

  .cat_one_cal_head_text {
    font-size: 22px;
  }

  .col,
  .col-1,
  .col-10,
  .col-11,
  .col-12,
  .col-2,
  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-9,
  .col-auto,
  .col-lg,
  .col-lg-1,
  .col-lg-10,
  .col-lg-11,
  .col-lg-12,
  .col-lg-2,
  .col-lg-3,
  .col-lg-4,
  .col-lg-5,
  .col-lg-6,
  .col-lg-7,
  .col-lg-8,
  .col-lg-9,
  .col-lg-auto,
  .col-md,
  .col-md-1,
  .col-md-10,
  .col-md-11,
  .col-md-12,
  .col-md-2,
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9,
  .col-md-auto,
  .col-sm,
  .col-sm-1,
  .col-sm-10,
  .col-sm-11,
  .col-sm-12,
  .col-sm-2,
  .col-sm-3,
  .col-sm-4,
  .col-sm-5,
  .col-sm-6,
  .col-sm-7,
  .col-sm-8,
  .col-sm-9,
  .col-sm-auto,
  .col-xl,
  .col-xl-1,
  .col-xl-10,
  .col-xl-11,
  .col-xl-12,
  .col-xl-2,
  .col-xl-3,
  .col-xl-4,
  .col-xl-5,
  .col-xl-6,
  .col-xl-7,
  .col-xl-8,
  .col-xl-9,
  .col-xl-auto {
    padding-right: 0px;
    padding-left: 0px;
  }

  .cat_two_lower_text {
    font-size: 12px;
  }

  .cat_three_lower_text {
    font-size: 12px;
  }


  .cat_four_text {
    font-size: 12px;
  }


  .cat_five_text {
    font-size: 12px;
  }

  .imagetitle {
    font-size: 12px;
  }
}

.newspost_right_img {
  width: 150px;
  max-width: 95%;
  height: 84px;
}

.newspost_right_text {
  font-size: 12px;
}


.footer_ep_header {
  margin-top: 40px;
}

.cat_six_ads_image {
  width: 240px;
  height: 208px;
  max-width: 100%;
}


@media (min-width: 924px) and (max-width: 1366px) {
  .nav-link {
    font-size: 14px;
  }
}

.ad-img {
  width: 100%;
  max-width: 350px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.specialsec_img {
  width: 100%;
  height: 153px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 2px;
}

@media (max-width: 1300px) {
  .specialsec_img {
    height: auto;
    padding: 4px;
  }
}

.specialsec_img2 {
  width: 100%;
  height: 108px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 2px;
}

@media (max-width: 1300px) {
  .specialsec_img2 {
    height: auto;
    padding: 4px;
  }
}

.big_img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 2px;
}

/* On screens >=1300px, make height auto */
@media (max-width: 1300px) {
  .big_img {
    height: auto;
  }
}

