/* Aaron's stylesheet changes */

/* ----- Generic elements ----- */
p {
    line-height: 21px;
    font: normal 16px/23px 'Source Sans Pro', Arial, Helvetica, sans-serif;
}
p a {
    font-weight: bold;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
ul li {
    font-size: 16px;
    line-height: 21px;
    font: normal 16px/23px 'Source Sans Pro', Arial, Helvetica, sans-serif;
    margin-bottom: 8px;
}
h1 {
    font: bold 27px/40px 'Lato', Arial, Helvetica, sans-serif;
    margin-top: 30px;
    margin-bottom: 18px;
    margin: 0;
}
h2 {
    font: bold 22px/32px 'Lato', Arial, Helvetica, sans-serif;
    margin: 25px 0 8px 0;
}
h3 {
    font: bold 22px/32px 'Lato', Arial, Helvetica, sans-serif;
    margin: 40px 0 12px 0;
}
.mo_section {
    margin: 30px 0;
}
.myButton {
	-moz-box-shadow:inset 0px 1px 0px 0px #8b9abf;
	-webkit-box-shadow:inset 0px 1px 0px 0px #8b9abf;
	box-shadow:inset 0px 1px 0px 0px #8b9abf;
	background-color:#405a7a;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #3d609c;
	display:inline-block;
	color:#ffffff;
	font-family:arial;
	font-size:13px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
}.myButton:hover {
	background-color:#4f6480;
	color:#ffffff;
}.myButton:active {
	position:relative;
	top:1px;
}

table ul, ul {
	list-style-type: disc;
}

table li, li {
	margin: 2px 0px 2px 0px;
}

form ul {
	list-style-type: none;
}

form li {
	float: left;
	width: 180px;
	list-style-type: none;
}

/* ----- Overwriting Benchy's code ----- */
#content .left, #content .right {
    width: auto;
}
.left, .right {
    float: none;
}
#nav a {
    font-family: 'Lato';
}
#footer {
    text-align: center;
    font: normal 13px 'Source Sans Pro';
}
#footer .left {
    margin: 10px 0;
}
#footer .right a {
    margin: 0 10px;
    font-weight: bold;
}

/* ----- Homepage ----- */
.latest_news h2 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 8px;
}
.latest_news h3 {
    font-size: 16px;
    line-height: 20px;
    margin-top: 8px;
}
.homepage h2 {
    margin-top: 12px;
    margin-bottom: 8px;
    line-height: 32px;
}
.homepage p {
    line-height: 26px;
    margin: 5px 0;
}
.intro {
    padding-left: 15px;
}
.intro h1 {
    margin-top: 0;
}
.intro p {
    font-size: 20px;
    line-height: 32px;
    padding: 8px 0;
}


/* ----- Homepage Testimonials ----- */
.owl-item div {
    padding: 30px 50px;
}
.owl-item div p.testimonial {
    font-style: italic;
    font-size: 15px;
    line-height: 28px;
    font-family: 'Merriweather';
}
.owl-item div p.name {
    font-weight: bold;
    margin-top: 18px;
    margin-bottom: 5px;
    line-height: 18px;
}
.owl-item div p.company {
    font-weight: normal;
    font-size: 14px;
    line-height: 18px;
    margin-top: 5px;
}


/* ----- Job listings ----- */
.error {
    color: red;
}
.job_listing {
    margin: 50px 0;
}
.job_listing h3 {
    font: bold 20px 'Lato';
    color: #fff;
    font-stretch: initial;
    border-bottom: 0px solid #8c8f93;
    padding-bottom: 4px;
    margin-bottom: 12px;
}
.job_listing .content {
    font: normal 17px/23px 'Source Sans Pro', Arial, Helvetica, sans-serif;
}

.job_listing form {
    width: 400px;
    display: block;
    margin: 0 auto;
    display: none;
}
.job_listing form.active_job {
    display: block;
}
.job_listing form label {
    display: block;
    margin: 15px 0 5px 0;
    font: bold 15px 'Lato';
    color: #fff;
    width: 100%;
}
.job_listing form input {
    display: block;
    margin: 4px 0;
    padding: 6px 8px;
    font: normal 15px/18px 'Source Sans Pro';
    width: 100%;
    box-sizing: border-box;
}
.button {
    display: block;
    padding: 8px 25px;
    width: auto;
    border: 0px solid #fff;
    border-radius: 6px;
    padding: 12px 8px;
    width: 100%;
    font: 700 16px 'Source Sans Pro', Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    color: #fff;
    background-color: #104E8B;
    -webkit-box-shadow: 4px 4px 12px 2px rgba(0,0,0,0.7);
    box-shadow: 4px 4px 12px 2px rgba(0,0,0,0.7);
    cursor: pointer;
    margin: 20px 0;
    
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    
    background: #3498db;
    background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
    background-image: -moz-linear-gradient(top, #3498db, #2980b9);
    background-image: -ms-linear-gradient(top, #3498db, #2980b9);
    background-image: -o-linear-gradient(top, #3498db, #2980b9);
    background-image: linear-gradient(to bottom, #3498db, #2980b9);
    
    background: #4374be;
  background-image: -webkit-linear-gradient(top, #4374be, #264470);
  background-image: -moz-linear-gradient(top, #4374be, #264470);
  background-image: -ms-linear-gradient(top, #4374be, #264470);
  background-image: -o-linear-gradient(top, #4374be, #264470);
  background-image: linear-gradient(to bottom, #4374be, #264470);
}
.button:hover {
    background: #1874CD;
    color: #fff;
    
    
    background: #3cb0fd;
    background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
    background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
    
    background: #578bd9;
  background-image: -webkit-linear-gradient(top, #578bd9, #385c93);
  background-image: -moz-linear-gradient(top, #578bd9, #385c93);
  background-image: -ms-linear-gradient(top, #578bd9, #385c93);
  background-image: -o-linear-gradient(top, #578bd9, #385c93);
  background-image: linear-gradient(to bottom, #578bd9, #385c93);
    
    text-decoration: none;
}
.button.cta {
    max-width: 450px;
    text-align: center;
    display: block;
    margin: 30px auto;
    font-size: 16px;
    line-height: 16px;
}
.job_listing form input.button {
    margin: 20px 0;
    padding: 12px 8px;
    font: 700 16px 'Source Sans Pro', Helvetica, Arial, sans-serif;
}
.job_listing form textarea {
    display: block;
    margin: 4px 0;
    padding: 5px 8px;
    width: 100%;
    min-height: 200px;
    box-sizing: border-box;
}
.button.apply_for_job {
    width: 400px;
    margin: 20px auto;
    text-align: center;
    color: #fff;
}
.job_listing form label.webpage_label, .job_listing form input.webpage_field {
    display: none;
}

/* ----- Contact form ----- */
#contact {
    max-width: 450px;
}
#contact label {
    display: block;
    margin: 15px 0 5px 0;
    font: bold 16px 'Lato';
    width: 100%;
}
#contact input, #contact textarea {
    width: 100%;
    padding: 6px 8px;
    margin: 4px 0;
    font: normal 15px/18px 'Source Sans Pro';
}
#contact p.required_message {
    font-size: 13px;
    font-style: italic;
}
#contact input[type=submit] {
    box-sizing: initial;
    margin: 20px 0;
    padding: 12px 8px;
    font: 700 16px 'Source Sans Pro', Helvetica, Arial, sans-serif;
}