/* CSS Document */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

em, b, i, u, strong {
	margin: 0;
 	padding: 0;
  	border: 0;
  	font-size: 100%;
  	vertical-align: baseline;
}

html {
  line-height: 1;
}

.gsc-input-box {
  border: 1px solid #D9D9D9;
  background: #fff;
  height: 45px !important; // CHANGED
 }

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

img {
  border: none;
  border-bottom-style: none;
}

a {
    text-decoration: none;
	color: inherit;
	border-bottom-color: rgba(71, 71, 71, 0.25);
	border-bottom: dotted 1px;
	/*line-height: 1.5em;*/
}

a:hover {
	color: #016cc1;
	border-bottom-color: transparent;
}

a img {
	border-bottom-color: transparent;
}

a#jplink img{
    position: relative;
    top: 5px;
}



article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

* {
  outline: none;
}

html, body {
  background: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14pt;
  font-weight: 300;
  line-height: 1.2em;
}

@media screen and (min-width:480px) {
	body {
  		font-size: 1.3em;
	}
}

html {
  height: 100%;
}

body {
  min-height: 100%;
}

.center {
	text-align: center;
}

header {
 text-align:left;
}

header div {
  height: 100%;
  width: 100%;
  margin: 0 auto 20px auto;
  overflow:hidden;
}

header div a{
  float: left;
  margin-right: -100%;
  width: 100%;
  margin-left: 0;
  text-decoration: none;
  color: #000;
  border: none;
}

header div img {
  height: auto;
  width: 30%;
  max-width: 240px;
  margin-left: 6.5%;
  margin-top: 20px;
}

header div span#sonnet_tagline {
  display: none;
}

@media screen and (min-width:700px) {
	header div span#sonnet_tagline {
	  display: inline;
	}
}

header div span#sonnet_name {
  display: none;
  }


form#sitesearch {
	width: 170px;
	position: absolute;
	margin-top: 95px;
	margin-right: 6.5%; 
	top: 10px;
	right: 10px; 
	display: none;
}
form#sitesearch input#searchtext {
	width: 150px;
	height: 15px; 
}
form#sitesearch input#searchbutton {
	position: absolute;
}

@media screen and (min-width:700px) {
form#sitesearch {
	display: block;}
}

/* New Menu */
div.top-navbar {
  color: #FFF;
  background-color: #000;
  margin: auto;
  width: 87%;
  text-align:center;
  line-height: 1em;   
}

.top-navbar ul {
	clear: both;
  overflow: hidden;
  background-color: #000;
  list-style-type: none;
	margin: 0;
  padding: 0;
}

.top-navbar li {
  float: left;
}

.top-navbar li a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  border-bottom-color: transparent;
}

.top-navbar li a:hover {
  color: #48CAFF;
}

li.menu-item-has-children {
  display: inline-block;
}

.top-navbar .sub-menu {
  display: none;
  position: absolute;
  border:  none;
  min-width: 160px;
  font-size: 0.9em;
  line-height: 0.6em;   
  z-index: 1;
}

.top-navbar .sub-menu a {
  padding: 12px 16px;
  border-bottom: 1px solid #2F4852;
  text-decoration: none;
  display: block;
  text-align: left;
}

.top-navbar .sub-menu li {
  float: none ;
}

.top-navbar .menu-item-has-children:hover .sub-menu {
  display: block;
}
  
.top-navbar a.menu-icon {
    display: none;
}  

.top-navbar a.menu-icon:before {
  font-family: 'Material Icons';
  content: "menu";
  font-size:2em;
  -webkit-font-feature-settings: 'liga';
	font-feature-settings: 'liga';
/*	 content:"\2261"; */
}


@media screen and (max-width: 600px) {	
	div.top-navbar {
		width: 100%;
	}

  .top-navbar li {
    display: none;
  }

  .top-navbar li.menu-icon {
    float: left;
    display: block;
  }
  
  .top-navbar a.menu-icon {
    float: left;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .top-navbar.responsive {
		position: relative;
	}
		
  .top-navbar.responsive .menu-icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .top-navbar.responsive li {
    float: none;
    display: block;
    text-align: left;
  }
  
  .top-navbar.responsive li.menu-item-has-children {
	  float: none;
   }

  .top-navbar.responsive li.menu-item-has-children > a {
	pointer-events: none;  
  }
 
  .top-navbar.responsive .sub-menu {position: relative;}
  .top-navbar.responsive .sub-menu li {
	  padding-left: 50px;
 }
  
  
  .top-navbar.responsive a.menu-icon:before {
		font-family: 'Material Icons';
		content: "close";
		font-size:2em;		
		-webkit-font-feature-settings: 'liga';
		font-feature-settings: 'liga';
		/*content:"X";*/
		}
}

@supports (-webkit-touch-callout: none) {
  /* iOS safari - the sub menus would not come up in the hamburger menu - this always displays them */ 
	  .top-navbar.responsive .sub-menu {
    display: block;
  }
}

/* END New Menu */

/* Old Menu */
nav {
  color: #FFF;
  background-color: #000;
  margin: auto;
  width: 87%;
  text-align:center;
  line-height: 1.65em;   
}

nav a {
  border-bottom-color: transparent;
}

nav ul {
  list-style: none;
}

nav ul li{
  position: relative;
  display: inline-block;
  margin-right: 50px;
  font-size: 1em;
}



@media screen and (max-width:750px) {
nav ul li:nth-child(7){
    display: none;
  }
}

@media screen and (max-width:640px) {
nav ul li:nth-child(5), nav ul li:nth-child(6){
    display: none;
  }
}

/* second level */
nav li ul {
background-color: #000;
display: none;
position: absolute;
top: 100%;
width: 9em;
z-index: 200;
}

@media screen and (min-width:480px) {
	nav ul li:nth-child(4) ul{
		width: 12em;
	}
	nav ul li:nth-child(6) ul{
		width: 15em;
	}}

nav li:hover ul {
display: block;
left: 0;
right: 0;
}

nav li:not( :first-child ):hover ul {
left: -1px;
}

nav li ul a {
font-size: .75em;
line-height: 1.1em; 
display: block;
width: 100%;
}

nav li ul li, nav li ul li:nth-child(n) {
display: block;
margin-left: 1em;
margin-bottom: 1em;
text-align:left;
}

nav ul li a:hover, nav li ul li a:hover, #nav li ul:not( :hover ) li.active a {
color: #0CF;
}
/* END Old Menu */


/* Footer */

ul.horz-list li {
	border-left: solid 1px #e0e0e0;
	display: inline-block;
	padding: 0 0 0 1em;
	margin: 0 0 0 1em;
}

ul.horz-list li:first-child {
	border-left: 0;
	margin-left: 0;
	padding-left: 0;
}

#footer {
	padding: 4em 0 8em 0;
	background-color: #DDD;
	width: 100%;
}

div#footer {
	display: inline-block;
	width: 100%;
	text-align:center;
}

div#footer-row {
	display: inline-block;
	width: 100%;
	max-width: 1000px;
	text-align:left;
}

#footer section {
	margin-left: 5%;	
	width: 90%;
}

#footer section ul{
    margin-left: 20px;
	font-size: .75em;
}

#footer section {
    float: none;
	width: 80%;
}

#footer img {
	opacity: 0.5;
	margin-top: 40px;
	margin-left: 10px;
}

#footer img:hover {
	opacity: 1;
}

#footer #icons  a { 
    border-bottom-color: transparent;
}

#footer .copyright {
	display: block;
	color: #777;
	margin-top: 1.5em;
	text-align: center;
	font-size: 0.9em;
}

#footer section:nth-child(n) {
	margin-left: 20%;
	margin-bottom: 2%;
	clear: both;
	overflow: hidden;
	*zoom: 1;
}

@media screen and (min-width: 640px) {
	#footer section {
		float: left;
		margin-right: -100%;	
		width: 20%;
		clear: both;
		overflow: hidden;
		*zoom: 1;
	}
	
	#footer section:nth-child(1) {
		margin-left: 15%;
		min-width: 150px;
		clear: none;
	}
	
	#footer section:nth-child(2) {
		margin-left: 40%;
		min-width: 300px;
		clear: none;
	}
	
	#footer section:nth-child(3) {
		margin-left: 70%;
		min-width: 300px;
		clear: none;
	}

	#footer .copyright {
		font-size: 0.7em;
	}
}

