/* TODO: move it under https://github.com/coreos-inc/mochi */
.cos-loader-container {
  position: relative;
}

.cos-loader-inline {
  display: inline-block;
  margin: 8px 2px 8px 0;
}

html {
  background-color: #2276ad;
  background: url('../lib/mochi/img/bg/cells.png') left top repeat, linear-gradient(30deg, #2276ad, #144768) no-repeat left top fixed;
}

body {
  background-color: transparent;
  box-sizing: border-box;
}

/* Override */
form {
  margin-bottom: 0;
}

/* Override */
input[type="text"],
select,
textarea {
  max-width: none;
}

::placeholder {
  color: #aaa;
}

/* Override */
body.theme-tectonic-light .btn-primary.disabled,
body.theme-tectonic-light .btn-primary.disabled:hover,
body.theme-tectonic-light .btn-primary.disabled:focus,
body.theme-tectonic-light .btn-primary.disabled.focus,
body.theme-tectonic-light .btn-primary.disabled:active,
body.theme-tectonic-light .btn-primary.disabled.active,
body.theme-tectonic-light .btn-primary[disabled],
body.theme-tectonic-light .btn-primary[disabled]:hover,
body.theme-tectonic-light .btn-primary[disabled]:focus,
body.theme-tectonic-light .btn-primary[disabled].focus,
body.theme-tectonic-light .btn-primary[disabled]:active,
body.theme-tectonic-light .btn-primary[disabled].active,
fieldset[disabled] body.theme-tectonic-light .btn-primary,
fieldset[disabled] body.theme-tectonic-light .btn-primary:hover,
fieldset[disabled] body.theme-tectonic-light .btn-primary:focus,
fieldset[disabled] body.theme-tectonic-light .btn-primary.focus,
fieldset[disabled] body.theme-tectonic-light .btn-primary:active,
fieldset[disabled] body.theme-tectonic-light .btn-primary.active {
  background-color: #B3B3B3;
}

input[type="radio"] {
  vertical-align: -2px;
}

label {
  font-size: 16px;
  font-weight: 400;
  margin-top: 6px;
}

textarea {
  display: block;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  min-height: 60px;
}

strong {
  font-weight: bold;
}

code {
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.075);
  border-radius: 3px;
  color: #333;
  display: inline-block;
  font-family: "Source Code Pro", Menlo, monospace;
  font-size: 11px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 15px;
  padding: 4px 8px;
  white-space: pre-wrap;
  width: 100%;
}

h4 {
  margin-bottom: 20px;
  font-weight: 400;
}

.hidden {
  display: none;
}

.btn-link-ordinary {
  display: inline;
  padding: 0;
  color: #2276AD;
}

.btn-link-ordinary--nothing {
  cursor: auto;
}

.btn.btn-link-ordinary.disabled,
.btn.btn-link-ordinary[disabled],
fieldset[disabled] .btn.btn-link-ordinary {
  opacity: 1.0;
}

.wiz-help-text {
  margin: 10px 0 0 0;
  font-size: 13px;
  font-weight: normal;
}

.wiz-giant-button-container {
  text-align: center;
  padding: 24px 0 10px 0;
}

.wiz-giant-button {
  font-size: 18px;
  padding: 16px 40px;
}

input[type="text"].wiz-node-field {
  width: 150px;
}

.wiz-launch-progress {
  font-size: 16px;
}

.wiz-launch-progress__help {
  color: #999;
  font-size: 11px;
  margin: 5px 0 10px 0;
}

.wiz-launch-progress__step {
  margin: 0 0 10px 0;
  padding: 0;
}

.wiz-launch-progress__step--substep {
  font-size: 14px;
}

.wiz-minimodal {
  border: 1px solid #eee;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  padding: 30px;
}

.wiz-minimodal__controlblock {
  margin-top: 20px;
  margin-bottom: 20px;
}

.wiz-minimodal__body {
  border-bottom: 1px solid #ebebeb;
  border-top: 1px solid #ebebeb;
  margin-top: 10px;
  margin-bottom: 30px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.wiz-nav {
  background-color: #fff;
  padding: 0 10px;
}

.wiz-nav__questions {
  display: none;
  float: right;
  margin-right: 40px;
  padding: 14px 0;
  font-size: 13px;
  font-weight: 100;
}

@media (min-width: 800px) {
  .wiz-nav__questions {
    display: inline-block;
  }
}

.wiz-teeny-close-button {
  float: right;
  color: #bbb;
}

.wiz-teeny-close-button--ssh {
  margin-top: 27px;
}

.wiz-termlist__term {
  font-weight: 600;
}

.wiz-tls-asset-field {
  min-height: 170px;
}

.wiz-upload-csv-settings {
  min-height: 100px;
}

.wiz-wizard {
  background: #f5f5f5;
  margin: 30px auto;
  max-width: 800px;
  min-width: 500px;

  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row nowrap;
  flex-flow: row nowrap;
}

.wiz-wizard--blank {
  height: 500px;
}

.wiz-wizard__cell {
  padding: 30px;
}

.wiz-wizard__content {
  background: #fff;
  order: 2;
  flex: 3 0;
  font-size: 14px;
  display: flex;
  flex-direction: column;
}

.wiz-wizard__content__body {
  flex-grow: 1;
}

.wiz-wizard__nav {
  background-color: #f5f5f5;
  flex: 0 0 200px;
  order: 1;
  padding: 60px 0 20px 20px;
}

.wiz-wizard__nav__section {
  padding: 0;
}

.wiz-wizard__nav__heading {
  color: #333333;
  font-size: 16px;
  font-weight: 300;
  list-style: none;
  margin: 10px 0;
}

.wiz-wizard__nav__step {
  color: #2276ad;
  font-size: 14px;
  list-style: none;
  margin: 5px 0;
  padding: 5px 10px;
}

.wiz-wizard__nav__step--active {
  background-color: #2276ad;
  color: #ffffff;
}

.wiz-wizard__nav__link,
.wiz-wizard__nav__link:hover,
.wiz-wizard__nav__link:focus {
  color: inherit;
  text-align: left;
  width: 100%;
}

.wiz-wizard__nav__link:focus {
  text-decoration: inherit;
}

.wiz-form__header {
  margin-bottom: 22px;
  line-height: 20px;
  display: flex;
  justify-content: space-between;
}

.wiz-form__header__title {
  font-size: 20px;
  font-weight: 600;
}

.wiz-form__actions {
  position: relative;
  border-top: 1px solid #eee;
  margin-top: 30px;
  height: 60px;
  padding-top: 30px;
}

.wiz-form__actions__prev {
  float: left;
}

.wiz-form__actions__next {
 float: right;
}

.wiz-herotext {
  border: 1px solid #DEDEDE;
  border-radius: 2px;
  margin: 24px 0;
  text-align: center;
  font-size: 20px;
  padding: 10px 0;
}

.wiz-herotext--success {
  color: #2fc98e;
  font-weight: 600;
}

.wiz-error-message {
  color: #fff;
  font-size: 14px;
  padding: 2px 12px;
  background-color: #D64456;
}

.wiz-shell-example {
  padding: 16px;
  background-color: #f7f7f7;
  user-select: all;
  -moz-user-select: all;
  -webkit-user-select: all;
}

.wiz-shell-example:hover {
  cursor: copy;
}

input.wiz-super-short-input {
  width: 72px;
}

.wiz-pending-fg {
  color: #999;
}

.wiz-success-fg {
  color: #2FC98E;
}

.wiz-error-fg {
  color: #D64456;
}

.wiz-cancel-fg {
  color: #999;
}

.wiz-running-fg {
  color: #777;
}

.wiz-launch-progress__step--substep.wiz-success-fg {
  color: #333;
}

.wiz-launch-progress__step--substep.wiz-running-fg {
  color: #999;
}

.wiz-ssh-key-container {
  width: 377px;
}

.wiz-ssh-key-container__input {
  min-height: 300px;
}

.alert {
  padding: 10px;
  padding-bottom: 7px;
}

.alert a {
  text-decoration: underline;
}

.alert-info {
  background-color: #e9f6ff;
  color: #154a6d;
}

.alert-info .btn-info {
  border-color: #419eda;
  color: #419eda;
}

.alert-info .btn-info:active, .alert-info .btn-info:focus, .alert-info .btn-info:hover {
  background-color: #419eda;
  color: #fff;
}

.alert-error {
  background-color: #FDF4F5;
  color: #DC415E;
}

.wiz-radio-group {
  margin: 0 0 20px 0;
}

.wiz-radio-group__radio {
  margin: 0;
}

.wiz-radio-group__body {
  margin: 20px 0 0 20px;
}

.wiz-invalid {
  border-color: #f04c5c !important;
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

.wiz-label--reset {
  display: inline;
  font-size: inherit;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

.wiz-link {
  color: #428BCA;
  text-decoration: none;
}

.wiz-link:hover {
  color: #23547c;
  cursor: pointer;
  text-decoration: underline;
}

.cluster-type__panel {
  border-radius: 5px;
  border: 1px solid #eee;
  padding: 10px;
}

.async-select {
  display: flex;
  align-items: center;
}

.async-select--select {
  flex-grow: 1;
  margin-right: 10px;
}

.withtooltip {
  position: relative;
}

.wiz-form__actions__next.withtooltip {
  position: absolute;
}

.withtooltip:hover .tooltip {
  opacity: 1;
}

.tooltip {
  background: rgba(0,0,0,.85);
  color: #fff;
  display: block;
  left: 50%;
  max-width: 250px;
  opacity: 0;
  padding: 8px 15px 6px;;
  pointer-events: none;
  position: absolute;
  text-align: center;
  top: 100%;
  transform: translate(-50%, 8px);
  transition: opacity 200ms;
  white-space: nowrap;
  z-index: 1;
}

.tooltip::after {
  border-bottom: 8px solid rgba(0,0,0,.85);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -7px;
}

.tectonic-modal {
  position: relative;
  top: 40px;
  margin: 0 auto;
  max-width: 700px;
  background: #fff;
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.tectonic-modal:focus {
  outline: none;
}

.tectonic-modal-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.tectonic-modal-footer {
  padding-top: 20px;
}

#upload-state {
  min-width: 350px;
}

.tectonic-define-nodes-input {
  padding: 0 5px;
}

.fa-circle-o-notch {
  color: #52A3D9;
}

.middler {
  display: table-cell;
  vertical-align: middle;
}

input.wiz-inline-field {
  display: inline;
  max-width: 250px;
}

input.wiz-inline-field.wiz-inline-field--prefix {
  border-radius: 0 4px 4px 0;
  margin-right: 5px;
}

input.wiz-inline-field.wiz-inline-field--suffix {
  border-radius: 4px 0 0 4px;
}

.input__prefix, .input__suffix {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  color: #999;
  padding: 7px 12px;
}

.input__prefix {
  border-radius: 4px 0 0 4px;
  border-right: none;
}

.input__suffix {
  border-radius: 0 4px 4px 0;
  border-left: none;
}

/* Handy for +/- in lists. */
.list-add-or-subtract {
  cursor: pointer;
  margin-top: 10px;
}

.list-add {
  cursor: pointer;
}

.disabled, .disabled:hover {
  cursor: not-allowed;
}

hr.spacer {
  margin-top: 30px;
  margin-bottom: 30px;
}

span.spacer {
  border-left: 1px solid #ddd;
  margin: 0 15px;
  height: 100%;
}

.deselect {
  display: inline-block;
  margin-right: 5px;
  vertical-align: -2px;
}

.log-pane {
  color: #fff;
  padding: 10px 0 10px 0;
}

.log-pane__header {
  background-color: #555;
  padding: 8px 10px 5px 10px;
  font-size: 13px;
}

.log-container-selector__text {
  padding-left: 15px;
  padding-right: 15px;
}

.log-area {
  box-shadow: inset 0px 3px 5px 0px rgba(0,0,0,0.75);
  font-size: 13px;
  background-color: #333;
  position: relative;
}

.log-scroll-pane {
  overflow: auto;
  padding-top: 10px;
  height: 400px;
}

.log-contents {
  padding: 0px 10px 10px;
  white-space: pre;
  width: 0;
}

.checkbox-helper-text {
  padding-left: 19px;
  margin-top: 0;
}

.tectonic {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.tectonic-installer {
  flex: 1;
}

.tectonic-footer {
  color: #d9d9d9;
  font-size: 14px;
  height: 40px;
  text-align: center;
}

.tectonic-footer > a {
  color: #52A3D9;
}

.tectonic-footer > a:hover {
  color: #52A3D9;
}

.progress-bar, .progress-bar-wrap {
  border-radius: 2px;
  height: 4px;
}

.progress-bar-wrap {
  background-color: #e5e5e5;
  margin: 10px 0 15px 0;
}

.progress-bar--active {
  background-color: #2fc98e;
}

.progress-bar--stalled {
  background-color: #999;
}

/**  NavBar from mochi.css **/
.co-navbar {
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  margin: 0;
  padding: 0 10px;
  position: relative;
  min-height: 51px;
}

.co-navbar__header {
  display: block;
  float: left;
}

.co-navbar-nav > li  {
  color: #182c3c;
  line-height: 16px;
  position: relative;
  display: inline-block;
  padding: 15px;
}

.co-navbar-nav > li > a {
  background-color: #fff;
  color: #182c3c;
  font-weight: 600;
  font-size: 16px;
}

.co-navbar-nav > li > a:hover, .co-navbar-nav > li > a:focus {
  text-decoration: none;
  background-color: #fff;
}

.co-navbar-nav > li > span {
  font-size: 14px;
}

.co-navbar--right {
  float: right;
}

.co-navbar__logo-link {
  padding: 10px 15px;
  display: inline-block; }

.co-navbar__logo {
  display: inline-block;
  max-height: 25px;
  width: 100px;
}

.co-navbar-nav {
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  list-style: none;
}

.co-navbar-nav-item__version {
  font-size: 12px;
  padding-right: 20px;
}

.co-navbar-nav-item__version--new {
  background-color: rgba(47, 201, 142, 0.1);
  color: #2fc98e;
  border-radius: 3px;
  font-weight: 400;
  padding: 8px;
}

.co-navbar-nav-item__version--new > a {
  color: #2fc98e;
  text-decoration: underline;
}
/** NavBar **/

/** Dropdown **/
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 10px 0 0;
  font-size: 14px;
  list-style: none;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0,0,0,0.175);
  box-shadow: 0 6px 12px rgba(0,0,0,0.175);
  background-clip: padding-box;
}

.dropdown-menu--dark {
  background-color: rgba(33, 33, 33, 0.85);
  box-shadow: 0 3px 2px rgba(0, 0, 0, 0.25);
  font-size: 14px;
  margin-top: 5px;
  min-width: 200px;
  padding: 5px 0;
  position: absolute;
  right: 0;
  z-index: 1000;
}

.dropdown-menu--dark__item {
  color: #fff;
  cursor: pointer;
  list-style-type: none;
  padding: 4px 15px;
}

.dropdown-menu--dark__item:hover {
  background-color: rgba(33, 33, 33, 1);
}

.tectonic-dropdown-menu {
  min-width: 220px;
}

.tectonic-dropdown-menu-title {
  color: #182c3c;
  font-weight: 600;
  font-size: 16px;
}

.tectonic-dropdown-menu-title:hover {
  background-color: #fff;
  text-decoration: none;
}

.tectonic-dropdown-menu-title > a:hover {
  background-color: #fff;
}

.tectonic-dropdown-menu-item {
  list-style: none;
  line-height: 30px;
}

.tectonic-dropdown-menu-item__link {
  background-color: #fff;
  color: #182c3c;
  font-weight: 500;
  font-size: 16px;
  padding-left: 20px;
  padding-right: 20px;
  display: block;
  width: 100%;
  height: 100%;
}

.tectonic-dropdown-menu-item__link:hover {
  background-color: #f0f8ff;
  text-decoration: none;
}
/** Dropdown **/
