html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: transparent;
    border-top: 1px solid #ddd;
    margin-top: 40px;
    bottom: 0%;
    width: 100%;
    position: fixed;
    z-index: 10;
    overflow-x: hidden !important;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.site-mobile-index {
    position: relative;
    max-width: 1024px;
    min-height: 700px;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

.site-mobile-menu-button {
    margin: -70px -23px 0 0;
    width: 140px;
    height: 130px;
    color: #2e6ab2;
    font-weight: bold;
    background-color: white;
    border-radius: 50%;
    padding: 83px 20px 5px 20px;
    position: fixed;
    float: right;
    text-align: center;
    font-size: 22px;
    z-index: 899;
    left: 63%;
}

.logo-mobile {
    position: absolute;
    top: 20px;
    z-index: 500;
}

.site-mobile-footer {
    background-image: linear-gradient(62deg, #8abf47, #3fb64a);
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    font-weight: bolder;
}

.site-mobile-footer a, .site-mobile-footer a:hover {
    color: white;
    margin-top: 20px;

}

.site-desktop-footer {
    background-image: linear-gradient(62deg, #8abf47, #3fb64a);
    font-weight: bolder;
    padding-top: 30px;
    padding-bottom: 20px;
}

.site-desktop-footer a, .site-desktop-footer a:hover {
    color: white;
    margin-top: 20px;

}


.footer-line {
    border-left: 1px solid #2e57a7;
    height: 24px;
    margin-top: 18px;
}

.about-text {
    color: #2e6bb3;
    /*font-weight: bold;*/
    margin-bottom: 20px;
}

.talk-with-us {
    display: block;
    margin-bottom: 20px;
    width: 100%;
    max-width: 350px;

}

.talk-with-us-wrapper {
    max-width: 500px;

}
.about-text-bottom {
    color: #2e6bb3;
    padding-left: 20px;

}

.generic-page-mobile {
    padding: 0 20px;
    margin-top: 123px;
    margin-bottom: 30px;

}

h1 {
    font-weight: bolder;
    margin-bottom: 20px;
    font-size: 28px;
}

.banco-de-portugal {
    background: white;
    padding: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    width: 100%;
    max-width: 500px;
}

.banco-de-portugal img {
    max-width: 200px;
}
.contact-phone-email {
    display: flex;

}

.contact-phone-email input {
    padding-right: 3px;

}

.contacts-page {
    color: #2e6bb3;
}

.contacts-page h2 {
    color: #2e6bb3;
    font-weight: bolder;
}

.contacts-text {
    /*font-weight: bold;*/
}

.btn-submit-contact, .btn-submit-contact:active .btn-submit-contact:visited {
    color: white !important;
    font-weight: bolder;
    font-size: 20px;
    background-image: linear-gradient(62deg, #2e3594, #2e6ab3) !important;
    border-color: #ccc;
}

.site-mobile-menu {
    width: 564px;
    height: 612px;
    color: #2e6bb3;
    background-color: white;
    border-radius: 50%;
    /* padding: 86px 20px 5px 20px; */
    position: fixed;
    text-align: right;
    z-index: 900;
    left: 26%;
    margin-left: -81px;
    margin-top: -30px;
    padding-top: 60px;
    padding-right: 239px;
    font-size: 18px;
    font-weight: bold;
    display: none;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
    top: 0%;
}

.site-mobile-menu-submenu {
    margin-bottom: 12px;
}

.site-mobile-menu-submenu-container {
    margin-bottom: 40px;
}

.site-mobile-menu-separator {
    height: 2px;
    width: 98px;
    background-image: linear-gradient(90deg, #8cbf47, #3bb54a);
    margin-left: 226px;
    margin-top: -12px;
    margin-bottom: 10px;

}

.site-mobile-menu-close-button {
    font-size: 24px;
    margin-bottom: 2px;
}

.site-mobile-menu-phone {
    color: #8cbf47;
}

.mobile-menu-trap {
    /*background-color: red;*/
    height: 100%;
    z-index: 899;
}

.site-mobile-menu-wrapper {
    position: relative;
    max-width: 499px;
}

.contact-phone-circle {

    color: #2e6bb3;
    background-image: linear-gradient(62deg, #d8dcde, #ffffff);
    padding-top: 26px;
}

.contact-fax-circle {
    color: #2e6bb3;
    background-color: white;
    padding-top: 26px;
    background-image: linear-gradient(62deg, #ffffff, #d8dcde);

}

.contact-facebook-circle {
    color: white;
    background-color: white;
    padding-top: 32px;
    background-image: linear-gradient(62deg, #2e3594, #2e6ab3) !important;

}

.contact-instagram-circle {
    color: white;
    background-color: white;
    padding-top: 32px;
    background-image: linear-gradient(45deg, #3db64a, #8cbf47);
}

.contact-balls-wrapper {
    /*display: flex;*/
    /*justify-content: flex-start;*/
    margin-bottom: 20px;
}

.contact-balls-wrapper div {
    margin-right: 10px;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    font-size: 10px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;

}

.contact-balls-wrapper img {
    width: 75px;
    height: 75px;
}

.nav > li > a:hover, .nav > li > a:focus {
    background-color: transparent;
}


.navbar-brand {
    display: flex;
}

.navbar-brand img {
    height: 24px;
}

.navbar-nav > li > a {
    font-size: 11px;
}

.navbar-facebook-button img {
    height: 42px;
    margin-top: 8px;
    margin-right: 6px;
}


@media only screen and (min-width: 992px) {
    .navbar-brand img {
        height: 43px;
    }

    .navbar-nav > li > a {
        font-size: 14px;
        padding-top: 20px;
    }

    .navbar-facebook-button img {
        height: 46px;
        margin-top: 14px;
        margin-right: 7px;
    }
}

.site-desktop-footer img {
    height: 37px;
    margin-top: 11px;
    margin-bottom: 16px;
}

.map-image {
    max-height: 420px;
}

.field-contactform-phone {
    margin-right: 16px;
}

.contact-form-wrapper {
    max-width: 500px;
}

.data-removal-form-wrapper {
    max-width: 600px;
    margin: 88px auto;
}

.contact-form-wrapper div {
    flex-grow: 1;
}

.phone-wrapper {
    margin-left: 0;
}

.mobile-facebook-button {
    height: 52px;
}

.social-buttons-mobile {
    margin-bottom: 24px;
}
.desktop-form{
    position: relative;
    height: 600px;
    margin-bottom: 70px;

}

@media only screen and (max-width: 350px) {
    .slider-da-bolinha input {
        width: 73px;
        font-size: 16px;
        padding-top: 3px;
    }

    .slider-da-bolinha {
        height: 225px;
        margin-left: 63px;
        width: 135px;
    }

    .homepage-step-number {
        margin-right: -50px;
    }

    .homepage-title {
        margin-left: 1px;
        font-size: 19px;
        width: 220px;
    }

    .step-one-subline {
        margin-right: -151px;
        font-size: 20px;
    }

    .step-one-subtitle {
        margin-right: -101px;
        font-size: 20px;
    }

    .credit-type-wrapper {
        margin-left: 81px;
    }

    .homepage-step-number-blue-line {
        margin-left: 163px;
    }

    .step-background-circle {
        left: 45%;
    }

    .step-one-form {
        left: 45%;
    }

    .step-two-circle {
        left: 45%;
    }

    /*.credit-type5-button-one {*/
    /*margin-left: 71px;*/
    /*}*/
    .homepage-step-number-two {
        font-size: 51px;
        font-weight: bold;
        margin-bottom: 0;
        margin-right: 62px;
    }

    .step-two-subtitle {
        margin-right: 269px;
    }

    .slider-da-bolinha input {
        left: 79px;
        width: 90px;
        bottom: 237px;
    }

    /*.slider-da-bolinha {*/
    /*margin-top: 20px;*/
    /*}*/
    .step-two-slider-container {
        margin-right: 99px;
    }

    .homepage-step-number-green-line {
        margin-left: 139px !important
    }

    .site-mobile-menu {
        left: 63%;
    }

    .slider-min-value, .slider-max-value {
        font-weight: bold;
        font-size: 20px;
    }

    .step-two-slider-container {
        margin-right: 252px;
    }

    .credit-type-wrapper {
        width: 134px;
        margin-left: 155px;
    }

    .credit-type-button-one {
        width: 59px;
        height: 59px
    }

    .credit-type-button-two {
        width: 59px;
        height: 59px
    }

    .credit-type-label {
        font-size: 11px;
        margin-top: 13px;
    }

    .continue-button {
        width: 116px;
        height: 116px;
    }

    .continue-button-text {
        margin-top: 49px;
        font-weight: bolder;
        font-size: 16px;
    }

    .credit-conditions {
        margin-left: -146px;
    }

    .site-mobile-menu {
        left: 14% !important;
    }

    .site-mobile-menu-button {
        width: 115px;
    }

}

.desktop-credit-container {
    position: absolute;
    font-size: 12px;
    text-align: left;
    width: 500px;
    left: 60%;
    top: 125%;
    color: #2e6bb3;
}

.desktop-credit-conditions {
    line-height: 7px;
    margin-bottom: 24px;
}

.footer-site-desktop {
    margin-top: 36px;
}

.desktop-footer-logo-container {
    margin-bottom: 5px;
}

.desktop-footer-no-image-columns {
    margin-top: 17px;
    font-weight: normal;
}

body {
    overflow-x: hidden !important;
}

/*html {*/
    /*overflow-x: hidden !important;*/
/*}*/

.footer-column-desktop {
    max-width: 266px;
}

.form-control:focus {
    border: 1px solid #8abf47;
    box-shadow: none;
}

.consolidado-wrapper {
    padding-top: 52px;
    padding-bottom: 94px;

}

@media only screen and (max-width: 380px) and (min-width: 351px) {
    .rangeslider--vertical {
        width: 60px !important;
    }

    .rangeslider__handle {
        width: 50px !important;
        height: 50px !important;
    }

    .rangeslider__handle:before {
        font-size: 36px !important;
    }

    .slider-da-bolinha input {
        left: 79px !important;
        width: 94px;
        bottom: 222px;
    }

    .rangeslider--vertical {
        margin-left: 101px !important;

    }

    /*.slider-min-value, .slider-max-value {*/
    /*font-size: 21px;*/
    /*}*/
    .slider-max-value {
        top: 162px !important;
    }

    .slider-min-value {
        top: 339px !important;
    }
    .rangeslider__handle:before {
        content: "€";
        font-weight: bolder;
        font-size: 30px;
        position: absolute;
        top: 0;
        left: 14px;
        font-family: Arial, sans-serif;
    }
}