html * {
	box-sizing: border-box;
}

body {
	background: #F1F9FF;
	font-family: 'Arial';
	font-size: 14px;
}

header {
	text-align: center;
	font-size: 18px;
}

.container {
	margin: 0 auto;
	max-width: 600px;
}

form {
	display: flex;
	flex-direction: column;
	padding: 0 24px;
	color: #2699FB;
}

input, textarea, select {
	-webkit-appearance: none;
	border: 1px solid #BCE0FD;
	border-radius: 4px;
	color: #2699FB;
	font-size:  14px;
	padding: 15px;
	width: 100%;
	height: 48px;
}

input[type="number"] {
	width: 48px;
}

select {
	background: #fff url("/assets/images/arrow.svg") right 10px center no-repeat;
}

label {
	display: block;
	font-size: 10px;
	width: 100%;
	margin-bottom: 8px;
}

textarea{  
	box-sizing: padding-box; 
	overflow:hidden;
	/* demo only: */
	display:block;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

button, input[type="submit"] {
	-webkit-appearance: none;
	border: none;
	text-transform: uppercase;
	color: #fff;
	background: #2699FB;
	text-align: center;
	font-size: 10px;
	border-radius: 4px;
	padding: 19 40px;
	width: 100%;
	cursor: pointer;
}

input[type="submit"] + button, input[type="submit"] + input[type="submit"] {
	margin-top: 16px;
}

.error {
	color: red;
}

.success {
	color: green;
}

.flex {
	display: flex;
}

.flex-center {
	justify-content: center;
	align-items: center;
}

.field-section {
	display: none;
	position: relative;
}

.field-section.active {
	display: block;
}

.field + .field {
	margin-top: 16px;
}

.section-title {
	text-transform: uppercase;
	text-align: center;
	font-weight: bold;
	margin-bottom: 50px;
}

.puppy {
	display: flex;
	background: #fff;
	padding: 16px;
	background: #fff;
	cursor: pointer;
}

.puppy + .puppy {
	border-top: 1px solid #F1F9FF;
}

.puppy .img {
	width: 48px;
	height: 48px;
	margin-right: 16px;
}

.puppy-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.puppy-info p {
	margin: 0;
}

.puppy-info p:first-child {
	margin-bottom: 5px;
}

.discipline:first-child {
	margin-top: 16px;
}

.discipline div {
	display: flex;
}

.discipline select {
	-webkit-appearance: none;
	background: #fff;
	width: 48px;
	margin-right: 8px;
	text-align: center;
}

.discipline textarea {
	flex-grow: 1;
}

.back-arrow {
	width: 16px;
	height: 16px;
	background: url(/assets/images/back-arrow.png) center center / contain no-repeat;
	position: absolute;
	top: 14px;
	left: 0;
	cursor: pointer;
}

#drop_zone {
	width:  100%;
	height: 327px;
	background: #BCE0FD;
	position: relative;
	margin-bottom: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	position: relative;
	z-index: 2;
}

#drop_zone.hover {
	background: #98d1ff;
}

#drop_zone p {
	font-size: 10px;
	cursor: pointer;
}

#image-preview {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.plus {
	width: 40px;
	height: 40px;
	border-radius: 100%;
	position: relative;
	background: #2699FB;
	cursor: pointer;
}

.plus:before, .plus:after {
	content: '';
	display: block;
	width: 2px;
	height: 16px;
	position: absolute;
	background: #fff;
	left: 18px;
    top: 12px;
}

.plus:after {
	transform: rotate(90deg);
}

#photo {
	opacity: 0;
	position: absolute;
	top: 190px;
	z-index: 0;
}


button:not(#save) {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	max-height: 30px;
}

button.loading .spinner {
	display: block;
}

button.loading {
	text-indent: -9999px;
}

.spinner,
.spinner:before,
.spinner:after {
  background: #ffffff;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 5px;
  height: 10px;
}
.spinner {
	display: none;
	color: #ffffff;
	text-indent: -9999em;
	position: relative;
	font-size: 11px;
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}
.spinner:before,
.spinner:after {
  position: absolute;
  top: 0;
  content: '';
}
.spinner:before {
  left: -11px;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.spinner:after {
  left: 11px;
}
@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 10px;
  }
  40% {
    box-shadow: 0 -5px;
    height: 12px;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 10px;
  }
  40% {
    box-shadow: 0 -5px;
    height: 12px;
  }
}

#save {
	padding: 10px;
	width: auto;
	background: none;
	margin-right: 10px;
}

#save img {
	width: 20px;
}