/* EDIB page styles */
.edib-list strong {
	display: block;
}
.category-supporter-spotlights h1, .category-team-stories h1 {
	text-transform: none;
	    color: #e17212;
margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
}
.lity {
    z-index: 9999999999;
}
.lity-container {
    width: 80%;
}
.lity-content {
    background: #ffffff;
    padding: 30px;
    position: relative;
}
.lity-close {
    position: absolute;
    color: #000000;
}
.page-id-12621 .entry-content h1,
.page-id-12621 .entry-content h2,
.page-id-12621 .entry-content h3,
.page-id-12621 .entry-content h4,
.page-id-12621 .entry-content h5,
.page-id-12621 .entry-content h6 {
	color: #00AFD4 !important;
	font-family: 'arvo', serif !important;
}

.page-id-12621 .entry-content img {
	max-width: 100%;
}

.page-id-12621 .entry-content .alignleft,
.page-id-12621 .entry-content .alignright {
	max-width: 50%;
}

.page-id-12621 .main-content {
	position: relative;
	padding: 40% 0 0;
/*	padding: 45% 0 0;*/
}

.page-id-12621 .main-content:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding: 40% 0 0;
	display: block;
	background: url('https://childcenterny.org/wp-content/uploads/2024/03/tcc-edib-collage-2-copy.jpg') no-repeat center center / cover;
}

.page-id-12621 #secondary,
.page-id-12621 #mobile-contact-buttons {
	display: none !important;
}

.toy-drive {
	background: url(https://childcenterny.org/wp-content/uploads/2022/11/2022-Toy-Drive-slider.jpeg) no-repeat center right/cover !important
}
.lg-container.lg-show {
    display: block;
    z-index: 99999999999;
    position: relative;
}

@media screen and (max-width: 767px) {
	.toy-drive {
		background: url(https://childcenterny.org/wp-content/uploads/2022/11/2022-Toy-Drive-slider-copy-mbile.jpg) no-repeat bottom right/cover !important;
	}
}

.page-id-12621 #main {
	padding-top: 80px;
}

.page-id-12621 h3 {
	clear: none;
}

@media screen and (max-width: 767px) {

	.page-id-12621 .entry-content .alignleft,
	.page-id-12621 .entry-content .alignright {
		width: 100%;
		max-width: 100%;
		float: none;
		margin-left: 0;
	}
	
	.page-id-12621 .entry-content .alignleft img,
	.page-id-12621 .entry-content .alignright img {
		width: 100%;
	}
	
	.page-id-12621 .main-content {
		padding-top: 70%;
	}
	
	.page-id-12621 .main-content:after {
		padding-top: 70%;
		background-image: url('//childcenterny.org/wp-content/uploads/2021/04/tcc-edib-collage-xs.jpg');
	}
}

/* 2021 gala edits */
.indented-text.with-padding {
	padding-left: 15px; 
	text-indent: -15px; 
	display: block;
}

.footnotes-right {
	text-align: right;
	font-size: 0.8em;
	font-style: italic;
	opacity: 0.8;
	margin-top: -20px;
	margin-bottom: 20px;
}

.footnotes-right big {
	font-size: 1.8em;
	line-height: 1;
	vertical-align: -.1em;
}

/* Menu fix */
@media screen and (max-width: 767px) {
	.nav li ul li a,
	.nav li ul li ul {
		width: 100%;
	}
	
	#navbar .navbar-nav {
		overflow-x: hidden;
		overflow-y: auto;
		max-height: calc(100vh - 61px);
	}
	
	#navbar .menu-item-has-children > a {
		z-index: 0;
		position: relative;
	}
	
	#navbar .menu-item-has-children > .sub-menu {
		z-index: 20;
		position: relative;
		left: 0;
	}
	
	#navbar .menu-item-has-children:before {
		z-index: 10;
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		display: block;
	}
}


/* Slider June 2021 */
#myCarousel .item.slide-tony-parsons {
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	background-size: cover;
	background-image: url('https://childcenterny.org/wp-content/uploads/2021/06/Tony-Gale-Parsons-Jumping.jpg');
}
#myCarousel .item.slide-tony-parsons .carousel-caption a.newbtn::after {
    content: ">";
    color: #f5a201;
    margin-left: 5px;
	font-weight: bold;
}
@media screen and (min-width: 768px) {
	#page #myCarousel .item.slide-tony-parsons .carousel-caption {
		background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0)) !important;
	}
}

@media screen and (max-width: 767px) {
	#myCarousel .item.slide-tony-parsons .container {
		height: 190px;
	}
	#myCarousel .item.slide-tony-parsons {
		background-position: left center;
		background-image: url('https://childcenterny.org/wp-content/uploads/2021/06/Tony-Gale-Parsons-Jumping-mobile-2.jpg');
	}
}

#gala-2021-bottomleft {
	position: absolute;
	top: auto;
	bottom: 0;
	left: 0;
	width: 320px;
	height: auto;
	max-width: 30%;
	min-width: auto;
}

#gala-2021-bottomright {
	position: absolute;
	top: auto;
	bottom: 0;
	left: auto;
	right: 0;
	width: auto;
	height: auto;
	max-width: 90%;
	max-height: 100%;
	min-width: auto;
}

@media screen and (min-width: 576px) {
	#gala-2021-bottomright {
		max-width: 82%;
	}
}

#page #myCarousel .item.gala-2021-slide .carousel-caption {
	background: transparent;
}


/* Backpacks 2021 */
#myCarousel .item.slide-backpacks-2021 {
    /*background: url('https://childcenterny.org/wp-content/uploads/2021/09/backpack-slide-5.jpg') no-repeat center bottom / 100% auto #2a2a2a;*/
	background: url('https://childcenterny.org/wp-content/uploads/2021/09/backpack-slide-6.jpg') no-repeat center bottom / 100% auto #2a2a2a;
}

@media screen and (max-width: 767px) {
    #myCarousel .item.slide-backpacks-2021 {
        /*background-image: url('https://childcenterny.org/wp-content/uploads/2021/07/backpack-slide.jpg');*/
		background-image: url('https://childcenterny.org/wp-content/uploads/2021/09/backpack-slide-1.jpg');
    }
}

#myCarousel .item.slide-backpacks-2021 .container {
    position: relative;
    bottom: auto;
    height: auto;
}

#myCarousel .item.slide-backpacks-2021 p {
    color: #00fec9;
    max-width: 360px;
}

#myCarousel .item.slide-backpacks-2021 a.newbtn {
    max-width: 170px;
    height: auto;
    line-height: 1.2;
    text-align: center;
    padding: 10px 20px;
}

#myCarousel .item.slide-backpacks-2021 .carousel-caption a.newbtn {
    font-weight: normal;
}

#myCarousel .item.slide-backpacks-2021 .backpack-icon {
    position: absolute;
    left: auto;
    right: 3%;
    top: 20%;
    width: 165px;
    max-width: 41%;
    min-width: auto;
}

#myCarousel .item.slide-backpacks-2021 .backpack-icon.visible-xs {
    top: 0;
}

@media screen and (min-width: 500px) {
    #myCarousel .item.slide-backpacks-2021 .backpack-icon {
        top: 10%;
    }
}

@media screen and (min-width: 768px) {
    #myCarousel .item.slide-backpacks-2021 {
        background-size: 93% auto;
        background-position: right bottom;
    }
    
    #myCarousel .item.slide-backpacks-2021 .backpack-icon {
        left: auto;
        right: 61%;
        top: auto;
        bottom: 3%;
        width: auto;
        min-width: auto;
        max-height: 45%;
    }
}

@media screen and (min-width: 992px) {
    #myCarousel .item.slide-backpacks-2021 {
        background-size: 75% auto;
    }
    
    #myCarousel .item.slide-backpacks-2021 h1.intro-header {
        font-size: 29px !important;
    }
}

@media screen and (min-width: 1200px) and (max-height: 650px) {
    #myCarousel .item.slide-backpacks-2021 {
        background-size: 67.5% auto !important;
    }
}

@media screen and (min-width: 1200px) {
    #myCarousel .item.slide-backpacks-2021 {
        background-size: 73% auto;
    }
    
    #myCarousel .item.slide-backpacks-2021 p.lead {
        font-size: 20px;
        margin-top: 10px;
    }
    
    #myCarousel .item.slide-backpacks-2021 p {
/*        max-width: 444px;*/
        max-width: 346px;
    }
    
    #myCarousel .item.slide-backpacks-2021 .backpack-icon {
        width: auto;
    }
}

/* t2-sites edits */
.t2-sites a span {
    box-shadow: inset 0 -2px 0 #e17212;
    text-decoration: none !important;
    color: inherit;
}

.t2-sites a:before {
    content: "Click Here";
}


/* Backpacks Banner */
.bpd-banner {
    position: relative;
    margin-left: -20px;
    margin-right: -20px;
    color: #00fec9;
    background: #2a2a2a;
/*    background: url('') no-repeat right top / auto auto #2a2a2a;*/
}

.bpd-banner .bpd-banner-inner {
    font-weight: bold;
    line-height: 1.2;
    padding: 30px 0 30px;
}

.bpd-banner h1 {
    color: #fff;
    line-height: 1.4;
    text-transform: uppercase;
    font-weight: 900 !important;
    font-family: 'Raleway', serif !important;
}

.bpd-banner .donate-btn {
    color: #fff !important;
}

.bpd-banner .bpd-imgright {
    float: right;
    margin-bottom: 30px;
    margin-right: -15px;
    max-width: 100%;
}

.donate-btn {
    font-size: 18px;
    padding: 16px 33px;
}


@media screen and (max-width: 1199px) {
    .site-content .bpd-banner h1 {
        font-size: 22px;
    }
}

@media screen and (max-width: 991px) {
    .bpd-banner .donate-btn {
        padding: 10px;
        font-size: 12px;
    }
}

@media screen and (min-width: 768px) {
    .bpd-banner .bpd-banner-inner {
        width: 520px;
        max-width: 40%;
        float: left;
    }
    .bpd-banner .bpd-imgright {
        margin-right: -20px;
        max-width: 60%;
    }
}

@media screen and (min-width: 1200px) {
    .bpd-banner .bpd-banner-inner {
        font-size: 28px;
    }
}

/* Careers slide */
#myCarousel .item.slide-careers-2021 {
    border-bottom: 2px solid #e1dfdd;
	background: url('https://childcenterny.org/wp-content/uploads/2021/08/careers-slide-lg.jpg') no-repeat center 20% / cover #fff;
}

#page #myCarousel .item.slide-careers-2021 .carousel-caption {
	background: transparent;
}

.slide-career-parts {
	display: none;
}

.slide-career-parts-mobile {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 0;
}

.slide-career-part-top {
	position: absolute;
	top: 0;
	left: 0;
	width: auto;
	height: auto;
	max-width: 30%;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
	#myCarousel .item.slide-careers-2021 {
		background-position: 75% center;
	}
}

@media screen and (max-width: 767px) {
	#myCarousel .item.slide-careers-2021 .container {
		height: 180px;
	}
	#myCarousel .item.slide-careers-2021 {
		background-image: url('https://childcenterny.org/wp-content/uploads/2021/08/careers-slide-mobile.jpg');
		background-position: right center;
	}
	
	#myCarousel .item.slide-careers-2021 .carousel-caption img {
		position: absolute;
		text-align: left;
		left: 0;
		bottom: 100%;
		margin-bottom: 50px;
		max-width: 230px;
	}
}

@media screen and (min-width: 768px) {
	#myCarousel .item.slide-careers-2021 .container {
		padding-top: 140px;
		padding-left: 130px;
		padding-right: 130px;
	}
	
	#myCarousel .item.slide-careers-2021 .carousel-caption h1.intro-header {
		color: #fbaa19;
		text-shadow: none;
	}
	
	#myCarousel .item.slide-careers-2021 p.lead {
		color: #333;
		text-shadow: none;
		font-size: 20px;
	}

	.slide-career-parts-mobile {
		display: none;
	}
	
	.slide-career-parts {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 0;
		display: block;
	}
	
	.slide-career-parts img {
		position: absolute;
		bottom: 0;
	}
	
	.slide-career-parts img.slide-career-part-left {
		left: 5%;
		max-width: 36%;
	}
	
	.slide-career-parts img.slide-career-part-right {
		right: 12%;
		max-width: 18%;
	}
	
	.slide-career-part-top {
		display: none;
	}
}

@media screen and (max-height: 800px) and (min-width: 768px) {
	#myCarousel .item.slide-careers-2021 .container {
		padding-top: 120px;
	}
}

a.carousel-control {
	box-shadow: none !important;
}

.bpd-2021-buttons a {
	margin-bottom: 5px;
	display: block;
	max-width: 400px;
	text-align: center;
}

@media screen and (min-width: 1200px) {
	.bpd-2021-buttons {
		white-space: nowrap;
	}
	
	.bpd-2021-buttons a {
		text-align: left;
		display: inline-block;
	}
}

@media screen and (max-width: 700px) {
    .row .col-xxs-12 {
        width: 100% !important;
    }
    
    .bpd-sponsors-rows {
        max-width: 400px;
        margin: 0 auto;
    }
}


.right-align-box {
	width: 100%;
	padding: 15px;
	background: #eee;
	margin: 20px 0;
}

.toy-box-2021 p {
	font-size: 14px;
}

.toy-box-2021 strong {
	font-size: 20px;
	color: #e17212;
}

@media screen and (min-width: 768px) {
	.right-align-box {
		float: right;
		margin: 0 0 20px 25px;
		width: 50%;
	}
}


.page-id-8690 .jquery-lightbox-border-bottom-left,
.page-id-8690 .jquery-lightbox-border-bottom-middle,
.page-id-8690 .jquery-lightbox-border-bottom-right {
    display: none !important;
}

body > #glt-translate-trigger,
body > .tool-container {
    z-index: 999999999999999999999999999 !important;
}

#glt-translate-trigger {
    font-size: 14px;
    padding-top: 3px;
}

.cta-buttons {
	display: flex;
}
.cta-buttons .btn {
	    position: relative;
    display: inline-block;
    background: #E17212;
    color: #fff !important;
    border-radius: 6px;
    padding: 2px 24px;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    line-height: 35px;
    margin-right: 24px;
    margin-bottom: 24px;
}
.cta-buttons .btn:hover {
	color: #333 !important;
    background: #ffaa00;
}
.wp-block-column .cta-buttons, .border  .cta-buttons{
	display: block;
}
.wp-block-column .cta-buttons .btn, .border .cta-buttons .btn {
	margin-right: 0;
	width: 100%;
}
@media screen and (max-width: 767px) {
    body > #glt-translate-trigger {
        font-size: 9px;
    }
	 .cta-buttons{
	display: block;
}
.cta-buttons .btn{
	margin-right: 0;
	width: 100%;
}
}

@media screen and (min-width: 768px) {
    #megamenu-behavioral-health {
        width: 370px;
    }
    #megamenu-behavioral-health a {
        width: 380px;
        font-size: 10px;
    }
}

@media screen and (max-width: 767px) {
#modals_wrap.opened .modal_body {
    width: 70vw;
    height: 80vh;
}
#modals_wrap .modal_body .col-sm-8 {
    max-height: 48%;
}
#modals_wrap #close {
    top: 11vh;

}
#post-4031 .entry-content img, .comment-content img, .widget img {
    max-width: 100%;
    width: 100%;
}
}

body .page-cont {
    float: none !important;
    margin: 0 auto 45px;
}

#text-9, #text-5 {
	display: none;
}


.bbb-accredation {
	    display: flex;
    align-items: center;
}
#footer-2019 .policy {
	
    display: flex;
}

#footer-2019 .policy  a {
	margin-left: 10px;
}