#join-the-team {
  margin-bottom: 20px;
  width: 285px;
}

#join-the-team .inner-container {
  border-top: 7px solid #e81b23;
  background-color: white;
  margin: 0;
  padding: 0;
  width: 285px;
  height: 293px;
  background-repeat:no-repeat;
  background-position: center center;
  background-size: 90%;
}

#join-the-team .inner-container:after {
  content: "";
  display: table;
  clear: both;
}

#jtt-title {
   padding: 0;
   margin: 0;
   float: left;
   display: inline;
}

#join-the-team .inner-container:after {
  content: "";
  clear: both;
}

#join-the-team .title {
  font-family: "lft-etica",sans-serif;
  font-size: 1.6em;
  box-sizing: border-box;
  padding-left: 18px;
  padding-top: 15px;
  white-space: nowrap;
  text-align: left;
  color: rgb(205, 25, 32);
  font-weight: bold;
  letter-spacing: 1px;
}

#join-the-team .sub-title {
  font-family: "lft-etica",sans-serif;
  font-size: 1.5em;
  box-sizing: border-box;
  padding-left: 18px;
  white-space: nowrap;
  letter-spacing: 3px;
}


#join-the-team-form {
  margin: 0;
  padding: 0;
  float: left;
  display: inline;
  box-sizing: border-box;
  width: 285px !important;
}

#join-the-team input, #join-the-team button {
  margin-left: 20px;
}

#join-the-team label.xl {
  position: relative;
}

#join-the-team input {
  font-family: "lft-etica",sans-serif;
  font-size: 1.4em;
  margin-left: 21px;
  margin-top: 10px;
  padding: 20px 20px;
}

#join-the-team input#id_email {
  margin-top: 22px;
  width: 245px !important;
}

#join-the-team input#id_phone {
  width: 245px !important;
  margin-top: 28px;
}

#join-the-team input#id_zipcode {
  width: 245px !important;
  margin-top: 28px;
}


#join-the-team button {
  font-size: 1.6em;
  line-height: 1.6em;
  margin-top: 25px;
  margin-left: 79px;
  letter-spacing: 1px;
  width: 45% !important;
  height: auto;
  display: block;
  margin: 40px auto;
  padding: 5px;
}

#join-the-team button:before {
  padding-top: 30px;
}

#join-the-team .fa {
  padding-left: 12px;
}

#join-the-team label.error {
  position: absolute !important;
  left: 69px;
  margin-top: 0px;
  font-size: .8em;
  color: white !important;
  width: 68% !important;
  background-color: rgb(225, 27, 34) !important;
  letter-spacing: 0px;
  line-height: .8em;
  padding: 10px 5px;
  font-weight: bold;
  border-radius: 0px !important;
}

#join-the-team label.error:after {
  background: none !important;
  clear: both;
  content: "";
  width: 0px !important;
  height: 25px !important;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 12px solid rgb(225, 27, 34);
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: -110% !important;
  left: 0%;
  transform: rotate(360deg) !important;
}

@-moz-document url-prefix() {
  #join-the-team-form{
    display: inline-grid;
  }
  #join-the-team label.error {
    position: absolute !important;
    left: 79px;
    margin-top: 0px;
    font-size: 0.8em;
    color: white !important;
    width: 177px !important;
    background-color: rgb(225, 27, 34) !important;
    letter-spacing: 0px;
    line-height: .8em;
    padding: 10px 5px !important;
    font-weight: bold;
    border-radius: 0px !important;
  }
}

/*
* Firefox and IE fix
*/
#join-the-team input {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: 37px;
  padding: 0px 37px 0px 15px;
}

input:-ms-input-placeholder {
    color: #ccc; !important;
}

@media screen\0 {
  #join-the-team button {
      padding: 0 33px 0 33px;
  }

  #join-the-team .title {
    letter-spacing: 0px;
  }
}

@media only screen and (max-width: 641px) {
  #join-the-team {
    width: 100%;
    margin: 0;
  }

  #join-the-team .inner-container {
    border-top: 7px solid #e81b23;
    margin: 0 auto;
    padding: 0px;
    line-height: 2em;
    width: 100%;
    height: 275px;
    background-size: 63%;
  }

  #jtt-title {
     padding: 0;
     margin: 0;
     float: none;
     display: block;
     line-height: 20px;
  }

  #join-the-team .sub-title {
    margin-bottom: 10px;
  }

  #join-the-team input#id_email {
    margin-bottom: 0px;
    margin-top: 12px;
    width: 92% !important;
  }

  #join-the-team input#id_phone {
    width: 92% !important;
  }

  #join-the-team input#id_zipcode {
    width: 92% !important;
    margin-top: 25px;
  }


  #join-the-team .title {
    float: none;
    margin-top: 3px;
    display: inline-block;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    padding-left: 20px;
    white-space: nowrap;
  }

  #join-the-team-form label.xl {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
  }

  #join-the-team-form {
    margin: 0;
    padding: 0;
    float: none;
    display: block;
    width: 100% !important;
    height: auto;
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap;
  }

  #join-the-team input {
    width: 92%;
    margin: 10px 0 0 0;
  }

  #join-the-team label.error {
    position: absolute;
    left: 31%;
    margin-top: 30px;
    font-size: .8em;
    color: white !important;
    width: 59% !important;
    background-color: rgb(225, 27, 34) !important;
    letter-spacing: 0px;
    line-height: .8em;
    padding: 9px !important;
    font-weight: bold;
    bottom: -25px;
    z-index: 500;
  }

  #join-the-team label.error:after {
    clear: both;
    content: "";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;  /* left arrow slant */
    border-right: 10px solid transparent; /* right arrow slant */
    border-bottom: 10px solid rgb(225, 27, 34); /* bottom, add background color here */
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: -20%;
    left: 0%
  }

  #join-the-team button {
    display: block;
    margin: 30px auto;
  }
}

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 1) {
	#join-the-team #jtt-title {
		height: 60px;
		line-height: 5em;
	}
	#join-the-team .title {
		font-size:1.5em !important;
		padding-left:10px;
	}
  #join-the-team {
		width:285px;
		margin-top: 2px;
    margin-bottom:30px;
	}
  #join-the-team #jtt-title {
    line-height: 1.75em;
    margin-left: 23px;
  }
  #join-the-team .sub-title {
    font-family: "lft-etica",sans-serif;
    font-size: 1.5em;
    box-sizing: border-box;
    padding-left: 0px;
    white-space: nowrap;
    letter-spacing: 3px;
  }
  #join-the-team #main-submit {
    height:28px;
    font-size: 1.2em;
    margin: 10px 20px 10px 0;
  }
  #join-the-team .inner-container {
    letter-spacing: 2px;
    height: 270px;
  }
  #join-the-team-form {
    margin: 0;
    padding: 0;
    float: left;
    display: block;
    box-sizing: border-box;
    margin-left: 0px;
    text-align: center;
    margin-top: 20px;
    line-height: 3.75em;
  }
  #join-the-team .title {
    width:210px;
    padding-left:0px;
  }
  #join-the-team input {
    height:28px;
    font-size:13px;
    margin-left: 0px;
  }

  #join-the-team input:placeholder {
    padding:auto;
  }
  #join-the-team input#id_email, #join-the-team input#id_phone {
    margin: 29px 0 0 0;
  }
  #join-the-team button:before {
    padding-top: 25px;
  }
  #hd {
    height:65px;
  }
  #hd h1.logo-h1 {
    zoom:.7;
  }
  #hd .container .hd-left {
    zoom:.8;
    -moz-transform: scale(.8);
    margin-top: 0;
    margin-left:20px;
    padding: 20px 0 0 0
  }
    #hd .hd-left .btn {
    font-size:12px;
    height: 33px;
    line-height:33px;
    padding: 5px 12px;
  }
  #hd .hd-left ul {
    margin-left: 1px;
  }
  #hd .hd-left ul li a {
    padding-left: 15px;
  }
  #hd .hd-right ul#nav li a {
    padding: 14px 24px;
  }
  #hd .hd-left, #hd .hd-right {
    zoom:.86;
  }
  #hd .hd-right ul#top-links {
    margin: 26px 0 0 0;
  }
  #hd .container .hd-right {
    width: 36%;
  }
  #hd.condensed .hd-right ul#nav li a {
    padding: 31px 24px;
    margin-top: -15px;
  }
  #join-the-team button {
    margin: 20px 0 20px 0;
  }
  #bd {
    padding: 0 20px 0 20px;
  }
}
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 1)
and (orientation: portrait) {
  #join-the-team .fa {
    padding-left: 4px;
    width: 5px;
  }
  #join-the-team #main-submit {
    font-size: .85em;
    padding: 0 15px;
    margin: 33px auto;
  }
}
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 1)
and (orientation: landscape) {
  #join-the-team {
    width:285px;
    margin-top:0px;
    margin-bottom: 9px;
  }
  #join-the-team .inner-container {
    height: 270px;
  }
  #join-the-team-form {
    justify-content: space-around;
    margin-top: 0px;
  }
  #hd .hd-left ul {
    margin-left:17px
  }
	#join-the-team #jtt-title {
    padding-left:0px;
    line-height: 1.5em;
	}
	#join-the-team #jtt-title .title {
    font-size:1.5em !important;
  }
  #join-the-team input#id_email, #join-the-team input#id_phone {
    margin: 27px 0 0 0;
  }
	#join-the-team #main-submit {
    font-size: 1.1em;
    padding: 0 20px;
    margin: 38px auto;
	}
  #hd .hd-right ul#nav li a {
    padding: 20px 24px !important;
    margin-top: -10px !important;
  }
  #hd .container .hd-right {
    width: 32%;
  }
  #hd.condensed .hd-right ul#nav li a {
    padding: 28px 24px !important;
    margin-top: -10px !important;
  }
}

@media only screen
    and (min-device-width : 375px)
    and (max-device-width : 667px)
    and (-webkit-min-device-pixel-ratio : 2)
{
  #join-the-team {
    zoom:1;
  }

  #join-the-team .inner-container {
    margin: 0;
    border-top: 7px solid #e81b23;
    padding: 0;
    line-height: 2em;
    height: 275px;
    background-size: 76%;
  }

  #jtt-title {
     padding: 0;
     margin: 0;
     float: none;
     display: block;
  }

  #join-the-team .title {
    margin-top: 0px;
    display: inline-block;
    width: 100%;
    text-align: left;
    padding-left: 15px;
  }

  #join-the-team .sub-title {
    padding-left: 15px;
  }

  #join-the-team-form label.xl {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
  }

  #join-the-team input#id_email {
    margin-bottom: 0px;
  }

  #join-the-team-form {
    margin: 0;
    padding: 0;
    float: none;
    display: block;
    width: 100%;
    height: auto;
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap;
  }

  #join-the-team input {
    width: 80%;
    margin: 10px 0 0 0;
  }

  #join-the-team label.error {
    position: absolute;
    left: 39%;
    margin-top: 0px;
    font-size: .8em;
    color: white;
    width: 51% !important;
    background-color: rgb(225, 27, 34) !important;
    letter-spacing: 0px;
    line-height: .8em;
    padding: 10px;
    font-weight: bold;
    z-index: 500;
  }

  #join-the-team label.error:after {
    clear: both;
    content: "";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;  /* left arrow slant */
    border-right: 10px solid transparent; /* right arrow slant */
    border-bottom: 10px solid rgb(225, 27, 34) !important; /* bottom, add background color here */
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: -20%;
    left: 0%
  }

  #join-the-team .fa {
    padding-left: 10px;
  }

  #join-the-team button {
    display: inline-block;
    margin: 34px auto;
  }
}

@media only screen and (device-width: 1024px) and (device-height: 1366px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5) {
  #hd .hd-right ul#nav li a {
    padding: 13px 24px;
  }
}
