﻿@import url('https://fonts.googleapis.com/css2?family=Manrope&family=Rubik:wght@300&display=swap');

@font-face {
    font-family: "Onest" !important;
    src: url('../fonts/OnestRegular1602-hint.woff') format('woff'), /* Pretty Modern Browsers */
    url('../fonts/OnestRegular1602-hint.ttf') format('truetype') /* Safari, Android, iOS*/
}

html, body {
    height: 100% !important;
    font-size: 1rem !important;
}

html, body {
    font-family: 'Onest', "Manrope", "Rubik", Sans-Serif !important;
}

.hero-gradient {
    background: rgb(43,0,212);
    background: linear-gradient(0deg, rgba(43,0,212,1) 0%, rgba(77,77,244,1) 18%, rgba(255,255,255,0.4962359943977591) 100%);
    height: 100% !important;
}

h1 {
    outline: none !important;
}

.text-light {
    color: #f8f9fa !important;
}

.rsi-bg-primary {
    background-color: #2b00d4 !important;
}

.rsi-text-primary {
    color: #2b00d4 !important;
}

.rsi-btn-primary {
    color: #fff !important;
    background-color: #2b00d4 !important;
    border-color: #2b00d4 !important;
}

.rsi-btn-primary:hover {
    color: #2b00d4 !important;
    background-color: #fff !important;
}

.rsi-hovered-link:hover > * {
    color: #2b00d4 !important;
}

.bg-primary {
    background-color: #2b00d4 !important;
}

.text-primary {
    color: #2b00d4 !important;
}

.btn-primary {
    color: #fff !important;
    background-color: #2b00d4 !important;
    border-color: #2b00d4 !important;
    transition: all .35s ease;
}

.btn-primary:hover {
    color: #2b00d4 !important;
    background-color: #fff !important;
}
 

.spinner-grow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -0.125em;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: .75s linear infinite spinner-grow;
    animation: .75s linear infinite spinner-grow;
}

@keyframes spinner-grow {
    0% {
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: none;
    }
}

.rsi-bg-primary {
    background-color: #2b00d4 !important;
}

.rsi-text-primary {
    color: #2b00d4 !important;
}

.rsi-btn-primary {
    color: #fff !important;
    background-color: #2b00d4 !important;
    border-color: #2b00d4 !important;
}

.rsi-border-primary {
    border-color: #2b00d4;
}

.rsi-hovered-link:hover > * {
    color: #2b00d4 !important;
}

.parallax-layer > img {
    display: block;
    width: 100%;
}

.display-4:focus-visible {
    outline: none;
}


/* TABS */
.nav-tabs .nav-link {
    font-size: 16px;
    font-weight: 600;
}

.nav-tabs .nav-link i {
    font-size: 1.25rem;
}

.nav-tabs .nav-link.active {
    background: #2b00d4 !important;
    color: white !important;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: #fff;
    background-color: #2b00d4 !important;
    border-color: transparent;
}

.nav-tabs {
    overflow: hidden !important;
    border-bottom: transparent !important;
}

.nav-tabs .nav-link {
    background-color: #eff2fc !important;
    color: #33354d !important;
}
 
/*.pre-header  i {
    line-height: 1;
}*/

ul.nav li {
    font-size: 14px;
} 
 
.language-selector .mud-button {
    font-size: 14px;
    padding-block: 0 !important;
    text-transform: capitalize;
}

.language-selector .mud-button .mud-button-icon-start {
    display: none
}

.mud-popover-provider .mud-list .mud-list-item-text {
    margin: 0;
}

.navbar {
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .15);
}

.navbar .navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 600;
}

.navbar-expand-lg .navbar-nav .nav-link {
    font-weight: 600;
    padding-left: 14px;
    padding-right: 14px;
}

.navbar .navbar-nav .nav-link i {
    margin-right: 7px
}


.nav-tabs .nav-link:hover {
    background: #2b00d4 !important;
    color: white !important;
}

.nav-tabs .nav-item, .nav-pills .nav-item {
    margin-right: 0.75rem; 
}

.nav-tabs .nav-item:last-child, .nav-pills .nav-item:last-child {
    margin-right: 0
}

.rsi-border-primary {
    border-color: rgba(99, 102, 241, 0.35) !important;
}

/*  SEARCH FORM DESKTOP */

.search-desktop .form-control { 
    font-size: 1rem !important;
    padding: 0.785rem 1.125rem !important;
    width: 65% !important; 
}

.search-desktop .form-select {
    font-size: 1rem !important;
    width: 35% !important;
}

.search-desktop .dropdown-menu .long-and-truncated {
    white-space: normal
}

/* SEARCH RESULT */
.list-group .list-group-item {  
    border: none;
}

.header-text-sm {
    font-size: 14px;
}

/*Cards css*/
.card-hover:not(.bg-transparent).rsi-border-primary:hover {
    -webkit-box-shadow: 0 0.5rem 1.125rem -0.5rem rgb(99 102 241 / 90%) !important;
    box-shadow: 0 0.5rem 1.125rem -0.5rem rgb(99 102 241 / 90%) !important;
}

.card-hover:not(.bg-transparent):hover {
    -webkit-transform: translateY(-0.25rem);
    transform: translateY(-0.25rem);
    -webkit-box-shadow: 0 0.275rem 0.75rem -0.0625rem rgb(11 15 25 / 6%), 0 0.125rem 0.4rem -0.0625rem rgb(11 15 25 / 3%);
    box-shadow: 0 0.275rem 0.75rem -0.0625rem rgb(11 15 25 / 6%), 0 0.125rem 0.4rem -0.0625rem rgb(11 15 25 / 3%);
}

.card-hover:not(.bg-transparent) {
    -webkit-transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
    transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out, border-color 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out, border-color 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
}

.card-title { 
    margin-bottom: 0.75rem;
    font-weight: 600; 
    white-space: normal;
    min-height: 50px;
}

.card-header:first-child {
    border-radius: var(0.5rem -1px) 0 0;
}

.card-header, .card-footer {
    padding-right: 0;
    padding-left: 0;
    background-color: transparent !important;
    border-bottom: 1px solid transparent !important;
}

.grid-layout > .data-preview-card {
    max-height: 365px;
    min-height: 365px;
    padding-top: .5rem !important;
    padding-bottom: 1.5rem !important;
}

.list-layout > .data-preview-card {
    /*max-height: 240px;*/
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}
 

.long-and-truncated {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.long-description-and-truncated {
    --lh: 1.4rem;
    --max-lines: 3.4;
    max-height: calc(var(--lh) * var(--max-lines));
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* AUTENTIFICATION CARD */
.autentification p{
    font-size: 14px;
    line-height: 1.3;
}

.autentification p small {
    font-size: 12px;
}

.flex-parent {
    display: flex;
    align-items: center;
}

.footer {
    background: rgb(18,30, 45) !important; 
}

.footer .footer-logo img {
    filter: brightness(0) invert(1);
}  

.footer .footer-links a {
    color: white;
    font-size: .8666rem;
    font-weight: 300 !important;
    padding: 0;
}

.footer .footer-bottom {
    border-top: 1px solid #4f5a60;
    color: #d4d4d4;
    font-size: .86rem;
    text-align: center;
}

.footer .support-info {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    text-align: right;
}

.footer .footer-egov-logo {
    border-right: 1px solid #a9a9a9;
    margin-left: auto;
}

.footer .footer-social-links > li {
    margin-left: 0.8rem;
}

.footer .footer-social-links > li a {
    color: white;
    background-color: #4f5a60;
    border-radius: 50%;
    font-size: 16px;
    height: 30px;
    width: 30px;
    text-decoration: none;
}

.footer .support-phone {
    font-size: 1.85rem;
    font-weight: 300;
    color: white;
}

/* CARDS */
.rsi-card .card-text:not(:first-child) {
    font-size: 12px;
}

.rsi-card .card-text {
    font-size: 14px;
    line-height: 1.3;
}

/* BREADCRUMBS */
.rsi-breadcrumb .breadcrumb-item a {
    color: #4d4df4;
    text-decoration: none;
}

.rsi-breadcrumb .breadcrumb-item a:hover {
    color:#2b00d4;
}

.badge {
    border-radius: 0 !important;
    position: absolute;
    z-index: 1;
    text-transform: uppercase;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .15em;
    top: 15px;
    padding: 2px 7px !important;
    left: -7px;
    background: gold;
    color: white;
    opacity: 1;
    line-height: 1.3 !important;
}

.badge:before {
    content: '';
    border-width: 3px;
    border-color: gold gold transparent transparent;
    border-style: solid;
    position: absolute;
    width: 0px;
    height: 0px;
    left: 0px;
    bottom: -6px;
}

/* FILTERS */
.filters .form-check-input:checked {
    background-color: #4d4df4;
    border-color: #4d4df4;
}

.badge.functional {
    background-color: #05af9b;
}

.badge.functional:before {
    border-color: #05af9b #05af9b transparent transparent;
}

.badge.suspended {
    background-color: #d70055;
}

.badge.suspended:before {
    border-color: #d70055 #d70055 transparent transparent;
}

.badge.inliquidation {
    background-color: #ff4637;
}

.badge.inliquidation::before {
    border-color: #ff4637 #ff4637 transparent transparent;
}

.badge.development {
    background-color: #ff8200;
}

.badge.development::before {
    border-color: #ff8200 #ff8200 transparent transparent;
}

.badge.design {
    background-color: #ffe11e;:
}

.badge.design::before {
    border-color: #ffe11e #ffe11e transparent transparent;
}

.badge.liquidity {
    background-color: #c8c8c8;
}

.badge.liquidity:before {
    border-color: #c8c8c8 #c8c8c8 transparent transparent;
}

.badge.future {
    background-color: #0000af;
}

.badge.future::before {
    border-color: #0000af #0000af transparent transparent;
}

.badge.piloted {
    background-color: #4d4df4;
}

.badge.piloted:before {
    border-color: #4d4df4 #4d4df4 transparent transparent;
}

.mud-chip.functional, .mud-chip.functional:hover{
    color: #ffffff;
    background-color: #05af9b;
}

.mud-chip.suspended, .mud-chip.suspended:hover {
    color: #ffffff;
    background-color: #d70055;
}
.mud-chip.inliquidation, .mud-chip.inliquidation:hover {
    color: #ffffff;
    background-color: #ff4637;
}
.mud-chip.development, .mud-chip.development:hover {
    color: #ffffff;
    background-color: #ff8200;
}
.mud-chip.design, .mud-chip.design:hover {
    color: #000000;
    border-color: #bfac36;
    background-color: #ffe11e;
}
.mud-chip.liquidity, .mud-chip.liquidity:hover {
    color: #ffffff;
    background-color: #c8c8c8;
}
.mud-chip.future, .mud-chip.future:hover {
    color: #ffffff;
    background-color: #0000af;
}
.mud-chip.piloted, .mud-chip.piloted:hover {
    color: #ffffff;
    background-color: #4d4df4;
}

/* CHECKBOXES */


.mud-input-control-boolean-input.functional span{
    color: #05af9b !important;
}
.mud-input-control-boolean-input.suspended span{
    color: #d70055!important;
}
.mud-input-control-boolean-input.inliquidation span{
    color: #ff4637!important;
}
.mud-input-control-boolean-input.development  span{
    color: #ff8200!important;
}
.mud-input-control-boolean-input.design span{
   color: #ffe11e!important;
}
.mud-input-control-boolean-input.liquidity span{
   color: #c8c8c8!important;
}
.mud-input-control-boolean-input.future span{
 color: #0000af!important;
}
.mud-input-control-boolean-input.piloted span{
  color: #4d4df4!important;
}

/* ACCORDION */
.accordion .accordion-button:not(.collapsed) {
    background: white;
    color: #333;
}

.accordion .accordion-button {
    cursor: pointer
}

.accordion .accordion-body ul {
    list-style: square
}

.accordion .accordion-body ul  li {
    margin-bottom: 10px;
}

/*.mud-input.mud-disabled {
    background-color: #e9ecef !important;
    color: black !important;
    border-radius: 0.3rem !important;
}
*/
.mud-tab-active * {
    font-weight: 600 !important;
}

.search  svg {
    fill: lightgrey !important;
}

.search input {
    border: 1px solid lightgrey !important;
    border-left: none !important;
    right: none !important;
}

/*  MODAL AUTENTIFICARE */
.mud-dialog .mud-dialog-actions {
    padding: 15px 24px;
}


/* TOOLTIP*/
.rsi-tooltip {
    --bs-tooltip-bg: red;
}



.enumerator {
    counter-reset: item;
}
.enumerator li {
    display: block;
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
}

.enumerator li p {
    font-weight: bold;
}
.enumerator li:before {
    content: counters(item, ".")".";
    counter-increment: item;
    position: absolute;
    margin-right: 100%;
    right: 10px; /* space between number and text */
}