body {
  font-family: Georgia,"Times New Roman",Times,serif;
  font-size: 100%;
  color: #222;
  min-width: 1200px;
  background: #fff url(../images/cutcube.png) repeat top left;
  margin: 0px;
  margin-bottom: 32px;
}

tt, pre, code {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
  font-size: 13px;  
}

a {
  color: #145d8a;
}

fieldset {
  text-align: right;
  border: none;
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 0px;
  padding-right: 0px;
}

input {
  line-height: 1.5em;
  margin-left: 10px;
}

#flash {
  width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5px;
  margin-bottom: 5px;
  border: 1px solid rgba(34, 34, 34, 0.25);
  border-radius: 10px;
  padding: 10px;  
  transition: all 1s ease;
  overflow: hidden;
}

#flash .error {
  color: #d02027;
}

dl, dd, dt, ul, ol {
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: 0px;  
  margin-bottom: 0px;  
}

li {
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: 0px;  
  margin-bottom: 0px;  
}

#topbar {
  width: 100%;
  background: rgba(0, 0, 0, 0.85);  
}

#topbar-content {
  width: 1200px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: rgb(224, 224, 224);
  line-height: 32px;
  margin-left: auto;
  margin-right: auto;
  text-align: right;
}

#topbar-content-left { 
  float: left; 
} 

.topbar-link-div, .topbar-div {  
  display: inline-block;
}

.topbar-div {
  padding-left: 10px;
  padding-right: 10px;
}

.topbar-div.logo svg {
  width: 24px;
  height: 24px;
  margin-bottom: -6px;
  margin-right: -10px;
}

.topbar-link-div:hover {  
  background: rgba(254, 254, 254, 0.5);  
}

a.topbar-link {
  display: block;
  padding-left: 10px;
  padding-right: 10px;
  color: rgb(224, 224, 224);
  text-decoration: none;  
}

#header-title {
  color: #003b52;
  display: inline-block;
  padding: 10px;
  margin: 0px;
  font-size: 400%;  
  text-decoration: none;
  font-weight: bold;
  font-variant: small-caps;
}

#header {
  text-align: center;
}

#header .logo svg {
  width: 70px;
  height: 70px;
  margin-bottom: -14px;
  margin-left: 20px;  
}

ul#header-menu {
  align: bottom;
  list-style: none;
  padding: 0px;
  margin: 0px;
}

li.header-link {
  display: inline-block;
  line-height: 28px;
  padding-top: 0px;
  padding-bottom: 0px;
  margin: 0px;
  min-width: 140px;
}

li.header-link.blog {
  min-width: 180px;
}

a.header-link {
  color: #003b52;
  display: block;
  margin: 2px;
  font-variant: small-caps;
  text-decoration: none;
  font-size: 125%;
}

a.header-link:hover {
  color: #d02027;
  outline: 2px solid #d02027;
}

ul.header-dropdown-menu {
  position: absolute;
  list-style: none;
  padding: 0px;
  margin: 0px;
  overflow: hidden;
  max-height: 0px;
  transition: max-height 0.5s ease;  
  background: rgba(254, 254, 254, 0.9);
  z-index: 1;
}

li.header-link:hover > ul { 
  max-height: 252px;
}

li.header-dropdown-link {
  display: block;
  width: 100%;
}

a.header-dropdown-link { 
  outline: 1px solid rgb(34, 34, 34);
}

#container {
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

#content {
  background: rgba(254, 254, 254, 0.75);
  border: 1px solid rgba(77, 175, 74, 0.75);
  padding-left: 28px;
  padding-right: 28px;
  border-radius: 28px;
  margin: 0px;
  margin-bottom: 200px;
}

#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
  color: #003b52;
  margin: 0px;
  padding-top: 10px;
  padding-bottom: 10px;
}

#content blockquote {  
  margin: 0px;
  padding: 5px;
  padding-left: 28px;
}

#content pre, #content p {
  margin: 0px;
  padding-top: 5px;
  padding-bottom: 5px;  
}

.wmd-panel img, .wmd-panel video {
  max-width: 640px;
  max-height: 600px;
}

.comment .wmd-preview img, .comment .wmd-preview video {
  max-width: 500px;
  max-height: 400px;
}

#mainbar {
  width: 805px;
  min-height: 1440px;
  padding-left: 0px;
  padding-right: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 0px;
  border-right: 1px solid rgba(34, 34, 34, 0.25);
}

#right-sidebar {
  width: 295px;
  float: right;
  margin: 0px;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 20px;
}

#sidebar-photo-div {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

#sidebar-photo { 
  width: 275px;
  border: 2px solid #222;
}

textarea.wmd-input {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
  font-size: 13px;
  margin-top: 8px;
  display: none;
  width: 100%;
  max-width: 100%;
  height: 300px;
}

.wmd-editor {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
  font-size: 13px;
  width: 100%;
  max-width: 100%;
  height: 275px;
  border: 1px solid #999;
}

.wmd-editor.focused {
  outline: 3px solid rgb(112,154,192);
}

.wmd-panel {
  width: 100%;
}

.wmd-button-row {
  position: relative; 
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 5px;
  margin-top: 10px;
  padding: 0px;  
  height: 20px;
}

.wmd-button-bar {
  width: 100%;
  margin-bottom: 20px;
}

.wmd-spacer {
  width: 1px; 
  height: 20px; 
  margin-left: 14px;  
  position: absolute;
  background-color: Silver;
  display: inline-block; 
  list-style: none;
}

.wmd-spacer1 {
  left: 50px;
}

.wmd-spacer2 {
  left: 175px;
}

.wmd-spacer3 {
  left: 300px;
}

.wmd-spacer4 {
  left: 371px;
}

.wmd-spacer5 {
  left: 600px;
}

.wmd-button {
  width: 20px;
  height: 20px;
  padding-left: 2px;
  padding-right: 3px;
  position: absolute;
  display: inline-block;
  list-style: none;
  cursor: pointer;
}

.wmd-button-bar .wmd-select, .wmd-button-bar .wmd-checkbox, .wmd-button-bar .wmd-action-button {
  text-align: right;
  font-size: 90%;
  height: 20px;
  padding-left: 2px;
  padding-right: 3px;
  position: absolute;
  display: inline-block;
  list-style: none;
}

.wmd-button > span {
  background-image: url(../images/wmd-buttons.svg);
  background-repeat: no-repeat;
  background-position: 0px 0px;
  width: 20px;
  height: 20px;
  display: inline-block;
}

.wmd-prompt-background {
  background-color: black;
}

.wmd-prompt-dialog {
  border: 1px solid #999;
  background-color: #f5f5f5;
  padding: 20px;
}

.wmd-preview {
  word-wrap: break-word;
}

.wmd-preview pre, .wmd-preview code {
  word-wrap: normal;
}

/* tables */
.wmd-preview table {
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}

.wmd-preview td, .wmd-preview th {
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
}

.wmd-preview th {
  border-bottom: 1px solid #222;
}

#registration-form input.text {
  width: 200px;
}

span.field-sublabel {
  display: inline-block;
  text-align: left;
  width: 365px;
  padding-left: 15px;
  font-size: 90%;
  color: #888;
  font-style: italic;
}

span.field-sublabel.error {
  color: #d02027;
  font-style: normal;
}

span.field-sublabel.success {
  color: rgb(77, 175, 74);
  font-style: normal;
  
}

#post-form label, #registration-form label, #application-settings-form label, #project-form label {
  font-weight: bold;  
  padding-top: 3px;
}


#post-form .text-input, #application-settings-form .text-input, #project-form .text-input {
  width: 85%;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
  font-size: 13px;
}

#application-settings-form .text-input {
  width: 80%;
}

.submit-button {
  cursor: pointer;
  background: #0b2844;
  color: #fff;
  font-size: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 20px;
  padding-right: 20px;
  display: inline-block;
  position: relative; 
}

.submit-button:disabled {
  cursor: not-allowed;
}

.submit-button:hover .overlay {
  display: block;
}

#login-form {
  padding: 10px;
}

#login-form input, #registration-form input  {
  line-height: 1.5em;
  margin-top: 2px;
  margin-bottom: 2px;
}

#blog-search-form input {
  line-height: 2em;
  font-size: 15px;
  margin-top: 2px;
  margin-bottom: 2px;
  width: 300px;
}

#login-form input.text {
  width: 200px;
}

#login-form .submit-button {
  margin-top: 7px;
}

#login-buttons a {  
  cursor: pointer;  
  display: inline-block;
  position: relative; 
}

#registration-form #wmd-editor {
  height: 125px;
}

#registration-form .wmd-preview {
  margin-top: 15px;
  margin-bottom: 20px;
  margin-left: 30px;
  width: 380px;
  display: inline-block;
  min-height: 300px;
}

img.profile-preview {
  border: 2px solid #222;
  display: block;
  max-width: 250px;
  max-height: 300px; 
  margin-top: 10px;
}

.profile.mainbar {
  display: inline-block;
  margin-left: 30px;
  width: 510px;
}

#registration-form img.profile-preview {  
  float: left;
  max-width: 250px;
  max-height: 300px;  
  margin-top: 15px;
}

#registration-form .submit-button {
  margin-top: 15px;
  margin-right: 20px;
  float: right;
}

#registration-form input {
  margin-top: 0px;
  margin-bottom: 0px;
}

#registration-form p.form-description {
  margin-bottom: 3px;
}

.profile.left-sidebar {
  float: left;
}

.profile.field {

}

.profile.facts {
  margin-top: 20px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(254, 254, 254, 0.3);
  display: none;
}

#login-buttons a:hover .overlay {
  display: block;
}

#login-buttons .button-spacer {
  margin-left: 13px;
  margin-right: 13px;
}

#google-button img {
  position: relative;
  top: 4px;
  height: 56px;
}

.dialog-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
}

.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.overlay form.editor-dialog-box {
  border: 1px solid #222;
  background-color: #fefefe;
  border-radius: 20px;
  padding: 20px;
}

.overlay form.editor-dialog-box input.text {
  width: 270px;
}

.overlay form.editor-dialog-box input.checkbox {
  margin-right: 80px;
}

.overlay form.editor-dialog-box fieldset {
  text-align: right;
}

.overlay form.editor-dialog-box .button-box {
  text-align: right;
}

.overlay form.editor-dialog-box button {
  padding: 5px;
  margin-left: 5px;
  margin-right: 5px;
}

fieldset.captcha {
  text-align: right;
  margin-bottom: -15px;
}

.sweetcaptcha {
  display: inline-block;
  width: 280px;
}

.post {
  margin-left: auto;
  margin-right: auto;
  width: 700px;
  margin-top: 10px;
  margin-bottom: 10px;
}

hr {
  border-style: dotted;
  border-width: 1px;
  border-top: none;
  border-left: none;
  border-right: none;
}

.post hr {
  margin-top: 15px;
}

#application-settings-form .wmd-panel.buttons {
  text-align: right;
}

.project-list-content {
  min-height: 220px;
}

.project-list .left-sidebar {
 float: left;
}

.project-list a.project-link {
  display: block;
  height: 160px;
  width: 160px;
  text-align: center;
  line-height: 155px;
  border: 2px solid #222;
}


.project-list-content a.project-link img {
  vertical-align: middle;
  max-height: 160px;
  max-width: 160px;  
}

.project-title a, .post-title a, #content h1 a, #content h2 a, #content h3 a, #content h4 a, #content h5 a, #content h6 a {
  text-decoration: none;    
  color: #003b52;
}

.project-title a:hover, .post-title a:hover, #content h1 a:hover, #content h2 a:hover, #content h3 a:hover, #content h4 a:hover, #content h5 a:hover, #content h6 a:hover {
  text-decoration: underline;
  color: #003b52;
}

.post-title {
  padding-bottom: 0px !important;
}

.project-list-content .wmd-preview {
  margin-left: 190px;
}

#project-form #wmd-editor-summary {
  height: 125px;
}

img.project-img, img.post-img {
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: 650px;  
}

a.twitter-share-button {
  margin-top: 50px;
}


.share-div {
  display: inline-block;
  position: relative;
}

.share-div.spacer {
  width: 5px;
}

.share-div.facebook { 
  top: -4px;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .share-div.facebook { 
    top: 0px;
  }
}

.project-list .footer .left, .project .footer .left, .post .footer .left, .comment .footer .left {
  display: inline-block;
}

.project-list .footer .right, .project .footer .right, .post .footer .right, .comment .footer .right {
  float: right;
}

.project-meta, .post-meta {
  font-size: 14px;
  color: #888;
  font-style: italic;
}

.post-meta a, .project-meta a {
  color: #888;  
  text-decoration: none;  
}

.post-meta a:hover, .project-meta a:hover {
  color: #d02027;  
}

.post .footer.meta {
  margin-bottom: 3px;
}


.comment-content {
  margin-top: 10px;
  min-height: 200px;
}

.comment .user-link {
  text-align: center;
  display: block;
  float: left;
  width: 160px;
  height: 190px;
  text-decoration: none;
}

.comment .photo {
  line-height: 160px;
  width: 160px;
  height: 160px;
  margin-bottom: 5px;
}

.comment .user-link img {
  max-width: 160px; 
  max-height: 160px; 
  vertical-align: middle; 
  border: 1px solid #888;
}

.comment .children {
  border-left: 2px solid #888;
  height: 0px;
  opacity: 0; 
  overflow: hidden;
  transition: all 0.5s ease;
}

.comment .children.expanded {
  border-left: 2px solid #888;
  opacity: 1;
  height: auto;
}

#wmd-editor-comment {
  height: 125px;
}

.comment .wmd-preview {
  margin-left: 190px
}

.comment .reply-expander {
  cursor: pointer; 
}

.comment .reply-expander .reply {
  text-decoration: underline;
  color: #145d8a;
  transition: all 0.5s ease;
}

.comment .reply-expander.expanded .reply, .comment .reply-expander.expanded .bullet {
  color: #D02027;
}

.comment .reply-expander .bullet {
  display: inline-block;
  font-size: 110%;
  margin-right: 0.25em;
  transition: all 0.5s ease;
}

.comment .reply-expander.expanded .bullet {
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
}

.comments h2 a {
  color: #003b52;  
}

.comment-editor .wmd-editor-grippie, #application-settings-form .wmd-editor-grippie {
  margin-bottom: 15px;
}

.page-nav .left {
  display: inline-block;  
}

.page-nav .right {
  display: inline-block;  
  float: right;
}

#content ol.search-results {
  list-style: none;
}

#content ol.search-results h3 {
  margin: 0px;
  padding: 0px;
}

ol.search-results .highlight b {
  color: #d02027
}
