/* MSAA customized styles are at bottom */

.blocker {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%; height: 100%;
  overflow: auto;
  z-index: 1;
  padding: 20px;
  box-sizing: border-box;
/*  background-color: rgb(0, 85, 140); */
/*  background-color: rgba(0, 85, 140, 0.9); */
/*	background-color: rgba(255, 255, 255, 0.8); */
	background-color: rgba(0, 0, 0, 0.75);
  text-align: center;
  opacity: 1;
}
.blocker:before{
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  /*margin-right: -0.05em;*/
}
.blocker.behind {
  background-color: transparent;
}
.modal {
  display: none;
  vertical-align: middle;
  position: relative;
	left: -10px;
  z-index: 2;
  /*max-width: 500px;*/
  box-sizing: border-box;
  width: 90%; 
	max-width: 320px;
  background: #fff;
  padding: 15px 30px;
  -webkit-border-radius: 22px;
  -moz-border-radius: 22px;
  -o-border-radius: 22px;
  -ms-border-radius: 22px;
  border-radius: 22px;
	/*#00558C;  #ea0029; #00558C; */
 -webkit-box-shadow: 0 0 13px 1px #919191; 
  -moz-box-shadow: 0 0 13px 1px #919191; 
  -o-box-shadow: 0 0 13px 1px #919191; 
  -ms-box-shadow: 0 0 13px 1px #919191;
  box-shadow: 0 0 13px 1px #919191; 
  text-align: left;
  opacity: 1;
}

.modal a.close-modal {
  position: absolute;
  top: 6px; /*-12.5px;*/
  right: 6px; /*-12.5px;*/
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
	z-index: 93;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8UnkvDxXJzzy+q/yaxxeVHxW/FNHjgRSeKt4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
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  padding: 12px 16px;
  border-radius: 5px;
  background-color: #111;
  height: 20px;
}

.modal-spinner > div {
  border-radius: 100px;
  background-color: #fff;
  height: 20px;
  width: 2px;
  margin: 0 1px;
  display: inline-block;

  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.modal-spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.modal-spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.modal-spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.5) }
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.5);
    -webkit-transform: scaleY(0.5);
  }  20% {
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}

/* begin msaa styles */

/* alternative modal styles for search box */

.modalsearch {
  display: none;
  vertical-align: middle;
  position: absolute;
	top: 120px;
  z-index: 2;
  box-sizing: border-box;
  width: 90%;
height: 50px;
  background-color: #A9A9A9;
  padding: 15px 30px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -o-border-radius: 0px;
  -ms-border-radius: 0px;
  border-radius: 0px;
	-webkit-box-shadow: none;  
  -moz-box-shadow: none;  
  -o-box-shadow: none;  
  -ms-box-shadow: none;  
  box-shadow: none; 
  text-align: left;
  opacity: 1;
}


	
#nh_loginbox table {
border-collapse: separate;
border-spacing: 6px;
margin-left: auto; margin-right: auto;
}

#nh_loginbox table th, 
#nh_loginbox table td {
text-align: center;
}

#nh_loginbox table td.sm {
font-size: 80%;
}

#nh_loginbox table td a {
color: #ac2f3c;
font-weight: 700;
text-decoration: none;
}

div#nh_loginbox table td img#loginboxlogo {
width: 100%;
	max-width: 220px;
}

div#nh_loginbox table td input, 
div#nh_loginbox table td input[type=text] { 
	border: solid #ccc 1px; 
	background-color: #eeeeee;
}


#nh_loginbox table td a {
	color: #e4002b;
}

/* end */

/* begin 'new logo' lightbox CSS */

div.blocker div#annbox.modal {
	border: solid black 3px;
	left: 0px;
	font-family: 'Nunito Sans', sans-serif;
	width: 90%;
	max-width: 600px;
	padding-bottom: 30px;
}

div.blocker div#annbox.modal h1 {
	font-size: 36px;
	color: #00558C;
	text-align: center;
	font-weight: 700;
}

	@media only screen and (max-width: 380px) 
	{
		div.blocker div#annbox.modal h1 {
			font-size: 32px;
		}
	}

div.blocker div#annbox.modal div#exploreb {
	text-align: center;
	width: 90%; 
	max-width: 440px;
	margin-left: auto; margin-right: auto;
	background-color: #00558C;
	color: white !important;
	font-weight: 600;
	padding: 2px 20px;
	margin-top: 50px;
	font-size: 28px;
	-moz-border-radius: 40px;
	-webkit-border-radius: 40px;
	-khtml-border-radius: 40px;
	border-radius: 40px;
	line-height: 1.1em;
}

	@media only screen and (max-width: 380px) 
	{
		div.blocker div#annbox.modal div#exploreb {
			font-size: 22px;
			padding: 6px 18px;
		}
	}

/*<div id="annbox" class="modal">
		<h1>New Logo, New Homepage, Same MSAA</h1>
		<div id="logos">
			[pic]
		</div>
		<div id="exploreb">Explore the new MyMSAA.org</div>
	</div>*/

html body div#annblocker {
	background-color: #000;
	opacity: 0.75;
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0px; top: 0px;
	z-index: 77;
	display: none;
}

html body div#annbox {
  vertical-align: middle;
  position: fixed;
	top: 25%;
	left: 50%;
    transform: translate(-50%, 0);
  z-index: 88;
  /*max-width: 500px;*/
  box-sizing: border-box;
  width: 100%; 
	max-width: 600px;
  background: #fff;
  padding: 15px 30px;
	border: solid black 3px;
  -webkit-border-radius: 22px;
  -moz-border-radius: 22px;
  -o-border-radius: 22px;
  -ms-border-radius: 22px;
  border-radius: 22px;
	/*#00558C;  #ea0029; #00558C; */
 -webkit-box-shadow: 0 0 13px 1px #919191; 
  -moz-box-shadow: 0 0 13px 1px #919191; 
  -o-box-shadow: 0 0 13px 1px #919191; 
  -ms-box-shadow: 0 0 13px 1px #919191;
  box-shadow: 0 0 13px 1px #919191; 
  text-align: left;
  opacity: 1;
	display: none;
}

	@media only screen and (max-width: 380px) 
	{
		html body div#annbox {
			top: 10%;
			width: 90%;
		}
	}


html body div#annbox h1 {
	font-size: 36px;
	color: #00558C;
	text-align: center;
	font-weight: 700;
	padding-left: 10px;
}

html body div#annbox h1 span#annexit {
	/*background-color: red; 
	color: white;
	padding: 3px;
	padding-bottom: 2px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -o-border-radius: 16px;
  -ms-border-radius: 16px;
  border-radius: 16px;	
	border: solid maroon 1px;*/
	margin-left: 20px;
	font-size: 90%;
	float: right;
	color: red;
	position: relative; top: -25px; left: 10px;
}

	@media only screen and (max-width: 380px) 
	{
		html body div#annbox h1 {
			font-size: 32px;
		}
	}

html body div#annbox div#exploreb {
	text-align: center;
	width: 90%; 
	max-width: 440px;
	margin-left: auto; margin-right: auto;
	background-color: #00558C;
	color: white !important;
	font-weight: 600;
	padding: 10px 20px;
	margin-top: 50px;
	font-size: 28px;
	-moz-border-radius: 40px;
	-webkit-border-radius: 40px;
	-khtml-border-radius: 40px;
	border-radius: 40px;
	line-height: 1.1em;
}

	@media only screen and (max-width: 380px) 
	{
		html body div#annbox div#exploreb {
			font-size: 18px;
			padding: 6px 16px;
		}
	}

/*
	<div id="annblocker">
		<div id="annbox" class="exmodal">
			<h1>New Logo, New Homepage, Same MSAA</h1>
			<div id="logos"><img src="<?php echo esc_url( home_url( '/' ) ); ?>wp-content/uploads/2020/01/logo-transition-02.png" alt="new logo, new homepage, same MSAA" title="New Logo, New Homepage, New MSAA" /></div>
			<div id="exploreb">Explore the new MyMSAA.org</div>
		</div>
	</div>
*/

