.sustainable-component-scrollable{
    overflow-x:scroll;
}

html {
    font-size: 14px;
}

.v-messages {
    top: -4px;
}

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    body {
        margin-bottom: 0px;
    }
    footer {
        position: relative !important;
    }
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}


nav.mainnav {
    background-color: #122E43 !important;
}

.mainnav .navbar-nav .dropdown-menu {
    background-color: #122E43 !important;
}

.mainnav .dropdown-item.active, .mainnav .dropdown-item:active, .mainnav .dropdown-item:hover {
    background-color: #234560 !important;
}

.activemenu {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: #df2239;
    text-decoration-thickness: 2px;
}

.footer {
    background-color: #122E43 !important;
    line-height: 20px !important;
    
}

.customSubMenuHolder:hover > .customSubMenu {
    display: block
}

.customSubMenu {
    display: none;
    box-shadow: 2px 8px 12px rgba(0,0,0,0.5);
    position: absolute;
    width: 100%;
    left: 0;
    background: #00354b;
    z-index: 1;
}

.large-button {
    text-align: center;
    display: grid;
    align-items: center;
    width: 100%;
    min-height: 90px;
    color: white;
    cursor: pointer;
    font-size: 13px;
}

.large-button-container {
    width: 100px;
}

.table-space{
    margin-bottom:70px;
}

.modal-body {
    max-height: calc(-150px + 100vh );
    overflow-y: auto;
}

/* Colors */

.purple {
    background-color: #630C78 !important;
    color:white !important;
}
.purple.selected {
    /*background-color: #7D478E !important;*/
    background-color: #c7a1d4   !important;
    color: black !important;
}

.green {
    background-color: #ABC32E !important;
    color: black !important;
}

.green.selected {
    background-color: #E9F2B9 !important;
    color: black !important;
}

.blue {
    background-color: #4B6FB2 !important;
    color: white !important;
}

.blue.selected_old {
    background-color: #6C85C0 !important;
    color: white !important;
 }

.blue.selected {
    background-color: #B1C1E8 !important;
    color: black !important;
}


.orange {
    background-color: #CE6E26 !important;
    color: black !important;
}

.orange.selected {
    background-color: #EEC39A  !important;
    color: black !important;
}

.lime {
    background-color: #ABC32E !important;
    color: black !important;
}

.lime.selected {
    background-color: #BDCF5B !important;
    color: black !important;
}

/* Some describing texts contains tables, these needs to have a specific class too look good */

.table-solid-border th, .table-solid-border td {
    border-width: 1px;
    padding-left: 5px;
    padding-right: 5px;
}

/* Style for common-label */

.common-label-container {
    display: block;
    position: relative
}

.common-label-tab-container {
    background: linear-gradient(180deg,#dfdfdf 61%,#fff 0);
    padding-left: 1px;
    padding-right: 1px;
    padding-top: 1px;
    display: inline-table;
    top: -14px;
    position: absolute;
    top: -18px;
}

.common-label-tab-contained {
    position: relative;
    color: rgba(0,0,0,0.6);
    background-color: white;
    font-size: 16px;
}

.table-scrollable-container {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: auto;
}


.hovercard {
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);
    transition: .3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
    cursor: pointer;
    display:inline-flex;
    width:100%;
    
}

.hovercard:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}

.hovercard-container {
    padding-left: 0px;
    padding-right: 0px;
}

@media (min-width: 768px) {
    .hovercard {
        min-height: 120px;
    }

    .hovercard-container {
        margin-top: 30px;
        margin-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 992px) {
    .hovercard-container {
        padding-left: 5px;
        padding-right: 5px;
    }
}

