﻿/*Colour Scheme*/
/* Typography */
body {
  font-family: Antenna, Helvetica, Sans-Serif;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
  color: #4a4542;
  line-height: 1.25;
}
a {
  text-decoration: none;
  color: #ffffff;
}
a:hover,
a:focus {
  color: #4a4542;
}
h1,
h2,
h3 {
  margin: 0 0 1em 0;
  padding: 0;
  line-height: 1.4;
}
h1 {
  font-weight: bold;
  font-size: 32px;
}
h2 {
  font-size: 22px;
}
h3 {
  font-size: 16px;
}
form {
  float: left;
  width: 100%;
  margin: 1em 0;
}
button {
  background-color: #f01717;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  text-transform: uppercase;
  color: #fff;
  font-weight: bold;
  font-size: 2em;
}
button.cancel {
  background-color: #17c3c3;
  color: #ffffff;
  transition: all 0.4s ease-in;
  position: relative;
}
button.cancel[disabled] {
  background-color: #eee;
  color: #000;
  opacity: 0.2;
}
button.cancel:before {
  content: '';
  background-color: #fff;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: scale(0.001, 0.001);
}
button.cancel:focus {
  outline: 0;
  color: #f6f1e6;
  background-color: #f01717;
}
button.cancel:focus:before {
  animation: effect_pop 0.8s ease-out;
}
button.confirm {
  background-color: #b36a9e;
  color: #ffffff;
  transition: all 0.4s ease-in;
  position: relative;
}
button.confirm[disabled] {
  background-color: #eee;
  color: #000;
  opacity: 0.2;
}
button.confirm:before {
  content: '';
  background-color: #fff;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: scale(0.001, 0.001);
}
button.confirm:focus {
  outline: 0;
  color: #f6f1e6;
  background-color: #f01717;
}
button.confirm:focus:before {
  animation: effect_pop 0.8s ease-out;
}
@keyframes effect_pop {
  50% {
    transform: scale(1.5, 1.5);
    opacity: 0;
  }
  99% {
    transform: scale(0.001, 0.001);
    opacity: 0;
  }
  100% {
    transform: scale(0.001, 0.001);
    opacity: 1;
  }
}
input[type='text'] {
  background-color: inherit;
  color: #4a4542;
  font-size: 16px;
  text-align: left;
  padding: 10px 10px;
  width: 90%;
  border: none;
  outline: none;
}
input[type='number'] {
  background-color: inherit;
  color: #4a4542;
  font-size: 16px;
  text-align: left;
  padding: 10px 10px;
  width: 90%;
  border: none;
}
input[type='number']:focus {
  border: none;
  outline: none;
}
hr {
  margin-top: 0;
  border: 0;
  border-top: 1px solid #000;
  width: 90%;
}
/* Flex */
.flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 0.25em 0;
  clear: both;
}
.flex .flex-item {
  margin-right: auto;
  margin-left: auto;
  border: none;
  padding: 10px;
}
.flex .flex-item img {
  display: block;
  margin-right: auto;
  margin-left: auto;
}
.flex .flex-item img.shrink80 {
  max-width: 70%;
}
.flex .flex-item img.alone {
  max-width: 50%;
}
.flex.four-items .flex-item {
  width: 25%;
}
.flex.two-items .flex-item {
  width: 49%;
}
.flex.two-items .flex-item:nth-child(2n) {
  margin-left: auto;
}
.flex.one-item .flex-item {
  width: 100%;
}
/* Media queries */
@media screen and (max-width: 479px) {
  input[type='text'] {
    padding: 5px 2% 0 2%;
  }
  input[type='number'] {
    padding: 5px 2%;
  }
  button {
    min-width: 125px;
    font-size: 1.25em;
  }
  .flex {
    padding: 0.25em 0;
  }
  .flex .flex-item {
    padding: 2px 5px;
    min-height: 2em;
  }
}
/* Shared */
/* Selection Screen */
.screen.second h1 {
  color: #4a4542;
}
.screen.second .buying-for-choices {
  margin: 2em 0;
}
.screen.second .alone {
  margin: 0;
}
.screen.second .alone img {
  display: inline-block;
}
.screen.second button {
  width: 326px;
  padding-left: 0;
  padding-right: 0;
}
.screen.second div.pet-summary {
  float: left;
  width: 100%;
  height: 4em;
  margin: 0.25em 0;
  text-align: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 5%;
  position: relative;
  color: #ffffff;
  background-position-x: -35px;
}
.screen.second div.pet-summary.Cat {
  background-image: url('/images/header_cat.png');
}
.screen.second div.pet-summary.Dog {
  background-image: url('/images/header_dog.png');
}
.screen.second div.pet-summary.hide-logo {
  background-position-x: -150px;
}
.screen.second div.pet-summary h2 {
  position: absolute;
  top: 25%;
  margin-left: 0;
  margin-right: auto;
  left: 100px;
  right: 0;
  width: 45%;
  text-align: left;
  overflow-y: hidden;
  overflow-wrap: break-word;
  height: 1.25em;
  font-size: 20px;
}
.screen.second div.pet-summary h3 {
  position: absolute;
  top: 18%;
  margin-left: auto;
  margin-right: 5px;
  left: 0;
  right: 0;
  width: 35%;
  text-align: center;
  display: flex;
}
.screen.second div.pet-summary img {
  position: absolute;
  top: 3px;
  margin-left: 20px;
  margin-right: auto;
  left: 0;
  right: 0;
  width: 50px;
}
.screen.second div.pet-summary .glyphicon {
  top: 3px;
}
.screen.second div.pet-summary button {
  background-color: transparent;
  border-color: #ffffff;
  border-style: solid;
  border-radius: 6px;
  padding: 2px 8px;
  margin-right: 10px;
  text-transform: uppercase;
  color: #fff;
  font-weight: bold;
  font-size: 1em;
  display: flex;
}
/* Details & Extras Screen */
md-select-menu {
  box-shadow: none;
}
md-select-menu md-content {
  background-color: #ffffff;
  border-style: solid;
  border-radius: 1em;
  margin: 0 10% 0 0;
}
md-select-menu md-content md-option:not([disabled]):hover {
  background-color: #ccc8bc;
}
md-select-menu md-content md-option[selected].breed-select-Cat {
  background-color: #00c3c4;
}
md-select-menu md-content md-option[selected].breed-select-Dog {
  background-color: #b469a0;
}
.screen.questions {
  background-color: #f6f1e6;
  border-radius: 1em;
}
.screen.questions .question h2 {
  margin: 0.25em 1em 0 1em;
  text-align: left;
  font-size: 22px;
}
.screen.questions .question md-content {
  background-color: transparent;
  color: #4a4542;
  margin-left: 1em 2em;
}
.screen.questions .question md-content .md-whiteframe-1dp,
.screen.questions .question md-content .md-whiteframe-z1 {
  box-shadow: none;
}
.screen.questions .question md-content md-autocomplete {
  background-color: transparent;
  min-width: max-content;
  max-width: 100%;
  margin: 10px;
}
.screen.questions .question md-content md-autocomplete button {
  width: 20px;
  min-width: 20px;
}
.screen.questions .question md-content md-select {
    margin: 10px;
    background: white;
    font-size: 18px;
    line-height: 30px;
    padding: 10px 0px 0px 0px;
}
.screen.questions .pet-birth-month div {
  cursor: pointer;
  background-color: #ffffff;
  border-radius: 0.5em;
  padding: 10px 5px;
  min-height: 3em;
}
.screen.questions .pet-birth-month div span {
  margin: auto auto;
}
.screen.questions .pet-birth-month div.active {
  background-color: #ccc8bc;
  color: #ffffff;
}
.screen.questions .pet-age {
  background-color: #ffffff;
}
.screen.questions .pet-colour div {
  cursor: pointer;
  border-width: 3px;
  border-radius: 0.5em;
  border-style: solid;
  border-color: transparent;
  padding: 10px 5px;
  min-height: 3em;
}
.screen.questions .pet-colour div img {
  max-width: 90%;
}
.screen.questions .pet-colour div.active {
  border-color: #ccc8bc;
}

.screen.questions .pet-brand div {
    cursor: pointer;
    border-width: 3px;
    border-radius: 0.5em;
    border-style: solid;
    border-color: transparent;
    padding: 10px 5px;
    min-height: 3em;
}

.screen.questions .pet-brand div img {
    max-width: 90%;
}

.screen.questions .pet-brand div.active {
    border-color: #ccc8bc;
}

.screen.questions .dual-selection div {
  cursor: pointer;
  border-width: 3px;
  border-radius: 0.5em;
  border-style: solid;
  border-color: transparent;
  padding: 5px 0px;
}
.screen.questions .dual-selection div img {
  max-width: 95%;
}
.screen.questions .dual-selection div.active {
  border-color: #ccc8bc;
}
.screen.questions div.heading {
  float: left;
  width: 100%;
  height: 4em;
  margin-bottom: 1em;
  text-align: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 5%;
  position: relative;
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
}
.screen.questions div.heading.Cat {
  background-image: url('/images/header_cat.png');
}
.screen.questions div.heading.Dog {
  background-image: url('/images/header_dog.png');
}
.screen.questions div.heading.hide-logo {
  background-position-x: -150px;
}
.screen.questions div.heading h2 {
  position: absolute;
  top: 25%;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  width: 50%;
  text-align: center;
  color: #ffffff;
}
.screen.questions div.heading h3 {
  position: absolute;
  top: 25%;
  margin-left: auto;
  margin-right: 10px;
  left: 0;
  right: 0;
  width: 20%;
  text-align: center;
  color: #ffffff;
}
.screen.questions div.heading img {
  position: absolute;
  top: 3px;
  margin-left: 60px;
  margin-right: auto;
  left: 0;
  right: 0;
  width: 50px;
}
@keyframes opac {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Media Queries */
@media screen and (max-device-width: 479px) {
  .screen.questions .pet-birth-month div {
    margin: 0 0.5em;
    min-height: 2em;
  }
  .screen.questions .pet-colour {
    padding: 2px 5px;
  }
  .screen.questions .pet-colour div {
    padding: 5px;
  }
  .screen.questions ul li {
    font-size: 0.8em;
  }
  .screen.questions .question h2 {
    top: 30%;
  }
  .screen.second button {
    /*width: 100%;*/
  }

  .screen.second div.pet-summary button {
      font-size: 0.8em;
      min-width: auto;
      margin-right: 5px;
      margin-left: 2px;
  }
}
@media screen and (max-device-width: 479px) {
  form {
    margin: 0 0.5em;
  }
  .screen.questions .question h2 {
    top: 30%;
    font-size: 14px;
    margin: 0.25em 0.5em;
  }
  .screen.questions div.heading {
    height: 3em;
    margin-bottom: 0.5em;
    padding-top: 5%;
    position: relative;
    border-top-left-radius: 0.75em;
    border-top-right-radius: 0.75em;
    background-position-x: -30px;
  }
  .screen.questions div.heading.Cat {
    background-image: url('/images/header_cat.png');
  }
  .screen.questions div.heading.Dog {
    background-image: url('/images/header_dog.png');
  }
  .screen.questions div.heading h2 {
    top: 10%;
    font-size: 20px;
  }
  .screen.second h1,
  .screen.second h2,
  .screen.second h3 {
    margin: 0 0 0.5em 0;
  }
  .screen.second h1 {
    font-size: 26px;
  }
  .screen.second h2 {
    font-size: 18px;
  }
  .screen.second div.pet-summary {
    background-position-x: -30px;
    height: 3em;
  }
    .screen.second div.pet-summary h2 {
    font-size: 14px;
    top: 10px;
    left: 21%;
    width: 37%;
    }
  .screen.second div.pet-summary h3 {
    width: 15px;
    font-size: 12px;
    margin-right: 36%;
  }

    .screen.second div.pet-summary img {
        width: 36px;
        margin-left: 12px;
    }
}
/* Shared */
.page-heading h2 {
  color: #fff;
}
.ui-grid {
  background-color: #d4d4d4;
  margin-bottom: 3em;
}
.ui-grid a {
  color: #faa018;
}
.form-horizontal .form-group {
  margin-left: 0;
  margin-right: 0;
}
.form-admin {
  text-align: left;
}
.form-admin label {
  color: #fff;
}
.form-admin input,
.form-admin select {
  width: auto;
  text-align: left;
  text-decoration: none;
}
header .logo {
  float: left;
  width: 48%;
  padding-top: 2em;
}
header .header-right {
  float: right;
  padding-top: 2em;
  width: 48%;
  text-align: right;
}
header .header-right .user-details {
  float: right;
  width: 100%;
}
header .header-right .user-details p {
  text-align: right;
  margin-bottom: 0;
}
header .header-right .nav > li > a:hover,
header .header-right .nav > li > a:focus {
  background-color: transparent;
}
/* Login */
.login-container {
  float: left;
  width: 100%;
  text-align: center;
  padding-top: 6em;
}
.login-container .logo {
  margin-bottom: 4em;
  display: inline-block;
  padding: 0 20px;
  max-width: 490px;
}
.login-container .logo img {
  width: 100%;
}
.login-container .login-form {
  margin: 0 auto;
  overflow: hidden;
  background-color: #9a9692;
  max-width: 450px;
  text-align: left;
  padding: 6em 30px 6em 30px;
}
.login-container h1 {
  color: #f7f3e7;
}
.login-container h2 {
  margin: 0 0 0.7em 0;
  padding: 0;
  color: #f7f3e7;
  font-size: 3em;
}
.login-container h3 {
  text-transform: uppercase;
  color: #4a4542;
  margin-bottom: 0;
}
.login-container p,
.login-container a {
  color: #d1dbe2;
}
.login-container a {
  text-decoration: underline;
}
.login-container .form-group {
  width: 100%;
  display: inline-block;
}
.login-container .form-group .form-control {
  border-radius: 0;
}
.login-container .form-group input {
  float: none;
  width: 100%;
  font-size: 1.2em;
  text-align: left;
}
.login-container .form-group input[type="checkbox"] {
  float: left;
  width: auto;
  margin-right: 10px;
}
.login-container .form-group.buttons {
  padding-left: 0;
}
.login-container .form-group label {
  color: #d1dbe2;
  float: left;
  width: auto;
  font-weight: normal;
}
.login-container .form-group .btn {
  float: none;
  margin: 0;
  border-radius: 0;
  text-transform: uppercase;
  font-size: 1.6em;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  background-color: #2aa6de;
  border-color: #2aa6de;
}
.login-container .form-group .btn:first-of-type {
  margin-right: 0;
}
.login-container .form-group .btn:hover {
  background-color: #3faee1;
}
.login-container .form-group .form-group-left {
  width: 49%;
  float: left;
}
.login-container .form-group .form-group-right {
  width: 49%;
  float: right;
  text-align: right;
}
.login-container .form-group .btn-success {
  text-transform: none;
}
.login-container .field-validation-error {
  padding-left: 0;
  color: #faa018;
}
.login-container .validation-summary-errors {
  padding-bottom: 30px;
}
.login-container .validation-summary-errors ul {
  margin: 0;
  padding: 0;
}
.login-container .validation-summary-errors ul li {
  list-style-type: none;
  color: #faa018;
}
.login-container .form-control {
  display: inline-block;
  color: #4a4542;
  height: 45px;
}
.login-container ::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #4a4542;
}
.login-container ::-moz-placeholder {
  /* Firefox 19+ */
  color: #4a4542;
}
.login-container :-ms-input-placeholder {
  /* IE 10+ */
  color: #4a4542;
}
.login-container :-moz-placeholder {
  /* Firefox 18- */
  color: #4a4542;
}
/* Global Shared */
.wow {
  visibility: visible !important;
}
html {
  -webkit-text-size-adjust: none;
  min-height: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: #fff;
}
.purina_logo {
  background-image: url('../images/logo.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left top 10px;
  margin: 0 auto 0 10px;
  max-width: 200px;
  height: 70px;
  position: relative;
}
.better-together {
  background-image: url('../images/better-together.gif');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top 20px;
  margin: 0 auto;
  max-width: 600px;
  height: 188px;
  position: relative;
}
.gp-together {
  background-image: url('../images/gp-together.gif');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top 0px;
  margin: 0 auto;
  max-width: 600px;
  height: 160px;
  position: relative;
}
.kc-together {
    background-image: url('../images/kc-together.gif');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top 0px;
    margin: 0 auto;
    max-width: 600px;
    height: 160px;
    position: relative;
}
md-autocomplete input:not(.md-input) {
  background-color: white;
}
.container {
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  background-color: #ffffff;
}
.container.frontend {
  max-width: 600px;
}
.container.frontend.red {
  background-color: #f01717;
  color: #f7f3e7;
}
.container.frontend.white {
  background-color: #ffffff;
  color: #4a4542;
}
.container .content {
  padding: 2em 0;
  height: 100%;
  position: relative;
  text-align: center;
}
#appWrapper {
  float: left;
  width: 100%;
}
img {
  max-width: 100%;
}
a img {
  border: none;
}
.clear {
  clear: both;
  min-height: 1em;
}
footer {
  clear: both;
  margin: 0 auto;
  max-width: 600px;
  background-color: #ffffff;
}
.modal {
  width: 90%;
}
.modal button.close {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: unset;
}
@media screen and (max-device-width: 479px) {
  .purina_logo {
    margin: 10px;
    max-width: 150px;
    height: 50px;
  }
  .better-together {
    background-position: center top 0;
    max-width: 500px;
    height: 117px;
  }
}