html {
  background: #efefef;
}

body {
    color: #000000;	/*#de763f;*/
}

#search {
  padding-top: 1%;
}

#header {
	height: auto;

	box-shadow: 1px 2px 3px #9C9DB9;		/* FA6900 Grey/Gray shadow under the Header */
	/*border-bottom: 8px solid #de763f ;		/* FA6900 thick line under the Header */

	
}
#header-color-splash {
  float:right;
  border-top: 80px solid #de763f;   /* Purple: bc7dec Green 96b471 Header Top Flag */
  border-left: 80px solid transparent;
  margin-top: -120px;
}
#splash-wrapper {
  float: right;
  margin-top: -80px;
}
.splash {
  width: 20px;
  height: 5px;
  border-radius: 2.5px;
  margin: 7px 5px 0 0;
  background-color: #fff;
}

#maintype {
  float: left;
  width: 82%;
  margin-top: 10px;
  margin-left: 18%;
  margin-right: -100%;
}

#logo {
  display: block;
  float: left;
  width: 110px;
  margin-top: -100px;
  margin-left: 250px;
}

#logo img {
  transform:rotate(25deg);
  -ms-transform:rotate(25deg); /* IE 9 */
  -webkit-transform:rotate(25deg); /* Opera, Chrome, and Safari */
}

#name-and-slogan {
	width: 70%;
}
#site-name {
  padding-top: 10px;
  display: block;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
}
#site-name a {
  font-size: 36px;
  font-family: helvetica;
  color: #fff;
  text-decoration:none;
  line-height: 30px;
}
.highlight1 {
  color: #bb2321;
}
.highlight2 {
  color: #f62824;
  line-height:35px;

}
#site-name a:hover {
  color: #362E23;
}
  
#site-slogan {
  color: #09ABD1;
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  font-weight:bold;
}
/** Search Bar Styles **/
#search {
  float:right;
  /**width: 280px;**/
  margin-top: 0px;
}
.gsc-control-cse.gsc-control-cse-en {
  font-family: Arial, sans-serif;
  padding: 10px 0px 0px 20px;
  border: none;
  background-color: transparent;
}
input.gsc-search-button.gsc-search-button-v2, 
input.gsc-search-button.gsc-search-button-v2:hover, 
input.gsc-search-button.gsc-search-button-v2:focus {
  border-color: #ccc;
  background-color: #bb2321;
  background-image: none;
  filter: none;
}

/** Main Content Sytles **/
#page {
	background-color: #fffced;			/* For the Whole Page */
	box-shadow: 1px 2px 3px #9C9DB9;		/* FA6900 Border Around the Page */

	margin-left: auto;
	margin-right: auto;

	max-width: 1250px;
	font-family: Verdana;
	font-size: 100%;
	line-height: 1.5em;
}

#main {
  padding-left: 0%;  /* was 1% */
  padding-right: 0%; /* was 1% */
  position: relative;
}
#footer .block {
  background-color: rgb(65, 187, 0);
  border: 1px solid green;
  border-radius: 5px;
  padding-left: 1%;
  padding-right: 1%;
  float: left;
  margin-left: 1%;
  width: 16.6%;
  height: 200px;
}
#footer .block p {
  margin: 5% 0 0 0;
  padding: 0;
}
#block-block-5 ul {
  margin: 0;
  padding: 0;
}
#block-block-5 li {
  display: inline;
}
#block-block-5 li a {
  font-size: .5rem;
}


/* 
		CSS MENU STYLES
*/


/* Base Styles */
#li_index {
/*  background: #e84323;
  background: -moz-linear-gradient(#e84323 0%, #9b2f1f 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e84323), color-stop(100%, #9b2f1f));
  background: -webkit-linear-gradient(#e84323 0%, #9b2f1f 100%);
  background: linear-gradient(#e84323 0%, #9b2f1f 100%);
*/
}

#cssmenu,
#cssmenu ul,
#cssmenu li,
#cssmenu a {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  font-weight: normal;
  text-decoration: none;
  line-height: 1;
  font-family: Verdana;
  font-size: 100%;
  position: relative;
}

#cssmenu {
  float: left;
  width: 17%;
  margin:0 1% 0 0;
  margin-top: 10px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.clear-both {
  clear: both;
  display: table;
  width: 1px;
}

#clear-both {
  clear: both;
  display: table;
  width: 1px;
}
#cssmenu a {
  line-height: 1.3;
}

/* Defaults for the a href's */

a {
    color: #217DD3;
}

a:hover {
    color: #a50000;
}

a:link {
    text-decoration: none;
    font-weight: bold;
}

a:visited {
    text-decoration: none;
}

/*border=".5" cellpadding="10" cellspacing="0"*/

/* a 217DD3 blueish, a:hover: a50000 redish */

#cssmenu > ul > li {
  background: #7490b8;	/* Navigation Buttons Dark  */
  margin-bottom: 3px;
  text-align: left;
}

.cssmenucurrent {
  background: #000000;	/* Navigation Buttons Selected */
}

#cssmenu > ul > li:hover {
  background: #3a5f92;	/* Navigation Buttons Hover b5d5d2 - Light, 62a7a0 - Dark */
}
#cssmenu > ul > li > a {
  font-size: 100%;		/* .9em; */
  display: block;
  color: #FFFFFF;
  padding-left:10px;
  border: 1px solid #745c17;
/*  border: 1px solid #ba2f14;*/
  border-top: 1px solid #d3c69e;
  border-left: none;
 /*  text-shadow: 0 -1px 1px #751d0c; fuzzy */
}
#cssmenu > ul > li > a > span {
  display: block;
  padding: 12px 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
#cssmenu > ul > li > a:hover {
  text-decoration: none;
}
#cssmenu > ul > li.active {
  border-bottom: none;
}

#cssmenu > ul > li.has-sub > a span {
  background: url(https://analyticalphilately.org/css/icon_plus.png) 96% center no-repeat;
}
#cssmenu > ul > li.has-sub.active > a span {
  background: url(https://analyticalphilately.org/css/icon_minus.png) 96% center no-repeat;
}

#cssmenu ul ul {
  display: none;
  background: #fff;
  border-right: 1px solid #a2a194;
  border-left: 1px solid #a2a194;
}
#cssmenu ul ul li {
  padding: 0;
  border-bottom: 1px solid #d4d4d4;
  border-top: none;
  background: #f7f7f7;
  background: -moz-linear-gradient(#f7f7f7 0%, #ececec 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #ececec));
  background: -webkit-linear-gradient(#f7f7f7 0%, #ececec 100%);
  background: linear-gradient(#f7f7f7 0%, #ececec 100%);
}
#cssmenu ul ul li:last-child {
  border-bottom: none;
}
#cssmenu ul ul a {
  padding: 10px 10px 10px 25px;
  display: block;
  color: #000F95; /* Navagation Sub Level - 2967BA - 000F95 */
  font-size: .8em;
  font-weight: normal;
}
#cssmenu ul ul a:before {
  content: '\00BB';
  position: absolute;
  left: 10px;
  color: #2967BA;
}
#cssmenu ul ul a:hover {
  color:#2967BA;
}

#cssmenucurrentli {
  background: #e84323;
  background: -moz-linear-gradient(#e84323 0%, #9b2f1f 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e84323), color-stop(100%, #9b2f1f));
  background: -webkit-linear-gradient(#e84323 0%, #9b2f1f 100%);
  background: linear-gradient(#e84323 0%, #9b2f1f 100%);
}
/** Site message blocks **/
.bigtextbold,
.bigtextbold a {
  font-family: Arial;
  font-weight: bold;
  font-size: 40px;
  color: #fff;
  text-decoration: none;
  margin: 0 10px 20px 0;
}
.mediumtextbold,
.mediumtextbold a {
  font-family: Arial;
  font-weight: bold;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  margin: 0 10px 10px 0;
}
#main-message {
  padding: 5px 20px;
  color: #FEF9F9;
}
.message-wrapper {
  margin-bottom: 40px;
  height: 200px;
}
.main-message-wrapper {
  background: #5cd859;
  width: 60%;
/*  display:inline-block;*/
  float: left;
      height: 200px;
}
.second-message-wrapper {
  width: 39.5%;
/*  display: inline-block;*/
  float: left;
  border: 1px solid green;
  height: 198px;
  padding: 0;
  margin: 0;
}
.second-message {
  color: #C34A48;
 padding: 0 5px;
}
.hugetextbold {
  color: #5cd859;
  font-size: 72px;
  font-weight: bold;
  padding-left: 20px;
  line-height: 40px;
}
.first-word {
  color: #f62824;
}
.middle-word {
  margin-left: 20px;
}
.last-word {
  float: right;
  padding-bottom: 3px;
}
.sub-article {
  background-color: #bb2321;
  height: 100px;
  margin-bottom: 20px;
}
.sub-article:hover {
  background-color: #C34A48;
}
.sub-article-text {
  padding: 20px;
}
.sub-article-image img {
  height: 90px;
  padding: 5px;
}
.sub-article-image img:hover {
  height: auto;
  position: absolute;
  right: 0px;
  border: 2px solid #555;
  padding:0;
  z-index:10;
  -webkit-box-shadow: 2px 2px 4px #555;
  -moz-box-shadow: 2px 2px 4px #555;
  box-shadow: 2px 2px 4px #555;
}
.sub-article-image-link {
  position: relative;
  float:right;
}
.sub-article-image-title {
  color: #ccc;
  text-decoration: none;
}
.sub-article-column {
  width: 49%;
}
.float-left {
  float: left;
}
.float-right {
  float: right;
}
#splash-logo-wrapper {
  float: right;
  margin-right: 5px;
  margin-top: -75px;
  vertical-align: text-top;
}
#splash-logo-wrapper a {
  color: #fff;
  text-decoration: none;
}

#splash-logo2 {
  height: 65px;
}

#splash-logo {
  height: 65px;
}
#splash-logo-text {
  float: right;
  margin-right: 5px;
  margin-top: -25px;
}
#splash-logo-text a {
  color: #fff;
  text-decoration: none;
}

.bigtextbold.first-word {
  display:block;
  margin: 0; 
}
.hugetextbold,
.middle-word,
.middle-word2 {
  display:block;
}
.middle-word {
  margin-top:10px;
}
@media screen and (max-width: 1090px ) {
  .second-message-wrapper,
  .main-message-wrapper {
    width: 100%;
    height: auto;
  }
  .second-message-wrapper {
    border: none;
  }
  .hugetextbold,
  .middle-word,
  .middle-word2 {
     display:inline;
  }
  .last-word {
    float:none;
  }
  .sub-article-text {
    padding: 10px;
  }
}
#footer {
  text-align: center;
  color: #FFF;
  background: #3a5f92;		/* Orange #de763f;    Green #537c20;  Light Blue #7490b8  Dark Blue #3a5f92*/	
  width: 100%;
  float: left;
  border: 1px solid #000;
}
#footer span {  
  display: block;
  padding: 5px 5px;
}
#footer a {
  color: #bbb;			/* AAA */
}

/** Miasma Page Styles **/
#miasma_title {
  background: #bb2321;
  color: #fff;
  text-align: left;
} 
#miasma_title_first {
  padding: 20px 0 0 2%;
}
#miasma_title_slogan {
  padding: 0 0 10px 2%;
}
#miasma_issue_title {
  color: #fff;
  font-size: 18px;
  background: #7490b8;
  text-align: left;
}
#miasma_issue_title p {
  padding: 5px 0 5px 2%;
  margin: 0; 
} 
#miasma_issue_table {
  width: 99%;
}
#miasma_issue_table_header {
  color: #fff;
  font-size: 16px;
  background: #96b471;
  text-align: left; 
}
#miasma_issue_table_header th.article-title {
  color: #fff;
  padding: 2px 1% 2px 1%;
  font-weight: bold;
}
#miasma_issue_table_header th.article-author {
  color: #fff;
  padding-left: 1%;
  padding-right: 1%;
  font-weight: bold;
}
#miasma_issue_table_body {
  color: #fff;
  font-size: 14px;
  background: #cbdab8;
  text-align: left; 
} 
#miasma_issue_table_body td {
  color: #555;
  padding-left: 2%;
}
#miasma_issue_table_body a {
  color: #555;
  padding: 2px 0;
  /*text-decoration: none;*/
}
#miasma_issue_table_body a:hover {
  color: #222;
  text-decoration: underline;
}
.mpi_table {
  width: 99%;
}
.mpi_table_header {
  color: #fff;
  font-size: 16px;
  background: #96b471;
  text-align: left; 
}
.mpi_table_header th.article-title {
  color: #fff;
  padding: 2px 1% 2px 1%;
  font-weight: bold;
}
.mpi_table_header th.article-author {
  color: #fff;
  padding-left: 1%;
  padding-right: 1%;
  font-weight: bold;
}
.mpi_table_body {
  color: #fff;
  font-size: 14px;
  background: #cbdab8;
  text-align: left; 
} 
.mpi_table_body td {
  color: #555;
  padding-left: 2%;
}
.mpi_table_body a {
  color: #555;
  padding: 2px 0;
}
.mpi_table_body a:hover {
  color: #222;
}
	
.ap_table {
	border-top-width: .5px;
    border-right-width: .5px;
    border-bottom-width: .5px;
    border-left-width: .5px;
    -webkit-border-horizontal-spacing: 0px;
    -webkit-border-vertical-spacing: 0px;
    border-color:#D3D3D3;
    border: .5px solid #D3D3D3;
    width: 100%;
}

@media screen and (max-width: 960px ) {	
  .sub-article-image-title {
    display:none;
  }
  
  #cssmenu > ul > li > a > span {
    padding-left:0;
  }
}

@media screen and (max-width: 920px ) {

}

@media screen and (max-width: 775px ) {
	#maintype,
	#cssmenu {
		margin:0;
		width:100%;
		clear:both;
	}
	#footer {
		height: auto;
	}
  
	#header-color-splash {
		display:none;
	}
	
	#page {
		/*font-size: 120%;*/
	}
	
	#cssmenu,
	#cssmenu ul,
	#cssmenu li,
	#cssmenu a {
	 font-size: 120%;
	 line-height: 2em;
	}
}

@media screen and (max-width: 550px ) {
	#aape-logo {
		display:none;
	}
  
	.sub-article-column {
		width: 100%;
	}  
}
@media screen and (max-width: 500px ) {
  #splash-logo-wrapper,
  #splash-logo-text {
    display:none;
  }
}