/*
Theme Name:     iefp.pro theme
Description:    iefp.pro theme, a child theme of Bootplate.
Version:        1.0
License:        GNU General Public License v2 or later
License URI:    https://www.gnu.org/licenses/gpl-2.0.html
Tags:           light, fluid-layout, responsive-layout, custom-menu, featured-image-header, flexible-header, full-width-template, theme-options
Text Domain:    bootplate-child
Template:       bootplate-1.9
*/

/* fix to account wp's admin bar */
body.admin-bar .anchor::before { 
  margin-top: calc(-3.5rem - 32px);
  height: calc(3.5rem + 32px);
}
@media screen and ( max-width: 782px ) {
  body.admin-bar .anchor::before {
    margin-top: calc(-3.5rem - 46px);
    height: calc(3.5rem + 46px);
  }
}
/* make it always sticky */
#wpadminbar {
  position: fixed;
}

/* place bootstrap fixed-top menu under wp's admin-bar */
body.admin-bar nav.fixed-top { top: 32px; }
@media screen and ( max-width: 782px ) {
  body.admin-bar nav.fixed-top { top: 46px !important; }
}

/* ================ */

.navbar-brand img { height: 1.875rem; }

.site-header {
  margin-top: 3.5rem; /* 56px when 1rem=16px */

  background: #007bff;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  min-height: 30rem;
}

.display-size-6 {
  font-size: 2.0rem;
}

.anchor::before {
  display: block;
  content: " ";
  margin-top: -3.5rem;
  height: 3.5rem;
  visibility: hidden;
  pointer-events: none;
}

h2 {
  margin-top: 1.5rem;
}

.i {
  stroke: currentColor;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  width: 1em;
  height: 1em;
  /*margin: 0.4em;*/
  font-size: 1.5em;
}

svg, svg symbol {
  overflow: visible;
}

/* ================ */

html {
  font-size: 0.75rem;
}
.display-size-5 {
  font-size: 2.75rem;
}
@media (min-width:  576px) {
  html {
    font-size: 1rem;
  }
  .display-size-5 {
    font-size: 3.0rem;
  }
}
@media (min-width:  768px) { }
@media (min-width:  992px) { }
@media (min-width: 1200px) { }
