/*
# Base Fonts
# Branding Colours
# Header
# Footer
# Buttons
# Forms
*/

/*
--------------------------------------------------------------------
# Brand Specific Colours
--------------------------------------------------------------------
*/
/*

# RBS - #0a2f64
# Natwest - #41185e
# Ulster - #23356B

*/
.bg-natwest.cookie-message-container,
.bg-natwest {
    background-color: #41185e;
}

.bg-rbs.cookie-message-container,
.bg-rbs {
    background-color: #0a2f64;
}

.bg-ulster.cookie-message-container,
.bg-ulster {
    background-color: #23356B;
}

.bg-white {
    background-color: #fff;
}

.background-white {
    background-color: #fff;
}


@font-face {
    font-family: "RNHouseSansBold";
    src: url(../fonts/RNHouseSansW01Bold.eot);
    src: url(../fonts/RNHouseSansW01Bold.eot?#iefix) format('embedded-opentype'), url(../fonts/RNHouseSansW01Bold.woff) format('woff'), url(../fonts/RNHouseSansW01Bold.ttf) format('truetype'), url(../fonts/RNHouseSansW01Bold.svg) format('svg');
    font-weight: normal;
    font-style: normal;
}


/*
@font-face {
  font-family: 'RNHouseSansRegular';
  src:url(../fonts/RNHouseSansW01Regular.eot);
  src:url(../fonts/RNHouseSansW01Regular.eot?#iefix) format('embedded-opentype'),
  url(../fonts/RNHouseSansW01Regular.woff) format('woff'),
  url(../fonts/RNHouseSansW01Regular.ttf) format('truetype'),
  url(../fonts/RNHouseSansW01Regular.svg) format('svg');
  font-weight: normal;
  font-style: normal;
}
 */



@font-face {
    font-family: "RNHouseSansRegular";
    src: url("../fonts/RNHouseSansW01Regular.eot?#iefix");
    src: url("../fonts/RNHouseSansW01Regular.eot?#iefix") format("eot"), 
        url("../fonts/RNHouseSansW01Regular.woff2") format("woff2"), 
        url("../fonts/RNHouseSansW01Regular.woff") format("woff"), 
        url("../fonts/RNHouseSansW01Regular.ttf") format("truetype"), 
        url("../fonts/RNHouseSansW01Regular.svg#RNHouseSansW01Regular") format("svg");
        font-weight: normal;
    font-style: normal;
}

body {
    color: #333;
    font-family: "RNHouseSansRegular";
    font-size: 18px;
    line-height: 1.2em;
    background-color: #fff;
}



#SiteSearchText,
#glogalform {
    overflow: hidden;
}

p {
    line-height: 1.35em;
    font-weight: normal;
}


p a:hover {
    text-decoration:none;
}

p a:hover:not(.btn) {
    text-decoration: none
}

p a:not(.btn) {
    text-decoration: underline
}

a {
    color: #1d7b8a
}

    a:hover {
        color: #1d7b8a;
        text-decoration: underline;
    }

.text-muted {
    color: #666 !important;
}

.btn-block + .btn-block {
    margin-top: 1rem;
}

.link-default {
    padding: 0 0 3px 0;
    /* border-bottom: 1px solid #1D7B8A; */
    text-decoration: underline;
    display: inline-block !important;
    color: #1D7B8A;
    font-size: 18px;
    letter-spacing: 0.2px;
    line-height: 1.2em;
    width: auto;
}

    .link-default:hover,
    .link-default:focus {
        text-decoration: none;
        color: #1D7B8A;
    }


button.link-default {
    background-color: transparent;
    border: 0 none;
    cursor: pointer
}



a[href^="mailto"] {
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;

    text-decoration:underline
}

    a[href^="mailto"]:hover {
        text-decoration:none;
    }



    h1 {
        color: #42145F;
        font-family: "RNHouseSansRegular";
        font-size: 34px;
        line-height: 1.2em;
        margin-bottom: 0.75rem
    }


h2 {
    color: #42145F;
    font-family: "RNHouseSansRegular";
    font-size: 28px;
    line-height: 1.2em;
}



h3 {
    color: #42145f;
    font-family: "RNHouseSansRegular";
    font-size: 22px;
    line-height: 28px;
}

@media(min-width:768px) {

    h1 {
        font-size: 32px;
        line-height: 1.2em;
    }

    h2 {
        font-size: 40px;
        line-height: 42px;
    }

    h3 {
        font-size: 30px;
        line-height: 36px;
    }
}

@media(min-width:992px) {
    h1 {
        font-size: 50px;
        line-height: 54px;
    }
}




/*
--------------------------------------------------------------------
# Mobile
--------------------------------------------------------------------
*/


@media(max-width:767px) {
    .hide-mobile {
        display: none;
    }
}



/*
--------------------------------------------------------------------
# Custom lists
--------------------------------------------------------------------
*/

.list-custom {
    list-style: none;
    padding: 0 0 0 15px;
}

    .list-custom li {
        font-size: 22px;
        line-height: 1.4em;
        position: relative;
        padding-left: 40px;
        margin-bottom: 5px;
    }

.list-tick li:before {
    content: "";
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.25);
    display: inline-block;
    margin-right: 30px;
    position: absolute;
    top: 5px;
    left: 0;
    background: #31adb0 url("data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath d='M12.724 5.692L7 11.71a.91.91 0 0 1-1.333 0L3.276 9.197a1.03 1.03 0 0 1 0-1.403.911.911 0 0 1 1.333 0l1.724 1.813 5.057-5.316a.91.91 0 0 1 1.334 0 1.026 1.026 0 0 1 0 1.401' id='a'/%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cmask id='b' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3C/mask%3E%3Cg mask='url%28%23b%29' fill='%23ffffff'%3E%3Cpath d='M0 0h16v16H0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") no-repeat 50% 50%;
}

/* Smaller version */
.list-tick.list-small {
    padding-left: 0;
    padding-top: 10px;
    margin-bottom: 30px;
}

    .list-tick.list-small li:before {
        border: 0 none;
        top: 3px;
        content: "";
        width: 20px;
        height: 20px;
        background: transparent url(../img/tick-black.png) no-repeat 50% 50%;
        background-size: 70%;
    }



.list-small li {
    font-size: 18px;
}

/*
--------------------------------------------------------------------
# Generic Padding
--------------------------------------------------------------------
*/

.page-padding {
    /*
    padding: 25px 15px;
    */ padding: 25px 0;
    background-color: #fff;
}

@media(min-width:768px) and (max-width:991px) {
    .page-padding {
        padding-top: 40px;
    }
}




.page-padding--left {
    padding-left: 15px;
}

.page-padding--right {
    padding-right: 15px;
}

.page-padding.page-padding-no-bottom {
    padding-bottom: 0;
}

.page-padding--large.page-padding-no-bottom {
    padding-bottom: 0;
}

.page-padding--left-and-right {
    padding-right: 15px;
    padding-left: 15px;
}


.page-padding--large {
    padding: 25px 15px;
}

.page-wrapper {
    background-color: #fff;
    padding-bottom: 30px;
}

.row-no-margin {
    margin-left: 0;
    margin-right: 0;
}


@media(min-width:992px) {
    .page-padding {
        /* padding-left:52px; padding-right:52px
        padding: 50px 50px;  */
        padding: 50px 0;
    }

    .page-padding--left {
        /* padding-left: 50px; */
        padding-right: 0;
    }

    .page-padding--right {
        /*padding-right: 50px; */
        padding-right: 0;
    }

    .page-padding--left-and-right {
        /*
        padding-right: 50px;
        padding-left: 50px; */
        padding-right: 0px;
        padding-left: 0px;
    }

    .page-padding--large {
        padding: 90px 90px 50px 90px;
    }



    .bg-topics .page-padding--large {
        padding-top: 30px;
    }
}



/*
--------------------------------------------------------------------
# Other Colours
--------------------------------------------------------------------
*/
/*

 # Turquoise Green - #34889F

*/
.bg-white {
    background-color: #fff;
}


/*
--------------------------------------------------------------------
# List items
--------------------------------------------------------------------
*/

.no-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

/*
--------------------------------------------------------------------
# Button and Inputs
--------------------------------------------------------------------
*/

.btn {

    outline: none;
    transition: all 0.1s ease-in-out;
}

    .btn:focus {
        box-shadow:none
    }

    .btn.btn-small {
        font-family: "RNHouseSansBold";
        font-size: 14px;
        padding: 10px 30px;
        color: #fff
    }



    .btn.btn-large {
        font-family: "RNHouseSansBold";
        padding: 10px 30px;
        color: #fff;
        font-size: 30px;
        line-height: 1.2em;
    }



.btn-default {
    border-color:#1d7b8a;
    background-color: #1d7b8a;
 
}

    .btn-default:hover,
    .btn-default:focus {
        color: #fff;
        background-color: #1d7b8a;
        border-color: #1d7b8a;

        -webkit-box-shadow: 0 1px 0 0 #349FAD, 0px 3px 0 -1px #349FAD, 0 5px 0 -2px #349FAD, 0px 7px 0 -3px #349FAD, 0 9px 0 -4px #349FAD, 0px 11px 0 -5px #349FAD, 0 13px 0 -6px #349FAD, 0px 15px 0 -7px #349FAD;
        box-shadow: 0 1px 0 0 #349FAD, 0px 3px 0 -1px #349FAD, 0 5px 0 -2px #349FAD, 0px 7px 0 -3px #349FAD, 0 9px 0 -4px #349FAD, 0px 11px 0 -5px #349FAD, 0 13px 0 -6px #349FAD, 0px 15px 0 -7px #349FAD;
    }


@media(min-width:992px){
    .dropdown-item.dropdown-btn:hover,
    .dropdown-item.dropdown-btn:focus {
        -webkit-box-shadow: 0 1px 0 0 #349FAD, 0px 3px 0 -1px #349FAD, 0 5px 0 -2px #349FAD, 0px 7px 0 -3px #349FAD, 0 9px 0 -4px #349FAD, 0px 11px 0 -5px #349FAD, 0 13px 0 -6px #349FAD, 0px 15px 0 -7px #349FAD;
        box-shadow: 0 1px 0 0 #349FAD, 0px 3px 0 -1px #349FAD, 0 5px 0 -2px #349FAD, 0px 7px 0 -3px #349FAD, 0 9px 0 -4px #349FAD, 0px 11px 0 -5px #349FAD, 0 13px 0 -6px #349FAD, 0px 15px 0 -7px #349FAD;
    }
}


.btn-natwest:hover,
.btn-natwest:focus {
    -webkit-box-shadow: 0 1px 0 0 #5D2F80, 0px 3px 0 -1px #5D2F80, 0 5px 0 -2px #5D2F80, 0px 7px 0 -3px #5D2F80, 0 9px 0 -4px #5D2F80, 0px 11px 0 -5px #5D2F80, 0 13px 0 -6px #5D2F80, 0px 15px 0 -7px #5D2F80;
    box-shadow: 0 1px 0 0 #5D2F80, 0px 3px 0 -1px #5D2F80, 0 5px 0 -2px #5D2F80, 0px 7px 0 -3px #5D2F80, 0 9px 0 -4px #5D2F80, 0px 11px 0 -5px #5D2F80, 0 13px 0 -6px #5D2F80, 0px 15px 0 -7px #5D2F80;
}


.btn-inverse {
    color: #34889f;
    background-color: #fff;
    border-color: #34889f;
}

    .btn-inverse:hover,
    .btn-inverse:focus {
        color: #fff;
        background-color: #34889f;
        border-color: #34889f;
    }

.btn-white {
    color: #34889f;
    background-color: #fff;
    border-color: #fff;
}

    .btn-white:hover,
    .btn-white:focus {
        -webkit-box-shadow: 0 1px 0 0 #1d7b8a, 0px 3px 0 -1px #1d7b8a, 0 5px 0 -2px #1d7b8a, 0px 7px 0 -3px #1d7b8a, 0 9px 0 -4px #1d7b8a, 0px 11px 0 -5px #1d7b8a, 0 13px 0 -6px #1d7b8a, 0px 15px 0 -7px #1d7b8a;
        box-shadow: 0 1px 0 0 #1d7b8a, 0px 3px 0 -1px #1d7b8a, 0 5px 0 -2px #1d7b8a, 0px 7px 0 -3px #1d7b8a, 0 9px 0 -4px #1d7b8a, 0px 11px 0 -5px #1d7b8a, 0 13px 0 -6px #1d7b8a, 0px 15px 0 -7px #1d7b8a;
    }

    .btn-white.btn-small,
    .btn-white.btn-large {
        color: #34889f;
        background-color: #fff;
        border-color: #fff;
    }

.btn {
    font-size: 1.2rem;
    padding: 20px 20px;
    font-family: 'RNHouseSansRegular';
    font-size: 18px;
    line-height: 21px;
    border-radius: 0
}





@media(max-width:991px) {
    #LoginSubmitButton,
    .btn {
        display: block;
    }

    #LoginSubmitButton {
        width: 100%;
    }
}

@media(min-width:1200px) {
    .btn {
        padding: 20px 50px;
    }
}

@media(max-width:575px) {
    .btn {
        white-space: normal;
    }

}



.btn.btn-load-more {
    padding-top: 10px;
    padding-bottom: 10px;
}



.btn-natwest {
    padding-left: 55px;
    padding-right: 55px;
}

    .btn-natwest,
    .btn-natwest:hover {
        border-color: #42145F !important;
    }

        .btn-natwest,
        .btn-natwest:hover,
        .btn-natwest:focus {
            background-color: #42145F !important;
            color: #fff !important
        }

            .btn-natwest:focus {
           
                border-color: #42145F !important
            }

.form-control:focus,
.custom-select:focus {
    /*
    border-color: #34889F;
    box-shadow: 0 0 0 0.2rem rgba(52,136,159,.5); */
    border-color: #42145F;
    box-shadow: 0 0 0 0.2rem rgba(66,20,95,.5);
}

label {
    color: #42145F;
    font-family: 'RNHouseSansRegular';
    font-size: 22px;
    line-height: 1.2em;
    margin-bottom: 0;
}


.custom-select {
    /*  background: transparent url("data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath d='M7.997 10.409l2.976-2.913a.615.615 0 0 1 .848.002c.235.23.242.594.002.83l-3.403 3.33a.615.615 0 0 1-.845 0l-3.403-3.33a.584.584 0 0 1 .002-.83.602.602 0 0 1 .848-.002l2.975 2.913z' id='a'/%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cmask id='b' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3C/mask%3E%3Cg mask='url%28%23b%29' fill='%23A8AAB7'%3E%3Cpath d='M0 0h16v16H0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") no-repeat right 0.75rem center;
   */
    background: #F5F5F5 url(../img/dropdown-arrow.png) no-repeat right 20px center;
    font-size: 16px;
}

/* Custom close x */
.custom-close {
    height: 54px;
    width: 54px;
    border: 3px solid #288c8e;
    border-radius: 50%;
    display: inline-block;
    background: #34adb2 url(../img/popover-close.png) no-repeat 50% 50%;
}

    .custom-close span {
        display: none;
    }

.custom-control.custom-checkbox {
    padding-left: 1rem;
}

.custom-control .custom-control-label {
    padding-left: .5rem;
    /* margin-top: 3px; */
    margin-top: 2px;
}

.custom-control.custom-radio .custom-control-label {
    margin-top: 0;
}


.form-group {
    margin-bottom: 1.5rem
}

.custom-select {
    background-color: #F5F5F5;
    border-radius: 0;
    border: 0 none;
    height: 54px;
    color: #42145F;
    font-family: 'RNHouseSansRegular';
    font-size: 18px;
}

.form-control {
    background-color: #F5F5F5;
    border-radius: 0;
    border: 0 none;
    padding: 18px 20px;
    color: #42145F;
    font-family: 'RNHouseSansRegular';
    font-size: 18px;
    line-height: 21px;
}

.input-validation-error {
    border-bottom: 6px solid #e60303;
}

header .input-validation-error {
    border: 0 none;
}

.agree label {
    color: #333;
    font-size: 18px;
}

/*
--------------------------------------------------------------------
# Header
--------------------------------------------------------------------
*/
header {
    /*  margin-bottom: 15px; */
}

header .form-inline  .nav-link:hover {
    text-decoration:underline
}


.navbarBrand .nav-link {
    color: #fff;
}


.logo.navbar-brand {
    padding-bottom: 0.616rem;
}

@media(max-width:575px){


    .rbs .logo.navbar-brand img {
        max-height: 35px;
    }


    .logo.navbar-brand img {
        max-height: 20px;
        max-width: initial;
    }

    .logo.navbar-brand {
        padding-top: 5px;
        padding-bottom: 5px;
    }
}


.breadcrumb-container, header .container {
    padding-left: 0;
    padding-right: 0;
}

.breadcrumb-container {
    display: block;
}

#navbarMain .nav-item {
    margin-left: 15px;
    margin-right: 15px;
}

.breadcrumb-container {
    position: relative
}




@media(max-width:991px) {

    .breadcrumb-container nav {
        margin-left: 15px;
    }
}


@media(max-width:767px) {

    .breadcrumb-container {
        display: none;
    }
}


@media(min-width:768px) {

    .breadcrumb-container nav {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 100
    }
}

@media(min-width:992px) {

    .breadcrumb-container nav {
        left: 18px;
    }
}




/* Navbar on a blue background */
.navbarBrand .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbarBrand .navbar-toggler {
    color: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255,255, 1);
}

/* Navbar on a white bg */
.navbarColour .navbar-toggler[aria-expanded="false"] {
    background: url(../img/burger.png) no-repeat 50% 50%;
}

.navbarColour .navbar-toggler[aria-expanded="true"] {
    background: url(../img/burger-open.png) no-repeat 50% 50%;
}

.navbarColour .navbar-toggler {
    color: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 0,0, 1);
    border: 0 none;
}

header .navbarColour .nav-link,
header .nav .nav-link {
    color: #34889F
}


.secondary-nav {
    padding-left: 15px;
    padding-right: 15px;
}




@media(max-width:992px) {
    .bg-white.secondary-nav {
        background-color: #fff !important
    }
}




.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: 22px;
}

@media(max-width:991px) {

    .navbar-expand-lg .navbar-nav .nav-link {
        font-size: 14px;
    }

    .navbar-expand-lg .navbar-nav {
        border-top: 1px solid #D8D8D8;
        border-bottom: 1px solid #D8D8D8;
    }
}

@media(max-width:575px) {
    header .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}




.navbar .nav-link.active {
    color: #41185e
}

@media(min-width:992px) {
    #navbarSupportedContent .navbar-nav .nav-link {
        /* color: orange;    */
        padding-right: .8rem;
        padding-left: .8rem;
        font-size: 18px;
    }
}



@media(min-width:1200px) {
    .navbar-expand-lg .navbar-nav .nav-link {
    }

    #navbarSupportedContent .navbar-nav .nav-link {
        padding-right: 1.8rem;
        padding-left: 1.8rem;
        font-size: 20px;
    }

    #navbarSupportedContent .navbar-nav .nav-link {
        /*
        color: red */
    }

    .navbarColour.navbar {
        padding: 0 50px;
    }

    .navbar {
        padding-left: 50px;
        padding-right: 30px;
    }

    .secondary-nav {
        padding-left: 50px;
        padding-right: 50px;
    }
}

.navbarColour.navbar {
    padding-top: 8px;
    padding-bottom: 8px;
}


@media(min-width:1180px) and (max-width:1400px) {
    #navbarSupportedContent .navbar-nav .nav-link {
        /* color: lime; */
        padding-right: 1.2rem;
        padding-left: 1.2rem;
    }
}


.navbar-nav.nav-signin .nav-link {
    font-size: 18px;
}

header .custom-select-bg {
    display: inline-block;
    width: 100%;
    height: calc(2.25rem + 2px);
    height: 46px;
    color: #fff;
    /*
    background: #fff url("data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath d='M7.997 10.409l2.976-2.913a.615.615 0 0 1 .848.002c.235.23.242.594.002.83l-3.403 3.33a.615.615 0 0 1-.845 0l-3.403-3.33a.584.584 0 0 1 .002-.83.602.602 0 0 1 .848-.002l2.975 2.913z' id='a'/%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cmask id='b' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3C/mask%3E%3Cg mask='url%28%23b%29' fill='white'%3E%3Cpath d='M0 0h16v16H0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") no-repeat right 0.75rem center;
   */
    background: #F5F5F5 url(../img/dropdown-arrow.png) no-repeat right 10px center;
    border-radius: 0;
    /*
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.05);
    */
  
    color: #42145F;
    font-size: 18px;
}


    header .custom-select-bg option {
        color: #000;
        background: #fff;
        font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
        font-size: 16px;
    }

    header .form-control:focus,
    header .custom-select-bg:focus {
        border-color: #fff;
        box-shadow: 0 0 0 0.2rem rgba(255,255,255,.5);
        /*color: #fff; */
    }







.secondary-nav {
    border-top: 1px solid #D8D8D8;
    border-bottom: 1px solid #D8D8D8;
}

@media(min-width:768px) {
    header .nav li:first-child a {
        padding-left: 0
    }
}

header .nav .nav-link {
    font-family: "RNHouseSansRegular";
    font-size: 15px;
}

header .nav-link.active {
    font-weight: bold;
    color: #42145f
}

header #SiteSearchText:focus {
    border-color: #354052;
}

header #SiteSearchText {
    color: #354052;
    border: 2px solid #009FAC;
    padding: 14px 10px 10px 10px
}

header #SiteSearchTextMobile {
    color: #354052;
    border: 2px solid #009FAC;
    padding: 10px 10px 8px 10px
}


.toggle-search {
    cursor:pointer;
}


header .form-inline {
    position: relative;
}


header #SearchButton {
    padding: 0;
    background: #f5f5f5 url(../img/icon_search.png) no-repeat 50% 50%;

    position:absolute;
    right:8px;
    top:9px;
    width:32px;
    height:32px;
    border:0 none;
    outline:0 none;
}


header #SearchButtonMobile {
    padding: 0;
    background: #f5f5f5 url(../img/icon_search.png) no-repeat 50% 50%;
    position: absolute;
    right: 7px;
    top: 7px;
    width: 28px;
    height: 29px;
    border: 0 none;
    outline: 0 none;
}

header #SearchButtonMobile span {
    display:none;
}

header .form-inline .form-control:focus + #SearchButton {
    background-color:#fff;
}






header #SearchButton span {
    display: none;
}

@media(min-width:1280px) {
    header #SiteSearchText {
        width: 350px;
    }
}

.nav-with-children > li > a {
    display: none
}

.nav-with-children ul {
    display: flex;
}

.nav-children .nav-link {
    padding: 15px 35px;
}

@media(max-width:991px) {
    .navbar-mobile .navbar-mobile-inner {
        display: flex
    }

    .toggle-search {
        width: 54px;
        height: 38px;
        background: url(../img/search-mobile.png) no-repeat 50% 50%;
        border: 0 none;
        padding: .25rem .75rem;
        font-size: 1.25rem;
        line-height: 1;
        margin-right: 5px;
    }

        .toggle-search span {
            display: none;
        }

    #navbarSupportedContent {
        padding-bottom: 15px;
    }

    header #SiteSearchText {
        width: 200px;
    }



    .navbar-expand-lg .navbar-nav li a {
        color: #34889F;
        font-family: "RNHouseSansRegular";
        font-size: 14px;
        line-height: 26px;
    }

    .navbar-expand-lg .navbar-nav .nav-item li a:focus {
        background-color: #F1F4F8
    }

    header form {
        padding-left: 15px;
        padding-right: 15px;
    }

    #mobileForm {
        padding-left:0;
        padding-right:0;
    }

    header form div {
        width: 100%;
    }

    header #SiteSearchText {
        width: 100%;
    }

    #navbarSupportedContent {
        margin-left: -15px;
        margin-right: -15px;
    }


    .secondary-nav .container > .nav {
        margin-left: -15px;
        margin-right: -15px;
    }

    .secondary-nav .nav li {
        width: 100%;
    }

    .nav-with-children > li > a {
        display: block;
        background-color: #F1F4F8;
        box-shadow: inset 0 -1px 0 0 #DFE3E9;
    }


    .nav-with-children ul {
        /*   display: none */
    }

    .secondary-nav .nav-item {
        display: block;
        width: 100%;
        background-color: #fff;
    }

    .secondary-nav .nav li:first-child a {
        padding-left: 1rem
    }

    .secondary-nav .nav-item .nav-link:hover {
        background-color: #34889F;
        color: #fff;
    }

    .secondary-nav .secondary-toggle {
        padding: 10px 30px 10px 20px !important;
        margin: 0;
        margin-left: -15px;
        margin-right: -15px;
        border: 0 none;
        border-bottom: 1px solid #D8D8D8;
        font-size: 14px;
        box-shadow: none
    }


    .secondary-nav .secondary-toggle {
        background: url(../img/second-nav-toggle-opened.png) no-repeat right 33px top 13px;
    }

    .secondary-nav.hidden .secondary-toggle {
        background: url(../img/second-nav-toggle.png) no-repeat right 33px top 13px;
    }

    .bottom_border.secondary-nav {
        border-bottom: 1px solid #D8D8D8;
    }

        .bottom_border.secondary-nav .nav li .secondary-toggle,
        .bottom_border.secondary-nav .nav li .secondary-toggle a {
            background-color: #fff !important
        }

    .bottom_border.secondary-nav,
    .secondary-nav .nav li:first-child a {
        background-color: #F5F5F5 !important
    }

        .bottom_border.secondary-nav.hidden {
            border-bottom: 0 none;
        }

    .secondary-nav .secondary-toggle:hover,
    .secondary-nav .secondary-toggle:focus {
        color: #34889F !important;
        text-decoration: none;
    }

    .bottom_border.secondary-nav .nav-item .nav-link:hover {
        color: #34889F
    }

    .nav-with-children .nav-children.hidden {
        display: none;
    }

    header .secondary-nav .nav-link {
        font-size: 14px;
        padding: 10px 15px;
    }
}


.dropdown-menu span.age-pick {
    display: block;
    font-family: "RNHouseSansBold";
    color: #34889F;
    font-size: 16px;
    line-height: 18px;
    text-align: left;
    padding: 0 0 5px 15px;
}


header .nav-link:focus,
header .nav-link:hover {
    text-decoration: underline
}


@media(max-width:991px) {
    .dropdown-menu {
        border: 0 none;
    }

    .mobile-search {
        display: none;
        position: absolute;
        top: 5px;
        left: 0;
        right: 30%;
        background-color: #fff;
        width: 100%;
        max-width: 250px;
    }

        .mobile-search .form-control {
        }

    #SiteSearchTextMobile {
        color: #354052;
    }

        #SiteSearchTextMobile:focus {
            color: #354052
        }



    .navbar-brand {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

#SiteSearchTextMobile {
    border: 1px solid #999;
}

.mobile-search {
    margin-left: 15px;
}

.navbar-mobile .navbar-brand {
    padding: 0;
}

@media(max-width:575px) {
    .mobile-search {
        max-width: 200px;
    }
}



@media(max-width:575px) {
    .navbar-mobile .navbar-brand img {
        max-width: 100%;
    }
    .navbar-mobile .navbar-brand {
        margin-right:0;
    }

        .navbar-mobile .navbar-brand a {
            -webkit-box-flex: 100;
            -ms-flex-positive: 100;
            flex-grow: 100;
        }

}


@media(max-width:400px) {
    .navbar-mobile .navbar-brand img {
        max-width: 165px;
    }

   
}


.search-mobile {
    display: none;
}

@media(min-width:992px) {
    .dropup, .dropdown {
        position: static;
    }

    .dropdown-menu span.age-pick {
        font-family: "RNHouseSansRegular";
        text-align: center;
        padding: 0 0 15px 0;
    }

    .dropdown-menu {
        width: 100%;
        padding: 15px;
        border-radius: 0;
        border: 1px solid #f5f5f5;
        /*
        box-shadow: 0 1px 5px 0 #f5f5f5
    */
    }

        .dropdown-menu .btn {
            margin-left: 10px;
            margin-right: 10px;
        }




    .nav-item.dropdown.show .nav-link:before {
        content: "";
        position: absolute;
        bottom: -16px;
        left: 50%;
        width: 27px;
        height: 15px;
        background: url(../img/top-arrow.png) no-repeat bottom center;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        z-index: 9999;
        border-bottom: 1px solid #fff;
    }

    .dropdown-toggle:after {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 0;
        content: "";
        display: none;
    }

    .dropdown-toggle {
        position: relative;
    }

    .dropdown-btn {
        display: inline-block;
        font-weight: 400;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        border: 1px solid transparent;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
        padding: 0.375rem 0.75rem;
        font-size: 1rem;
        line-height: 1.5;
        border-radius: 0.25rem;
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        color: #fff;
        background-color: #34889F;
        border-color: #34889F;
        font-size: 1.2rem;
        width: auto;
        margin-left: 8px;
        margin-right: 8px;
        padding: 15px 25px;
        border-radius: 0;
    }

        .dropdown-btn:hover,
        .dropdown-btn:focus {
            color: #fff;
            background-color: #34889F;
            border-color: #34889F;
        }

        .dropdown-btn:focus {
            box-shadow: 0 0 0 0.2rem rgba(52, 136, 159, 0.5);
        }


    header .dropdown-menu {
        top: 98%;
    }
}



.dropdown-menu-mobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu-mobile .nav-link {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}


.dropdown-menu ul {
    margin: 0;
    list-style: none;
    display: block;
    padding: 0;
}


    .dropdown-menu ul li {
        display: inline-block
    }


@media(max-width:991px) {

    .dropdown-menu ul li {
        display: block;
    }

    .dropdown-toggle:after,
    .nav-with-dropdown > a:after {
        display: inline-block;
        margin-left: .255em;
        vertical-align: .255em;
        content: "";
        border: 0 none;
        width: 20px;
        height: 20px;
    }

    .dropdown .dropdown-toggle:after {
        background: url(../img/nav-collapse.png) no-repeat 0 0;
    }

    .dropdown.show .dropdown-toggle:after {
        background: url(../img/nav-expand.png) no-repeat 0 0;
    }

    .dropdown-toggler:after {
        background: url(../img/nav-collapse.png) no-repeat 0 0;
    }

    .dropdown-toggler.open:after {
        background: url(../img/nav-expand.png) no-repeat 0 0;
    }

    .nav-with-dropdown > a:after,
    .dropdown-toggle:after {
        position: absolute;
        top: 12px;
        right: 30px
    }

    .dropdown-menu-mobile {
        display: none;
    }

        .dropdown-menu-mobile.show {
            display: block;
        }

    .navbar-expand-lg .navbar-nav .dropdown-menu-mobile .nav-link {
        padding-left: 2rem
    }

    .nav-link.dropdown-toggler {
        position: relative
    }
}

@media(min-width:992px) {
    .dropdown-menu-mobile {
        display: none;
    }
}

/*
--------------------------------------------------------------------
# Header Banners
--------------------------------------------------------------------
*/
.header-banner {
    position: relative
}

.header-banner--text {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    color: #fff;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}


    .header-banner--text h1,
    .header-banner--text h2 {
        color: #fff;
        text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
    }


/*
--------------------------------------------------------------------
# Footer
--------------------------------------------------------------------
*/


footer.site-footer {
    margin-top: 30px;
}

    footer.site-footer a {
        color: #fff;
    }

footer .nav {
    padding-top: 50px;
    padding-bottom: 50px;
}

    footer.site-footer .nav-link {
        font-size: 16px;
        line-height:1.6em;
    }

        footer.site-footer .nav-link:hover {
            color: #fff;
            text-decoration: underline
        }

@media (max-width: 767px) {
    footer.site-footer .nav-item {
        display: block;
        width: 100%;
    }


    footer .nav {
        padding-top: 20px;
        padding-bottom: 20px;
    }



    footer.site-footer .nav-link {
        padding-left: 0;
        padding-right: 0
    }
}

/*

    @media(min-width:768px) {
        footer.site-footer .nav-link {
            padding: 0.5rem 2rem;
        }
    }
    */

.social {
    list-style: none;
    padding: 0 0 0 0;
    margin-bottom: 0;
}


.social-sharing span {
    display: block;
    padding-top: 0px;
    padding-bottom: 8px;
    color: #34889f;
}

.social-sharing {
    padding-bottom:5px;
}

    .social img {
        width: 36px;
        height: 36px;
    }

.social-sharing-footer {
    color: white;
    font-weight: lighter;
    text-decoration: none;
    padding-left: 8px;
    padding: 40px 0 0;
}

.footer-text {
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    padding: .5rem 1rem;
}

.site-footer .nav {
    padding-top: 40px;
}

@media(min-width:992px) {
    footer .site-footer .nav-item:first-child .nav-link {
        padding-left: 0;
    }


    footer.site-footer .nav-item {
        margin-right: 45px;
    }
}


.social li:first-child {
    margin-left: 0;
}

.social li {
    display: inline-block;
    margin-left: 8px;
    margin-right: 8px;
}

.social a {
    display: block
}

footer .copyright {
    margin-top: 15px;
    padding-bottom: 1px
}

footer p {
    font-size: 14px;
    color: #fff;
}

@media(max-width:767px) {

    .social li {
        margin-left: 6px;
        margin-right: 6px;
    }


    .social-icon {
        max-width: 25px;
    }

    .social-icon-label {
        padding: 0;
        margin: 0;
        max-width: 150px;
    }
}

    /*
--------------------------------------------------------------------
# Inputs
--------------------------------------------------------------------
*/

    .custom-radio .custom-control-label::before {
        border-radius: 50% !important
    }

    .custom-control-label::before {
        /*
    height: 16px;
    width: 16px;
    */
        border: 1px solid #C5D0DE;
        border-radius: 0 !important;
        background-color: #F5F5F5;
    }

    /* Custom Checkboxes */
    .custom-control-input:checked ~ .custom-control-label:before,
    .custom-checkbox .custom-control-input:checked ~ .custom-control-label:before {
        background-color: #354052
    }

    /* Custom Radio Buttons */
    .custom-radio .custom-control-input:checked ~ .custom-control-label:before,
    .custom-control-input:checked ~ .custom-control-label:before {
        background-color: #354052
    }

    .custom-control-inline {
        display: inline-block
    }

    .send-resource-filter label {
        font-family: "RNHouseSansRegular";
        font-size: 18px;
        color: #333333;
    }

    .send-resource-filter .custom-control-wrapper {
        background-color: transparent;
        margin-bottom: 0;
        padding-left: 0;
    }

    .send-resource-filter .custom-control-label::before {
        background-color: #fff;
    }

    hr {
        margin-left: -15px;
        margin-right: -15px;
    }

    /* Form Progress */

    .progress_bar {
        margin: 30px auto 30px 10px;
        text-align: left;
        padding-bottom: 10px;
    }

        .progress_bar .circle {
            width: 28px;
            height: 28px;
            text-align: center;
        }

        .progress_bar .circle,
        .progress_bar .bar {
            display: inline-block;
            background: #fff;
            vertical-align: top;
        }

        .progress_bar .bar {
            position: relative;
            width: 80px;
            height: 4px;
            margin: 0 -6px 17px -6px;
            border-left: none;
            border-right: none;
            border-radius: 0;
            top: 16px;
            vertical-align: top
        }


        .progress_bar .bar {
            background-color: #F1F4F8;
        }

        .progress_bar .circle .label {
            display: inline-block;
            width: 28px;
            height: 28px;
            line-height: 28px;
            border-radius: 28px;
            margin-top: 3px;
            color: #b5b5ba;
            font-size: 17px;
            background: #F1F4F8;
        }

        .progress_bar .circle .label,
        .progress_bar .circle .title {
            color: #B0B0B1;
            font-family: "RNHouseSansRegular";
            font-size: 14px;
        }

        .progress_bar .circle .title {
            font-size: 16px;
            line-height: 18px;
            margin-left: -35px;
            display: block;
            width: 100px;
            margin-top: 5px;
            color: #B0B0B1;
        }


        /* Done / Active */

        .progress_bar .circle.done {
            background: transparent;
        }

            .progress_bar .bar.done,
            .progress_bar .bar.active,
            .progress_bar .circle.done .label {
                background-color: #34ADB2;
            }

            .progress_bar .circle.done .label {
                color: #FFF;
            }

            .progress_bar .circle.done .title {
                color: #444;
            }


        .progress_bar .circle.active .label,
        .progress_bar .circle.active .title {
            color: #333;
        }

        .progress_bar .circle.done .title {
            color: #009FAC;
        }

        .progress_bar .circle.done .label {
            text-indent: -9999em;
            background-image: url(../img/header_tick.png);
            background-repeat: no-repeat;
            background-position: 50% 50%;
        }


    /* Alternative Step Bar */
    .step_bar {
        list-style: none;
        margin: 10px 0;
        padding: 0;
    }

        .step_bar li {
            display: inline-block;
            margin-right: 10px;
            font-family: "RNHouseSansBold";
            color: #354052;
            font-size: 14px;
            line-height: 18px;
        }

        .step_bar span {
            height: 28px;
            width: 28px;
            border: 1px solid #aeadaf;
            border-radius: 50%;
            display: inline-block;
            background-color: #f1f4f8;
            text-align: center;
            color: #B0B0B1;
            line-height: 28px;
            margin-right: 10px;
        }

        .step_bar li.active span {
            background-color: #31869d;
            border: 1px solid #2f849b;
            color: #fff;
        }

        .step_bar li.active {
            color: #354052;
        }

        .step_bar li {
            color: #B0B0B1
        }

    /*
--------------------------------------------------------------------
# Inputs group container
--------------------------------------------------------------------
*/
    .input-box {
        background-color: #F5F5F5;
        padding: 15px 15px 15px 15px;
        margin-bottom: 30px;
    }

    .custom-control-wrapper {
        margin: 0 10px 2px 0;
        padding: 0px 10px 2px 0;
        display: block;
    }




    @media(max-width:767px) {

        .custom-control-wrapper label {
            font-size: 18px;
            color: #333;
            margin-top: 2px;
        }

        .custom-control-wrapper {
            background-color: #fff;
            margin-bottom: 8px;
        }

        .custom-control.custom-checkbox {
            padding: 4px 20px;
        }

        .custom-control-label::before {
            top: 8px;
            left: 5px;
        }

        .custom-control-label::after {
            top: 8px;
            left: 5px;
        }
        /*
    .custom-control-label::before {
        top: 10px;
        left: 10px;
    }  */
    }

    .custom-control-label {
        width: 100%;
    }

    /*
.custom-control-input:checked ~ .custom-control-label, 
.custom-checkbox .custom-control-input:checked ~ .custom-control-label {
    font-family: "RNHouseSansBold";
}
    */
    .custom-control-input:checked ~ .custom-control-label:before,
    .custom-checkbox .custom-control-input:checked ~ .custom-control-label:before {
        border: 0px solid;
    }

    .custom-input-group {
        padding-bottom: 15px;
    }

    @media (min-width: 576px) {

        .custom-control-wrapper {
            background-color: #fff;
            display: inline-block;
            margin: 0 3px 12px 0;
            padding: 5px 10px;
        }

        .input-box {
            padding: 15px 35px;
        }

        .custom-input-group .custom-control-label {
            color: #7F8FA4;
            font-family: "RNHouseSansBold";
        }


        .input-box .custom-input-group .custom-control-label {
            font-family: "RNHouseSansRegular";
            font-size: 18px;
            color: #333333;
        }

        .custom-input-group {
            padding-bottom: 0;
        }
    }


    .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
        /*

    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E");
  */ background-image: url(../img/checkbox.png);
        background-size: auto
    }


    .custom-input-group .label-title span,
    .label-title label {
        font-family: "RNHouseSansRegular";
        color: #7F8FA4;
        font-size: 22px;
        display: block;
        margin-bottom: 2px;
        color: #42145F;
    }



        .custom-input-group .label-title span.asterisk {
            display: inline-block
        }

    .modal label.error,
    .field-validation-error {
        font-family: "RNHouseSansRegular";
        font-weight: normal;
        position: relative;
        padding: 18px 20px;
        margin-bottom: 1rem;
        top: .5rem;
        display: block;
        border: 0 none;
        border-radius: 0;
        color: #721c24;
        color: #fff;
        font-size: 18px;
        background-color: #E60303;
        margin-top: 10px
    }

        .modal label.error:before,
        .field-validation-error:before {
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 0 13px 14px 13px;
            border-color: transparent transparent #e60303 transparent;
            position: absolute;
            top: -14px;
            left: 60px;
            content: ""
        }

    .toggle-filters {
        text-align: left;
        padding-top: 10px;
        padding-bottom: 8px;
        margin-bottom: 10px;
        padding-left: 30px;
        color: #1D7B8A;
        font-family: "RNHouseSansRegular";
        font-size: 18px;
        background: url(../img/filter.png) no-repeat left center;
        text-decoration: underline
    }


        .toggle-filters:hover,
        .toggle-filters:focus {
            background: url(../img/filter.png) no-repeat left center !important
        }

    #parentfilterform,
    #filterform {
        display: none;
    }

    @media(min-width:768px) {
        #filterform,
        #parentfilterform {
            display: block !important;
        }
    }


    .resourcecard label {
        margin-top: 3px;
    }


    /*
--------------------------------------------------------------------
# Tooltips (on Hover)
--------------------------------------------------------------------
*/
    .tooltip-inner {
        color: #fff;
        background-color: #34ADB2;
        padding: 15px;
        filter: alpha(opacity=100);
        color: #FFFFFF;
        font-family: "RNHouseSansRegular";
        font-size: 14px;
        line-height: 18px;
        text-align: left;
    }

    .tooltip.bs-tooltip-auto[x-placement^=top] .arrow::before, .tooltip.bs-tooltip-top .arrow::before {
        border-top-color: #34ADB2;
    }

    .tooltip.bs-tooltip-auto[x-placement^=right] .arrow::before, .tooltip.bs-tooltip-right .arrow::before {
        border-right-color: #34ADB2;
    }

    .tooltip.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .tooltip.bs-tooltip-bottom .arrow::before {
        border-bottom-color: #34ADB2;
    }

    .tooltip.bs-tooltip-auto[x-placement^=left] .arrow::before, .tooltip.bs-tooltip-left .arrow::before {
        border-left-color: #34ADB2;
    }

    .tooltip.show {
        opacity: 1
    }


    /*
--------------------------------------------------------------------
# Popovers (on click)
--------------------------------------------------------------------
*/


    .popover-header {
        font-family: "RNHouseSansBold";
        padding: .5rem .75rem 0 .75rem;
        margin-bottom: 0;
        font-size: 1.2rem;
        color: inherit;
        border: 0 none;
        color: #FFFFFF;
        background-color: #1D7B8A
    }

    .popover {
        border: 1px solid #1D7B8A;
    }

    .popover-body {
        background-color: #1D7B8A;
        font-size: 18px;
        color: #fff
    }

    .bs-popover-auto[x-placement^="top"] .arrow::before, .bs-popover-top .arrow::before,
    .bs-popover-auto[x-placement^="top"] .arrow::after, .bs-popover-top .arrow::after {
        border-top-color: #1D7B8A;
    }

    .popover-header {
        display: none !important
    }

    .popover h3 {
        color: #fff;
    }

    .popover {
        width: 100%;
        max-width: 420px;
    }

    .popover-body {
        padding: 20px 60px 20px 20px
    }

    .bs-popover-auto[x-placement^="bottom"] .arrow::after,
    .bs-popover-bottom .arrow::after {
        border-bottom-color: #1D7B8A;
    }


    /*
--------------------------------------------------------------------
# Custom Alert
--------------------------------------------------------------------
*/
    .alert-custom {
        color: #fff;
        background-color: #34ADB2;
        border-color: #34ADB2;
    }

    .alert .close {
        opacity: 1.0
    }

    @media(max-width:767px) {
        .alert {
            font-size: 14px;
            line-height: 18px;
        }
    }

    /*
--------------------------------------------------------------------
# Tabs
--------------------------------------------------------------------
*/

    .tab-pane {
        padding-top: 15px;
    }

    .nav-tabs {
        margin: 25px 0 0 0;
    }

        .nav-tabs .nav-link {
            color: #34ADB2;
        }

        .nav-tabs .nav-link {
            border: 1px solid transparent;
            border-top-left-radius: 0;
            border-top-right-radius: 0;
        }


    .nav-tabs {
        background-color: #009FAC;
        padding: 40px;
    }


        .nav-tabs .nav-item.show .nav-link,
        .nav-tabs .nav-link.active {
            border: 0 none;
        }

        .nav-tabs .nav-item .nav-link {
            background-color: #fff;
            padding: 20px 40px;
            color: #009FAC;
        }



    @media(max-width:767px) {
        .nav-tabs .nav-item {
            width: 50%;
        }

        .nav-tabs {
            padding: 20px;
        }

            .nav-tabs .nav-item:first-child {
                margin-left: 0;
            }

            .nav-tabs .nav-item .nav-link {
                padding: 20px;
            }
    }

    @media (max-width: 575px) {
        .nav-tabs .nav-item {
            width: 100%;
            display: block;
            text-align: center
        }
    }

    @media(max-width:991px) {

        .tab-pane > .row {
            margin-bottom: 0 !important
        }
    }

    .nav-tabs .nav-item .nav-link,
    .nav-tabs .nav-link {
        background-color: #009FAC;
        color: #fff;
        border: 1px solid #fff;
    }

        .nav-tabs .nav-item.show .nav-link,
        .nav-tabs .nav-link.active {
            background-color: #fff;
            color: #1D7B8A;
        }


    .tab-content.page-padding--large {
        padding-top: 25px;
    }


    .volunteer-resources .nav-tabs .nav-item.show .nav-link,
    .volunteer-resources .nav-tabs .nav-link.active {
        background-color: #42145F;
        color: #fff;
        border-color: #42145F
    }

    .volunteer-resources nav-tabs .nav-item .nav-link,
    .volunteer-resources .nav-tabs .nav-link {
        background-color: #fff;
        color: #009FAC;
        border: 1px solid #fff;
    }

    .volunteer-resources .nav-tabs .nav-item .nav-link:hover {
        background-color: #42145F;
        color: #fff;
        border-color: #42145F
    }

    /*
--------------------------------------------------------------------
# Nav Tabs - alternative
--------------------------------------------------------------------
*/
    .nav-tabs-alternative .nav-tabs .nav-item {
        margin-right: 15px;
    }




    /*

  
    .nav-tabs-alternative {
        border: 1px solid #DFE2E5;
    }

        .nav-tabs-alternative .nav-tabs {
            margin: 0 0 0 0;
        }

            .nav-tabs-alternative .nav-tabs .nav-item:first-child {
                margin-left: 0px;
            }

            .nav-tabs-alternative .nav-tabs .nav-item {
                margin-bottom: 0;
            }

                .nav-tabs-alternative .nav-tabs .nav-item .nav-link {
                    color: #34889F;
                    border: 0 none;
                    background-color: #fff;
                    border-bottom: 2px solid #fff;
                }

                    .nav-tabs-alternative .nav-tabs .nav-item .nav-link.active {
                        border-bottom: 2px solid #34889F;
                        font-family: "RNHouseSansBold";
                    }

          */


    .nav-tabs-alternative hr {
        margin: 0 0 0 0;
    }

    .nav-tabs-alternative .nav-tabs {
        border-bottom: 0 none;
    }


    .nav-tabs-alternative {
        padding-top: 20px;
    }

    .nav-tabs-dropdown {
        display: none
    }

    @media(max-width:991px) {

        .nav-tabs-alternative .nav-tabs {
            display: none;
        }

        .nav-tabs-dropdown {
            display: block;
            margin-bottom: 15px;
        }

        .nav-tabs-alternative {
            border: 0 none
        }

            .nav-tabs-alternative hr {
                display: none;
            }
    }


    /*
--------------------------------------------------------------------
# Videos
--------------------------------------------------------------------
*/
    .video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
    }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }


    .students-agegroup-resources .video-wrapper + h2 {
        padding-top: 15px;
        text-align: center;
        color: #000;
    }

    /* Videos inside Carousels  */
    .carousel-iframe .item,
    .carousel-iframe.video-wrapper {
        display: block;
        width: 100%;
    }


    /*
--------------------------------------------------------------------
# Blockquotes
--------------------------------------------------------------------
*/
    blockquote {
        position: relative;
        padding: 50px 0px 50px 0;
    }

    .blockquote:before,
    .blockquote:after {
        font-size: 100px;
        line-height: 0;
        position: absolute;
        color: #fff
    }

    .blockquote:before {
        content: "\201C";
        top: 50px;
        left: 0;
    }

    .blockquote:after {
        content: "\201D";
        bottom: 0;
        right: 0;
    }

    @media(max-width:575px) {
        .blockquote:before {
            left: 0;
            right: 0;
        }

        .blockquote {
            margin-top: 1rem;
            margin-bottom: 0;
        }

            .blockquote:after {
                bottom: 0;
                right: 0;
                left: 0;
            }
    }

    blockquote p {
        font-size: 22px;
        line-height: 1.4em;
        color: #42145F
    }

    @media(min-width:768px) {

        blockquote {
            position: relative;
            padding: 25px 100px;
        }

        .blockquote:before,
        .blockquote:after {
            font-size: 200px;
        }

        .blockquote:before {
            top: 100px;
        }

        .blockquote:after {
            bottom: -30%;
        }

        blockquote p {
            font-size: 30px;
            line-height: 1.4em
        }
    }


    blockquote cite {
        display: block;
        font-size: 16px;
        line-height: 1.2em;
        color: #6c757d;
        font-style: initial;
    }

        blockquote cite:before {
            content: "\2014 \00A0";
        }

    /*
--------------------------------------------------------------------
# jQuery UI.
--------------------------------------------------------------------
*/

    .ui-autocomplete {
        max-height: 200px;
        overflow-y: auto;
        /* prevent horizontal scrollbar */
        overflow-x: hidden;
        /* add padding to account for vertical scrollbar */
        padding-right: 20px;
    }

    /*
--------------------------------------------------------------------
# Fullwidth Mobile Images.
--------------------------------------------------------------------
*/


    @media(max-width:575px) {
        .full-width,
        .parents-home .video-wrapper {
            margin: -15px -15px 0 -15px;
        }

        .full-width-card-image {
            margin: 0 -15px;
        }


        .resourcecard .item-image {
            margin: -25px -15px 0 -15px;
        }
    }
