body{
  font-family: "Segoe UI";
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
  font-family: 'Rufina', serif;
}
p{
  color: #6d6d6d;
  font-size: 16px;
  line-height: 1.8rem;
}
/*------------------- Navbar css start -------------------*/
.navbar-dark .navbar-nav .nav-link{
  color: #fff !important;
}
.navbar-expand-lg .navbar-nav .nav-link {
   padding: 15px 1.5rem;
}
.active {
    background-color: #617fab !important;
}
.navbar{
  padding: 0rem 1rem;
}

/* Dropdown Button */
.dropbtn {
  padding:16px;
  font-size: 16px;
  border: none;
  background: transparent;
  color: #fff;
}
.navbar-toggler{
	margin: 5px;
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

.dropbtn a{
  color: #fff;
}
.dropbtn a:hover{
  text-decoration: none;
}
/*------------------- Navbar css end -------------------*/

/*------------------- Slider Css start -------------------*/
.slider-section .carousel-control-prev-icon{
    background-color: #617fab;
    background-image: none;
    width: 45px;
    height: 45px;
    font-size: 25px;
    line-height: 45px;
    display: block;
    border-radius: 50%;
}
.slider-section .carousel-control-next-icon{
    background-color: #617fab;
    background-image: none;
    width: 45px;
    height: 45px;
    font-size: 25px;
    line-height: 45px;
    display: block;
    border-radius: 50%;
}
.slider-section .carousel-item img { 
    height: 400px;
    object-fit: cover;
    object-position: center;
}
/*------------------- Slider css end -------------------*/
/*------------------- About party css start -------------------*/
.title{
  position: relative;
  font-size: 35px;
  color: #2e4683;
}
.about-section .title span::before {
    background-color: #fff;
}
.about-section .title span::after {
    background-color: #fff;
}
.title span {
    font-size: 18px;
    text-align: center;
    margin-top: 15px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 220px;
    margin: 15px auto;
}
.title span::before {
    content: "";
    width: 90px;
    height: 1px;
    display: block;
    background-color: #333;
    position: absolute;
    left: 0px;
}
.title span::after {
    content: "";
    width: 90px;
    height: 1px;
    display: block;
    background-color: #333;
    position: absolute;
    right: 0px;
}

.about-party figure{
    box-shadow: 0 0 15px rgb(0 0 0 / 15%);
    border: solid 1px #eee;
    overflow: hidden;
}
/*------------------- About party css end -------------------*/

/*------------------- About us css start -------------------*/
.about-section {
    background-image: url(../images/cbg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.about-section::before{
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgb(46, 70, 131, 0.8);
  position: absolute;
  left: 0px;
  top: 0px;
}
.about-section .btn-outline-red {
    border: solid 1px #fff !important;
    color: #fff !important;
    position: relative;
}
.about-section p{
  padding: 15px 0;
}
.about-section .title::after{
  background-image: url(../images/icon-white.png);
}
.about-section figure{
  background-color: #fff;
}
.about-section figure img{
  height: 340px;
  object-fit: cover;
  object-position: top;
}
/*------------------- About us css start -------------------*/

/*------------------- Events css start -------------------*/
.events-section figure{
    position: relative;
    overflow: hidden;
}
.events-section figure img {
    height: 320px;
    object-fit: cover;
    object-position: top;
    transition: all 1s ease;
}
.events-section figure img:hover{
  transform: scale(1.1);
}
.events-section.inner .card {
    flex-direction: row;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgb(0 0 0 / 15%);
    border: solid 1px #eee;
}
.events-section.inner figure img {
    height: 220px;
    object-fit: cover;
    object-position: center;
    transition: all 1s ease;
}
.events-section.inner figure img:hover{
   transform: scale(1.1);
}
.events-section.inner figure {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
}
.events-section.inner h5{
  font-size: 1.6rem;
}
.dates{
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dates h6{
    font-size: 35px;
}
.dates strong{
    display: block;
}
.box{
    display: inline-flex;
    font-size: 15px;
}
.dates.dt-current {
    width: 105px;
    position: absolute;
    bottom: 0;
}
.tab {
  float: left;
  width: 100%;
}
.tab button {
  background-color: #fff;
  display: block!important;
  color: black;
  padding: 15px 15px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
  font-size: 17px;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgb(0 0 0 / 15%);
  border: solid 1px #eee;
  border-right: solid 5px #617fab;
}
.tab p {
    margin-bottom: 0;
}
.tab address {
    margin-bottom: 0.5rem;
}
.tab button:hover {
  background-color: #fff;
}
.tab button.active {
  background-color: #fff !important;
}
.tabcontent {
  float: left;
  padding: 0px 12px;
  width: 100%;
  border-left: none;
}
.tabcontent .card{
  box-shadow: 0 0 15px rgb(0 0 0 / 15%);
  border: solid 1px #eee;
}

/*------------------- Events css end -------------------*/

/*---------------- Video gallery css start -------------*/
.photo-gallery figure{
    box-shadow: 0 0 15px rgb(0 0 0 / 15%);
    border: solid 1px #eee;
    overflow: hidden;
    margin-bottom: 0px;
}
.photo-gallery figure img{
  height: 250px;
  object-fit: cover;
  object-position: top;
  transition: all 1s ease;
}
.photo-gallery figure img:hover{
  transform: scale(1.1);
}
.owl-prev{
    width: 40px;
    height: 40px;
    background: #2e4683;
    color: #fff;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 45%;
}
.owl-next{
    width: 40px;
    height: 40px;
    background: #2e4683;
    color: #fff;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    right: 0;
    top: 45%;
}
/*---------------- Video gallery css start -------------*/

/*------------- Video gallery css start ---------------*/
.video-section figure{
    box-shadow: 0 0 15px rgb(0 0 0 / 15%);
    border: solid 1px #eee;
}
.iframe{
  width: 100%;
  height: 240px;  
}
/*------------------- Video gallery css end -------------------*/

/*------------- Footer css start ---------------*/
.footer{
  background-color: #617fab;
}
.footer h5 {
    padding-bottom: 15px;
}
.footer h5::after{
    content: "";
    width: 100px;
    height: 2px;
    background-color: #fff;
    display: block;
    line-height: 2px;
    margin-top: 15px;
}
.address li a:hover {
    text-decoration: none;
}
.address{
  list-style: none;
  padding-left: 30px;
}
.footer .btn-outline-red {
    color: #fff !important;
    border-color: #fff !important;
}
.address li{
  position: relative;
  margin-bottom: 15px;
}
.address li a {
     color: #fff; 
}
.address .fa-phone{
  transform: scaleX(-1);
}
.address li span{
  position: absolute;
  left: -30px;
}
.social-media ul {
    list-style: none;
    padding: 0;
    display: inline-flex;
}
.social-media ul li a{
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 38px;
    border: solid 1px #fff;
    display: block;
    text-align: center;
}
.social-media ul li{
  margin-right: 10px;
}
.social-media h6 {
    padding-bottom: 15px;
    padding-top: 10px;
}
.social-media ul li a:hover {
    background-color: #2e4683;
    border: solid 1px #2e4683;
}
.copyright{
  background-color: #2e4683;
}
/*------------- Footer css end ---------------*/

/*------------------- Button Css start -------------------*/
.bg-red{
  background-color: #2e4683;
}
.btn-outline-red{
  border: solid 1px #2e4683 !important;
  color: #2e4683 !important;
  position: relative;
}
.btn-outline-red::before{
  content: "";
  width: 0%;
  height: 100%;
  background-color: #2e4683;
  position: absolute;
  left: 0px;
  top: 0px;
  transition: width 0.5s;
  z-index: -1;
}
.btn-outline-red:hover::before{
  width: 100%;
}
.btn-outline-red:hover{
  color: #fff !important;
  z-index: 9
}
.btn-black{
  background-color: #617fab;
  color: #fff;
  height: 38px;
}
/*.fa-color{
  color: #eb1b2b;
}*/
.btn-black:hover{
  color: #fff;
}
.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: none;
}
.btn-red{
  background-color: #eb1b2b;
  color: #fff;
  height: 38px;
}
.btn-red:hover{
  color: #fff;
}
.text-red{
  color:#2e4683;
}
#button {
  display: inline-block;
  background-color: #2e4683;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 15px;
  transition: background-color .3s, 
  opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
 z-index: 9999999;
}
#button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#button:hover {
  cursor: pointer;
  background-color: #333;
  text-decoration: none;
}
#button:active {
  background-color: #555;
}
#button.shows {
  opacity: 1;
  visibility: visible;
}


@media (max-width: 500px) {
  #button {
    margin: 30px;
    bottom: 0px;
    right:-15px;
    z-index:9;
  }
  
}
/*------------------- Button Css end -------------------*/

/*------------- Profile css start ---------------*/

.braedcrumb-section{
  height: 400px;
}
.braedcrumb-section img{
    height: 400px;
    object-fit: cover;
    object-position: center;
}
.about-party ol{
  padding-left: 20px;
}
.about-party ol li{
  color: #6d6d6d;
}
.area-detail{
  display: inline-flex;
  flex-wrap: wrap;
}
.area-detail li {
    width: 50%;
    color: #6d6d6d;
    font-size: 14px;
    border-bottom: solid 1px #ddd;
    padding: 8px 10px;
}
.about-party ul li{
    color: #6d6d6d;
    font-size: 14px;
    padding: 8px 0;
}
.about-party.constituency figure {
    margin-bottom: 0;
    overflow: hidden;
}
.gallery .nav-link{
   background-color:#2e4683;
   color: #fff !important;
   border: none;
   border-radius: 0;
}
.tab-content>.active {
    background: transparent !important;
}
.iframes{
  width: 100%;
  height: 350px;
}
.about-party.contact .address li a {
    color: #333;
}
.about-party.contact article{
  height: 390px;
}
.about-party.mani img{
    margin: 10px 0;
    height: 160px;
    object-fit: cover;
    object-position: top;
    transition: all 1s ease;
}
.about-party.mani img:hover{
  transform: scale(1.1);
}
.about-party.newsroom figure img{
  height: 300px;
  object-fit: cover;
  object-position: top;
}
.titles {
    font-size: 25px;
}
.about-party.newsroom p a{
    color:#777;
    margin-top: 10px;
    display: block;  
}
.about-party.newsroom .card{
  margin-bottom: 30px;
}
.copyright p {
    font-weight: 100;
    font-size: 15px;
}
.about-party p {
    text-align: justify;
}
.about-party figure img {
    height: 350px;
    object-fit: contain;
    transition: all 1s ease;
}
.about-party figure img:hover{
	transform: scale(1.1);
}
.about-party.top1 figure img{
	transition: none;
}
.about-party.top1 figure img:hover{
	transform:none;
}
.view-text {
    border: none;
    background: transparent;
    padding: 0;
}
.events-section.inner p{
  margin-bottom: 0px;
}
.tab-content .photo-gallery figure{
	margin-bottom: 20px;
}

/*------------- Team css start ---------------*/

.team .card {
    box-shadow: 0 0 15px rgb(0 0 0 / 15%);
    border: solid 1px #eee;
    margin-bottom: 20px;
    height: 408px;
}
.team .card img{
	height: 230px;
	object-fit: cover;
    object-position: top;
}
.team .card h5{
	color: #2e4683;
	font-size: 20px;
}
.team .card p{
	font-size: 16px;
}
.team .card a{
	font-size: 16px;
}
.team .card a:hover{
	text-decoration: none;
}
.team .card-body{
	overflow-y: auto;
}
/*------------- Team css end ---------------*/

/*------------- Become member css start ---------------*/

 .member .form-control{
 	border-radius: 0px;
    height: 45px;
    color: #7c7b7b;
 }
 .member textarea.form-control {
    height: auto !important;
    padding-top: 10px;
}

/*------------- Become member css end ---------------*/

/*------------------- List of Documents css start -------------------*/
.wrapper{
  width:100%;
}
@media(max-width:992px){
 .wrapper{
  width:100%;
} 
}
.panel-heading {
    padding: 0;
	border:0;
	background-color:#f3f6f9 !important;
}
.panel-title{
  margin-bottom: 0px;
}
.panel-title>a, .panel-title>a:active{
	display:block;
	padding: 25px 20px;
    color:#333;
    font-size:18px;
	text-decoration:none;
	border-bottom: solid 1px #ddd;
}
.panel-heading  a:before {
   font-family: "Font Awesome 5 Free";
   content: "\f078";
   font-weight: bold;
   float: right;
   transition: all 0.5s;
}
.panel-heading.active a:before {
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	transform: rotate(180deg);
} 
.panel-body{
	padding-bottom: 15px;
}
.panel-body ul{
    margin-top: 1rem;
}
.panel-body ul li {
    padding: 5px;
}
/*------------------- List of Documents css end -------------------*/

/*------------- Document detail css start ---------------*/

.document-detail h5{
	margin-bottom: 0px;
	color: #2e4683;
}
.clinics .title{
    width: 100%;
}
.btn-light-blue{
	background-color: #617fab !important;
}
.clinics form{
	width: 30%;
}
.clinics .form-control:focus{
	box-shadow: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  padding: 10px 20px;
}
.clinics th {
    text-align: center;
}

tr:nth-child(even) {
  background-color: #eee;
}

/*------------- Profile css end ---------------*/
