/* base styles
================================================== */
* {
    margin: 0;
    padding: 0;
    outline: 0;
}

body,
html {
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #3A3636;
    background: #F2F5F6;
}

:focus {
    outline: 0
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    border: none;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
}

.space {
    padding: 100px 0;
}

/* typography
================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #1E1D29;
}

h1 {
    font-size: 26px;
    line-height: 32px;
    color: #1E1D29;
}

h2 {
    font-size: 22px;
    line-height: 28px;
}

h3 {
    font-size: 18px;
    line-height: 28px;
}

h4 {
    font-size: 18px;
    line-height: 28px;
}

h5 {
    font-size: 18px;
    line-height: 28px;
}

h6 {
    font-size: 18px;
    line-height: 28px;
}

strong {
    font-weight: 700;
}

a {
    color: #1E1D29;

    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

a:hover,
a:active,
a:focus {
    color: #E50019;
    outline: 0;
    text-decoration: none;
}

p {
    color: #484646;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.heading {
    margin: 0 0 80px 0;
    color: #1E1D29;
    font-size: 76px;
    line-height: 76px;
    font-weight: 700;
    text-align: center;
}

.button {
    padding: 15px 34px;
    border: none;
    box-shadow: none;
    outline: none;
    text-transform: uppercase;
    border-radius: 50px;
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

.button i {
    margin-left: 2px;
}

.button-primary {
    background-color: #E3001B;
    color: #fff;
}

.button-primary:hover {
    background-color: #cf041d;
    color: #fff;
}

.button-secondary {
    background-color: #00ACC0;
    color: #fff;
    /*box-shadow: 0 8px 14px rgba(0, 0, 0, 0.15);*/
}

.button-secondary:hover {
    background-color: #0394a5;
    color: #fff;
}

.button-outline {
    padding: 12px 35px;
    box-shadow: none;
    outline: none;
    text-transform: uppercase;
    border-radius: 50px;
    display: inline-block;
    font-size: 15px;
    font-weight: 700;

    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

.button-outline i {
    margin-left: 2px;
}

.button-outline-white {
    border: 2px solid #fff;
    color: #fff;
}

.button-outline-white:hover {
    background-color: #fff;
    color: #3A3636;
}

.button-outline-primary {
    border: 2px solid #E3001B;
    color: #E3001B;
}

.button-outline-primary:hover {
    background-color: #E3001B;
    color: #fff;
}


.login {
    background-color: #EE2223;
    position: relative;
}

.login:before {
    content: "";
    background: url("../imgs/login-img.png") top left no-repeat;
    background-size: cover;
    height: 100%;
    width: 60%;
    position: absolute;
    left: 0;
}

.login .login-intro img {
    height: 140px;
    margin: 0 0 35px 0;
}

.login .login-intro h1 {
    font-size: 52px;
    line-height: 52px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 15px 0;
}

.login .login-intro p {
    font-size: 18px;
    line-height: 24px;
    color: #fff;
}

.login form {
    width: 400px;
    float: right;
    margin-right: 100px;
}

.login form h5 {
    font-size: 26px;
    line-height: 32px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 15px 0;
}

.login form .forgot-password {
    color: #fff;
    text-decoration: underline;
    display: block;
    margin: 0 0 20px 0;
}

.login form .forgot-password:hover {
    text-decoration: none;
    opacity: .8;
}

.login form button {
    margin: 0 0 20px 0;
}

.login .hint {
    color: #fff;
    opacity: .89;
}

.form-control {
    height: 50px;
    border-radius: 88px;
    border: 0;
    padding: 0 30px;
}

.form-icon {
    position: relative;
}

.form-icon img {
    position: absolute;
    height: 18px;
    top: 15px;
    left: 21px;
}

.login-form .form-icon .form-control {
    padding: 0 20px 0 55px;
    height: 50px;
}

.form-icon .padlock {
    left: 27px;
}

.form-control:focus {
    box-shadow: none;
    outline: none;
}

.login footer {
    width: 100%;
    padding: 15px 0;
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, .05);
}

.login footer .login-phone img {
    height: 30px;
    margin-right: 15px;
}

.login footer .login-phone a {
    font-size: 32px;
    line-height: 32px;
    font-weight: bold;
    color: #fff;
    display: block;
}

.login footer .login-phone a span {
    display: block;
    font-size: 14px;
    line-height: 14px;
    font-weight: normal;
}

.login .copyright {
    color: #fff;
    text-align: right;
}

.login .login-nav {
    text-align: right;
    margin: 0 0 10px 0;
}

.login .login-nav li {
    display: inline-block;
    margin-left: 25px;
}

.login .login-nav li a {
    color: #fff;
}






/*header*/



header {

}


header nav {
    background: white;
    position: fixed;
    width: 250px;
    height: 100vh;
    left: 0;
    top: 0;
    padding: 15px 0 15px 20px;
    transition: all .6s;
    z-index: 1000;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

header nav a.logo {

}

header nav a.logo img {
    width: 75px;
    margin-bottom: 30px;

}

header nav ul {

}

header nav ul li {
    margin-bottom: 25px;
    position: relative;
    padding: 5px 10px 5px 41px;
}

header nav ul li a {
    font-weight: 500;
    vertical-align: middle;
}

header nav ul li a img {
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 3px;
    max-width: 29px;
}

header nav ul li.active:before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 4px;
    border-radius: 12px 0 0 12px;
    background: #E50019;
}

header nav ul li.active a {
    color: #E50019;
}

ul li a img.red-logo {
    display: none;
}

header nav ul li.active a img.red-logo {
    display: inline-block;
}

header nav ul li.active a img.gray-logo {
    display: none;
}

.mobile-block {
    display: none;
}

ul li a:hover img.gray-logo {
    display: none;
}

ul li a:hover img.red-logo {
    display: inline-block;
}






/*credit*/

.profile {
    min-height: calc(100vh - 70px);
    padding-bottom: 60px;
}

.custom-container {
    margin-left: 250px;
    padding: 0 20px;
}

nav.second-nav  {
    margin-left: 250px;
    padding: 20px 20px 0 20px;
}

nav.second-nav ul {
    display: flex;
    align-items: center;
    padding-top: 10px;
    justify-content: flex-end;

}

nav.second-nav ul li {
    display: inline-block;
    padding: 0 0 0 37px;
    position: relative;
    height: 36px;
    margin-left: 60px;
}

nav.second-nav ul li a {
    color: #4E4B63;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

nav.second-nav ul li a:hover {
    color: #E50019;
}

nav.second-nav ul li span {
    color: #9E9E9F;
    text-transform: uppercase;
    display: block;
    font-size: 13px;
    line-height: 12px;
    margin-top: -3px;
}


nav.second-nav ul li a img {
    width: 30px;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: -3px;
}

nav.second-nav ul.my-docs {
    justify-content: start;
    padding-top: 0;
}

h1.info-heading {
    font-weight: bold;
    font-size: 30px;
    margin: 42px 0 32px 0;
}

.credit .size-block {
    background: white;
    padding: 32px 20px 30px 20px;
    border-radius: 18px;
    box-shadow: 0 6px 6px 2px rgb(128 127 128 / 11%);
}


.credit .size-block .canvas-block {
    position: relative;
    width: 308px;
    height: 308px;
}

.credit .size-block .canvas-block .our-logo {
    position: absolute;
    top: 0;
    left: 50%;
    width: 44px;
    margin-left: -22px;
}

h5.title-info {
    color: #706F74;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
}

.credit .size-block span {
    color: #1E1D29;
    font-weight: 700;
    font-size: 40px;
    margin-top: 6px;
    display: block;
}

span.count-info,
.credit .size-block span.count-info{
    color: #1E1D29;
    font-weight: 700;
    font-size: 25px;
    line-height: 32px;

}
span.count-info {
    margin-top: 6px;
    display: block;
}

.credit .size-block .canvas-block .returned {
    text-align: center;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -80px;
    margin-top: 102px;
    width: 160px;

}

.credit .size-block .canvas-block .returned span,
.credit .size-block .canvas-block .remaining span{
    margin-top: 0;
}

.credit .size-block .canvas-block .remaining {
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -80px;
    margin-bottom: 73px;
    width: 160px;
}

a.history-link {
    display: block;
    text-align: center;
    text-decoration: underline;
    margin-top: 30px;
    color: #706F74;
    font-size: 16px;
}

a.history-link:hover {
    text-decoration: none;
    color: #E50019;
}


.credit .count-info-block {
    background: white;
    padding: 32px 20px 30px 20px;
    border-radius: 18px;
    box-shadow: 0 6px 6px 2px rgb(128 127 128 / 11%);
    margin-bottom: 28px;
}

.credit .count-info-block .contributions {
    color: #706F74;
    font-weight: 500;
    font-size: 15px;
    display: block;
    text-align: right;
}

.credit .count-info-block .progress {
    height: 22px;
    border-radius: 88px;
    background-color: #E2E3E3;
    margin-top: 13px;
}

.credit .count-info-block .progress .progress-bar {
    height: 22px;
    background-color: #E50019;
    border-radius: 88px;
}

.credit .count-info-block .next-contribution {
    text-align: right;
}

.credit .count-info-block .next-contribution span {
    color: #E50019;
    font-weight: 700;
    font-size: 18px;
    margin-top: 15px;
    display: block;
}

.profile a.button {
    font-weight: 500;
    font-size: 13px;
    text-align: center;
}

.profile a.button.button-outline-primary {
    padding: 11px 30px;
    line-height: 19px;
}

.credit .count-info-block:nth-child(2) h5.title-info {
    height: 40px;
}





/*footer*/

footer {
    padding: 20px 0;
}

footer ul {

}

footer ul li {
    display: inline-block;
    margin-right: 25px;
}

footer ul li a {
    color: #706F74;
    font-size: 15px;
}

footer .copyright {
    color: #3F3E4B;
    font-size: 16px;
}







/*personal-profile*/


ul.my-docs {
    border-bottom: 1px solid #D1D1D1;
    padding-top: 0;
}

nav.second-nav ul.my-docs li {
    height: auto;
    padding: 0 30px 12px 30px;
    margin: 0;
}

nav.second-nav ul.my-docs li a {
    text-transform: uppercase;
    font-weight: 500;
    color: #9B99AA;
    font-size: 15px;
    display: inline-block;
    text-align: center;
}

nav.second-nav ul.my-docs li a:hover {
    color: #4E4B63;
}

nav.second-nav ul.my-docs li.active:before {
    content: "";
    width: 100%;
    height: 3px;
    background: #E3001B;
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: -2px;
}

nav.second-nav ul.my-docs li.active a {
    color: #4E4B63;
}



.profile form {
    padding: 30px 27px;
    background: white;
    margin-top: 40px;
    border-radius: 18px;
    box-shadow: 0 6px 6px 2px rgb(128 127 128 / 11%);

}

.profile form {

}

.sec-heading {
    font-weight: 600;
    color: #1E1D29;
    margin-bottom: 30px;
}

form .form-group {
    margin-bottom: 35px;
}

form .form-group label {
    color: #3F3E4B;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 3px;
    display: block;
}


form .form-group .form-control {
    border: 1px solid #B3BBBE;
    border-radius: 30px;
    padding: 15px 18px;
    font-size: 14px;
    height: auto;
    color: #706F74;
    background: #E8EBEC;
}

form .form-group .form-control::placeholder {
    color: #706F74;
}

form .form-group.income .form-control {
    border: 1px solid #E3001B;
    color: #E3001B;
}

form .form-group.income .form-control::placeholder {
    color: #E3001B;
}

form .form-group.income span {
    color: #E3001B;
    font-size: 13px;
    font-weight: 500;
    margin-top: 5px;
    display: block;
}

.viva-profile form a.button-outline-primary {
    padding: 12px 21px;
    text-align: center;
    font-weight: 500;
    font-size: 12px;
    width: 100%;
}







/*personal-documents*/

.contract-credit {
    padding: 30px 27px;
    background: white;
    margin-top: 45px;
    border-radius: 18px;
    box-shadow: 0 6px 6px 2px rgb(128 127 128 / 11%);
}

.contract-credit .contract-and-terms a {
    color: #706F74;
    text-decoration: underline;
    margin-right: 90px;
    position: relative;
    padding-left: 25px;
}

.contract-credit .contract-and-terms a:hover {
    text-decoration: none;
    color: #E50019;
}

.contract-credit .contract-and-terms a img {
    width: 17px;
    vertical-align: sub;
    position: absolute;
    left: 0;
}



.form-groups {

}

.form-groups form label {
    margin-bottom: 8px;
}
.form-groups form .form-control-file {
    font-size: 15px;
    color: #706F74;
}
.form-groups form .form-control-file::-ms-browse {
    color: #3E4354;
    padding: 10px 20px 10px 20px;
    background: white;
    border: 1px solid #CDCED5;
    border-radius: 80px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 13px;
    margin-right: 10px;
    cursor: pointer;
}

.form-groups form .form-control-file::-webkit-file-upload-button {
    color: #3E4354;
    background: white;
    border: 1px solid #CDCED5;
    border-radius: 80px;
    padding: 10px 20px 10px 20px;
    text-transform: uppercase;
    font-weight: 500;
    margin-right: 10px;
    cursor: pointer;
    font-size: 13px;
}

.form-groups form .form-control-file::-ms-browse:hover {
    border: 1px solid #626472;

}

.form-groups form .form-control-file::-webkit-file-upload-button:hover {
    border: 1px solid #626472;
}


.form-groups form.password-change input {
    background: white;
    border: 1px solid #B3BBBE;

}





/*invite a friend*/

.invite-a-friend {
}

.invite-a-friend .friend-offer {
    background: url("../imgs/invite-a-friend-bgr.png") right center no-repeat;
    background-size: 100%;
}

.invite-a-friend .friend-offer h1 {
    text-align: left;
    max-width: 623px;
    margin-left: 100px;
    padding: 109px 0;
    color: white;
    font-size: 54px;
    line-height: 60px;
    margin-bottom: 60px;
}

.invite-a-friend .custom-container {
    padding-top: 0;
}





.what-we-offer {
    padding: 0 20px;
}

.what-we-offer .offer-info {
    text-align: center;
}

.what-we-offer .offer-info h5 {
    font-weight: 600;
    font-size: 23px;
    margin-bottom: 18px;
}

.what-we-offer .offer-info img {
    max-width: 140px;
    max-height: 70px;
    margin-bottom: 18px;
}


.what-we-offer .offer-info p {
    color: #3A3636;
    font-weight: 500;
}



.invite-a-friend-form {

}

.invite-a-friend-form form {

}

.invite-a-friend-form form .form-group {
    display: inline-block;
    width: 67%;
    margin-bottom: 20px;
    margin-right: 15px;
    position: relative;
}

.invite-a-friend-form form .form-group input {
    background: white;
    padding-left: 45px;

}

.invite-a-friend-form form .form-group .logo-group {
    position: absolute;
    top: 50%;
    margin-top: 6px;
    left: 0;
    margin-left: 20px;
    width: 18px;
}

.invite-a-friend-form form a.button {
    padding: 15px 46px;
}

.invite-a-friend-form form .social-networks {
    text-align: center;
}

.invite-a-friend-form form .social-networks span {
    color: #3F3E4B;
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin: 0 0 12px 0;
}

.invite-a-friend-form form .social-networks a {
    margin: 0 6px;
}

.invite-a-friend-form form .social-networks a:hover {
    opacity: 0.7;
}

.invite-a-friend-form form .social-networks a img {
    width: 38px;
}



.join-now {
    background: url("../imgs/join-now.jpg") center no-repeat;
    background-size: cover;
    border-radius: 18px;
    margin: 70px 0 25px 0;
    padding: 100px 0 100px 45px;
}

.join-now h3 {
    font-size: 37px;
    font-weight: 600;
    color: white;
    line-height: 48px;
    margin-bottom: 25px;

}

.join-now p {
    color: white;
    font-weight: 500;
}

.join-now p a {
    color: white;
    text-decoration: underline;
}

.join-now p a:hover {
    text-decoration: none;
}