@media only screen and (max-width:340px) {
.top-header .btn{
  font-size: 11px !important;
  height: 31px !important;
}
}
@media only screen and (max-width:480px) {
.top-header .text-right{
	text-align: center !important;
}
.btn-black{
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    height: 35px;
}
.navbar-brand{
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}
.about-party figure img{
	object-fit: cover;
}
.about-party.top1 figure img {
    object-fit: contain;
}
.slider-section .carousel-item img { 
    height: auto;
    object-fit: cover;
    object-position: center;
}
.about-party.py-5.top1{
  padding-top: 1rem!important;
}
.first-btn.px-4 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}
.top-header .btn{
  font-size: 14px;
}
.about-party.newsroom figure img {
    height: 220px;
}
.photo-gallery figure img {
    height: 200px;
}
}

@media only screen and (max-width:767px) {
.about-party figure img {
    height: 240px;
}
.member .px-4{
    padding-left: .5rem!important;
    padding-right: .5rem!important;
}
.about-section label{
	display: block;
    word-break: break-word;
    text-align: justify;
}
.member .py-5{
    padding-top: 2rem!important;
    padding-bottom: 2rem!important;
}
.panel-title>a, .panel-title>a:active{
    font-size: 15px;
}
.document-detail .text-right{
  text-align: left !important;
  margin-top: 15px;
}
.braedcrumb-section {
    height: auto;
}
.braedcrumb-section img{
    height: auto;
}
.navbar-collapse{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    top: 50px;
    background: #2e4683;
}
.dropbtn {
  padding:10px 1.84rem;
}
.events-section.inner .card {
    flex-direction: column;
}
.events-section.inner .pl-0{
    padding-left: 0px !important;
    padding-right: 0px !important;
}
.dropdown {
  text-align: center;
  border-bottom: solid 1px #fff;
}
.dates.dt-current {
    width: 80px;
    position: absolute;
    bottom: 0;
    height: 90px;
}
.iframes {
    height: 300px;
}
.about-party.contact article {
    height: auto;
    padding: 1.5rem!important;
    margin-bottom: 20px;
}
.dates h6 {
    font-size: 20px;
}
.events-section.inner h5 {
    font-size: 1rem;
    padding-top: 15px;
}
.navbar-expand-lg .navbar-nav .nav-link {
    padding: 8px 1.84rem;
    border-bottom: solid 1px #fff;
    text-align: center;
}
.about-party.constituency h4{
    padding-top: 15px;
}
.about-party figure {
    margin-top: 20px;
}
.about-party.constituency .row:nth-child(odd) {
    flex-direction: column-reverse;
}
.about-party.achievements .row:nth-child(odd) {
    flex-direction: column-reverse;
}
#about-party .row:nth-child(odd) {
    flex-direction: column-reverse;
}
#manifesto .row:nth-child(odd) {
    flex-direction: column-reverse;
}
#scheme .row:nth-child(odd) {
    flex-direction: column-reverse;
}
#manifesto h4{
    padding-top: 20px;
}
#scheme h4{
    padding-top: 20px;
}

.about-party p{
    text-align: justify;
    word-break: break-all;
}
.tab h5 {
    padding-top: 15px;
}
.tabcontent { 
    padding: 0px 0px; 
    margin-bottom: 15px;
}
.events-section figure img {
    height: 240px;
}
.title {
    font-size: 22px;
}
.footer h5 {
    padding-top: 20px;
}
.slider-section .carousel-control-prev-icon, .slider-section .carousel-control-next-icon { 
    width: 30px;
    height: 30px;
    font-size: 14px;
    line-height: 30px;
}
}

@media only screen and (min-width:568px) and (max-width:767px) {
.first-btn.px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
}


@media only screen and (min-width:768px) and (max-width:991px) {
.about-party.contact article {
    padding: 1.5rem!important;
}
.about-section label{
	display: block;
	word-break: break-all;
}
.braedcrumb-section {
    height: auto;
}
.braedcrumb-section img{
    height: auto;
}
.about-party .row:nth-child(odd) {
    flex-direction: column-reverse;
}
.about-party.mani .row:nth-child(odd) {
    flex-direction: inherit;
}
.about-party.top1 .row:nth-child(odd) {
    flex-direction: inherit;
}
.about-party figure img {
    height: 400px;
    object-fit: cover;
}
.about-party.top1 figure img {
    height: auto;
    object-fit: contain;
}
.about-party h4{
    margin-top: 20px;
}
.navbar-collapse{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    top: 50px;
    background: #2e4683;
}
#manifesto h4{
    padding-top: 20px;
}
#scheme h4{
    padding-top: 20px;
}
.dropdown {
  text-align: center;
  border-bottom: solid 1px #fff;
}
.dropbtn {
  padding:10px 1.84rem;
}
.about-party.constituency .row:nth-child(odd) {
    flex-direction: column-reverse;
}
.title {
    font-size: 30px;
}
.events-section.inner .dates.dt-current {
    width: 80px; 
    height: 90px;
}
.navbar-expand-lg .navbar-nav .nav-link {
    padding: 10px 1.84rem;
    border-bottom: solid 1px #fff;
    text-align: center;
}
.events-section h5{
    font-size: 1rem;
}
.dates h6 {
    font-size: 20px;
}
.tabcontent {
    padding: 0px 0px;
    margin-bottom: 20px;
}
}

@media only screen and (min-width:1024px) and (max-width:1170px) {
.navbar-expand-lg .navbar-nav .nav-link {
    padding: 15px 0.8rem;
}
.about-section label{
	display: block;
	word-break: break-all;
}
.title {
    font-size: 28px;
}
.dates h6 {
    font-size: 25px;
}
}


@media only screen and (min-width:1600px) and (max-width:1920px) {
.container{
    max-width: 90%;
}
.title {
    text-align: center;
}
.slider-section .carousel-item img { 
    height: 500px;
    object-fit: cover;
    object-position: center;
}
.events-section figure img {
    height: 350px;
    object-fit: cover;
    object-position: top;
}
.iframe {
    width: 100%;
    height: 350px;
}
.photo-gallery figure img {
    height: 350px;
    object-fit: cover;
    object-position: top;
}
}
@media only screen and (min-width:1920px) and (max-width:2300px) {
.navbar-expand-lg .navbar-nav .nav-link {
    padding: 15px 3.7em;
}
}
