/** Reset some basic elements */
body, h1, h2, h3, h4, h5, h6, p, blockquote, pre, hr, dl, dd, ol, ul, figure { margin: 0; padding: 0; }

/** Basic styling */
body { font: 400 16px sans-serif, "Times New Roman", "Helvetica Neue"; color: #2d2d2d; background-color: #ffffff; background-image: url("../img/fvwm-logo-gradient.png"); background-repeat: no-repeat; background-position: center center; background-size: 80%; -webkit-text-size-adjust: 100%; -webkit-font-feature-settings: "kern" 1; -moz-font-feature-settings: "kern" 1; -o-font-feature-settings: "kern" 1; font-feature-settings: "kern" 1; font-kerning: normal; height: calc(100vh-30px); }

/** Set `margin-bottom` to maintain vertical rhythm */
h1, h2, h3, h4, h5, h6, p, blockquote, pre, ul, ol, dl, figure { margin-bottom: 15px; }

/** Images */
img { max-width: 100%; vertical-align: middle; }

/** Headings */
h1, h2, h3, h4, h5, h6 { font-weight: bold; color: #41a1ee; }

/** Lists */
ul, ol { margin-left: 30px; }

li > ul, li > ol { margin-bottom: 0; }

/** Links */
a { color: #d9d915; text-decoration: underline; }
a:visited { color: #f8f8b3; }
a:hover, a:focus { color: #003c3c; background-color: #f8f8b3; text-decoration: underline; }

/** Code formatting */
pre, code { font-size: 12px; border: 1px solid #e8e8e8; border-radius: 3px; }

code { padding: 1px 5px; }

pre { padding: 8px 12px; overflow-x: auto; }
pre > code { border: 0; padding-right: 0; padding-left: 0; }

/** Main Window Decor Styles */
.window { position: relative; margin-left: 5%; margin-right: 5%; margin-top: 35px; background-color: #003c3c; color: #ffffff; border: 0; padding: 0; width: 90%; min-height: 32px; }

.window-max { width: 100%; margin: 0px; }

.window-main { position: relative; margin: 0px 6px 0px 6px; padding: 0px; vertical-align: top; height: calc(100vh - 96px); overflow: hidden; }

.window-main-max { height: calc(100vh - 26px); }

.window-main-content { margin: 0px; padding: 12px 12px 16px 12px; vertical-align: top; overflow-y: scroll; height: calc(100% - 66px); }

.window-inner { position: relative; margin: 12px auto 12px auto; padding: 0px; vertical-align: top; overflow: hidden; width: 80%; float: center; min-height: 32px; }

.window-inner-main { position: relative; margin: 0px 6px 0px 6px; padding: 0px; vertical-align: top; overflow: hidden; }

span.window-inner-title { margin-top: 5px; margin-bottom: 25px; font-size: 32px; font-weight: 700; min-width: 250px; }

.window-top { position: absolute; top: 0px; left: 6px; height: 6px; width: calc(100% - 12px); background-image: url("/img/header/top.gif"); background-repeat: repeat-x; background-position: top; }

.window-bottom { position: absolute; bottom: 0px; left: 6px; height: 6px; width: calc(100% - 12px); background-image: url("/img/header/bottom.gif"); background-repeat: repeat-x; background-position: bottom; }

.window-left { position: absolute; left: 0px; top: 6px; height: calc(100% - 12px); min-width: 6px; background-color: #36648b; background-image: url("/img/header/left.gif"); background-repeat: repeat-y; background-position: top; }

.window-right { position: absolute; right: 0px; top: 6px; height: calc(100% - 12px); min-width: 6px; background-color: #36648b; background-image: url("/img/header/right.gif"); background-repeat: repeat-y; background-position: top; }

.window-top-right { position: absolute; right: 0px; top: 0px; height: 6px; min-width: 6px; max-width: 6px; background-color: #36648b; background-image: url("/img/header/top_right.gif"); background-repeat: repeat-y; background-position: top; }

.window-top-left { position: absolute; left: 0px; top: 0px; height: 6px; min-width: 6px; max-width: 6px; background-color: #36648b; background-image: url("/img/header/top_left.gif"); background-repeat: repeat-y; background-position: top; }

.window-bottom-right { position: absolute; right: 0px; bottom: 0px; height: 6px; min-width: 6px; max-width: 6px; background-color: #36648b; background-image: url("/img/header/bottom_right.gif"); background-repeat: repeat-y; background-position: top; }

.window-bottom-left { position: absolute; left: 0px; bottom: 0px; height: 6px; min-width: 6px; max-width: 6px; background-color: #36648b; background-image: url("/img/header/bottom_left.gif"); background-repeat: repeat-y; background-position: top; }

.window-title-bar { position: relative; margin-right: 6px; margin-left: 6px; padding-top: 6px; }

.window-title { margin-right: 40px; margin-left: 20px; text-align: center; color: #ffffff; font-size: 13px; font-weight: 700; background-color: #1a6e99; background-image: url("/img/header/title.gif"); background-repeat: repeat-x; background-position: top; height: 20px; }

.window-inner-title { margin-right: 20px; }

span.window-inner-title { margin-top: 5px; margin-bottom: 25px; font-size: 32px; font-weight: 700; min-width: 250px; }

.window-button1 { position: absolute; top: 6px; left: 0px; background-color: #36648b; background-image: url("../img/header/button_1.gif"); background-repeat: no-repeat; background-position: top; width: 20px; height: 20px; cursor: pointer; }

.window-button1-alt { display: none; position: absolute; top: 6px; left: 0px; background-color: #36648b; background-image: url("../img/menu.png"); background-repeat: no-repeat; background-position: top; width: 20px; height: 19px; cursor: pointer; }

.window-inner-button1 { background-image: url("../img/header/button_4.gif"); }

.window-button2 { position: absolute; top: 6px; right: 0px; background-color: #36648b; background-image: url("../img/header/button_2.gif"); background-repeat: no-repeat; background-position: top; width: 20px; height: 20px; cursor: pointer; }

.window-button4 { position: absolute; top: 6px; right: 20px; background-color: #36648b; background-image: url("../img/header/button_4.gif"); background-repeat: no-repeat; background-position: top; width: 20px; height: 20px; cursor: pointer; }

#window-main-content::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); background-color: #334c4c; }

#window-main-content::-webkit-scrollbar { width: 6px; background-color: #003c3c; }

#window-main-content::-webkit-scrollbar-thumb { border-radius: 20px; -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); background-color: #d9d915; }

.cats h2, h3, h4, hr { clear: both; }

.cats h2 { text-decoration: underline; font-size: xx-large; color: #ffff33; }

.cats h3 { font-size: xx-large; }

.cats h4 { margin: 0pt; font-size: x-large; color: #51b1fe; }

.cats h5 { font-size: large; font-weight: normal; color: #ffff99; margin: 0pt; }

.cats img { display: inline-block; float: left; padding: 5px 15px 10px 5px; }

.cats strong { font-size: large; font-weight: bold; color: #ffff99; width: 100%; }

.authors_pic { display: block; margin: 0 auto; width: 620px; }

.authors_pic div { display: inline-block; float: left; width: 200px; height: 200px; text-align: center; }

.scrot { display: inline-block; float: left; margin: 10px; padding: 5px; width: 180px; text-align: center; vertical-align: middle; border: 2px solid #d9d915; border-radius: 15px; }
.scrot > a { text-decoration: none; }
.scrot > a:hover { background: inherit; }

.scrot:hover { border-color: #f8f8b3; }

.scrot_desc { width: calc(100% - 230px); display: inline-block; padding-top: 15px; padding-left: 5px; padding-right: 5px; padding-bottom: 5px; }

.scrot_page_links { display: block; width: 100%; text-align: center; font-weight: 700; margin: 5px; }
.scrot_page_links > a, .scrot_page_links b { padding-left: 15px; padding-right: 15px; padding-bottom: 5px; padding-top: 5px; }

.manpage-wrapper dt { color: #d9d915; }

.manpage-warpper dd { padding-left: 35px; }

.manpage-wrapper { font-size: 85%; }

.manpage-index ul { margin-bottom: 0px; }

.logo-wrapper a:hover { background: none; }

.logo-wrapper span.place { font-size: 150%; font-weight: bold; display: inline-block; text-align: center; width: 35px; }

.logo-wrapper span.place:before { content: "#"; }

.logo-wrapper span.votes { font-size: 150%; color: #d9d915; display: inline-block; text-align: right; width: 35px; }

.logo-wrapper span.overall { font-size: 80%; font-style: italic; display: inline-block; text-align: center; width: 35px; color: #f8f8b3; }

#markdown-toc { list-style-type: square; color: #d9d915; margin-left: 20px; }

#markdown-toc li a { font-size: 22px; color: #41a1ee; }
#markdown-toc li a:hover { color: #003c3c; }

#markdown-toc ul { list-style-type: disc; color: #41a1ee; margin-left: 20px; }

#markdown-toc li li a { font-size: 16px; color: #d9d915; }
#markdown-toc li li a:hover { color: #003c3c; }

.faq h4 { font-size: 18px; color: #d9d915; }

.faq code.highlighter-rouge { background-color: #eeeeee; border-color: #d9d915; border-width: 2px; color: #2d2d2d; }

.faq .highlight { margin-left: 55px; background-color: #eeeeee; color: #2d2d2d; border-color: #d9d915; border-width: 2px; border-radius: 7px; display: inline-block; }

.faq p { margin-left: 25px; }

.faq ul { margin-left: 45px; }

#vector-wrapper { margin-left: 35px; }

#vector-wrapper canvas { border: 3px solid #d9d915; background-color: white; }

#result_src { margin-left: 55px; margin-top: 15px; background-color: #eeeeee; color: #2d2d2d; padding: 10px; display: inline-block; }

@media only screen and (max-width: 649px) { .window-menu { display: none; font-weight: 700; position: absolute; top: 0px; left: 0px; background-color: #003c3c; padding: 12px; border-width: 4px 4px 4px 4px; border: solid #1a6e99; }
  .window-menu-display { display: block; }
  .window { margin: 0px; width: 100%; }
  .window-main { height: calc(100vh - 26px); }
  .window-main-content { height: calc(100% - 34px); }
  .window-inner { display: none; }
  .menu-buttonX { display: inline-block; float: right; font-size: 18px; cursor: pointer; }
  .window-button1 { display: none; }
  .window-button1-alt { display: block; } }
@media screen and (max-aspect-ratio: 1 / 1) { body { background-image: url("../img/fvwm-logo-gradient-rot.png"); background-size: auto 80%; } }
@media only screen and (min-width: 650px) { /** Navagation Menu Styles */
  .menu-buttonX { display: none; }
  ul.fvwm_menu { list-style-type: none; margin: 0; padding: 0; background-color: #223c3c; border-style: solid; border-width: 0px 0px 3px 0px; border-color: #1a6e99; height: 28px; }
  li.fvwm_menu { display: inline-block; font-weight: 600; float: left; cursor: pointer; vertical-align: top; position: relative; }
  li.fvwm_menu a { height: 20px; }
  li.fvwm_menu ul { list-style-type: none; padding: 0; position: absolute; left: -30px; min-width: 90px; white-space: nowrap; display: none; background-color: #223c3c; border-style: solid; border-width: 3px; border-color: #1a6e99; z-index: 999; }
  li.fvwm_menu ul li { padding-top: 5px; padding-left: 10px; padding-right: 10px; padding-bottom: 10px; }
  li.fvwm_menu ul li:hover { background: #111; }
  ul.fvwm_menu li:hover ul { display: block; opacity: 1; visibility: visible; }
  a.fvwm_menu { display: block; padding: 4px 16px 4px 16px; color: white; text-align: center; text-decoration: none; }
  a.fvwm_submenu { display: block; padding: 0px; color: white; text-align: left; text-decoration: none; }
  a.fvwm_menu:hover, a.fvwm_submenu:hover { background-color: #111; } }
