﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
body{
  font-family: 'Open Sans', sans-serif;
}
input, select, textarea{
  font-family: 'Open Sans', sans-serif;
}
a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 12px;
}
@media (min-width: 768px) {
  /* html {
    font-size: 16px;
  } */
}

.container{
  max-width:100%;
}
.loader{
  z-index: 99;
  position: fixed;
  top:0;
  left:0;
  right:0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader img{
  align-self: auto;
}
.navbar{
  padding-left:0;
  padding-right:0;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.hover-grey:hover{
  background-color: rgba(0,0,0,0.02);
}

.form-control.calculated-value{
  border-color:transparent;
  background-color: transparent;
  color: inherit;
  font-weight: 700;
}
.form-control.calculated-value:focus{
  outline: none;
  box-shadow: none;
}
.modal-content{
  border: none;
  box-shadow: 0 0 50px rgba(0,0,0,0.2);
}
.calculated-value:hover+.calculation-tooltip{
  display: block;
}
.calculation-tooltip{
  display: none;
  opacity: 1;
  top: -20px;
  left: 13px;
}
.calculation-tooltip .tooltip-inner{
  max-width: 300px;
}

.calculation-tooltip.tooltip .arrow {
  position: absolute;
  display: block;
  width: .8rem;
  height: .4rem;
  bottom: -5px;
  left: 10px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid;
}

.table-hover tbody tr:hover {
  background-color: rgba(0,0,0,.05);
}

.table-column-striped tr td:nth-child(even), .table-column-striped tr th:nth-child(even){
  background-color: rgba(0,0,0,.03);
} 
 .table-container{
  overflow: auto;
  max-width: 100%;
}
.table-container .table td{
  width:200px;
}
.budget-form-label-cell{
  width:200px;
}
table#budget{
  table-layout: fixed;
}
/*
.form-format{
  transition: 0.3s ease;
}
.form-format:focus {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  z-index: 999;
  box-shadow: 0 0 10px rgba(0,123,255,.65);
}

*/
.budget-form-label{
  min-width: 125px;
}

table#budget td{
  vertical-align: middle;
}
table#budget .calculation-tooltip {
  top: -20px;
  left: 0;
}
table#budget .input-group:hover+.calculation-tooltip {
  top: -42px;
  left: 0;
  display: block;
}
table#budget .input-group .calculated-value:hover+.calculation-tooltip {
  top: -42px;
  left: 0;
  display: block;
}
table#budget td:nth-last-child(1) .calculation-tooltip,
table#budget td:nth-last-child(2) .calculation-tooltip{
  left: auto;
  right:calc(100% - 30px);
}
table#budget td:nth-last-child(1) .calculation-tooltip.tooltip .arrow,
table#budget td:nth-last-child(2) .calculation-tooltip.tooltip .arrow{
  right:10px;
  left: auto;
}
.form-holder{
  min-height: 29px;
}
.login-page{
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f3f8ff;
}
.register-page{
  margin-bottom: 0;
}
.h-page{
  min-height: 100vh;
}
.card-theme{
  
  border: 1px solid #dfe6e8;
  border-radius: 0;
  background-color: #FFF;
}
.card-login{
  min-width: 320px;
}
.card-register{
  min-width: 600px;
}
.btn-theme-blue{
  color:#FFF;
  font-weight: 600;
  background-color: #006fb7;
}
.btn-theme-blue:hover{
  background-color: #015f9f;
  color:#FFF;
}
.btn-theme-green{
  color:#FFF;
  font-weight: 600;
  background-color: #97be0d;
}
.btn-theme-green:hover{
  background-color: #84a708;
  color:#FFF;
}
.text-theme-green{
  color: #97be0d;
}
.text-theme-blue{
  color: #006fb7;
}
.text-gray{
  color:rgba(0,0,0,0.6)
}
.bg-theme-light-blue{
  background-color: #f3f8ff;
}
.col-register-image {
  position: relative;
}
.col-register-image img{
  position: absolute;
  width: 100%;
  height: 100%;
  top:0;
  left:0;
  object-fit: cover;
}
.register-wrap{
  min-width: 600px;
  padding-left: 50px;
  padding-right: 50px;
}
.select2-container--default .select2-selection--multiple {
  border: 1px solid #ced4d9;
  background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
  padding-right: 1.75rem;
  width: 100%;
}
.select2-container--default.select2-container--focus .select2-selection--multiple{
  border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #e2f3ff;
  border: 1px solid #5caee7;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
  color: #1a70ab;
  border-right: 1px solid #5baee7;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{
  background-color: #FFF;
}
.select2-search__field::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #495057;
}
.select2-search__field::-moz-placeholder { /* Firefox 19+ */
  color: #495057;
}
.select2-search__field:-ms-input-placeholder { /* IE 10+ */
  color: #495057;
}
.select2-search__field:-moz-placeholder { /* Firefox 18- */
  color: #495057;
}
.sub-selection-wrap{
  order:2;
}
.sub-selection-wrap.order-1{
  order:1;
}
#sub-selections{
  display: flex;
  flex-direction: column;
}
.dont-break-out {

  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;

}
.nav-link.dropdown-toggle::after{
  vertical-align: middle;
}
.link{
  border:none;
  padding: 0;
  color:#0366d6;
  background-color: transparent;
}
.link:hover{
  text-decoration: underline;
}
.nav-link.dropdown-toggle > svg path{
  fill:#6c757d;
}
.nav-link.dropdown-toggle[aria-expanded="true"] > svg path,
.nav-link.dropdown-toggle:hover > svg path{
  fill:#000;
}
select[disabled] + .field-validation-error {
  display: none;
}


/*overview table css*/
.table-scroll {
    position: relative;
    width: 100%;
    z-index: 1;
    margin: auto;
    overflow: auto;
    height: 650px;
}

    .table-scroll table {
        width: 100%;
        min-width: 1280px;
        margin: auto;
        border-collapse: separate;
        border-spacing: 0;
    }

.table-wrap {
    position: relative;
}

.table-scroll th,
.table-scroll td {
    padding: 5px 10px;
    border: 1px solid #0000000d;
    background: #fff;
    vertical-align: top;
}

.table-scroll thead th {
    background: #fff;
    color: #333;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9;
}

/* testing links*/
.table-scroll tbody th {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 10;
    background: #F5F4F4;
}

.table-scroll thead th:first-child {
    z-index: 11;
    left: 0px;
}
/*overview table css*/
