body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f1f1f1;
}

.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%;
  left: -100px;
  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;
}

.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;
  overflow: hidden;
}

.title {
  width: 10%;
  text-align: center;
  background: #e90c0c;
  color: aliceblue;
  position: relative;
}

.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;
  
}

.wrapper{
  width: 450px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.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: 5px;
}

.cat_six_img-container {
  width: 390px;
  height: 200px;
  max-width: 100%;
  object-fit: cover;
}
.cat_six_ads_image{
  width: 390px;
  height: 200px;
  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;
}

.cat_one_upper_image{
  max-width: 95%;
  width: 500px;
  height: 270px;
}
.footer_ep_header{
  margin-top: 40px;
}
.cat_three_lower_image{
  width: 205px;
  max-width: 95%;
  height: 135px;
}
.cat_five_lower_image{
  width: 221px;
  max-width: 95%;
  height: 147px;
}
.category_main_img{
  width: 350px;
  max-width: 100%;
  height: 200px;
}
.news_list_img{
  width: 500px;
  max-width: 95%;
  height: 300px;
}

.specialsec_img{
  max-width: 95%;
  height: 120px;
  width: 244px;
}
.newspost_right_img{
  width: 170px;
  max-width: 95%;
  height: 95px;
}

@media only screen and (max-width: 1280px) {
  
  .specialsec_header{
    font-size: 35px;
    color: #0ce93c;
  }
  .specialsec_text{
    font-size: 15px;
  }
  .col-md {
       padding-right: 0px; 
     padding-left: 0px;
  }
  .specialsec_img{
    height: 94.13px;
    width: 167px;
   
  }
  .specialsec_mid_img{
    height: 188px;
    width: 334px;
   
  }
.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{
  max-width: 95%;
  width: 325px;
  height: 183px;
}
.cat_one_upper_image:hover{
  max-width: 100%;
}
.cat_one_lower_image{
  max-width: 100%;
  width: 166px;
  height: 108px;
}
.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_image{
  width: 170px;
  max-width: 95%;
  height: 100px;
}
.cat_two_lower_text{
  font-size: 12px;
}
.cat_three_lower_image{
  width: 170px;
  max-width: 95%;
  height: 100px;
}
.cat_three_lower_text{
  font-size: 12px;
}

.cat_four_image{
  width: 208px;
  max-width: 95%;
  height: 130px;
}
.cat_four_text{
  font-size: 12px;
}

.cat_five_upper_image{
  width: 350px;
  max-width: 95%;
  height: 200px;
}
.cat_five_lower_image{
  width: 175px;
  max-width: 95%;
  height: 100px;
}
.cat_five_text{
  font-size: 12px;
}
.cat_six_img-container {
  width: 200px;
  object-fit: cover;
  max-width: 100%;
  height: 130px;
}
.imagetitle {
  font-size: 12px;
}
.category_main_img{
  width: 300px;
  max-width: 100%;
  height: 150px;
}
.footer_img{
  width: 180px;
  max-width: 95%;
  height: 104px;
}
.newspost_right_img{
  width: 150px;
  max-width: 95%;
  height: 84px;
}
.newspost_right_text{
  font-size: 12px;
}

.news_list_img{
  width: 500px;
  max-width: 95%;
  height: 300px;
}
.footer_ep_header{
  margin-top: 40px;
}
.cat_six_ads_image{
  width: 200px;
  height: 130px;
  max-width: 100%;
}
}