/* 
          
  MAIN STYLESHEET FILE v1.0
   
  1. Global styles and fixes
  2. Typography
  3. Layout
  	 - Page specific styles
	 - Navbar
	 - Footer
	 
  4. Sections
     - Hero unit
	 - Subscription form
	 - Features
	 - Services
	 - Testimonials
	 - Contact
          
*/

/*______________________________________
          
  1. GLOBAL STYLES AND FIXES
_______________________________________*/

html {font-size: 100%;}

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 28px;
  font-weight:400;
  color: #666;
  background-color: #fff;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: transparent;

}

a {
  text-decoration: none;
  color: #09f;
}

a:hover {
  text-decoration: underline;
  color: #888;
}

a:active, a:focus, button:focus, button:active {
  outline: none!important;
}

b, strong{
  font-weight:900;
}

img, audio, video, canvas {
  max-width: 100%;
}

/* IE 10 IN WINDOWS 8 AND WINDOWS PHONE 8 BUG FIX */

@-webkit-viewport {width: device-width;}
@-moz-viewport {width: device-width;}
@-ms-viewport {width: device-width;}
@-o-viewport {width: device-width;}
@viewport {width: device-width;}


/* CSS3 TRANSITIONS */

a, input, textarea, .input-group, .input-field, button,
.nav-tabs > li > a, .nav-pills > li > a, .quicksilver-navigation,
 .feature-box i {
  -webkit-transition: all .42s ease;
  -moz-transition: all .42s ease;
  -ms-transition: all .42s ease;
  -o-transition: all .42s ease;
  transition: all .42s ease;
}


/*______________________________________
          
  2. TYPOGRAPHY
_______________________________________*/


/* HEADINGS */

h1,h2,h3,h4,h5,h6 {color: #2e383c;}
h1,h2,h3 {font-weight: 300;}

h1 {font-size: 3.75rem; line-height: 4rem; margin-bottom: 2.5rem;}
h2 {font-size: 2.5rem; line-height: 3.25rem;}
h3 {font-size: 2rem; line-height: 3rem;}
h4 {font-size: 1.375rem; line-height: 2.125rem;}
h5 {font-size: 18px; line-height: 34px; font-weight:900;}
h6 {font-size: 16px; font-weight: 900; line-height: 28px;}


/* PARAGRAPHS */

p {margin-bottom: 2rem;}
p.lead {font-size: 20px;}


/* TEXT COLOURS */

span.purple {color: #93f;}
span.orange {color: #fb9b20;}
span.teal {color: #6cc;}
span.green {color: #74d030;}
span.red {color: #ec3939;}
span.fuchsia {color: #f36;}


/* LISTS */

ul, ol { margin-bottom: 1.875rem; padding-left: 0!important;}
li {margin-bottom: .625rem; list-style: none;}

/* ICON */

i {margin: 0 5px;}

/*______________________________________
          
  3. LAYOUT
_______________________________________*/

#main-wrapper {
  position: relative;
  background: #fff;
}

/*--------------------------
    PAGE SPECIFIC STYLES
--------------------------*/

.page-section {
  padding: 90px 0;
  border-bottom: 2px solid #eee;
}

.page-section.grey {
  background: #f7f7f7;
}

.page-header {
  padding-bottom: 40px;
  text-align: center;
  border-bottom: none;
}

.page-header h2 {
  line-height: 2.5rem;
}

.page-divider {
  width: 100%;
  margin: 60px 0;
  border-bottom: 1px dashed rgba(150,150,150,.4);
}


/* BOTTOM MARGIN CLASSES */

.margin-20 {margin-bottom: 20px!important;}
.margin-40 {margin-bottom: 40px!important;}
.margin-50 {margin-bottom: 50px!important;}
.margin-70 {margin-bottom: 70px!important;}
.margin-100 {margin-bottom: 100px!important;}
.no-bottom-mg {margin-bottom: 0!important;}


/* IMAGE OVERLAY COLOURS */

.overlay {height: 100%;}

.black .overlay{background: rgba(0,0,0,0.8);}
.petroleum .overlay{background: rgba(45,55,59,0.85);}
.blue .overlay{background: rgba(40,99,138,0.85);}
.green .overlay{background: rgba(100,139,32,0.7);}
.purple .overlay{background: rgba(153,51,255,0.75);}
.orange .overlay{background: rgba(251,155,32,0.85);}
.fuchsia .overlay{background: rgba(255,51,102,0.8);}

/*--------------------------
          NAVBAR
--------------------------*/

/* CUSTOM NAVBAR */
.quicksilver-navigation {
  z-index: 9000;
  font-weight:400;
  margin-bottom: 0;
  border-radius: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  border: none;
  background: #495a60;
  -webkit-backface-visibility: hidden;
}

.quicksilver-navigation ul li {
  font-size: 14px;
  margin-bottom: 0;
  text-transform: uppercase;
}

.quicksilver-navigation ul li a {
  color: #ccc;
}

.quicksilver-navigation .nav > li > a:hover,
.quicksilver-navigation .nav > li > a:focus {
  background: none;
}

.quicksilver-navigation ul li.active a,
.quicksilver-navigation ul li a:hover{
  color: #fff;
}

.quicksilver-navigation .navbar-toggle {
  background-color: #eee;
}

.quicksilver-navigation .navbar-toggle:focus {
  background-color: #93f;
}

.quicksilver-navigation .navbar-toggle .icon-bar {
  background-color: #93f;
}

.quicksilver-navigation .navbar-toggle:focus .icon-bar{
  background-color: #eee;
}

.quicksilver-navigation .navbar-brand {
  line-height: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.navbar-fixed-top.quicksilver-navigation,
.navbar-fixed-bottom.quicksilver-navigation {
  background: none;
}

.nav-scroll {
  padding-top: 0;
  padding-bottom: 0;
  background: #495a60 !important;
}


/*--------------------------
      FOOTER
--------------------------*/

#page-footer {
  overflow: hidden;
  padding: 50px 0;
  background: #222;
}

#page-footer p {
  font-size: 12px;
  line-height: 40px;
  margin: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}


/* SOCIAL ICONS LIST */

ul.social-icons {
  margin: 0 auto;
  text-align: center;
}

ul.social-icons li {
  display: inline-block;
  margin: 0 3px;
}

ul.social-icons li a {
  line-height: 40px;
  display: block;
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,.7);
  border-radius: 40px;
  background: #333;
}

ul.social-icons li a:hover {
  color: #fb9b20;
}

/*______________________________________
          
  4. SECTIONS
_______________________________________*/

/*--------------------------
       HERO UNIT 
--------------------------*/

#hero {
  text-align: center;
  color: #eee;
  background: url('../images/backgrounds/hero-bg.jpg') no-repeat center fixed;
  -webkit-background-size: cover;
  background-size: cover;
}

#hero .overlay {
  padding-top: 70px;
  padding-bottom: 70px;
}

h1.main-headline {
  font-size: 3rem;
  line-height: 3rem;
  color: #fff;
}

.intro {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.animated {
  position: relative;
  top: 0;
  opacity:1;
}

/*--------------------------
     SUBSCRIPTION FORM 
--------------------------*/

.subscription-form .subscribe-input {
  width: 400px;
  height: 50px;
  color: #495a60;
  border: none;
}

#subscribe-button {
  padding-top: 17px;
  padding-bottom: 17px;
  text-transform: uppercase;
}

.subscription-form label.subscription-error {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: #cc2236;
  background: none;
}

.subscription-form input.subscription-error {
  background: #ffe5e5!important;
}

/*--------------------------
        FEATURES 
--------------------------*/

/* FEATURES LISTS */

ul.features-list,
ul.features-list-2 {
  margin: 1.875rem 0;
}

ul.features-list i{margin-right:10px;}

ul.features-list i,
.features-list-2 li .icon-container,
.feature-box:hover i {
  color: #93f;
}

ul.features-list-2 li {
  line-height: 1.875rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

ul.features-list-2 li .icon-container {
  font-size: 26px;
  float: left;
  width: 26px;
  height: 26px;
  margin-right: 13px;
  text-align: center;
}

/* FEATURES BOXES */

.feature-box i {font-size: 40px; color: #bbb;}

.feature-box:hover {cursor: pointer;}


/*--------------------------
       SERVICES
--------------------------*/

.service-box {
  padding: 0 30px 30px;
  text-align: left;
}

.services-list li {
  font-size: 11px;
  font-weight: 900;
  line-height: 1.625rem;
  margin-bottom: 5px;
  padding: 3px 7px 3px 30px;
  text-transform: uppercase;
  color: #567f8e;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fafafa url('../images/arrow-bullet.png') no-repeat 10px 10px;
}

.service-box h5 {
  padding-bottom: 10px;
  border-bottom: 1px dashed #ccc;
}

.service-box h5 i {
  margin-right: 10px;
  color: #93f;
}

/*--------------------------
    TESTIMONIALS
--------------------------*/

.testimonial {
  text-align: left;
  margin-bottom: 15px;
  padding: 30px 20px 20px;
  border: 1px solid #eee;
  border-bottom: 3px solid #eee;
  border-radius: 4px;
  background: #fff;
}

.testimonial p {
  margin-bottom: 5px;
}

.testimonial .picture {
  float: left;
  width: 55px;
  height: 55px;
  margin-right: 20px;
  margin-bottom: 40px;
}

.testimonial .picture img {
  border: 1px solid transparent;
  border-radius: 55px;
  box-shadow: 0 3px 7px rgba(0,0,0,.2);
}

.testimonial em {
  font-size: 11px;
  font-weight: 900;
  font-style: normal;
  color: #999;
}

.testimonial span.name {
  text-transform: uppercase;
  color: #9cf;
}

/*--------------------------
         CONTACT
--------------------------*/

.contact-form .input-group {
  margin-bottom: 15px;
  border-radius: 4px;
}

.contact-form .input-field {
  font-size: 13px;
  color: #495a60;
  border: 1px solid #eee;
}

.contact-form input {
  height: 50px;
}

.contact-form textarea {
  height: 115px;
  padding: 15px;
}

.contact-form .input-group-addon {
  border: none;
  background: #e2e2e2;
}

.contact-icon-name:before,
.contact-icon-email:before {
  font-family: 'Glyphicons Halflings';
  color: #aaa;
}

.contact-icon-name:before {content: '\e008';}
.contact-icon-email:before {content: '\2709';}

#button-submit {
  width: 100%;
  margin: 0;
  padding: 15px;
  text-transform: uppercase;
}

#success-message,
#success-message-subscribe,
#error-message,
#error-message-subscribe {
  font-size: 14px;
  font-weight: 900;
  line-height: 20px;
  display: none;
  width: 90%;
  margin: 10px auto 0;
  padding: 1rem;
  text-align: center;
  color: #fff;
  border-radius: 4px;
}

#success-message,
#success-message-subscribe {
  background-color: #28bf6f;
}

#error-message,
#error-message-subscribe {
  background-color: #d0443d;
}

.error {
  background: #ffe5e5!important;
}

label.error {
  font-size: 12px;
  font-weight: 900;
  width: 100%;
  margin: 0;
  padding-left: 10px;
  text-transform: uppercase;
  color: #e15684;
  border-bottom: 1px solid #eee;
}

.success {
  border-color: #dbf9e6!important;
  background: #ebf9ef!important;
}
