/* 
Theme Name: TERC WP Theme - Child 
Theme URL: http://themarketingprojectnyc.com
Description: TERC WP Theme Child 
Template: tercwptheme 
Version: 1.0.0 
Text Domain: tercwpthemechild 
*/

#homepageCarousel .carousel-caption {
	padding-top:0;
	padding-bottom:0;
	background-color:transparent;
}
#homepageCarousel .carousel-caption.fiftyfifty,
#homepageCarousel .carousel-caption.rich-text {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}
#homepageCarousel .carousel-caption.rich-text {
    top: 0;
	bottom:0;
    align-items: center;
    display: flex !important;
}
#homepageCarousel .carousel-item.fiftyfifty {
    height: 280px;
    background-size: 55% auto;
    background-repeat: no-repeat;
    background-position: center right;
}
@media (min-width:769px) {
    height: 350px;
}

@media (min-width:1300px) {
	#homepageCarousel .carousel-item.fiftyfifty {
	    height: 439px;
	    background-size: 50% auto;
	    background-repeat: no-repeat;
	    background-position: center right;
	}
	
}
#homepageCarousel .carousel-caption.fiftyfifty {
    top: 0;
	bottom:0;
    align-items: center;
    display: flex !important;
}
@media (min-width:960px) {
	#homepageCarousel .carousel-caption.fiftyfifty .caption-text-inner {
		width:450px;
		float:right;
	}
}
@media (min-width:1200px) {
	#homepageCarousel .carousel-caption.fiftyfifty .caption-text-inner {
		width:540px;
		float:right;
	}
}
@media (max-width:768px) {
	#homepageCarousel .carousel-item.fiftyfifty {
		height:auto;
	}
	#homepageCarousel .carousel-caption.fiftyfifty {
		top:auto;
		bottom:0;
		height: auto;
	    padding: 30px 0 10px 0;	
		position:relative;
	}
}

@media (min-width:769px) {
	#homepageCarousel .carousel-item.fiftyfifty img {
		display:none !important;
	}
	#homepageCarousel .carousel-caption.fiftyfifty {
		flex: 0 0 50%;
	    max-width: 50%;
	}
	#homepageCarousel .carousel-caption.fiftyfifty {
		background-repeat:no-repeat;
		background-position:center center;
		background-size:cover;
		background-color:transparent;
	}
}
#homepageCarousel .carousel-indicators-wrapper.fiftyfifty {
	bottom:15px;
	top:auto;
}
.home-page-subhead {
	color:inherit;
}

#main #content a.post-title {
    background: url(/wp-content/themes/tercwptheme/img/heading-dots.png) no-repeat top left;
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 400;
    font-size: 24px;
    display: block;
}

#main #sidebar li.current-menu-item > a,
#main #sidebar li.current_page_item > a {
     color: #007935; 	
 }

#main #sidebar ul.children {
	padding-left:15px;
	display:none;
}

#main #sidebar .current_page_ancestor ul.children,
#main #sidebar .current_page_item ul.children{
    display:block;
}

#main #sidebar ul.children a {
    color: #707271;
    font-size: .87rem;
    font-weight: 400;
    padding: 3px 0;
    display: block;
}

#main #sidebar ul.children .current_page_item > a {
    color: #007935;
    font-weight: 600;
}

#main #sidebar #menu-sidebar-menu ul.sub-menu ul.sub-menu a {
	font-style: italic;
}

.carousel-img {
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
}

.carousel-img img {
	opacity:0;
	z-index:-1;
}

@media (min-width: 768px){
	body.home .secondary_menu>ul {
		margin-top: 0;
	}
}

/* custom css from Tony */

/* make HTML5 video responsive */
video { 
   width:100%;
   max-width:1110px;
   height:auto;
}

/* add space between H2s in content area */
#main h2:not(:first-of-type) { 
   margin-top: 1.33em;
    }

/* prevent hyphenation H2s */
h2 {
   -webkit-hyphens: none;
   -ms-hyphens: none;
   hyphens: none;
}

/* make links on home match default subpage links */
a { 
/*	color: #008945;*/
}

a:hover {
/*    color: #008945;*/
    text-decoration: underline;
}

 /* make footer link hover white and legible */
footer a:hover {
    color: #fff;
    text-decoration: underline;
}


.pagination {
	width:100%;
}

.text-white h1, 
.text-white h2, 
.text-white h3, 
.text-white h4, 
.text-white h5, 
.text-white h6 {
	color:#fff;
}

/** default sidebar menu styling **/

#main #sidebar #sidebarmenu li.menu-item-has-children > .sub-menu {
	display:none;
}

body.site-id-30 #main #sidebar #sidebarmenu li.current-menu-ancestor>.sub-menu, /* Edge */
#main #sidebar #sidebarmenu li.current-menu-parent>.sub-menu, 
#main #sidebar #sidebarmenu li.current_page_item>.sub-menu, 
#main #sidebar #sidebarmenu li.current_page_parent>.sub-menu {
    display: block;
}

#main #sidebar .sub-menu li.current-menu-item a, 
#main #sidebar .sub-menu li.current_page_item a {
    color: #707271;
    font-weight: inherit;
}

body.site-id-30 #main #sidebar #sidebarmenu li.current_page_parent>a,
#main #sidebar .sub-menu li.current-menu-item > a, 
#main #sidebar .sub-menu li.current_page_item > a {
    color: #007935;
    font-weight: 600;
}

#mainnavigation>ul>li.active:after, .navbar #mainnavigation>ul>li.current-menu-item:after, .navbar #mainnavigation>ul>li:hover:after {
    left: calc(50% - 1.6rem);
}

.fixed-header.hasScrolled .site-logo.default,
.fixed-header.hasScrolled .site-logo {
	max-height:55px;
}

body:not(.home) .fixed-header .site-logo.default,
body:not(.home) .fixed-header .site-logo {
	max-height:55px;
}

footer a i {
	background:rgba(255,255,255,.25);
}
footer a i:hover {
	background:rgba(255,255,255,.5);
}

.h3, h3 {
    font-size: 1.5rem;
}

/** eb accordions */

#content .eb-accordion-container .eb-accordion-content-wrapper .eb-accordion-content {
	font-size:inherit;
	color:inherit;
}

#content .eb-accordion-container .eb-accordion-title {
    text-align: left;
    flex: 1;
    font-size: 18px;
		font-weight: 600;
}

#content .eb-accordion-container .eb-accordion-title-wrapper {
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-direction: row;
    padding-top: 0px;
    padding-right: 0px;
    padding-left: 0px;
    padding-bottom: 0px;
    transition: background 0.5s, border 0.5s, border-radius 0s, box-shadow 0.5s;
}

#content .eb-accordion-container .eb-accordion-content-wrapper .eb-accordion-content {
    font-size: inherit;
    color: inherit;
}

#main ul.comment-list {
	list-style: none;
    padding-left: 0;
}
#main ul.comment-list .comment-body {
    display: inline-block;
    width: 100%;
    clear: both;
	padding-left:90px;
	padding-bottom:15px;
	margin-bottom:15px;
	border-bottom:1px solid #eeeeee;
	position:relative;
}
#main ul.comment-list img.avatar {
	position:absolute;
	top:0;
	left:0;
	width:74px;
	height:74px;
}
#main ul.comment-list .fn {
	font-style:normal;
	font-weight:bold;
}
#main ul.comment-list .says {
	display:none;
}
#main ul.comment-list .comment-author,
#main ul.comment-list .comment-meta {
	display: inline-block;
    float: left;
}
#main ul.comment-list .comment-meta {
	margin-left: 30px;
}
#main ul.comment-list .comment-meta,
#main ul.comment-list .comment-meta a {
	font-size: 14px;
    font-weight: 400;
    color: #707271;
}
#main ul.comment-list .comment-text,
#main ul.comment-list .reply {
    clear: both;
    display: inline-block;
    width: 100%;
    float: left;
}
#main ul.comment-list .comment-text {
	padding:15px 0;
}
#main ul.comment-list .comment-reply-link {
	color: #fff;
    background: #81bc00;
    padding: 12px 30px;
    border-radius: 3px;
    font-weight: 300;
	display: inline-block;
}
#main ul.comment-list ol {
	list-style-type:none;
}
.comment-awaiting-moderation {
    font-size: 12px;
    display: block;
    clear: both;
}
.comment-awaiting-moderation + br + .comment-meta {
	display:block;
	width:100%;
	margin: 0 0 10px 0;
}

body.logged-in.subscriber .fixed-header {
    top: 0;
}

.secondary_menu .user-icon:before,
.secondary_menu .log-in-icon:before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    font-size: 20px;
}

.secondary_menu .log-in-icon:before {
    content: "\f090";
}

.secondary_menu .user-icon:before {
    content: "\f007";
}

#main .piereg_edit_profile_link {
	margin-top:0;
}

.secondary_menu .user-icon, 
.secondary_menu .log-in-icon {
    padding-top: 25px;
    position: relative;
    padding-bottom: 0;
}

div[id^="popmake-"].pum-container {
    max-width: 95%;
    left: 50% !important;
    transform: translate(-50%, 0);
    height: auto;
    overflow: visible;
}

@media only screen and (max-width: 800px) {
    .nf-field-container .checkbox-wrap .nf-field-label label {
            max-width: 100%;
    }
}