/* Global Styles */

.com-programs-wrapper {
  margin-top: 3rem;
}
/* Fix for header logo size */
@media screen and (min-width: 991.99px) {
  #header #header-top #header-logo {
    display: flex;
    align-items: center;
  }
  #header #header-top #header-logo img {
    height: auto;
    min-width:100%;
    width: 100%;
  }
}
/* Adjust left margin of navigation to provide a bit more room for the logo. */
#header #header-top #menu_primary{
  margin-left: 15px;
}
@media screen and (min-width: 768px) {
	.com-splash {
		display: flex;
		justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
	}
	.com-user-wrapper {
		width: calc(100% * (1/3) - 15px);
		margin-right: 15px;
	}
  .com-slider-wrapper {
    width: calc(100% * (2/3) - 15px);
		margin-left: 15px;
  }
	.com-programs-wrapper {
		display: flex;
		flex: 1 auto;
		flex-wrap: wrap;
    /* justify-content: space-between; */
		/* width: calc(100% * (2/3) - 15px); */
	}
	.com-programs-wrapper .thumbnail {
		width: calc(100% * (1/2) - 15px);
    margin-right: 30px;
	}
  .com-programs-wrapper .thumbnail:nth-child(2n) {
    margin-right: 0;
  }
}
@media screen and (min-width: 992px) {
	.com-programs-wrapper .thumbnail,
  .com-programs-wrapper .thumbnail:nth-child(2n) {
		width: calc(100% * (1/4) - 23px);
    margin-right: 30px;
	}
  .com-programs-wrapper .thumbnail:nth-child(4n) {
    margin-right: 0;
  }
}

h1,h2,h3,h4,h5,h6 {
  margin-bottom: 1.5rem;
  margin-top: 1rem;
  font-weight: 600;
  line-height: 1.333;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.125em; }
h5 { font-size: .875em; }
h6 { font-size: .75em; }

label {
  float: none;
  width: auto;
  margin: 5px 0;
}

input {
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  margin: 5px 0;
  padding: 4px;
}

/* From Senior Center */
a, a:link, a:active, a:visited { 
  color: var(--secondary-color); 
  font-size: inherit;
  text-decoration: none;
}  
a:hover {
  color: #1a4060;       
  text-decoration: none;
} 
a:focus,
input:focus {
  outline: none;
  -webkit-box-shadow: 0 0 0 4px #a2d7e8;
  box-shadow: 0 0 0 4px #a2d7e8;
  border-radius: 0.02rem;
}
body {
  color: #222222;
  background: #ffffff;		
}
#app {
  background-color: var(--page-background);
}
h1, h2, h3, h4, h5, h6 {
  color: inherit;
  margin-top: 14px;
  margin-bottom: 7px;
  padding-bottom: 0;
  font-weight: 600;
}
#content {
  padding-top: 5rem;
  padding-bottom: 3rem;
  margin: 0 auto;
}
@media (min-width: 992px) {
#content {
  padding-top: 3rem;
}
}
#content .inner {
  padding: 0;	
}
.thumbnail {
  min-height: 20px;
  background-color: var(--background-color);
  border: none;
  border-radius: 0;
  -webkit-box-shadow: none;
  border-bottom: 5px solid #ccc;
  box-shadow: none;
  position: relative;
  padding: 0;
  margin-bottom: 30px;
}
.thumbnail img {
  width: 100%;
  height: auto;
}
.thumbnail .caption {
  padding: 15px;
  margin: 0;
}
.thumbnail .caption a {
  font-size: .9em;
  color: var(--primary-color);
}
.thumbnail .caption a:hover,
.thumbnail .caption a:focus {
  color: var(--primary-color-hover);
}
.thumbnail .caption a:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
fieldset {
  padding: 0;
  font-size: inherit
}
.loginform label {
  float: none;
  display: block;
  margin-bottom: 7px;
  padding: 0;
  font-size: 1em;
  font-weight: 600 !important;
}
.loginform label.required {
  color: initial;
}
.loginform input {
  display: block;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  background: #fff;
  color: #222;
}
.loginform input[type="text"],
.loginform input[type="password"] {
  width: 100%;
  font-size: 16px;
}
/* .loginform .button {
  float: none;
} */
/* #sp_login h2,
#sp_welcome h2 {
  font-size: 1.5em;
} */
#sp_login ul > li,
#sp_welcome ul > li {
  padding: 4px 0;
}
#sp_login .account-links a {
  font-size: 1em;
}
input[type="text"],
input[type="password"] {
  padding: .65rem 1rem !important;
  border-radius: 4px;
  height: 43px;
}
input[type="text"],
input[type="password"] {
  background: #fff !important;
  border-color: #ccc;
  color: #222;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.no-margin { 	margin:0; }
.no-margin-top { margin-top: 0; }
.no-padding { padding:0; }

/* Slideshow Styles */
#sp_scroller {
	height:350px;
	position:relative;
	overflow:hidden;
}

#scroller {
	width: 100%;
	z-index:1;
}
#scroller .items {
	width:999999px;
	display:block;
	position:absolute;
	top:0;
	left:0;
	z-index:1;
}
#scroller .items .item {
	display:block;
	float:left;
	position:relative;
	z-index:1;
}
#scroller .items img {
	width: 100% !important;
}
