/*
 Theme Name:  JBS Archives2026
 Description: Bootnews Child Theme
 Author:      JBS Sam Mittelstaedt
 Author URI:  https://jbs.org
 Theme URI:   http://https://bootstrap.news/
 Template:    bootnews
 Version:     1.0.0
 Text Domain: archives2026
*/

:root{
--titleFont:Tahoma, Geneva, sans-serif; /*ALT: "Lucida Sans Unicode", "Lucida Grande", sans-serif;*/
--bodyFont:Tahoma, Geneva, sans-serif;
--headingFont: "Arial Black", Gadget, sans-serif;
--bodyLineHeight: 1.6;
--bodyFontSize: 16px;
--bodyFontColor:#222;
--primaryColor:#022d6d;
--secondColor:#222;
--bluedk: #022D6D;
--bluedkr: #02275D;
--bluelt: #024b99;
--blueltr: #1f5fa0;
--bluegray: #99b0c6; /*#5c7799; slightly darker*/
--graylt: #f9f9f9;
--graymd: #aaa;
--greenmd: #009900;
--oragnemd:  #FF691F;
--oragnedk:  #EB4E00;
--reddk: #BA1B2E;
--reddkr: #b60d21;
--redlt: #D10B20;
--redltr: #f00;
--teal: #3ebcd8;
--yellowmd: #f7e700;
--primary: #1f5fa0; /*blueltr*/
--secondary: #022D6D; /*bluedk*/
--success: #009900; /*greenmd*/
--info: #17a2b8; /*teal*/
--warning: #ffc107; /*yellow*/
--danger: #D10B20; /*redlt*/
--light: #f8f9fa;
--dark: #343a40;
}
body,p{color:#000;}

.container-xl{max-width:1486px !important;}
.img-fluid img{width:100%; height:auto !important;}
img.img-fluid{width:100%; height:auto !important;}

.bulletin-toc {list-style-type: none; padding: 0;}
.bulletin-toc li {margin-bottom: 10px;}
.block-title-6 {margin-bottom: 0rem;}
.sidebar-link li a {padding: 0.2rem 0;}

.top-menu{background:var(--bluedkr);}
.six-menu .navbar-nav .nav-link {padding-top: 1rem;padding-bottom: 1rem;}
.second-header{background:var(--bluedk);}
.full-nav.bg-light{background: var(--bluedk) !important;};
.six-menu .navbar-nav .nav-link {padding-top: 2rem;padding-bottom: 2rem;}
.video-intro{font-size:1.2em;}
.main-menu.navbar-dark .navbar-nav .nav-item .dropdown-menu {border-width: 4px 0 0;color: #f6f6f6;background-color: var(--bluelt);}
.navbar-nav .dropdown-item:hover, #main-menu .vertical-tabs .nav-tabs .nav-link.active, .dropdown-item.active, .dropdown-item:active {color: #f6f6f6;}
.main-menu.navbar-dark .navbar-nav .nav-item .dropdown-menu .dropdown-item:hover {color: #fff !important;}

/*main menu*/
.menu-item-125412 .dropdown-menu{
	margin-left:-190px;
}

.bg-custom-footer{
    background-color: var(--primary-900);
    /* background-image: url(../../../assets/theme/bg/footer_flag.jpg); */
    color: #fff;
}
.foot-center .widget,.foot-right .widget{margin-bottom:.5em;}

/* lazyblocks */
.jbs-block-tm .size-medium{width:50%;}
.jbs-block-tm .img-size-half{width:50%;}
.jbs-block-tm .img-size-third{width:33%;}
.jbs-block-tm .img-size-quarter{width:25%;}
.jbs-block-tm .wp-block-embed{margin-bottom:0;}
@media (max-width: 992px) {
	.jbs-block-tm .size-medium{width:45%;}
	.jbs-block-tm .img-size-half{width:45%;}
	.jbs-block-tm .img-size-third{width:30%;}
	.jbs-block-tm .img-size-quarter{width:22%;}
}
@media (max-width: 420px) {
	.jbs-block-tm .size-medium{width:100%;}
	.jbs-block-tm .img-size-half{width:100%;}
	.jbs-block-tm .img-size-third{width:100%;}
	.jbs-block-tm .img-size-quarter{width:40%;}
}
/*lazyblock/products*/
.jbs-product-grid{}
.jbspg-error{margin-top:50px;height:200px;font-size:10px;}
.jbspg-item{width:200px;float:left;margin:5px;}
.jbspg-item:hover .jbspg-thumbnail{opacity:.7;}
.jbspg-image{height:200px;display:table-cell;vertical-align:middle;}
.jbspg-thumbnail{width:100%;height:auto;}
.jbspg-text{margin:5px 10px;font-size:.9em;line-height:1.5em;height:4.5em;overflow:hidden;text-align:center;}
.jbspg-more{text-align:center;}
.jbspg-more .btn{font-weight:400; padding:6px 20px;}

/*lazyblock/post + single-person*/
.jbs_posts{}
.jbs_posts_speakers{}
.jbs_posts_management{}
.jbs_posts_national-council{}
.jbs_post_intro{}

.jbs_post_list_panels{padding-left: 15px; padding-right: 15px;}
.jbs_post_faq_title, .jbs_post_toc_title{font-weight:bold; color:#555;}
.jbs_posts .panel-group .panel {border-radius: 0;box-shadow: none;border-color: #fff;}
.jbs_posts .panel-group p{margin-top:0; margin-bottom:0;}

.jbs_posts .panel-wrapper .panel-title{font-size:1em; border-bottom:0;}
.jbs_posts .panel-wrapper .panel-title > a{font-weight:400; color:#555;}
.jbs_posts .panel-wrapper > .panel-heading + .panel-collapse > .panel-body {background-color:#fff; border:0;}
.jbs_posts .panel-wrapper .more-less {float:none; color:#ccc; margin-right:0;}

.jbs_posts .panel-default > .panel-heading {padding: 0;border-radius: 0;}
.jbs_posts .panel-default .panel-title {font-size:.9em; border-bottom:1px solid #ccc;}
.jbs_posts .panel-default .panel-title:hover {background:#ccc;}
.jbs_posts .panel-default .panel-title > a{color:#1f5fa0; display:block; padding:2px 0 3px 5px; text-decoration: none; font-weight:400;}
.jbs_posts .panel-default .panel-title > a:hover{color:#009900;}
.jbs_posts .more-less {float: right;color: #212121; margin-right:5px;}
.jbs_posts .panel-default > .panel-heading + .panel-collapse > .panel-body {font-size:.9em; background-color: #Fafafa;border:1px solid #ccc; padding:8px;}
/*https://www.codeply.com/go/Ep9T1ItZrb/bootstrap-4-collapse-card-plus-minus-icons */
.jbs_posts .panel-default .panel-title > a:after{content: "-"; float: right; font-weight:900;}
.jbs_posts .panel-default .panel-title > a.collapsed:after {content: "+"; font-weight:900;}

ul.jbs_post_toc{list-style:none; margin-left:0;}
ul.jbs_post_toc li{font-size:.9em; padding:2px 0 3px 5px;}
.jbs_post_toc label{margin-bottom: 0;}
li.jbs_post_toc_item:hover{background:#ccc;}
li.jbs_post_toc_item{border-bottom:1px solid #ccc;}
li.jbs_post_toc_item a{font-weight:400;}

.jbs_post_list_item{}
.jbs_posts h4{margin-top:0;}
.jbs_post_speakers h4{font-weight:bold;}
.jbs_post_role{padding:5px 0; color:#777; font-size:1.2em;}
.jbs_post_speaker_availability{padding:3px 0; font-size:1.2em;}
.jbs_post_speaker_biography{padding:10px 0 0 0;}
.jbs_post_topic_title{padding:0 0 0 0; font-size:1.0em; color: var(--bluedk);font-weight:bold;}
.jbs_post_topic_title span{color:#555; font-weight:normal;}
/* .jbs_posts .jbs_post_topic_title{border-bottom:1px solid #ccc;} */
.jbs_post_topic_summary{padding:10px 0 0 0;}
.jbs_post_topic_summary p{padding-bottom:10px; margin-bottom:0;}
.jbs_post_topic_video{}
.jbs_post_content{padding:4px 0 0 0;}
.jbs_post_biography{}
.jbs_post_excerpt{}
.jbs_post_readmore{}
@media (max-width: 420px) {
	.jbs_posts .panel-title {font-size:1em; border-bottom:1px solid #ccc;}
	ul.jbs_post_toc li{font-size:1em; padding:2px 0 3px 5px;}
}
/* blockquote.jbs_post_speaker{padding:5px 20px 5px 20px;} */

/*video*/
.jbs-video .card-body{padding: .5rem; min-height:90px;}
.jbs-video h5.card-title{font-size:14px;}
.jbs-video-channel-title{border-top:1px solid #ccc; border-bottom:1px solid #ccc; padding:6px 0 6px 0;}
.modal-video .modal-footer{border-top:none;}
#video_overlay{opacity:1;z-index:50;position: absolute;top: 5px;left: 4px;}
#video_overlay span{color:#fff;font-size:36px;font-weight:bold;padding:5px 10px;background:rgba(0, 0, 0, 0.6);}
/* action alerts*/
.wp-block-lazyblock-jbs-alert-list h4{padding:.25rem 0 .25rem 0; margin-bottom:0; border-top:1px solid #ccc; border-bottom:1px solid #ccc;}

.alert_list_item{border:1px solid var(--graymd); color: var(--bodyFontColor);}
.alert_list_item:hover{background: var(--light);border:1px solid var(--primary);}
.alert_list_item p{margin-bottom:1em;color: var(--bodyFontColor);}
.alert-excerpt{font-size:1.1em;}
.alert-content-appendix{font-size:1.1em;}
.alert-form input[type="email"],.alert-form input[type="name"]{background:#fff;}


.archive-list-item{}
a.archive-list-item-title{font-size:1.3em;}

.archive-attachments{}
.archive-excerpt{}
.archive-file{padding:0 0 10px 10px;}
.archive-file i{padding-right:8px;}
.archive-file-display{padding:5px 20px;}
.archive-file-display .download-file{font-weight:normal;}

/*Field Coordinator finder*/
.coordinator-name{font-size:1.2em; font-weight:bold;}
.coordinator-position{font-size:1.2em;}
.coordinator-phone{font-size:1.2em;}
.coordinator-email{font-size:1.2em;}

/* Target Design Search Bar Styling */
.wp-block-search__inside-wrapper, 
.jbsn_search_form .input-group,
.search-form {
    border: 1px solid #e0e4e8 !important;
    border-radius: 8px !important;
    padding: 4px !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    box-shadow: none !important;
}

/* Internal Icon in Search Input */
.wp-block-search__input, 
.jbsn_search_form .search-input,
.search-form input[type="search"],
.search-form input[type="text"] {
    border: none !important;
    flex-grow: 1 !important;
    padding: 0.5rem 0.75rem 0.5rem 2.5rem !important; /* Space for the icon */
    font-size: 0.95rem !important;
    color: #333 !important;
    background: transparent !important;
    position: relative;
    /* This adds the magnifying glass inside the input box */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 12px center !important;
    background-size: 16px !important;
    outline: none !important;
}

/* Square Blue Action Button */
.wp-block-search__button, 
.jbsn_search_form button[type="submit"],
.search-form .search-submit {
    background-color: #022d6d !important;
    color: #fff !important;
    border-radius: 6px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    font-size: 0 !important; /* Hides the "Search" text */
    margin: 0 0 0 5px !important;
}

/* Icon on the Button */
.wp-block-search__button::before, 
.jbsn_search_form button[type="submit"]::before,
.search-form .search-submit::before {
    content: "\f002"; /* FontAwesome Magnifying Glass */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1rem;
    color: #fff;
}

/* Insider Reports (TNA-style behavior on Bootnews/BS4) */
.insider-accordion-toggle {
	position: relative;
	min-width: 34px;
	height: 34px;
	border-radius: 6px;
	border: 1px solid rgba(0,0,0,.15);
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.insider-accordion-toggle .insider-toggle-icon {
	font-weight: 700;
	line-height: 1;
	font-size: 18px;
	color: #022d6d;
}
.insider-accordion-toggle[aria-expanded="true"] .insider-toggle-icon { content: ""; }
.insider-collapse { margin-top: 8px; }
.insider-toc { margin: 0; padding-left: 18px; }
.insider-toc li { margin: 6px 0; }

.insider-toc-sidebar {
	border-radius: 16px;
	background: #f9f9f9;
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
