/*
 * Responsive Styles
 * Small CSS adjustments for different sized devices.
 *
 * We have five breakpoints, using media queries for device width:
 * > 1200px wide (large desktops)
 * > 980px wide (desktops, tablet in landscape)
 * > 768px wide (tablet in portrait)
 * > 480px wide (phone in landscape)
 * < 480px wide (phone in portrait)
 *
 * Try to only add styles here when absolutely necessary (or if it's
 * for a high-visibility page, like the home page).
 */


/* Big desktops */
@media (min-width: 1200px) {
  .home-tagline {
    padding-left: 50px;
    margin-top: 70px;
  }
}


/* Medium devices (portrait tablet, etc) */
@media (min-width: 768px) and (max-width: 979px) {
  .logo {
    background-size: 300px 55px;
    margin: 25px 0;
    height: 55px;
    width: 300px;
  }

  .home-tagline {
    margin-top: 0;
  }

  .home-tagline-hdr {
    font-size: 32px;
    margin-top: 0;
  }

  .lead {
    font-size: 20px;
  }

  .home-testimonial {
    font-size: 16px;
  }

  .content .img-callout-left,
  .class-info .img-callout-left {
    margin-left: 0;
  }

  .page-404 .img-callout-right,
  .class-info .img-callout-right,
  .giving .img-callout-right {
    margin-right: 0;
  }
}


/* Small devices (landscape phone) */
@media (max-width: 767px) {
  .logo {
    margin: 20px auto;
  }

  .primary-nav {
    /* need to override !important in bootstrap.css for .pull-right */
    float: none !important;
    margin: 10px 0 25px;
    text-align: center;
  }

  .nav,
  .nav-pills > li {
    display: inline-block;
    /* again, overriding bootstrap */
    float: none !important;
  }

  .modal-login {
    width: auto;
  }

  .lead,
  .apply-steps li {
    font-size: 18px;
    font-weight: 400;
  }

  .home-tagline {
    margin-bottom: 30px;
    margin-top: 0;
  }

  .home-carousel,
  .home-tagline {
    text-align: center;
  }

  .home-carousel {
    margin-left: auto;
    margin-right: auto;
    max-width: 75%;
  }

  .home-tagline-hdr {
    font-size: 36px;
    font-weight: 500;
    margin-top: 0;
  }

  .home-testimonial {
    font-size: 16px;
  }

  .home-testimonial:before {
    font-size: 60px;
    top: -13px;
    left: -7px;
  }

  .home-testimonial-yelp {
    margin-left: 15px;
    text-align: left;
  }

  .class-row {
    padding-left: 15px;
  }

  .class-info .img-callout-left {
    float: right;
  }

  .class-details dd {
    margin-left: 0;
  }

  .footer-nav {
    border-top: 1px solid #ddd;
    padding: 15px 0;
    text-align: center;
  }

  .secondary-nav {
    text-align: center;
  }

  .class-link {
    font-weight: 400;
  }

  .cc-label {
    padding: 0 0 5px 0;
  }

  .form-cc select,
  .form-cc .frm_cc_cvc input {
    margin-top: 0;
  }

  /* make images responsive at small sizes */
  .content .img-tilt-left,
  .content .img-tilt-right {
    display: inline-block;
    height: auto;
    max-width: 50%;
  }

  .content .img-callout-left {
    margin-left: 0;
  }

  .content .img-callout-right {
    margin-right: 0;
  }
}


/* Tiny devices (portrait phone) */
@media (max-width: 480px) {
  .logo {
    background-size: 300px 55px;
    height: 55px;
    width: 300px;
  }

  .nav > li > a {
    padding: 4px 8px;
  }

  .home-carousel {
    max-width: 100%;
  }

  .content h1 {
    font-size: 32px;
  }

  .content .img-tilt-left,
  .content .img-tilt-right {
    max-width: 100%;
  }

  .about.content .img-tilt-right {
    max-width: 50%;
  }

  .class-info h2 > .img-polaroid {
    display: block;
    float: none;
  }

  .calculator-field {
    width: 100%;
  }

  .carousel-school {
    margin-bottom: 60px;
  }

  .carousel-caption h3,
  .carousel-caption p {
    font-size: 90%;
  }

  .carousel .carousel-indicators {
    bottom: -45px;
    margin-left: -150px;
    width: 300px;
  }

  .carousel-indicators li {
    margin: 1px 4px;
  }

  .carousel-indicators .active {
    margin: 0 3px;
  }

  .class-jobs {
    -webkit-column-count: 2;
       -moz-column-count: 2;
        -ms-column-count: 2;
            column-count: 2;
  }
}