/**
 * If using a CSS pre-processor, tell it to overwrite this file. If not, place
 * your custom CSS modifications here.
 */
/* line 116, ../scss/poly.scss */

.block-system-main-menu ul.menu {
    margin-bottom: -5px;
    margin-top: 15px;
    padding-left: 30px;
    font-size: 18px;
    text-transform: uppercase;
    float: right;
}

p {
    font-family: inherit;
    font-weight: normal;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 1.25em;
    text-rendering: optimizeLegibility;
}

.quote em{
    text-align: center;
    font-style: italic;
    font-size: 24px;
    line-height: 1.4;
}

.navbar {
    border-bottom: 5px solid #333;
    background-color: #fff;
}

nav.navbar.navbar-default {
    margin-bottom: 0;
    border-bottom: 0;
}

.block-system-main-menu .menu li a {
    padding-bottom: 6px;
}

/* Aboout Us */

.block-system-main-menu .menu li:nth-child(1) a.is-active {
  background-color: #fff;
  color: #16A9BD;
}

.block-system-main-menu .menu li:nth-child(1) {
  border-bottom: 5px solid #16A9BD;
}

/* Services */

.block-system-main-menu .menu li:nth-child(2) a.is-active {
  background-color: #fff;
  color: #C03A78;
}

.block-system-main-menu .menu li:nth-child(2) {
  border-bottom: 5px solid #C03A78;
}

/* How we Work */

.block-system-main-menu .menu li:nth-child(3) a.is-active {
  background-color: #fff;
  color: #F16824;
}

.block-system-main-menu .menu li:nth-child(3) {
  border-bottom: 5px solid #F16824;
}

/* Blog */

.block-system-main-menu .menu li:nth-child(4) a.is-active {
  background-color: #fff;
  color: #C5C639;
}

.block-system-main-menu .menu li:nth-child(4) {
  border-bottom: 5px solid #C5C639;
}

/* Contact */

.block-system-main-menu .menu li:nth-child(5) a.is-active {
  background-color: #fff;
  color: #52843C;
}

.block-system-main-menu .menu li:nth-child(5) {
  border-bottom: 5px solid #52843C;
}

.card-body {
    padding: 15px;
    position: absolute;
    bottom: 30px;
}

.blog-border {
    border: black 1px solid !important;
    margin-bottom: 30px;
    height: 362px;
}
.card-body h4 {
    height: 60px;
}

.rtecenter {
    text-align: center;
}

#hero-image {
    height: 600px;
    background-size: cover;
    margin-top: -20px;
    position: relative; /* Ensure it's positioned */
    display: flex;
    align-items: center; /* Vertical centering with flex */
    justify-content: center; /* Horizontal centering with flex */
    margin-bottom: -20px;
}

.navbar {
    margin-top: 10px;
}

body.path-frontpage #hero-image{
    padding-top: 100px;
    height: auto;
    padding-bottom: 20px;
}

body.path-frontpage .paragraph--id--12{
  background-color: #000;
}

.pic-wrapper {
    position: relative;
}

.pic-wrapper .first {
    position: absolute;
    top: 0;
    left: 0;
}

.pic-wrapper .first img:hover {
    opacity: 0;
}

.pic-wrapper:hover {
    transform: scale(1.1, 1.1);
    transition: ease-in .2s;
}

.pad-right-10, .pad-right-10 img {
    padding-right: 10px;
}

.margin-top-20 {
    margin-top: 20px;
}
