/*
 * Magpie R&D Custom Stylesheet
 * Based on Small Business v1.0.0 by ForBetterWeb
 * Cleaned, reorganized, and updated for branding
 */

/* ==============================
   Typography & Base Styles
============================== */
body {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #404040;
  -webkit-tap-highlight-color: #0085a1;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
}

p {
  line-height: 1.5;
  margin: 30px 0;
}

p a {
  text-decoration: underline;
}

a {
  color: #404040;
}

a:hover, a:focus {
  color: #0085a1;
}

a img:hover, a img:focus {
  cursor: zoom-in;
}

blockquote {
  color: #808080;
  font-style: italic;
}

hr.small {
  max-width: 100px;
  margin: 15px auto;
  border-width: 4px;
  border-color: white;
}

/* ==============================
   Navigation Bar
============================== */
.navbar-custom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  font-family: 'Roboto', sans-serif;
}

.navbar-custom .navbar-brand {
  font-weight: 800;
}

.navbar-custom .nav li a {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

@media only screen and (min-width: 768px) {
  .navbar-custom {
    background: transparent;
    border-bottom: 1px solid transparent;
  }
  .navbar-custom .navbar-brand {
    color: white;
    padding: 20px;
  }
  .navbar-custom .navbar-brand:hover,
  .navbar-custom .navbar-brand:focus {
    color: rgba(255, 255, 255, 0.8);
  }
  .navbar-custom .nav li a {
    color: white;
    padding: 20px;
  }
  .navbar-custom .nav li a:hover,
  .navbar-custom .nav li a:focus {
    color: rgba(255, 255, 255, 0.8);
  }
}

@media only screen and (min-width: 1170px) {
  .navbar-custom {
    transition: background-color 0.3s;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
  }
  .navbar-custom.is-fixed {
    position: fixed;
    top: -61px;
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid #f2f2f2;
    transition: transform 0.3s;
  }
  .navbar-custom.is-fixed .navbar-brand,
  .navbar-custom.is-fixed .nav li a {
    color: #404040;
  }
  .navbar-custom.is-fixed .navbar-brand:hover,
  .navbar-custom.is-fixed .nav li a:hover,
  .navbar-custom.is-fixed .navbar-brand:focus,
  .navbar-custom.is-fixed .nav li a:focus {
    color: #0085a1;
  }
  .navbar-custom.is-visible {
    transform: translate3d(0, 100%, 0);
  }
}

/* ==============================
   Header Area
============================== */
.intro-header {
  background-color: #808080;
  background: no-repeat center center;
  background-attachment: scroll;
  background-size: cover;
  margin-bottom: 50px;
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
}

.intro-header .site-heading,
.intro-header .page-heading,
.intro-header .post-heading {
  padding: 100px 0 50px;
  color: white;
  text-align: center;
}

@media only screen and (min-width: 768px) {
  .intro-header .site-heading,
  .intro-header .page-heading,
  .intro-header .post-heading {
    padding: 150px 0;
  }
  .intro-header .site-heading h1,
  .intro-header .page-heading h1 {
    font-size: 100px;
  }
}

.intro-header .site-heading h1,
.intro-header .page-heading h1 {
  margin-top: 0;
  font-size: 80px;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.intro-header .subheading,
.intro-header .page-heading .subheading {
  font-size: 24px;
  line-height: 1.5;
  display: block;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  margin: 10px 0 0;
}

.intro-header a {
  color: #fff;
  border-bottom: 1px solid #ccc;
}

.intro-header a:hover {
  text-decoration: none;
}

/* ==============================
   Animated Header (Rolling Words)
============================== */
.animated-header {
  text-align: center;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 30px;
}

.line-1 {
  font-size: 60px;
}

.line-2 {
  font-size: 50px;
  display: inline-block;
}

.roll-prefix {
  display: inline-block;
}

.typewriter-text {
  display: inline-block;
  white-space: nowrap;
  line-height: .2;         /* ensures vertical space for descenders */
  padding-bottom: 0.1em; /* light buffer for descenders */
  height: 1.2em;         /* define a height instead of overflow */
}



/* ==============================
   Posts, Captions, Footer, Buttons
============================== */
.section-heading {
  font-size: 36px;
  font-weight: 700;
  margin-top: 10px;
}

.caption {
  text-align: center;
  font-size: 14px;
  padding: 10px;
  font-style: italic;
  margin: 0;
  display: block;
  border-radius: 0 0 5px 5px;
}

footer {
  padding: 50px 0 65px;
}

footer .list-inline {
  margin: 0;
  padding: 0;
}

footer .copyright {
  font-size: 14px;
  text-align: center;
  margin-bottom: 0;
}

/* ==============================
   Forms
============================== */
.floating-label-form-group {
  font-size: 14px;
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #ccc;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
  z-index: 1;
  position: relative;
  border: none;
  border-radius: 0;
  font-size: 1.5em;
  background: none;
  box-shadow: none !important;
  resize: none;
}

.floating-label-form-group label {
  display: block;
  position: relative;
  top: 2em;
  margin: 0;
  font-size: 0.85em;
  opacity: 0;
  transition: top 0.3s ease, opacity 0.3s ease;
}

.floating-label-form-group-with-value label {
  top: 0;
  opacity: 1;
}

.floating-label-form-group-with-focus label {
  color: #0085a1;
}

form .row:first-child .floating-label-form-group {
  border-top: 1px solid #ccc;
}

/* ==============================
   Buttons & Pager
============================== */
.btn {
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 0;
  padding: 15px 25px;
}

.btn-lg {
  font-size: 16px;
  padding: 25px 35px;
}

.btn-default:hover,
.btn-default:focus {
  background-color: #0085a1;
  border: 1px solid #0085a1;
  color: white;
}

.pager {
  margin: 20px 0 0;
  float: left;
}

.pager li > a,
.pager li > span {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  display: table;
}

.pager li > a {
  width: 6em;
  height: 6em;
  line-height: 5em;
  background-color: white;
  border-radius: 50%;
  vertical-align: middle;
}

.pager li > a:hover,
.pager li > a:focus {
  color: white;
  background-color: #0085a1;
  border: 1px solid #0085a1;
}

.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
  color: #808080;
  background-color: #404040;
  cursor: not-allowed;
}

/* ==============================
   Text Selection Styling
============================== */
::selection {
  color: white;
  background: #0085a1;
  text-shadow: none;
}

::-moz-selection {
  color: white;
  background: #0085a1;
  text-shadow: none;
}

img::selection,
img::-moz-selection {
  background: transparent;
  color: white;
}
