body {
    max-width: unset;
}

.navbar {
    max-width: unset;
}

.text-input--password:before{
content: none !important;
}

.hiddenEye-bg-img{
background-repeat:no-repeat;
background-size:contain;content:"";
height:17px;
position:absolute;
right:0;top:50%;
transform:translateY(-50%);
width:21px;
cursor: pointer;
}

.revert-bg-img-color{
filter: invert(100%) !important;
-webkit-filter: invert(100%) !important;
}

.form-btn{
border: none;
cursor: pointer;
}

.btn--ghost-inactive {
color: rgba(40,43,147,0.4) !important;
border-color: rgba(40,43,147,0.4) !important;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    /*border-bottom: 1px dotted black; !* If you want dots under the hoverable text *!*/
}

.tooltip:hover {
    cursor: help;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11pt;
    font-style: normal;
    line-height: normal;
    font-weight: normal;
    position: absolute;
    z-index: 10;
    bottom: 140%;
    left: 50%;
    margin-left: -72px; /* Use half of the width (120/2 + 12 padding = 72), to center the tooltip */
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}

.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

@media only screen and (max-width: 768px) {
    .tooltip .tooltiptext {
        margin-left: -64px;
        padding: 2px;
        font-size: 12px;
    }
}

@media only screen and (min-width: 769px) {
    .tooltip-bottom-wrapper .tooltip .tooltiptext {
        top: 20px;
        bottom: unset;
    }

    .tooltip-bottom-wrapper .tooltip .tooltiptext::after {
        top: unset;
        bottom: 100%;
        border-color: transparent transparent black transparent;
    }

    .tooltip-right-bottom-wrapper .tooltip .tooltiptext {
        top: unset;
        bottom: unset;
        left: 90px;
        border-radius: 0 6px 6px 6px;
    }

    .tooltip-right-bottom-wrapper .tooltip .tooltiptext::after {
        left: -5px;
        top: 0;
        border-color: transparent black transparent transparent;
    }

    .tooltip-left-bottom-wrapper .tooltip .tooltiptext {
        right: calc(100% + 5px);
        left: unset;
        bottom: unset;
        border-radius: 6px 0 6px 6px;
    }

    .tooltip-left-bottom-wrapper .tooltip .tooltiptext::after {
        top: 0;
        border-color: transparent transparent transparent black;
        left: calc(100% + 5px);
    }

    .tooltip-right-top-wrapper .tooltip .tooltiptext {
        left: 70px;
        border-radius: 6px 6px 6px 0;
    }

    .tooltip-right-top-wrapper .tooltip .tooltiptext::after {
        left: 5px;
        border-color: black transparent transparent transparent;
    }
}

@media only screen and (max-width: 768px) {
    .tooltip-right-top-wrapper-mobile .tooltip .tooltiptext {
        border-radius: 6px 6px 6px 0;
        left: calc(100% + 54px);
    }

    .tooltip-right-top-wrapper-mobile .tooltip .tooltiptext::after {
        border-color: black transparent transparent transparent;
        left: 5px;
    }

    .tooltip-left-top-wrapper-mobile .tooltip .tooltiptext {
        border-radius: 6px 6px 0 6px;
        left: -45px;
    }

    .tooltip-left-top-wrapper-mobile .tooltip .tooltiptext::after {
        border-color: black transparent transparent transparent;
        right: 0;
        left: unset;
    }

    .tooltip-right-bottom-wrapper-mobile .tooltip .tooltiptext {
        left: 84px;
        border-radius: 0 6px 6px 6px;
        top: 0;
        bottom: unset;
    }

    .tooltip-right-bottom-wrapper-mobile .tooltip .tooltiptext::after {
        border-color: transparent black transparent transparent;
        left: -5px;
        right: unset;
        top: 0;
    }

    .tooltip-left-bottom-wrapper-mobile .tooltip .tooltiptext {
        border-radius: 6px 0 6px 6px;
        top: 0;
        bottom: unset;
        left: -65px;
    }

    .tooltip-left-bottom-wrapper-mobile .tooltip .tooltiptext::after {
        border-color: transparent transparent transparent black;
        top: 0;
        left: calc(100% + 5px);
    }

    .tooltip-center-bottom-wrapper-mobile .tooltip .tooltiptext {
        right: -60px;
        top: 20px;
        bottom: unset;
    }

    .tooltip-center-bottom-wrapper-mobile .tooltip .tooltiptext::after {
        border-color: transparent transparent black transparent;
        top: -10px;
    }
}

/* END TOOLTIP */

.card-view{
    max-width: 1296px;
    width: 100%;
}

.card-view-wrapper{
    align-items: center;
}

.subheader,
.header{
    width: 100%;
}


@media only screen and (max-width: 1200px) {
    .two-tables__collateral{
        flex-direction: column;
    }
}

/* Change the white to any color */
input[type='email'].bg-blue, input[type='password'].bg-blue:-webkit-autofill,
input[type='email'].bg-blue, input[type='password'].bg-blue:-webkit-autofill:hover,
input[type='email'].bg-blue, input[type='password'].bg-blue:-webkit-autofill:focus,
input[type='email'].bg-blue, input[type='password'].bg-blue:-webkit-autofill:active{
    -webkit-box-shadow: inset 0px 33px 25px 0 #3237b1,
                inset 0 66px 15px 0px #3237b1,
                inset 0 99px 5px 0px #3237b1;
    -webkit-text-fill-color: #f5f5f1 !important;
}

.card__text.card__text--narrow img{
    max-width: 1100px;
    object-fit: contain;
}

.project-summary h1,h2,h3,h4,h5,h6{
    font-weight: 400;
}

.project-summary tbody,table,td,th,td{
    border: none;
}

.project-summary td{
    border: none;
    border-bottom: 1px solid #343f65 !important;
    padding-top: 7px;
    padding-bottom: 7px;
}
.project-summary table{
    border-spacing: 0;
}

/* sweet-alert START: */
.swal2-container {
    z-index: 10000 !important;
}

/* sweet-alert :END */

.mt16 {
    margin-top: 16px;
}

.phoneNumberMaskWrap {
    position: relative;
}

.phoneNumberMaskWrap:before {
    content: '+';
    position: absolute;
}

.btnNoBorder {
    border: unset;
}

.w-100 {
    width: 100%;
}

.opacity-8 {
    opacity: .8;
}

.overflowAuto {
    overflow: auto;
}

.nameInitials {
    background: #2A2D97;
    border: 2px solid var(--green);
    height: 40px;
    width: 40px;
    box-sizing: border-box;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

.m-25 {
    margin: 25px;
}

/*CKEDITOR START:*/
/* montserrat-regular - latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v25-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../fonts/montserrat-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/montserrat-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/montserrat-v25-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('../fonts/montserrat-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/montserrat-v25-latin-regular.svg#Montserrat') format('svg'); /* Legacy iOS */
}

.ckContent * {
    font-family: 'Montserrat';
}

/*CKEDITOR :END*/

/*FIX FINTOWN DESIGN START: :*/
.text-input input[type=text]:-webkit-autofill + label,
.text-input input[type=email]:-webkit-autofill + label {
    font-size: 10px;
    opacity: 1;
    top: -15px
}

/*TODO @KJ Kuriem gadījumiem šis ir domāts? Pagaidām aizkomentēju, jo salūzt orģinālais dizains uz mobile*/
/*.navbar {*/
/*    z-index: 100;//*/
/*}*/

@media (max-width: 380px) {
    #signup-link {
        font-size: 15px;
        padding: 17px 28px;
    }
}

@media (min-width: 577px) {
    .header-wrapper {
        max-width: 1296px;
        width: 100%;
    }
}

@media (max-width: 1000px) {
    .project-card__text__list {
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media (max-width: 1200px) {
    .project-card__text__list {
        -moz-column-gap: 20px;
        column-gap: 20px;
    }
}

@media (max-width: 1400px) {
    .project-card__text__list {
        -moz-column-gap: 50px;
        column-gap: 50px;
    }
}

.project-card__text__list {
    /*-moz-column-count: 2; Breaks design at 800px*/
    /*column-count: 2; Breaks design at 800px*/
    -moz-column-gap: 100px;
    column-gap: 100px;
    list-style: none;
    padding-left: 0;
}

@media (min-width: 993px) {
    .navbar__wrapper:not(.navbar__wrapper--login) .navbar__home img.logo-mobile {
        display: none
    }
    .mobile-view {
        display: none;
    }
}

@media (max-width: 576px) {
    .wrapper--mobile-full .header {
        width: calc(100% - 36px);
    }
}

/*FIX FINTOWN DESIGN :END*/

/** Additions to modal styles. */
.modal--average .modal__container {
    max-width: 800px;
    margin-top: 2vh;
}

.modal__container .modal__scrollable {
    max-height: calc(90vh - 210px);
    overflow-y: auto;
}

.modal--average .modal__container .btn {
    margin-top: 30px;
    width: auto;
}
/*OVERRIDE SCROLL TOP BUTTON START:*/
#scrollUpBtn {
    background-color: var(--green);
}

@media (max-width: 768px) {
    #scrollUpBtn {
        bottom: 60px
    }
}
/*OVERRIDE SCROLL TOP BUTTON :END*/

i.document-icon {
    opacity: 0.6;
    background-image: url(../img/document.png);
    height: 32px;
    width: 32px;
    margin-left: -5px;
    padding-right: 8px;
}

/*contact Us modal window in the f-end view /investor/overview start*/

.contact-us textarea{
    height: auto;
    white-space: pre-line;
}

/*contact Us modal window in the f-end view /investor/overview end*/

/*My investment page start*/

.btn--mini {
    display: inline;
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
    padding: 3px 17px;
}

.center-div{
    display: flex;
    justify-content: center;
    align-items: center;
}

.cards--table .project-card__column--image__text a.dark-blue{
    color: #282b93;
    font-weight: 400;
}

.cards--table .project-card__column--image__text a.dark-blue .show-less,
.cards.cards--table.table--mobile .project-card .project-card__column__row a.link .show-less{
    display: none;
}

/*My investment page end*/
