/***********************************************************************************
*   Virginia Department of Social Services                                         *
*   Designed and Developed by Jacques Walker                                       * 
*   Utilized: Bootstrap framework                                                  *
*   Contact: webdev [at] dss.virginia.gov                                          *
*   Copyright 2024                                                                 *
***********************************************************************************/

#va-commonBanner {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1030;
  }

.comment{
	color: green;
	}

a {
	color: #955BA5;
}

a:hover{
	text-decoration: none;
}

h2 {
    border-top: 1px solid RGB(0,0,0,0.1);
    padding-top: 5px;
	width: 100%;
}
.noline{
	border-top: none;
	}
header{
	margin-top: 40px;
	}
/* .pageWrapper{
	overflow: auto;
} */
.nm_font{
	font-weight: normal;
	}

.state-header {
    background-color: #212121;
    color: #FFF;
    min-height: 35px;
    padding-top: 3px;
	}
.state-header a{
	color: #FFF;
	text-decoration: none;
	}
.state-header a:hover{
	color: #CCC;
	text-decoration: none;
	}
.state-header a.nav-brand img {
    margin-right: 8px;
    margin-top: -3px;
}
.vdss, .COV{
	margin-top: 2px;
}
.navbar {
    border-bottom: 1px solid #DDD;
    margin-top: 28px;
    min-height: 60px;
}
 .navbar-nav {
    text-transform: uppercase;
    font-size: 15px;
}
.navbar-nav a{
	color: #595959;
	}
	
.navbar-nav a:hover{
	color: #2d95bf;
	}
	
.navbar-brand img.img {
    border: 1px solid #eee;
    margin-right: 5px;
    padding: 2px;
    width: 275px;
}
.navbar-brand.hz img.img {
    width: 210px;
    padding-bottom: 0px;
    padding-top: 1px;
    border: none;
}
button.navbar-toggler.navbar-toggler-right{
    float: right;
    top: 55px;
    position: fixed;
    right: 0;
}
.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #ccc;
	}
a.navbar-brand {
    color: #0056b3;
    display: block;
    position: absolute;
    top: 0px;
    background-color: #FFF;
    padding-left: 5px;
}
a:hover.navbar-brand{
	color: #007bff;
}

.search-bar {
    margin-top: 36px;
    background-color: #f0c419;
    padding: 12px;
	display: none;
}
.homepage .search-bar{
	padding-top: 3px;
}
.translate-bar {
    margin-top: 36px;
    background-color: #2d95bf;
    padding: 12px;
    display: none;
	color: #FFF;
}
.search-bar, .translate-bar{
	margin-bottom:-39px;
	}
.search-bar form, .translate-bar form {
    max-width: 830px;
    margin-left: 224px;
    display: block;
}
a.nav-link.search-button, a.nav-link.translate-button{
	font-size: 0px;
	}
a.nav-link.search-button i, a.nav-link.translate-button i {
    font-size: 18px;
}
.goog-te-gadget {
    color: #FFF;
}
.goog-logo-link, .goog-logo-link:link, .goog-logo-link:visited, .goog-logo-link:hover, .goog-logo-link:active {
    color: #FFF;
}
/* Google Custom Search Overrides */
.gsc-control-cse {
    border: none !important;
    background-color: transparent !important;
    padding: 0px !important;
}
.form-group{
	margin-left: 10%;
	margin-top: 5px;
	}
.search-bar .form-group{
	margin-left: 18%;
	}
.gsc-search-button-v2, .gsc-search-button-v2:hover, .gsc-search-button-v2:focus {
    border-color: #FFF;
    height: 32px;
    cursor: pointer;
}
.fam-alert{
	background-color: #9c2d9e;
	padding-bottom: 8px;
	}
.fam-alert .container{
	padding-left: 201px;
	}
.fam-alert .container p{
	margin-bottom: 2px;
	font-size: 15px;
	}
.fam-alert .container h2 {
    border-bottom: 1px solid #FFF;
    padding-bottom: 5px;
    font-size: 28px;
}
.fam-alert .container h4{
	font-size: 22px;
	margin-bottom: 3px;
	}
.fam-alert .container h1,.fam-alert .container h2,.fam-alert .container h3,.fam-alert .container h4,.fam-alert .container p{
	color: #FFF;
	}
.fam-alert .container a {
    color: #8bc6fb;
    border-bottom: 1px dotted;
	}
.fam-alert .container a:hover{
	color: #aeaeae;
	border-bottom: none;
	}
.fam-alert .container hr{
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	}
/*--*/
.hp .carousel-item {
    height: 73vh;
	width: 100%;
	}
.carousel-item{
	height: 50vh;
	min-height: 360px;
	width: 75%;
	}
.carousel-inner{
	overflow: visible;
	background-color: #FFFFFF;
	}
.about{
	background-color: #C94F0D;
	}
.prev_services{
	background-color: #955ba5;
	}
.ev_services{
	background-color: #955ba5;
	}
.ev_services .carousel-caption{
	bottom: 9%;
	}
.foster_care{
	background-color: #267EA1;
	}
.resources {
    background-color: #4EBA6F;
}
/* .carousel-shading{
    width: 100%;
    height: 50px;
    position: absolute;
    background-color: RGB(0,0,0,0.4);
    bottom: 0px;
    z-index: 1;
} */
.hp .carousel-shading {
    width: 50%;
    height: 58px;
    position: absolute;
    background-color: RGB(0,0,0,0.4);
    bottom: 105px;
    z-index: -1;
    margin-left: -57px;
}
.hp .carousel-caption {
    position: absolute;
    bottom: -105px;
    left: 6%;
    color: #006699;
    text-align: left;
    padding-left: 7px;
	padding-top: 0px;
	padding-bottom: 0px;
	width: initial;
}

.carousel-caption {
    width: 22%;
    color: #FFF;
    left: initial;
    right: 1%;
	bottom: 25%;
	top: 3%;
}
.carousel-caption h1{
    border-bottom: 1px solid RGB(255,255,255,0.2);
	margin-top: 0;
	padding-bottom: 5px;
	border-top: none;
	font-size: 2rem;
}
.hp .carousel-caption{
	top: initial;
	}
.hp .carousel-caption h1 {
    margin-bottom: 0px;
    border-left: 5px solid #DDD;
    padding-left: 6px;
    padding-bottom: 20px;
	color: #FFF;
}
.hp .carousel-caption p {
    margin-left: 14px;
    margin-top: -17px;
	font-size: 20px;
}
.call-in h2{
	border-top: none;
}
.push-down{
	margin-top: 125px;
	}
.card-title.callout {
    margin-top: -61px;
    color: #FFF;
    background-color: RGB(0,0,0,0.3);
    width: 27%;
    padding: 6px 3px 6px 7px;
    margin-left: -9px;
}
.ff-supports h4.card-header{
	color: #955BA5;
	}
.ff-upholds h4.card-header{
	color: #F16E27;
	}
.ff-invests h4.card-header{
	color: #40A55F;
	}
	
.ff-pillars h2 {
    margin-bottom: 20px;
}
.ff-pillars {
    margin-top: 53px;
    margin-bottom: 35px;
}
.ff-pillars img.pillar-icon {
    width: 65px;
    margin-right: 9px;
}
.ff-pillars .card-header{
	background-color: transparent;
	border: none;
	padding: .25rem 1.25rem;
	}
.ff-pillars .card-body {
    padding: 0 1.25rem;
}
.ff-pillars .card{
	border: none;
}

.news-reel .btn-primary {
    color: #955BA5;
    background-color: transparent;
    border-color: #955BA5;
}
.news-reel .btn-primary:hover{
	color: #FFF;
	background-color: #955BA5;
}
	
.news-reel h4 {
    font-size: 1.2rem;
    margin-bottom: 3px;
}
.news-reel p {
    font-size: 13px;
}
.news-reel .col-md-8 {
    padding-left: 0;
}
.action-call{
	border-right: 1px solid RGB(0,0,0,0.2);
	}	
	
	
.ribbon {
    border-top: 3px solid #777;
    border-bottom: 3px solid #777;
    min-height: 270px;
    padding-top: 54px;
    margin: 15px 0;
    width: 100%;
    background-color: #8c232d;
    color: #FFF;
    text-transform: uppercase;
    font-size: 15px;
}
.ribbon .col-md-2{
    border: 1px solid;
    margin: 0px 8px;
    min-height: 160px;
    padding-top: 16px;
}
.i_am {
    margin-top: -24px;
}

.i_am h2 {
    padding-top: 63px;
	font-size: 60px;
}
.ribbon a{
	color: #FFF;
	}
.ribbon a:hover{
	font-weight: 500;
	text-decoration: none;
	}
.portfolio-item .card{
	min-height: 435px;
	}	
.strategy .col-lg-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 19.666667%;
    max-width: 19.666667%;
	padding-left: 5px;
	padding-right: 5px;
}
.float-left.img-border {
    border: 1px solid #CCC;
    padding: 9px;
    margin: 3px 8px 10px 0px;
}
.tags {
    color: #757575;
    font-size: 13px;
    margin-top: 0px;
    font-style: italic;
	display: block;	
	margin-top: -3px;
}

/*Accordion Styling*/
.accordion {
  background-color: transparent;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

.accordion.active, .accordion:hover {
  background-color: #eaeaea;
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion:before {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #2A94BF;
  float: left;
  margin-right: 11px;
}

.accordion.active:before {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}
/*End Accordion Styling*/

footer{
    padding-top: 73px;
}
.contact-info{
	overflow: auto;
	}
.contact-info .brand{
	 height: 61px;
	}	
.contact-info p {
    margin-top: 18px;
    color: #FFF;
    font-weight: 400;
    font-size: 16px;
}
.vdss-banner{
	background-color: #242424;
	width: 100%;
	height: 50px;
	}
.vdss-banner .logo{
    margin-top: 11px;
}
.vdss-title, .vdss-title a {
    color: #FFF;
    font-size: 21px;
    padding-top: 12px;
    margin-left: 7px;
    font-weight: normal;
}
.vdss-title a:hover{
	color: #68b8fe;
	text-decoration: none;
	}
.soc-icons{
	padding-top: 10px;
	}
.soc-icons a {
    margin: 0 11px;
	opacity: 0.7;
}
.soc-icons a:hover{
	opacity: 1;
}
.copyright{
	font-size: 12px;
}
footer {
	padding-top: 10px;
	padding-bottom: 9px;
}
footer a{
	color: #6cb3ff;
	}
footer a:hover{
	color: #cecece;
	}
footer .copyright a{
	color: #cecece;
	}
footer .copyright a:hover{
	color: #6cb3ff;
	}
footer a.navbar-brand {
    color: #FFF;
    font-weight: 400;
	width: 61px;
	background-color: transparent;
}
footer a.navbar-brand img.img{
	width: 51px;
	margin-right: 12px;
	}
footer a.navbar-brand:hover {
    color: #68b8fe;
}

footer#vdss {
    padding: 10px 10px 0px 10px;
  }
footer#vdss img {
    opacity: 0.8;
	padding-bottom: 5px;
  }
footer#vdss img:hover {
    opacity: 1;
  }
#vdss a {
	color:white;
  }
#vdss a:hover {
	text-decoration:underline;
  }
.alert{
	background-color:#CC0063;
	color:#fff;
	padding:10px;
}
.alert a{
	color:#e7e7e7;
}
.alert a:hover{
	text-decoration: underline;
	color: #FFF;
}
.alert h5{
	line-height:1.5;
}
.alert p{
	font-size: 1.1em;
}
.eb-services table{
	color: #FFF;
	border-color: #FFF;
}
.eb-services th {
	background-color: #40A55F;
	color: #FFF;
	padding: 10px;
	border: 1px solid #dbdbd2; ;
} 
.eb-services tr{
	color: #FFF;
}
.eb-services tr:nth-child(2){
	background-color: #8364a8;
}
.eb-services tr:nth-child(3){
	background-color: #706ead;
}
.eb-services tr:nth-child(4){
	background-color: #5973B1;
}
.eb-services td {
	padding: 10px;
	border: 1px solid #dbdbd2; ;
}
.eb-services .tab { 
	margin-left: 80px;
}
@media(min-width: 1457px){
	.hp .carousel-caption{
		bottom: -77px;
		}
	.hp .carousel-shading{
		bottom: 77px;
		}
	}
	
@media (max-width: 1346px){
	.hp .carousel-caption{
		bottom: -108px;
		}
	.hp .carousel-shading{
		bottom: 108px;
		}	
}	

@media (max-width: 1136px){
	.hp .carousel-caption{
		bottom: -103px;
		}
	.hp .carousel-shading{
		bottom: 103px;
		}	
}
@media (max-width: 1024px){
	.carousel-caption {
		bottom: 7%;
	}
}	
@media (max-width: 992px){
	.navbar-expand-lg .navbar-nav .nav-link {
		padding-right: 0.8rem;
		padding-left: .8rem;
	}
	.hp .carousel-caption{
		bottom: -133px;
		}
	.hp .carousel-shading{
		bottom: 133px;
		}
	.navbar-nav {
		text-transform: uppercase;
		font-size: 15px;
		margin-top: 110px;
	}
	.search-bar, .translate-bar{
		margin-top: 366px;
		}
	.search-bar form, .translate-bar form{
		margin-left: 0px;
		}
	.strategy .col-lg-2 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}		
}
@media (max-width: 884px){
	.hp .carousel-caption{
		bottom: -124px;
		}
	.hp .carousel-caption p{
		font-size: 18px;
		}
	.hp .carousel-shading{
		bottom: 124px;
		}	
}
@media (max-width: 858px){
	.carousel-caption {
		bottom: 0%;
	}
	.carousel-caption h1{
		font-size: 25px;
	}
	.carousel-caption p {
		font-size: 86%;
	}
}
@media(max-width: 580px){
	.carousel-caption p {
		display: none;
	}
}
/* Additions to clean up nav for Terminalfour implementation  */
	nav {
		/* position: fixed; */
		top: 0;
		width: 100%;
		background-color: white;
		z-index: 1030;
		border-bottom: 1px solid #EEE;
	}

	nav ul {
		list-style: none;
		margin: 0 0 0 22%;
		padding: 6px 0;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		flex-wrap: wrap;
	}

	nav ul > li {
		position: relative;
	}

	nav ul li a {
		display: block;
		padding: 15px 20px;
		text-decoration: none;
		color: #595959;
		text-transform: uppercase;
		font-size: 15px;
	}

	nav ul li a:hover {
		color: #2d95bf;
	}

	nav ul > li > a::after {
		content: "\25BC";
		display: inline-block;
		margin-left: 4px;
		font-size: 0.78em;
		color: #595959;
	}

	nav ul > li > a:hover::after {
		color: #2d95bf;	
	}

	nav ul > li:not(:has(ul)) > a::after {
		content: ""; /* Remove arrow for items without dropdowns */
	}
	/* Logo styling */
	nav ul > li.logo {
		position: absolute;
		background: #FFF;
		border: 1px solid #EEE;
		top: 0px;
		left: 47px;
		z-index: 1;
	}

	nav ul > li.logo a img {
		width: 184px;
		padding: 9px;
	}

	nav ul > li.logo a{
		padding: 3px;
	}

	nav ul > li.logo.hz{
		border: none;
	}

	nav ul > li.logo.hz a img{
		width: 184px;
		border: none;
		padding: 0px;
	}
	i.fa.fa-search{
		font-size: 1.2em;
	}

	/* Dropdown styles */
	nav ul li ul {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		background-color: white;
		border: 1px solid #ddd;
		padding: 10px 0;
		min-width: 200px;
		z-index: 1000;
	}

	nav ul li ul li a {
		padding: 10px 15px;
	}

	nav ul li ul li a:hover {
		background-color: #f8f9fa;
	}

	nav ul li.open > ul {
		display: block;
	}
	nav > ul > li.open:last-of-type > ul{
		left: unset;
		right: 18px;
	}
	li.bbar-service-item button {
		font-size: 1.75rem !important;
	}
	.bbarServiceCategoryList li {
	font-size: 1.75rem !important;
	}
	body {
	padding-top: 0 !important;
	}
	.fixed-top{
	position: -webkit-sticky;
	position: sticky;
	top: 0px;
	}
	header{
	margin-top: 5px;
	}
	.search-bar{
	margin-top: 0px;
	margin-bottom: -5px;
	height: 70px;
	}

/* Translation Styling */
  #button-slider {
    display: flex;
    align-items: center;
    background: rgba(105, 80, 161, 0.75);
    position: fixed;
    width: 160px;
    right: -100px;
    top: 70%;
    padding: 10px 15px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    z-index: 2000;
  }
  #button-slider > img {
    width: 2rem;
  }
  #disclaimer {
    /* display:flex; */
    align-items: center;
    background: rgba(105, 80, 161, 0.75);
    position: fixed;
    width: auto;
    max-width: 210px;
    right: -1px;
    top: 76%;
    padding: 10px 15px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    z-index: 2000;
    color: #fff;
    border: none;
  }
  .disclaimer a {
    color: white;
    text-decoration: none;
  }
  .disclaimer a:hover {
    text-decoration: underline;
  }
  .hidden-disclaimer {
    display: none;
  }
  img.goog-te-gadget-icon {
    display: none !important;
  }
  .button-open {
    right: -3px !important;
    width: 180px !important;
  }
  #google_translate_element {
    margin-left: 15px;
  }
  .goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
  }
  .goog-te-gadget-simple .goog-te-menu-value span {
    color: #fff !important;
    font-weight: 600;
  }
  .button-transition {
    -webkit-transition: right 0.3s ease-out; /* Chrome 1-25, Safari 3.2+ */
    -moz-transition: right 0.3s ease-out; /* Firefox 4-15 */
    -o-transition: right 0.3s ease-out; /* Opera 10.50–12.00 */
    transition: right 0.3s ease-out; /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */
  }

/* Mobile menu toggle */
.toggle {
	display: none;
	padding: 15px;
	font-size: 24px;
	cursor: pointer;
}

@media (max-width:1342px) {
	nav ul {
		margin: 0 0 0 30%;
	}
}

@media (max-width: 1090px) {
	nav ul {
		flex-direction: column;
		align-items: flex-start;
		display: none;
		margin: 0 0 0 3%;
	}

	nav ul.active {
		display: flex;
	}

	.toggle {
		display: block;
		font-size: 1.2em;
	}
	nav ul > li.logo {
		position: relative;
		left: 0px;
	}
	nav ul li.open > ul {
		margin-left: 44px;
	}
	nav > ul > li.open:last-of-type > ul{
		left: 0;
		right: 0;
	}
}

