@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #2B2929;
    min-height: 100vh;
    }
body h1{
    font-size: 35px;
}
.btn{
    border: 1px solid #707070;
    fill: #FFFFFF;
    background: #004B65;
    border-radius: 0;
}
.no-padding{
    padding: 0;
}
.no-margin{
    margin: 0;
}
footer{
    position: relative;
    bottom: 0;
    font-size: 12px;
    width: 100%!important;
}
.menu{
    height: 60px;
    z-index: 999;
    width: 100%!important;
}
.background-alternative{
    background: #F8F8F8;
    height: 900px;
}
.background-alternative .title-wrapper{
    order: 2;
}
.background-alternative .intro-img-container{
    order: 1;
}
.background-alternative .intro-img-container img{
    width: 100%;
}
.calculation-tools{
    position: relative;
    background: #fffff;
    padding-bottom: 100px;
}
.calculation-tools-title{
    margin-top: 4%;
    display: block;
}
.calculation-wrapper{
    text-align: center;
    margin: 0  auto;
}
.calculation-wrapper img{
    margin: 10%;
    position: relative;
}
.footer-links{
    list-style: none;
    display: inline-flex;
}
.footer-links li{
    margin-left: auto;
}
.footer-links li a{
    color: #333333;
    cursor: pointer;
}
.footer-links span{
    color: #B7B7B7;
}
footer .img-container img{
    max-width: 214px;
    margin-left: 20%;
}
.title-wrapper{
    position: relative;
    margin: auto auto;
    padding-left: 50px;
}
.title-wrapper h1{
    font-weight: bold;
}
.title-wrapper .open_register{
    padding: 10px 25px;
    color: #ffffff;
}
.intro-img-container{
    margin: auto auto;
}
.color-red{
    color: #f14d3e;
}
.no-wrapper{
    white-space:nowrap;
}
.popover{
    z-index:10000;
}
.popover_text{
    font-size: 12px;
}
/**
 * Form Registo/Login
 */
#generic-modal input{
    border-radius: 0;
    width: 100%;
    height: 35px;
}
.modal-header h1{
    width: 95%;
    text-align: left;
    font-weight: bold;
}
.modal-subtitle{
    width: 100%;
    margin-left: 2%;
}
/**
 * Modal
 * */
.modal-open .modal{
    background: rgba(255,255,255,0.90);
}
.login-form-bottom{
    text-align: center;
    margin: 0 -7.5% -11.5%;
    background: rgba(240,240,240,0.5);
}
.login-form-bottom .login-text{
    width: 100%;
}
.modal-icon-close{
    font-size: 25px;
    cursor: pointer;
}
#register-form ul.dropdown-menu.inner>li>a
#profile-form ul.dropdown-menu.inner>li>a {
    white-space: initial;
}
#register-form .bootstrap-select .dropdown-menu {
    min-width: 380px;
    max-width: auto !important;
    left: initial !important;
    top: initial !important;;
    transform: initial !important;
    width: initial !important;
    border: initial !important;
    font-size:initial !important;
    position: initial !important;
    text-align: left !important;
}
#profile-form .bootstrap-select .dropdown-menu {
    min-width: 380px;
    max-width: auto !important;
    left: initial !important;
    top: initial !important;;
    transform: initial !important;
    width: initial !important;
    border: initial !important;
    font-size:initial !important;
    position: relative !important;
    text-align: left !important;
}
#register-form .bootstrap-select .btn,
#profile-form .bootstrap-select .btn{
    background: #fff;
    border: 1px solid #ced4da;
}
#register-form select.btn-select, .bs-placeholder,
#profile-form select.btn-select, .bs-placeholder {
    background-color: #ffffff;
    border: 1px solid #ced4da;
}
/*
Dashboard
 */
.username-info{
    padding-right: 100px;
    color: #333333;
}
.intro-selection-div{
    height: 400px;
    display: flex;
    align-items: center;
    flex-direction: column;
    background: #ffffff;
}

.btn-open-link{
    height: 48px;
    width: 100px;
    border: 1px solid #E3E3E3;
    border-radius: 5px;
    background: transparent;
    color: #333333;
    text-transform: uppercase;
    text-align: center;
    line-height: 45px;
    font-size: 12px;
}
#btn-cash.disabled{
    color: #6c757d;
    pointer-events: none;
    cursor: default;
    opacity: .65;
}
.btn-open-link a {
    margin: auto auto;
}
.intro-selection-wrapper {
    height: auto;
}
.intro-selection-div * {
    margin: 1rem 0;
}
.intro-selection-div img{
    margin: 50px 0 0;
}
.calculation-div{
    border: 2px solid #24B0BB;
}
.cash-flow-div{
    border: 2px solid #f3992a;
}
.budget-div{
    border: 2px solid #62ba7b;
}
.management-div{
    border: 2px solid #f14d3e;
}
/*
    Menu
 */
.dropdown-menu li{
    list-style: none;
    font-weight: bold;
    font-size: 14px;
}
.nav-item a{
    color: #333333;
}
.financial-link.active-link{
    color: #24B0BB;
}
.cash-link.active-link{
    color: #f3992a;
}
.budget-link.active-link{
    color: #62ba7b;
}
.treasury-link.active-link{
    color: #f14d3e;
}
.dropdown.is-active:after{
    content: "";
    position: absolute;
    left: 50%;
    top: 40px;
    transform: translate3d(-50%,0,0);
    width: 150px;
}
.financial-container.is-active:after{
    border-bottom: 1px solid #24B0BB;
}
.cash-container.is-active:after{
    border-bottom: 1px solid #62BA7B;
}
.budget-container.is-active:after{
    border-bottom: 1px solid #62ba7b;
}
.treasury-container.is-active:after{
    border-bottom: 1px solid #f14d3e;
}
.dropdown-menu{
    text-align: center;
    border: none;
}
.user-dropdown{
    position: relative;
    width: 100%;
}
.dropdown-menu a{
    color: #333333;
}

.dropdown-menu a:active{
    background-color: #cecece;
}
.dropdown-menu-financial a:active{
    background-color: #24B0BB;
}
.dropdown-menu-cash a:active{
    background-color: #f3992a;
}
.dropdown-menu-budget a:active{
    background-color: #62ba7b;
}
.dropdown-menu-treasury a:active{
    background-color: #f14d3e;
}
.dropdown-item{
    padding: 20px!important;
}
.menu a {
    color: #333333;
    cursor: pointer;
}
.navbar-user{
    width: 340px;
}
.manual_link_wrapper{
    margin: 0;
    padding: 0;
}
.manual_link{
    margin: 0 !important;
    padding: 0 !important;
}
.manual_link:hover{
    text-decoration: underline;
}
/*
ALERTS
 */
.alert p{
    margin: auto auto;
}
/**
 * VIDEO LINKS
 */
.link-financial{
    color: #24B0BB;
}
.link-cashflow{
    color: #f3992a;
}
.link-budget{
    color: #62ba7b;
}
.link-treasury{
    color: #f14d3e;
}
/*
Sidebar - dashboard
 */
.dashboard-list{
    list-style: none;
}
.dashboard-list li a{
    font-size: 14px;
    color: #333333;
}
.dashboard-list li a:hover, .dashboard-list li a:active{
    color: #62BA7B;
}
.navbar-toggler:focus{
    outline: none;
    border: none;
}
#budget_loader{
    display: none;
    background-image: url(../img/ajax-loader.gif);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
    height: 100%;
    position: relative; /*required for z-index*/
    z-index: 1000; /*puts on top of everything*/
}
/*
TABLE BUDGETS
 */
#table-budgets{
    font-size: 12px;
    line-height: 24px;
    white-space: nowrap;
}
#table-budgets th{
    font-weight: 700;
}
#table-budgets .headings{
    vertical-align: middle;
    text-align: center;
}
#table-budgets td.custom-font{
    font-size: 1rem;
    font-weight: bold;
}
#table-budgets tbody.collapse.in {
    display: table-row-group;
}
#table-budgets thead th{
    border: 2px solid #62ba7b;
    font-size: 10px;
    padding: 1px;
}
#table-budgets tbody td,
#table-budgets tfoot td{
    font-size: 10px;
    padding: 1px;
}
.clickable:hover{
    cursor: pointer;
}
.fix_column{
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    background: #FFF;
}
.table .in_table input{
    border: 0;
    padding: 0;
    text-align: right;
    margin-bottom: 2px;
}
.table .in_table span.euro{
    padding-top: 10px;
    padding-left: 2px;
}
#table-budgets input[type=number]::-webkit-inner-spin-button,
#table-budgets input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
span.euro {
    white-space: nowrap;
}
#table_edit_planned td{
    vertical-align: middle;
}
#table_edit_planned tfoot td{
    font-weight: 600;
}
.nav-tabs .nav-link{
    color: #2B2929;
}
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active{
    color: #62ba7b;
}
.highcharts-series-label{
    display: none;
}
/*
TABLE FINANCIAL RATIOS
 */
#financial_ratios td{
    vertical-align: middle;
}
/*
CARDS
 */
.card .table thead th{
    border: none!important;
}
.custom-card-header{
    height: auto;
    min-height: 55px;
}
.list-group-item{
    padding: 0.25rem 0.25rem;
}
/*
INLINE FORMS
 */
.custom-inline-form{
    flex-direction: column;
    align-items: stretch;
}
.custom-inline-form .form-group input, .custom-inline-form .form-group select, .custom-inline-form .form-group textarea {
    width: 100%;
}
.custom-inline-form button{
    width: 25%;
    align-self: flex-end;
    margin-top: 25px;
}
#btn-financial{
    background: #24B0BB;
    color: #fff;
}
#btn-cash{
    background: #f3992a;
    color: #fff;
}
#btn-budget{
    background: #62ba7b;
    color: #fff;
}
#btn-treasury{
    background: #f14d3e;
    color: #fff;
}
.custom-card{
    margin-left: 30px;
    margin-right: 30px;
}
@media screen and (min-width: 576px) {

}
@media screen and (min-width: 768px){
   .background-alternative .title-wrapper{
        order: 1;
    }
    .background-alternative .intro-img-container{
        order: 2;
    }
    .dropdown-item{
        padding: 10px!important;
    }
    .navbar-expand-lg .navbar-nav .nav-link:nth-last-child(){
        display: none;
    }
    .calculation-div h3{
        text-align: center;
    }

    .cash-flow-div h3{
        text-align: center;
    }

    .budget-div h3{
        text-align: center;
    }

    .management-div h3{
        text-align: center;
    }

}
@media screen and (min-width:992px){
    .background-alternative{
        height: auto;
        min-height: calc(100vh - 140px);
    }
    .intro-selection-wrapper {
        height: auto;
    }
    .navbar-expand-lg .navbar-nav .nav-link{
        padding: 0 0.1rem;
        font-size: 12px;
    }
    .navbar-user{
        width: 240px;
    }
    .dropdown-menu{
        max-width: 300px;
        left: 50%;
        top: 100%;
        transform: translate3d(-50%, 0, 0px);
        width: 200px;
        border: 1px solid #cecece;
        font-size: 12px;
        position: absolute;
    }
    .custom-form-inline *{
        display: inline-block;
    }
    .custom-card{
        margin: 0;
    }
    .dropdown-menu .dropdown-toggle:after{
        border-top: .3em solid transparent;
        border-right: 0;
        border-bottom: .3em solid transparent;
        border-left: .3em solid;
    }
    .dropdown-menu .dropdown-menu{
        margin-left:0; margin-right: 0;
    }
    .dropdown-menu li{
        position: relative;
        font-size: 12px;
    }
    .nav-item .submenu{
        display: none;
        position: absolute;
        top:-7px;
        min-width: 260px;
        left: 166%;
    }
    .nav-item .submenu-left{
        right:100%; left:auto;
    }
    .dropdown-menu > li:hover{ background-color: #f1f1f1 }
    .dropdown-menu > li:hover > .submenu{
        display: block;
    }
}
@media screen and (min-width:1200px) {
    .main-logo-container{
        left: 5%;
    }
    .second-logo-container{
        position: absolute;
        left: 12%;
    }
    .custom-inline-form{
        flex-direction: row;
        align-items: center;
    }
    .custom-inline-form button{
        width: auto;
    }
    .navbar-expand-lg .navbar-nav .nav-link{
        padding: 0 10px;
        font-size: 14px;
    }
    .navbar-user{
        width: 340px;
    }
}
@media screen and (min-width:1500px){
    .custom-break{
        display: none!important;
    }
    #table-budgets thead th{
        border: 2px solid #62ba7b;
        font-size: 12px;
        padding: 3px;
    }
    #table-budgets tbody td,
    #table-budgets tfoot td{
        font-size: 12px;
        padding: 3px;
    }
}

.financial .btn.btn-primary,
.financial .btn.btn-secondary,
.financial .page-item.active a{
    background: #24B0BB;
    color: #fff;
    border: 0;
}

.financial .table thead th{
    border-bottom: 2px solid #24B0BB;
}

.financial li.breadcrumb-item a,
.financial h3 {
    color: #24B0BB;
}


.financial .card-header,
.financial .breadcrumb{
    background-color: rgba(36, 176, 187, 0.1);
}

.financial .card{
    border: 1px solid #24B0BB;
}

.financial .card a{
    color: #24B0BB;
}

.financial table a{
    color: #24B0BB;
}


.financial.active-link{
    color: #24B0BB;
}
.taeg_amount{
    padding: .75rem;
}

.tresury .btn.btn-primary,
.tresury .btn.btn-secondary,
.tresury .page-item.active a{
    background: #f14d3e;
    color: #fff;
    border: 0;
}

.tresury .table thead th{
    border-bottom: 2px solid #f14d3e;
}

.tresury li.breadcrumb-item a,
.tresury h3 {
    color: #f14d3e;
}

.tresury .card-header,
.tresury .breadcrumb{
    background-color: rgba(241, 77, 62, 0.1);
}

.tresury .card{
    border: 1px solid #f14d3e;
}

.tresury .card a{
    color: #f14d3e;
}

.tresury table a{
    color: #f14d3e;
}


.budget .btn.btn-primary,
.budget .btn.btn-secondary,
.budget .page-item.active a{
    background: #62ba7b;
    color: #fff;
    border: 0;
}

.budget li.breadcrumb-item a,
.budget h3 {
    color: #62ba7b;
}

.budget .card-header,
.budget .breadcrumb{
    background-color: rgba(98, 186, 123, 0.1);
}

.budget .card{
    border: 1px solid #62ba7b;
}

.budget .card a{
    color: #62ba7b;
}

.budget table a{
    color: #62ba7b;
}



.calculation-div h3{
    color: #24B0BB;
    font-size: 22px;
}

.cash-flow-div h3{
    color: #f3992a;
    font-size: 22px;
}

.budget-div h3{
    color: #62ba7b;
    font-size: 22px;
}

.management-div h3{
    color: #f14d3e;
    font-size: 22px;
}


.navbar-nav li.nav-item{
    padding: 0 10px;
}

#annual-budget-graph,
#unity-budget-graph {
    min-width: 310px;
    max-width: 800px;
    height: 400px;
    margin: 0 auto
}
/*CASH-FLOW*/
    /*COLORS*/
    .cashflow .btn.btn-primary,
    .cashflow .btn.btn-secondary,
    .cashflow .page-item.active a{
        background: #f3992a;
        color: #fff;
        border: 0;
    }
    .cashflow li.breadcrumb-item a,
    .cashflow h3 {
        color: #f3992a;
    }
    .cashflow .card-header,
    .cashflow .breadcrumb{
        background-color: rgba(243, 153, 42, 0.15);
    }
    .cashflow .card{
        border: 1px solid #f3992a;
    }
    .cashflow .card a{
        color: #f3992a;
    }
    .cashflow table a{
        color: #f3992a;
    }
    /*ACCORDION BUTTONS*/
    .cashflow .btn-secondary:not(:disabled):not(.disabled).active,
    .cashflow .btn-secondary:not(:disabled):not(.disabled):active,
    .cashflow .show>.btn-secondary.dropdown-toggle{
        background: #f3992a;
        color: #fff;
        border: 0;
        opacity: 0.75;
    }
    /*ACCORDION FORM*/
    .cashflow .form-control{
        font-size: 14px;
    }
    /*ACCORDION CARDS*/
    .cashflows-cards .card-header:hover{
        cursor: pointer;
    }
    .cashflows-cards .card{
        margin-bottom: 15px;
    }
    .cashflows-cards .card-header .fa {
        transition: .3s transform ease-in-out;
    }
    .cashflows-cards .card-header.collapsed .fa {
        transform: rotate(90deg);
    }
    .cashflows-cards .list-group-item {
        padding: 0.5rem 0.5rem;
    }
    #flow_A,
    #flow_B,
    #flow_C,
    #flow_ABC{
        min-width: 310px;
        max-width: 800px;
        height: 400px;
        margin: 0 auto
    }
    #ratio_interest_coverage,
    #ratio_effort_rate,
    #ratio_indebtedness,
    #ratio_financial_autonomy,
    #ratio_financial_leverage{
        min-width: 310px;
        max-width: 800px;
        height: 400px;
        margin: 0 auto
    }

/*PRINT PAGES*/
@media print {
    .no-print,
    #codeigniter_profiler{
        visibility: visible;
        display: none;
    }
    #resultsModal{
        width: 100%;
    }
    #resultsModal .modal-dialog{
        max-width: 100%;
    }
}
