/* standard breakpoints */
/* phone */
/* small tablet */
/* tablet */
/* small desktop */
/* standard desktop */
/* large desktop */
body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
  background-color: #181920;
}

hr {
  max-width: 50px;
  border-width: 3px;
  border-color: #F05F40;
}

hr.light {
  border-color: #fff;
}

a {
  color: #F05F40;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

a:hover {
  color: #f05f40;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.page {
  background-color: #fff;
}

.bg-primary {
  background-color: #d1492c !important;
}

.bg-dark {
  background-color: #212529 !important;
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

.home-page section {
  padding: 4rem 0;
}

@media (min-width: 992px) {
  .home-page section {
    padding: 6rem 0;
  }
}

.sub-page section {
  padding: 2rem 0;
}

@media (min-width: 992px) {
  .sub-page section {
    padding: 3rem 0;
  }
}

.section-heading {
  margin-top: 0;
}

::-moz-selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

::selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

img::selection {
  color: #fff;
  background: transparent;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

a.down-arrow {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  margin-left: -1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

a.down-arrow:hover {
  color: #fff;
}

/*
    _modals: styles for modal dialogs like alert, confirm, prompt, etc.
*/
@media all and (min-width: 768px) {
  body.has-open-modal {
    overflow: hidden;
  }
}

.ih-modal {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 10002;
  /* calculate this? */
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  font-family: Helevetica, Arial, sans-serif;
  font-size: 16px;
  color: #666;
  line-height: 1.25;
  transition: all 0.3s ease-in-out;
}

@media all and (min-width: 768px) {
  .ih-modal {
    position: fixed;
  }
}

.ih-modal.open {
  visibility: visible;
  opacity: 1;
  overflow: auto;
}

.ih-modal-dialog {
  position: relative;
  width: auto;
  padding: 10px;
  margin: 0 auto;
  box-sizing: border-box;
  transform: translate(0, -25%);
  transition: all 0.3s ease-in-out;
}

@media all and (min-width: 768px) {
  .ih-modal-dialog {
    right: auto;
    left: 50%;
    width: 600px;
    padding-bottom: 30px;
    margin-left: -300px;
  }
}

@media all and (min-width: 768px) and (min-height: 600px) {
  .ih-modal-dialog {
    padding-top: 50px;
  }
}

@media all and (min-width: 768px) and (min-height: 768px) {
  .ih-modal-dialog {
    padding-top: 100px;
  }
}

.ie8 .ih-modal-dialog {
  right: auto;
  left: 50%;
  width: 600px;
  padding-top: 100px;
  padding-bottom: 30px;
  margin-left: -300px;
}

.ih-modal.open .ih-modal-dialog {
  transform: translate(0, 0);
}

.ih-modal-spinner .ih-modal-dialog {
  text-align: center;
}

.ih-modal-content {
  position: relative;
  border-radius: 5px;
  text-align: left;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  outline: 0;
  background-clip: padding-box;
}

.ih-modal-flash .ih-modal-content {
  display: inline-block;
  background-color: rgba(60, 150, 60, 0.85);
  box-shadow: none;
  border-radius: 32px;
  color: #fff;
  text-align: left;
}

.ih-modal-spinner .ih-modal-content {
  display: inline-block;
  background-color: rgba(30, 30, 30, 0.85);
  box-shadow: none;
  border-radius: 32px;
  color: #fff;
  text-align: left;
}

.ih-modal-header {
  padding: 24px 24px 0 24px;
  border-radius: 5px 5px 0 0;
}

h4.ih-modal-title {
  display: block;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 0;
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  font-style: normal;
  color: #444;
}

.ih-modal-body {
  position: relative;
  padding: 24px 36px 24px 24px;
}

.ih-modal-body a {
  color: #0066cc;
}

.with-title .ih-modal-body {
  padding-top: 12px;
}

.ih-modal-message {
  position: relative;
}

.ih-modal-flash .ih-modal-message,
.ih-modal-spinner .ih-modal-message {
  padding-left: 34px;
}

.ih-modal-flash-icon {
  position: absolute;
  top: -4px;
  left: -2px;
  font-size: 28px;
}

.ih-modal-spinner-icon {
  position: absolute;
  top: -4px;
  left: -2px;
  box-sizing: content-box;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-left-color: rgba(255, 255, 255, 0.5);
  width: 20px;
  height: 20px;
  border-radius: 20px;
}

.ih-modal-close-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
  background-color: transparent;
  font-size: 20px;
  font-weight: bold;
  color: #bbb;
  text-align: center;
  line-height: 24px;
  cursor: pointer;
}

.ih-modal-close-x:hover {
  color: #666;
}

.ih-modal-footer {
  padding: 10px 10px 0 10px;
  border-top: 1px solid #efefef;
  text-align: right;
}

.ih-modal-button {
  display: inline-block;
  width: 100%;
  padding: 0;
  padding-bottom: 3px;
  margin: 0 0 10px 0;
  border: 0;
  border-radius: 4px;
  box-sizing: border-box;
  overflow: visible;
  /* removes extra side padding in IE7 */
  outline: none;
  text-decoration: none;
  background-color: #666;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(100, 100, 100, 0.33);
  transition: all .2s linear;
}

@media (min-width: 481px) {
  .ih-modal-button {
    width: auto;
    margin-left: 6px;
  }
}

.ie8 .ih-modal-button {
  width: auto;
  margin-left: 6px;
}

.ih-modal-button > span {
  display: block;
  width: auto;
  height: 40px;
  padding: 0 12px;
  margin: 0;
  border: 0;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 40px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  background-color: #7b7b7b;
  transition: all .2s linear;
}

@media (min-width: 481px) {
  .ih-modal-button > span {
    padding: 0 24px;
  }
}

.ie8 .ih-modal-button > span {
  padding: 0 24px;
}

/* cleanup */
/* prevent collision with anchor styles */
a.ih-modal-button:link,
a.ih-modal-button:visited {
  text-decoration: none;
  color: #fff;
}

/* remove extra padding in Firefox */
.ih-modal-button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* hover state */
.ih-modal-button:hover,
a.ih-modal-button:hover {
  text-decoration: none;
}

/* focus state */
.ih-modal-button:focus {
  box-shadow: 0 0 5px #008fff;
}

/* button type/color variations */
.ih-modal-button-primary {
  background-color: #0086C5;
}

.ih-modal-button-primary > span {
  background-color: #00ACFD;
}

.ih-modal-button-cancel {
  background-color: #777;
}

.ih-modal-button-cancel > span {
  background-color: #999;
}

/* special variant for "delete" button */
.ih-modal-confirm-delete .ih-modal-button-primary {
  background-color: #BD1111;
}

.ih-modal-confirm-delete .ih-modal-button-primary > span {
  background-color: #ED3D2D;
}

.ih-modal-button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.ih-modal .field,
.ih-modal-field {
  margin: 16px 0;
}

.ih-modal-input-default {
  width: 100%;
  height: 36px;
  padding: 4px 8px;
  margin: 6px 0;
  border: 1px solid #aaa;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
  outline: none;
  background-color: #f9f9f9;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
}

.ih-modal-input-text {
  width: 100%;
  height: 36px;
  padding: 4px 8px;
  margin: 6px 0;
  border: 1px solid #aaa;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
  outline: none;
  background-color: #f9f9f9;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
}

@media (min-width: 481px) {
  .ih-modal-input-text {
    max-width: 300px;
  }
}

.ie8 .ih-modal-input-text {
  max-width: 300px;
}

.ih-modal-input-text:focus {
  border: 1px solid #008fff;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2), 0 0 5px #008fff;
}

.ih-modal-input-textarea {
  width: 100%;
  height: 36px;
  padding: 4px 8px;
  margin: 6px 0;
  border: 1px solid #aaa;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
  outline: none;
  background-color: #f9f9f9;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  height: 5em;
  max-width: 30em;
}

/* form validation errors */
.ih-modal-field input[type=text].ih-has-error,
.ih-modal-field input[type=password].ih-has-error,
.ih-modal-field input[type=email].ih-has-error,
.ih-modal-field input[type=number].ih-has-error,
.ih-modal-field input[type=search].ih-has-error,
.ih-modal-field input[type=tel].ih-has-error,
.ih-modal-field input[type=url].ih-has-error,
.ih-modal-field textarea.ih-has-error {
  border: 1px solid #ff0000;
}

.ih-modal-field input[type=text].ih-has-error:focus,
.ih-modal-field input[type=password].ih-has-error:focus,
.ih-modal-field input[type=email].ih-has-error:focus,
.ih-modal-field input[type=number].ih-has-error:focus,
.ih-modal-field input[type=search].ih-has-error:focus,
.ih-modal-field input[type=tel].ih-has-error:focus,
.ih-modal-field input[type=url].ih-has-error:focus,
.ih-modal-field textarea.ih-has-error:focus {
  border: 1px solid #ff0000;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2), 0 0 5px #ff2200;
}

.ih-modal .ih-error {
  display: block;
  min-height: 16px;
  padding: 0;
  margin-top: 2px;
  color: #ff0000;
  background: none;
}

.ih-modal-field .ih-required {
  color: #ff0000;
}

.ih-modal-fieldset {
  padding: 0 10px;
  margin: 16px 0;
  background: #fff;
  border: 1px solid #ddd;
}

.ih-modal-legend {
  font-size: 14px;
  color: #bbb;
}

.ih-label-hint {
  font-style: italic;
  color: #bbb;
  font-size: 14px;
}

.ih-modal-mask,
.ih-page-mask,
.ih-white-page-mask,
.ih-invisible-page_mask {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 10001;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  visibility: hidden;
  background-color: #444;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.ih-white-page-mask {
  background-color: transparent;
}

.ih-modal-mask.open,
.ih-page-mask.ih-page-mask-open,
.ih-white-page-mask.ih-white-page-mask-open {
  visibility: visible;
  opacity: 0.5;
}

/*
 * There are multiple queues now for modals.
 * One modal for each queue can be open at a time.
 * The modals will have a css class attached representing the queue namespace.
 * You can create and use your own modal namespaces and assign their layering order here.
 *
 * "general" is the default queue.
 * "priority" is another queue that gets used automatically in certain situations, and should represent the highest layer possible
 *
 */
.ih-modal-queue-general {
  z-index: 10002 !important;
}

.ih-modal-queue-priority {
  z-index: 10004 !important;
}

/* Build Website Modal */
.loading-modal .ih-modal-body {
  padding: 24px;
}

.loading-modal .ih-modal-message {
  background: url(../images/web/websignup/building_website_bg.html) no-repeat 0px 0px;
  padding: 30px;
}

.loading-modal .ih-modal-message h2 {
  margin: 0;
  font-size: 28px;
}

.ih-modal-frame-600 iframe {
  max-width: 600px;
}

.ih-modal-frame-600 .ih-modal-dialog {
  position: absolute !important;
  top: 10px;
  left: 10px;
  bottom: 10px;
  right: 10px;
  max-width: 652px;
  max-height: 372px;
  padding: 0;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.75);
}

@media all and (min-width: 768px) {
  .ih-modal-frame-600 .ih-modal-dialog {
    top: 50%;
    left: 50%;
    margin-left: -326px;
    margin-top: -186px;
    width: 652px;
    height: 372px;
  }
}

.ih-modal-frame-600 .ih-modal-content,
.ih-modal-frame-600 .ih-modal-body,
.ih-modal-frame-600 .ih-modal-message {
  height: 100%;
  box-sizing: border-box;
}

.ih-modal-frame-600 .ih-modal-body {
  padding: 6px;
}

.ih-modal-frame-600 .ih-modal-close-x {
  top: -10px;
  right: -10px;
  width: 36px;
  height: 36px;
  background: #ffffff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.75);
  border-radius: 50%;
}

@media all and (min-width: 768px) {
  .ih-modal-frame-600 .ih-modal-close-x {
    top: -18px;
    right: -18px;
  }
}

.ih-modal-frame iframe {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
}

.ih-modal-frame .ih-modal-dialog {
  position: absolute !important;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.75);
}

@media all and (min-width: 768px) {
  .ih-modal-frame .ih-modal-dialog {
    top: 24px;
    left: 24px;
    right: 24px;
    bottom: 24px;
  }
}

.ih-modal-frame .ih-modal-content,
.ih-modal-frame .ih-modal-body,
.ih-modal-frame .ih-modal-message {
  height: 100%;
  box-sizing: border-box;
}

.ih-modal-frame .ih-modal-body {
  padding: 6px;
}

.ih-modal-frame .ih-modal-close-x {
  top: -10px;
  right: -10px;
  width: 36px;
  height: 36px;
  background: #ffffff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.75);
  border-radius: 50%;
}

@media all and (min-width: 768px) {
  .ih-modal-frame .ih-modal-close-x {
    top: -18px;
    right: -18px;
  }
}

/* Modal Page/Forms - these larger modals slide in from the side */
.ih-modal-page .ih-modal-dialog {
  transform: translate(0, 0);
  left: -50%;
  padding: 0 !important;
  margin: 0 !important;
  height: 100% !important;
}

@media all and (min-width: 768px) {
  .ih-modal-page .ih-modal-dialog {
    width: 98%;
  }
}

.ih-modal-page.open .ih-modal-dialog {
  left: 0;
}

.ih-modal-page .ih-modal-content {
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  align-content: stretch;
  border-radius: 0;
}

.ih-modal-page .ih-modal-header {
  flex: none;
}

.ih-modal-page .ih-modal-body {
  overflow-y: auto;
  flex: 0 1 100%;
}

.ih-modal-page .ih-modal-footer {
  flex: none;
}

.ih-modal.posting .ih-modal-body,
.ih-modal.posting .ih-modal-footer,
.ih-modal-form.posting .ih-modal-body,
.ih-modal-form.posting .ih-modal-footer {
  opacity: 0.5;
}

/* Simple modals */
.tl-simple-modal .ih-modal-body,
.tl-simple-modal-large .ih-modal-body {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.tl-simple-modal.with-title .ih-modal-body,
.tl-simple-modal-large.with-title .ih-modal-body {
  padding-bottom: 12px;
}

.tl-simple-modal .ih-modal-dialog {
  right: auto;
  left: 50%;
  margin-top: 40px;
  margin-bottom: 40px;
  width: 300px;
  margin-left: -150px;
}

@media all and (min-width: 768px) {
  .tl-simple-modal .ih-modal-dialog {
    width: 300px;
    margin-left: -150px;
  }
}

.modal-select-list,
.modal-select-list > li {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.tl-simple-modal-large .modal-select-list > li {
  margin: 4px 0;
}

.modal-select-list > li > a {
  display: block;
  padding: 16px 24px;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none !important;
  color: #444 !important;
}

.modal-select-list > li.selected > a {
  background-color: #efefef;
}

.modal-select-list > li .ic {
  fill: #ccc;
  float: left;
  margin-right: 8px;
  margin-top: -2px;
}

.modal-select-list > li.selected .ic {
  fill: #26a654;
}

.modal-select-list > li > a:hover {
  background-color: #efefef;
}

.two-line-list {
  padding: 0 0 8px 0;
}

.two-line-list > li > a {
  display: block;
  height: 76px;
  padding-top: 16px;
  padding-bottom: 16px;
  white-space: nowrap;
}

.ih-modal .primary-text {
  font-size: 16px;
  color: #444 !important;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ih-modal .secondary-text {
  font-size: 14px;
  color: #888 !important;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/** @format */
#mainNav {
  width: 100%;
  border-bottom: 1px solid rgba(33, 37, 41, 0.1);
  background-color: #fff;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  text-align: center;
  transition: all 0.4s ease-in-out;
}

@media (min-width: 1200px) {
  #mainNav {
    border-color: transparent;
    background-color: transparent;
  }
}

#mainNav .container-fluid {
  justify-content: center;
}

@media (min-width: 1200px) {
  #mainNav .container-fluid {
    justify-content: space-between;
  }
}

#mainNav .navbar-brand {
  display: inline-flex;
  flex-flow: row nowrap;
  align-items: center;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

@media (min-width: 1200px) {
  #mainNav .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
    padding-top: 0;
    padding-bottom: 0;
  }
}

#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #f05f40;
}

@media (min-width: 1200px) {
  #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: #fff;
  }
}

#mainNav .navbar-brand img {
  border-radius: 2px;
  margin-right: 10px;
}

#mainNav .navbar-collapse {
  position: absolute;
  top: 0;
  left: -300px;
  width: 300px;
  padding: 16px;
}

@media (min-width: 1200px) {
  #mainNav .navbar-collapse {
    position: relative;
    left: 0;
    width: auto;
    padding: 0;
  }
}

#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #212529;
}

@media (min-width: 1200px) {
  #mainNav .navbar-nav > li.nav-item > a.nav-link,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.btn,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus.btn {
    margin-left: 0.5rem;
    color: #fff;
  }
}

#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
  color: #F05F40;
}

@media (min-width: 1200px) {
  #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #fff;
  }
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  color: #F05F40 !important;
  background-color: transparent;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
  background-color: transparent;
}

@media (min-width: 1200px) {
  #mainNav.sticky {
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    background-color: #fff;
  }
  #mainNav.sticky .navbar-brand {
    color: #000;
  }
  #mainNav.sticky .navbar-brand:focus, #mainNav.sticky .navbar-brand:hover {
    color: #f05f40;
  }
  #mainNav.sticky .navbar-nav > li.nav-item > a.nav-link,
  #mainNav.sticky .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #212529;
  }
  #mainNav.sticky .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav.sticky .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #F05F40;
  }
  #mainNav.sticky .navbar-nav > li.nav-item > a.nav-link.btn,
  #mainNav.sticky .navbar-nav > li.nav-item > a.nav-link:focus.btn {
    color: #fff;
  }
  #mainNav.sticky .navbar-nav > li.nav-item > a.nav-link.btn:hover,
  #mainNav.sticky .navbar-nav > li.nav-item > a.nav-link:focus.btn:hover {
    color: #fff;
  }
  #mainNav .nav-item-button .dropdown-menu {
    left: auto;
    right: 0;
  }
}

.main-nav-toggle {
  position: absolute;
  top: 14px;
  left: 0.5rem;
  display: block;
  padding: 0;
  margin: 0;
  height: 40px;
  width: 40px;
  line-height: 40px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

@media (min-width: 1200px) {
  .main-nav-toggle {
    display: none;
  }
}

.main-nav-toggle-icon {
  position: relative;
  top: 18px;
  left: 8px;
  display: block;
  width: 24px;
  height: 4px;
}

.main-nav-toggle-icon span,
.main-nav-toggle-icon span:after,
.main-nav-toggle-icon span:before {
  content: "";
  position: absolute;
  display: block;
  height: 4px;
  width: 24px;
  border-radius: 1px;
  background: #F05F40;
  cursor: pointer;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.main-nav-toggle-icon span:before {
  top: -8px;
}

.main-nav-toggle-icon span:after {
  bottom: -8px;
}

.page {
  position: relative;
  transition: all 0.4s ease-in-out;
  left: 0;
}

.nav-open {
  overflow-x: hidden;
}

.nav-open #mainNav {
  left: 300px;
}

.nav-open #mainNav .navbar-nav > li.nav-item > a.nav-link,
.nav-open #mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  color: rgba(255, 255, 255, 0.7);
}

.nav-open #mainNav .navbar-nav > li.nav-item > a.nav-link.btn,
.nav-open #mainNav .navbar-nav > li.nav-item > a.nav-link:focus.btn {
  margin-top: 0.5rem;
  color: #fff;
}

.nav-open #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
.nav-open #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
  color: #fff;
}

.nav-open #mainNav .navbar-nav > li.nav-item > a.nav-link.active,
.nav-open #mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  color: #fff !important;
}

.nav-open #mainNav .navbar-nav > li.nav-item.dropdown.show a.nav-link {
  color: #fff !important;
}

.nav-open .page {
  left: 300px;
}

.nav-open .main-nav-toggle-icon span {
  background-color: transparent;
}

.nav-open .main-nav-toggle-icon span:before, .nav-open .main-nav-toggle-icon span:after {
  top: 0;
}

.nav-open .main-nav-toggle-icon span:before {
  transform: rotate(45deg);
}

.nav-open .main-nav-toggle-icon span:after {
  transform: rotate(-45deg);
}

.nav-open .dropdown-menu {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.5);
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-open .dropdown-item {
  color: inherit;
  text-align: center;
}

.nav-open .dropdown-item:hover {
  background-color: transparent;
  color: #fff;
}

header.masthead {
  position: relative;
  padding-top: 10rem;
  padding-bottom: calc(10rem - 56px);
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

@media (min-width: 992px) {
  header.masthead {
    min-height: 300px;
    padding-top: 56px;
    padding-bottom: 0;
  }
}

header.masthead:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

header.masthead.masthead-home {
  height: 100vh;
  min-height: 650px;
  padding-top: 0;
  padding-bottom: 0;
  background-color: #212529;
}

header.masthead.masthead-subpage {
  background-color: #212529;
}

header.masthead.masthead-subpage:before {
  filter: opacity(0.5);
}

header.masthead.masthead-about-us:before {
  background-image: url("../img/bw-closeup.jpg");
}

header.masthead.masthead-get-involved:before {
  background-image: url("../img/team-header.jpg");
}

header.masthead.masthead-community-clinic:before {
  background-image: url("../img/portfolio/fullsize/community-clinic.jpg");
}

header.masthead.masthead-community-school:before {
  background-image: url("../img/portfolio/fullsize/community-school.jpg");
}

header.masthead.masthead-teching-africa:before {
  background-image: url("../img/portfolio/fullsize/teching.jpg");
}

header.masthead.masthead-farm-project:before {
  background-image: url("../img/portfolio/fullsize/farm.jpg");
}

header.masthead.masthead-child-sponsorship:before {
  background-image: url("../img/portfolio/fullsize/child-sponsorship.jpg");
}

header.masthead.masthead-trade-schools:before {
  background-image: url("../img/portfolio/fullsize/trade-schools.jpg");
}

header.masthead hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

header.masthead h1 {
  font-size: 2rem;
}

@media (min-width: 992px) {
  header.masthead h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1200px) {
  header.masthead h1 {
    font-size: 4rem;
  }
}

header.masthead p {
  font-weight: 300;
}

@media (min-width: 768px) {
  header.masthead p {
    font-size: 1.15rem;
  }
}

.homepage-video-banner {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.homepage-video-banner iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
}

@media (min-aspect-ratio: 16 / 9) {
  .homepage-video-banner iframe {
    /* height = 100 * (9 / 16) = 56.25 */
    height: 56.25vw;
  }
}

@media (max-aspect-ratio: 16 / 9) {
  .homepage-video-banner iframe {
    /* width = 100 / (9 / 16) = 177.777777 */
    width: 177.78vh;
  }
}

.homepage-video-banner .homepage-video-banner-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(50, 50, 60, 0.9), rgba(0, 0, 0, 0));
}

.service-box {
  max-width: 400px;
}

.popup-gallery {
  padding: 0.25rem;
}

.portfolio-box {
  position: relative;
  display: block;
  max-width: 650px;
  margin: 0.25rem;
}

.portfolio-box .portfolio-box-caption {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 25%;
  text-align: center;
  opacity: 1;
  color: #fff;
  background: rgba(240, 95, 64, 0.9);
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  padding: 0 15px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  display: none;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  font-size: 18px;
}

.portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}

.portfolio-box:focus {
  outline: none;
}

@media (min-width: 768px) {
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    font-size: 16px;
  }
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 22px;
  }
}

.text-primary {
  color: #F05F40 !important;
}

.btn {
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 300px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.btn-xl {
  padding: 1rem 2rem;
}

.btn-primary {
  background-color: #F05F40;
  border-color: #F05F40;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color: #ee4b28 !important;
}

.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(240, 95, 64, 0.5) !important;
}

.hidden {
  display: none !important;
}

.ih-modal-message form {
  margin-bottom: 0;
}

.ih-modal-message .select-wrapper {
  position: relative;
}

.ih-modal-message .select-wrapper:before {
  color: #bdbdbd;
}

.ih-modal-message input[type='text'],
.ih-modal-message select {
  border-color: rgba(100, 100, 100, 0.5);
  color: #222;
  font-weight: 400;
}

.ih-modal-message input[type='text']:focus,
.ih-modal-message select:focus {
  border-color: #e08e25;
}

.ih-modal-message .donation-amount-wrapper {
  position: relative;
  margin-top: 10px;
}

.ih-modal-message .donation-amount-wrapper:after {
  content: "$";
  position: absolute;
  left: 16px;
  top: 14px;
  color: #444;
  font-weight: 400;
}

.ih-modal-message #modal-donation-amount {
  padding-left: 32px;
}

.ih-modal-message label {
  display: inline;
  color: inherit;
}

.ih-modal-message .donation-amount-btns {
  display: flex;
  flex-flow: row nowrap;
}

.ih-modal-message .donation-amount-btn {
  flex: 1 0 auto;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border: 1px solid #ccc;
  border-left: 0;
  user-select: none;
  cursor: pointer;
}

.ih-modal-message .donation-amount-btn:first-child {
  border-radius: 4px 0 0 4px;
  border-left: 1px solid #ccc;
}

.ih-modal-message .donation-amount-btn:last-child {
  border-radius: 0 4px 4px 0;
}

.ih-modal-message .donation-amount-btn.selected {
  background-color: #303035;
  border-color: #303035;
  color: #fff;
}
