/*   
Theme Name: Charity Life Child Theme
Theme URI: https://wplook.com/
Description: Use this theme to start your Child Theme development.
Author: WPlook Studio
Author URI: https://wplook.com/
Template: charity-life-wpl
Version: 1.0.0
*/

@import url('style.css');
@import url('https://fonts.cdnfonts.com/css/segoe-ui-4');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&amp;display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&amp;display=swap');

body{
	/*font-family: 'Segoe UI', sans-serif !important;*/
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
}               

.widget_rss
{
width: 100%;
margin: 0 auto;
padding: 30px 20%;
background: #e7e7e7;
}

li a.rsswidget
{
font-size: 22px;
display: block;
color: #873303;
 }

.rss-date
{
font-size:12px;
line-height:14px;
top:-2px;
}

.staff-member-image a:hover {
    background: rgba(0, 0, 0, 0.54) !important;
}

.staff-member-image span.fa.fa-link {
    display: none;
}

/*feedwind styling*/

#wpl_about_widget-7 {
    background: #f5f5f5;
    padding-top: 4px;
    padding-bottom: 4px;
}
.header-inner{padding:8px 0;}

nav.nav{margin-top:10px;}

.feedzy-rss ul{height:500px; overflow-y:scroll;}

.teamdiv{float:left; width:100%; clear:right; text-align:justify; border-bottom: dashed 1px #ccc; padding-bottom: 20px;}
.teamimg{width:130px; height:130px; border-radius:50%; float:left; margin:30px 20px 10px;}

/*......tsk 2025 launch changes.....*/
.fa.fa-x {
  background: url('../png/x-logo-new-res.png');
  background-size: auto;
  width: 15px;
  height: 15px;
  background-size: contain;
  border-radius: 2px;
	margin-top:3px;
}
#gt_float_wrapper {
  position: absolute !important;
  transform: scale(0.8);
  margin-top: -22px;
}
.gt_float_switcher,
.gt-selected {
  background: #232323 !important;
}
.gt-selected .gt-lang-code {
  color: white !important;
}
.gt_float_switcher .gt_options a{color:white !important;}
.mega-menu-description {
  display: none !important;
}
#mega-menu-primary {
  background: white !important;
}
#mega-menu-primary li a{
	color:black !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus{
  background: #ff8201 !important;
}
li.mega-menu-item > ul.mega-sub-menu {
  max-width: 300px !important;
  width: 300px !important;
  height: 300px !important;
  background: skyblue !important;
	border-top: solid 30px #fffefe63 !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link {
  background: transparent !important;
  border-bottom: 3px solid #ff8201;
}
.mega-toggle-on > .mega-menu-link {
  background: #ff8201 !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
  background: transparent;
  border-bottom: 3px solid #ff8201;
}
#mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link .mega-description-group {
  vertical-align: inherit !important;
}
li.mega-menu-item:nth-child(2) > ul.mega-sub-menu {
  background: #f9c971 !important;
}
li.mega-menu-item:nth-child(8) > ul.mega-sub-menu {
  background: #b3fc9e !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
  background: transparent !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover {
  background: #ffffff96 !important;
}

h4.mega-block-title{
 font-family:'Arial' !important;
}
.homepage-widget-area .widget {
  width: 75%;
  margin: 20px auto;
}
.ui-draggable, .ui-droppable {
	background-position: top;
}
/* caused issue in logo showcase when slider activated
.slick-track{
	width:100% !important;
}*/
.slick-track .slick-slide {
  width: 200px !important;
  margin-right: 20px !important;
}
.ui-widget.ui-widget-content{
	border:none !important;
}
.section-volunteers{
	padding-top:0 !important;
	padding-bottom: 55px !important;
}
.section-volunteers h5, .section-volunteers h2{
	display:none;
}
.ui-tabs .ui-tabs-nav {
  text-align: center !important;
  width: 440px !important;
  margin: 0 auto !important;
  background: #f5f5f5 !important;
}

.ui-tabs .ui-tabs-nav li {
        float: none !important;
        display: inline-block;
}
.ui-widget-header {
  background: transparent !important;
  border: none !important;
}
#block-4,#block-7{
  margin-bottom: 80px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 40px;
}
#block-4{border-bottom:0px !important;}
.ui-tabs .ui-tabs-nav li {
  background: transparent !important;
  border: none;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover{
	color: #ff8201 !important;
	
	border-bottom:2px solid #ff8201 !important;
}
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited{
	color:#ff8201 !important;
}
.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited,
.ui-state-focus a,
.ui-state-focus a:hover,
.ui-state-focus a:link,
.ui-state-focus a:visited,
a.ui-button:hover,
a.ui-button:focus {
	color: #ff8201 !important;
}
h1,h2,h3,h4,h5,h6{
	/*font-family: 'Segoe UI', sans-serif !important;*/
	font-family: "Merriweather", serif;
}
.btn-default{
	border-radius:33px !important;
}
.wp-block-button__link:hover, .btn-default:hover {
  background: #ff8201 !important;
  color: white !important;
}
.wpls-logo-showcase .slick-dots li button {
  border: none !important;
  background-color: #dedede !important;
  width: 8px !important;
  height: 8px !important;
}
.wpls-logo-showcase .slick-dots li.slick-active button{
  background: #ff8201 !important;
}
#block-9{
	margin-bottom:0;
	padding-bottom:0;
	width:100%;
	margin-top: -5px;
}
#block-9  h2{
	margin-bottom:0; 
	padding-bottom:20px;
}
#block-11{
	margin-top:0;
	padding-top:0px;
	width:100%;
}
#block-11 blockquote {
  background: transparent;
}
#block-11 blockquote p {
  color: white;
  font-weight: bold;
  font-family: 'Arial';
  font-style: italic;
  line-height:18px;
  width:75%;
  margin:5px auto;
}
blockquote p:before {
  content: open-quote;
  font-weight: bold;
  font-size: 100px;
  color: #fff;
  position: relative;
  top: 32px;
}

blockquote p:after {
  content: close-quote;
  font-weight: bold;
  font-size: 100px;
  color: #fff;
  position: relative;
  top: 32px;
}
#block-12 .single-cause-image img {
  max-height: 260px;
  min-height:260px;
}
.readmore{
float:right; 
padding:10px 15px; 
background:#ff8201;
	margin-top:10px;
/*......anmol changes here.....*/
	border-radius:10px;
	color:white;
	position: absolute;
	margin-left:30%;
	
}
.element.style{
	position:relative
}
.page-head h5 {
	visibility: hidden !important;
}
/*......To here.....*/
ul.custom-sub-menu li a{
	font-size:13px;
	margin:0;
	margin-bottom:15px;
	padding:0;
	border-bottom:2px solid #ff8201;
}
ul.custom-sub-menu li a:hover{
	background:#ff8201;
}
ul.stickynav{
	width: auto;
  height: 40px;
  margin: 0;
  padding: 0;
  position: fixed;
  top: 300px;
  right: 0;
}
ul.stickynav li{
	display:block;
}
ul.stickynav li a{
	display:block;
	background:#ccc;
	border-radius:10px 0 0 10px;
	padding-left:20px;
	padding-right:10px;
	margin-bottom:25px;
	height:40px;
	line-height:40px;
	margin-right:0;
}
ul.stickynav li a:hover{
	background:#ff8201;
	color:white;
}
html {
  scroll-behavior: smooth;
}
.home .single-event{padding:0 !important; background:#f5f5f5; min-height:330px; margin-top:20px; border-radius:5px;}
.home .single-event img{border-radius:5px 5px 0 0;}
.home .single-event ul{padding:10px; margin-top:0;}
.home .single-event ul li{margin-bottom:5px;}
.home .single-event p{margin:0 !important;}
.home .single-event p:nth-child(2){margin:0; padding:10px;}
.home .single-event p img{margin-bottom:0 !important;}
.home .single-event ul li:last-child{display:block; width:100%;}
.home .single-event ul li:last-child a{color:white; display:block; width:100%; text-align:right; background:#c54e2d; height:40px; line-height:40px; margin-top:10px; padding-right:15px;}
.home .single-event ul li:last-child a:hover{background:#ff8201;}
.map-contact{height:auto;}
.map-contact iframe{width:100%; height:auto; min-height:80vh;}
.intro-overlay{position:initial; padding:0 !important;}
.stickysidebar{
  position: fixed;
  right: 0;
  z-index: 9;
  border-left: 2px solid orange;
  top: 269px;
  height: 100vh;
  background:white;
}
footer{position:relative; z-index:999;}
@media only screen and (max-width:600px){
	.stickysidebar{
		display:none;
	}
}

#our-work .single-cause-image img{
	height:200px;
}

/*----------honeycomb css-------------*/

.hexmain {
  display: flex;
  --s: 150px; /* size  */
  --m: 4px; /* margin */
  --f: calc(1.732 * var(--s) + 4 * var(--m) - 1px);
}

.hexcontainer {
  font-size: 0; /*disable white space between inline block element */
  position: relative;
}

.hexcontainer div {
  width: var(--s);
  margin: var(--m);
  height: calc(var(--s) * 1.1547);
  display: inline-block;
  font-size: initial;
  clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
  background: #ff8201;
  margin-bottom: calc(var(--m) - var(--s) * 0.2885);
}
.hexcontainer::before {
  content: '';
  width: calc(var(--s) / 2 + var(--m));
  float: left;
  height: 120%;
  shape-outside: repeating-linear-gradient(
    #0000 0 calc(var(--f) - 3px),
    #000 0 var(--f)
  );
}

.hexcontainer a {
  width: 100%;
  text-align: center;
  float: left;
  margin-top: 45%;
  text-decoration: none;
  color: white;
  font-family: 'Arial';
}
.hexcontainer div.haslink:hover {
  transform: scale(1.1);
}
.hexcontainer a:hover {
  color: black;
}

/*---------tailored customizations -----*/
.wp-block-button__link.has-background:hover{
	background:#2d2d2d !important; 
	color:white;
}
.article p{
	font-weight:500 !important;
}
.owl-item h1{
	text-shadow: 0 0 12px #000;
}
.footer{
	color:white !important;
}
.footer-nav{
	background:white !important;
}
.footer-nav p{
	color:#2d2d2d !important;
}
.footer .socials dd {
  margin-right: 30px;
  transform: scale(1.4);
  margin-top: 20px;
  margin-left: 10px;
}
/*------------latest posts of category news homepage widget modifications ------*/
.widget.recent-posts-widget-with-thumbnails li {
  display: table-cell;
  width: 23%;
  background: #f5f5f5;
  padding: 10px;
  margin: 10px;
  border-radius: 5px;
  border: 5px solid #fff;
  vertical-align:top;
  min-height:440px;
}
.widget.recent-posts-widget-with-thumbnails li a img {
  display: block;
  width: 100% !important;
  height: 200px !important;
}
.rpwwt-post-excerpt{
	font-weight:500;
}
.widget.recent-posts-widget-with-thumbnails {
  border-top: solid 1px #ccc;
  padding-top: 20px;
  padding-bottom:20px;
}
@media only screen and (max-width:600px){
	.widget.recent-posts-widget-with-thumbnails li {
		display: block;
		width:100%;
	}
}
/*--- changing partnerst to grid view-----*/
#block-5{margin-top:40px;}
.partners-grid .wpls-logo-cnt {
  width: 16%;
  display: inline-block;
  vertical-align: middle;
  margin: 4%;
}

/*--------------------- mobile view fixes by Prithak --------------*/

/*mega menu button re-size*/
@media only screen and (max-width: 768px){
.nav {
    font-size: 16px;
    line-height: 20px;
    color: #232323;
    font-weight: 300;
    background-color: #fff;
    width: 51px !important;
	}}

/*hide extra menu*/
.nav-toggle {
    font-size: 22px;
    width: 40px;
    height: 40px;
    position: absolute;
    top: -39px;
    right: 15px;
    padding: 0;
    border: 0;
    margin: 0;
    background-color: #232323;
    border-radius: 3px;
    visibility: hidden;
}

/*our story section*/
@media only screen and (max-width: 768px){
.homepage-widget-area .widget {
    width: 75%;
    margin: 40px auto;
	}}

@media only screen and (max-width: 768px){
	#block-4, #block-7 {
    margin-bottom: 40px;
		padding-bottom: 0;}}
	
/*our work section*/
@media only screen and (max-width: 1024px){
.row {
    margin: 1.5em 0;
	}}

/*our work section*/
@media only screen and (max-width: 1024px){
.hexcontainer {
    margin: 14rem 0!important;
	}}

/*Books Pur publication section*/
@media only screen and (max-width: 1024px){
section.section-carousel.section-causes.wow.fadeIn {
    height: 45rem !important;
	}}

/*Read more button*/
@media only screen and (max-width: 1280px){
a.btn.readmore {
    padding: 10px 15px;
    background: #ff8201;
    margin-top: 100px !important;
    border-radius: 10px;
    color: white;
    display: block;
    width: 210px;
    margin: 0 auto;
	position: static;
	float: none;
	}}

/*Partner and collaboration section*/
.ui-tabs .ui-tabs-nav {
    text-align: center !important;
    width: 20% !important;
    margin: 0 auto !important;
    background: #f5f5f5 !important;
}
/*MAP*/
iframe {
    width: 100% !important;
}

/*1025 to 1279 screen issue for books*/
@media only screen and (min-width: 1025px) and (max-width: 1280px) {
	.section-causes {
    padding-top: 5px;
    height: 750px;
    background-color: #f5f5f5;
}
}

@media only screen and (min-width: 1169px) and (max-width: 1280px) {
	a.btn.readmore {
		margin-top: 60px !important;
	}}

@media only screen and (min-width: 1170px) and (max-width: 1228px) {
	    .section-causes {
        padding-top: 5px;
        height: 800px !important;
        background-color: #f5f5f5;
    }
}

/**/
@media only screen and (max-width: 640px){ .header .bar .row {
    margin: 0 !important;
	padding: 5px 0 !important;
	}}

/**/
@media only screen and (max-width: 760px){
#gt_float_wrapper {
    transform: scale(1);
    margin-top: 0;
}

/**/
@media only screen and (max-width: 640px){.header .bar {
	padding: 0 !important;
	}}

/**/
@media only screen and (max-width: 640px){
	div#gt_float_wrapper {
    left: 0 !important;
    top: 0 !important;
	}}

/**/
@media only screen and (max-width: 640px){
.bar-theme-options.small-12.medium-6.large-6.columns {
    width: 40%;
    padding-left: 8em;
    display: flex
;
    flex-wrap: nowrap;
}}

/**/
@media only screen and (max-width: 640px){
	.bar-top-actions.small-12.medium-6.large-6.columns {
    width: 25%;
    top: 5px;
	}
	.bar-theme-options.small-12.medium-6.large-6.columns {
    margin-top: 5px !important;
    margin-bottom: -5px !important;
}
	ul#mega-menu-primary {
    top: 4.5em !important;
}
	}
	
/**/
@media only screen and (max-width: 768px) {
    #mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open + #mega-menu-primary {
        left: 0;
        top: 9.1em;
    }
}
	
button.mega-close {
    visibility: hidden !important;
}

/**/
@media only screen and (max-width: 375px) {
    .bar-theme-options.small-12.medium-6.large-6.columns {
        width: 65%;
        padding-left: 8em;
        display: flex
;
        flex-wrap: nowrap;
    }
}

/**/
@media only screen and (max-width: 599px) {
    .bar-theme-options.small-12.medium-6.large-6.columns {
        width: 45%;
        padding-left: 8em;
        display: flex
;
        flex-wrap: nowrap;
    }
}

/**/
@media only screen and (max-width: 589px) {
    .bar-top-actions.small-12.medium-6.large-6.columns {
        width: 30%;
        top: 5px;
    }
}

/**/
@media only screen and (max-width: 533px) {
    .bar-theme-options.small-12.medium-6.large-6.columns {
        width: 50%;
        padding-left: 8em;
        display: flex
;
        flex-wrap: nowrap;
    }
}

/**/
@media only screen and (max-width: 491px) {
    .bar-top-actions.small-12.medium-6.large-6.columns {
        width: 40%;
        top: 5px;
    }
}

/**/
@media only screen and (max-width: 477px) {
    .bar-theme-options.small-12.medium-6.large-6.columns {
        width: 60%;
        padding-left: 8em;
        display: flex
;
        flex-wrap: nowrap;
    }
}

/**/
@media only screen and (max-width: 399px) {
    .bar-top-actions.small-12.medium-6.large-6.columns {
        width: 25%;
        top: -3px;
    }
}

/**/
@media only screen and (max-width: 399px) {
    .bar-theme-options.small-12.medium-6.large-6.columns {
        width: 75%;
        padding-left: 8em;
        display: flex
;
        flex-wrap: nowrap;
    }
}

/**/
@media (min-width: 761px){.bar-theme-options.small-12.medium-6.large-6.columns {
    padding-left: 150px !important;
	}}

/**/
@media only screen and (max-width: 373px) {
    .bar-top-actions.small-12.medium-6.large-6.columns {
        width: 30%;
        top: -36.5px;
    }
	
}
	

/**/
	@media only screen and (width: 640px) {
        .header .bar {
            padding: 0 !important;
            height: 45px;
        }
    }

/**/
@media only screen and (min-width:761px) and (max-width: 1024px) {
	div#gt_float_wrapper {
    top: 40px !important;
}
	.bar-theme-options {
        padding: 0 0 0 150px !important;
    }
	}

/**/

@media only screen and (min-width: 641px) and (max-width: 1415px){
    .bar-theme-options .sub-nav dd a {
    color: #f5f5f5;
    padding: 0 0 0 150px !important;
}
}
	

/*logo and menu in same line*/
@media screen and (max-width: 769px) {
  .header-inner .row .small-12.large-3.columns {
    width: 80% !important;
  }

  .header-inner .row .small-12.large-9.columns {
    width: 20% !important;
  }
}

/*------------further customizations by Pratik---------------*/
#block-7 .ui-tabs .ui-tabs-nav {
  width: 60% !important;
}
#tabs2 .ui-tabs .ui-tabs-nav {
  width: 40% !important;
}
#block-12 {
  width: 100%;
  margin-top: 0;
}
@media only screen and (max-width:600px){
	#block-7 .ui-tabs .ui-tabs-nav {
	  width: 100% !important;
	}
	.ui-tabs .ui-tabs-nav {
	  width: 100% !important;
	}
	.partners-grid .wpls-logo-cnt{
		width: 42%;
		vertical-align: top;
	}
	.hexcontainer{
		width:100% !important;
		margin-top:0 !important;
		margin-bottom:20px  !important;
	}
	.hexcontainer div{display:none !important;}
	.hexcontainer div.haslink{
		display:inline-block !important;
		transform:scale(0.6);
		margin:-7.5%;
		width:39%;
	}
}

/*Not working*/
	ul.partnersNav {
    float: right !important;
    display: block !important;
    margin-bottom: 25px;
    line-height: 40px !important;
    height: 40px !important;
    border-radius: 10px 0 0 10px !important;
    background-color: #ccc !important;
    padding-left: 30px !important;
    padding-right: 10px !important;
    margin-right: 0 !important;
}