

/*
Author: XpeedStudio
Author URI: http://themeforest.net/user/XpeedStudio/portfolio
*/

/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
	body {
		font-size: 14px;;
	}
	.header-transparent .nav-menu li a, 
	.xs-box .nav-menu li a {
		padding: 60px 9px;
	}
}

/* Portrait tablets and small desktops */
@media  (max-width: 992px) {
	html {
		font-size: 90%;
	}
	/* margin bottom list  */
	.xs-btn-wraper a ,
	.xs-archive-content ,
	.xs-archive-image img ,
	.xs-text-content ,
	.xs-feature-image ,
	.xs-service-promo ,
	.xs-event-image ,
	.xs-partner-content ,
	.xs-single-journal ,
	.footer-widget ,
	.xs-feature-text-content ,
	.xs-feature-image-box.image-1 ,
	.xs-single-funFact-v3 ,
	.xs-about-feature ,
	.xs-single-funFact ,
	.xs-single-team ,
	.xs-event-schedule-widget .widget-title ,
	.xs-event-wraper ,
	.xs-post-footer .post-tags ,
	.xs-single-children ,
	.xs-nav-pills ,
	.xs-single-pricing-table ,
	.xs-volunteer-form-wraper.volunteer-version-2 ,
	.xs-contact-section-v2 .xs-contact-form-wraper ,
	.xs-contact-details ,
	.nav-menu {
		margin-bottom: 30px;
	}
	.xs-archive-image .xs-mb-30 {
		margin-bottom: 0;
	}
	/* ipad overlay */
	.xs-ipad-overlay {
		position: relative;
	}
	.xs-ipad-overlay::before {
		position: absolute;
		content: "";
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
		background-color: rgba(0, 0, 0, 0.6);
	}
	/* menus */
	.header-transparent .xs_nav-portrait .nav-toggle:before {
		background-color: #ffffff;
		box-shadow: 0 0.5em 0 0 #ffffff, 0 1em 0 0 #ffffff;
	}
	.header-transparent .nav-menu li a .submenu-indicator-chevron {
		border-color: transparent #333333 #333333 transparent;
	}
	.xs_nav-portrait .nav-menus-wrapper {
		margin-left: 0;
		margin-right: 0;
	}
	.xs_nav-portrait .nav-menus-wrapper-close-button {
		margin: 0 0 0 auto;
	}
	.header-transparent .nav-brand, 
	.xs-box .nav-brand {
		
		line-height: 1;
		margin-top: 20px;
		margin-bottom: 20px;
	}
	.header-transparent .nav-menu li a, 
	.xs-box .nav-menu li a {
		padding: 15px 15px;
		color: #333333;
	}
	.xs-header .nav-menus-wrapper {
		flex-direction: unset;
	}
	.nav-menus-wrapper [class*="col-"] {
		max-width: 100%;
		flex: 0 0 100%;
	}
	/* .header-transparent .nav-menu, .xs-box .nav-menu {
		margin-bottom: 30px;
	} */
	.xs-top-bar.top-bar-second:before, .xs-top-bar.top-bar-second:after {
		display: none;
	}
	/*  welcome section  */
	.xs-welcome-wraper h2 {
		font-size: 3.64286em;
	}
	/* section heading */
	.xs-heading .xs-title:before {
		display: none;
	}
	.xs-line-title:before {
		display: none;
	}
	.xs-heading .xs-btn-wraper {
		text-align: left;
	}
	.xs-heading .xs-title {
		font-size: 2.28571em;
	}
	/* section padding */
	.xs-section-padding ,
	.xs-about-v2 ~ .xs-popularCauses-v2 {
		padding: 60px 0;
	}
	.xs-content-section-padding {
		padding: 50px 0;
	}
	/* archive */
	.xs-archive-content {
		padding-left: 0;
		padding-right: 0;
		align-content: center;
	}
	.xs-funfact-list li span {
		font-size: 0.65714em;
	}
	.xs-archive-image {
		margin-left: 0;
		margin-right: 0;
	}
	.xs-archive-image img {
		width: 100%;
	}
	/* causes */
	.xs-popular-item .xs-item-header img {
		width: 100%;
	}
	/* text content */
	.xs-text-content {
		padding-right: 0;
	}
	/* feature image */
	.xs-feature-image img {
		width: 100%;
	}
	/* feature content */
	.xs-feature-content, .xs-feature-content-v2 {
		padding: 90px 20px;
	}
	.xs-feature-content h2, 
	.xs-feature-content-v2 h2 {
		font-size: 2.28571em;
		margin-bottom: 0;
	}
	/* feature box */
	.xs-feature-box {
		padding: 80px 30px;
		min-height: 250px;
	}
	.xs-feature-box.highlight {
		min-height: 350px;
	}
	.xs-feature-box-fulid {
		margin-top: 0;
	}
	/* voulnteer */
	.xs-volunteer-form-wraper {
		padding: 20px;
	}
	.xs-big-sub-title, .xs-volunteer-form-wraper h2 {
		font-size: 1.88571em;
	}
	/* event */
	.xs-single-event {
		margin-left: 0;
		margin-right: 0;
	}
	.xs-event-image img {
		width: 100%;
	}
	/* journal */
	.xs-single-journal .entry-thumbnail img {
		width: 100%;
	}
	/* footer */
	.xs-copyright-text p {
		margin-bottom: 15px;
		text-align: center;
	}
	.xs-footer-menu {
		text-align: center;
	}
	/* index version 2 */
	/* xs box menu */
	.xs-header.xs-box .xs_nav-portrait {
		height: 44px;
	}
	.xs-header.xs-box .nav-menu li a {
		padding: 15px 15px;
	}
	.xs-header.xs-box .xs-top-bar ~ .nav-menus-wrapper .xs-logo-wraper {
		margin-top: 0;
	}
	.xs-header.xs-box .nav-menus-wrapper .xs-logo-wraper {
		margin-top: 0;
		margin-bottom: 20px;
	}
	.xs-header.xs-box .xs-navs-button {
		text-align: center;
		height: auto;
	}
	/* xs top bar */
	.xs-top-bar .xs-top-social {
		float: left;
		margin-bottom: 0;
		margin-right: 30px;
	}
	.xs-top-bar .xs-top-bar-mail {
		float: left;
		margin-right: 0;
		margin-top: 1px;
	}
	/* about */
	.xs-about-v2 {
		margin-bottom: 30px;
	}
	.xs-about-content-img {
		width: 100%;
	}
	.xs-about-content {
		padding: 30px 15px 0;
	}
	/* xs full width */
	.xs_nav-portrait {
		position: relative;
	}
	.xs-header.xs-fullWidth .nav-brand {
		padding: 13px 0;
		text-align: center;
		margin: 13px 0;
	}
	.xs-header.xs-fullWidth .nav-menu li a {
		padding: 15px 15px;
	}
	/* index version 3 feauture text content */
	.xs-feature-image-box.image-2 {
		margin-top: 0;
	}
	/* causes */
	.xs-causes-footer {
		padding: 20px;
	}
	/* event single */
	.xs-horizontal-tabs .tab-content .tab-pane .xs-unorder-list li:last-child {
		margin-bottom: 15px;
	}
	.xs-event-schedule-widget ,
	.xs-horizontal-tabs .tab-content {
		padding: 30px;
	}
	/* blog single */
	.sidebar-right .widget {
		margin-left: 0px;
	}
	.xs-blog-post-comment {
		margin-bottom: 40px;
	}
	.widget_call_to_action img {
		width: 100%;
	}
	/* children */
	.xs-single-children img {
		width: 100%;
	}
	.xs-donation-form-wraper {
		padding-left: 0px;
		margin-top: 30px;
	}
	/* donate-now.html */
	.xs-children-section {
		padding-bottom: 20px;
	}
	.xs-what-we-do-box {
		padding-bottom: 50px;
	}
	.xs-donation-form-images img {
		width: 100%;
	}
	/* FAQ */
	.xs-newsletter-content {
		padding: 40px;
	}
	.xs-newsletter-form [type="submit"] {
		width: 100%;
		height: 50px;
	}
	.xs-newsletter-form {
		height: auto;
	}
	.xs-newsletter-form input:not([type="submit"]) {
		width: 100%;
		height: 50px;
		margin-bottom: 15px;
		border-right: 2px solid rgba(255, 255, 255, 0.6);;
	}
	/* mission.html */
	.xs-fature-causes-deatils {
		margin-top: 30px;
	}
	.xs-fature-causes-deatils h3 {
		font-size: 2em;
		line-height: 1.5;
	}
	.xs-call-to-action h3 {
		font-size: 2em;
		line-height: 1.5;
	}
	.xs-causes-images img {
		width: 100%;
	}
	/* service.html */
	.xs-service-slider-content {
		padding: 0 15px;
	}
	.xs-service-slider-content h2 {
		font-size: 2.5em;
	}
	.xs-service-grow h4 {
		padding-top: 20px;
		padding-left: 0px;
	}
	/* volunteer */
	.xs-volunteer-form-wraper.volunteer-version-2 {
		padding-top: 0px;
	}
	/* contact.html */
	.xs-contact-container {
		padding: 30px;
	}
	.xs-contact-section-v2 {
		padding-bottom: 20px;
	}
}
/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
	html {
		font-size: 80%;
	}
	/* menus */
	/* header top bar */
	.xs-header.xs-box .xs_nav-portrait {
		height: 64px;
	}
	.xs-top-bar .xs-top-social {
		float: left;
		margin-bottom: 15px;
	}
	.xs-top-bar .xs-top-bar-mail {
		float: left;
		margin-right: 0;
	}
	.xs-header .nav-menus-wrapper {
		flex-direction: unset;
	}
	/* event single */
	.xs-horizontal-tabs .nav-tabs .nav-item {
		width: 100%;
	}
	.xs-blog-post-details .xs-padding-40 ,
	.xs-blog-post-comment.xs-padding-40 {
		padding: 30px;
	}
	.xs-post-footer .post-tags, 
	.xs-post-footer .post-author, 
	.xs-author-block .post-tags, 
	.xs-author-block .post-author {
		float: none;
		width: 100%;
	}
	.xs-post-footer .share-items, 
	.xs-post-footer .post-content, 
	.xs-author-block .share-items, 
	.xs-author-block .post-content {
		float: none;
		width: 100%;
		text-align: left;
	}
	.xs-social-list li, .xs-social-list-v2 li {
		margin: 0 10px 15px 0;
	}
	.xs-blog-post-comment .children {
		padding-left: 15px;
	}
}

/* Landscape phones and smaller */
@media (max-width: 480px) {
	html {
		font-size: 65%;
	}
}

@media (max-width: 320px) {
	html {
		font-size: 60.5%;
	}
}


/* ------------------------------------------------------------------

Lea's additional code 

--------------------------------------------------------*/

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: inline;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Photo */
.myslides-photo {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 40%;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* ------------------------------------------------------------------

Lea's additional code - making carousel inside the activities

--------------------------------------------------------*/


.hidden {
  overflow: hidden;
  display: none;
  visibility: hidden;
}




.btn-gallery{
	color: #ffffff;
	background-color: #18bfc3;
    font-size: 0.8571428571em;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .3px;
    border-radius: 50px;
	box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.1);
	border: 0;
	position: relative;
    overflow: hidden;
    z-index: 1;
	transition: all .4s ease;
	display: inline-block;
	text-align: center;
    white-space: nowrap;
	vertical-align: middle;
	user-select: none;
	outline: none;
	box-sizing: border-box;
	padding: 16px 39px;
}

.btn-gallery:hover{
	color:#fff;
	background-color:#041D57;
	border-color:#041D57}


/* ------------------------------------------------------------------

Pedro's additional code - making navigation always present

--------------------------------------------------------*/

#navigation {
	width:100%;
	height: 0px;
	-webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

.sticky {
	position: fixed;
	top: 0;
	padding-bottom: 81px !important;
	height: 0px;
	background-color: white !important;
	filter: drop-shadow(8px 0px 16px rgba(0, 0, 0, 0.2));
}

.header-transparent .nav-menu li a {
	padding-top: 30px !important;
	padding-bottom: 30px !important;
}

.header-transparent .sticky .nav-menu li a {
	color: black;
	
}

.sticky li a:hover, .sticky li a:active {
    color: white;
}

.header-transparent .active, .dot:hover {
	background-color: #717171;
	color: white !important;
}


.header-container {
	padding-left: 4%;
	padding-right: 4%;
}

.header-transparent .nav-brand, .xs-box .nav-brand { 
	background-image: url(../images/logo-bg.png); 
	background-size: contain; 
	background-repeat: no-repeat; 
	background-position: top;
	min-width: 130px;
}


.header-transparent .nav-brand, .xs-box .nav-brand::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 -10px 0 white;
}

.nav-brand img {
	vertical-align: top;
}

.btn {
	padding: 16px 20px;
}

.nav-donate {
	min-width: 100px;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25% !important; /* 16:9 */
	padding-top: 25px !important;
	height: 0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	margin:0 auto;
	overflow:hidden;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    border-radius: 4px;
}

.xs_nav-portrait .nav-logo>img {
	margin: auto;
}

.hide-on-bigscreen {
	display: none;
}
.display-none {
	display: none;
  }

@media (max-width: 992px) {

	.nav-toggle {
		padding: 20px 2px 0;
	}

	.no-scroll .sticky {
		
		padding-bottom: 100% !important;
		background-color: transparent !important;
		filter: none;
	}

	.no-scroll #navigation {
		-webkit-transition: all 0s linear;
		-moz-transition: all 0s linear;
		-o-transition: all 0s linear;
		transition: all 0s linear;
	}

	.nav-menus-wrapper .nav-brand {
		display: none;
	}

	.no-scroll .xs-navs-button {
		justify-content: center !important;
		padding-bottom: 20px;
	}

	.sticky .nav-toggle:before {
		background-color: #333333 !important;
		box-shadow: 0 0.5em 0 0 #333333, 0 1em 0 0 #333333 !important;
	}

	.header-transparent .nav-brand, .xs-box .nav-brand::before {
		content: "";
		position: absolute;
		top: -20px;
		bottom: 0;
		left: 0;
		right: 0;
		box-shadow: 0 -10px 0 white;
	}

	.nav-menus-wrapper {
		position: fixed;
	}
	

	.header-transparent .nav-brand, .xs-box .nav-brand img {
		max-width: 17%;
		min-width: 135px;
		height: auto;

	}

	.hide-on-bigscreen {
		display: block;
	}

}

.xs-heading .xs-title {
	z-index: auto !important;
}

.mySlides {display:none;width: 100%;}
.w3-content {
	height: 330px;
    overflow: hidden;
    border-radius: 4px;
}

@media (max-width: 1200px) {
	.w3-content {
		height: 280px;
	}
}

@media (max-width: 992px) {
	.w3-content {
		height: 370px;
	}
}

@media (max-width: 770px) {
	.w3-content {
		height: 300px;
	}
}

@media (max-width: 435px) {
	.w3-content {
		height: 200px;
	}
}
.w3-left, .w3-right, .w3-badge {cursor:pointer;}
.w3-badge {height:13px;width:13px;padding:0;}

.partnertypes, .partnertypes li {
	padding:20px;
}

.xs-feature-image img, .xs-event-image, .xs-box-shadow, .xs-info-list i, .xs-back-to-top {
	border-radius: 4px;
	overflow: hidden;
}

@media (min-width: 992px) {
	.xs-feature-box.highlight {
		border-radius: 4px;
	}
}

@media (min-width: 2200px) {

	.header-transparent .nav-brand, .xs-box .nav-brand {
		background-image: url(../images/logo-bg.png);
		background-size: cover;
		background-repeat: no-repeat;
		background-position: bottom;
		min-width: 130px;
	}
	.nav-brand img {
		vertical-align: top;
		max-height: 70%;
	}
}
  
.dropdown-content a {
background-color: #f1f1f1;
color: black !important;
padding: 12px 16px;
text-decoration: none;
display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover #navwhereweare, .nav-menu a:hover, .xs-round-nav {
	background-color: #18BFC4;
	color: #FFFFFF !important;
}


@media (min-width: 992px) {
	.dropdown-content {
		display: none;
		position: absolute;
		min-width: 160px;
		box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
		z-index: 1;
		}
}



.xs-entry-date .entry-date-day {font-size: 1.8em;}
.xs-entry-date .entry-date-month {font-size: 1.4em;}
.xs-info-list li {
	width: 100%;
}

.partnerlist {
	margin: 0;
    padding: 0;
    list-style: inside;
}

.partnerlist li {
	margin: 0;
    padding: 0;
    list-style: inside;
}

.joinus-mode-promo span {
    color: white;
    display: inline-block;
    margin-bottom: 30px;
    font-size: 4.2857142857em;
}