* {
  box-sizing: border-box;
}

/* Elements */

body {
  	font: 1em/1.5 Verdana, Arial, sans-serif;
  	background-color: #e5e5e5;
  	color: #47566a;
	margin: 0;
}

img {
	margin-left: 1em;
	width: 150px;
	height: auto;
	padding-top: 5px;
}

hr {
	margin: 0;
	height: 5px;
	background-color: #47566a;
	border: none;
}

h1 {
	font-size: 1.777em;
	font-weight: 200;
	margin-top: .5em;
	margin-bottom: .5em;
}

h2 {
	font-size: 1em;
	font-weight: 200;
	margin-top: .5em;
	margin-bottom: .5em;
}

fieldset {
	 border: none;
	 padding: 0;
}

label {
	display: block;
    letter-spacing: -0.3px;
}

input[type="text"] {
	height: 40px;
    width: 100%;
    border: #4d7fde 1px solid;
    font-size: 1.1em;
    margin: 5px 0 20px 0;
    border-radius: 5px;
}

input[type="radio"] {
	float: left;
    margin: 5px 8px 0 0;
}

ul {
  list-style: none;
  padding-left: 20px;
}

ul img {
	width: 30px;
	height: auto;
}

li {
  font-weight: 600;
  font-size: 0.9em;
}

select {
	width: 100%;
    height: 40px;
    border: #4d7fde 1px solid;
    font-size: 1.1em;
    margin: 5px 0 20px 0;
    border-radius: 5px;
}

select[multiple] {
	height: 90px;
    margin-bottom: 30px;
}

textarea {
	border: #4d7fde 1px solid;
    margin: 5px 0 30px 0;
    border-radius: 5px;
    width: 100%;
    height: 200px;
	font-size: 1.1em;
}

button {
	background-color: #47566a;
	color: white;
	float: right;
	font-size: 1.03em;
	padding: 15px 20px;
	border-radius: 10px;
	margin-top: 18px;
	border-style: none;
	cursor: pointer;
}

footer {
	text-align: center;
    margin: 50px 0 20px;
}

/* ID Selectors */

#in-order-to {
	margin-top: 0;
	margin-bottom: 1em;
}

#estimates {
	margin-bottom: 1em;
}

#job_city {
	margin-top: 2em;
}

/* Class Selectors */

.logo {
	background-color: #4d7fde;
}

.main-nav {
	text-align: center;
	color: white;
	background-color: #47566a;
}

.main-nav ul {
	margin: 0;
	padding: 1em 0 0.5em;
}

.main-nav ul li {
	margin-bottom: 1em;
}

.post-button,
.login-button {
	display: inline-block;
	border-radius: 20px;
	padding: 0.1em 1em;
	background-color: #4d7fde;
}

.login-button {
	background-color: #2ca73d;
}

.content {
	margin: 0.5em;
}

.main-div {
	max-width: 960px;
	margin: auto;
	width: 98%
}

.multiple-jobs-text {
	font-size: 0.75em;
	font-weight: 200;
	font-style: italic;
	margin-bottom: 2.5em;
}

.job-form {
	width: 100%;
    height: 100%;
    background-color: white;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.why-post {
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 10px;
  display: none;
}

.why-post-box {
	padding: 0 6px;
}

.why-post-title {
  background-color: #4d7fde;
  color: white;
  font-weight: 100;
  padding: 20px 30px;
  margin-top: 0;
  margin-bottom: 40px;
  border-radius: 10px 10px 0 0;
}

.bullet-info {
  font-size: 0.8em;
  padding: 0 20px 30px 0;
  margin-left: 20px;
  line-height: normal;
}

.another-job {
  text-transform: uppercase;
  font-weight: bold;
}

.radio-submit {
	margin-bottom: 2em;
}

/* Sudo Classes */

/* .trade-image::after {
  content: url('../images/tradesman_area_small.png');
  float: right;
  padding-bottom: 5px;
} */

.why-post-box ul li::before {
  content:'✓';
  display: inline-block;
  color: white;
  background: #87C540;
  height: 24px;
  width: 24px;
  border-radius: 50px;
  line-height: 24px;
  text-align: center;
  margin-right: 15px;
}

.group::after { /* Clears the floats */
  content: "";
  display: table;
  clear: both;
}

/* Media Queries */

@media (min-width: 460px) {
	img {
		margin-left: 3em;
		width: 200px;
	}
	button {
		margin-top: 0;
	}
	.bottom-radios {
		float: left;
		width: 300px;
		margin-left: 10px;
	}
	.main-div {
		width: 95%
	}
}

@media (min-width: 550px) {
	#job_city {
		margin-top: 0;
	}
	#estimates {
		margin-bottom: -0.5em;
	}
	img {
		margin-left: 3em;
		width: 220px;
	}
	.radio-field-left {
		float:left;
	    width: 200px;
	    margin-right: 20px;
	}
	.text-field-left {
		float: left;
		width: 50%;
		padding-right: 1em;
	}
	.text-field-right {
		float: right;
		width: 50%;
		padding-left: 1em;
	}
	.form-field {
		margin-top: 25px;
	}
	.main-div {
		width: 90%
	}
}

@media (min-width: 800px) {
	h1 {
		font-size: 2.369em;
	}
	h2 {
		font-size: 1.333em;
	}
	img {
		margin-left: 3em;
		width: 280px;
		padding: 0;
	}
	.main-nav {
		width: 90%;
		margin: auto;
		border-radius: 0 0 10px 10px;
		max-width: 960px;
	}
	.main-nav ul {
		display: flex;
		padding-top: 0.2em;
	}
	.main-nav ul li {
		margin-bottom: 0;
		font-size: 0.8em;
		margin-left: 2em;
	}
	.main-nav ul li:last-child {
		margin-left: auto;
		margin-right: 2em;
	}
}

@media (min-width: 960px) {
	img {
		margin-left: 3em;
		width: 313px;
	}

	.wrapper {
		display: flex;
		flex-wrap: wrap;
	}

	.job-form {
		flex-basis: 64%;
		order: 1;
	}

	.job-form-secondary {
		order: 3;
	}

	.why-post {
		display: block;
		flex-basis: 33%;
		order: 2;
		margin-left: 20px;
	}

	/* .why-post {
		display: block;
		float: right;
		width: 33%;
		margin-left: 0.5em;
	}
	.job-form {
		float: left;
		width: 65%;
		margin-right: 0.5em;
	} */
}
