﻿@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');

* {
	margin: 0;
	padding: 0;
}

body {
	text-shadow: none !important;
}

h1 {
	color: #0d6e50 !important; 
	font-size: 23pt;
	font-weight: 700;
	margin: 0 0 0.4em 0;
	text-shadow: none !important;
}

h2 {
	color: #b5bf00 !important;
	font-size: 18pt;
	font-weight: 600;
	margin: 0.4em 0;
	text-shadow: none !important;
}

h3 {
	color: #054d6c !important;
	font-size: 14pt;
	font-weight: 550;
	margin: 0.4em 0;
	text-shadow: none !important;
}

#container .Wrapper {
	width: 100%;
	max-width: 100%;
}

#smShare {
	display: none !important;
}

.breadcrumb {
	display: none;
}

h1#pageTitle {
	display: block !important;
}

#container .Wrapper {
    margin-top: calc(100vw*.25) !important;
    margin-bottom: 0;
}

.Header:not(.solid) .mainMenu>ul>li.static ul.level3.dynamic, 
.Header:not(.solid) .accountMenu .accountMenuItem, 
.Header:not(.solid) span[id*="_Menu_"], 
.Header:not(.solid), 
.Header:not(.solid) #ctl00_ctl62_ExplicitLogin {
    color: #0d6e50;
}

.Header:not(.solid) .mainMenu>ul>li.static ul.level3.dynamic, .Header:not(.solid) {
    background-color: hsla(0,0%,100%,.9);
}

.Header:not(.solid) {
    background-image: url("/Style%20Library/images/apsLogo.png") !important;
}

.Header:not(.solid) .accountMenu a {
    color: #0d6e50;
}

hr {
	margin: 1.5em 0;
	background-color: #444;
	height: 1px; 
}

a.arrow {
	color: #0d6e50;
}

i.fas.fa-arrow-right {
	color: #0d6e50;
	margin-left: 12%;
	font-size: 1.2em;	
}

a.arrow i.fas.fa-arrow-right::before {
	transform: translateX(20px);
}

/*Blocks*/

.innerWrapper {
	max-width: 1300px !important;
	margin: 0 auto;
}

.inner {
	max-width: 1300px !important;
	margin: 0 auto;
	display: flex;
	padding: 2% 0;
}

.bannerImage {
	background: url('/Style%20Library/Images/Homepage/APS_Banner2.png');
	background-repeat: no-repeat;
	background-size: 108%;
	height: calc(100vw*.24);
	display: block;
	width: 101% !important;
	position: absolute;
	top: 0;
	left: -3px;
}

.bannerImageText {
	max-width: 1300px !important;
	padding-top: 6%;
	padding-bottom: 2%;
	margin: 0 auto;
}

.bannerImageText h1 {
	font-family: 'Open Sans', sans-serif;
	font-size: 43pt;
	color: #fff !important;
	font-weight: 700;
	text-shadow: 1px 4px 14px #444 !important;
	margin: 4% 0 2% 0;
}

.bannerImageText h2 {
	font-family: 'Open Sans', sans-serif;
	font-size: 27pt;
	color: #fff !important;
	font-weight: 700;
	margin: 0;
	line-height: 1.3;
	text-shadow: none;
}

.bannerImageText .btn {
	color: #0d6e50;
	background-color: #fff;
}

.homeBlock1 {
	padding-top: 2%;
	padding-bottom: 2%;
	display: flex;
	justify-content: space-between;
}

.homeBlock1Text {
	width: 70%;
}

.homeBlock1Text h1 {
	margin-bottom: 1%;
}

.homeBlock1Text h2 {
	font-weight: 600;
}

.homeBlock1Text h4 {
	margin: 0;
}

.homeBlock1Text p {
	margin: 0.5% 0;
}

.homeBlockAd {
	width: 25%;
}

.homeBlockAd img {
	width: 100%;
}

/*Navigational Queries*/

.homeExplore .innerWrapper {
	padding: 3% 0;
}

.homeExplore {
	background-color: #f4f4f4;
}

.homeExplore h2 {
	float:left;
	margin-top:0;
	line-height: 44px;
	font-weight: 700;
    font-size: 23pt !important;
   	margin-right: 5%;
   	color: #0d6e50 !important;
}
    
#explore-control {
    float:left;
    margin-bottom:1.5em;
    max-width:100%;
   	position:relative;
    font-size:110%
}

#explore-control span {
    margin-right:5px;
    font-size:21px
}
    
#explore-control select {
   	-webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
   	height:50px;
    padding:0 1em 0 .75em;
    width:100%;
    background-color:#fff;
    border-radius: 8px;
}

#explore-control select::-ms-value {
    background:0;
    color:inherit
}

#explore-control select::-ms-expand {
    display:none
}

#explore-control .select-container {
    position:relative;
    display:inline-block;
    width:500px;
    max-width:100%
}

#explore-control .select-container:after {
    width:48px;
    height:50px;
    position:absolute;
    pointer-events:none;
   	content:"\f078";
	font:normal normal 400 18px/1 FontAwesome;
    top:0;
    right:0;
    border-top-right-radius:8px;
    border-bottom-right-radius:8px;
    background-color: #054d6c;
    color: #fff;
    line-height: 2.5;
    text-align: center;
    -webkit-transition:all .5s ease;
    -moz-transition:all .5s ease;
    -o-transition:all .5s ease;
    -ms-transition:all .5s ease;
    transition:all .5s ease
}

#explore-control .select-container:hover:after,#explore-control .select-container:focus:after {
     background-color: #82a6b5;
     line-height: 3;
}

#explore-results {
	margin-top:1em;
	clear:both;
	display: flex;
}

#explore-results .result {
	margin:0 10px 10px;
    width: 33%;
}

#explore-results .result a {
	position:relative;
    display:block;
   	background:#fff;
    box-shadow:0 2px 3px rgba(0,0,0,.1),-3px 0 0 #054d6c;
    text-decoration:none;
    color:#000;
    padding:1em 2.25em 1em 1em;
    height:100%;
    border-radius: 3px;
}

#explore-results .result a:hover {
	color:#054d6c
}

#explore-results .result a:hover:after {
	right:5px
}

#explore-results .result a:after {
	position:absolute;
    right:10px;
    display:inline-block;
    width:16px;
   	height:16px;
    content:"\f054";
    font:normal normal 400 18px/1 FontAwesome;
    top:36%;
    color:#0d6e50;
    -webkit-transition:all .5s ease;
    -moz-transition:all .5s ease;
    -o-transition:all .5s ease;
    -ms-transition:all .5s ease;
    transition:all .5s ease;
}

.homeBlock2 {
	padding: 2% 0;
	display: none;
}

.homeBlock2Text {
	width: 58%;
}

.homeBlock2Image {
	width: 100%;
}

.homeBlock2Image img {
	width: 100%;
}

.homeBar {
	background-color: #0d6e50;
	width: 102% !important;
	max-width: 102% !important;
	padding: 1.5% 0;
	display: none;

}

.homeBarInner {
	display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
    max-width: 1300px !important;
    margin: 0 auto;
    justify-content: space-between;
}

.homeBarText {
	width: 78%;
}

.homeBarButton {
	width: 20%;
}

.homeBar h1, .homeBar h2, .homeBar h3, .homeBar p {
	color: #fff !important;
	text-shadow: none;
	font-weight: 700;
}

.homeBar .btn {
	background: #fff;
	color: #0d6e50 !important;
	float: right;
	font-weight: 600;
	font-size:  16pt;
	padding: 3px 20px;
}

.homeBlock34 {
	/*background: #f4f4f4;*/
	width: 100%;
	padding: 2% 0;
}

.homeBlock34Sections {
	max-width: 1300px;
	margin: 0 auto;
	width: 100%;
	display: flex;
	column-gap: 2%;
}

.homeBlock34Sections > .homeBlock3 {
	flex: auto;
}

.homeBlock3 {
	width: 23.5%;
	background: #fff;
	filter: drop-shadow(0 0.2rem 0.25rem rgba(0, 0, 0, 0.2));
}

.homeBlock3Image img {
	width: 100%;
	height: 100%;
}

.homeBlock3Text  {
	padding: 5%;
}

.homeBlock3Text h2 {
	color: #000 !important;
	margin-bottom: 2%;
	font-size: 16pt;
	text-shadow: none !important;
}

.homeBlock3Text h3 {
	color: #b5bf00 !important;
	font-weight: 550 !important;
	font-size: 13.5pt;
	margin-top: 0;
	text-shadow: none !important;
}

.homeBlock3Text h3 {
	margin-bottom: 3%;
}

.homeBlock3Text p {
	line-height: 1.7;
	margin-bottom: 4%;
	font-size: 12pt;
} 

.homeBlock3Text h4 {
	color: #054d6c !important;
	font-size: 12pt;
	font-weight: 550;
	margin-bottom: 0;
}

.homeBlock3Text .ms-webpartzone-cell {
	margin-bottom: 0;
}

/*Podcast*/
#rssFeedWPDiv_ctl00_PlaceHolderMain_g_c76bff8d_9050_4536_92bf_557a2bdd99e0 {
	margin-top: -1%;
}

#rssFeedWPDiv_ctl00_PlaceHolderMain_g_c76bff8d_9050_4536_92bf_557a2bdd99e0 .item.link-item a {
	font-size: 12pt;
	color: #054d6c;
	font-family: 'Open Sans';
	font-weight: 550;
}

#rssFeedWPDiv_ctl00_PlaceHolderMain_g_c76bff8d_9050_4536_92bf_557a2bdd99e0 .item.link-item a:hover {
	text-decoration: none;
}

#g_c76bff8d_9050_4536_92bf_557a2bdd99e01 {
	font-size: 12pt;
	color: #000;
	font-family: 'Open Sans';
	padding-top: 10px;
	line-height: 1.7;
	display: none !important;
}

#rssFeedWPDiv_ctl00_PlaceHolderMain_g_c76bff8d_9050_4536_92bf_557a2bdd99e0 a.arrow {
	margin-top: -3%;
}

#rssFeedWPDiv_ctl00_PlaceHolderMain_g_c76bff8d_9050_4536_92bf_557a2bdd99e0 .item.link-item {
	padding-bottom: 0;
	margin-bottom: -2%;
}

.item.link-item {
	padding-left: 0;
}

.homeBlock5Header {
	padding-top: 2%;
	margin-bottom: -1%;
}

/*.homeBlock5 li:nth-child(-n + 2) {
	padding-bottom: 3%;
}

.homeBlock5 li:nth-child(-n + 4) {
	display: inline-block;
	width: 50%;
	vertical-align: top;
}*/

.homeBlock5 {
	background: #f4f4f4;
}

.homeBlock5 .innerWrapper {
	padding-bottom: 2%;
}

.homeBlock5 .cbq-layout-main ul>li:nth-child( even ) {
	width: 46%;
	margin-bottom: 2%;
	float: right;
}

.homeBlock5 .cbq-layout-main ul>li:nth-child( odd ) {
	width: 53%;
	float: left; 
	margin-bottom: 2%;
}

h3.eventTitle {
	font-weight: 600;
	margin-bottom: 0.2%;
	font-size: 14.5pt;
}

h3.eventTitle a {
	color: #054d6c !important;
}

.homeBlock5 a.arrow {
	float: right;
	width: 46%;
	font-weight: 600;
	margin-bottom: 3%;
}

.homeBlock6 img {
	width: 100%;
	height: auto !important;
}

.homeBlock7 {
	background: #f4f4f4;
	margin-top: -0.4%;
}

.homeBlock7Text {
	width: 58%;
	margin-right: 5%;
}

.homeBlock7Image {
	width: 37%;
}

.homeBlock7Image img {
	width: 100%;
}

.homeBlock8Header {
	max-width: 1300px !important;
	margin: 0 auto;
	padding-top: 2%;
}

.homeBlock8 {
	padding-bottom: 2%;
	display: flex;
	flex-wrap: wrap;
	text-align: center;
}

.homeBlock8Image {
	flex: 0 1 calc( 100% / 4 );
	flex-grow: 0;
}

.memberPromo {
	background: url('https://www.apsnet.org/Style%20Library/Images/Homepage/APS_Become-a-Member.png') no-repeat;
	background-size: cover;
}

.memberPromo .innerWrapper {
	padding: 2% 0;
	text-align: center;
}

.memberPromo h1 {
	font-size: 40pt;
	color: #fff !important;
	text-shadow: 1px 3px 9px #444 !important;
}

.memberPromo h4 {
	font-size: 25pt;
	color: #fff !important;
	text-shadow: none !important;
	font-weight: 600;
}

.memberPromo .btn {
	background-color: #fff !important;
	color: #0d6e50 !important;
	font-size: 25pt;
	padding: 3px 45px;
	border-radius: 9px;
	font-weight: 600;
}

@media only screen and (max-width: 1600px) {
	
	.homeBlock5 .innerWrapper {
		padding-bottom: 3%;
	}

}

@media screen and (max-width: 1400px) {

	#container .Wrapper {
		max-width: 100% !important;
		width: 100% !important;
	}
	
	.bannerImage {
		height: calc(100vw*.25);
	}
	
	.bannerImageText {
		max-width: 90% !important;
	}
	
	.innerWrapper {
		max-width: 95% !important;
	}
	
	.inner {
		max-width: 95% !important;
	}
	
	.homeBarInner {
		max-width: 80% !important;
	}
	
	.homeBlock34Sections {
		max-width: 95% !important;
	}
		
}

@media screen and (max-width: 1300px) {

	.bannerImageText h1 {
		font-size: 37pt;
	}

}


@media screen and (max-width: 1150px) {

	#container .Wrapper {
		margin-top: calc(100vw*.33) !important
	}
	
	.bannerImage {
		height: calc(100vw*.33);
		background-size: 125%;
	}
	
	.homeBlock34Sections {
		column-gap: 2%;
	}
	
	.homeBlock3, .homeBlock4, .homeBlock9, .homeBlock10 {
		width: 23.5%;
	}
	
	.memberPromo h1 {
		font-size: 33pt !important;
	}
	
	.memberPromo h4 {
		font-size: 20pt !important;
	}
	
	.memberPromo .btn {
		font-size: 18pt !important;
	}
}

@media screen and (max-width: 1000px) {

	.bannerImageText h1 {
		font-size: 33pt;
		margin: 5% 0 2% 0;
	}
	
	.homeBarInner {
		max-width: 90% !important;
	}

	
}


@media screen and (max-width: 950px) {

	.homeBlock5 .cbq-layout-main ul>li:nth-child( even ) {
		width: 46%;
	}
	
		
	.homeBar h1 {
		font-size: 24pt !important;
	}

	.homeBlock8Image img {
		width: 80%;
	}
}

@media screen and (max-width: 875px) {

	#explore-control .select-container {
		width: 380px;
	}
	
}

@media screen and (max-width: 850px) {

	#container .Wrapper {
		margin-top: calc(100vw*.4) !important;
		max-width: 100% !important;
		width: 100% !important;
	}
	
	.bannerImage {
		height: calc(100vw*.4);
		background-size: 140%;
	}
	
	.bannerImageText h1 {
		font-size: 29pt !important;
		margin: 8% 0 2% 0;
	}
	
	.homeBarText {
		width: 75%;
	}
	
	.homeBarButton {
		width: 25%;
	}
	
	.homeBar h1 {
		font-size: 21pt !important;
	}
	
	.homeBlock34Sections {
		flex-wrap: wrap;
	}
	
	.homeBlock3 {
		flex: 1 0 calc( 98% / 2 ) !important;
		flex-grow: 0 !important;
		margin-bottom: 2%;
		width: inherit;
	}
	
	.homeBlock6 img {
		width: 130% !important;
	}

}

@media screen and (max-width: 775px) {
	
	body {
		font-size: 11pt !important;
	}
	
	h1 {
		font-size: 20pt !important;
	}
	
	h2 {
		font-size: 15pt !important;
	}
	
	h3 {
		font-size: 13pt !important;
	}
	
	h4 {
		font-size: 12.5pt;
	}
	
	.btn, a span.ms-rteStyle-LinkButton {
		font-size: 11pt !important;
	}
	
	.homeExplore h2 {
		font-size: 20pt !important;
	}
	
	#explore-control span {
		font-size: 14pt;
	}
	
	#explore-control select, #explore-results .result a {
		font-size: 11pt;
	}
	
	.homeBar {
		max-width: 100%;
	}
	
	.homeBarInner {
		max-width: 95% !important;
	}
	
	.homeBar h1 {
		font-size: 19pt !important;
	}
	
	#g_c76bff8d_9050_4536_92bf_557a2bdd99e01 {
		font-size: 10pt;
	}
	
	.memberPromo h1 {
		font-size: 28pt !important;
	}
	
	.memberPromo h4 {
		font-size: 18pt !important;
	}
	
	.memberPromo .btn {
		font-size: 16pt !important;
	}	
			
}

@media screen and (max-width: 700px) {

	
	.homeBar .btn {
		padding: 3px 10px;
	}
	
	.homeBar h1 {
		font-size: 18pt !important;
	}
	
	#explore-control .select-container {
		width: 315px;
	}
	
	.homeBlock8Image img {
		width: 93%;
	}

}

@media screen and (max-width: 650px) {
	
	.inner {
		display: block;
		width: 80%;
	}
	
	#container .Wrapper {
		margin-top: calc(100vw*.43) !important;
	}
	
	.bannerImage {
		height: calc(100vw*.43);
		background-size: 155%;
	}
	
	.homeBlock1 {
		flex-direction: column;
	}
	
	.homeBlock1Text {
		width: 100%;
	}
	
	.homeBlockAd {
		width: 53%;
		margin: 0 auto;
		padding: 4% 0 0 0;
	}
	
	.homeBlock2 {
		display: flex;
		flex-direction: column;
		display: none;
	}
	
	.homeBlock2Text {
		width: 100%;
	}
	
	.homeBlock2Image {
		width: 100%;
	}
	
	.homeBar h1 {
		font-size: 16pt !important;
	}

	.homeBlock5 .innerWrapper {
		padding-bottom: 4%;
		margin-bottom: -3%;
	}

	.homeBlock5 .cbq-layout-main ul>li:nth-child( odd ) {
		float: none;
		width: 100%;
		margin-bottom: 4%;
	}
	
	.homeBlock5 .cbq-layout-main ul>li:nth-child( even ) {
		float: none;
		width: 100%;
		margin-bottom: 4%;
	}
	
	.homeBlock5 .cbq-layout-main ul>li>div {
		width: 100%;
	}	
	
	.homeBlock5 .cbq-layout-main {
		padding-left: 2%;
		margin-top: -2%;
	}
	
	.homeBlock5 a.arrow {
		float: none;
		padding-left: 3%;
	}
	
	.homeBlock6 {
		margin-top: 3%;
	}
	
	.homeBlock7 {
		display: flex;
		flex-direction: column;
	}
	
	.homeBlock7Text {
		width: 100%;
	}
	
	.homeBlock7Image {
		width: 100%;
	}
	
}

@media screen and (max-width: 600px) {
	
	.inner {
		width: 90%;
	}
	
	.homeBarText {
		width: 68%;
	}
	
	#explore-control .select-container {
		width: 400px;
	}
	
	#explore-results {
		display: block;
	}
	
	#explore-results .result {
		width: 95%;
	}
	
	.memberPromo h1 {
		font-size: 23pt !important;
	}
	
	.memberPromo h4 {
		font-size: 15pt !important;
	}
	
	.memberPromo .btn {
		font-size: 13pt !important;
	}	
	
}

@media screen and (max-width: 570px) {
	
	.homeBar {
		max-width: 97% !important;
	}
	
}

@media screen and (max-width: 545px) { 

	.bannerImageText h1 {
		font-size: 24pt !important;
	}
		
	.homeBar h1 {
		font-size: 15pt !important;
	}


}

@media screen and (max-width: 530px) {
	
	#explore-control .select-container {
		width: 300px;
	}
}

@media screen and (max-width: 500px) {
	
	.inner {
		width: 100%;
	}
	
	.homeBlock34Sections {
		display: block;
		width: 100%;
	}
	
	.homeBlock3, .homeBlock4, .homeBlock9, .homeBlock10 {
		width: 100%;
		margin-bottom: 5%;
	}	
	
	.homeBlockAd {
		width: 65%;
	}

}

@media screen and (max-width: 475px) { 

	.bannerImageText h1 {
		font-size: 16pt !important;
		margin: 14% 0 2% 0;
	}
	
	#container .Wrapper {
		margin-top: calc(100vw*.5) !important;
	}
	
	.bannerImage {
		height: calc(100vw*.5);
		background-size: 180%;
	}
	
	.bannerImageText .btn {
		font-size: 8pt !important;
	}
	
	.homeBarText {
		width: 70%;
	}
	
	.homeBarButton {
		width: 30%;
	}


	.homeBar h1 {
		font-size: 11pt !important;
	}
	
	.homeBar .btn {
		padding 3px 7px;
	}

}

@media only screen and (max-width: 415px) {
	
	#explore-control .select-container {
		width: 100%;
		
	}
}

@media screen and (max-width: 375px) { 

	#container .Wrapper {
		margin-top: calc(100vw*.5) !important;
	}
	
	.bannerImage {
		height: calc(100vw*.5);
		background-size: 180%;
	}
	
	.bannerImageText h1 {
		margin: 12% 0 2% 0;
	}
	
	.homeBlockAd {
		width: 100%;
		padding-top: 6%;
	}

}