/*
Theme Name: Pillar Child
Theme URI: 
Description: Child theme for the pillar theme
Author: <a href="http://www.tommusrhodus.com">Tom Rhodes</a>
Author URI: http://www.tommusrhodus.com
Template: pillar
Version: 1.0.0
*/

/* Brian Style */
.cpd-cards.vc_row.wpb_row.vc_inner.vc_row-fluid {
    margin-bottom: 40px;
  }
  
.cpd-icon{
    width: 50%;
    float: initial;
    margin-left: auto;
    margin-right: auto;
    display: block;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 100px;
}

.tooltip {
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 100%;
    background-color: #575757;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 20px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 1.3s;
  }
  
  .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }


.cpd-card .vc_column-inner  {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 22px;
    margin-left: auto;
    margin-right: auto;
    display: block;
     }


.menu > li ul {
    white-space: inherit !important;
     background: #232323;
    margin-top: 3px;
    transition: .2s linear;
    -webkit-transition: .2s linear;
    -moz-transition: .2s linear;
    padding: 1.625em;
      padding-left: 1.625em;
    min-width: 16em;
  }

.utility-bar {
    padding-top: 0.8125em;
    padding-bottom: 0.8125em;
    padding-right: 1.625em;
    display: none !important;
}

.nav-bar {
    background-color: #333 !important !important;
}

.nav-module.menu-module {
    margin: 0 auto;
    float: right;
}

body .shiftnav-disable-shift-body {
    padding-top: 0px;
}

@media screen and (min-width: 990px) {
    #shiftnav-toggle-main {
        display: none;
    }

    body.shiftnav-disable-shift-body {
        padding-top: 0px !important;
    }
}

.shiftnav.shiftnav-skin-standard-dark,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu {
    background: #292929 !important;
    color: #eee;
}

.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu ul.sub-menu {
    color: #ccc;
    background: #4C9AB8 !important;
}

.shiftnav.shiftnav-nojs.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item>.shiftnav-target:hover,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.shiftnav-active>.shiftnav-target,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.shiftnav-in-transition>.shiftnav-target,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.current-menu-item>.shiftnav-target,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu>li.shiftnav-sub-accordion.current-menu-ancestor>.shiftnav-target,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu>li.shiftnav-sub-shift.current-menu-ancestor>.shiftnav-target,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu.shiftnav-active-highlight li.menu-item>.shiftnav-target:active,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu.shiftnav-active-on-hover li.menu-item>.shiftnav-target:hover {
    color: #eee;
    background: #3398B5;
    border-top-color: rgba(255, 255, 255, .4);
    border-bottom-color: rgba(0, 0, 0, .8);
}

.vc_btn3.vc_btn3-color-grey.vc_btn3-style-modern {
    color: #666;
    border-color: #292929 !important;
    background-color: #292929 !important;
  }

  input[type="submit"] {
    height: 52px;
    font-size: .625em !important;
    letter-spacing: 1px;
    color: #f28331 !important;
    background: transparent;
    border-color: #f5833b !important;
    border-radius: 230px;
    border: 2px solid #f8832a !important;
  }

  input[type="submit"] :hover {
    height: 52px;
    font-size: .625em !important;
    letter-spacing: 1px;
    color: #ffffff !important;
    background: #f5833b !important;
    border-color: #f5833b !important;
    border-radius: 230px;
    border: 2px solid #f8832a !important;
  }

/* Brian Style end */

@import url('../pillar/style.css');

@media all and (max-width: 1024px) {

    .parallax>.background-image-holder,
    .parallax .slides li>.background-image-holder {
        top: 0 !important;
        transform: none !important;
        -webkit-transform: none !important;
        height: 100%;
    }
}

.nav-bar {
    background: url(https://www.affinitywba.co.za/wp-content/uploads/2019/07/blnk.png ) !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

/* Banner tweaks */
/*
.logo-module {
    display: block !important;
}
*/
.menu-item {
    float: none !important;
    display: inline !important;
}

.nav-module {
    text-align: center !important;
}

.full-button {
    width: 100% !important;
    font-size: 15px !important;
}

input[type="submit"] {
    font-size: 15px !important;
}

input[type="text"],
input[type="address"],
input[type="url"],
input[type="password"],
input[type="email"],
input[type="search"],
input[type="tel"] {
    border: 1px solid #376280 !important;
    background-color: #ffffff !important;
}

textarea {
    border: 1px solid #376280 !important;
    background-color: #ffffff !important;
    border-radius: 20px !important;
    height: 100% !important;
    padding-top: 20px !important;
    padding-left: 20px !important
}

select {
    border: 1px solid #376280 !important;
    background-color: #ffffff !important;
    border-radius: 50px !important;
    height: 50px !important;
    color: #F58634 !important;
    font-style: italic !important
}

option {
    color: #F58634 !important;
    font-style: italic !important
}

::placeholder {
    color: #F58634 !important;
}

.textwidget ::placeholder {
    color: #376280 !important;
}

.eapps-testimonials-slider-page-item-author-info-name {
    text-transform: uppercase !important;
}

@media all {
    a {
        color: #ffffff !important;
    }
}

#top-logo-container {
    padding: 0px !important;
}

/* styling the menu { */
.nav-module>.menu>li ul {
    left: -200% !important;
    top: 20px !important;
    padding-left: 10px !important;
}

/*subnav menu items */
.nav-module>.menu>li ul li a {
    width: auto !important;
    padding-left: 20px;
    padding-right: 20px;
}

.taptap-by-bonfire>.menu>ul {
    display: block !important;
}

.type--fine-print {
    font-family: Verdana, Geneva, Tahoma, sans-serif !important;
}

/* TapTap-bonfire tweaks { */
.taptap-by-bonfire .sub-menu a,
.taptap-by-bonfire .menu>li ul li a,
.taptap-by-bonfire .menu>li>ul a,
.taptap-by-bonfire .menu>li>ul a,
.taptap-by-bonfire ul li a {
    all: initial !important;
    all: unset !important;
    word-wrap: break-word !important;
    width: 200px !important;
    font-size: 20px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    color: #ffffff !important;
}

.taptap-by-bonfire ul li a {
    display: block !important;
}

.taptap-sub-arrow,
.taptap-submenu-active {

    position: relative !important;
    float: right !important;
    top: -35px !important;
    right: -25px !important;
}

.taptap-by-bonfire .sub-menu a,
.taptap-by-bonfire .menu>li ul li a,
.taptap-by-bonfire .menu>li>ul a,
.taptap-by-bonfire .menu>li ul li,
.taptap-by-bonfire .menu li.active>ul,
.taptap-by-bonfire .menu li.active .multi-column ul {
    all: initial !important;
    all: unset !important;
    position: relative !important;
    word-wrap: break-word !important;
    display: block !important;
    width: 200px !important;
    text-align: left !important;
    font-size: 12px !important;
    padding: 0px !important;
    margin: 0px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    color: #ffffff !important;
}

/*
    .menu-main-menu-mobile > li
    {
        all:unset !important;
        all:initial !important;
    }

    .taptap-sub-arrow, .taptap-sub-arrow, .taptap-submenu-active
    {
        display: inline-block !important;
    }



/* Theme tweaks { */
.row_no_bot_padding {
    padding-bottom: 0px !important;
    padding-top: 0px !important
}

.white-heading {
    color: #ffffff !important
}

.no-side-padding {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.no-left-padding {
    padding-left: 0px !important;
}

.no-right-padding {
    padding-right: 0px !important;
}

.cross-span-img {
    position: absolute !important;
    width: 70vw !important;
    z-index: 1;
}

td img {
    margin: 0px !important;
    padding: 0px !important;
}

/* Used in Revolution slider { */
.grad_text_bl {
    text-align: right !important;
}

.grad_text_or {
    text-align: right !important;
}

.rev-btn {
    text-align: center !important;
}

/* Used in Testimonials slider { */
.eapps-testimonials-slider-slider .eui-slider-slide {
    height: 320px !important;
}

.lcnb_prev,
.lcnb_next {
    background-color: transparent !important;
    border: none !important;
}

.lcnb_news {
    background-color: transparent !important;
    border: none !important;
    border-left: 1px solid #ffffff !important;
    border-right: 1px solid #ffffff !important;
}

.lcnb_contents {
    padding-top: 30px !important;
}

.lcnb_btm_bar {
    padding-bottom: 30px !important;
}

.lcnb_minimal_theme .lcnb_title {
    border: none !important;
    color: #ffffff !important;
}

.lcnb_txt,
.lcnb_exp_txt p,
.lcnb_close::before,
.lcnb_social_trigger,
.lcnb_btn_expand,
.lcnb_link {
    color: #ffffff !important;
}

.lcnb_rm_btn {
    color: #ffffff !important;
    background-color: transparent !important;
    border: 1px solid #ffffff !important;
    border-radius: 20px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    padding-left: 50px !important;
    padding-right: 50px !important;
    text-transform: uppercase !important;
}

.lcnb_exp_block {
    background-color: transparent !important;
}

/* Used in the Footer { */
.textwidget,
.textwidget h6,
.widget-title {
    text-align: center !important;
}

.textwidget {
    font-size: 12px !important;
}

.textwidget h6,
.widget-title {
    font-size: 15px !important;
}

/* Used in the copyright section { */
.type--fine-print {
    color: #F58634 !important;
    font-weight: bold !important;
}

/* Custom html section (Testimonials and Seta Container) { */
#yng_stnds_container {
    height: 570px !important;
    width: 50% !important;
    float: left;
    background-image: url(https://www.affinitywba.co.za/wp-content/uploads/2019/07/yng_stdnts.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
}

#testimonials_container {
    height: 320px !important;
    width: 50% !important;
    float: left;
}

#seta_container {
    height: 250px !important;
    width: 50% !important;
    float: left;
    padding: 30px;
    text-align: center;
}

#seta_container img {
    height: 70%;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
}

/* About Us Page specific styles */
/* used in Our Mission section { */
#our_mission_globe {
    height: 400px;
    background-image: url(https://www.affinitywba.co.za/wp-content/uploads/2019/07/globe.png);
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: -15px;
}

/* Used in Our Aim Section { */
#aim_arrow {
    background-image: url(https://www.affinitywba.co.za/wp-content/uploads/2019/07/tribg-1.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 100% 100px !important;
    height: 100px;
    z-index: 1;
    position: relative;
}

#we-aim-container {
    padding: 0px !important;
}

#we-aim {
    background-image: url(https://www.affinitywba.co.za/wp-content/uploads/2019/07/weaim.jpg);
    min-height: 500px !important;
    background-size: cover;
    background-position: right;
}

#we-aim-table-container {
    margin-top: 120px !important;
}

.we-aim-table td {
    color: #ffffff !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    font-size: 15px;
    font-weight: 300;
}

.edu-hat {
    width: 100px;
    min-width: 60px !important;
}

/* Qualifications page specific styles */
/* Used in WM section { */
#wm-img img {
    width: 120px !important;
    height: 120px !important;
}

/* FET page specific styles */
/* Top image styles { */
#fet-page {
    background-image: url(https://www.affinitywba.co.za/wp-content/uploads/2019/07/fetpage.png);
    min-height: 950px;
    background-position: left;
    background-size: cover;
    background-repeat: no-repeat;
}

#fet-page2 {
    background-image: url(https://www.affinitywba.co.za/wp-content/uploads/2019/07/fetpage2.png);
    min-height: 950px;
    background-position: left;
    background-size: cover;
    background-repeat: no-repeat;
}

tbody,
table,
tr,
td {
    border: 0px !important;
}

/* Connections image container { */
.oifey {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

#connections-container img {
    width: 200px !important;
}

#connections-container .this-one-here {
    border-right: 1px solid #427F9A !important;
}

#nc-container-2 {
    display: table !important;
}

#nc-container-2 div {
    vertical-align: middle !important;
    display: inline-block;
}

#apply-now {
    cursor: pointer !important;
}

#apply-now:hover {
    opacity: 0.8 !important;
}

#apply-now-mobile {
    cursor: pointer !important;
}

#apply-now-mobile:hover {
    opacity: 0.8 !important;
}


/* Responsive Section Code { */
/* Desktop { */
@media screen and (min-width: 990px) {

    h1,
    h2 {
        font-size: 40px !important;
    }

    .taptap-menu-button-wrapper {
        display: none !important;
    }

    .show-on-mobile,
    .show-on-tablet {
        display: none !important;
    }

    .show-on-desktop {
        display: block !important;
    }

    #value1,
    #value2,
    #value3,
    #value4,
    #value5 {
        height: 205px !important;
        vertical-align: top !important;
    }

    #value1 h4,
    #value2 h4,
    #value3 h4,
    #value4 h4,
    #value5 h4 {
        text-align: center;
    }

}

/* Tablet */
@media screen and (min-width: 766px) and (max-width: 989px) {

    body.shiftnav-disable-shift-body {
        padding-top: 46px !important;
    }

    .nav-module.menu-module {
        margin: 0 auto;
        float: right;
        display: none !important;
    }

    .nav-mobile-toggle.visible-sm.visible-xs {
        display: none !important;
    }

    .nav-bar {
        background-color: #292929 !important;

    }

    h1,
    h2 {
        font-size: 50px !important;
    }

    #we-aim {
        min-height: 600px !important
    }

    /*
    .nav-mobile-toggle {
        display: none !important;
    }
*/
    .show-on-desktop,
    .show-on-mobile {
        display: none !important;
    }

    .show-on-tablet {
        display: block !important;
    }

    #value1,
    #value2,
    #value3,
    #value4,
    #value5 {
        height: 205px !important;
        vertical-align: top !important;
    }

    #value1 h4,
    #value2 h4,
    #value3 h4,
    #value4 h4,
    #value5 h4 {
        text-align: center;
    }

}

/* Mobile */

@media screen and (min-width: 765px) and (max-width: 784px){

    .cpd-card.wpb_column.column_container.col-sm-4 {
        padding-bottom: 120px;
      }  

      .tooltip .tooltiptext {
        visibility: hidden;
        width: 80% !important;
        background-color: #575757;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 20px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -200px !important;
        opacity: 0;
        transition: opacity 1.3s;
      }
      

}

@media screen and (min-width: 200px) and (max-width: 765px) {

    .tooltip .tooltiptext {
        visibility: hidden;
        width: 80% !important;
        background-color: #575757;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 20px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -200px !important;
        opacity: 0;
        transition: opacity 1.3s;
      }

    body.shiftnav-disable-shift-body {
        padding-top: 48px !important;
    }

    .cpd-card.wpb_column.column_container.col-sm-4 {
        padding-bottom: 120px;
      }

    .nav-module.menu-module {
        margin: 0 auto;
        float: right;
        display: none !important;
    }

    .nav-mobile-toggle.visible-sm.visible-xs {
        display: none !important;
    }

    .nav-bar {
        background-color: #292929 !important;

    }

    h1,
    h2 {
        font-size: 40px !important;
    }

    /* Remove yng_stndts and extend rows */
    /* Custom html section (Testimonials and Seta Container) { */
    #yng_stnds_container {
        display: none;
    }

    #testimonials_container {
        width: 100% !important
    }

    #seta_container {
        width: 100% !important
    }

    /* MW section specific style { */
    #wmfet-space {
        display: none !important;
    }

    /*
    .nav-mobile-toggle {
        display: none !important;
    }
*/
    .show-on-desktop,
    .show-on-tablet {
        display: none !important;
    }

    .show-on-mobile {
        display: block !important;
    }
}