/* 
Theme Name: KRM Child Theme
Theme URI: https://www.kathoderay.com/
Description: KRM Base child theme.
Template: krm
Author: Michele Brown & Brian Britton
Author URI: https://www.kathoderay.com/nys-wbe-certified-marketing-agency/
Version: 0

*/

/* =Start From Here
-------------------------------------------------------------- */
/*Michele's Basics*/
/*BASIC*/
body{font-family: "Source Sans 3", sans-serif;font-weight:400;font-size:17px;}
.wrap{max-width:1400px;}
a, a:visited{color:#1b6788;}
a:hover, a:focus, a:active{color:#1b6788;text-decoration:underline;}
h1,h2,.h1{color:#d7771d;font-family: "Lato", sans-serif;font-weight:700;}
.h1{font-size:28px;}
h2 strong{text-transform:uppercase;font-weight:900;}
h2.sub,h3.sub{font-style:italic;color:#1b6788;margin-top:20px;}
h1.wrap,.h1.wrap{margin:80px auto 40px;color:#fff;text-shadow:4px 3px 3px #000;position:relative;}
h3,h4,h5{color:#28265d;}
.banner{padding:20px;color:#fff;background:#28265d;margin:20px auto;}
a.button,span.button,input[type="reset"],input[type="button"],input[type="submit"],button,.tribe-events-c-subscribe-dropdown__button {
    position:relative;
	-moz-border-radius: 0;
    -moz-box-shadow:none;
    -webkit-box-shadow:none;
    -webkit-border-radius:0;
    background:#28265d;
    box-shadow:none;
    border:0;
    border-radius:0;
    color: #fff;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#28265d, endColorstr=#28265d)";
    text-shadow:none;
	text-decoration:none;
	transition:all .6s;
	padding:8px 26px 8px 20px;
}
input[type="reset"],input[type="button"],input[type="submit"]{padding-right:20px;}
a.button:before,span.button:before,button:before,.tribe-events-c-subscribe-dropdown__button:before{
    content: "";
    background:#2db0e6;
    display: inline-block;
    width: 14px;
    height: 100%;
    position: absolute;
    right: -7px;
    top: 0;
    -webkit-transform: skew(-20deg);
    -moz-transform: skew(-20deg);
    -ms-transform: skew(-20deg);
    transform: skew(-20deg);
}
.tribe-common-c-btn:before,.tribe-events-c-subscribe-dropdown__button:before{width:16px;right:-8px;}
a.button:hover, a:hover .button, input[type="reset"]:hover, input[type="button"]:hover, input[type="submit"]:hover,button:hover{
	-moz-border-radius: 0;
    -moz-box-shadow:none;
    -webkit-box-shadow:none;
    -webkit-border-radius:0;
    background:#28265d;
    box-shadow:none;
    border:0;
    border-radius:0;
    color: #fff;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#a2c836, endColorstr=#a2c836)";
    text-shadow:none;
}
a.button:hover:before, a:hover .button:before, button:hover:before,.tribe-events-c-subscribe-dropdown__button:hover:before{
	background:#eea841;
}
.button + .button{margin-left:30px;}
ul.arrows{list-style-type:none;margin:10px 0 0;padding-left:20px;}
ul.arrows li:before{content:'\2192';font-size:28px;display:inline-block;overflow:hidden;width:12px;direction:rtl;line-height:18px;margin:0 8px 0 -20px;}
hr{border:1px solid #f8d158;color:#f8d158;background-color:#f8d158;}

#container{max-width:100vw;overflow:hidden;}
.shade{background:#eae9ef;padding-top:1px;padding-bottom:1px;}
.break-wrap{margin-left:-20px;padding-left:20px;margin-right:-20px;padding-right:20px;}

.accordion{overflow-y:hidden;height:40px;border-bottom:2px solid #f8d158;}
.accordion h3{line-height:40px;cursor:pointer;}
.accordion h3:before{content:'';border-bottom:4px solid grey;border-right:4px solid grey;display:block;width:20px;height:20px;float:right;border-bottom-right-radius:5px;transform:rotate(-135deg);margin-right:10px;margin-top:8px;}
.accordion.open{height:auto;}
.accordion.open h3:before{transform:rotate(45deg);}
.accordion h3:focus:before{border-color:#1b6788;}

#content{margin-bottom:0;}
	
/*Header*/
.background{background-size:cover;background-position:center;background-attachment:fixed;background-repeat:no-repeat;padding-bottom:1px;position:relative;}
.background:before{content:'';position:absolute;top:0;bottom:0;left:0;width:100%;background:rgba(74, 96, 155,.4);}
#sitehead{text-align:right;border-bottom:7px solid #f8d158;position:relative;background:rgba(255,255,255,.9);}
#menu-main-menu{text-align:left;margin-bottom:0;margin-top:50px;}
#menu-main-menu li#menu-item-716>a{padding-left:0;}
#sitehead .button{margin:10px 20px;}
#logo{max-width:60%;}
#searchform{max-width:60%;position:absolute;bottom:0;left:20px;background:#ffffff;margin-bottom:10px;}
#searchform input[type="search"]{line-height:35px;border:0px;}
#searchform button{background:none !important;padding-left:5px;padding-right:5px;}
#searchform button img{width:25px !important;}
#searchform button::before{background:none !important;}
.main-nav{margin:20px 0;min-height:32px;}
.main-nav a{color:#28265d;font-weight:bold;}
.main-nav .menu > li > a:before{content:'';display:inline-block;width:20px;height:20px;margin-right:5px;vertical-align:middle;background-repeat:no-repeat;background-size:contain;background-position:center;}
.main-nav .menu > li:first-child > a:before{background-image:url('../krm-child/imgs/locate.webp');}
.main-nav .menu > li:nth-child(2) > a:before{background-image:url('../krm-child/imgs/funds.webp');}
.main-nav .menu > li:nth-child(3) > a:before{background-image:url('../krm-child/imgs/reports.webp');}
.main-nav .menu > li:last-child > a:before{background-image:url('../krm-child/imgs/team.webp');}


/*Footer*/
.copyright{text-align:center;padding-top:30px;padding-bottom:30px;}
#cta{background:#f8d158;text-align:center;padding-top:40px;padding-bottom:40px;}
#cta h2,#cta h3{color:#28265d;}
#cta .wrap > *:first-child{margin-top:0;}
#cta .wrap > *:last-child{margin-bottom:0;}
#footer .social-icons{float:none;margin-top:0;}
#footer .social-icons li:first-child{margin-left:0;}
.qlinks header{font-weight:bold;text-transform:uppercase;}
.qlinks .menu{margin:0;padding:0;}
.qlinks .menu li{margin:5px 0;padding:0;width:100%;}
.qlinks .menu a{line-height:1.2;height:auto;padding:0;}
.devofyear{text-align:center;}
#footer .widget{padding-top:30px;margin-bottom:0;}

/*Pages*/
section{position:relative;}
.content1_space_adjustment{margin-bottom:40px;}
.ghost{background-repeat:no-repeat;background-size:contain;opacity:.05 !important;position:absolute;top:0;bottom:0;left:0;width:35%;background-position:-50px center;}
.potogold{padding:30px 100px 30px 0;position:relative;}
.potogold p:last-of-type{margin-bottom:15px;}
.stripes{position:absolute;top:0;bottom:40%;right:40px;z-index:-1;opacity:.6;}
.cal + section .stripes{top:-100px;}
.stripe{position:absolute;top:0;bottom:0;transform:skew(-20deg);width:30px;}
.stripe.orange{left:0;background:#e88f3d;}
.stripe.purple{left:30px;background:#495d9a;}
.stripe.blue{left:60px;background:#2db0e6;}

/*Home*/
.front-page h1.wrap{margin:110px auto 50px;}
.partners{text-align:center;}
.partners img{display:inline-block;width:200px;max-width:30%;margin:20px 30px;}
#stats{text-align:center;padding:40px 0;color:#a0d1f1;background-color:#353669;}
#stats:before{position:absolute;top:0;bottom:0;left:0;width:100%;background:rgba(40, 38, 93,.8);}
#stats .wrap{position:relative;}
#stats h2,.stat{color:#fff;}
#stats h2 strong{color:#a0d1f1;}
.stat_block{font-size:28px;margin:30px 20px;font-weight:bold;}
.stat_block div{font-size:60%;font-weight:normal;}
#stats .stat_block:nth-of-type(4){margin-bottom:0;}
#stats .stat_block:nth-of-type(5){margin-bottom:0;}

/*Calendar*/
.cal{padding-top:20px;}
.tribe-events.tribe-events-view{box-sizing:border-box;}
.tribe-events-calendar-month__calendar-event-title:before{content:'';display:inline-block;width:12px;height:16px;vertical-align:top;-webkit-transform: skew(-20deg);-moz-transform:skew(-20deg);-ms-transform: skew(-20deg);transform: skew(-20deg);}
.limit .tribe-events-calendar-month__calendar-event-title:before{display:none;}
.single-tribe_events #content{margin-top:0;background:linear-gradient(110deg, #fff 46%, #fef4e8 46%);}
.tribe-events-c-subscribe-dropdown__button-text:before,.tribe-common-c-btn__clear:before,.tribe-common-c-btn-icon:before{display:none !important;}
.single-tribe_events section#tribe-events-pg-template{padding:10px 0;width:100%;max-width:100%;}
.single-tribe_events .tribe-events-event-meta.primary{width:50%;}
.single-tribe_events .tribe-events-event-meta.secondary{width:50%;}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container{padding:30px 0 !important;}
.single-tribe_events .clearfix{border:0 !important;}
.vid-float{max-width:600px;}
.tribe-events-c-subscribe-dropdown__button{width:auto !important;display:inline-block;}
.tribe-events-c-subscribe-dropdown__export-icon{fill:#fff;}
.tribe-events-calendar-month__calendar-event.tribe-events-status__list-event-canceled{text-decoration:line-through red;}
.tribe-events-calendar-month__calendar-event.tribe-events-status__list-event-postponed:before{content:'POSTPONED ';}
.tribe-events-status-single--canceled{font-weight:bold;font-size:30px;color:red;}
.shade .tribe-events{background:#fff;border-radius:30px;box-shadow:0 0 5px #000;margin:40px auto;padding:0 30px;position:relative;z-index:9;}
.tribe-common-c-btn.tribe-events-c-search__button,.tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border{background:#28265d !important;border:0 !important;border-radius:0 !important;color:#fff !important;}
#tribe-events-events-bar-search{margin-right:20px;}
.tribe-events button.tribe-events-c-top-bar__datepicker-button{font-weight:bold;color:#28265d !important;}

/*Meeting Assets & Public Docs*/
.page-template-assets #org{width:200px;margin-right:10px;}
.assetslist td{padding:15px 30px;position:relative;}
.assetslist td:first-child{padding-left:0;}
tr.canceled{background:#eee;color:#616161;}
.canceled td:first-child,.postponed td:first-child{text-decoration:line-through red;position:relative;}
.canceled td:first-child:before{content:'';display:block;width:15px;height:100%;position:absolute;top:0;left:-15px;background:#eee;}
strong.docs + ul{list-style-type:none;margin:0;padding:10px 15px;}
.ajax{cursor:pointer;color:#1b6788;display:inline-block;margin-bottom:15px;}
.ajax:hover, .ajax:focus, .ajax:active{text-decoration:underline;}

/*News Posts*/
article{margin:40px auto;}
.loc{float:left;font-weight:bold;}
.loc:after{content:'\2014';font-weight:normal;display:inline-block;margin-right:4px;}
.single .post-entry{clear:none;}
.preview{position:relative;}
.preview h2{font-size:28px;}
.preview h2 a{color:#28265d;}
.preview .button{font-size:17px;position:absolute;bottom:0;right:16px;z-index:9;}
.preview .post-entry{clear:none;padding-right:190px;}


/*About Team*/
.team_section{padding-bottom:40px;}
.team-filter{margin-bottom:20px;display:flex;flex-wrap:wrap;gap:8px;}
.team-thumb{margin-bottom:10px;}
.filter-btn{margin-right:15px;font-size:18px;}
.filter-btn:hover{background:#ffffff;color:#28265d;}
.filter-btn.active{background:#ffffff;color:#28265d;}
.filter-btn.active:before{background:#eea841;}
#team-posts{display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));gap:16px;}
.team-member{position:relative;background:#fff;padding:14px;border:1px solid #eee;border-radius:12px;padding-bottom:70px;}
.team-thumb img{width:100%;}
.team-title{font-weight:bold;}          
.team-phone{}
.team-phone img{width:16px;margin-right:10px;}
.team-email{}
.team-email img{width:16px;margin-right:10px;}
.team-bio{position:absolute;bottom:15px;margin-top:15px;}
.team-bio .button{font-size:14px;}

/*.menu-quick-links-container #menu-item-820{padding-top:15px;border-top:1px #cccccc solid;margin-top:10px;}*/



.contact{padding-top:20px;padding-bottom:40px;}
.contact label,.form_label{font-size:18px;font-weight:bold;}
.form_label p{margin-bottom:-20px;}

.sub-term-title{font-weight:bold;list-style:none;margin-left:-15px;}
.sub-term-post{margin-left:15px;}
@media screen and (max-width:1254px){
	#stats .stat_block:nth-of-type(4){margin:30px 20px;}
}
@media screen and (max-width:1024px){
	.preview .post-entry,.preview .sub{display:none;}
	.preview h2{padding-bottom:40px;}
	.assetslist,.assetslist tbody{display:block;}
	.assetslist tr{display:grid;grid-template-areas:'date title title' 'agenda minutes vid' 'doc doc doc';border-bottom:1px solid;}
	.assetslist td:nth-child(2){grid-area:title;}
	.assetslist td:nth-child(4){grid-area:doc;}
	strong.docs + ul li{display:inline-block;margin-right:20px;}
	
	.assetslist td{padding:8px 30px;}
	strong.docs + ul{padding:10px 0px;}
	strong.docs + ul li{display:block;padding-top:0px !important;}
}

@media screen and (max-width:899px){
	.background{background-attachment:initial;}
	#footer .widget{text-align:center;padding-bottom:0;}
	.qlinks .menu li{float:none;}
}

@media screen and (max-width:860px){
	
	.alignleft.preview-img{float:none;margin:40px auto 20px;max-width:90%;display:block;}
	
	/*.assetslist,.assetslist tbody{display:block;}
	.assetslist tr{display:grid;grid-template-areas:'date title title' 'agenda minutes vid' 'doc doc doc';border-bottom:1px solid;}
	.assetslist td:nth-child(2){grid-area:title;}
	.assetslist td:nth-child(4){grid-area:doc;}*/
	.blog article .alignleft.preview-img{margin-top:0;}
}

@keyframes fade{
	from{opacity:0;}
	to{opacity:1;}
}

@media screen and (max-width:650px){
	.alignright,.alignleft{max-width:45%;}
	.potogold{padding:30px 0px 30px 0;}
	.stripes{display:none;}
}
@media screen and (max-width:572px){
	#logo{margin:0 auto;float:none;padding-bottom:15px;}
	.social-icons{text-align:center;float:none;}
	.head_contact_button{display:none !important;}
	#searchform{display:none;}
}
@media screen and (max-width:400px){input[name='s']{width:150px;}h1{font-size:26px;}}

/*.wrap steps & menu break*/
@media (min-width:700px){
	.break-wrap{margin-left:-40px;padding-left:40px;margin-right:-40px;padding-right:40px;}
	.stat_block{width:250px;font-size:32px;display:inline-block;vertical-align:top;}
}
@media (min-width:960px){
	#searchform{right:60px;}                
}
@media (min-width:900px){
	.break-wrap{margin-left:-60px;padding-left:60px;margin-right:-60px;padding-right:60px;}
	.stat_block{width:300px;font-size:40px;margin:40px 30px;}
	h3{font-size:28px;}
}
@media (min-width:975px){
	#searchform{left:unset;right:40px;bottom:11px;margin-top:0;}
	h1,.h1,.single h1{font-size:36px;}
	h2,h2.sub{font-size:28px;}
	.main-nav .sub-menu{background:#fff;margin-top:0;}
}
@media (min-width:1100px){
	#searchform{right:80px;}
	.break-wrap{margin-left:-80px;padding-left:80px;margin-right:-80px;padding-right:80px;}
	.potogold{padding-right:400px;}
	.stripes{right:260px;z-index:0;opacity:1;}
	.stripe{width:70px;}
	.stripe.purple{left:70px;}
	.stripe.blue{left: 140px;}
	h3{font-size:32px;}
	.accordion h3{line-height:48px;}
	.accordion{height:48px;}
}
@media (min-width:1560px){
	.break-wrap{margin-left:calc(700px - 50vw);padding-left:calc(50vw - 700px);margin-right:calc(700px - 50vw);padding-right:calc(50vw - 700px);}
	#searchform{right:calc(50vw - 700px);}
}
/*other*/
@media (min-width:1024px){
	.preview{height:315px;overflow:hidden;}
	.preview:after{content:'';position:absolute;top:50%;bottom:0;left:0;width:100%;background:linear-gradient(rgba(255,255,255,0),rgba(255,255,255,1));}
	strong.docs{cursor:pointer;}
	strong.docs + ul{background:#fff;position:absolute;left:0;top:50px;z-index:10;width:200%;overflow:hidden;display:none;box-shadow:0 4px 5px #eee;animation-name:fade;animation-duration:.5s;}
	td:focus strong.docs + ul,td:focus-within strong.docs + ul,td:hover strong.docs + ul{display:block;}
	strong.docs:before{content:'';border-bottom:4px solid grey;border-right:4px solid grey;display:block;width:10px;height:10px;float:right;border-bottom-right-radius:5px;transform:rotate(-135deg);margin-left:10px;margin-top:8px;}
	td:focus strong.docs:before,td:focus-within strong.docs:before,td:hover strong.docs:before{transform:rotate(45deg)}
	tr:last-child td strong.docs{display:block;margin-bottom:0;transition:margin .5s;}
	tr:last-child td:focus strong.docs,tr:last-child td:focus-within strong.docs,tr:last-child td:hover strong.docs{margin-bottom:150px;}
}
@media (min-width:861px){
	
}
@media (min-width:900px){
	h2{font-size:30px;}
}
@media (min-width:1050px){
	h1,.h1{font-size:50px;}
	h2{font-size:40px;}
	.vid-float{width:50%;margin:0 0 10px 20px;float:right;}
}
@media (min-width:1140px){
	.main-nav{font-size:22px;}
	.main-nav .menu > li > a:before{width:30px;height:30px;}
}
@media (min-width:1300px){
	h1,.h1{font-size:75px;}
	h2{font-size:50px;}
}
@media (min-width:1330px){
	.main-nav .menu > li > a{font-size:26px;}
	.main-nav .menu > li > a:before{width:40px;height:40px;margin-right:10px;}
}

/*The last 29 days of the month are the hardest."- Nikola Tesla*/

.half-container{display:flex;gap:20px;}
.half-container .half{width:50%;padding-top:0;padding-bottom:0;}
.half-container .half.first{padding-left:0;}
.half-container .half.last{padding-right:0;}

.recent_news .preview:after{background: linear-gradient(rgba(234, 233, 239, 0), rgba(234, 233, 239, 1));}
@media screen and (max-width:850px){
.half-container{display:block;}
.half-container .half{width:100%;}
.half-container .half.first{padding-right:0;}
.half-container .half.last{padding-left:0;}
}