/* Care Pages */

.criminal-history-cols {
	max-width: 90%;
	margin: 0 auto !important;
}

#criminal-history-col2 {
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0 !important;
	margin-top: 20px;
	padding-left: 5%;
	padding-right: 5%;
	padding-bottom: 0 !important;
	border-top: thin #aaa solid;
}

#criminal-history-col2 .wp-block-column {
	padding-left: 5%;
}

/* Modal Button */
.legal-modal-button {
	background-color: transparent;
	color: #0645AD;
	border: none;
	text-decoration: underline;
	cursor: pointer;
	font-size: 1rem;
	padding: 0;
}

.legal-modal-overlay {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow-y: auto;
	background-color: rgba(0, 0, 0, 0.5);
}

.legal-modal-content {
	background-color: #fff;
	margin: 10% auto;
	padding: 20px;
	border-radius: 10px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-legal-modal {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.close-legal-modal:hover,
.close-legal-modal:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

/* Sidebar Block */
.care-sidebar-block {
	background-color: #f2f2f2;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	padding: 20px 10px 20px;
	margin-left: 40px;
}

.care-sidebar-block h4 {
	margin: 0 0 0 1rem !important;
	font-size: 2rem;
}

.care-sidebar-block .wp-block-button {
	margin-top: 1rem;
	margin-bottom: 0.5rem;
}

/* Breadcrumbs */
.vsp-breadcrumb {
	margin: 1rem auto !important;
	margin-left: 6rem !important; /*updated 11-14-25*/
	margin-bottom: 5rem !important; /*updated 14-6-25*/
}

nav.vsp-breadcrumb ul {
	list-style: none;
	padding: 0;
	margin: 0 1rem 0;
	display: flex;
	flex-wrap: wrap;
	position: relative;
}

nav.vsp-breadcrumb li {
	position: relative;
	display: inline;
	margin-left: 0rem;
	margin-right: 0.2rem;
	padding-left: 0;
	font-size: 1.4rem; /*updated 11-6-25*/
}

nav.vsp-breadcrumb li::before {
	content: none !important;
}

nav.vsp-breadcrumb li + li::before {
	content: " // " !important; /*updated 11-6-25*/
	background-color: transparent;
	color: #555;
	margin: 0 0.25rem;
	display: inline;
	position: static;
}

/*Modern headers and mobile padding */

.entry-header > .section-inner { /* mod 11/14/25 */
    margin-left: 0;
    margin-right: 0;
}

h1.entry-title, h2.entry-title { /* mod 11/14/25 */
   text-align: left;
    margin-left: 6rem;
}

@media (max-width: 768px) { /* mod 11/14/25 */
    ul, ol {
        margin: 0 0 0 0;
    }
	
	li > ul, li > ol {
    margin: 0 0 0 0;
	}
}


/* Tooltip */
.eligibility-tooltip-wrapper {
	position: relative;
	display: inline-block;
}

.img-question {
	width: 20px;
	height: 20px;
	cursor: pointer;
	vertical-align: middle;
	border-bottom: none !important;
}

.eligibility-tooltip {
	display: none;
	position: absolute;
	top: 30px;
	right: 0;
	background-color: #fff;
	color: #000;
	border: 1px solid #ccc;
	padding: 15px;
	border-radius: 8px;
	width: 600px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	z-index: 999;
	text-align: left;
}

.eligibility-tooltip::before {
	content: "";
	position: absolute;
	top: -10px;
	right: 20px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent #ccc transparent;
}

.eligibility-tooltip-wrapper:hover .eligibility-tooltip {
	display: block;
}

@media (max-width: 600px) {
	.eligibility-tooltip {
		width: 90vw;
		right: 0;
		left: 0;
		margin: 0 auto;
	}
	.eligibility-tooltip::before {
		right: 50%;
		transform: translateX(50%);
	}
}


/* Landing Page Styles */
.care-landing-main {
	background-color: #f2f2f2;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.care-landing-main figure {
	margin-top: 0px !important;
}

.care-landing-main img {
	border-bottom: #474D5E 5px solid;
}

.care-landing-main .wp-element-button {
	width: 183px;
}

.care-left-nav {
	padding-top: 6rem;
}

/* Rectangle Box */
.agency-rectangle {
	border: 1px solid #797979;
	background-color: #ffffff;
	box-sizing: border-box;
	box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.35);
	padding-bottom: 4rem;
}

/* Welcome Text */
.welcome {
	font-family: "Arial Bold", "Arial", sans-serif;
	font-weight: 700;
	color: #333333;
	text-align: center;
	margin-bottom: 4rem !important;
}

.wp-block-cover {
	padding:0;
	margin-top:0 !important;
	min-height:30rem !important;
}

.new-agency {
  box-sizing: border-box;
  font-family: "Arial Bold", "Arial", sans-serif;
  font-weight: 700;
  color: #333333;
  font-size: 2.75rem;
  text-align: center;
  margin-bottom: 8rem !important;
}

/* 
  Inline modal container positioned directly above the Select button.
  Styled as a floating card with padding, border, and drop shadow.
  Includes fade-in animation on display.
*/
.ron-modal-inline {
	position: absolute;
	top: -180px; /* Adjust to float above the button */
	left: 50%;
	transform: translateX(-50%);
	width: 320px;
	background: #ffffff;
	
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
	z-index: 999;
	text-align: left;
	font-family: sans-serif;
	opacity: 0;
	animation: fadeIn 0.3s forwards;
  }
  
  /* 
	Keyframe animation to smoothly fade in the modal
  */
  @keyframes fadeIn {
	to {
	  opacity: 1;
	}
  }
  
  /* 
	Modal text content styling
  */
  .ron-modal-inline p {
	margin-bottom: 15px;
	font-size: 14px;
  }
  
  /* 
	Toggle group layout for Yes/No radio buttons.
	Uses flex layout with spacing between labels.
  */
  .toggle-group {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
  }
  
  /* 
	Hide native radio buttons and apply custom styles via labels.
  */
  .toggle-group input[type="radio"] {
	display: none;
  }
  
  /* 
	Base style for toggle labels.
	Appears as pill-style buttons with hover and selection feedback.
  */
  .toggle-group label {
	flex: 1;
	padding: 8px;
	background-color: #eee;
	text-align: center;
	border-radius: 20px;
	cursor: pointer;
	user-select: none;
	transition: all 0.2s ease-in-out;
	font-weight: bold;
	font-size: 14px;
  }
  
  /* 
	Style for selected toggle (radio checked).
	Visually indicates active choice using primary brand color.
  */
  .toggle-group input[type="radio"]:checked + label {
	background-color: #1e3a8a;
	color: white;
  }
  
  /* 
	Close “×” button in top-right corner of the modal.
	Allows user to manually dismiss the modal.
  */
  .ron-close {
	position: absolute;
	top: 8px;
	right: 12px;
	font-size: 20px;
	font-weight: bold;
	color: #444;
	cursor: pointer;
	transition: color 0.2s;
  }
  
  .ron-close:hover {
	color: #1e3a8a;
  }
  .ron-modal-inline #ronProceedBtn {
	display: block;
	margin: 0 auto;
  }

  .ron-button-flex {
	display: flex;
	justify-content: center;
  }

  .rec-check-col {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  }

  .rec-check-h5 { 
	margin-top:0 !important;
  }

/* Breadcrumb visibility optimization */
@media (max-width: 768px) {
  .vsp-breadcrumb {
    display: none;
  }
}


/* care-left-nav mobile optimization */
@media (max-width: 768px) {
	.care-left-nav {
	  padding-top: 0;
	  margin-top: 0 !important;
	  margin-bottom: 0 !important;
	  padding-left: 1rem;
	  padding-right: 1rem;
	}
	.wp-block-spacer {
		display: none !important;
  }
  :where(.wp-block-columns.is-layout-flex) {
    gap: 1em;
}
.care-sidebar-block {
    margin-left: 0;
    padding: 1rem;
    width: 100%;
	margin-top: 1rem !important;
	margin-bottom: 1rem !important;
  }
  /* General Public page column spacing optimization */
.wp-block-column.is-layout-flow,
.wp-block-column.wp-block-column-is-layout-flow {
	margin-top: 0.5rem !important;
	margin-bottom: 0.5rem !important;
	padding-top: 0.5rem !important;
	padding-bottom: 0.5rem !important;
}

/* Nested spacing inside column content */
.wp-block-column.is-layout-flow > *,
.wp-block-column.wp-block-column-is-layout-flow > * {
	margin-top:0.5rem !important;
	margin-bottom: 1rem; /* keep spacing readable */
}

/* Optional tighter spacing between columns if they are siblings in a flex layout */
.wp-block-columns.is-layout-flex {
	gap: 0.75rem;
}

}

body .va-agency-bar-container{
z-index:99 !important;	
}

/*deployed for breadcrumb desktop - breaks full hero of home page */
article {
	width: 116rem;
    margin: auto;
}

.home-page > article{
	width: auto !important;
    margin: auto !important;
}

@media (max-width: 768px) {

  article {
	width: auto !important;
    margin: auto !important;
}
	
.entry-content hr, hr.styled-separator {
 	margin: 3rem !important;
}

  
}