/* Basic UI Fixes */
html {
	scroll-behavior: smooth;
}
body {
	overflow-x: hidden;
}
h3 {
	margin-bottom: 1rem;
}
.hidden {
	visibility: hidden;
}
.accessible-links {
	/* text-indent: -9999px; */
}

embed,
iframe,
object {
	width: 100%;
}

.primary-menu .sub-menu {
	max-height: 414px;
	overflow-y: auto;
}
#action-menu li a {
	color: #fff;
	/* background-color: #ee3124;
	border-color: #ee3124; */
	background-color: #c81b10;
	border-color: #cf1c10;
	display: inline-block;
	font-weight: 600;
	text-align: center;
	vertical-align: middle;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: 0.25rem;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
		border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
		-webkit-box-shadow 0.15s ease-in-out;
}

#action-menu li a:hover {
	color: #fff;
	background-color: #db1e11;
	border-color: #cf1c10;
}

#action-menu li a:focus {
	outline: #8b140c thin dotted;
}

.langswitch {
	margin-left: 20px;
}
.nepaliflag {
	width: 30px;
}

.section-banner {
	padding-top: 2em;
}

.card-gallery .card-image {
	height: 220px;
}

.socialmenu svg {
	width: 48px;
	height: auto;
}
.socialmenu svg.twittsvg {
	width: 38px;
}
.socialmenu a:hover,
.socialmenu a:focus {
	outline: 0;
}

.radio-program-desc {
	margin-bottom: 50px;
}

.career-form-style {
	margin-bottom: 0;
}

.career-form-block .wpcf7-form-control-wrap {
	margin-bottom: 15px;
	display: block;
}

.career-form-block h5 {
	margin-bottom: 15px;
	font-size: 16px;
	font-weight: bold;
}

.wpcf7-not-valid-tip {
	font-size: 80%;
}

.address-wrap .career-form-group {
	padding-bottom: 1px;
}

.card-project:last-child {
	margin-bottom: 1.4rem;
}

.breadcrumb .current {
	margin-right: 10px;
}

#news-carousel {
	margin-left: -2%;
}
#news-carousel .slick-arrow {
	display: none !important;
}
#news-carousel .card-news-wrap {
	padding-left: 6%;
}

#news-carousel .slick-dots li button:before {
	font-size: 12px;
}
.card-news:last-child {
	margin-right: initial;
}

.post-type-archive-publications .card-publication {
	margin-bottom: 34px;
}

.menu-action-menu-container {
	display: flex;
	align-items: center;
}

/* Entry Content */
.entry-content ol {
	margin: 0;
	margin-bottom: 1.5rem;
}

.site-main .entry-footer {
	margin-top: 2em;
	text-transform: uppercase;
}

.section-commitee {
	background: #fdfdfd;
}

.section-commitee .card-message {
	margin-bottom: 2em;
}

.card-message p {
	margin-bottom: 1rem;
}

.card-message p:last-child {
	margin-bottom: 0;
}

table tr td strong {
	font-size: 12px;
	text-transform: uppercase;
}

.entry-content hr {
	margin: 2rem 0;
	border-color: #e9e9e9;
}

.wpcf7-form.failed .wpcf7-response-output {
	color: #856404;
	background-color: #fff3cd;
	border-color: #ffeeba;
}

/* Redcross Search */
.searchbar {
	margin-bottom: 20px;
}
.districtcol h2 {
	margin-bottom: 20px;
}
.districtcol p {
	margin-bottom: 10px;
}

/* Projects */
.project-categories {
	margin-bottom: 50px;
}
.project-categories ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}
.project-categories ul li {
	margin-right: 10px;
	margin-bottom: 10px;
}
.project-categories ul li a {
	padding: 15px 22px;
	border-radius: 3px;
	background: #f6f6f6;
	display: inline-block;
	text-decoration: none;
}

.post-type-archive-projects .project-categories ul li a.allcategory,
.project-categories ul li a.active,
.project-categories ul li a:hover {
	color: white;
	background: #ee3124;
}

/* From the customizer */
.top-nav {
	display: none;
}
.page-template-default .section-publications {
	display: none;
}
.project-categories ul,
.cpt_cat ul {
	flex-wrap: wrap;
}
.project-categories ul li,
.cpt_cat ul li {
	margin-bottom: 10px;
}
.project-categories ul li a,
.cpt_cat ul li a {
	display: inline-block;
	text-decoration: none;
	font-weight: 500;
	text-transform: capitalize;
}
.project-categories ul li a:hover,
.cpt_cat ul li a:hover {
	color: #fff;
	background: #ee3124;
}
.card-project-single .card-body h2 {
	/* max-height: 99px; */
	overflow: hidden;
}

.projects .card-project-single {
	min-height: 224px;
}

.num-pagination li a {
	border-radius: 5px;
}
.num-pagination li a:hover svg g,
.num-pagination li a:focus svg g,
.num-pagination li.active a svg g {
	fill: #ffffff;
}

.contact-info-block {
	margin-bottom: 30px;
	border-radius: 3px;
}

input,
.form-control {
	border-radius: 3px !important;
}

.contact-cards {
	background: #fafafa;
	padding: 3rem 0;
	margin-bottom: 0;
}

.card-publication .card-image {
	background-size: contain;
	background-color: #fafafa;
}
.card-publication .card-body {
	margin-top: 0.85rem;
}

/* Bug fixes */

.wp-block-columns.has-2-columns .wp-block-column:first-child {
	margin-right: 30px;
}

.wp-block-column p {
	margin-bottom: 30px;
}

.redcross_location .card-project-single {
	min-height: 300px;
}

.site-header .alert {
	margin-bottom: 0;
}
.site-header .alert a {
	color: #856404;
}

.nav-action .hotline-number span span:not(.hotline-number-span) {
	font-size: 13px;
}
.nav-action .hotline-number span span {
	color: #575656;
	text-transform: uppercase;
}

.page-header {
	padding: 5rem 0;
	text-align: left;
}

.page-header .entry-meta {
	margin-top: 16px;
}

.page-header-container {
	max-width: 64%;
}

.section-projectsradio .nav-tabs .nav-item .nav-link {
	border-radius: 5px;
}

.section-banner .bannerimg {
	border-radius: 3px;
	width: 100%;
}

.section-banner .publishdate {
	color: #645151;
}

.plyr--audio .plyr__controls {
	border-radius: 5px;
}

.card-news.card-full .card-image,
.card .card-image.default {
	background-size: 30%;
	background-repeat: no-repeat;
	background-color: #fff;
	background-position: center 40%;
}
.card-news.card-full .card-body {
	border-top: 1px solid #f6f6f6;
	border-radius: 0;
}

.card,
.card-gallery {
	border-radius: 5px;
}

.card-gallery .card-image {
	border-radius: 5px;
	border: 0;
}

.card-gallery.card-full .card-body {
	width: 100%;
	bottom: 0;
}

.card-image,
.card-body,
.accordion-wrap .card-header {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.card .collapse .card-body {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.card-gallery .card-body {
	border-radius: 5px;
	background: #f8f8f8;
}

.blog .site-content-wrap,
.post-type-archive-messages .site-content-wrap,
.category .site-content-wrap {
	background-color: #f6f6f6;
}

.widget-message .card {
	padding: 0;
	background: none;
	text-align: left;
}

.widget-message .card .square-icon {
	left: 0;
	border-radius: 50%;
}

.widget-message .card-message > img {
	width: 120px;
	height: 120px;
	margin: 0;
}

.card-message .content {
	margin-top: 2rem;
}

.widget-message .card-message:hover,
.widget-message .card-message:focus {
	box-shadow: none;
}

.widget-message .card-message h1 {
	color: #fff;
}

.card-message .square-icon {
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

.career-form-group {
	padding: 20px 20px 14px;
	background: #f6f6f6;
	border-radius: 3px;
}

.career-form-block h5 {
	color: #808080;
	font-weight: 400;
	text-transform: uppercase;
}

.career-sidebar ul li {
	margin-bottom: 12px;
	padding: 12px 18px;
	border-radius: 4px;
}

.wpcf7-form .career-form-group input,
.wpcf7-form .career-form-group .form-control {
	border: 1px solid #ebebeb;
}

.wpcf7-list-item-label {
	font-size: 14px;
}
.volunteer-radio-button .wpcf7-list-item {
	width: 31%;
	margin: 0;
	margin-right: 2%;
}

.primary-menu .sub-menu {
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

span.wpcf7-not-valid-tip {
	color: #721c24;
	background-color: #f8d7da;
	border-color: #f5c6cb;
	margin: 1rem 0;
	font-size: inherit;
	padding: 0.75rem 1.25rem;
	border: 1px solid #0000;
	border-radius: 0.25rem;
}

#searchInput {
	height: 52px;
	padding: 1rem;
}

.contact-cards .card-contact {
	min-height: 260px;
}

/* Accessibility */
.custom-logo-link:focus {
	outline: thin dotted;
}

.search article .entry-title {
	font-size: 2rem;
	font-weight: 400;
}

.search article {
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border: 1px solid #e1e0e0;
}

.search article:hover,
.search article:focus {
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12);
}

.search article .entry-header,
.search article .entry-summary {
	padding: 1.375rem 1.375rem 1.6rem;
	padding-top: 0;
}

.search article .entry-header {
	padding-top: 1.375rem;
	padding-bottom: 0;
}

.search article .entry-summary {
	padding-bottom: 0;
}

.search article .entry-summary p:last-child {
	margin-bottom: 0;
}

.header-search .search-submit {
	background: #ee3124;
	color: #fff;
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
	position: relative;
	left: -3px;
}

.section-banner .banners {
	align-items: center;
}

.section-banner.section-banner-loading:before {
	background-image: url("../images/ajax-loader.gif");
	z-index: 9;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 1%;
}

.section-banner .bannerdesc {
	padding-right: 3.2%;
}

.slick-next,
.slick-prev {
	background: #ee3124;
	width: 50px;
	height: 50px;
	z-index: 9;
}

.slick-next:hover,
.slick-prev:hover,
.slick-next:focus,
.slick-prev:focus {
	background-color: #db1e11;
	color: #fff;
}

.btn:focus,
.btn-outline-secondary:focus,
.btn-outline-secondary.focus {
	outline: 5px auto -webkit-focus-ring-color;
	box-shadow: none;
}

.socialmenu a:focus,
.card-link:focus,
.section-projectsradio .nav-tabs .nav-item .nav-link:focus,
.card .card-link:focus {
	outline: 5px auto -webkit-focus-ring-color;
}

.button-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
}

.button-wrap .wpcf7-submit {
	margin-right: 20px;
}

.header-search .search-field {
	border: 1px solid #f0f0f0;
	background: #ffffff;
}

.message-cards .card-message {
	display: flex;
	flex-direction: row;
	text-align: left;
	align-items: center;
	margin-right: 2%;
	margin-bottom: 4%;
}

.message-cards .card-message:last-child {
	margin-bottom: 0%;
}

.message-cards .card-message > img {
	margin: 0;
}

.message-cards .card-message .content {
	margin-top: 0;
	margin-left: 1.1rem;
}

.message-cards .card-message .square-icon {
	left: initial;
	right: 6%;
}

.slick-dots li button:before {
	font-size: 12px;
}

#messagecarousel .slick-next,
#messagecarousel .slick-prev {
	width: 40px;
	height: 40px;
}

#messagecarousel .slick-prev {
	left: 0;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

#messagecarousel .slick-next {
	right: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

#messagecarousel .slick-dots {
	bottom: -34px;
}
table {
	font-size: 14px;
}

.entry-content table td,
.entry-content table th {
	padding: 8px;
	vertical-align: top;
}

#site-navigation {
	transition: all 0.4s ease;
}
#site-navigation.sticky {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 99999;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12);
}
.admin-bar #site-navigation.sticky {
	top: 32px;
}

#scroll-top {
	background-color: #ee3124;
	height: 50px;
	width: 50px;
	position: fixed;
	right: 3rem;
	bottom: 7.5rem;
	opacity: 0;
	transition: all 0.4s ease-in;
	visibility: hidden;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	box-shadow: none;
}

#scroll-top:hover,
#scroll-top:focus {
	background-color: #db1e11;
}

#scroll-top:focus {
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#scroll-top.show {
	opacity: 1;
	visibility: visible;
	bottom: 7rem;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12);
}

nav ul .sub-menu {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;

	display: initial;
	opacity: initial;
}

nav ul li:hover > .sub-menu,
nav ul li:focus > .sub-menu {
	display: initial;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul,
.main-navigation ul li.keyboard-dropdown > ul {
	left: 0;
}

.primary-menu li.current-menu-item > a,
.primary-menu li.current-menu-parent > a,
.primary-menu li:hover > a,
.primary-menu li:focus > a {
	color: #c81b10;
}

.contact-info-block .contactmenu span {
	color: #0b0b0b;
	opacity: 0.7;
}

.wpcf7-form label {
	font-weight: 500;
	font-size: 14px;
	text-transform: uppercase;
}

.reqdlabel {
	color: #856404;
}

.site-content div.sharedaddy h3.sd-title {
	font-size: initial;
	font-weight: 500;
	margin-top: 2rem;
	text-transform: uppercase;
	font-size: 75%;
}

.site-content div.sharedaddy h3.sd-title:before {
	display: none;
}

.search-form .search-submit {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}

article.page .entry-content .sd-content ul li:before {
	display: none;
}

.page .card-news-wrap .card-body .sharedaddy {
	display: none;
}

.fr-tabs__tablist {
	width: 100%;
	display: flex;
}

.section-projectsradio .nav-tabs .nav-item .nav-link {
	transition: all 0.3s ease-in;
}

.section-projectsradio .nav-tabs .nav-item .nav-link[aria-selected="true"],
.section-projectsradio .nav-tabs .nav-item .nav-link:hover {
	color: #fff;
	background: #ee3124;
}

.section-projectsradio .tab-content {
	width: 100%;
}

.fr-tabs__panel[aria-hidden="true"] {
	display: none;
}

.mm-menu_offcanvas.mm-menu_opened {
    visibility: visible;
}

/* Media Queries */
@media screen and (max-width: 1200px) {
	.primary-menu > li.menu-item-has-children > a {
		padding: 1.25rem 1.275rem 1.25rem 1rem;
	}
	.primary-menu {
		font-size: 0.85rem;
	}
}
@media screen and (max-width: 992px) {
	.section-banner.section-banner-loading {
		max-height: initial;
	}
	.section-banner .slick-dots {
		bottom: -50px;
		width: 100%;
	}
	.card-news.card-full .card-body {
		margin-bottom: 0;
	}
	#news-carousel {
		margin-left: 0;
	}
	#news-carousel .card-news-wrap {
		padding-left: 0;
	}
	.fb-widget {
		margin: 0 auto;
		margin-bottom: 40px;
		text-align: center;
		background: #f6f7fa;
		padding: 20px;
	}
}

@media only screen and (max-width: 840px) {
	table.responsive {
		margin-bottom: 0;
		overflow: hidden;
		overflow-x: scroll;
		display: block;
		white-space: nowrap;
		font-size: 14px;
	}
}

.for-mobile {
	display: none !important;
	opacity: 0;
}

.entry-content hr {
	margin: 4rem 0 2rem;
}

.entry-content h2 {
	margin: 1.5rem 0;
}
.entry-content h3,
.entry-content h4 {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
	margin-top: 2rem;
	margin-left: 1.5rem;
	margin-bottom: 2rem;
}

.entry-content ul li {
	margin-left: 1.5rem;
	margin-bottom: 0.5rem;
}

.entry-content ol li {
	margin-bottom: 1rem;
}
.card-latest .card-image {
	border-radius: 0;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}

.wp-block-image figcaption {
	background: #fafafa;
	padding: 0.7rem;
	margin-top: 0;
	font-size: 75%;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.card-message > img {
	width: 110px;
	height: 110px;
}

.card-news .card-body,
.card-news.card-full .card-body {
	margin-bottom: 2rem;
}

.section-newsevents .card-news .card-body {
	margin-bottom: 2rem;
}

@media screen and (max-width: 782px) {
	.admin-bar #site-navigation.sticky {
		top: 46px;
	}
}

.mobile-logo {
	opacity: 0;
	transition: all 0.4s ease-in;
	width: 0;
	visibility: hidden;
	position: absolute;
	left: 50%;
	transform: translateX(-40%);
}
@media screen and (max-width: 767px) {
	.for-desktop {
		display: none !important;
	}
	#site-navigation.sticky .mobile-logo {
		opacity: 1;
		width: auto;
		visibility: visible;
	}
	.mobile-logo img {
		max-height: 40px;
		width: auto;
	}
	.for-mobile {
		display: flex !important;
		opacity: 1;
	}
	.page-header-container {
		max-width: 84%;
	}
	.nav-action .hotline-number {
		padding: 0;
	}
	#action-menu li {
		margin-right: 16px;
	}
	.menu-action-menu-container {
		display: flex;
		align-items: center;
	}
	.langswitch {
		margin-left: 0;
	}
	.section .calltoaction {
		margin-bottom: 24%;
	}
	.section.text-left .section-title {
		display: block;
	}
	.section.text-left .section-title a {
		display: inline-block;
	}
	.section-title.link span {
		display: block;
		margin-bottom: 20px;
	}
	.card-project {
		flex-direction: column;
	}
	.section-publications .card:last-child {
		margin-bottom: 2em;
	}
	.site-info .copyright {
		margin-bottom: 0;
	}
	.slick-next,
	.slick-prev {
		display: none;
		visibility: hidden;
	}
	#scroll-top {
		bottom: 4.5rem;
	}
	#scroll-top.show {
		bottom: 4rem;
	}
}
