 /* =============================================================================
   Contact Us Page CSS
   
   -------- Table of Contents --------
   1. Elements
   2. Header
   3. Section
   4. Footer
   5. Forms / Jquery Plugin CSS
   6. Mobile Layout
   -----------------------------------
   ========================================================================== */

/* =============================================================================
   1. Elements
   ========================================================================== */
html, body {
  background: #0c1418;
}
/* =============================================================================
   3. Section
   ========================================================================== */




#main .content {
  color: #fff;
}

.courses-intro a {
  color: #fff;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s ease-in-out 0s;
}

.courses-intro a:hover {
  color: #972A59;
}

.courses-info {
  display: block;
  margin-left: 60px;
}

.courses-info,
.courses-info h3 {
  clear: both;
}

.courses-info h3 {
  font: 400 1.4em 'Oswald', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-info-wrap {
  float: left;
  width: 300px;
}

.courses-intro {
  font-size: 1.2em;
  letter-spacing: 0.05em;
  padding: 0 20px 20px;
}

.courses-intro a {
  color: #0c1418;
}

#intro.scheduled {
  background: rgba(255, 255, 255, .99);
  margin-bottom: 20px;
}

#intro.scheduled h1 {
  font: 400 3em 'Oswald','Helvetica Neue',Helvetica,Arial,sans-serif;
  margin: 30px 0 0 20px;
}

/* =============================================================================
   5. Form / Jquery Plugin CSS
   ========================================================================== */
ul.aircraft-listing {
  text-align:center;
  padding: 0;
  margin: 0;
}

ul.aircraft-listing li {
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing: border-box;
  border: solid 1px #1F333D;
  cursor: pointer;
  display: inline-block;
  list-style-type: none;
  margin: 15px 12px;
  max-width: 260px;
  transition: all 0.2s ease-in-out 0s;
}

ul.aircraft-listing li:hover {
  border: solid 1px #972A59;
}
ul.aircraft-listing li img {
  max-width: 100%;
}

span.aircraft-name {
  background-color: #f5f5f5;
  color: #0c1418;
  display: block;
  font: 400 1.2em 'Oswald', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
  margin-top: 2px;
  text-align:center;
}

div.course-info-bg {
  min-width: 100%;
  height: 100%;
  background-color: rgba(0,0,0, 0.8);
  position:fixed;
  top: 0;
  z-index:1000;
}

.course-info {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  width: 800px;
  height: auto;
  min-height: 266px;
  max-height: 400px;
  background-color: #fff;
  position: fixed;
}

.course-info h2 {
  text-align: center;
  text-decoration: underline;
}

.course-info > div {
  position: relative;
}

.course-info > div p {
  text-align: center;
  font-size: 0.85em;
  font-weight: 400;
  margin-top: 70px;
  padding-right: 20px;
}

.course-info > div p a {
  color: #0c1418;
  font-weight: 700;
  transition: all 0.2s ease-in-out 0s;
}

.course-info > div p a:hover {
  color: #972A59;
}
.course-info .exit{
  cursor: pointer;
  font: 800 1.2em Arial, sans-serif;
  position: absolute;
  top: -15px;
  right: 10px;
}

.course-info img {
  float: left;
  margin: 20px;
}

.course-info table {
  border-spacing: 10px 5px;
  border-collapse: separate;
  margin-right: 20px;
}

.course-info td,
.course-info th {
  font-size: .75em;
  text-align: center;
  width: 23%;
}

.course-info .book {
  width: 6%;
  text-align: center;
}

.course-info {
  display: block;
  margin: 0 auto;
}

.course-info .book a img {
  float: none;
  margin: 0 auto;
  padding: 0;
}

.course-info .location,
.course-info .duration,
.course-info .start-date {
  width: 10%;
}

.course-info td {
  font-weight: 400;
}
/* =============================================================================
   6. Mobile Layout
   ========================================================================== */

@media screen and (min-width: 479px) and (max-width: 960px) {
  #intro.scheduled h1 {
  font-size: 2.5em;
  }

  .courses-intro {
    font-size: 1em;
  }
}

@media screen and (max-width: 815px) {
  .course-info {
    width:95%;
  }

  .course-info > img {
    display: none;
  }
}

@media screen and (max-width: 478px) {
  #intro.scheduled h1 {
    font-size: 2em;
  }

  .courses-intro {
    font-size: .8em;
  }

  ul.aircraft-listing li {
    border: none;
  }

  ul.aircraft-listing li span{

    padding: 5px;
  }

  ul.aircraft-listing li img {
    display: none;
  }

}