@import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700);


html {
	background-color: #eee;
	text-rendering: optimizeLegibility!important;
}

body {
  padding:50px;
  font:14px/1.25 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight:300;
  background-color: #eee;
}

h1, h2, h3, h4, h5, h6 {
  color:#222;
  margin:0 0 20px;
  margin-top: 0px;
}

p, ul, ol, table, pre, dl {
  margin:0 0 20px;
  font-size: 14px;
}

h1, h2, h3 {
  line-height:1.1;
}

h1 {
  font-size:28px;
  padding-top: 0px;
}

h2 {
  color:#393939;
}

h3, h4, h5, h6 {
  color:#494949;
}

a {
  color:#39c;
  font-weight:400;
  text-decoration:none;
}

a:hover {
	text-decoration:none;
}

a small {
  font-size:11px;
  color:#777;
  margin-top:-0.6em;
  display:block;
}

.wrapper {
  width:860px;
  margin:0 auto;
}

blockquote {
  border-left:1px solid #e5e5e5;
  margin:0;
  padding:0 0 0 20px;
  font-style:italic;
}

code, pre {
  font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
  color:#333;
  font-size:12px;
}

pre {
  padding:8px 15px;
  background: #f8f8f8;
  border-radius:5px;
  border:1px solid #e5e5e5;
  overflow-x: auto;
}

table {
  width:100%;
  border-collapse:collapse;
}

th, td {
  text-align:left;
  padding:5px 10px;
  border-bottom:1px solid #e5e5e5;
}

dt {
  color:#444;
  font-weight:700;
}

th {
  color:#444;
}

img {
  max-width:100%;
  animation: rotating 0s linear infinite;
  -webkit-animation: rotating 0s linear infinite;
}

img.tiny {
	width:16px;
	height:16px;
}

img:hover {
	cursor: pointer;
}

img:active {
	-moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}
 
header {
  width:260px;
  float:left;
  /*position:fixed;*/
  margin-left:auto;
  margin-right:auto;
}

header ul {
  list-style:none;
  height:40px;

  padding:0;

  background: #eee;
  background: -moz-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd));
  background: -webkit-linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
  background: -o-linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
  background: -ms-linear-gradient(top, #f8f8f8 0%,#dddddd 100%);

  border-radius:5px;
  border:1px solid #d2d2d2;
  box-shadow:inset #fff 0 1px 0, inset rgba(0,0,0,0.03) 0 -1px 0;
  width:270px;
}

header li {
  width:89px;
  float:left;
  border-right:1px solid #d2d2d2;
  height:40px;
}

header ul a {
  line-height:1;
  font-size:11px;
  color:#999;
  display:block;
  text-align:center;
  padding-top:6px;
  height:40px;
}

strong {
  color:#222;
  font-weight:700;
}

header ul li + li {
  width:88px;
  border-left:1px solid #fff;
}

header ul li + li + li {
  border-right:none;
  width:89px;
}

header ul a strong {
  font-size:14px;
  display:block;
  color:#222;
}

section {
  width:600px;
  float:right;
  padding-bottom:50px;
}

small {
  font-size:11px;
}

hr {
  border:0;
  background:#e5e5e5;
  height:1px;
  margin:0 0 20px;
}

footer {
  width: calc(100% - 100px);
  width: -moz-calc(100% - 100px);
  width: -webkit-calc(100% - 100px);
  width: -o-calc(100% - 100px);
  position:fixed;
  bottom:0px;
  z-index: 2;
  min-height: 32px;
}

.center { 
	display: block!important;
	margin-left: auto!important;
  margin-right: auto!important;
  text-align: center!important;
}

.pad {
	padding: 8px;
}

a.pad {
	display: inline-block!important;
}

.margin-bottom {
	margin-bottom: 8px;
}

.page-changer:hover {
	cursor: pointer;
}

.invert {
	-webkit-filter: invert(100%);
	-moz-filter: invert(100%);
	-o-filter: invert(100%);
	-ms-filter: invert(100%);
}
  
.no-invert {
	-webkit-filter: invert(0%);
	-moz-filter: invert(0%);
	-o-filter: invert(0%);
	-ms-filter: invert(0%);
}

.font-small {
	font-size: smaller;
}

.font-large {
	font-size: larger;
}

.font-change {
	height:36px;
}

footer.btn-group {
	margin-bottom: 10px;
}

.big-screen-only {
	visibility: visible;
}

.small-screen-only {
	visibility: hidden;
}

.social-link {
	width:120px;
}

.fa-blowup:hover {
	font-size: 18pt;
	padding:0px;
}

.box {
	margin: 4px;
	padding: 16px;
	background-color: #fff;
	max-height: 480px;
	overflow-y: auto;
}

.spinner {
  width: 64px;
  height: 64px;
  border-radius: 64px;
  -webkit-border-radius: 64px;
  -moz-border-radius: 64px;
  border: 4px solid;
  border-top-color: #39c;
  border-right-color: rgba(0,0,0,0.25);
  border-bottom-color: rgba(0,0,0,0.25);
  border-left-color: rgba(0,0,0,0.25);
  position :relative;
  animation: rotating 0.8s linear infinite;
  -webkit-animation: rotating 0.8s linear infinite;
  margin-left: auto;
  margin-right: auto;
}

.spinner.mini {
	width:24px;
	height:24px;
	animation: rotating 0.6s linear infinite;
  -webkit-animation: rotating 0.6s linear infinite;
}

.nav-tabs > li > a {
  margin-right: 2px;
  line-height: 1.42857143;
  border: 1px solid transparent;
  border-radius: 0px;
}

.nav-tabs > li > a:hover {
	border-color:white;
	color:white;
	background-color: transparent;
}

div.overlay {
	background: rgba(0,0,0,0.5); 
	width: 100%;
	height: 100%; 
	z-index: 2;
	top: 0; 
	left: 0; 
	position: fixed;
}

div.overlay > .spinner {
	margin:auto;
  border-right-color: rgba(255,255,255,0.25);
  border-bottom-color: rgba(255,255,255,0.25);
  border-left-color: rgba(255,255,255,0.25);
  z-index: 3;
	top: -moz-calc(50% - 32px);
	top: -webkit-calc(50% - 32px);
	top: -o-calc(50% - 32px);
	top: calc(50% - 32px);
}

#nonObtrusiveSpinner {
	float:right;
	top:6px;
}

.expander {
    float:right;
    font-size:14px;
}

.expander:hover {
    cursor: pointer; 
    color: #39c;
}

.float-left {
   float:left; 
}

.page-content {
    clear:both;
}

.modal-header {
    height:48px;
}

.modal-header.background-flat-color > .close {
    color:white;
    opacity: 1;
}

@keyframes rotating {
  0%   { transform: rotate(0deg);   -webkit-transform: rotate(0deg);   }
  50%  { transform: rotate(180deg); -webkit-transform: rotate(180deg); }
  100% { transform: rotate(360deg); -webkit-transform: rotate(360deg); }
}

@media print, screen and (max-width: 960px) {

  div.wrapper {
    width:auto;
    margin:0;
  }

  header, section, footer {
    float:none;
    position:static;
    width:auto;
  }

  section {
    border:1px solid #e5e5e5;
    border-width:1px 0;
    padding:20px 0;
    margin:0 0 20px;
  }

  header a small {
    display:inline;
  }

  header ul {
    position:absolute;
    right:50px;
    top:52px;
  }
  
  .small-screen-only {
	  visibility: hidden;
  }
  
  .big-screen-only {
		visibility: visible;
	}
 
}

@media print, screen and (max-width: 720px) {
  body {
    word-wrap:break-word;
  }

  header {
    padding:0;
  }

  header ul, header p.view {
    position:static;
  }

  pre, code {
    word-wrap:normal;
  }
  
  .small-screen-only {
	  visibility: visible;
  }
  
  .big-screen-only {
		visibility: hidden;
	}
	
	.btn {
		border-radius: 8px;
		-webkit-border-radius: 8px;
		-moz-border-radius: 8px;
	}
	
	.btn-link > a:hover {
		text-decoration: none!important;
	}
	
}

@media print, screen and (max-width: 480px) {
  body {
    padding:15px;
  }

  header ul {
    display:none;
  }
  
  .small-screen-only {
	  visibility: visible;
  }
  
  .big-screen-only {
		visibility: hidden;
	}
	
	footer {
		position: relative;
		display: block!important;
		margin-left: auto!important;
	  margin-right: auto!important;
	  text-align: center!important;
	}
	
	footer>text {
		display: none;
	}
	
}

@media print {
  body {
    padding:0.4in;
    font-size:12pt;
    color:#444;
  }
}
