/*
Theme Name: Foundation Theme 
Author: Optimising Pty Ltd - Fancy Pants
Author URI: http://www.optimising.com.au
Description: Custom Wordpress Theme
Version: 1.0
*/
@font-face {
  font-family: open-sans-bold;
  src: url(fonts/OpenSans-Bold.ttf); }
@font-face {
  font-family: open-sans-regular;
  src: url(fonts/OpenSans-Regular.ttf); }
@font-face {
  font-family: open-sans-extrabold;
  src: url(fonts/OpenSans-ExtraBold.ttf); }
@font-face {
  font-family: open-sans-light;
  src: url(fonts/OpenSans-Light.ttf); }
@font-face {
  font-family: myriad;
  src: url(fonts/MyriadPro-Regular.ttf); }
body {
  font-family: open-sans-regular;
  background-color: white; }

#header {
  width: 100%;
  height: 150px;
  background-image: url("images/header_back.jpg");
  background-size: cover; }
  @media (max-width: 640px) {
    #header {
      height: 130px;
      margin-bottom: 0px; } }
  @media (max-width: 1024px) and (min-width: 641px) {
    #header {
      height: 191px;
      margin-bottom: 10px; } }

#home_header {
  width: 100%;
  height: 400px;
  background-image: url("images/header_back.jpg");
  background-size: cover; }
  @media (max-width: 1024px) {
    #home_header {
      height: 191px;
      margin-bottom: 10px; } }
  @media (max-width: 640px) {
    #home_header {
      height: 130px;
      margin-bottom: 0px; } }

#header-top {
  padding-top: 20px; }

nav {
  margin-top: 25px;
  background-color: rgba(0, 0, 0, 0.4); }
  @media (max-width: 640px) {
    nav {
      display: none; } }

#nav_items {
  color: white;
  height: 20px;
  text-align: center; 
  position:relative;
  z-index:99;
  }
  #nav_items ul {
    margin-bottom: 17px; }
  #nav_items li {
    display: inline;
    position: relative;
     }
    #nav_items li a {
      color: white;
      font-size: 13px;
      padding-left: 12px;
      padding-right: 12px;
      padding-top: 15px;
      padding-bottom: 18px; }
    #nav_items li a:hover {
      background-color: #a23982; }

.current_page_item a {
  background-color: #5c94cc; }

.home-slider {
  width: 70%;
  margin-top: -250px;
  height: 300px; }

.slide {
  box-shadow: 0px 0px 21px #000;
  border: 1px solid #808080;
  border-radius: 4px;
  margin: 20px 0 50px 0;
}

  @media (max-width: 1024px) {
    .home-slider {
      display: none; } }

.home-service-icon {
  text-align: center;
  margin-bottom: 30px;
   }
  @media (max-width: 640px) {
    .home-service-icon {
      display: none; } }

.under-service {
  margin-top: 5px;
  color: #999;
  font-size: 12px; }

.home_content {
  margin: 0px 0 40px;
}

.home_content h1 {
  text-align: center;
}

.home-feature {
  margin-top: 20px;
  margin-bottom: 70px;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 290px;
  background-color: whitesmoke; }


.home-feature-testimonials {
  margin-top: 20px;
  height: 280px; }

.hbox1, .hbox2, .hbox3 {
  background-image: url("images/home-boxes/home-box1.png");
  background-size: 100% 280px;
  background-repeat: no-repeat; }

.title1 {
  font-family: open-sans-bold;
  color: black; }

.title2 {
  color: #5c94cc;
  font-weight: lighter; }

.home-feature-title div {
  margin-top: 25px; }
.home-feature-title img {
  float: right;
  margin-top: -5px;
  width: 30px; }

.feature-box-text {
  font-size: 12px; }

.feature-box-text-contact {
  margin-top: -5px !important;
  font-size: 12px; }

.feature-box-text-spacer {
  height: 50px; }

footer {
  margin-top: 20px; }
  footer h3 {
    color: #5c94cc;
    font-weight: lighter;
    margin-top: 0px; }

.footer-header {
  padding: 10px 90px;
  height: 100px;
  background-image: url("images/header_back.jpg"); }
  @media (max-width: 1024px) {
    .footer-header {
      padding: 0 20px;
      height: 50px; } }
  @media (max-width: 640px) {
    .footer-header {
      padding: 0 10px;
      height: 95px; } }

.footer-header-text {
  font-family: open-sans-regular;
  font-size: 20px;
  font-weight: lighter;
  color: white;
  margin-top: 16px; }
  @media (max-width: 640px) {
    .footer-header-text {
      text-align: center;
      font-size: 15px; } }

.footer-columns {
  line-height: 1rem;
  color: #999;
  text-align: justify;
  font-size: 12px;
  margin-top: 30px;
  margin-bottom: 70px; }
  .footer-columns .columns {
    padding: 10px;
     }

.footer-input {
  color: white;
  margin-top: 5px; }
  .footer-input input {
    margin-top: 7px;
    height: 26px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    color: black;
    border-radius: 2px; }
  .footer-input ::-webkit-input-placeholder {
    color: white;
    font-weight: lighter; }
  .footer-input :-moz-placeholder {
    /* Firefox 18- */
    color: white;
    font-weight: lighter; }
  .footer-input ::-moz-placeholder {
    /* Firefox 19+ */
    color: white;
    font-weight: lighter; }
  .footer-input :-ms-input-placeholder {
    color: white;
    font-weight: lighter; }

.footer-button {
  margin-top: 5px; }
  .footer-button button {
    border-radius: 2px;
    padding: 2px 5px 5px 5px;
    height: 26px;
    margin-top: 7px; }

.bold-part {
  color: white;
  font-weight: bolder;
  font-family: open-sans-bold; }

.menu-header-menu-container {
  padding-top: 11px; }
  @media (max-width: 640px) {
    .menu-header-menu-container {
      padding-top: 0px; } }

.logo {
  text-align: center; }

.header-phone {
  text-align: center;
  font-size: 25px;
  margin-top: 10px;
  color: white; }
  .header-phone i {
    font-size: 30px;
    color: #5c94cc; }
    @media (max-width: 640px) {
      .header-phone i {
        color: white; } }

.philosophy {
  width: 90%; }

.content {
  font-family: open-sans-regular;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  width: 90%; }
  .content h5 {
    color: #5c94cc;
    text-align: center;
    font-family: open-sans-bold; }

.sidebar-contact {
  font-family: open-sans-regular;
  margin-left: auto;
  margin-right: auto;
  margin-top: 25px;
  width: 90%;
  border: 2px solid #ccc;
  border-radius: 5px;
  background-color: whitesmoke; }
  .sidebar-contact h1 {
    color: #5c94cc;
    text-align: center;
    font-family: open-sans-bold; }

.map {
  margin-top: 22px;
  margin-left: 40px; }

.header-phone-number {
  position: relative;
  left: 10px;
  top: -4px; }

#toggle-bar {
  background-color: #000;
  padding: 10px;
  text-align: center; }

#mmenu {
  text-align: center;
  margin-left: 0; }
  #mmenu li {
    border-bottom: 2px solid black;
    line-height: 30px;
    padding-left: 10px;
    list-style: none;
    background-image: url("images/header_back.jpg"); }
    #mmenu li a {
      color: white; }
  #mmenu li:hover {
    background-color: green; }

.footer-news h5 {
  color: #5c94cc; }
.footer-news p {
  font-size: 12px; }

.footer-news-date {
  color: black; }

.posts {
  font-family: open-sans-regular; }
  .posts h2 {
    color: #5c94cc;
    font-family: open-sans-bold; }
  .posts .post-date {
    color: #999; }

.contact-footer {
  float: right; 
  line-height: 2;
}

.testimonial-body {
  margin-top: 50px;
  color: #444; }

.testimonial-company {
  color: #5c94cc;
  font-weight: bold;
  text-align: right;
  font-style: italic; }

#wpcf7-f50-o1 input {
  margin-bottom: 0;
  margin-top: -5px; }
#wpcf7-f50-o1 input[type='submit'] {
  background-color: #ccc;
  border: 2px solid #5c94cc;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer; }

.sidebar-contact {
  padding: 15px 5px; }
  .sidebar-contact input {
    margin-bottom: 0;
    margin-top: 0px; }
  .sidebar-contact input[type='submit'] {
    background-color: #ccc;
    border: 2px solid #5c94cc;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer; }

.home-testimonial-company {
  font-style: italic;
  text-align: right; }

blockquote {
  font-size: 13px;
  font-style: italic;
  width: 100%;
  margin: -10px 0 0 0;
  padding: 0.35em 10px 0px 40px;
  line-height: 1.45;
  position: relative;
  color: #383838;
  border: none; }

blockquote:before {
  display: block;
  padding-left: 10px;
  content: "\201C";
  font-size: 80px;
  position: absolute;
  left: -20px;
  top: -20px;
  color: #7a7a7a; }

blockquote cite {
  color: #5c94cc;
  font-weight: bold;
  text-align: right;
  font-style: italic; }

blockquote cite:before {
  content: "\2014 \2009"; }

h3 {
  margin-top: -25px; }

h4 {
  color: #5c94cc;
  font-family: open-sans-bold; }

.contact-icon {
  color: #5c94cc;
  margin-top: -10px;
  width: 40px;
  font-size: 40px;
  float: right; }

.footer-header-text {
  font-family: open-sans-regular;
  font-size: 20px;
  font-weight: lighter;
  color: white;
  margin-top: 30px;
  text-align: center; }

@media (max-width: 640px) {
  .footer-header-text {
    text-align: center;
    font-size: 15px; } }
a.footer-bar-button {
  background-color: #d5c0c0;
  border-radius: 5px;
  padding: 10px 60px; }

.footer-links {
  font-size: 12px;
  text-align: center;
  margin-bottom: 20px; }

img.alignright {
  float: right;
  margin: 0 0 1em 1em; }

img.alignleft {
  float: left;
  margin: 0 1em 1em 0; }

img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto; }

.alignright {
  float: right; }

.alignleft {
  float: left; }

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto; }


#nav_items .sub-menu {
  position: absolute;
  display: none;
  width: 220px;
  margin: 0;
  margin-top: 13px;
}


#nav_items .sub-menu li {
  float: left;
  width: 220px;
}

#nav_items .sub-menu li a {
  width: 220px;
  display: block;
  background-color: #5c94cc;
}

#nav_items .sub-menu li a:hover {
  background-color: #a23982;
}

#mmenu .menu-item-has-children {
  padding-left: 0;
}

#mmenu .sub-menu {
  margin:0;
}

#mmenu .sub-menu li {
  padding-left: 0;
}