/* flexslider override */
.flexslider {
	border: none; zoom: 1; -webkit-border-radius: 0; -moz-border-radius: 0; -o-border-radius: 0; border-radius: 0; z-index: 1;
}
.flexslider img {
	z-index: 1; display: block; width: 100%; height: auto;
}
ul.slides, ul.slides li {
	list-style: none; list-style-image: none; margin: 0; padding: 0;
}
/*end flexslider override*/
.front-callouts {
  margin: 20px 0 25px;
}
.fp-callouts {
  display: block; width: 100%; margin: 0;
}
.fp-callouts h2 {
  color: #fff; font-style: italic; margin: 0 0 0.9em; background: rgba(0,0,0,0.2); border: 1px solid #ccc; font-size: 1.7em;
}
h1.title {text-align: center;}
.cms-page-front .content p {text-align: center; line-height:1.7em;}
.fp-callouts p {text-align: left;line-height: 1.0em;}
.fp-callouts p img {border:1px solid #b1b1b1;}
.fp-callouts p span.title {font-family: "oswald"; text-transform: uppercase; font-weight: bold; color: black; font-size: 1.4em;}



@media only screen and (min-width:981px){
  .flexslider .slides {
    width: 65.625%; float: left;
  }
  .fp-callouts {
    max-width: 30%; float: left;
  }
  .fp-callouts.horizontal:nth-child(2n+0) {
    margin: 0 5%;
  }
}

@media only screen and (min-width:769px) and (max-width:980px) {
  .flexslider .slides {
    width: 65.625%; float: left;
  }

}
@media only screen and (min-width:769px) and (max-width:980px) and (orientation:landscape){
  .fp-callouts {
    max-width: 30%; float: left;
  }
  .fp-callouts.horizontal:nth-child(2n+0) {
    margin: 0 5%;
  }
}

@media only screen and (min-width:481px) and (max-width:768px){
  .fp-callouts {
    text-align: center; max-width: 60%; margin: 0 auto;
  }
  .fp-callouts.horizontal:nth-child(2n+0) {
    padding: 20px 0;
  }
}

/* iphone6 landscape */
@media only screen and (min-device-width:375px) and (max-device-width:667px) and (orientation:landscape) and (-webkit-min-device-pixel-ratio:2){
  .fp-callouts {
    text-align: center; max-width: 60%; margin: 0 auto;
  }
  .fp-callouts.horizontal:nth-child(2n+0) {
    padding: 20px 0;
  }
}

/* iphone6 plus landscape */
@media only screen and (min-device-width:414px) and (max-device-width:736px) and (orientation:landscape) and (-webkit-min-device-pixel-ratio:3){
  .fp-callouts {
    text-align: center;
  }
  .fp-callouts.horizontal:nth-child(2n+0) {
    padding: 20px 0;
  }
}

/* iphone 5 landscape */
@media only screen and (min-device-width:320px) and (max-device-width:568px) and (orientation:landscape) {
  .fp-callouts {
   margin: 0 auto; clear: left;
  }
  .fp-callouts.horizontal:nth-child(2n+0) {
    margin: 0 auto;
  }
}

/* all phones portrait */
@media only screen and (max-width:480px){
  .fp-callouts.horizontal:nth-child(2n+0) {
    padding: 20px 0;
  }
}

/* all phones 480 landscape */
@media only screen and (max-width:480px) and (orientation:landscape){
  .fp-callouts.horizontal:nth-child(2n+0) {
    padding: 20px 0;
  }
}

/* ipad landscape */
@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:landscape) and (-webkit-min-device-pixel-ratio:1){
}

/* ipad portrait */
@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:portrait) and (-webkit-min-device-pixel-ratio:1){
  .fp-callouts {
    max-width: 30%; float: left;
  }
  .fp-callouts.horizontal:nth-child(2n+0) {
    margin: 0 5%;
  }
}


/* ipad retina landscape */
@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:landscape) and (-webkit-min-device-pixel-ratio:2){
}

/* ipad retina portrait */
@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:portrait) and (-webkit-min-device-pixel-ratio:2){
  .fp-callouts {
    max-width: 30%; float: left;
  }
  .fp-callouts.horizontal:nth-child(2n+0) {
    margin: 0 5%;
  }
}
