/* GLOBAL STYLES ADDED HERE */

/* IMPORTANT FOR MOBILE VIEW - HEADER LOGO WIDTH */

    .header-main .ftr-logo {
    max-width: 100% !important;
    }
    img {
    max-width: 100%;
    }
    @media screen and (max-width: 991px) {
    .text-desktop-left {
    text-align: center;
    }
    }
    /* HOME PAGE STYLES */
    /* Light Blue - 5F8FB4 */
    /* Dark Blue - 002855 */
    /* Really Light Blue - a6c6de */
    .header-main {
    background: rgba(0, 40, 85, .9);
    }
    .interior .nav-overall-wrapper:not(.van-mobile-nav) {
    /*background: rgba(0, 40, 85, .9) !important; */
    }
    .nav-sticky {
    /*background: rgba(0, 40, 85, .9) !important; */
    }
    .full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    }
    .billboard-container {
    max-height: 200px;
    min-height: 200px;
    }
    .intro-section {
    border-bottom: solid 4px #5F8FB4;
    }
    .bar1-animate:before, .bar2-animate:before, .bar3-animate:before, .bar4-animate:before, .bar5-animate:before, .bar6-animate:before, .bar7-animate:before, .bar8-animate:before, .bar9-animate:before, .bar10-animate:before, .bar11-animate:before, .bar12-animate:before {
    content: '';
    display: block;
    background: #5F8FB4;
    }
    .main-content h1, .h1 {
    font-size: 2em !important;
    margin-bottom: 0.6em !important;
    color: #5f8fb4 !important;
    }
    .main-content h2, .h2 {
    font-size: 1.6em;
    margin-bottom: 0.6em;
    color: #5f8fb4  !important;
    }
    h2.sub-head-main {
    text-align: center;
    }
    .billboard-heading h1 .head-1 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    margin-bottom: .2em;
    }
    .billboard-heading h1 .head-2 {
    font-family: 'Abel', sans-serif !important;
    font-size: 21px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    color: #a6c6de;
    }
    /*
    .billboard-heading h1:before {
    border-top: solid 2px #5f8fb4;
    }
    .primary-nav &gt; li &gt; a.selected, .primary-nav &gt; li &gt; a.active, .nav-standard.selected {
    color: #5f8fb4;
    }
    .nav-overall-wrapper:not(.van-mobile-nav) .nav .primary-nav .nav-subnav li:not(.nav-top-link) a:hover {
    color: #5f8fb4;
    }
    .primary-nav &gt; li &gt; a:hover {
    color: #5f8fb4 !important;
    }
    */
    .copy-section:before {
    background-color: #5f8fb4;
    }
    .copy-section h1 .head-1 {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 1.4em important;
    font-style: normal important;
    color: #5f8fb4 important;
    font-weight: 600 important;
    text-transform: uppercase important;
    letter-spacing: 0 important;
    }
    .copy-section h1 .head-2 {
    font-family: 'Abel', sans-serif !important;
    font-size: 1em !important;
    color: #ab8336 !important;
    letter-spacing: 2px !important;
    }
    .social-container .fa {
    color: #5f8fb4;
    }
    .header-social .social-container .fa {
    color: #ffffff;
    }
    .header-social .social-container .fa:hover {
    opacity: .5;
    }
    .services-section {
    overflow: auto;
    border-top: 3px solid #002949;
    background: #002949;
    background: -moz-radial-gradient(center, ellipse cover, #00578A 0%, #00578A 0%, #002949 99%);
    background: -webkit-radial-gradient(center, ellipse cover, #00578A 0%, #00578A 0%, #002949 99%);
    background: radial-gradient(ellipse at center, #00578A 0%, #00578A 0%, #002949 99%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00578A', endColorstr='#002949',GradientType=1 );
    padding: 3em 0;
    margin-top: 5em;
    margin-bottom: -80px;
    }
    .services-section .container {
    max-width: 1170px;
    }
    @media screen and (min-width: 992px) {
    .services-section .container {
    display: flex;
    align-items: center;
    }
    }
    .services-intro, .services-slider {
    display: none;
    }
    .services-section .sub-head-main .head-1 {
    color: #fff;
    }
    .services-section p {
    color: #fff;
    }
    /* HOME PAGE TEAM SECTION */
    .team-section .team-copy h2 .head-1 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 45px;
    font-style: normal;
    color: #5f8fb4;
    font-weight: 600;
    text-transform: uppercase;
    }
    .team-section .team-copy h2 .head-2 {
    font-family: 'Abel', sans-serif;
    font-size: 24px;
    color: #515151;
    text-transform: uppercase;
    font-style: normal;
    display: block;
    letter-spacing: 2px;
    }
    .yearbook-three .yearbook-hr {
    background-color: #5f8fb4;
    }
    .team-section .team-slider .yearbook-container .slick-next {
    border-top: 1px solid #5f8fb4;
    border-right: 1px solid #5f8fb4;
    }
    .team-section .team-slider .yearbook-container .slick-prev {
    border-top: 1px solid #5f8fb4;
    border-left: 1px solid #5f8fb4;
    }
    .team-section {
    border-bottom: solid 4px #5f8fb4;
    }
    /* CALLOUTS SECTION */
    .callouts-container .callout-item .callout-image-wrapper, .callouts-mobile-slider .callout-item .callout-image-wrapper {
    max-height: 233px;
    }
    .callouts-section .callouts-container .callout-item .callout-heading-wrapper .callout-heading, .callouts-section .callouts-version-1.callouts-mobile-slider .callout-slide .callout-heading-wrapper .callout-heading {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.5em;
    font-style: normal;
    color: #5f8fb4;
    font-weight: 600;
    text-transform: uppercase;
    }
    .callouts-section .callouts-container .callout-item:hover .callout-image-wrapper:before, .callouts-section .callouts-mobile-slider .callout-item:hover .callout-image-wrapper:before {
    background: #5f8fb4;
    }
    .callouts-section {
    border-bottom: solid 4px #5f8fb4;
    }
    .callouts-section .callouts-container {
    padding-top: 0;
    }
    .callouts-section .callouts-content h2 {
    animation-name: slideInDownSmall;
    animation-delay: .5s;
    animation-duration: 1s;
    margin-top: 2em;
    }
    .callouts-section .callouts-content h2 .head-1 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 45px;
    font-style: normal;
    color: #5f8fb4;
    font-weight: 600;
    text-transform: uppercase;
    animation-name: slideInDownSmall;
    animation-delay: 0s;
    animation-duration: 1s;
    }
    .callouts-section .callouts-content h2 .head-2 {
    font-family: 'Abel', sans-serif;
    font-size: 24px;
    color: #515151;
    text-transform: uppercase;
    font-style: normal;
    display: block;
    letter-spacing: 2px;
    }
    @media only screen and (max-width: 768px) {
    .callouts-section .callout-item {
    margin-bottom: 1em;
    }
    }
    /* NICHE SECTION */
    .niche-section {
    min-height: 1160px !important;
    background-image: url(https://www.raymondjames.ca/-/media/rj/rjl-advisor-sites/global/model-1-master-template/fa-mwebsite_001.jpg) !important;
    border-top: solid 4px #5f8fb4;
    }
    .niche-section .niche-content:before {
    background-color: #5f8fb4;
    display: none !important;
    }
    h2 .head-1 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 45px;
    font-style: normal;
    color: #5f8fb4;
    font-weight: 600;
    text-transform: uppercase;
    animation-name: slideInDownSmall;
    animation-delay: 0s;
    animation-duration: 1s;
    }
    h2 .head-2 {
    font-family: 'Abel', sans-serif;
    font-size: 24px;
    color: #515151;
    text-transform: uppercase;
    font-style: normal;
    display: block;
    letter-spacing: 2px;
    }
    .multiple-btns a.btn, .multiple-btns button.btn {
    display: inline-block;
    margin: 0 .5em;
    }
    @media screen and (max-width: 779px) {
    .multiple-btns a.btn, .multiple-btns button.btn {
    display: block;
    margin: 0 auto 1em;
    }
    }
    .icons-container {
    display: flex;
    flex-wrap: wrap;
    }
    .tw-icon {
    flex-basis: 32.3%;
    display: flex;
    align-items: center;
    line-height: 1.2;
    font-size: 1rem;
    margin-right: 1%;
    margin-bottom: 1em;
    }
    .tw-icon::before {
    content: " ";
    display: block;
    position: relative;
    width: 50px;
    height: 50px;
    background-image: url('/-/media/rj/rjl-advisor-sites/sites/m/o/model-1-sandbox/images/fp-icon');
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 0.5em;
    min-width: 50px;
    }
    .tw-icon.im::before {
    background-image: url('/-/media/rj/rjl-advisor-sites/sites/m/o/model-1-sandbox/images/im-icon');
    }
    .tw-icon.is::before {
    background-image: url('/-/media/rj/rjl-advisor-sites/sites/m/o/model-1-sandbox/images/is-icon');
    }
    .tw-icon.tax::before {
    background-image: url('/-/media/rj/rjl-advisor-sites/sites/m/o/model-1-sandbox/images/tax-icon');
    }
    .tw-icon.estate::before {
    background-image: url('/-/media/rj/rjl-advisor-sites/sites/m/o/model-1-sandbox/images/estate-icon');
    }
    .tw-icon.giving::before {
    background-image: url('/-/media/rj/rjl-advisor-sites/sites/m/o/model-1-sandbox/images/giving-icon');
    }
    .accord-link img {
    width: 50px;
    height: 50px;
    margin: 0 1em 0 0;
    padding-bottom: 0;
    }
    .accord img.pie-slice {
    max-width: 380px;
    height: auto;
    width: 100%;
    }
    @media screen and (max-width:991px) {
    .text-left-desktop {
    text-align: center
    }
    }
    .gov-links .container, .helpful-links .container, .calculators {
    display: flex;
    flex-wrap: wrap;
    }
    .gov-links .callout-copy-wrapper {
    color: #393939 !important;
    }
    .gov-links .callout-link {
    width: 100%;
    transition: all 0.4s ease-in-out;
    }
    .gov-links p {
    font-size: 1rem;
    color: #393939;
    }
    .helpful-links, .gov-links, .calculators, .videos {
    margin: 2em 0;
    font-size: 16px;
    line-height: 1.5;
    }
    .helpful-links h3, .gov-links h3, .calculators h5, .calculators h3, .videos h3 {
    color: #00578A;
    line-height: 1.2;
    }
    .resource-item {
    width: 100%;
    padding: 0 1em;
    margin-bottom: 1em;
    }
    .btn.secondary {
    border: 1px solid #00578A;
    color: #00578A;
    padding: 1em 1.5em !important;
    transition: all .2s ease-in-out;
    margin: .5em 0;
    background: transparent;
    white-space: normal;
    }
    .btn.secondary:hover {
    background: #00578A;
    color: #ffffff;
    }
    .billboard-container .btn.secondary, .callout .btn.secondary {
    border: 1px solid #fff;
    color: #fff;
    padding: 1em 1.5em !important;
    text-transform: uppercase;
    display: inline-block;
    }
    .billboard-container .btn.secondary:hover, .callout .btn.secondary:hover {
    background: #5489b6c4;
    color: #ffffff;
    }
    .calc-item {
    border: 1px solid #c4c4c4;
    border-radius: 5px;
    transition: all .2s ease-in-out;
    padding: 0;
    }
    .calc-item &gt; a {
    display: block;
    height: 100%;
    top: 0;
    position: relative;
    padding: 1em;
    }
    .calc-item:hover {
    box-shadow: inset 0px 0px 20px 5px rgba(0,0,0,0.1);
    }
    .gov-links {
    margin-bottom: 3em;
    }
    @media screen and (min-width: 480px) {
    .calc-item {
    width: 48%;
    margin: 1%;
    }
    }
    @media screen and (min-width: 980px) {
    .gov-links .container, .helpful-links .container, .calculators {
    display: flex;
    }
    .gov-links-item {
    width: 33.3%;
    margin-bottom: 1em;
    }
    .helpful-links-item {
    width: 50%;
    }
    .calc-item {
    width: 23%;
    margin: 1%;
    }
    .resource-item {
    margin-bottom: 0;
    }
    }
    .accord .accord-link:hover, .accord .accord-inner-link:hover, .accord li.open .accord-link, .accord li.open .accord-inner-link {
    color: #5489B6 !important;
    }
    /*----------------------*/
    /* OUR PARTNER BIO PAGE */
    /*----------------------*/
    .rjl-specialist-bio {
    margin-bottom: 2em;
    }
    .rjl-specialist-bio .specialist-title-group {
    line-height: 1.2;
    font-size: 0.9em;
    font-weight: 600;
    }
    .rjl-specialist-bio .specialist-name {
    margin-bottom: 0 !important;
    font-size: 1.4em !important;
    margin-top: 0;
    }
    .rjl-specialist-bio .specialist-bullets {
    padding-left: 1.5em;
    }
    .rjl-specialist-bio .specialist-bullets li {
    line-height: 1.4;
    margin-bottom: .5em;
    }
    .rjl-specialist-bio .specialist-title {
    line-height: 1.4;
    }
    @media screen and (min-width: 781px) {
    .rjl-specialist-bio {
    display: flex;
    }
    .rjl-specialist-bio &gt; div {
    float: none;
    }
    }
    .rjl-our-partner-bio &gt; div {
    float: none;
    display: block;
    }
    .rjl-our-partner-bio {
    margin-bottom: 2em;
    }
    .rjl-our-partner-bio-image {
    float: none;
    }
    @media (min-width: 781px) {
    .rjl-our-partner-bio-image {
    position: absolute;
    top: 0;
    left: 0;
    }
    .rjl-our-partner-bio &gt; div {
    padding-left: 240px;
    }
    }
    .contact-map h5, .contact-map .branch-address p {
    line-height: 1.4;
    }
    .team-image-wrapper img {
    border: 1px solid #cecece;
    }
    .footer-content {
    border-top: solid 4px #5F8FB4;
    }
    .footer-hedge-section {
    background-color: #002855;
    color: #fff;
    }
    .footer-hedge-section a {
    color: #c5daea;
    }
    .ftr-nap li[data-phonetype]::before  {
    color: #c5daea !important;
    }
    .footer-billboard-content {
    min-height: 200px;
    }
    .footer-billboard-content .billboard-container {
    min-height: 200px;
    }
    .ftr-cta-wrapper a h2 .footer-subhead {
    color: #5f8fb4;
    }
    .footer-social .social-container .fa {
    border: solid 1px #5f8fb4;
    }
    .footer-social .social-container .fa:hover {
    background: #5f8fb4;
    }
    .quote-wrapper:before {
    color: #c5daea;
    }
    .resource-content h2.sub-head-main {
    margin-top: 2em;
    }
    .services-section h2.sub-head-main .head-2 {
    color: #c9a560;
    }
    /* ----- Alternating Boxes ----- */
    .alternateBoxes.full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    }
    .alternateBoxes .row {
    display: flex;
    }
    .alternateBoxes .alternateBoxes-background {
    }
    div.alternateBoxes div.row{
    margin: 0;
    }
    div.alternateBoxes div.row div{
    padding-left: 0;
    padding-right: 0;
    }
    div.alternateBoxes div.row:nth-child(odd) div:first-of-type p,
    div.alternateBoxes div.row:nth-child(odd) div:first-of-type h2,
    div.alternateBoxes div.row:nth-child(even) div:first-of-type + div p,
    div.alternateBoxes div.row:nth-child(even) div:first-of-type + div h2{
    padding: 0;
    margin: 0;
    }
    div.alternateBoxes div.row div * img{
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    }
    div.alternateBoxes div.row:nth-child(odd) div:first-of-type{
    /*width: 100%;*/
    /*-webkit-box-ordinal-group: 2;*/
    /*-webkit-order: 1;*/
    /*-ms-flex-order: 1;*/
    /*order: 1;*/
    }
    div.alternateBoxes div.row:nth-child(odd) div:first-of-type + div{
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    /*max-width: 500px;*/
    margin: 0 auto;
    padding: 2em 4em;
    }
    div.alternateBoxes div.row:nth-child(even) div:first-of-type{
    padding: 2em 4em;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    /*max-width: 500px;*/
    /*width: 100%;*/
    margin: 0 auto;
    }
    div.alternateBoxes div.row:nth-child(even) div:first-of-type + div{
    /*width: 100%;*/
    }
    @media (max-width: 768px){
    div.alternateBoxes div.row:nth-child(odd) div:first-of-type{
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    }
    div.alternateBoxes div.row:nth-child(odd) div:first-of-type + div{
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    }
    div.alternateBoxes div.row:nth-child(even) div:first-of-type + div{
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    }
    div.alternateBoxes div.row:nth-child(even) div:first-of-type{
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    }
    .alternateBoxes .row {
    display: flex;
    flex-direction: column;
    }
    }
    @media (max-width: 992px) {
    div.alternateBoxes div.row:nth-child(odd) div:first-of-type + div {
    padding: 1em 2em;
    }
    }
.billboard-with-background {
    max-height: 350px !important;
    min-height: 300px !important;
}

.body-home .billboard-section .billboard-content-wrapper:after {
    display: none !important;
}

.rich-text-container.billboard-rich-text {
    margin-top: -50px;
}

.billboard-heading-wrapper.home-billboard {
    padding: 0px 150px;
}

.billboard-heading {
    top: unset !important;
    margin-bottom: 80px !important;
}

.billboard-heading h1:before {
    display: none !important;
}

.billboard-heading h1 .head-1 {
    color: unset !important;
}

h1.home-billboard {
    margin-bottom: 0.3em !important;
}

.second-billboard.billboard-container {
    max-height: 650px !important;
    min-height: 550px !important;
    }

section.team-section.abar.bar2-animate.wowbar2.bar-initiate-animation {
    display: none;
}

.interior .billboard-content .billboard-container {
    min-height: 350px !important;
}

@media only screen and (max-width: 480px) {
    .billboard-heading-wrapper {
        padding: 25px 0px !important;
    }
}

@media only screen and (max-width: 480px) {
    .billboard-heading h1 .head-1 {
        word-wrap: break-word;
    }
}

figure a img {
   height:350px!important;
   margin:5px;
}

figcaption {
    text-align: center;
}
.billboard-full-height {
  min-height: 100vh;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .billboard-full-height {
    /* IE10+ CSS styles go here */
    height: 100vh;
  }
}
.billboard-full-height .billboard-content-wrapper {
  min-height: 100vh;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .billboard-full-height .billboard-content-wrapper {
    /* IE10+ CSS styles go here */
    height: 100vh;
  }
}
.no-billboard .billboard-section{
    display: none;
}

.no-quote .quote-section{
    display: none;
}

.hide-cta .content-slider-cta-wrapper{
    display: none;
}

.thank-you-message{
    text-align: center;
    font-family: 'Abel', sans-serif;
    color: #787a7b;
    font-size: 25px;
    text-transform: uppercase;
    border-top: 2px solid #ab8336;
    padding: 30px;
    border-bottom: 2px solid #ab8336;
}

.video-section iframe{
    height: 520px !important;
}
/* Small iPhones */
@media only screen and (max-device-width: 736px) { 
    .video-section iframe {
        height: 185px !important;
    }
}
/* iPhone X Landscape */
@media only screen 
    and (min-device-width : 812px) 
    and (max-device-width : 812px) 
    and (-webkit-device-pixel-ratio : 3)
    and (orientation : landscape) { 
    .video-section iframe {
        height: 350px !important;
    }
}

/*BIO DETAIL AS LINK FIX*/

.bio-detail-links-as-text {
    margin-top: 15px !important;
}
 .bio-detail-links-as-text a{
    padding: 0 !important;
}

