@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,700');

html{
  font-size: 16px;
  font-family: 'PT Sans', sans-serif;
  color: #292727;
}

body{
  margin: 0em;
  padding: 0em;
}

h3, h4{
  color: #258039;
  margin: 1em 0em 0.2em 0em;
}

ul{
  list-style-type: none;
  margin: 0em;
  padding: 0em;
  font-size: 1.1em;
}
ol{
  font-size: 1.2em;
}

ol li{
  padding: 0.5em;
}

img{
  max-width: 100%;
}

a{
  text-decoration: none;
  color: #292727;
}

h1{
  color: #ff4447;
  text-align: center;
}

p{
  font-size: 1.1em;
}

form{
  padding: 0.5em;
  margin: 1em 0em;
  background-color: #257985;
}

input[type="submit"]{
  background-color: #ff4447;
  margin: 0em auto;
  border: none;
  color: #fff;
  
  box-sizing: border-box;
}

input[type="submit"]:hover,
input[type="submit"]:active{
  background: #ff4447;
}

select, input{
  border: 1px solid #fff;
  background-color: #fff;
  border-radius: 2px;
  color: #3f3d3d;
  margin: 0.5em 0em;
  padding: 0.5em;
  box-sizing: border-box;
  min-height: 2.7em;
  text-transform: uppercase;
}

.boxed{
  max-width: 90rem;
  margin: 0em auto;
}

.flexListElements{
  display: flex;
  flex-flow: row wrap;
  align-content: flex-start;
  justify-content: space-between;
  align-items: stretch;
}

.flexListElements > li{
  flex: 1 1 auto;
}

.simple-list{
  list-style-type: disc;
  margin-left: 2em;
}

.simple-list > li{
  padding: 0.2em 0em;
}

.active{
  color: #d2cdcd !important;
}

header > h2{
  text-align: center;
  background-color: #f0f0f0;
  margin: 0em;
  padding: 0.5em;
  
}

#fistLineHeader div > li:first-child,
#fistLineHeader div > li:last-child{
padding: 0.5em 1em;
}

#fistLineHeader div li a > h2{
margin: 0.2em 0em;
color: #258039;
font-size: 1.7em;
}

#fistLineHeader div > li:nth-child(2),
#fistLineHeader div > li:last-child,
#fistLineHeader div > li:last-child h2{
display : flex;
align-items : center;
margin: 0em;
}

#fistLineHeader div li h2 a{
color: #292727;
white-space: nowrap;
font-size: 1.5em;
}

#fistLineHeader div li h2 img{
padding-right: 0.5em;
min-width: 30px;
}


#header-banner{
/*background-color: #9e0003;
 *  display: block;
 *  text-shadow: 2px 2px 2px #000;
 *  padding: 0.2em;
 *  
 *  display: flex;
 *  flex-flow: row nowrap;
 *  align-content: flex-start;
 *  justify-content: space-between;
 *  align-items: stretch;*/
}

#header-banner h2,
#header-banner p{
color: yellow;
margin: 0em;
padding: 0em;
white-space: nowrap;
}

#header-banner p{
font-size: 0.9em;
}

#formArrow{
position: absolute;
}

.highlighted {
  border: 0.2em solid #fe0600 !important;
  box-sizing: border-box;
}

#formSubmit.highlighted{
border: none !important;
}

.displayNone {
  display: none;
}


footer li > h2,
footer li > p,
footer li > h2 a{
  margin: 0.2em 0em;
  color: #fff;
}

#mainMenu,
#mainMenuMobile{
background-color: #257985;
text-align: center;
margin: 0em;
}

#mainMenu div > li,
#mainMenuMobile div > li{
display: inline-block;
padding: 0em;
text-transform: uppercase;
}

#mainMenu div > li:hover a,
#mainMenuMobile div > li:hover a{
color: #d2cdcd;
}

#mainMenu div > li > a,
#mainMenuMobile div > li > a{
color: #fff;
text-decoration: none;
padding: 0.5em;
display: inline-block;
font-weight: bold;
}

#homeHeader{
margin-bottom: 0em;
}

#homeHeader > li:last-child{
background: #fff url("images/homeHeaderImg1.jpg") no-repeat center center;
background-size: cover;
}

#homeHeaderForm{
background: #fff url("images/bg-1.jpg") no-repeat center center;
background-size: cover;
}

#homeHeaderForm > h2{
margin: 0em;
font-size: 1.8em;
color: #fff;
padding: 0.3em;
}

#homeForm{
display: flex;
flex-flow: column nowrap;
align-content: flex-start;
justify-content: space-between;
align-items: stretch;
margin: 0em;
background-color: transparent;
}

#homeForm div select,
#homeForm div input{
margin: 0.4em 1em 0.4em 0em;
width: 90%;
}

#homeForm input[type="submit"]{
width: auto;
font-size: 1.6em;
margin: 0.4em 0em 0em 0em;
min-height: 1em;
padding: 0.2em 0.6em;

padding-left: 55px;

background-image: url("images/button-icon.png");
background-repeat: no-repeat;
background-position: left 15px center;
}


#enginesBannerMobile,
#mobileBanner{
display: block;
margin: 0em auto;
text-align: center;
}

#mobileBanner{
margin-top: 0.5em;
margin-bottom: 0.5em;
}

#mobileBanner img{
display: inline-block;
}

#mainContentHome{
max-width: 60em;
padding: 0em 1em;
}

#mainContentHome h1{
text-align: center;
}
#mainContentHome h1 a{
color: #ff4447;
}

#mainContentPage{
max-width: 80em;
min-height: 60vh;
padding: 1em;
box-sizing: border-box;
margin: 0 auto;
margin-top: 1em;
}

#homeBottom{
padding: 1em;
}

#findPartForm{
display: flex;
flex-flow: row wrap;
align-content: flex-start;
justify-content: space-between;
align-items: flex-start;
margin: 0em 0em 2em 0em;
padding: 0em 1em 1em 1em;
}

#findPartForm > h2:first-child {
box-sizing: border-box;
flex: 0 0 100%;
padding: 0.2em;
color: #fff;
text-align: center;
text-transform: uppercase;
}

#findPartForm > :not(:last-child) {
flex: 1 0 auto;
width: 100%;
}

#findPartForm input[type="submit"]{
font-size: 1.6em;
margin-top: 0.3em;
min-height: 1em;
padding: 0.1em 0.5em 0.1em 45px;

background-image: url("images/button-icon.png");
background-repeat: no-repeat;
background-position: left 5px center;
}

#contactForm{
display: flex;
flex-flow: column nowrap;
align-content: flex-start;
justify-content: space-between;
align-items: stretch;
width: 100%;
}

#contactForm input{
margin-bottom: 1em;
}

#promiseIcons{
margin-bottom: 1em;
border-bottom: 1px solid #d0e1ea;
}

#promiseIcons p{
font-size: 1em;
padding: 0em 0.5em;
}

#centerImage img{
display: block;
margin: 0 auto;
}

#contactForm input[type="submit"]{
margin-top: 1em;
padding: 0.5em 1em;
}

footer{
  background-color: #257985;
  color: #fff;
  margin-top: 2em;
  padding: 1em 0em;
  text-align: center;
}

footer ul li{
  padding-bottom: 1em;
}

@media screen and (min-width: 600px) {
  #mainMenu div > li > a,
  #mainMenuMobile div > li > a
  {
    font-size: 1.2rem;
    padding: 0.5em 1em;
  }
}

@media screen and (min-width: 800px) {
  
  #mainMenuMobile,
  #mobileBanner{
  display: none;
  }
  
  #homeHeader{
  margin-bottom: 2em;
  }
  
  #findPartForm :not(:last-child) {
  flex: 0 0 calc(50% - 0.5em);
  }
  
  .flex-row{
    flex-flow: row nowrap;
  }
  
  
  #mainMenu div > li{
  padding: 0.5em;
  }
  
  #fistLineHeader div > li:first-child,
  #fistLineHeader div > li:last-child{
  padding: 1em;
  }
  
  #homeHeaderForm{
  max-width: 60%;
  margin: 0em;
  }
  
  #homeHeaderForm > p{
  font-size: 0.9em;
  background-color: #ff4447;
  color: #fff;
  margin: 0em;
  padding: 0.5em;
  }
  
  #homeForm{
  display: flex;
  flex-flow: row wrap;
  align-content: flex-start;
  justify-content: space-between;
  align-items: stretch;
  }
  
  #homeForm div{
  flex: 1 1 40%;
  padding: 0.5em;
  }
  
  #homeThreeColumn{
  padding: 0em 1em;
  }
  
  #homeBottom{
  text-align: justify;
  }
  
  #mainContentHome p,
  #mainContentPage p{
  text-align: justify;
  }
  
  #contactForm{
  width: 70%;
  padding: 1em;
  }
  
  #findPartForm :not(:last-child) {
  flex: 0 0 calc(33.33% - calc(2em/3));
  }
  
}

@media screen and (max-width: 800px) {
  .desktop-only{
    display: none !important;
  }
}
