@font-face {
    font-family: 'Futuris';
    src: local('Futuris Cyrillic'),
    url('../font/Futuris.ttf') format('ttf'),
    url('../font/Futuris.woff') format('woff'),
    url('../font/Futuris.woff2') format('woff2'),
    url('../font/Futuris.eot') format('eot');
}
@font-face {
	font-family: 'MyriadPro-SemiExt';
	src: url("../font/MyriadProSemiBold.eot");
	src: url("../font/MyriadProSemiBold.eot?#iefix")format("embedded-opentype"),
	url("../font/MyriadProSemiBold.woff") format("woff"),
	url("../font/MyriadProSemiBold.ttf") format("truetype");
}

html {
    position: relative;
    min-height: 100%;
}
body {
    font-family: Futuris, sans-serif;
    text-rendering: geometricPrecision;
    font-weight: 400;
    color: #343434;
    padding-top: 75px;
    background: #f0f0f0;
}
.modal-open {
    padding-right: 0 !important;
}
body a {
    color: #343434;
}
body a:hover {
    text-decoration: none !important;
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
    background: transparent;
    color: #456770;
    border: 1px solid #456770;
    text-align: center;
}
button, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
    background: #456770;
    color: #ffffff;
    border: 1px solid #456770;
    transition: background 0.3s linear;
}
input:active, input:focus, button:active, button:focus {
    outline: none !important;
}
input::-moz-focus-inner, button::-moz-focus-inner {
    border: 0 !important;se
}
.contact-form .form-control:focus {
    border: 1px solid black;
    box-shadow: none;
}

/* Turn off lighting of the buttons */
.btn-default:active:hover, .btn-default.active:hover, .open > .dropdown-toggle.btn-default:hover,
.btn-default:active:focus, .btn-default.active:focus, .open > .dropdown-toggle.btn-default:focus,
.btn-default:active.focus, .btn-default.active.focus, .open > .dropdown-toggle.btn-default.focus {
    background: transparent;
}

/* Wrapper max width */
.main_wrapper, .navbar-default {
    max-width: 1200px;
    margin: 0 auto;
}

/* Inner wrapper for content with BG */
.inner_wrapper {
    background-size: contain;
    -webkit-background-size: contain;
    -o-background-size: contain;
    -moz-background-size: contain;
    background: #ffffff url('/assets/templates/cfo/images/inner_bg.png') repeat-y;
}

/* Page Content */
.content_wrapper{
    /*background-color: #ffffff;*/
}
.content_wrapper_login{
    background-color: #f0f0f0;
};
}
.page_content {
    margin: 25px 0px;
    font-size: 22px;
    font-weight: 400;
    text-align: justify;
}
.page_content h1 {
    font-weight: 600;
    font-size: 30px;
}

.page_content h2 {
    font-weight: 600;
    font-size: 26px;
}

/* Parallax */
.parallax_wrapper {
    max-width: 1200px;
}
.parallax_box {
    position: relative;
    height: 644px;
}
.parallax_content, .slide_content {
    padding-top: 249px;
    color: #ffffff;
}
.parallax_content a {
    display: block;
    width: 175px;
    line-height: 40px;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding-left: 34px;
    text-transform: uppercase;
}

.parallax_content a:hover {
    text-decoration: none;
    border: 1px solid #456770;
    background: #456770;
    transition: all 0.3s linear;
}

/* Booklet  */
.booklet_wrapper, .termsheet_wrapper {
    /*max-width: 1200px;*/
    display: flex;
    align-items: center;
    height: 439px;
    margin-top: 15px;
    margin-bottom: 15px;
    /*background-attachment: fixed;*/
    background-repeat: no-repeat;
    background-position: center -40px;
    position: relative;
}
.termsheet_wrapper {
    height: 570px;
    margin-top: 15px;
}
.termsheet_wrapper_top{
    margin-top: 15px;
}

.booklet_box, .termsheet_box {
    display: flex;
    padding: 15px;
    /*margin-top: 140px;*/
}
.booklet_content, .termsheet_content {
    position: relative;
}
.booklet_form {
    display: none;
}
.booklet_form.fade-in {
    /*display: block;*/
    position: absolute;
}
.booklet_heading, .termsheet_heading {
    font-size: 50px;
    color: #ffffff;
    /*padding-top: 175px;*/
}
.booklet_second_line, .termsheet_second_line {
    font-size: 22px;
    color: #ffffff;
}
.castle-booklet, .castle-termsheet {
    /*float: right;
    position: absolute;
    right: 0;
    bottom: 40px;*/
    margin-top: 10px;
}
.booklet_disclaimer {
    font-size: 13px;
}
.booklet_submit {
    text-align: center;
}
.booklet_submit input[type="submit"] {
    width: 250px;
    margin: 0 auto;
}

/* Disclaimer bottom fixed form & button */
.disclaimer_form_outer {
    background: #ffffff;
}
.disclaimer_form_inner {
    /*background: #fff;*/
    text-align: center;
    padding: 15px 0px;
    bottom: 0px;
}

/* Parallax Slider */
.parallax_slides {
    margin-bottom: 60px;
}
.slide_wrapper {
    height: 644px;
    background-size: cover;
    /*background-position: center -33.3333px;*/

}
.parallax_slides_wrapper .slide_content {
    /*position: absolute;
    max-width: 1200px;
    top: 0;
    background: rgba(69, 103, 112, 0.7); */
    font-size: 2em;
    color: #ffffff;
}

/* Carousel */
.carousel_wrapper {
    background: #e5e8dd;
    /*border-top: 50px solid #ffffff;
    border-bottom: 50px solid #ffffff;
    border-left: 15px solid #ffffff;
    border-right: 15px solid #ffffff;*/
    margin: 60px 0px;
}
.carousel_wrapper h2 {
    margin-top: 15px;
    text-align: center;
}
.slick-slide img {
    width: 100%;
}

/* Opportunities */
.opportunities_wrapper {
    /*background: #ffffff;*/
    margin-top: 110px;
    margin-bottom: 130px;
}

.opportunities_heading {
    text-align: center;
    /*margin-bottom: 69px;*/
    font-size: 38px;
    margin-top: 0;
    margin-bottom: 40px;
}

.opportunities_heading:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Products on main page */
.carousel {
    /*margin-top: 80px;*/
}
.carousel h2 {
    margin-bottom: 20px;
}
.carousel .item {
    font-size: 30px;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}
.carousel .item:hover {
    font-weight: bold;
    /*-webkit-transition: font-weight .4s ease-in-out;
    -o-transition: font-weight .4s ease-in-out;
    transition: font-weight .4s ease-in-out;*/
}
.carousel .item:hover img {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-transition: ease-in-out .4s;
    -o-transition: ease-in-out .4s;
    transition: ease-in-out .4s;
}
.carousel .item:hover div.overlay, .bloomberg_overlay:hover {
    background-color: rgba(0,0,0,0.6);
}
.carousel .item div.overlay, .bloomberg_overlay {
    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;
    height: 100%;
    overflow: hidden;
    opacity: 1;
    background-color: rgba(0,0,0,0.25);
    -webkit-transition: ease-in-out .4s;
    -o-transition: ease-in-out .4s;
    transition: ease-in-out .4s;
}
.office_big_photo > .overlay {

}
.bloomberg_overlay > span {
    display: none;
}
.carousel .item div:before {
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    content: "";
}
.carousel .item div p {
    display: inline-block;
    vertical-align: middle;
    color: #ffffff;
    font-size: 90%;
    padding: 3%;
}
.carousel .slick-line {
    padding-top: 15px;
    padding-bottom: 15px;
}
.carousel .slick-line .col-xs-4 {
    padding-left: 15px;
    padding-right: 15px;
}


/* Contact us page & form */
.contactus_wrapper {
    margin-bottom: 20px;
}
.contactus_wrapper h2 {
    font-size: 50px;
}
.contact-form {
    /*margin-top: 50px;*/
}
.contact-form input {
    height: 39px;
}
.contact-form input, .contact-form textarea {
    border: 1px solid black;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    font-size: 22px;
}
.contact-form input[type="submit"], .castle-trader,
.castle-learn-more, .castle-read-more, .castle-send-us {
    /*display: block;*/
    display: inline-block;
    font-size: 14px;
    border: 0;
    color: #456770;
    border: 1px solid #456770;
    border-radius: 0;
    text-transform: uppercase;
}

.castle-learn-more{
    margin-bottom: 10px;
}

.castle-booklet, .castle-slide-read-more, .castle-termsheet{
    display: inline-block;
    font-size: 14px;
    border: 0;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 0;
    text-transform: uppercase;
}
.castle-slide-read-more:focus{
    color: #ffffff;
}


.opportunities_push  {
    display: block;
    width: 35%;
    text-align: center;
    margin: 0 auto;
    border: 0;
    color: #456770;
    border: 1px solid #456770;
    border-radius: 0;
    text-transform: uppercase;
}

.contact-form input[type="submit"]:hover, .castle-trader:hover, .castle-learn-more:hover,
.castle-read-more:hover, .castle-send-us:hover, .opportunities_push:hover {
    color: #ffffff;
    background: #456770;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.castle-booklet:hover, .castle-slide-read-more:hover, .castle-termsheet:hover {
    color: #ffffff;
    background: #456770;
    border: 1px solid #456770;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

/* Row flex auto height */
.row-flex, .row-flex > div[class*='col-'] {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex: 1 1 350px;
}
.row-flex-wrap {
    -webkit-flex-flow: row wrap;
    /*align-content: flex-start;*/
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    flex: 1 1 350px;
}
.row-flex > div[class*='col-'] {
    margin: -.2px; /* hack adjust for wrapping */
}
.col-half-content {
    display: block;
    position: relative;
    width: 100%;
    padding: 20px;
}
.service_provider.about_company {
    background: #e5eff1;
    margin-top: 30px;
}
.service_provider .provider_name {
    font-size: 20px;
}
.col-half-content:hover, .service_provider.about_company:hover {
    background: rgb(210, 223, 225);
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    -ms-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
    cursor: pointer;
}

.about_company-text{
    line-height: 1.8em;
}

/* Navbar */
.navbar-default {
    background: transparent;
}
.navbar-inner > .container {
    background-color: #ffffff;
}
.navbar_wrapper {
    position: initial;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}
.navbar-collapse {
    position: relative;
}
.navbar-collapse form[role="search"] {
    /*position: absolute;
    right: 0px;*/
    /*width: 100%;*/
    float: right;
    position: relative;
    padding: 0px;
    margin: 0px;
}
.navbar-collapse form[role="search"].active {
    position: absolute;
    height: 75px;
    /*margin-left: 86px;*/
    margin-left: 190px;
    /*left: 0;*/
}
.navbar-collapse form[role="search"] button,
.navbar-collapse form[role="search"] input {
    padding: 8px 12px;
    border-radius: 0px;
    border-width: 0px;
    color: rgb(69, 103, 112);
    background-color: rgb(248, 248, 248);
    border-color: rgb(231, 231, 231);
    box-shadow: none;
    outline: none;
}
.navbar-collapse form[role="search"] button {
    background: transparent;
}
.navbar-collapse form[role="search"] input {
    padding: 16px 12px;
    font-size: 14pt;
    font-style: italic;
    color: rgb(160, 160, 160);
    box-shadow: none;
}
.navbar-collapse form[role="search"] button[type="reset"] {
    display: none;
}
.navbar-default {
    border: 0;
}
div.navbar-header > a {
    margin-top: 3px;
}
*.navbar-default .navbar-nav > .open > a {
    background-color: transparent !important;
}
.navbar-default .navbar-nav a {
    font-weight: 600;
    text-transform: uppercase;
}
nav .navbar-nav {
    margin-left: 110px;
}
.navbar-nav .dropdown:not(.open) > ul.dropdown-menu {
    display: none !important;
}
.navbar-nav > li {
    /*margin-right: 65px;
    margin-right: 16px;*/
}

/* Search */
#search {
    display: none;
    border: none;
    border-bottom: 2px solid #456770;
    background: #ffffff;
    font-style: initial;
    color: #456770;
    font-size: 18px;
    height: 30px;
}
.search-icon {
    width: 15px;
    height: 17px;
    display: inline-block;
    background: url('/assets/templates/cfo/images/search.svg') no-repeat;
    background-size: contain;
}

/* Slider */
.owl-item {
    display: block;
    float: left;
    overflow: hidden;
}
.owl-item:hover img {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-transition: ease-in-out .4s;
    -o-transition: ease-in-out .4s;
    transition: ease-in-out .4s;
}
.slide-outer {
    display: block;
    overflow: hidden;
    position: relative;
}
.slide-inner {
    opacity: 0;
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.slide-inner:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: ease-in-out .4s;
    -o-transition: ease-in-out .4s;
    transition: ease-in-out .4s;
}

.slide-inner p {
    text-align: center;
    font-size: 100%;
    padding: 0vh 1vh;
    color: #ffffff;
    font-weight: bold;
    margin: 0;
}

/* Contacts page */
.row.contact {
    margin-top: 25px;
    margin-bottom: 55px;
}

/* Footer */
.footer-inner .row {
    background: #ffffff;
}
.footer {
    min-height: 90px;
    line-height: 30px;
    padding-top: 15px;
    font-size: 10px;
    text-transform: uppercase;
}
.footer a {
    color: #000000;
}
.footer a:hover {
    font-weight: bold;
    text-decoration: none;
}
.footer .license {
    display: block;
    width:100%;
    float: left;
    clear: both;
    text-align: center;
}

.footer .links ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footer .links ul li {
    float: left;
    /*margin: 0px 20px;*/
}

.footer .links ul li a {
    border-right: 1px solid black;
    padding: 0px 7px;
}

.footer .links ul li:first-child a {
    padding-left: 0;
}

.footer .links ul li:last-child a {
    border: 0;
}

/* Languages */
nav .languages {
    list-style: none;
    height: 18px;
}
nav .languages > li {
    float: left;
    margin-right: 8px;
}
nav .languages > li:last-child {
    margin-right: 0;
}

/* Modal */
.modal-dialog * {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

/* Financial advisers menu */
.financial_advisers_menu {
    min-height: 51px;
    background-color: #e4e8dc;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding-top: 0px;
    padding-bottom: 0px;
}

.financial_advisers_menu ul {
    list-style: none;
    text-align: center;
    margin-bottom: 0;
}

.financial_advisers_menu ul > li {
    display: inline-block;
}

.financial_advisers_menu ul > li {
    margin-right: 20px;
}

.financial_advisers_menu ul > li > a {
    text-transform: uppercase;
    line-height:51px;
    color: #5b777d !important;
    text-decoration: none;
}

/* Fund Domicile radial svg */
.domicile-svg {
    max-width: 970px;
    max-height: 970px;
}
.how-to-apply-svg {
    max-width: 970px;
    max-height: 970px;
}
.product-cgaaf-svg {
    max-width: 970px;
    max-height: 970px;
}

.platform-image:hover {
    opacity: 0.6;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -ms-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.about-company-img {
    margin: 0 30px 30px 0;
    -webkit-box-shadow: -10px 10px 13px rgba(128, 128, 128, .5);
    box-shadow: -10px 10px 13px rgba(128, 128, 128, .5);
}

/*svg > #Overall {
    fill: red;
}*/
.rss_header a {
    font-weight: bold;
    font-size: 25px;
}

/* Members page */
.members-country {
    border-bottom: 1px solid black;
    color: #456770;
    text-align: right;
    text-transform: uppercase;
}
.members-country h2{
    font-size: 24px;
}
.members {
    margin: 15px -15px;
}
.member {
    background-clip: border-box;
    background: #F0F0F0;
    margin-bottom: 30px;
    padding: 15px;
}
.member-info-col {
    height: auto !important;
    max-height: 125px;
    margin-left: -15px;
    padding-right: 0;
    text-align: left;
}
.member-info-col.no-photo {
    margin-left: 0;
    padding-right: 15px;
}
.member-photo-col {
    height: auto !important;
}
.member-photo {
    margin: 0 0 15px 0;
    text-align: center;
}
.member-name {
    margin-bottom: 10px;
    padding-bottom: 5px;
}
.member-duty {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 5px;
}
.member-qualification {
    display: block;
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 0;
}
.member-name, .wo-qualification {
    display: block;
    border-bottom: 1px solid black;
    text-transform: uppercase;
    font-size: 0.74em;
}
.members .member > .member-description {
    height: 350px;
    overflow: hidden;
    text-align: justify;
    -webkit-mask-image: -webkit-linear-gradient(top, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}
.member-read-more {
    display: block;
    margin-top: 30px;
}
#aboutMember .member-info-col {
    width: 100%;
}
#aboutMember .member-info-col > p {
    margin: 0;
}
#aboutMember .modal-header, #aboutMember .member-name {
    border: 0;
    text-align: center;
}
#aboutMember .member-photo {
    margin: 0 auto;
    margin-bottom: 20px;
}

/* Contact Us - offices */
.office_slides {
    max-width: 410px;
    margin: 2px auto 0;
}

.office_slides .thumbnail {
    height: 82px;
    overflow: hidden;
    border: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    transition: none;
    margin: 0;
}

.office_slides .thumbnail img {
    /* height: 100%;*/
}

#lightbox.modal.fade.in {
    display: flex !important;
    padding-right: 0 !important;
}

#lightbox .modal-dialog {
    width: auto !important;
    align-items: center;
    margin: auto;
}

#lightbox .modal-content {
    display: inline-block;
    text-align: center;
}

#lightbox .close {
    position: relative;
    opacity: 1;
    color: #ffffff;
    padding: 7px;
    top: -6px;
    /*right: -58px;*/
    z-index: 1032;
}

.modal-open {
    padding-right: 0 !important;
}

/* Our history page */
.history-locations {
    float: left;
}
ul.list-inline.locations > li {
    display: table-cell;
}
.history-locations h4 {
    font-weight: bold;
}
.history-buttons {
    clear: both;
}
.modal-wide .modal-body {
    max-height: 80vh;
    overflow-y: auto;
}

.modal-wide .backform .modal-body {
    overflow-y: visible;
}

.carousel_wrapper, .booklet_wrapper, .termsheet_wrapper {
    background-repeat: no-repeat;
    background-size: cover !important;
    background-position: center center;
    background-attachment: fixed;
}

.booklet_wrapper{
    background-attachment: scroll;
}
/* Media queries for sm, md, lg */
/* Not for xs-screen + not_main class */
@media (min-width: 767px) {
    .carousel_wrapper, .booklet_wrapper, .termsheet_wrapper {
        margin-left: 15px;
        margin-right: 15px;
    }
    /* Not-XS not_main navbar & footer color */
    .not_main {
        background: #e5e8dd !important;
    }
    .not_main #search {
        background: #e5e8dd;
    }
    /* Not-XS navbar */
    .cfo_logo {
        width: 80px;
        /*height: 61px;*/
    }
    .navbar-nav > li {
        position: initial;
    }
    .navbar-nav > li > a {
        padding-left: 10px;
        padding-right: 10px;
    }
    @-moz-document .navbar-nav > li > a {
        padding-left: 7px;
        padding-right: 7px;
    }
    .navbar-collapse {
        padding-top: 0px !important;
    }
    .navbar-collapse form[role="search"] button, .navbar-collapse form[role="search"] a,
    .navbar-collapse form[role="search"] input {
        padding: 0;
        height: 17px;
    }
    .navbar-collapse form[role="search"] input {
        /*display:none;*/
        font-size: 18pt;
        opacity: 0;
    }
    .navbar-collapse form[role="search"].active button, .navbar-collapse form[role="search"] a {
        /*padding: 0px 5px;*/
    }
    .navbar-collapse form[role="search"].active button, .navbar-collapse form[role="search"] a,
    .navbar-collapse form[role="search"].active input {
        display: table-cell;
        opacity: 1;
    }
    .navbar-collapse form[role="search"].active input {
        width: 1044px;
    }
    .navbar-form .input-group {
        /*width: 100%;*/
        height: 75px;
        /* margin-top: 25px;*/
    }
    .navbar-collapse form[role="search"] a {
        height: 17px;
    }
    .navbar-form .input-group.open {
        float: right;
        height: 30px;
        margin-top: 23px;
        /*width: 1085px;*/
    }
    .navbar-form .input-group .input-group-btn {
        /*float: right;*/
        /*margin-top: 5px;*/
    }
    .navbar-nav > li > .dropdown-menu {
        background-color: #f0f0f0;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        padding-top: 0px;
        padding-bottom: 0px;
        text-align: center;
    }
    .navbar-nav > li > .dropdown-menu li {
        /*float: left;*/
        display: inline-block;
    }

    .navbar-nav > li > .dropdown-menu li > a {
        line-height: 51px;
        padding: 0px 14px;
        font-weight: 400;
    }

    .navbar-nav > li > .dropdown-menu li > a.strong {
        font-weight: bold;
    }

    .navbar-nav > li > .dropdown-menu li:hover a, .financial_advisers_menu li:hover a {
        font-weight: 600;
    }

    .navbar-nav li a:hover {
        background: none;
    }

    /*if main*/
    .navbar-default .navbar-nav li > a, .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
        color: #000000;
        background-color: transparent !important;
    }
    /*if not-main*/
    .not_main li > a {
        color: #5b777d !important;
    }

    .parallax_slides {
        height: 644px;
    }
    /* Languages panel */
    nav .languages {
        position: absolute;
        right: 15px;
        top: 7px;
        z-index: 1;
    }
    .fin-tech-image {
        float: right;
        margin: 15px 0px 15px 25px;
    }
    .main_link {
        float:right;
    }
    .modal-wide .modal-dialog {
        width: 90%;
    }
}

/* New gaaf navbar */
@media (min-width: 1217px) {
    .navbar_wrapper.full { width: 1200px; }
    .cfo_logo { display: none; }
    .cfo_logo_full { display: block; height: 68px; }
    #search { width: 805px; }
    nav .navbar-nav { margin-left: 75px; }
    .navbar-collapse form[role="search"].active { margin-left: 355px !important; }
}
@media (max-width: 1216px) {
    .cfo_logo { display: block; }
    .cfo_logo_full { display: none; }
}
/* --- */

/* media queries for lg */
@media (min-width: 1217px) {
    .navbar_wrapper.full {
        width: 1200px;
    }
    .navbar_wrapper {
        width: 1000px;
    }
    nav .navbar-nav {
        margin-left: 110px;
    }
    .navbar-nav > li {
        margin-right: 12px;
    }
    .navbar-nav > li:last-child {
        margin-right: 0px;
    }
    /*.navbar-collapse form[role="search"].active {
        width: 1090px;
    }*/
    .dropdown-menu {
        width: 1000px;
    }
    #search {
        /*left: 201px;*/
        /*width: 869px;*/
        /*width: 765px;*/
    }
    .carousel_wrapper, .booklet_wrapper, .termsheet_wrapper {
        width: 1170px;
    }
}

/* media queries for md */
@media (max-width: 1217px) {
    .navbar_wrapper {
        width: 980px;
    }
    .navbar-form .input-group.open {
        /*width: 1065px;*/
    }
    #search {
        /*left: 198px;*/
        /*width: 849px;*/
        width: 745px;
    }
    .navbar-nav > li {
        margin-right: 16px;
    }
    .navbar-nav > li:last-child {
        margin-right: 0px;
    }
    .carousel_wrapper, .booklet_wrapperm, .termsheet_wrapper {
        width: 950px;
    }
    /*nav .navbar-nav {
      margin-left: 110px;
    }
    .navbar-nav > li {
      margin-right: 46px;
    }
    .navbar-nav>li>.dropdown-menu {
      min-width: 980px;
    }
    .navbar-collapse form[role="search"].active {
      width: 870px;
    }
    #search {
      width: 850px;
      left: 3px;
    }
    */
}

/* media queries for sm */
@media (min-width: 767px) and (max-width: 997px) {
    .slide_wrapper {
        background-size : initial;
    }
    .navbar_wrapper {
        width: 750px;
    }
    .carousel_wrapper, .booklet_wrapper, .termsheet_wrapper {
        width: 720px;
    }
    .navbar-nav > li > .dropdown-menu {
        min-width: 750px;
    }
    .navbar-nav > li {
        margin-right: -10px;
    }
    .navbar-nav > li:last-child {
        margin-right: 0px;
    }
    nav .navbar-nav {
        margin-left: 0px;
    }
    .navbar-collapse form[role="search"].active {
        width: 640px;
        margin-left: 80px;
    }
    #search {
        width: 620px;
    }
    /*.parallax_wrapper {
      max-width: 1000px;
      width: 100%;
    }*/
}

/* media queries for xs */
@media (max-width: 767px) {
    .navbar_wrapper {
        width: 100%;
    }
    .carousel_wrapper, .booklet_wrapper, .termsheet_wrapper {
        width:auto;
        margin-left: 15px;
        margin-right: 15px;
    }
    .cfo_logo {
        width: 60px;
        height: 51px;
        margin-top: 11px;
    }
    .navbar-default .navbar-toggle {
        padding: 7px;
        border: 0;
        background: transparent !important;
    }
    .navbar-default .navbar-toggle:hover {
        background: transparent;
    }
    .navbar-default .navbar-toggle .icon-bar {
        height: 4px;
        background-color: #000000;
    }
    .navbar-default .navbar-nav>.active>a,
    .navbar-default .navbar-nav>.active>a:hover,
    .navbar-default .navbar-nav>.active>a:focus {
        background: transparent;
    }
    nav .navbar-nav {
        margin-left: 0px;
    }
    nav .navbar-nav a {
        line-height: 2.8em;
    }
    .dropdown ul {
        margin-left:10px;
    }
    .dropdown ul a {
        color: #555555;
        margin-left:10px;
    }
    .navbar-collapse form[role="search"] {
        padding: inherit;
        width: 100%;
    }
    .navbar-nav > li {
        margin: 0;
    }
    .navbar-nav > li > a {
        padding: 5px 0px;
    }
    .navbar-nav ul a {
        font-weight: 400 !important;
    }
    .navbar-nav a:hover, .navbar-nav a:hover {
        color: #555555;
        text-decoration: none;
    }
    .navbar-nav > li > .dropdown-menu {
        min-width: initial;
    }
    .navbar-collapse {
        max-height: 270px;
        min-height: 200px;
        margin: 0 -30px;
        padding: 0 30px;
        background: url('/assets/templates/cfo/images/bg-menu.jpg') 50% 50% no-repeat;
        background-size: cover;
        overflow-x: hidden;
        overflow-y: auto;
    }
    #search {
        background: transparent;
    }
    .navbar-collapse form[role="search"] {
        padding: 0;
    }
    .navbar-collapse form[role="search"].active {
        width: 100%;
        padding: 0px 15px;
        height: auto;
    }
    .navbar-default .navbar-collapse, .navbar-default .navbar-form {
        border: 0;
    }
    .navbar-toggle {
        margin-right: 0px;
    }
    #search {
        display: block !important;
        width: 100%;
    }
    .parallax_box, .slide_wrapper {
        height: 100vh;
        -webkit-background-size: cover !important;
        -moz-background-size: cover !important;
        -o-background-size: cover !important;
        background-size: cover !important;
    }
    .parallax_content {
        padding-top: 0px;
        padding: 32vh 0vh;
    }
    .slide_content {
        padding-top: 32vh;
    }
    .slide-inner p {
        font-size: 3.6vw;
    }
    .footer {
        line-height: 45px;
    }
    nav .languages {
        margin-top: 10px;
    }
    .fin-tech-image {
        margin: 0 auto;
    }
    .member .member-photo {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 0 !important;
    }
    .member .member-info-col {
        padding-right: 15px;
        margin: 20px auto;
    }
    .members-country {
        padding-right: 15px;
    }
    ul.list-inline.locations > li {
        display: initial;
    }
}

.booklet__text{
    text-align:center;
    font-size:30px;
    padding-top:80px;
    width:80%;
    margin: 0 auto;
}


.booklet_light-green{
    background-color:#ebf2ea;
}

.booklet_white{
    background-color:#fff;
}

.booklet__button-wrapper{
    text-align: center;
    padding: 35px 0 55px;
}

.table_fee-structure td{
    text-align: left;
}
.dismiss-button {
    background: #456770;
    color: #ffffff;
}
.heading{
    text-transform: uppercase;
}

.bloomberg-img{
    margin-top: 30px;
    margin-bottom: 30px;
}

.login {
    height: calc(100vh - 200px);
}
.login__label {
    position: absolute;
    right: 0;
}
.login__inner {
    position: absolute;
    top: 50%;
    width: calc(100% - 30px);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.login__logo {
    margin-bottom: 20px;
}
.login__logo img {
    width: 14em;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.panel-default {
    border-color: #fff;
}

.panel-default>.panel-heading {
    color: #333;
    background-color: #fff;
    border-color: #fff;
}
.login__welcome {
    margin-top: 20px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
}
.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.form-control {
    border-radius: 0;
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
    height: 2.8em;
    border: 1px solid #456770;
    color: #456770;
}
.castle-login, .castle-forgot-password  {
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    border: 0;
    color: #456770;
    border: 1px solid #456770;
    border-radius: 0;
    text-transform: uppercase;
    background-color: #fff;
    margin-right:10px;
}
.castle-login:hover, .castle-forgot-password:hover{
    color: #ffffff;
    background: #456770;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.divider{
    margin-top: 50px;
    margin-bottom: 30px;
    border: 0;
    border-top: 1px solid #628789;
}
.btn_send{
    min-width: 200px;
}

.page_content .provider h2{
    font-weight: 700;
    font-size: 28px;
}
.login-page{
    padding-top: 0;
}

.login-ribbon{
    position: absolute;
    right: 0;
    margin-top: 0;
    display: none;
}
@media (min-width: 740px){
    .login-ribbon{
        display: block;
        max-width: 180px;
    }
}
@media (min-width: 1024px){
    .login-ribbon{
        max-width: 245px;
    }
}
.login-banner{
    position: absolute;
    left: 0;
    min-height: 240px;
    display:none;
    text-align: center;
    width: 25%;
    min-width: 210px;
    max-width: 380px;
    background-image: url(/assets/images/login_banner.jpg);
    background-position: top center;
    background-size: cover; 
    z-index: 5;
}
.login-banner__close{
    text-align: right;
}
.login-banner__close-button{
    color: #fff;
    font-size:20px;
    font-weight:bold;
    padding-right: 10px;
    cursor: pointer;
}

.login-banner__heading, .login-banner__text{
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
    padding-left:10px;
    padding-right:10px;
}

.login-banner__submit-button{
    margin:15px auto;
    background: #53301c;
    color: #ffffff;
    border: 1px solid #53301c;
    border-radius: 0;
    transition: background 0.3s linear;
    text-transform: uppercase;
}
.login-banner__submit-button:hover, .login-banner__submit-button:active, .login-banner__submit-button:focus {
    color: #ffffff;
}
@media (max-width: 996px){
    .login-wrapper{
        min-width: 290px;
        max-width: 360px;
        margin: 0 auto;
        float: none;
    }
    .castle-login, .castle-forgot-password {
        display: block;
        margin: 0 auto;
        width: 90%;
    }
    .castle-login{
        margin-bottom: 10px;
    }
}

@media (min-width: 740px){
    .login-banner{
        display: block;
    }
}

@media (max-width: 767px){
    .footer-logos{
        text-align: center;
        margin-bottom: 10px;
    }
}

.footer__mobiles-buttons {
    display: flex;
    flex-wrap: wrap;
    max-width: 393px;
    width: 100%;
    justify-content: space-between;
    margin: 0 auto;
 }
 .footer__mobiles-buttons.mobile-app, .navbar.mobile-app {
     display: none;
 }
.footer__button-app-store, .footer__button-google-play {
    width: 128px;
    height: 40px;
    background-position: center;
    display: inline-block;
    margin: 20px auto;
  }
.footer__button-app-store {
    background-image: url(/assets/images/pages/appstore.png);
  }
.footer__button-google-play {
    background-image: url(/assets/images/pages/playmarket.png);
  }
.footer__icon_whatsApp, .footer__icon_weChat, .languages__icon_whatsApp, .languages__icon_weChat {
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
}
.footer__icon_whatsApp, .footer__icon_weChat{
    width: 30px;
    height: 30px;
    margin-right: 8px;
    position: relative;
}
.languages__icon_whatsApp, .languages__icon_weChat{
    width: 18px;
    height: 19px;
    position: relative;
}

.footer__icon_whatsApp, .languages__icon_whatsApp{
    background-image: url(/assets/images/whatsApp_icon.svg);
    animation: bounce 1s infinite linear;
}
.footer__icon_weChat, .languages__icon_weChat{
    background-image: url(/assets/images/wechat_icon.svg);
    animation: bounce 1s infinite linear;
}

@keyframes bounce {
  0% {
    top: 0;
  }
  50% {
    top: -5px;
  }
  100% {
    top: 0;
  }
}


