@import url('https://fonts.googleapis.com/css?family=Gloria+Hallelujah|Merienda:400,700|Poppins:300,400,600');
body {
  font-family: 'Poppins', sans-serif;
  color: #222;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #222;
  line-height: 1.1;
  letter-spacing: .0375rem;
  text-rendering: optimizeLegibility;
}

p {
  font-size: 1.4375rem;
  letter-spacing: .0156rem;
  line-height: 1.5;
}

.lead {
    margin-bottom: 20px;
    font-size: 1.5625rem;
    font-weight: 400;
    letter-spacing: .0156rem;
}

.btn-purple {
  color: #fff;
  background-color: #4e2b63;
  border-color: #4e2b63;
}

.btn-purple:focus,
.btn-purple.focus,
.btn-purple:hover {
  color: #fff;
  background-color: #3e224f;
  border-color: #3e224f;
}

.btn-overlay {
  color: #fff;
  background-color: rgba(0,0,0,.175);
}

.btn-overlay:focus,
.btn-overlay.focus,
.btn-overlay:hover {
  color: #fff;
  background-color: rgba(0,0,0,.125);
}

.row-centered {
    text-align: center;
}

.col-centered {
    display: inline-block;
    float: none;
    margin-right: -4px;
    vertical-align: top;
}

/*** Off Cavans Navigation ***/
.slideout-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 256px;
  background-color: #4e2b63;
  min-height: 100vh;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 0;
  display: none;
}

.slideout-menu-left {
  left: 0;
}

.slideout-menu-right {
  right: 0;
}

.slideout-panel {
  position: relative;
  z-index: 1;
  will-change: transform;
  background-color: #FFF;
  min-height: 100vh;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
  overflow: hidden;
}

.slideout-open .slideout-menu {
  display: block;
}

/*** Humberger Menu ***/
.toggle-hamburger {
  float: right;
  display: block;
  box-sizing: content-box;
  width: 1.25rem;
  /*padding: 77px 4.34783% 35px 15px;*/
  padding: 49px 0 49px 15px;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -o-transition: all linear 0.3s;
  transition: all linear 0.3s;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  border: 0;
  outline: 0;
  background-color: transparent;
}

.toggle-hamburger-icon {
  position: relative;
  display: block;
  margin-top: 10px;
}

.toggle-hamburger-icon,
.toggle-hamburger-icon::after,
.toggle-hamburger-icon::before {
  width: 100%;
  height: 2px;
  -webkit-transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  background-color: #fff;
}

.toggle-hamburger-icon::after,
.toggle-hamburger-icon::before {
  position: absolute;
  top: -6px;
  left: 0;
  content: ' ';
}

.toggle-hamburger-icon::after {
  top: 6px;
}

.slideout-open .toggle-hamburger-icon {
  background-color: transparent;
}

.slideout-open .toggle-hamburger-icon::after,
.slideout-open .toggle-hamburger-icon::before {
  top: 0;
}

.slideout-open .toggle-hamburger-icon::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.slideout-open .toggle-hamburger-icon::before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/*** Header ***/
.header-menu {
  width: 100%;
  float: left;
  margin-left: 0;
  margin-right: 0;
  height: 65px;
  position: fixed;
  backface-visibility: hidden;
  z-index: 1000;
}

.header-menu-background {
  background: #4e2b63;
  left: 0;
  z-index: -1;
  width: 100%;
  position: absolute;
  top: 0;
  height: 0;
  opacity: 0;
  transition: height .2s ease, opacity .2s ease;
}

.header-menu-background.show {
  opacity: 1;
  height: 100%;
}

.header-menu>.container {
  position: relative;
}

.header-menu .brand-logo {
  position: absolute;
  top: 0;
  left: 15px;
  font-size: 100%;
  margin: 0px;
  padding: 15px 0;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -o-transition: all linear 0.3s;
  transition: all linear 0.3s;
}

.header-menu .brand-logo a span {
  display: none;
}

.header-menu .brand-logo a {
  background-image: url(/img/logo-dark.svg);
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  height: 115px;
  width: 120px;
}

.header-menu ul.main-nav {
  /*display: none;*/
  float: right;
  padding-top: 63px;
  list-style: none;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -o-transition: all linear 0.3s;
  transition: all linear 0.3s;
}

.header-menu ul.nav-left {
  float: left;
  margin-left: 4.34783%;
}

.header-menu ul.nav-right {
  float: right;
}

.header-menu ul li {
  text-transform: uppercase;
  color: #FFF;
  float: left;
  line-height: 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
}

.header-menu ul li a {
  color: #FFF;
  display: inline-block;
  margin: 10px 0;
  padding: 0 12px;
  transition: opacity .2s ease;
  text-decoration: none;
}

.header-menu ul li a::after {
  background: 0 0;
  content: '';
  display: block;
  clear: both;
  height: 1px;
  transition: background-color .2s ease, width .2s ease;
  width: 0;
}

.header-menu ul li a:hover::after,
.header-menu ul li.selected a::after {
  background: #FFF;
  width: 100%;
}

.header-menu ul.dropdown-menu {
  background-color: rgba(78,43,99,.96);
  border-radius: 0;
  width: auto;
  min-width: auto;
  padding: 0;
  -webkit-box-shadow: 0px 5px 6px rgba(0, 0, 0, .175);
  box-shadow: 0px 5px 6px rgba(0, 0, 0, .175);
  border: 0;
}

.header-menu ul.dropdown-menu li {
  float: none;
}

.header-menu ul.dropdown-menu li a {
  display: block;
  font-size: 12px;
  color: #fff;
  margin: 0;
  padding: 10px 15px;
  text-transform: capitalize;
}

.header-menu ul.dropdown-menu li a:hover,
.header-menu ul.dropdown-menu li a:focus {
  background-color: rgba(0,0,0,.175);
}

.header-menu ul.dropdown-menu > .active > a,
.header-menu ul.dropdown-menu > .active > a:hover,
.header-menu ul.dropdown-menu > .active > a:focus {
  background-color: rgba(0,0,0,.175);
}

.header-menu ul.dropdown-menu li a:hover::after,
.header-menu ul.dropdown-menu li.selected a::after {
  background-color: transparent;
}

.header-menu.shrink .brand-logo {
  padding: 10px 0;
}

@keyframes logodown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}

.header-menu.shrink .brand-logo:after {
  position: absolute;
  top: -35px;
  left: -15px;
  content: '';
  display: block;
  height: 150px;
  width: 150px;
  background-color: #4e2b63;
  border-radius: 50%;
  box-shadow: 0 2px 2px rgba(0, 0, 0, .15);
  z-index: -2;
  animation: logodown .2s linear;
}

.header-menu.shrink .brand-logo a {
  background-size: 70%;
  background-position: center top;
}

.header-menu.shrink ul.main-nav {
  padding-top: 10px;
  padding-bottom: 10px;
}

.header-menu.shrink .toggle-hamburger {
  padding: 21px 0 22px 15px;
}

.inverse .header-menu .brand-logo a {
  background-image: url(/img/logo-dark.svg);
}

.inverse .header-menu ul li,
.inverse .header-menu ul li a {
  color: #222;
}

.inverse .header-menu ul li a:hover::after,
.inverse .header-menu ul li.selected a::after {
  background: #222;
}

.inverse .header-menu ul.dropdown-menu li a:hover::after,
.inverse .header-menu ul.dropdown-menu li.selected a::after {
  background-color: transparent;
}

.inverse .header-menu ul.dropdown-menu li a {
  color: #fff;
}

.inverse .header-menu.shrink ul li,
.inverse .header-menu.shrink ul li a {
  color: #fff;
}

.inverse .header-menu.shrink .brand-logo a {
  background-image: url(/img/logo-dark.svg);
}

.inverse .toggle-hamburger-icon,
.inverse .toggle-hamburger-icon::after,
.inverse .toggle-hamburger-icon::before {
  background-color: #222;
}

.inverse .shrink .toggle-hamburger-icon,
.inverse .shrink .toggle-hamburger-icon::after,
.inverse .shrink .toggle-hamburger-icon::before {
  background-color: #fff;
}

.slideout-open .inverse .toggle-hamburger-icon {
  background-color: transparent;
}

/*** Sidebar nav styles ***/

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-nav li {
  position: relative;
  line-height: 20px;
  display: inline-block;
  width: 100%;
}

.sidebar-nav li:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  width: 3px;
  background-color: #fff;
  -webkit-transition: width .2s ease-in;
    -moz-transition:  width .2s ease-in;
     -ms-transition:  width .2s ease-in;
          transition: width .2s ease-in;

}
.sidebar-nav li:first-child:before {
  background-color: #f44336;
}
.sidebar-nav li:nth-child(2):before {
  background-color: #ffc107;
}
.sidebar-nav li:nth-child(3):before {
  background-color: #ffeb3b;
}
.sidebar-nav li:nth-child(4):before {
  background-color: #4caf50;
}
.sidebar-nav li:nth-child(5):before {
  background-color: #2196f3;
}
.sidebar-nav li:nth-child(6):before {
  background-color: #3f51b5;
}
.sidebar-nav li:nth-child(7):before {
  background-color: #673ab7;
}
.sidebar-nav li:nth-child(8):before {
  background-color: #e91e63;
}
.sidebar-nav li:nth-child(9):before {
  background-color: #009688;
}
.sidebar-nav li:hover:before,
.sidebar-nav li.open:hover:before {
  width: 100%;
  -webkit-transition: width .2s ease-in;
    -moz-transition:  width .2s ease-in;
     -ms-transition:  width .2s ease-in;
          transition: width .2s ease-in;
}

.sidebar-nav li a {
  display: block;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  padding: 10px 15px 10px 30px;
}

.sidebar-nav li a:hover,
.sidebar-nav li a:active,
.sidebar-nav li a:focus,
.sidebar-nav li.open a:hover,
.sidebar-nav li.open a:active,
.sidebar-nav li.open a:focus{
  color: #fff;
  text-decoration: none;
  background-color: transparent;
}

.sidebar-nav .open > a,
.sidebar-nav .open > a:hover,
.sidebar-nav .open > a:focus {
  background-color: #361e45;
}

.sidebar-nav > .sidebar-brand {
  height: 65px;
  font-size: 20px;
  line-height: 44px;
}
.sidebar-nav .dropdown-menu {
  position: relative;
  width: 100%;
  min-width: 100%;
  padding: 0;
  margin: 0;
  border-radius: 0;
  border: none;
  background-color: #412452;
  box-shadow: none;
}

.sidebar-nav .dropdown-menu li a {
    font-size: 12px;
}

/*** Hero ***/

.masthead {
  display: table;
  width: 100%;
  position: relative;
  background-color: #222;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  min-height: 350px;
  height: 625px;
  height: -webkit-calc(100vh - 0px);
  height: -moz-calc(100vh - 0px);
  height: calc(100vh - 0px);
}

.masthead .overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(20, 0, 10, 0.15);
  z-index: 1;
}

.masthead .text-wrap {
  display: table-cell;
  vertical-align: bottom;
  position: relative;
  opacity: 0;
  padding: 15vh 0;
  -webkit-transform: scale(0.95);
  -moz-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
  -webkit-transition: all 0.6s ease-out;
  -moz-transition: all 0.6s ease-out;
  transition: all 0.6s ease-out;
  -webkit-transition-delay: 0.6s;
  -moz-transition-delay: 0.6s;
  transition-delay: 0.6s;
  z-index: 4;
}

.masthead .text-wrap h1,
.masthead .text-wrap .lead {
  color: #fff;
  line-height: inherit;
  margin: 0;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.55);
}

.masthead .text-wrap h1 {
  font-family: 'Merienda', cursive;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.masthead .text-wrap .lead {
  font-size: 1.25rem;
}

body.loaded .masthead .text-wrap {
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.subhead {
  background-color: transparent;
  min-height: 312px;
  height: 312px;
  height: -webkit-calc(50vh - 0px);
  height: -moz-calc(50vh - 0px);
  height: calc(50vh - 0px);
}

.subpage .subhead {
  /*height: 300px;*/
}

.subhead .text-wrap h1,
.subhead .text-wrap .lead {
  text-shadow:none;
}

.subhead .text-wrap h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
}

.masthead + .pageFootBg {
  padding-top: 0;
}

/*** Homepage Content ***/
.heading-title {
  text-align: center;
}

.heading-title h1 {
  margin-top: 0;
  margin-bottom: 20px;
}

.heading-title h2 {
  font-family: 'Merienda', cursive;
  font-size: 4rem;
}

.heading-title.inverse,
.heading-title.inverse h1 {
  color: #fff;
}

.section-container {
  padding-top: 80px;
  padding-bottom: 80px;
  overflow: hidden;
}

.bkgd-grey {
  background-color: #ece6e4;
}

.bkgd-purple {
  /*background-color: #4e2b63;*/
  background-image: url(/upload/images/welcome.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.what-we-do {
  position: relative;
  background-color: #f0d6b2;
  background-image: url(/upload/images/what-we-do.jpg);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 80px;
  padding-bottom: 80px;
  z-index: 9;
}

.what-we-do .content {
  text-align: center;
  margin-top: 40px;
}

.what-we-do .content .col-centered {
  padding-left: 0;
  padding-right: 0;
  margin-right: -6px;
}

.what-we-do .content .panel-box {
  background-color: rgba(255,255,255,.8);
  border:2px solid #c86437;
  padding: 20px;
  border-radius: 4px;
}

.owl-carousel.off {
    display: block;
}

.what-we-do svg.icon {
  width: 35%;
}

.what-we-do .content h1 {
  font-size: 1.875rem;
  margin-top: 0px;
}

.news {
  position: relative;
  background-position: 50% bottom;
  background-size: 100% auto;
  background-repeat: no-repeat;
  padding: 80px 0 150px 0;
}

.item-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.item-block {
  background-color: transparent;
  border-radius: 4px;
  margin: 10px;
  flex-basis: calc(33% - 20px);
}

.news .item-block {
  background-color: rgba(183, 28, 28, 0.8);
  border-radius: 4px;
  margin: 10px;
  flex-basis: calc(33% - 20px);
}

.news .item-block:nth-child(2n) {
  background-color: rgba(230, 81, 0, 0.8);
}

.news .item-block:nth-child(3n) {
  background-color: rgba(255, 193, 7, 0.8);
}

.news .item-block:nth-child(4n) {
  background-color: rgba(49, 27, 146, 0.8);
}

.news .item-block:nth-child(5n) {
  background-color: rgba(0, 77, 64, 0.8);
}

.news .item-block:nth-child(6n) {
  background-color: rgba(76, 175, 80, 0.8);
}

.news .item-block img {
  display: block;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  width: 100%;
}

.news .item-block .caption {
  color: #fff;
  padding: 20px;
}

.news .item-block .caption h1 {
  font-size: 1.5625rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin-top: 0;
  text-align: left;
}

.news .item-block .caption p {
  font-size: 1.25rem;
}

.news .item-block .caption .date {
  float: left;
  font-size: 1.75rem;
  color: #222;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.075);
  font-weight: 700;
  line-height: 1;
  margin-right: 15px;
  padding: 10px 5px;
  width: 50px;
  text-align: center;
}

.news .item-block .caption .date span {
  font-size: 1.25rem;
  display: block;
}

.news .item-block .caption .btn {
  margin-top: 10px;
  text-transform: uppercase;
}

.pageFootBg {
  position: relative;
  background-color: transparent;
  background-position: 50% bottom;
  background-size: 100% auto;
  background-repeat: no-repeat;
  padding: 80px 0 150px 0;
}

/*** Footer ***/
footer {
  background-color: #4e2b63;
  color: #fff;
  padding: 60px 20px;
  text-transform: lowercase;
}

footer.border {
  border-top: solid 1px #ddd;
  padding-top: 60px;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.25rem;
  letter-spacing: .0156rem;
}

footer a {
  color: #fff;
}

footer a:hover,
footer a:focus,
footer a:active {
  color: rgba(255,255,255,.75);
  text-decoration: none;
}

footer .footer-header {
  font-weight: 700;
  color: rgba(255,255,255,.5);
  margin-top: 0;
  margin-bottom: 20px;
}

.footer-top-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  margin-left: auto;
  margin-right: auto;
}

.footer-top-row ul {
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom-row {
  padding-top: 30px;
  margin: 30px auto 0;
  border-top: solid 1px #3e224f;
  text-align: center;
}

.footer-bottom-row li:first-child {
  margin-top: 0;
}
.footer-bottom-row li:last-child:after {
  display: none;
}

.footer-bottom-row li, .footer-top-row li {
  line-height: 1.1;
  margin-top: 12px;
}

.footer-social-row {
  margin: 30px auto 0;
}

.footer-social-row ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.footer-social-row li {
  padding: 0 10px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  text-align: center;
}

.footer-social-row li > a {
  display: block;

}

.footer-social-row li > a > i {
  font-size: 1.875rem;
}

.footer-social-row li > a span{
  position: absolute;
  left: -10000px;
}
