/*Reset*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, i, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
/*Grid*/
html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
    background: url(../images/grey-bkg.png);
}
a {
  text-decoration: none;
  background-color: transparent;
}
a:active,
a:hover {
  outline: 0;
}
h1 {
  font-size: 2em;
}
small {
  font-size: 80%;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}
.row {
    margin-left: -15px;
    margin-right: -15px;
}
.col-xs-12, .col-md-6 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}
.col-xs-12 {
  float: left;
  width: 100%;
}
@media (min-width: 768px) {
  .col-md-6 {   
    float: left;
    width: 50%;
  }  
}
/*Floats & Clearfix*/
.clearfix:before,
.clearfix:after,
.container:before,
.container:after,
.row:before,
.row:after {
  content: " ";
  display: table;
}
.clearfix:after,
.container:after,
.row:after {
  clear: both;
}
/*Typography*/
html {
    font-family: lato, helvetica, sans-serif;
    font-size: 17px;
}
@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('../fonts/glyphicons-halflings-regular.eot');
  src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
.glyphicon {
  position: relative;
  top: 3px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.glyphicon-menu-down:before {
  content: "\e259";
}.glyphicon-sunglasses:before {
  content: "\e240";
}
.glyphicon-th-large{
    top: 4px;
}
.glyphicon-th-large:before {
  content: "\e010";
}
/*Header and Nav*/
header{
    background: #fff;
    height: 66px;
    border-bottom: 1px solid #31313F;;
}
.logo{
    margin-left: 10px;
    margin-top: 20px;
    max-width: 240px;
}
.menu {
    display: none;
    margin-top:20px;
    position: relative;
    z-index: 3;
    background: #fff;
}
.open {
    display: block;
}
.menu li {
    height: 40px;
    text-align: center;
    border-bottom: 1px solid #31313F;;
}
.category{
    background: #3A6EEC;
    color: #fff;
    padding-top: 12px;
}
.menu li a {
    color: #000;
    display: block;
    height: 40px;
    padding-top: 12px;
}
.menu-button{
    float: right;
    width: 55px;
    height: 46px;
    background: #fff;
    color: #31313F;
    border: 2px solid #31313F;
    border-radius: 3px;
    margin-top: 10px;
    margin-right: 10px;
}
.desktop-nav{
    display: none;
}
/*Dropdown*/
/* Dropdown Button */
.dropbtn {
    color: #000;
    margin-top: -1px;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;  
    border-left: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    border-right: 1px solid #aaa;   
    min-width: 250px;
}
.dropdown-content-small{
    min-width: 170px;
}
/* Links inside the dropdown */
.dropdown-content a {
    color: #000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {    
    background-color: #F9D604;
    color: #fff;
}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}
/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn,
.dropbtn:hover {
    background-color: #3A6EEC;
    color: #fff;
}
/*Lead*/
.lead{
    margin-left: -15px;
    margin-right: -15px;
    height:200px;
    background-image: url(../images/careers-lead.jpg);
    background-position: 100% 90%;
    background-size :cover;
}
.lead h1, .lead h2 {  
    padding-top: 30px; 
    color: #3C3D42;
    text-align: center;
}
.lead h1 {    
    font-size: 24px;
}
.lead h2 {
    font-size: 20px;
}
/*Section 1*/
.first-section {
    padding-top: 50px;
    padding-bottom: 50px;
    overflow: hidden;
    position: relative;
    margin-left: -15px;
    margin-right: -15px;    
}
.first-section-container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 500px;
    margin: 0 auto;
}
.first-section h2 {
    color: #8BC1E8;
    font-size: 25px;
    text-decoration: underline;
}
.first-section h2:last-of-type {
    margin-top: 50px;
}
.description {
    color: #fff;
    font-size: 16px;
    line-height: 35px;
}
.contact-link {
    display: inline-block;
    width: 60px;
    border: 2px solid #fff;
    color: #fff;
    text-align: center;
}
.contact-link:hover{
    background: #fff;
    color: #000;
}
/*Footer*/
.footer {
    clear: both;
    height: 655px;
    background: #eeeeee;
}
.footer-container{
    padding-top: 50px;
    position: relative;
    margin: 0 auto;
}
.footer small{
    text-align: center;
}
.footer-list img{   
    display: inline-block;
    height: 26px;
    width: 26px;
    margin-top: -0.30em;
    margin-right: 10px;
    float: left;
}
.footer-list li {
    margin-bottom: 25px;
}
.footer-list a {
    color: #1a1a1a;
}
.footer-list a:visited {
    color: #000;
}
.footer-list a:hover {
    color: #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}
.footer-list a img {
    border: none;
}
.footer-list  {
    display: block;
    position: relative;
    margin: 0 auto;
}
.ul-wrapper {
    width: 250px;
    position: relative;
    margin: 20px auto;
}
.ul2 {
    margin-bottom: 50px;
}
/*Sticky footer*/
* {
    margin: 0;
}
html, body {
    height: 100%;    
}
.container {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -580px;
}
.push {
    height: 580px;
}
/*Media Queries*/
@media screen and (min-width: 544px){
    .logo { 
        max-width: 300px;
    }
    .menu {   
        margin-top:14px;
    }   
    h1 {
        line-height: 2.5em;
    }
    .lead{
        background-position: 100% 60%;   
    }
}
@media screen and (min-width: 768px){
    .form-horizontal .form-group {
        margin-left: -15px;
        margin-right: -15px;
    }
    .container {
        margin: 0 auto -365px;
    }
    .first-section-container {
        max-width: 750px;
    }
    .description {
        font-size: 20px;
    }
    .footer, .push {
        height: 365px;
    }
}
@media screen and (min-width: 992px){
    header {
        height: 50px;
    }
    .logo {
        margin-top: 13px;
        max-width: 235px;
    }
    .menu-button, .menu {
        display: none;
    }
    .desktop-nav {
        display: block;
        float: right;
    }
    .lead{
        height: 300px;
    }   
    .lead h1 {
        padding-top: 40px;
        font-size: 35px;
    }
    .lead h2 {
        font-size: 20px;
    }
    .first-section-container {
        max-width: 900px;
    }
}
@media screen and (min-width: 1200px){   
    .logo {
        margin-top: 10px;
        max-width: 300px;
    }
    .lead h1 {
        padding-top: 60px;      
    }
    .lead h2 {
        font-size: 30px;
    }
}