/* 
    Created on : 22-lug-2020, 9.39.21
    Author     : Manuel
*/

html,
body {
    height: 100%;
}

body {
    padding-top: 40px;
    padding-bottom: 40px;
    background-image: url("../../siaportale/img/background_SIA_Portale.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

body.login {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

option {
    font-size: 0.8rem;
}
/*.image-sia-style{
    background-image: url(https://static.vecteezy.com/ti/vettori-gratis/p1/2062241-abstract-colorful-wave-lines-on-background-for-elements-in-concept-business-presentation-brochure-flyer-science-technology-vector-illustration-vettoriale.jpg);
    background-size: 100% 120%;
    object-fit: cover;
    background-repeat: no-repeat; 
    
}*/
.footer.navbar, .footer .navbar-brand {
    font-size: .75rem;
}

.navbar:not(.footer) .navbar-brand {
    font-size: 1rem;
}

.text-sm {
    font-size: 0.875rem;
}

/* --- login --- */

.form-login {
    width: 100%;
    max-width: 520px;
    padding: 20px;
    margin: auto;
}
.form-login .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}
.form-login .form-control:focus {
    z-index: 2;
}
.form-login .input-group:first-child {
    margin-bottom: -1px;
}
/*.form-login .input-group:first-child .input-group-text {
    border-bottom-left-radius: 0;
}
.form-login .input-group:first-child .form-control {
    border-bottom-right-radius: 0;
}
.form-login .input-group:nth-child(2) .input-group-text {
    border-top-left-radius: 0;
}
.form-login .input-group:nth-child(2) .form-control {
    border-top-right-radius: 0;
}*/

.form-login .input-group-prepend {
    width : 35%;
}

.form-login .input-group-text {
    width: 100%;
    overflow: hidden;
}

/* --- tables --- */

.above-caption caption {
    caption-side: top;
}

.table-fixed-head {
    overflow-y: auto;
    min-height: 150px;
    height: 67vh;
}

.table-fixed-head thead {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: inset 0 1px 0 #dee2e6, inset 0 -1px 0 #dee2e6;
}

.table-fixed-head thead th {
    border-bottom: none;
    box-shadow: inset 0 1px 0 #dee2e6, inset 0 -1px 0 #dee2e6;
}

.table-sm {
    font-size: small;
}

/* --- copyText --- */

.copyText:hover {
    background-color: aliceblue;
    cursor: pointer;
}

/* --- toast --- */

.toast-wrapper {
    position: fixed;
    bottom: 4rem;
    right: 2rem;
    min-width: 200px;
}

.sample {
    display: none !important;
}

.arrow {
    transition: transform 0.3s ease-out;
}

.rotate-menu-arrow {
    transform: rotate(90deg);
}

.rotate {
    transform: rotate(90deg) scale(1.3);
}

.edit {
    content: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23007bff' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z' clip-rule='evenodd'/></svg>");
    width: 1em;
    height: 1em;
}

.delete {
    content: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23007bff' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M2.5 1a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1H3v9a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V4h.5a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1H2.5zm3 4a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-1 0v-7a.5.5 0 0 1 .5-.5zM8 5a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-1 0v-7A.5.5 0 0 1 8 5zm3 .5v7a.5.5 0 0 1-1 0v-7a.5.5 0 0 1 1 0z' clip-rule='evenodd'/></svg>");
    width: 1em;
    height: 1em;
}

.add {
    content: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23007bff' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3v-3z' clip-rule='evenodd'/></svg>");
    width: 1em;
    height: 1em;
}

.sia-logo-img{
    background-image: url("C:\JSic\JSicSource\SiaPortale\web\img\logoSIA2.jpg");
    background-size: 70% 70%;
    object-fit: cover;
    background-repeat: no-repeat; 
}

.no-scroll{
    margin: 0px;
    height: 100%;
    overflow: hidden;
}
.card-wrapper{
    display: flex;
}

.allinea{
    transform: translateX(50%);
    transform: translateY(40%);
}

.align-btn-content{
    transform: translateX(50%);
    transform: translateY(-10%);
}

.bg-arion{
    background-color: #0060a8; 
}

.bg-light-arion{
    background-color: #EBEBEB; 
}

.color-arion{
    color:#0060a8;
}

.card-home-item{
    width: 18rem;
}

.login-form-control-arion{   
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0.375rem !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0.375rem !important;
}

.login-label-arion{   
    border-top-left-radius: 10px!important;
    border-top-right-radius: 0px!important;
    border-bottom-left-radius: 0px!important;
    border-bottom-right-radius: 0px!important;
}

.edgy-top-left{
    border-top-left-radius: 0px!important;
    border-top-right-radius: 10px!important;
    border-bottom-left-radius: 10px!important;
    border-bottom-right-radius: 10px!important;
}

.edgy-bottom{
    border-top-left-radius: 10px!important;
    border-top-right-radius: 10px!important;
    border-bottom-left-radius: 0px!important;
    border-bottom-right-radius: 0px!important;
}

.edgy-top{
    border-top-left-radius: 0px!important;
    border-top-right-radius: 0px!important;
    border-bottom-left-radius: 10px!important;
    border-bottom-right-radius: 10px!important;
}

.bordered-div{
    border: var(--bs-nav-tabs-border-width) solid transparent;
    border-top: 0px;
}

.fieldset-arion{
    border: 1px solid;
    border-color: #0060a8;
}

.notify-badge{
    position: absolute;
    right: -6px;
    top: -6px;
    background: red;
    text-align: center;
    border-radius: 30px 30px 30px 30px;
    color: white;
    padding: 1px 5px;
    font-size: 10px;
}

@media screen and (max-width: 620px) {
    .none-620{
        display: none;
    }
}
a.read-more {
    position: absolute;
    bottom: 24px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.tdProblemTooltip {
    position: relative;
}

.tdProblemTooltip:hover .problemTooltipContainer {
    display: block;
    animation: fadeIn 300ms ease-out;
}

.problemTooltipContainer {
    display: none; /* Hide the container by default */
    position: absolute; /* Set absolute positioning for the container */
    bottom: 40px; /* Set the distance from the top of the td element */
    max-width: 800px;
    height: auto; /* Set the height of the container to auto */
    z-index: 10; /* Set the z-index of the container */
    background-color: white; /* Add a background color to the container */
    padding: 10px; /* Add some padding to the container */
    border: 2px solid black; /* Add a border to the container */
    border-radius: 10px;
}