/*
 * Cascading Style Sheet 
 * Master css for standard spartlow.com pages
 */
/* By default do not underline links */
a {text-decoration:none;} 
#page a {font-weight: inherit; text-shadow: none;} /* Override jquery mobile */
a:link { color: #4FBEC2;}
a:visited { color: #4FBEC2;}
a:active { color: #4FBEC2;}
a:hover { color: #3FAEB2; text-decoration: underline;}

/* External links are green and stand out */
a.out {}
a.out:link { color: #00AA33;}
a.out:visited { color: #00AA33;}
a.out:active { color: #00AA33;}
a.out:hover { color: #009900; text-decoration: underline;}

a.disabled { pointer-events: none; color: #BBBBBB; }

html {
  width: 100%;
  overflow-x: hidden;
  height: 100%;
}

body { 
  width: 100%;
  overflow-x: hidden;
  position: relative;
  background-color: #F9F9F9;
  min-height: 100%;
  color: #000000;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-size: 12pt;
  margin: 0;
  /*margin-left: 10px;*/
}

div#page {
  position: relative;
  border-width: 0px;
  max-width: 1000px;
  min-height: 100%;
  cellpadding: 0px;
  /*margin-bottom: 50px;*/
  border-collapse: collapse;
  vertical-align: top;
  margin: 0 auto 0 auto;
  padding-bottom: 200px; /* Leave room for footer (is this big enough?) */
} 
div#header {
  /*width: 160px;*/
  margin: 0px;
  padding: 0px;
  background-color: #444;
  overflow: hidden;
  /*float: left;*/
}
div#menu {
  position: relative;
  z-index: 1;
  /*width: 160px;*/
  display: table; /* needed for centering */
  margin: 100px auto 10px auto;
  vertical-align: top;
  /*float: left;*/
}
div#content {
  /*width: 840px;*/
  padding: 0 10px 10px 10px;
  text-align: left;
  vertical-align: top;
  /*float: left;*/
}
div#footer {
  position: absolute;
  width: 100%;
  bottom: 0;
  background-color: #61D2D6;
  padding: 10px 0 10px 0;
  margin: 0;
}
div#footer ul {
  display: table;
  list-style-type: none;
  margin: 0 auto;
  padding: 0px;
  font-size: 12pt;
  font-weight: bold;
}
div#footer ul li {
  display: inline-block;
  margin: 0;
}
div#footer a {
  display: inline-block;
  text-decoration: none;
  padding: 5px;
  margin: 5px;
  background-color: #61D2D6;
  border: solid #444 2px;
  color: #444;
  width: 80px;
  text-align: center;
}
div#footer a:hover {
  color: #F9F9F9;  
  border: solid #F9F9F9 2px;
}

/*
 *
 * Minimal
 *
 */
#page.minimal {
    padding-bottom: 0;
}
#page.minimal .site {
    font-size: 100px;
    height: 104px; /* so text doesn't overflow due to use of top */
}
#page.minimal #menu {
    margin-top: 10px; 
}
#page.minimal #content {
    padding: 0;
}

/*
 *
 * Site title
 *
 */
.site {
  font-family: 'Pontano Sans', sans-serif;
  letter-spacing: normal;
  font-size: 143px;
  position: absolute;
  top: -40px;
  color: #F9F9F9;
  width: 100%;
  overflow: hidden;
}
.site .dot {
  position: relative;
  top: 2px;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: normal;
}

/*
 *
 * Headers
 *
 */
h1 {
  font-size: 40px;
  font-weight: normal;
  margin-top: 5px;
}
h2 {
  margin: 10px 0 0 0;
  font-size: 14pt;
  /*font-weight: normal;*/
}
h3 {
  margin: 10px 0 0 0;
  font-size: 12pt;
  font-weight: bold;
}
h4 {
  display: inline;
  margin: 10px 0 0 0;
  font-size: 12pt;
  font-weight: bold;
}

/*
 *
 * Breadcrums
 *
 */
#page p.breadcrum {
  margin: 0;
  font-size: 10pt;
  color: #999999;
}
#page p.breadcrum a{
  font-size: 10pt;
  color: #999999;
}

/*
 * Nav Menu
 */
#page ul.s-menu a {
  display: inline-block;
  text-decoration: none;
  padding: 5px;
  margin: 5px;
  background-color: #61D2D6;
  border: solid #444 1px;
  color: #444;
  width: 80px;
  text-align: center;
}
#page ul.s-menu a:link { }
#page ul.s-menu a:visited { }
#page ul.s-menu a:hover { 
  background-color: #444;
  color: #fff;
}

ul.s-menu {
  display: inline-block;
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  font-size: 12pt;
  font-weight: bold;
}
ul.s-menu li {
  display: inline-block;
}
ul.sub {
  display: none;
  margin-top: 0px;
  margin-right: 0px;
  margin-left: 20px;
  padding: 0px;
  list-style-image: url(/pics/blue/arrow.gif);
  list-style-type: circle;
}
ul.s-menu ul.sub ul.sub ul.sub {
  display: none; /* don't show too deep */
}

/********************
 *
 * Other useful styles 
 *
 ********************/

ul {
  margin-top: 0;
}

/* LIST1: Indented single-spaced list w/out bullets */
/* LIST2: Semi-indented double-spaced list w/out bullets */
ul.list1, ul.list2 {
  margin-top: 0px;
  list-style-type: none;
  padding-right: 40px; /* Pad right same as left */
}
ul.list1 a, ul.list2 a, a.button {
  display: inline-block;
  background-color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 5px;
  margin: 5px;
  border: solid #444 2px;
  color: inherit;
  box-sizing: border-box;
  width: 100%;
}
a.button {
  width: 80px;
}
ul.list1 a:hover, ul.list2 a:hover, a.button:hover {
  color: #FFF;
  background-color: #61D2D6;  
}
span.no-break {
  display: inline-block;
}

/* 
 *
 * Centered table with cell borders. "lgray" is to shade alternate rows 
 *
 */
table.lined {
  margin-left: auto; margin-right: auto; /* For now. (See computer/gates.html) */
  border-style: solid;
  border-width: 1px;
  border-collapse: collapse; 
  border-color: #cccccc;
  font-size: 9pt;
  font-weight: bold;
  text-align: center;
}
table.lined td {
  border-color: #cccccc;
  border-style: solid;
  border-width: 1px;
}
table.lined th {
  border-color: #cccccc;
  border-style: solid;
  border-width: 1px;
}
.lgray {
  background-color: #f8f8f8;
}

table.items {
  text-align: top;
}
table.items th {
  width: 30%;
}

.sidenote {
  width: 250px;
  float: right;
  padding: 10px;
  background-color: #f0f0f0;
  border: solid 1px #aaa;
  border-radius: 5px;
  margin: 20px 0 20px 20px
}

table.wide {
  width: 100%;
}

.casual_note, .sticky_note {
    display: inline-block;
    padding: 5px;
    background-color: #ffd;
    border: 1px solid #dd9;
    border-radius: 3px;
    width: 300px;
    min-height: 100px;
    transform: rotate(-3deg);
    margin: 30px;
    box-shadow: 2px 2px 2px #0003;
    font-family: 'Shadows Into Light';
    font-size: 1.5em;
    line-height: 1.1;
}
.note {
  display: block;
  padding: 5px;
  border-left: solid 2px #444;
}
ul.note li {
  display: block;
}
p.subnote {
  text-align: center;
  font-size: 8pt;
  color: #999999;
}
p.rightnote {
  text-align: right;
  font-size: 8pt;
  color: #999999;
}
p.quicklinks {
  text-align: center;
  font-size: 10pt;
  color: #999999;
}

.page_image {
  float: right;
  clear: right; /* After login */
  margin: 10px;
}

p.stevepic {
  float: right;
}

p.icon {
  float: left;
}

/* figure2 centers its contents in the space available after any floating content. */
.figure1 {align: center; text-align: center; margin-left: auto; margin-right: auto;}
/* figure2 is centered even if there's floating content. It moves down if it can't fit. */
.figure2 {display: block; width: fit-content; text-align: center; margin-left: auto; margin-right: auto;}


.right {text-align: right;}
.center {text-align: center;}
.center_me {display: block; margin: auto;}
.indent {margin-left: 40px;}

img {border: 0px;}

.page_msg {
  position: relative; /* Make box_close relative to this */
  width: 80%;
  border: #444 solid 2px;
  margin: 10px auto 10px auto;
  padding: 10px;
  clear: right; /* After login box */
  font-weight: bold;
  transition: all 0.25s;
  /*
  transition-property: opacity, visibility, max-height, margin-top, margin-bottom, padding-top, padding-bottom;
  transition-duration: 0.25s, 0, 2s, 1s, 1s, 1s, 1s;
  transition-delay: 0, 1s, 0, 0, 0, 0, 0;
  */
  /*
  transition: -webkit-transform 1s;
  transition: transform 1s;
  */
  opacity: 1;
  visibility: visible;
  /*max-height: 100%; set by js*/
}
.page_msg_success {
  background-color: #61D2D6;
}
.page_msg_error {
  background-color: #F77;
}

a.box_close {
  position: absolute;
  display: block;
  top: 0;
  right: 5px;
  color: #444;
  font-weight: bold;
  font-size: 15px;
}
a.box_close {
  text-decoration: none;
}
.closed {
  overflow: hidden;
/*
  -webkit-transform: scaleY(0);
  -o-transform: scaleY(0);
  -ms-transform: scaleY(0);
  transform: scaleY(0);

  -webkit-transform-origin: top;
  -o-transform-origin: top;
  -ms-transform-origin: top;
  transform-origin: top;
*/
  opacity: 0;
  
  /*visibility: hidden;*/
  /*display: none;*/
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  
}

ul.tabs {
  display: block;
  list-style-type: none;
  width: 100%;
  margin: 10px 0px 10px 0px;
  padding: 0px 0px 0px 10px;
  border-bottom: solid 1px;
}
ul.tabs li {
  display: inline-block;
  position: relative;
  top: 1px;
  border: solid 1px;
  border-radius: 2px 2px 0 0;
  margin: 0 5px 0 0;
  padding: 5px;
  background-color: #F7F7F7;
}
ul.tabs li a {
}
ul.tabs li.active {
  border-bottom-color: rgba(0,0,0,0);
  background-color: #61D2D6;
}
ul.tabs li.active a {
  color: #FFF;
}
.logout {
  font-size: .7em;
  text-transform: uppercase;
}
.login_box {
  float: right;
}

/******************************************
 *
 * Popup
 *
 ******************************************/
.popup {
  background-color:#fff;
  border-radius: 5px;
  padding: 15px;
}
.popup h3:first-child {
  margin-top: 0;
}
/******************************************
 *
 * Mobile
 *
 ******************************************/
@media screen and (max-width: 500px) { 
.sidenote {
  width: auto;
  float: none;
}
.page_image {
  float: none;
  display: block;
  margin: auto;
}
.casual_note, .sticky_note {
  float: none;
  display: block;
  margin: auto;
}
.login_box {
  float: none;
}
}
@media screen and (max-width: 800px) { 
body {
  background-image: none;
}
div#page {
  /*width: 100%;*/
}
div#content {
  /*width: 100%;*/
}
div#menu {
  /*width: 100%;*/
}
#bar {
  /*width: 100%;*/
  background-position: -150px 0;
  /*position: relative;*/
  /*left: -100px;*/
}
#menu ul.s-menu li {
  /*display: inline-block;*/
  /*margin-left: 20px;*/
}
ul.s-menu ul.sub {
  display: none; /* don't show any sub menus */
}


}