@import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700);

@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
html,
body {
  color: #707070;
  font-size: 17px;
  font-family: 'Lato', sans-serif;
  padding-top: 50px;
  background-color: #ffffff;
  background-image: url(../img/wallpaper/sandpaper.png);
  line-height: 180%;
}

a {
  color: #4e79a7;
  font-weight: bold;
  text-decoration: none;
}
a:hover {
  color: #3d6490;
  text-decoration: underline;
}

span.emphasized{
  color: #4e79a7 !important;
}

form span.form-label {
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  font-weight: bold;
}

div.anchor {
    position: relative;
    top: -70px;
    visibility: hidden;
}

.logo-container{
  margin-top: 50px;
  margin-bottom:50px;
}

span#logo{
 font-size: 3.6em; 
 font-weight: bold;
 /* font-family: "News Cycle", Impact, sans-serif !important; */
 color: #4e79a7;
 text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
}

#logo > a {
 color: #4e79a7;
 text-decoration: none;
}

#logo > a:hover {
 text-decoration: none;
}

#logo > img {
  width: 74px;
  height: 74px;
  display:inline-block; 
  margin-bottom:20px;
}

span.slogan{
 font-size: 1.2em; 
 font-weight:bold;
 text-decoration: none;
 text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
}

div.demo-gif {
  padding: 20px 15px;
  text-align: center;
}

div.demo-gif img {
  max-width: 50%;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#footer {
  background-color: #f5f5f5;
  border-top: 2px solid lightgray;
}

.file_upload {
	position: relative;
	overflow: hidden;
	margin: 10px;
}
.file_upload input.upload {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	padding: 0;
	font-size: 20px;
	cursor: pointer;
	opacity: 0;
	filter: alpha(opacity=0);
}

#input-textarea {
  overflow: hidden;
}

.inline-form {
  display: inline-block;
  width: auto;
  vertical-align: middle;
}

span.form-label {
  display: inline-block;
  font-weight:bold;
  width: 200px;
  font-size: 1.1em;
  text-align: right;
  padding-right: 1em;
  vertical-align: middle;
}

div#lang_controller,
div#voice_controller,
div#rate_controller,
div#resolution_controller,
div#fontfamily_controller,
div#font_controller,
div#wallpaper_controller,
div#accent_color_controller,
div#highlight_background_color_controller,
div#text_background_controller {
  display: flex;
  align-items: center;
}

div.alert {
  margin: 1em;
  display:none;
}

span#rate_disabled_message, span#textarea_message {
  display:none;
}

div#lang_controller, div#rate_controller, div#voice_controller, div#font_controller,
div#accent_color_controller, div#highlight_background_color_controller, div#resolution_controller, div#text_background_controller, div#wallpaper_controller, div#fontfamily_controller {
  margin-bottom: 10px;
}

div#voice_controller,
div#rate_controller {
  flex: none;
}

.md h1, .md h2, .md h3, .md h4, .md h5, .md h6,
.md .h1, .md .h2, .md .h3, .md .h4, .md .h5, .md .h6 {
  font-weight: bold;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
  margin-top: 0em !important;
  margin-bottom: 0.5em !important;
}

.md h2,
.md .h2{
  display:inline-block;
  margin-top: 1.2em !important;
  margin-bottom: 0.6em !important;
  color: #4e79a7;
  border-top: 3px solid lightgray;
  border-bottom: 3px solid lightgray;
}

.md h3,
.md .h3 {
  display:inline-block;
  margin-top: 1em !important;
  margin-bottom: 0.4em !important;
  color: #59a14f;
  border-bottom: 3px solid lightgray;
}

.md h4,
.md .h4 {
  margin-top: 0.8em !important;
  margin-bottom: 0.3em !important;
}

.md h5,
.md .h5 {
  margin-top: 0.8em !important;
  margin-bottom: 0.3em !important;
}

.md li {
  line-height: 1.8;
}

.md img {
  border: solid 1px lightgray;
}


.ctrl-wrapper {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    text-align: center;
    z-index: 1000;
    background-color: #777777;
    color: #eeeeee;
    width: 50px;
    height: 48px;
    line-height: 48px;
    right: 30px;
    bottom: 30px;
    padding-top: 2px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.ctrl-wrapper:hover {
    background-color: #888888;
}

.ctrl-wrapper.scroll-top.show {
    visibility:visible;
    cursor:pointer;
    opacity: 1.0;
}

.ctrl-wrapper.scroll-top i.fa-solid {
    line-height: inherit;
}

.ctrl-wrapper.scroll-top {
    visibility: hidden;
}

pre {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.social{
  margin-bottom:15px;
}

.social .twitter-tweet-fb {
  display: inline-block;
  position: relative;
  top: 0px;
  bottom: 0px;
  line-height: 0;
  vertical-align: bottom !important;
}

.social .fab-like {
  display: inline-block;
  position: relative;
  top: 0px;
  bottom: 0px;
  line-height: 0;
  vertical-align: bottom !important;
  vertical-align: middle;
}

div.tldr {
  color: #707070;
  background-color: #f5f5f5;
  border: solid 1px #ccc !important;
  padding: .75rem 1.25rem;
  margin-top: 50px;
  margin-bottom: 50px;
  border: 1px solid transparent;
  border-radius: 4px;
}

span.highlighted{
  color: #ffffff;
  background-color:#4e79a7;
  font-weight: bold;
  text-shadow:-1px 1px 2px rgba(0,0,0,0.25);
  display: inline-block;
  padding-right: 4px;
  padding-left: 4px;
  opacity: 0.8;
  margin-top: 2px;
  margin-bottom: 2px;
}

.table-condensed td,
.table-condensed th,
.table-sm td,
.table-sm th {
  color: #707070;
  padding: 4px;
  font-size: 0.9em;
}

blockquote{
  padding: 9.5px;
  margin: 0 0 10px;
  color: #333;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
}

blockquote p{
  margin: 10px;
}

nav {
  border-bottom: 2px solid lightgray;
  background-color: #f5f5f5 !important;
}

nav a.navbar-brand {
  font-weight: bold;
  color: #707070 !important;
}

hr {
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

div.more-margin {
  padding-right: 10%;
  padding-left: 10%;
}

pre {
  margin-top 0;
  margin-bottom: 1rem;
}

span.marker{
  background-color: #F5EDB9;
}

/* Button overrides to match page color scheme */
#submit_button.btn-primary {
  background-color: #4e79a7;
  border-color: #4e79a7;
}
#submit_button.btn-primary:hover {
  background-color: #3d6490;
  border-color: #3d6490;
}

#download_button.btn-success {
  background-color: #59a14f;
  border-color: #59a14f;
}
#download_button.btn-success:hover {
  background-color: #4a8a42;
  border-color: #4a8a42;
}

#reset_button.btn-light {
  color: #707070;
  border-color: #ccc;
}
#reset_button.btn-light:hover {
  background-color: #e9e9e9;
}
