/*
Theme Name: AFG Child Theme
Author: Australian Financial Group
Template: afg
Version: 1.0
*/


body .paddingrow {
  padding: 80px 0 !important;
}

.nectar-fancy-ul ul li {
  margin-bottom: 10px;
}

.darkarea a {
  text-decoration: underline;
  color: #fff !important;
}

.darkarea a:hover {
  font-weight: bold;
}

#footer-outer .widget h4 {
  color: #fff;
}

.small-text {
  font-size: 12px;
  color: #777;
}

#footer-outer #footer-widgets .col ul li::before {
  content: ">";
  padding-right: 10px;
  display: inline-block;
  font-size: 11px;
  color: #777 !important;
  line-height: 13px;
}

#footer-outer #footer-widgets .col ul li a {
  font-size: 13px;
  display: inline-block !important;
}

body h4, body h3 {
  margin-bottom: 20px !important;
}

body.material .button-sidebar .nectar-button.large {
  width: 100%;
  text-align: center;
}

.nectar_single_testimonial {
  padding: 20px;
  background: #dfdfdf;
  margin-top: 30px;
}

.shortcode-content h1 {
  margin-bottom: 60px;
}

.individual-broker-tile {
  margin-left: 0 !important;
  min-height: 360px !important;
}

.individual-broker-tile.broker-list {
  margin: 0 1% 20px 0 !important;
  min-height: 370px;
}

.nectar_single_testimonial[data-style="small_modern"] p span {
  color: #fff;
  float: left;
  padding-right: 30px;
  font-style: italic;
  font-family: times new roman;
}

.smartintro-block .mk-box-icon {
  clear: both;
  padding: 10px;
  margin: 20px 0 0 0;
  border: 1px dashed #999;
}

body header.transparent-bg #logo {
  background: transparent;
}

.smartintro-block .mk-box-icon .icon-box-title {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #000;
}

.nectar_single_testimonial p {
  font-weight: 400;
  line-height: 1.3em;
  margin: 20px 0 0 0;
  font-size: 16px;
  padding-bottom: 20px;
}

.quote-style {
  padding: 20px;
  background: #dfdfdf;
  overflow: hidden;
  width: 100%;
}

.quote-style p {
  float: right;
  width: 95%;
  padding: 15px 0 0 15px;
}

.quote-style i.fa-quote-left {
  float: left;
}

.nectar_single_testimonial .wrap span {
  font-weight: bold;
  color: #000;
  font-size: 16px;
}

.nectar_single_testimonial[data-style="basic_left_image"] .image-icon {
  top: 30px;
  left: 30px;
  border-radius: 0;
  width: 32px;
  height: 32px;
}

.calculator-listing-section .calculator-cta-block .nectar-button {
  float: right;
  top: 10px;
}

.calculator-listing-section .calculator-cta-block {
  border-radius: 10px;
  -moz-border-radius: 10px;
  background: #f7f7f7;
  padding: 30px 30px 40px 30px !important;
}

body .calculator-listing-section .calculator-cta-block h4 {
  margin-bottom: 0 !important;
  font-size: 20px;
}

.main-content > .row > #breadcrumbs {
  display: none;
}

.breadcrumbs-block, .breadcrumbs-block a {
  font-size: 13px !important;
  letter-spacing: 1px;
}

.breadcrumbs-block.white-text, .breadcrumbs-block.white-text a {
  color: #fff;
}

.breadcrumbs-block a:hover {
  text-decoration: underline;
}

body form .gform_body label.gfield_label, body form .gform_body label, body.page .gform_wrapper .top_label .gfield_label {
  font-size: 18px !important;
  font-weight: bold !important;
}

.home-banner .content-info-area {
  margin-top: 0;
}

.content-info-area {
  margin-top: 30px;
}

.content-info-area h3 {
  line-height: 1.3em !important;
}

body .container-wrap {
  padding-bottom: 0;
}

.profile-image {
  /* border-radius: 50%;
  width: 230px;
  margin: 25px auto 0 auto; */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 260px;
  width: 100%;
  border-radius: 50%;
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {
  .profile-image {
    min-height: 220px;
  }
}

@media only screen and (min-width: 1000px) and (max-width: 1199px) {
  .profile-image {
    min-height: 200px;
  }
}

@media only screen and (min-width: 690px) and (max-width: 999px) {
  .profile-image {
    min-height: 27em;
  }
}

@media only screen and (min-width: 475px) and (max-width: 689px) {
  .profile-image {
    min-height: 369.6px;
  }
}

@media only screen and (max-width: 474px) {
  .profile-image {
    min-height: 260px;
  }
}

.profile-block {
  padding: 6%;
}

.profile-block h4 {
  font-size: 30px !important;
}

.home .home-banner .white-font .vc_custom_heading {
  font-size: 40px;
}

.white-font, .white-font .vc_custom_heading {
  color: #fff !important;
}

.profile-block a {
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

.profile-block a:hover {
  text-decoration: underline;
}

body .profile-block [class^="icon-"].icon-default-style {
  width: 25px !important;
  line-height: 29px !important;
  font-size: 19px !important;
}

body .profile-block [class^="icon-"].icon-default-style.icon-mobile-phone {
  font-size: 25px !important;
}

.profile-block .iwithtext .iwt-text {
  padding-left: 35px;
}

.profile-block .img-with-aniamtion-wrap[data-max-width="75%"] img {
  float: left;
}

body[data-form-submit="regular"] .container-wrap input[type=submit] {
  font-weight: bold;
  text-transform: capitalise;
  letter-spacing: 1px;
}

body header #logo {
  margin: 0 !important;
  padding: 20px 35px;
  background: #fff;
}

body .small-nav header #logo {
    padding: 20px 20px 20px 0;
    margin: 0 !important;
    background: #fff;
}

header#top #logo .starting-logo {
    left: auto;
    top: 20px;
}

body #footer-outer {
    background-color: #2a2d34;
}

body .nectar-button {
    padding: 0 !important;
}

body:not([data-header-format="left-header"]) header#top nav >ul >li.megamenu >ul >li >a {
  letter-spacing: 0;
  text-transform: capitalize;
  font-size: 14px;
}

body .wpb_wrapper .profile-block .iwithtext {
  margin-bottom: 10px;
}

body .nectar-button span {
    text-transform: none;
    letter-spacing: 0;
    padding: 18px 25px;
    font-size: 16px;
}

.home .home-banner .nectar_icon_wrap[data-style="default"] {
    display: none;
}

body .container div[data-style="minimal"] .toggle.open h3 a i {
    border-color: #444 !important;
}

body .container div[data-style="minimal"] .toggle.open h3 a i::before, body .container div[data-style="minimal"] .toggle.open h3 a i::after {
    background-color: #444 !important;
}

body .container div[data-style="minimal"] .toggle.open h3 a {
    color: #444 !important;
}

body #copyright {
  text-align: center;
}

.posts-container .post-featured-img {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 400px;
  margin-bottom: 25px;
}

.posts-container .post-featured-img img {
  transition: transform .7s;
}

.posts-container .content-inner:hover .post-featured-img img {
  transform: scale(1.2);
}

.disclaimer-block {
  border-top: 2px solid #dddddd;
  padding: 25px 0;
  border-bottom: 2px solid #dddddd;
  margin: 50px 0;
}

.disclaimer-block p {
  font-size: 12px;
  margin-bottom: 0px;
}

.hide-form {
  display: none !important;
}

.similar-articles-block .thumb-img {
  width: 100%;
  height: 100px;
  background-position: center center;
  background-size: cover;
  margin-bottom: 15px;
}

.similar-articles-block h4 {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.similar-articles-block h5 {
  padding: 15px 10px;
  display: block;
  font-weight: 700;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.transparent-block .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
  background: #fff;
  border-radius: 0;
  color: #767676 !important;
}

.transparent-block .gform_wrapper .gform_footer input[type=submit] {
  border-radius: 5px;
  border: 2px solid #fff;
  background: transparent !important;
  color: #fff;
}

body.page .container-wrap .span_12.light .transparent-block .gform_wrapper .gform_footer input[type=submit]:hover {
  background-color: #fff !important;
  color: #767676 !important;
  opacity: 1.0 !important;
}

.single.single-post .section-title h1.entry-title, .single #single-below-header {
  text-align: left;
}

.single.single-post .row .meta-category {
  text-align: left;
  padding-left: 0;
}

.single .heading-title[data-header-style="default_minimal"] .meta-category a:first-child {
  margin-left: 0;
}

.home-banner, .banner-area {
  padding: 200px 0 !important;
}

.calculator-list .nectar-fancy-ul li {
  margin-bottom: 10px !important;
}

.calculator-list .nectar-fancy-ul li a {
  color: #676767;
}

.calculator-list .nectar-fancy-ul li a:hover {
  text-decoration: underline;
}

.calculator-list .nectar-fancy-ul li::before {
  background: url(images/calculator.png) no-repeat center center / cover;
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
}

#global-content-block {
  min-height: 100vh;
}

.copyright-block p, .contact-form-block .mk-single-disclaimer {
  font-size: 12px;
  line-height: 18px;
}

.wpb_wrapper .individual-broker-tile.single-broker-tile:nth-child(2), .wpb_wrapper .individual-broker-tile.single-broker-tile:nth-child(even) {
  margin-right: 1% !important;
}

.wpb_wrapper .individual-broker-tile.single-broker-tile.even-tile {
  margin-left: 10px !important;
}

.nectar_single_testimonial h1 {
  display: none;
}

.brokerimg {
  float: right !important;
}

.broker-photo {
  display: block;
  height: auto !important;
  width: auto;
  min-height: 150px;
  max-height: 150px;
  border-radius: 75px;
  -webkit-border-radius: 75px;
  -moz-border-radius: 75px;
}

.broker-app-desktop {
  display: none;
}

.standard_section .broker-app img {
  width: 183px !important;
  height: auto;
}

.page-id-202 h2.main-colour, .page-id-139 h2.vc_custom_heading {
  font-weight: 600;
  font-size: 42px !important;
  line-height: 63px !important;
}

.profile-block .brokerinfo .iwt-text a {
  display: inline-block;
  padding-right: 20px;
  word-break: break-word;
}

@media screen and (max-width: 1024px) {
  
  body header #logo {
    padding: 0;
  }
  
  .home-banner, .banner-area {
    padding: 50px 0 120px !important;
  }
 
  .parent-pageid-139 div.vc_column-inner .wpb_raw_code {
    margin-left: 0 !important;
  }

  .home .home-banner .custom-icon-wrap {
    text-align: center;
  }

  .page-id-139 h2.vc_custom_heading{
    font-size: 24px !important;
    line-height: 36px !important;
  }

  .span_12.light .wpb_text_column a:not(:hover){
    opacity: 1;
  }

  .page-id-202 h2.main-colour{
    font-size: 24px !important;
    line-height: 36px !important;
  }

}


@media screen and (max-width: 767px) {
  
  body .calculator-listing-section .calculator-cta-block h4 {
    margin-bottom: 10px !important;
  }

  .nectar_single_testimonial[data-style="basic_left_image"] {
    padding: 0 10px 0 0;
  }

  .home-banner .wpb_content_element h2 {
    line-height: 1.3em;
  }
  
  body .calculator-listing-section .calculator-cta-block .nectar-button.large {
    width: 100%;
    text-align: center;
  }

  .nectar_single_testimonial[data-style="basic_left_image"] .image-icon { display: none; }
  
  .posts-container .post-featured-img {
    height: 200px;
  }
  
  iframe.iframe-embed, iframe {
    width: 100% !important;
  }
  
  .single .heading-title[data-header-style="default_minimal"] .meta-category a {
    display: block;
    text-align: center;
    margin: 5px 0;
  }
  
  article.post .more-link span {
    display: block;
    text-align: center;
  }
  
}


/* AFG CUSTOM STYLES */

/* ==== GRID SYSTEM ==== */

.acon {
  width: 99%;
  margin-left: auto;
  margin-right: auto;
  display: -webkit-inline-box;
}

.arow {
  position: relative;
  width: 100%;
}

.arow [class^="acol"] {
  float: left;
    margin-right: 20px;
    min-height: 0.125rem;
}

.acol-1 {
    width: 23%;
  }

.acol-2b {
    width: 45%;
  }

  .acol-2 {
    width: 45%;
		margin-bottom: 50px;
  }

.acol-3 {
    width: 70%;
  }


  .acol-4 {
    width: 18%;
  }

@media only screen and (min-width: 980px) and (max-width: 1320px) {

	header#top nav > ul > li > a { font-size: 12px !important; }

}
  
@media only screen and (max-width: 1024px) and (min-device-width: 320px) {

  .acol-2b {
    width: 100%;
  }

  .acol-1, .acol-2, .acol-3 {
    width: 100%;
		text-align: -webkit-center;
  }

  .home-banner .content-info-area {
    text-align: center;
  }

  .home-banner .content-info-area h3.vc_custom_heading a {
    font-size: 45px;
    line-height: 55px;
  }

  .home-banner .nectar_icon_wrap, .home-banner .vc_col-sm-8 {
    display: none;
  }

}

/* ==== Custom About Us ==== */

h3.custom-about {
border-bottom: 1px solid #CCCCCC!important;
padding: 5px 0px;
}

/* Custom Testimonials */

.tes-icon {
    font-size: 25px;
    margin-top: 15px;
}

@media only screen and (max-width: 690px) {
  .staff-tile .col.span_12 {
    display: flex;
    flex-direction: column;
  }
  
  .staff-tile .staff-content {
    order: 2;
    margin-bottom: 0px !important;
  }

  .staff-tile .profile-image {
    margin: 25px 0;
  }

  .page-id-139 h2.vc_custom_heading, .page-id-202 h2.main-colour{
    font-size: 22.5px !important;
    line-height: 33.75px !important;
  }
}


/* Below CSS for broker profile image in about page,  */
.logged-in.vc_editor .profile-image {
  min-height: 260px;
}

.vc_row-fluid>.span_12 .wpb_column.single-broker-tile{
  padding: 0;
}

@media only screen and (min-width: 690px) and (max-width: 999px) {
  .logged-in.vc_editor .profile-image {
      min-height: 27em;
  }
}

@media only screen and (min-width: 1000px) and (max-width: 1199px) {
  .logged-in.vc_editor .profile-image {
      min-height: 200px;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {
  .logged-in.vc_editor .profile-image {
      min-height: 220px;
  }
}

/* Calculator page flip box icon alignment */
.vc_editor .nectar-flip-box .flip-box-front i{
  width: auto !important;
  height: auto !important;
}