/* Contact Form in Footer Styles */

div.contact-form h3 {
  margin-bottom:5px;
}

form#gform_7 .ginput_container {
  max-width: 230px;
}

form#gform_7 input,
form#gform_7 textarea {
  box-sizing: border-box;
  padding:5px;
  width:100%;
}

form#gform_7 #gform_fields_7 .gfield_error {
  margin:0px !important;
  padding:0px !important;
  background-color: transparent;
  background: none;
  border: none;
  width:100%;
}

form#gform_7 #gform_fields_7 .gfield_error .ginput_container {
  max-width: 230px;
  margin:0px;
}

form#gform_7 .gfield_description {
  display: none;
}


/* Contact Page Styles */
body.page-id-23 article {
  width:100%;
}

body.page-id-23 iframe,
#pwc-map-canvas-east,
#pwc-map-canvas-perth,
#pwc-map-canvas-port,
#pwc-map-canvas-ldn,
#pwc-map-canvas-syd,
#pwc-map-canvas-melb,
#pwc-map-canvas-kl,
#pwc-map-canvas-sing,
#pwc-map-canvas-hgkg {
  width:100%%;
  height: 320px;
  margin:10px 0px;
}

body.page-id-23 .macro-contact-information,
body.page-id-23 .macro-officehours-map {
  display: inline-block;
}

body.page-id-23 .macro-contact-information {
  width:400px;
  vertical-align: top;
}

body.page-id-23 .macro-contact-information a span {
  color: #8C006B !important;
}

body.page-id-23 .macro-officehours-map {
  width: 575px;
}

body.page-id-23 .macro-officehours-map h3,
body.page-id-23 .macro-officehours-map p {
  margin:0px;
}


/* Our Team Styles */

body.page-id-797 h2 {
  display:none;
}

body.page-id-797 .macro-location-title {
  display:block;
}


body.page-id-797 article {
  width: 100%;
}

body.page-id-797 aside {
  display: none;
}

body.page-id-797 article .card {
  width: 230px;
  height: 300px;
  position: relative;
  z-index: 1;
  display: inline-block;
  vertical-align: top;
  margin:5px 6px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

body.page-id-797 article .card img {
  position: relative;
  z-index: 1;
  width:200px;
  height: 230px;
  float: none;
  border:none !important;
  margin: 0 15px !important;
  text-align: center;
}

body.page-id-797 article .card:hover {
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  border-radius: 4px;
  z-index: 9;
}

body.page-id-797 article .card:hover > .cardBody {
  display: block;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  z-index: 9;

}

body.page-id-797 article h4,
body.page-id-797 article h5,
body.page-id-797 article h6 {
  margin:0px !important;
  padding-left:5px;
  z-index: 1;
}

body.page-id-797 article p {
  margin-bottom: 5px;
}

body.page-id-797 article h5,
body.page-id-797 article h6 {
  font-size: 10px;
}

body.page-id-797 article h6 {
  text-transform: none;
}

body.page-id-797 .cardBody {
  font-size: 13px;
  line-height: 1.4em;
  display: none;
  box-sizing: border-box;
  padding:5px;
  background-color: #ffffff;
  z-index: 2;
  color: #4a4a49;
}

body.page-id-797 .cardBody p {
  font-size: 13px;
  line-height: 1.4em;
  color: #4a4a49;
}

body.page-id-797 article .team-photo {
  height: 449px;
  width: 674px;
  margin:10px 0px;
}

/* Invest gfrom 3 Styles */
#gform_2 .validation_error,
#gform_3 .validation_error {
  margin:0px;
  padding:10px;
  font-size: 14px;
}

#gform_2 .gform_body #gform_fields_2 .gfield_error,
#gform_3 .gform_body #gform_fields_3 .gfield_error {
  background-color: transparent;
  border:none;
  margin:0px !important;
  padding-left:0px !important;
}
#gform_2 .gform_body #gform_fields_2 .gfield_error .gfield_description,
#gform_3 .gform_body #gform_fields_3 .gfield_error .gfield_description {
  display: none;
}

#gform_2 .gform_body #gform_fields_2 .gfield_error .ginput_container,
#gform_3 .gform_body #gform_fields_3 .gfield_error .ginput_container,
#gform_2 .gform_body #gform_fields_2 .gfield_error input,
#gform_3 .gform_body #gform_fields_3 .gfield_error input {
  margin:0px !important;
}

#gform_2 .gform_body #gform_fields_2 .gfield_error input,
#gform_3 .gform_body #gform_fields_3 .gfield_error input {
  border: solid 1px red;
}

/*Home Page Carousel Overflow Style.*/
#bannermanager,
#bannermanager ul.slides {
  max-height: 350px;
  overflow: hidden !important;
}

/*Home Page Number Style*/
body .header-number {
  position: absolute;
  right: 30px;
  top:18px;
}

.header-number a {
  color: #fff !important;
  font-size: 20px;
}

body.home #bannermanager {
  position: relative;
}

body.home #bannermanager .flex-control-paging {
  position: absolute;
  top:313px;
  z-index: 2;
}


/* HelloBar Gform */
.macro-hellobar-form_wrapper {
  width:100% !important;
  max-width:100% !important;
  margin:10px 0px !important;
}

form.macro-hellobar-form {
  background-color: #fff;
  border-top:solid 1px #CCCCC9;
  border-bottom:solid 1px #CCCCC9;
  padding-top: 20px;
  padding-bottom: 10px;

}

form.macro-hellobar-form .gform_heading .gform_title {
  position: absolute;
  left: -9999px;
}

form.macro-hellobar-form .gform_heading .gform_title .gform_description {
  position: relative;
  top:10px;
  color: #474747;
}

form.macro-hellobar-form .gform_heading {
  position: relative;
  top: 7px;
  width: 410px;
  font-size: 30px;
  text-transform: uppercase;
  margin:0px;
  color: #474747;
  padding-left: 5px;
}

form.macro-hellobar-form .gform_heading,
form.macro-hellobar-form .gform_body,
form.macro-hellobar-form .gform_footer {
  display: inline-block;
  font-family: LatoRegular;
}

form.macro-hellobar-form .gform_body {
  max-width: 400px;
}

form.macro-hellobar-form .gform_body li {
  display: inline-block;
}

form.macro-hellobar-form input {
  width:170px !important;
  margin:8px 3px;
}

form.macro-hellobar-form .gform_footer {
  position: relative;
  top:-20px;
  margin:0px;
  padding:0px;
}

form.macro-hellobar-form .gform_footer .button {
  margin:0px;
  padding:5px;
  background-color: #8C006B;
  color:#fff;
  border-radius: 4px;
  border:none;
  width: 150px !important;
  height: 70px;
  text-transform: uppercase;
  cursor:pointer;
}


/* HelloBar Gform Error Code*/
.macro-hellobar-form_wrapper .validation_error {
  display: none;
}

.macro-hellobar-form_wrapper .gform_body ul li.gfield_error {
  margin:0px !important;
  margin-bottom: 0px !important;
  padding:0px !important;
  max-width: 180px;
  background-color: #fff;
  border:none;
}

.macro-hellobar-form_wrapper .gform_body ul li.gfield_error .gfield_description {
  display: none;
}

.macro-hellobar-form_wrapper .gform_body ul li.gfield_error .ginput_container {
  margin:0px !important;
}

.macro-hellobar-form_wrapper li.gfield.gfield_error.gfield_contains_required {
  margin:0px !important;
}

/* HelloBar Confirmation Message */
.macro-hellobar-form .gform_confirmation_message {
  font-size: 35px;
  font-weight: bold;
  color: #474747;
  width: 99%;
  border-top: solid 1px #CCCCC9;
  border-bottom: solid 1px #CCCCC9;
  padding-top: 20px;
  padding-bottom: 10px;
  padding-left: 5px;
  padding-right: 5px;
  background-color: #fff;
  text-align: center;
}

/* Add first image to blog preview */
body.blog .post_content {
	text-align: center;
}

body.blog .post_content p {
	text-align: left;
}

body.blog .macro-first-img-blog,
body.archive .macro-first-img-blog,
body.blog .macro-first-youtube-blog,
body.archive .macro-first-youtube-blog {
  max-width: 570px;
}

#gform_confirmation_message_7 {
	color: #fff;
	letter-spacing:1px;
}

.contact-form .gf_submission_limit_message {
	letter-spacing:1px;
}


.contact-form .gf_submission_limit_message p {
	color: #fff;
}


#gform_wrapper_18 {
    margin-top:40px;
    margin-bottom:0px;
}
 
#gform_wrapper_18 .gform_heading {
    position: absolute;
    top: -48px;
    padding-left:20px;
    margin-bottom:0px;
}

.footer_main .macro-office {
    width:175px !important;
    padding: 0px !important;
}

.footer_main .macro-office h4 {
    margin:9px 0px;
}
