/* =============================================================================
   CSS Stylesheet
   
   -------- Table of Contents --------
   1. Fonts
   2. Element
   3. Global classes
   4. Header
   5. Section
   6. Footer
   7. Jquery Plugin CSS
   8. Mobile Layout
   -----------------------------------
   ========================================================================== */
/* =============================================================================
   1. Fonts
   ========================================================================== */
html,
body {
  font: 300 1em 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h3 {
  font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html,
a,
p,
h1,
h2,
h3,
h4 {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}

/* =============================================================================
   2. Elements
   ========================================================================== */
div, p, img, a {
    transition: all 0.2s ease-in-out 0s;
}

header {
  background-color: #0C1418;
  border-top: solid 2px #972A59;
  height: 85px;
  width: 100%;
}

header a,
footer a {
  color: #fff;
  transition: all 0.2s ease-in-out 0s;
  text-shadow: 1px 1px 2px rgba(0,0,0,.4);
}

header a:active,
footer a:active,
header a:focus,
footer a:focus {
  outline: none;
}

header a:hover,
footer a:hover {
  color: #972A59;
}

section {
  width: 100%;
}

footer {
  background: #0C1418;
  border: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: 250px;
  padding: 40px 0;
  position: relative;
  z-index:3;
}
/* =============================================================================
   3. Global Classes
   ========================================================================== */
.add-white {
  background: rgba(255, 255, 255, 0.6);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  padding: 10px 20px;
}
.banner {
  margin: 40px 0;
  width: 100%;
}

input.button {
  border: none;
  font: 300 1em 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.button {
  background: #fff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 3px 0 0 #bbb;
  -moz-box-shadow: 0 3px 0 0 #bbb;
  box-shadow: 0 3px 0 0 #bbb;
  color: #0c1418;
  cursor: pointer;
  float: right;
  font-size: .8em;
  font-weight: 600;
  margin: 0 0 20px;
  padding: 5px 20px;
  transition: all 0.02s ease-in-out 0s;
}

.button:hover {
  -webkit-box-shadow: 0 2px 0 0 #bbb;
  -moz-box-shadow: 0 2px 0 0 #bbb;
  box-shadow: 0 2px 0 0 #bbb;
  -webkit-transform: translate(0, 2px);
  -moz-transform: translate(0, 2px);
  transform: translate(0, 2px);
}

.button:active {
  -webkit-box-shadow: 0 -2px 0 0 #bbb;
  -moz-box-shadow: 0 -2px 0 0 #bbb;
  box-shadow: 0 -2px 0 0 #bbb;
  -webkit-transform: translate(0, 4px);
  -moz-transform: translate(0, 4px);
  transform: translate(0, 4px);
}

div.image-column div.add-color {
  border-color:#192A34;
}

div.left-column {
  float: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 20px;
  width: 25%;
}

div.right-column {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  float: right;
  padding: 15px 20px;
  width: 75%;
}

h1.logo {
  background: url(../img/nei_flightline_training_services.png);
  float: left;
  height: 55px;
  margin: 15px 20px;
  width: 211px; 
}

.inner {
  width: 1180px;
  margin: 0 auto;
}

/* =============================================================================
   4. Header
   ========================================================================== */
a {
  text-decoration: none;
}

.deeper ul{
  opacity: 0;
  position: absolute;
  transition: all 0.2s ease-in-out 0s;
  visibility: hidden;
  z-index: 10;
  width: 160px;
  background: rgba(0,0,0,.9);
  color: #fff;
  padding: 10px 20px 25px;
  margin: -2px 0 0;
  -webkit-border-bottom-left-radius: 2px;
  -webkit-border-bottom-right-radius: 2px;
  -moz-border-radius-bottomleft: 2px;
  -moz-border-radius-bottomright: 2px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.deeper ul li{
  margin: 0;
  padding:0;
  line-height: 20px;
}

.deeper ul li a {
  line-height: 30px;
  height: 30px;
  font-weight: 400;
}

.deeper ul li a:hover {
  color: #972A59;
  line-height: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
}

.deeper ul li a:after {
  border: medium none;
  content: "";
  margin: 0;
  position: relative;
  top: 0;
}

.deeper ul li a:hover:after{
  content: "";
  display: block;
  border: medium none;
  position: relative;
  top: 0;
  left: 0;
  margin-left: 0;
}

.deeper:hover ul {
  opacity: 1;
  visibility: visible;
}

header.active .menu-toggle {
  transform: rotate(90deg);
  background-image: url('../img/menu-button_active.png');
}

.menu {
  float:left;
  margin: 0;
  padding: 0;
}

.menu-item {
  float: left;
  position: relative;
  transition: all 0.3s ease-in-out 0s;
}


.menu-item a {
  color: #eee;
  display: block;
  height: 85px;
  line-height: 85px;
  overflow: hidden;
  padding: 0 18px 0 15px;
  position: relative;
  transition: all 0.2s ease-in-out 0s;
}

.menu-item > a:after {
  border: 5px solid #0c1418;
  border-top: 5px solid #972A59;
  content: "";
  height: 0;
  left: 50%;
  margin: 0 0 0 -5px;
  position: absolute;
  top: -12px;
  transition: all 0.2s ease-in-out 0s;
  width: 0;
}

header .menu-item a:hover{
  color: #972A59;
  line-height: 92px;
}

header .menu-item > a:hover:after{
  content: "";
  display: block;
  border: 8px solid #0C1418;
  border-top-color: #972A59;
  position: absolute;
  top: 0px;
  left: 50%;
  margin-left: -8px;
}

.menu-item.active a {
  font-weight: 400;
  color: #fff;
}

.menu-item.active li.not-active a{
  font-weight: 300;
}

.menus {
  float: right;
  height: 85px;
}

.menu-toggle {
  background: url('../img/menu-button.png') no-repeat center center;
  cursor: pointer;
  display: none;
  float: right;
  height: 50px;
  margin: 15px 30px;
  transform: rotate(0deg);
  transition: all 0.2s ease-in-out 0s;
  width: 50px;
}

.menu-toggle span{
  display: none;
}

/* =============================================================================
   5. Sections
   ========================================================================== */
.down-pointer,
.up-pointer {
  border-radius: 50%;
  cursor: pointer;
  height: 50px;
  position: absolute;
  right: 30px;
  transition: background 0.2s ease-in-out 0s;
  width: 50px;  
}

.down-pointer{
  background: url(../img/down-pointer.png) #242327 no-repeat center center;
  bottom: 30px;
}

.down-pointer:hover,
.up-pointer:hover {
  background-color: #972A59;
}

.up-pointer {
  background: url(../img/up-pointer.png) #242327 no-repeat center center;
  top: 30px;
  display: none;
}

/* =============================================================================
   6. Footer 
==============================================================================*/
.copy {
  float: right;
}

.content .copy p,
.content .copy a {
  float: right;
  width: auto;
  color: #fff;
  font-size: .8em;
  clear:none;
  margin: 0;
}

.content .copy p {
  margin: 0 10px 0 0;
}

.content .logos-row {
  display: block;
  text-align: center;
}

.content .logos-rows a {
  display: inline-block;
  
}

.content .logos-row img {
  max-height: 45px;
  margin: 7px 10px;
}

footer div.copy a:hover {
  color: #00AED9;
}

footer h1.logo {
  float: right;
}

footer .menus {
  float: left;
}

/**
* 8. Mobile Layout
**/

@media screen and (min-width: 961px) and (max-width: 1200px) {
  .inner {
    width: 90%;
  }
  
  .menu-item a {
    font-size: .90em;
    padding: 0 12px 0 9px;
  }

}

@media screen and (min-width: 479px) and (max-width: 960px) {
  .content .copy a {
    margin-right: 20px;
  }
  
  .deeper ul {
    opacity: 1;
  position: static;
  transition: all 0.2s ease-in-out 0s;
  visibility: visible;
  z-index: 10;
  width: auto;
  background: rgba(0,0,0,.9);
  color: #fff;
  padding: 10px 20px 25px;
  margin: -2px 0 0;
  -webkit-border-bottom-left-radius: 2px;
  -webkit-border-bottom-right-radius: 2px;
  -moz-border-radius-bottomleft: 2px;
  -moz-border-radius-bottomright: 2px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  }
  
  footer h1.logo {
    clear: both;
    float: none;
    margin: 0 auto;
    text-align: center;
  }
  
  footer nav {
    display: none;
  }
  
  header,
  .menus {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: none;
    height: auto;
    width: 100%;
  }
  
  header .menu-item > a:hover:after {
    content:none;
    position: static;
    border: none;
  }
  
  header .menu-item > a:hover{
    line-height: 35px;
  }
  
    .inner {
    width: 100%;
  }
  
    .menu-item a {
    font-size: 13px;
    height: 30px;
    line-height: 30px;
    text-align: center;
  }
  
  .menu-item > a:after {
    content:none;
    position: static;
    border: none;
  }
  
    .menu,
  .menu-item {
    clear: both;
    float: none;
  }
  
  .menu {
    border-top: solid 1px white;
    margin: 0 20px;
  }
  
  .menu-toggle {
    display: block;
  }
  nav {
    clear: both;
    display: none;
  }
}

@media screen and (max-width: 478px) {
    .content .copy a {
    margin-right: 20px;
  }
  
  h1.logo {
    width: 85px;
  }
  
  .deeper ul {
    display: none;
  }
  
  footer h1.logo {
    clear: both;
    float: none;
    margin: 0 auto;
    text-align: center;
  }
  
  footer nav {
    display: none;
  }
  
  header,
  .menus {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: none;
    height: auto;
    width: 100%;
  }
  
  header .menu-item > a:hover:after {
    content:none;
    position: static;
    border: none;
  }
  
  header .menu-item > a:hover{
    line-height: 35px;
  }
  
    .inner {
    width: 100%;
  }
  
    .menu-item a {
    font-size: 13px;
    height: 30px;
    line-height: 30px;
    text-align: center;
  }
  
  .menu-item > a:after {
    content:none;
    position: static;
    border: none;
  }
  
    .menu,
  .menu-item {
    clear: both;
    float: none;
  }
  
  .menu {
    border-top: solid 1px white;
    margin: 0 20px;
  }
  
  .menu-toggle {
    display: block;
  }
  nav {
    clear: both;
    display: none;
  }
}