/* ---------------------------------------------------------- */
/* Page-specific CSS (Not included in the compiled react app) */
/* ---------------------------------------------------------- */

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

body {
  margin: 0;
  background: #f5f5f5; }

button {
  font: inherit;
  margin: 0; }

*,
*:before,
*:after {
  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit; }

button,
input[type="button"],
input[type="submit"],
.rstore-domain-buy-button {
  display: inline-block;
  border: none;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background-color: #ff6663;
  color: #ffffff;
  padding: 0.65em 1em;
  white-space: nowrap; }
  button:hover, button:active, button:focus,
  input[type="button"]:hover,
  input[type="button"]:active,
  input[type="button"]:focus,
  input[type="submit"]:hover,
  input[type="submit"]:active,
  input[type="submit"]:focus {
    cursor: pointer;
    background-color: rgba(255, 102, 99, 0.8);
    color: #ffffff; }
  button:disabled,
  input[type="button"]:disabled,
  input[type="submit"]:disabled {
    cursor: not-allowed;
  }

a {
  color: #ff6663;
  cursor: pointer;
  text-decoration: none;
}

a:visited {
  color: #ff6663;
}

a:hover, a:active, a:focus {
  outline: 0;
}

code {
  font-size: 14px;
  color: #ff6663;
}

ul li {
  line-height: 2em;
}

hr {
  border: 0;
  height: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.header {
  width: 100%;
  padding: 10px;
  color: #ffffff;
  background: #323232;
}

.instructions {
  margin: 20px;
  color: #554444;
}

.rstore-loading {
  width: 28px;
  height: 48px;
  vertical-align: middle;
  background-image: url('loading.svg');
  background-size: 28px 28px;
  background-repeat: no-repeat;
  display: inline-block;
}

.form-container {
  align-items: center;
}

.search-form {
  display: flex;
}

.search-form .search-field {
  flex-grow: 4;
  background: #fff;
  -webkit-border-radius: 5px 0 0 5px;
  border-radius: 5px 0 0 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #194F6E;
  border-right: 0;
  padding: 0 10px;
  line-height: 31px;
  height: 33px;
  font-size: 0.8125rem;
}

.search-form .search-field:focus {
    background: #f1f1f1;
  }

.search-form .search-submit {
  flex-grow: 1;
  -webkit-border-radius: 0 5px 5px 0;
  border-radius: 0 5px 5px 0;
  padding: 0;
  line-height: 31px;
  height: 33px;
}

/* ---------------------------------------------------------- */
/* App-specific CSS                                           */
/* ---------------------------------------------------------- */

.rstore-message {
  display: inline-block;
  height: 48px;
}

.rstore-message span.dashicons {
  width: 28px;
  height: 28px;
  font-size: 28px;
}

.rstore-message .rstore-success {
  color: #41a62a;
}

.rstore-message .rstore-error {
  color: #a62b2b;
}

@media (min-width: 991px) {
  .rstore-domain-search {
    display: table;
    border-collapse: separate;
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .rstore-domain-search .input-group {
    display: table;
    border-collapse: separate;
    width: 100%;
  }

  .rstore-domain-search {
    display: table-cell;
    width: 1%;
    white-space: nowrap;
  }

  .rstore-domain-search button {
    margin: 10px;
    float: right;
  }
}

@media (max-width: 1200px) {
  .rstore-domain-search button {
    position: relative;
    width: 100%;
    margin-top: .3em;
  }
}

.rstore-domain-search .domain-result {
  border: 1px solid #e8e8e8;
  float: left;
  min-width: 290px;
  padding: 10px 20px 10px 15px;
  vertical-align: middle;
  width: 99%;
}

.rstore-domain-search .rstore-exact-domain-list .domain-result {
  margin-bottom: 15px;
  border: 3px solid #e8e8e8;
}

.rstore-domain-search p.available,
.rstore-domain-search p.not-available {
  font-weight: bold;
  font-size: 1.2em;
  margin: 10px 0 15px;
}

.rstore-domain-search .domain-name {
  display: inline-block;
  vertical-align: middle;
  vertical-align: -webkit-baseline-middle;
  word-break: break-word;
  padding: 10px 0;
}

.rstore-domain-search .purchase-info {
  display: block;
  float: right;
}

.rstore-domain-search .pricing {
  display: inline-block;
  margin-left: 10px;
  text-align: right;
  vertical-align: middle;
}

.rstore-domain-search .listPrice {
  margin-right: 7px;
}

.rstore-domain-search .rstore-domain-buy-button {
  margin-left: 10px;
}

.rstore-domain-search .rstore-disclaimer {
  clear: both;
}

.rstore-domain-search .rstore-disclaimer pre {
  font-family: sans-serif;
  background: none;
  border: none;
  font-size: 10px;
  font-weight: 100;
  margin: 0px;
  padding: 0px;
  white-space: pre-wrap;
}
