body, input, button, textarea, select {
  font-family: poynter-gothic-text, poyntergothictext,"Helvetica Neue",Helvetica,Arial,sans-serif;
}

body {
  background: #f4f6f8;
}

#main-content {
  padding: 32px 0 0 0;
}

.container-fluid {
  max-width: 1180px;
}

.navbar .navbar-inner {
  padding: 1em;
}

.navbar .btn-navbar .icon-bar {
  background: #fff;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.navbar .brand {
  padding-left: 11px;
}

@media (max-width: 768px)
.navbar .brand {
    padding-left: 11px;
}

.navbar .nav li a {
  font-size: 18px;
  color: #c1ffcf;
}

#docsSearch {
    background: #00d477;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 0;
    padding: 5em 0;

    background-image: url(https://storage.googleapis.com/semaphore-public-assets/public/docs-search-bg.svg);
    background-repeat: no-repeat;
    background-position: center 12px;
}

#docsSearch h1 {
  display: none;
}

#searchBar .search-query {
	background: #fff;
	border-color: transparent;
	box-shadow: rgba(0, 0, 0, 0.25) 0px 8px 40px 3px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
	color: #16171d;
}
#searchBar button {
    background: rgba(0,0,0,0.8);
    border-color: transparent;
    color: #fff;
    text-shadow: none;
}
#searchBar button:hover {
  background: rgba(0,0,0,1);
}

#sidebar form .search-query {
  box-shadow: none;
  border-radius: 5px;
}

#fullArticle p, #fullArticle ul, #fullArticle ol, #fullArticle li, #fullArticle div, #fullArticle blockquote, #fullArticle dd, #fullArticle table {
  font-size: 18px;
}

#fullArticle table tbody tr:nth-child(odd) {
  background-color: #f4f6f8;
}

code {
  background-color: #e4f3e2;
  color: #00712a;
  padding: 2px 6px !important;
}

#fullArticle pre, #fullArticle code {
  font-size: 14px;
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;
}

#fullArticle pre {
  padding: 10px 16px;
  color: #494956;
  white-space: pre;
  overflow: auto;
  word-wrap: normal;
  border: 1px solid #d2d4d6;
  border-radius: 5px;
}

#fullArticle code {
  /* see https://github.com/semaphoreci/docs/issues/321 */
  /* padding: 2px 6px; */
  /* white-space: normal; */
  /* color: #494956; */
  /* background-color: #f4f6f8; */
  border: none;
}

pre > code {
  white-space: pre !important;
  overflow: auto;
  padding: 0 !important;		
}

#fullArticle h2 a,
#fullArticle h3 a,
#fullArticle h4 a,
#fullArticle h5 a {
  color: #16171d;
}

#fullArticle h5 {
  font-size: 18px;
  font-style: italic;
}

#fullArticle ul ul {
  margin: 12px 0 18px 24px;
}

.contentWrapper h1 {
  font-weight: bold;
}

.contentWrapper p.descrip {
  font-size: 18px;
  margin: 8px 0 36px;
  color: #7c7888;
}

.articleList li {
  font-size: 18px;
  margin: .75em 0;
  padding-top: .75em;
  border-top: 1px solid #e0e0e0;
}

.category-list {
  text-align: center;
}

.category {
  text-decoration: none;
}

.category-list .category {
  border: 0;
  background: #fff;
  background-repeat: no-repeat;
  background-position: center 30px;
  min-height: 260px;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,.16), 0 0 0 1px rgba(0,0,0,.08);
  border-radius: 5px;
}

.category-list .category:hover {
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center 30px;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,.16), 0 0 0 1px rgba(0,0,0,.2);
}

#category-56  { background-image: url(https://storage.googleapis.com/semaphore-public-assets/public/docs-guided-tour.svg); }
#category-59  { background-image: url(https://storage.googleapis.com/semaphore-public-assets/public/docs-use-cases.svg); }
#category-58  { background-image: url(https://storage.googleapis.com/semaphore-public-assets/public/docs-programming-languages.svg); }
#category-57  { background-image: url(https://storage.googleapis.com/semaphore-public-assets/public/docs-environment.svg); }
#category-48  { background-image: url(https://storage.googleapis.com/semaphore-public-assets/public/docs-reference.svg); }
#category-107 { background-image: url(https://storage.googleapis.com/semaphore-public-assets/public/docs-account-management.svg); }

.category-list .category p {
  color: #7c7888;
  font-size: 14px;
}

.category-list h3 {
  padding-top: 180px;
}

.category-list .category .article-count {
  display: none;
}

#sidebar {
  background: #f4f6f8;
  padding: 0 20px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  #sidebar {
    position: sticky;
    top: 30px;
  }
}

#sidebar h3 {
  text-transform: none;
  font-size: 16px;
  padding-top: 12px;
  border-top: 1px solid #ceced6;
}

#sidebar .nav-list {
  margin-bottom: 0;
}

#sidebar .nav-list a {
  color: #7c838e;
  font-size: 16px;
}

#sidebar .nav-list a:hover {
  text-decoration: underline;
}

footer p {
  font-size: 14px;
  color: #7c7888;
}

footer p a {
  color: #7c7888;
}

#sbContact {
  color: #7c7888;
}

#mainNav .brand span {
	display: inline-block;
	text-indent: -9000px;
	width: 238px;
	height: 30px;
	background: url(https://storage.googleapis.com/semaphore-public-assets/public/docs-logo.svg) no-repeat 0 0;
  background-size: 100%;
  background-position: 0 5px;
}

.contentWrapper {
  border: 0;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,.16), 0 0 0 1px rgba(0,0,0,.08);
  border-radius: 5px;
}

.articleFoot p, .articleFoot time {
  font-family: poynter-gothic-text, poyntergothictext,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-style: normal;
  font-size: 14px;
  color: #7c7888;
}

pre {
  background-color: #f4f6f8;
  border: 0;
}

#contactModal .control-label {
  font-size: 18px;
}

#contactModal h2, .abuse h2 {
  background-color: #f0f0f5;
}

.form-search input, .form-inline input, .form-horizontal input, .form-search textarea, .form-inline textarea, .form-horizontal textarea, .form-search select, .form-inline select, .form-horizontal select, .form-search .help-inline, .form-inline .help-inline, .form-horizontal .help-inline, .form-search .uneditable-input, .form-inline .uneditable-input, .form-horizontal .uneditable-input, .form-search .input-prepend, .form-inline .input-prepend, .form-horizontal .input-prepend, .form-search .input-append, .form-inline .input-append, .form-horizontal .input-append {
  font-size: 18px;
  padding: 8px;
}

#contactModal input[type=file], #contactForm input[type=file], .abuse input[type=file] {
  padding: 6px 0 0;
  font-size: 14px;
  color: #7c7888;
}

button.btn, input[type=submit].btn {
  background: #3F51B5;
  text-shadow: none;
  border: 0;
  color: white;
  padding: 12px 24px;
}

button.btn:hover, input[type=submit].btn:hover {
  background: #303F9F;
}

textarea:focus, input:focus, input[type=text]:focus, input[type=password]:focus, input[type=datetime]:focus, input[type=datetime-local]:focus, input[type=date]:focus, input[type=month]:focus, input[type=time]:focus, input[type=week]:focus, input[type=number]:focus, input[type=email]:focus, input[type=url]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=color]:focus, .uneditable-input:focus {
  border-color: rgba(34, 63, 220, 0.7);
}

#sidebar form .search-query:focus, #sidebar form .search-query:focus:invalid {
  border-color: rgba(34, 63, 220, 0.7);
}

.pagination {
  font-size: 18px;
}

/* Prism theme overrides */

:not(pre) > code[class*="language-"], pre[class*="language-"] {
  background: #f4f6f8 !important;
}

code[class*="language-"], pre[class*="language-"] {
  text-shadow: none !important;
}

#serp-dd .result a {
  color: #222;
}

#serp-dd .result a:hover {
  background-color: #0d49b5;
  color: #fff;
}
