/*
// vim: set et ts=3 sts=3 sw=3 fdm=marker:
Theme Name:    Aeronautical Services
Theme URI:     http://airchartersc.com/
Description:   Custom Theme for Aeronautical Services
Version:       1.0
Author:        Brian Clark 
Author URI:    http://www.digitaloffice.com
*/

/*
===========================
CONTENTS:

01 Sensible defaults
02 Typography
03 Media queries 
===========================
*/

/* ---------------------------------------------------------------------------------------------------------- 
01 Sensible defaults ----------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

/*@import "css/reset.css";*/

div,
article,
section,
header,
footer,
nav,
li             { position:relative; /* For absolutely positioning elements within containers (add more to the list if need be) */ }
.group:after      { display:block; height:0; clear:both; content:"."; visibility:hidden; /* For clearing */ }
body           { background:#fff; /* Don't forget to style your body to avoid user overrides */ }
::-moz-selection  { rgba(77, 109, 105, 0.49); color:#fff; }
::selection       { background: rgba(77, 109, 105, 0.49); color:#fff; }

/* ---------------------------------------------------------------------------------------------------------- 
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
/*

14 / 16  =     0.875em     (14px equivalent)
16 / 16  =     1em         (16px equivalent)
18 / 16 =      1.125em     (18px equivalent)
21 / 16 =      1.3125em       (21px equivalent)
24 / 16 =      1.5em          (24px equivalent)
30 / 16 =      1.875em     (30px equivalent)

*/

body {
   font-family: 'Lato', sans-serif;
   font-size: 17px;
   font-weight: 400;
   letter-spacing: -0.2px;
   margin: 0;
}

body,
input,
textarea          { /* We strongly recommend you declare font-weight using numerical values, but check to see which weights you're exporting first */ }

h1, 
h2, 
h3, 
h4, 
h5, 
h6                { 
   /* This helps to identify headings at the initial build stage, but you should write something more precise later on */ 
   font-family: 'Lato', sans-serif;
   font-weight: 900;
   color: #4d6d69;
}


#page-wrapper {
   top: 0;
}
a { color: #000 }

h1 {
   font-size: 48px;
   letter-spacing: -1.7px;
   line-height: 50px;
   margin: 5px 0;
}
h2 {
   font-size: 36px;
   letter-spacing: -1.0px;
   line-height: 38px;
   margin: 5px 0;
}
h3 {
   font-size: 29px;
   letter-spacing: -0.5px;
   line-height: 30px;
   margin: 8px 0;
}
h4 {
   font-size: 22px;
   letter-spacing: 0.0px;
   line-height: 25px;
   margin: 8px 0;
}

.pull-right {
   float: right;
}
.pull-left {
   float: left;
}
.center {
   margin: 0 auto;
}
.go-button, #FSContact2 input[type=submit], #FSContact1 input[type=submit] {
   padding: 0;
   width: 80px;
   height: 80px;
   background: rgba(77, 109, 105, 0.2);
   color: rgba(77, 109, 105, 1.0);
   border-radius: 50%;
   border: 5px solid rgba(77, 109, 105, 1.0);
   display: inline-block;
   text-align: center;
   font-weight: 900;
   font-size: 22px;
   box-sizing: border-box;
   line-height: 72px;
   text-transform: uppercase;
   cursor: pointer;
   outline: 0;
}
.go-button.pull-right {
   margin-left: 15px;
}
.go-button.pull-left {
   margin-right: 15px;
}
#page-header {
   padding: 30px 30px 24px 30px;
   height: 65px;
}
#header-logo {
   height: auto;
   width: 420px;
   float: left;
}
header {
   top: 0;
}
header nav ul { 
   display: inline-table;
   width: 100%;
   padding: 0 
}
header nav ul li {
   list-style-type: none;
   display: table-cell;
   text-align: center;
   vertical-align: top;
   width: 33%;
}
header nav {
   /*background-color: cornsilk;*/
   height: 65px;
   display: inline-table;
   width: 60%;
   float: right;
}
header nav a {
  display: table-cell; 
  text-align: center;
  vertical-align: middle;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  color: #d8584d;
  border-bottom: 5px solid #FFFFFF;
  -webkit-transition: border-bottom 0.2s ease-in-out;
  -moz-transition: border-bottom 0.2s ease-in-out;
  -o-transition: border-bottom 0.2s ease-in-out;
  transition: border-bottom 0.2s ease-in-out;
}
header nav .sub-menu {
   float: left;
   background: #fff;
   position: absolute;
}
header nav ul li {
   padding: 8px;
}
header nav ul li a {
   padding: 8px;
   display: block;
   text-align: left;
}
header nav ul.sub-menu li {
   display: block;
   width: auto;
}
header nav ul li.menu-item-has-children {
   text-align: left;
}
header nav ul.sub-menu {
   display: none;
   z-index: 999999;
}
header nav ul.sub-menu li a {
   display: block;
   text-align: left;
}
#mobile-menu-toggle {
   display: none;
}
#mobile-menu {
   display: none;
   list-style-type: none;
   padding: 100px 0 0 0;
   margin-top: 0;
}
#mobile-menu .sub-menu {
   list-style-type: none;
   padding-left: 20px;
}
/*
header nav a:first-child {
   width: 440px;
   text-align: left;
   border: 0;
}
header nav a:first-child:hover {
   border: 0;
}
*/
header nav a:hover {
   border-bottom: 5px solid rgba(77,109,105, 0.49);
}

#hero {
   height: 400px;
   width: auto;
   background-repeat: no-repeat;
   background-size: 100% auto, cover;
   background-blend-mode: overlay, normal;
   background-image: url(/wp-content/themes/aeronauticalservices/images/beech_c90b.jpg);
   background-position: 53% 53%;
   position: initial;
}
#overview img {
   display: none;
}
#overview {
   display: table;
   width: 100%;
}
#overview ul li {
   padding: 2px 0;
}
#overview ul {
   list-style: none;
   padding: 0;
   margin: 0;
}
#overview ul li:before {
   content: "•";
   padding: 0 8px;
   color: #D8584D;
}
#overview div {
   display: table-cell;
   width: 50%;
   padding: 30px;
}
#overview div section h1 {
  color: #d8584d;
}
#overview div h1:last-child {
   padding-top: 15px;
}
#overview a {
   color: #4d6d69;
   text-decoration: none;
}

#overview .go-button {
   margin-top: 19px;
}

#explore {
   display: table;
   background-color: #D8584D;
   width: 100%;
}
#explore div {
   display: table-cell;
   padding: 30px;
   vertical-align: middle;
}
#explore div:first-child img {
   height: auto;
   width: 100%;
   max-width: 438px;
   min-width: 320px;
}
#explore div:last-child img {
   max-height: 221px;
   max-width: 674px;
   width: 100%;
   border-radius: 15px 15px 0 0;
   -moz-border-radius: 15px 15px 0 0;
   -webkit-border-radius: 15px 15px 0 0;
   box-shadow: 0px -9px 9px -5px rgba(0, 0, 0, 0.3);
}
#explore section h1 {
   color: #FFF;
}
#explore section p {
   color: #FFF;
   font-size: 18px;
   font-weight: 200;
   margin: 8px 0 18px 0;
}
#trusted {
   padding: 30px;
   text-align: center;
}
#trusted h1 {
   font-weight: 900;
   font-size: 36px;
   letter-spacing: -0.9px;
}
#industry-logos {
   width: auto;
   margin: 25px auto 0 auto;
}
#industry-logos div {
   display: inline-block;
}
#industry-logos img {
   width: auto;
   height: 193px;
   margin: 15px;
}
#book {
   background-color: rgba(77,109,105,0.18);
   padding: 30px;
   text-align: center;
}
#book input[type=text], #FSContact2 input[type=text], textarea, #FSContact1 input[type=text] {
   background-color: rgba(77, 109, 105, 0.48) !important;
   border: 0 !important;
   line-height: 18px !important;
   padding: 8px 15px !important;
   color: #FFF !important;
   font-size: 18px !important;
   outline: 0 !important;
   margin-top: 5px !important;
   width: 306px !important;
   box-sizing: border-box !important;
}
#FSContact2 input[type=text], textarea, #FSContact1 input[type=text] {
   max-width: 100% !important;
   width: 100% !important;
}
#FSContact2, #FSContact1 {
   width: 100% !important;
   padding: 30px !important;
   box-sizing: border-box !important;
   background: rgba(77, 109, 105, 0.1) !important;
   color: #4D6D69 !important;
   max-width: 100% !important;
}
#book ::-webkit-input-placeholder {
   color: #FFF;
}

#book :-moz-placeholder { /* Firefox 18- */
   color: #FFF;  
}

#book ::-moz-placeholder {  /* Firefox 19+ */
   color: #FFF;  
}

#book :-ms-input-placeholder {  
   color: #FFF;  
}

#book div {
   display: inline-block;
   width: 400px;
}
#book #worry-free {
   width: 590px;
   margin-top: 15px;
}
#book address {
   font-style: normal;
   color: rgb(77, 109, 105);
   margin: 15px 0;
}
#book #worry-free p,
#book #worry-free u  {
   text-transform: uppercase;
   font-size: 27px;
   font-weight: 600;
   color: #D8584D; 
   line-height: 80px;
}
footer {
   padding: 30px;
   font-size: 15px;
   font-weight: 400;
   clear: both;
}
footer nav ul {
   margin: 0;
   padding: 0;
   list-style-type: none;
}
footer nav ul li {
   display: inline-block;
}
footer nav ul li a {
   display: inline-block;
   padding: 8px;
   color: #000;
}
footer nav ul li a:first-child {
   padding-left: 0px;
}

footer p {
   margin: 15px 0 0 0;
   line-height: 23px;
}
footer address {
   font-style: normal;
   line-height: 23px;
}
#footer-logo {
   display: inline-block;
   height: 100%;
}
#footer-logo {
   line-height: 165px;
}
#footer-logo img {
   width: 300px;
   height: auto;
}
#post-wrapper {
   padding: 30px 30px 0 30px;
}
#post-wrapper h2 {
   font-weight: 400;
}
#post-wrapper h1 {
   color: #D8584D ;
   margin-bottom: 25px;
}
.alignright {
   float: right;
   display: inline;
   margin: 0 0 15px 15px;
}
img.alignright, img.alignleft {
   max-width: 50%;
   height: auto;
}
.alignleft {
   float: left;
   display: inline;
   margin: 0 15px 15px 0;

}
#post-wrapper a {
   color: #4D6D69;
}
b, strong {
   font-weight: 600;
}
.hr {
   /*border-top: 3px solid #D8584D;*/
   border-top: 3px solid rgba(216, 88, 77, 0.39);
   margin: 35px 0 30px 0;
}
.hr.light {
   border-top-color: rgba(216, 88, 77, 0.39);
}
.hero-text {
   font-size: 22px;
   font-weight: 200;
   line-height: 33px;
}
.hero-image {
   width: 100%;
   height: auto;
}
.hero-image-confined {
   max-height: 364px;
   width: auto;
   overflow: hidden;
   display: inline-block;
   border: 1px solid rgba(77, 109, 105, 0.37);
   clear: both;
}
.hero-image-confined img {
   margin-top: -45%;
   position: relative;
}
.gallery .gallery-item {
   text-align: left !important;
   background: #EEE;
   padding: 14px;
   margin: 5px;
   width: auto !important;
}
.wp-caption img {
   max-width: 100%;
   height: auto;
}
.wp-caption {
   max-width: 50%;
   text-align: center;
   width: auto !important;
}
.wp-caption-text {
   font-size: 16px;
   text-transform: uppercase;
   /*background: #EEE;*/
   padding: 8px;
   box-sizing: border-box;
   margin: 0 auto;
   /*display: inline-block;*/
   text-align: center;
   color: #555;
   /*border: 1px solid rgba(77, 109, 105, 0.37);*/
}
/* ---------------------------------------------------------------------------------------------------------- 
03 Media queries (using a mobile-first approach) ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

/* {{{ media queries */
@media screen and (max-width:1140px) {
   header nav a {
      font-size: 14px;
   }
   h1 {
      font-size: 40px;
      line-height: 44px;
   }
   #hero {
      height: 330px;
   }
   #industry-logos img {
      width: auto;
      height: 130px;
      margin: 15px;
   }
   header nav { width: 53%; }
}
@media screen and (max-width:1000px) {
   #page-header {
      background: #FFF;
      width: 100%;
      position: fixed;
      z-index: 999;
      box-sizing: border-box;
      height: 119px;
      box-shadow: 1px -4px 25px 0px rgba(0, 0, 0, 0.5);
   }
   #hero, #post-wrapper {
      margin-top: 119px;
   }
   h1 {
      font-size: 35px;
      letter-spacing: -1.0px;
      line-height: 40px;
   }
   #book #worry-free p, #book #worry-free u {
      line-height: 27px;
   }
   #mobile-menu-toggle {
      display: inline-block;
      float: right;
      margin-top: 9px;
   }
   #mobile-menu-toggle a::after {
      content: "menu";
   }
   #mobile-menu-toggle.open a::after {
      content: " close";
   }

   #mobile-menu-toggle a {
      font-size: 20px;
      text-decoration: none;
      color: #D8584D;
      display: inline-block;
      padding: 0px 18px;
      background: rgba(216, 88, 77, 0.04);
      line-height: 41px;
      border-radius: 5px;
      border: 1px solid rgba(216, 88, 77, 0.2);
      text-transform: uppercase;
      font-weight: 700;
   }
   #mobile-menu-toggle a:hover {
      background: rgba(216, 88, 77, 0.1);
      cursor: pointer;
   }
   #bars {
      font-size: 23px;
   }
   header nav {
      display: none;
   }
   
   #page-header.open {
      position: relative;
   }
   #mobile-menu.open {
      display: block;
      background: #302E2D;
      width: 265px;
      height: 100%;
      position: fixed;
      top: 0;
      right: 0;
      border-left: 1px solid #000;
      box-shadow: inset 4px -1px 8px 0px rgba(0, 0, 0, 0.3);
      padding-top: 100px;
      z-index: 999;
   }
   #mobile-menu-toggle.open {
      position: absolute;
      right: -197px;
      z-index: 99999;
   }
   #mobile-menu.open a {
      display: block;
      padding: 15px 0 15px 25px;
      background: rgba(85, 85, 85, 0.7);
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      border-bottom: 1px solid rgba(0, 0, 0, 0.3);
   }
   #mobile-menu.open a:last-child {
      border-bottom: 1px solid rgba(0,0,0,0.5);
   }
   #mobile-menu.open a:hover {
      background: rgba(255, 255, 255, 0.2);
   }
   #mobile-menu-toggle.open a {
      color: rgba(255,255,255,0.8);
      border-color: rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.1);
   }
   #page-wrapper.open {
      right: 266px;
   }
}
@media screen and (max-width:850px) {
   #overview div {
      display: block;
      margin: 0 auto;
      width: 75%;
      padding: 30px 30px 0 30px;
   }
   #overview img {
      display: block;
      width: 250px;
      height: auto;
      float: right;
      margin-top: 10px;
      margin-left: 21px;
   }
   #overview .go-button.pull-left {
      float: none;
   }
   #upgrade {
      clear: both;
      text-align: center;
   }
   #overview div:last-child {
      padding: 0 30px 30px 30px;
   }
   #overview div:last-child h1 {
      line-height: 44px;
   }
   #explore div:first-child img {
      width: 50%;
   }
   #industry-logos img {
      width: auto;
      height: 115px;
      margin: 15px;
   }
   #explore div {
      text-align: center;
   }
   #explore div:first-child {
      display: none;
   }
}
@media screen and (max-width:760px) {
   #industry-logos img {
      width: auto;
      height: 100px;
      margin: 15px;
   }
}
@media screen and (max-width:680px) {
   #hero {
      height: 269px;
   }
   #industry-logos img {
      height: 95px;
   }
   #book #worry-free {
      width: 100%;
   }
   #book #worry-free .go-button.pull-right {
      float: none;
      margin: 0;
   }
   #footer-logo img {
      display: none;
   }
   footer {
      text-align: center;
   }
   #explore div:last-child section p {
      width: 70%;
      margin: 8px auto 18px auto;
   }
}
@media screen and (max-width:600px) {
   #overview img {
      float: none;
      margin: 0;
      width: 100%;
   }
   #upgrade h1, #trusted h1, #book h1 {
      font-size: 47px;
   }
   #industry-logos div {
      width: 100%;
      text-align: center;
   }
   #industry-logos img {
      height: 110px;
   }
   #page-header nav a:first-child, #header-logo {
      width: 80%;
   }   
   #header-logo {
      width: 350px;
   }
}
@media screen and (max-width:540px) {
   #header-logo {
      width: 290px;
   }
   #mobile-menu-toggle { 
      margin-top: 0; 
   }
   #mobile-menu-toggle a::after {
      content: "";
   }
   #hero, #post-wrapper {
      margin-top: 75px;
   }
   #page-header {
      height: 75px;
      padding: 15px;
   }
   #mobile-menu.open {
      padding-top: 75px;
   }
}
@media screen and (max-width:400px) {
   #header-logo {
      width: 268px;
   }
   #book div {
      width: 100%;
   }
   #book input {
      width: 100%;
   }
   #page-header {
      padding: 15px;
   }
   header nav {  height: 44px; }
   #hero {
      height: 170px;  
   }
   #overview h1 {
      font-size: 28px;
   }
   #overview div {
      width: 85%;
   }
   #overview div:first-child {
      padding: 16px 15px 0px 15px;
   }
   #overview div:last-child {
      padding: 0 0 30px 0;
   }
   #overview ul {
      list-style: initial;
      margin: 0 auto;
      padding: auto;
      width: 80%;
   }
   #overview ul li:before {
      content: "";
      padding: initial;
   }
   #overview ul li {
      padding: 8px 0;
   }
   #upgrade h1 {
      font-size: 36px;
   }
   #explore h1 {
      font-size: 38px;
   }
   #explore div:last-child section p {
      width: 80%;
   }
   #trusted h1 {
      font-size: 39px;
   }
   #industry-logos img {
      height: 100px;
   }
   #book h1 {
      font-size: 31px;
   }
   #book input[type=text] {
      width: 250px;
   }
   #book #worry-free p, #book #worry-free u {
      font-size: 25px;

   }
   footer p, footer address {
      font-size: 13px;
   }
}
@media screen and (max-width:320px) {
   #header-logo {
      width: 234px;
   }
   #mobile-menu-toggle a {
      padding: 0 9px;
   }
}

/* Retina Display */
@media screen and (-webkit-min-device-pixel-ratio:2) {
   { /* Place your styles here for all 'Retina' screens */ }
}
/* }}} */

