@font-face {
    font-family: 'OpenSans Regular';
    src: url('../font/OpenSans-Regular.ttf');
    /* IE9+ Compat Modes */
    src: url('../font/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
    
    /* Super modern browsers */
    url('../font/OpenSans-Regular.woff') format('woff'),
    /* Modern browsers */
    url('../font/OpenSans-Regular.ttf') format('truetype'),
    /* Safari, Android, iOS */
    /*   url('webfont.svg#FontName') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: 'OpenSans Light';
    src: url(ì../font/OpenSans-Light.ttf');
    /* IE9+ Compat Modes */
    src: url('../font/OpenSans-Light.eot?#iefix') format('embedded-opentype'),
   
    /* Super modern browsers */
    url('../font/OpenSans-Light.woff') format('woff'),
    /* Modern browsers */
    url('../font/OpenSans-Light.ttf') format('truetype'),
    /* Safari, Android, iOS */
    /*   url('webfont.svg#FontName') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: 'OpenSans Semibold';
    src: url('~/font/OpenSans-SemiBold.ttf');
    /* IE9+ Compat Modes */
    src: url('../font/OpenSans-SemiBold.eot?#iefix') format('embedded-opentype'),
    
    /* Super modern browsers */
    url('../font/OpenSans-SemiBold.woff') format('woff'),
    /* Modern browsers */
    url('../font/OpenSans-SemiBold.ttf') format('truetype'),
    /* Safari, Android, iOS */
    /*   url('webfont.svg#FontName') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: 'OpenSans Bold';
    src: url('../font/OpenSans-Bold.ttf');
    /* IE9+ Compat Modes */
    src: url('../font/OpenSans-Bold.eot?#iefix') format('embedded-opentype'),
  
    /* Super modern browsers */
    url('../font/OpenSans-Bold.woff') format('woff'),
    /* Modern browsers */
    url('../font/OpenSans-Bold.ttf') format('truetype'),
    /* Safari, Android, iOS */
    /*   url('webfont.svg#FontName') format('svg'); /* Legacy iOS */
}


.container{
    max-width: 1000px;
}


.offcanvas, .offcanvas-lg, .offcanvas-md, .offcanvas-sm, .offcanvas-xl, .offcanvas-xxl {
    --bs-offcanvas-zindex: 1045;
    --bs-offcanvas-width: 440px;
    --bs-offcanvas-height: 30vh;
}

body{
    font-family: 'OpenSans Regular';
    color: #485459 !important;
    font-size:14px;
    padding-top:100px;
}

.breadcrumb-item a{
    color:#29A2FF;
}

.semibold{
    font-family: 'OpenSans Semibold';
}

.bold{
    font-family: 'OpenSans Bold';
}
.p-close-button{
    padding:16px;
    padding-bottom:15px;
}

.local-link{
    text-decoration: none;
}

@media screen and (max-width: 40em){
    .nav-button{
        width:26px;
        margin:0px 18px !important;
    }
    .p-close-button{
        padding:6px;
        padding-bottom:5px;
    }
}

.rai_logo{
    width: 80px;
    height: 80px;
    background: #767b7d;
}

/* .h-80{
    height:80px;
} */

.navbar_rai{
    background-color:#032d5b!important;
    background-position: -80px 0;
    height:80px;
    position: fixed;
    width: 100%;
    top: 40px;
    z-index: 100;
}

.nav-button{
    width:26px;
    margin:0px 27px !important;
}

@media screen and (max-width: 40em){
    .nav-button{
        width:26px;
        margin:0px 18px !important;
    }
}

.nav-icon{
    width:26px;
}

.search-icon{
    width:26px;
    height:26px;
}

.close-button{
    width:48px;
}

.menuTitle{
    font-size: 28px;
    line-height: 80px;
    font-weight: 100;
    display: inline-block;
    font-family: "OpenSans Light"
}

@media screen and (max-width: 40em){
    .menuTitle{
    float: left;
    width: 50px;
    white-space: nowrap;
    font-size: 4vw;
    line-height: 60px;
    }
}

/* .offcanvas-btn{
    width: 60px;
    height: 60px;
} */

.f-size-16{
    font-size: 16px;
}

.f-size-14{
    font-size:14px;
}

.f-size-12{
    font-size:12px;
}

.f-size-20{
   font-size: 20px;
}

.offcanvas-bg{
    background:linear-gradient(to right, rgba(0,42,92,1) 0%,rgba(0,42,92,1) 20%,rgba(0,42,92,0.5) 100%);
}

.navbar-toggler:focus {
    box-shadow: none!important;
}

@media screen and (max-width: 40em){
    .rai_logo{
        width: 60px;
        height: 60px;
        background: #767b7d;
    }
    
    .navbar_rai{
        background-color:#032d5b!important;
        background-position: -60px 0;
        height:60px;
        position: fixed;
        width: 100%;
        top: 40px;
        z-index: 100;
    }
}

.sidebar-item{
        color: #fff!important;
        display: block;
        padding: 1rem 2rem;
        font-size: 16px;
        line-height: 20px;
}


.sidebar-item:hover{
    color: #fff!important;
    display: block;
    padding: 1rem 2rem;
    font-size: 16px;
    line-height: 20px;
    background: #00387b;
}

.sidebar-item.active{
    background-color:#29a2ff!important;
}

.sidebar-link.active{
    background-color:#29a2ff!important;
}

.offcanvas.offcanvas-start{
    border-right:none;
}

#inputField {
    display: none;
  }

  .rai-header {
    display:block;
    height : 40px;
    background-color: rgba(14,0,87, 1);
    position: fixed;
    top:0;
    width: 100%;
    z-index:100;
  }
  .rai-header .header__content.loading {
    opacity: 0;
  }

  .search-input{
    width: 250px;
  }


@media screen and (max-width: 667px){
    .offcanvas-bg {
        width: 100%!important;
    }
}

.form-control {
    border-color: #485459;
    /*height: 50px;*/
}
.form-select {
    border-color: #485459;
    /*height:50px;*/
}

.input-group-text {
    background-color: #fff;
    border-left: none;
    border-color: #485459;
}

.rai-date-picker{
    max-width:218px;
}

.th-with{
    width: 200px;
}

.rai-hr{
    width: 80px;
    border-color: #29A2FF;
    opacity: 1;
    border-width: 2px;
}

/* ------------TABS------------ */
.scrolling{
    position:relative;
}
.scrolling-container {
    position:relative;
    width: 100%!important;
    overflow-x: auto!important;
    white-space: nowrap!important;
    -webkit-overflow-scrolling: touch!important; 
    overflow: hidden; /* Nasconde l'overflow orizzontale */
    white-space: nowrap; /* Impedisce il wrapping del testo */
    width: 100%; /* Assicura che l'elemento si adatti al contenitore genitore */
}

.scrolling-container::-webkit-scrollbar {
    display: none;
}

.scrolling-list {
    list-style: none!important;
    margin: 0!important;
    padding: 0!important;
    display: flex!important;
}

.scrolling-list-item {
    flex: 0 0 auto!important;
    /*width: 100px!important;*/
    height: 50px!important; 
    /* margin-right: 10px!important;  */
}

.nav-link-item{
    color: #485459 !important;
    background-color: rgb(255 255 255 / 0%)!important;
    text-align: center;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #485459 !important;
    background-color: #fff !important;
    border-color: #29a2ff !important;
    border-bottom: solid;
    border-radius: 0px;
    border-width: 2px;
    text-align: center;
}


.scrolling.fixed {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 16px;
    padding-bottom: 16px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid #dadada;
  }
  

.tab-content {
  padding-top: 40px; /* Regola in base all'altezza del container delle schede */
}

.hidden{
    display:none;
}

#tab-static{
    padding-top: 16px;
    padding-bottom: 16px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid #dadada;
}


@media screen and (max-width: 640px){
    .scrolling.fixed {
        top: 100px !important;
    }
     
}

/* ------------TABS------------ */


/* ------------CAROUSEL------------ */

.img-news {
    background-image: url(../img/img-example.png);
    min-width: 200px;
    min-height: 100px;
    max-height: 100px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-item{
    padding-left:15%;
    padding-right:15%;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}


.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: -90px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 1rem;
    margin-left: 15%;
}

.carousel-indicators [data-bs-target] {
    background-color: #3a3a3a;
}

.carousel-indicators .active {
    opacity: 1;
    background-color:#29A2FF;
}

.news-text{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 4;
}


.news-title{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 1;
}
 


@media screen and (max-width: 768px){
    .news-title{
        -webkit-line-clamp: 2;
    }

    .img-news{
        background-image: url(../img/img-example.png);
        min-width: 200px;
        min-height:150px;
        max-height:150px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
     
}
    /* ------------CAROUSEL------------ */



.document-icon{
    width:18px;
}

.item-list {
    height: 70px;
    border-bottom-style: solid;
    border-top-style: solid;
    border-width: 1px;
    border-color: #dadada;
}


.item-list-hp {
    height: auto;
}

.item-list-table{
    border-bottom-style: solid;
    border-top-style: solid;
    border-width:1px;
    border-color: #dadada;
}

.item-list-details{
    border: none;
}

.btn-primary-rai{
    background-color: #0099f2;
    font-size: 15px;
    border: none;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 40px;
    padding-right: 40px;
    height: 45px;
}
.btn-secondary-rai{
    background-color: #fff;
    font-size: 15px;
    border-color: #29a2ff;
    color: #29A2FF;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 40px;
    padding-right: 40px;
    height: 45px;
}

.btn-secondary-rai:hover{
    background-color: #fff;
    font-size: 15px;
    border-color: #29a2ff;
    color: #29A2FF;
}

.btn-back{
    color: #A9AEB1;
    border: none;
}

.btn-back:hover {
    color: #A9AEB1;
    border: none;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    border: none;
}


.accordion-item{
    border: none;
}

.accordion-button:not(.collapsed) {
    background-color: #fff; 
    box-shadow: none; 
    border: none;
}

.accordion-button:focus {
    z-index: 3;
    border-color: none;
    outline: 0;
    box-shadow: none;
}



  @media screen and (max-width: 992px){
    .rai-date-picker {
        max-width: 100%;
    }
}

/* TABLE */

.table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-color-type: var(--bs-table-striped-color);
    --bs-table-bg-type: rgb(0 0 0 / 0%);
}

/* TABLE */
.my-card-loading-block {
    display: inline-block;
    margin: 5px 1% 0;
    /* height: 14px; */
    border-radius: 2px;
    background: -webkit-linear-gradient(left, rgba(207, 216, 220, 0.2), rgba(207, 216, 220, 0.4), rgba(207, 216, 220, 0.2));
    background: linear-gradient(90deg, rgba(207, 216, 220, 0.2), rgba(207, 216, 220, 0.4), rgba(207, 216, 220, 0.2));
    -webkit-animation: card-loading 1.4s ease infinite;
    animation: card-loading 1.4s ease infinite;
    background-size: 600% 600%;
    width: 100%;
    display: block;
    height: 18px;
    margin-bottom: 10px;
}

@-webkit-keyframes card-loading {
    0%, to {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes card-loading {
    0%, to {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}