/* CSS Document */

/* Stylesheet - Contact Form
 * Copyright (C) 2018 Nick Whittle. All rights reserved.
 * https://www.nickwhittle.com
 * --------------------------------------------- */

contactform {
	background-color: tomato;
    font-family: 'Open Sans', sans-serif;
}

.label {
	margin: 10px 0px 10px 3px;
}
	
.field {
	margin: 0px 0px 20px 0px;
	font-family: 'Open Sans', sans-serif;
}

.content {
	width: 960px; 
	margin: 0 auto;
}

central {
	margin: 40px 0px 100px 0px; 
	background-color: tomato;
}

@media all and (min-width: 600px) and (max-width: 800px) {.content {width: 750px;}}
		
@media all and (max-width: 600px) {
	body {background:#ffffff; margin: 0 auto; word-wrap:break-word}
			.content {width:auto;}
			central {	margin: 40px 20px 10px 20px;}
		}

contactform {
	font-family: 'Open Sans',sans-serif;
	background: #ff0000;
	margin: 0 auto;-webkit-font-smoothing: antialiased;
	font-size: initial;line-height: 1.7em;
}

input, textarea {
	width: 100%; 
	padding: 15px; 
	font-size: 1em; 
	border: 1px solid #c1c1c1;
	border-radius: 3px;
	background-color: #ffffff;
}

message, textarea {
	width: 100%;
	height: 100px;
	padding: 15px; 
	font-size: 1em; 
	border: 1px solid #c1c1c1;
	border-radius: 3px;
	background-color: #ffffff;
}

button {
/*	padding: 0px 60px;*/
	background: steelblue;
	border: none;
	color: white;
	font-size:1em;
	font-family: 'Open Sans', sans-serif;
	cursor: pointer;
	margin-bottom: 30px;
}

form {
	color: #363636;
}

#message {  
	padding: 0px 0px 0px 0px; 
}

#mail-status {
	padding: 12px 20px;
	width: 100%;
	display:none; 
	font-size: 1em;
	font-family: 'Open Sans', sans-serif;
	color: rgb(40, 40, 40);
}

.error {
	background-color: #ffbebe;
	margin-bottom: 40px;
	border: 1px;
	border-color: #cf0000;
}

.success {
	background-color: #b2efaf;
	border: 1px;
	border-color: lime;
}

.g-recaptcha {
	margin: 0 0 20px 0;
	align-content: center;
	display: inline-block;
}

comment-content {
	font-family: 'Open Sans', sans-serif;
}

/* Check Box */

/* Customize the label (the tick) */
.tick {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.tick input {
/*  position: absolute;*/
  opacity: 0;
  cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border: 1px solid #c1c1c1;
  border-radius: 2px;	
}

/* On mouse-over, add a grey background color */
.tick:hover input ~ .checkmark {
  background-color: #f9f9f9;
}

/* When the checkbox is checked, add a blue background */
.tick input:checked ~ .checkmark {
  background-color: steelblue;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.tick input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.tick .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
