html, body, h1, h2, h3, h4, h5, p, a, li, button {
    -webkit-font-smoothing: antialiased;
}

div {
  display:block;
}

/* =========================
	Navigation
   ======================== */
.tab-bar {
    background: 177,37,45,0.2;
    color: white;
    height: 5rem;
    line-height: 2.8125rem;
    position: relative;
}

.tab-bar img {
    margin-top: 0.47rem;
}

.tab-bar-section.middle {
    left: 0;
}


/* =========================
    Navigation
   ======================== */
.right-small {
    border-left: 0;
    height: 2.8125rem;
    position: absolute;
    right: 0;
    top: 0;
    width: 2.8125rem;
}

.tab-bar .menu-icon {
    color: white;
    display: block;
    height: 2.8125rem;
    padding: 37px;
    position: relative;
    text-indent: 2.1875rem;
    transform: translate3d(0px, 0px, 0px);
    width: 2.8125rem;
    z-index: 2;
}

.tab-bar {
    z-index: 20;
}


.main-section {
    z-index: 1;
}

.tab-bar-section {
    text-align: left;
}

/* =========================
	Slider
   ======================== */

.slider {
	display: block;
	position: relative;
	height: auto;
}

.large {
    display: block !important;
}

.tab {
    display: none !important;
}

.tabsm {
    display: none !important;
}

.slider img:last-child {
	position: absolute;
	left: 50%;
	bottom: 20px;
	margin-left: -35px;
	margin-top: -35px;
	z-index: 100;
}

.row img, .row1 img {
    margin: 0 auto;
    display: block;
    margin-bottom: 20px;
}

.left {
  margin: 0 !important;
  display: block;
}

.down {
	position: absolute;
	left: 50%;
	bottom:10px;
	margin-left: -25px !important;
	margin-top: -35px;
	z-index: 100;
}

.orbit-slide-number, 
.orbit-bullets-container, 
.orbit-timer {
	display: none;
}

.orbit-container .orbit-slides-container > * .orbit-caption {
    background-color: rgba(255, 255, 255, 0.8);
    bottom: 150px;
    color: #333;
    font-size: 0.875rem;
    margin-left: 4%;
    padding: 1.4rem;
    position: absolute;
    width: 40%;
}

hr {
    width: 60px;
    border: 2px solid rgba(177,37,45,1);
    margin-right: auto;
    margin-left: auto;
}

.slider hr {
    width: 60px;
    border: 2px solid rgba(177,37,45,1);
    display: inline-block;
}

a.button {
    background-color: rgba(177,37,45,1);
    display: block;
    width: 200px;
    margin-right: auto;
    margin-left: auto;
}

button a:hover {
    background-color: white;
    color:rgba(177,37,45,1);
}


/* =========================
	Layout
   ======================== */

.grey {
	background-color: #dcddde;
}

.dark {
	background-color: #cdcfd0;
}

.black {
    background: #8c8c8c;
}

.white {
    color: #fff;
}

.red {
    background-color: #d92626;
}

.red_text {
  color: #d92626;
}

.grey_text {
  color: #757575;
}

.row, .row1 {
	padding: 6.2rem 0;
	z-index:1;
	position: relative;
}

.rowno {
    padding:0rem;
    z-index:1;
    position: relative;
    clear: both;
}

.rowno img {
   margin-left:0;
}

.rowsmall {
  padding: 2rem 0;
  z-index:1;
  position: relative;
  background-color: #f5f5f5;
  border-bottom: 2px solid #FFFFFF;
}

ul.medium-block-grid-2 {
    padding:0;
}

ul.medium-block-grid-2 li {
    padding:4rem;
    color: white !important;
}

/* Take padding off Foundation Class*/
[class*="block-grid-"] > li {
padding: 0 0.0rem 0;
}




.accredWrap {
    width: 80%;
    margin: 0 auto;
}

.footer {
    width: 100%;
    background-color: #333;
    color: white;
    display: block;
    margin:0;
}

.footer h2, .footer label {
	color:white;
}

.footer p {
    margin:0;
}

.icon {
    margin-top: 20px!important;
}

.contact {
    display: block;
    float: left; 
    width: 45px;
}


/* =========================
	Typography
   ======================== */
h1,h2,h3,h4,h5,p, li, label {
	color: #333;
  font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4 {
    font-weight: 300;
}

h4 {
  font-weight:500;
  margin-bottom: 1rem;
}

h5 {
  font-weight: 400;
  font-style:italic;
  color:#b1252d;
   margin-bottom: 1rem;
}

a {
  color:white;
}

.center {
   	text-align: center;
}

/* =========================
    Danger Slider
   ======================== */
.device {
  width: 100%;
  height: auto;
  padding: 0;
  background: #FFF;
  margin: 0;
  position: absolute;
}
.device .arrow-left {
  display: none;
}
.device .arrow-right {
  display: none;
}
.swiper-container, .swiper-wrapper {
  height: auto;
  width: 100%;
}
.content-slide {
  padding: 20px;
  color: #fff;
}
.title {
  font-size: 25px;
  margin-bottom: 10px;
}
.pagination {
    display:none;
}
.swiper-pagination-switch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: #999;
  box-shadow: 0px 1px 2px #555 inset;
  margin: 0 3px;
  cursor: pointer;
}
.swiper-active-switch {
  background: #fff;
}


form {
  padding-left: -0.9375rem;
  margin: 0 !important;
  /*background-color:#e5e5e5;*/
}

form button {
  width: 100%;
}

textarea {
  height: 4rem;
}

select {
  background-color: white;
}

/* ======================
    Hero Images 
   ======================
*/

.careers_hero {
  width:100%;
  height: 500px;
  min-height: 500px;
  background: url(../img/office_hero.jpg) no-repeat center;
  webkit-background-size: cover;
  moz-background-size: cover;
  o-background-size: cover;
  background-size: cover;
  position: relative;
}

.careers_hero img {
  margin:0 auto !important;
}

.news_hero {
  width:100%;
  height: 500px;
  background: url(../img/news_hero.jpg) no-repeat center center;
  webkit-background-size: cover;
  moz-background-size: cover;
  o-background-size: cover;
  background-size: cover;
  position: relative;
}

.story_hero {
  width:100%;
  height: 310px;
  position: relative;
}

.story_hero img {
  max-width: 100%;
}

.careers_hero img {
  margin:0 auto !important;
}

.left {
  margin-left: 0;
  margin-right: 0;
}

.accreds_hero {
  width:100%;
  height: 500px;
  background: url(../img/accreditation_hero.jpg) no-repeat center center;
  webkit-background-size: cover;
  moz-background-size: cover;
  o-background-size: cover;
  background-size: cover;
  position: relative;
}

.accreds_hero img {
  margin:0 auto !important;
}


/* =========================
	Media Queries
   ======================== */
@media only screen and (min-width: 1400px) {
.story_hero {
  width:100%;
  height: 420px;
  position: relative;
}
}



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

    .tab {
        display: block !important;
    }

    .tabsm {
        display: none;
    }

    .orbit-container .orbit-slides-container > * .orbit-caption {
        bottom: 160px;
    }

    .row, .row1 {
        padding: 5rem 0;
        z-index:1;
        position: relative;
    }

    h1 {
        font-size: 2rem;
    }

    .careers_hero {
      width:100%;
      height: 400px;
      background: url(../img/office_hero.jpg) no-repeat center;
      webkit-background-size: cover;
      moz-background-size: cover;
      o-background-size: cover;
      background-size: cover;
      position: relative;
    }

    .news_hero {
      width:100%;
      height: 400px;
      background: url(../img/news_hero.jpg) no-repeat center;
      webkit-background-size: cover;
      moz-background-size: cover;
      o-background-size: cover;
      background-size: cover;
      position: relative;
    }

    .accreds_hero {
      width:100%;
      height: 400px;
      background: url(../img/accreditation_hero.jpg) no-repeat center;
      webkit-background-size: cover;
      moz-background-size: cover;
      o-background-size: cover;
      background-size: cover;
      position: relative;
    }

    .story_hero {
      width: 100%;
      height: 160px;
      position: relative;
    }

}

@media only screen and (max-width: 768px) {

    .orbit-container .orbit-slides-container > * .orbit-caption {
        bottom: 150px;
        width: 50%;
    }

    .large {
        display: none  !important;
    }

    .tab {
        display: none !important;
    }

    .tabsm {
        display: block !important;
    }

    .row img, .row1 img {
        margin: 5px auto;
        display: block;
    }

    ul.medium-block-grid-2 li {
    padding:2rem;
    color: white !important;
    }

    .story_hero {
      width: 100%;
      height: 100px;
      position: relative;
    }


}

@media only screen and (max-width: 420px) {

    .orbit-container .orbit-slides-container > * .orbit-caption {
        bottom: 0px;
        width: 100%;
        position: relative;
        margin-left: 0;
    }

    .slider img:last-child {
      bottom: -10px;
      margin-left: -25px;    
    }

    #services img {
      margin: 0;
      float: left;
    }

    .story_hero {
      display: none;
    }

    .row, .row1 {
        padding: 3rem 0;
        z-index:1;
        position: relative;
    }

}











