html {
    font-size: 16px;
}

@media (max-width: 768px) {
    a.header-footer-link {
        padding: 0rem 1rem;
        font-size: 12px !important;
    }

    .navbar-labels {
        width: 100%;
        text-align: center;
        font-size: 12px !important;
    }
}

@media (min-width: 313px) and (max-width: 398px) {
    .bottom-footer {
        bottom: 100px !important;
    }
}

@media (min-width: 309px) and (max-width: 312px) {
    .bottom-footer {
        bottom: 120px !important;
    }
}

@media (min-width: 234px) and (max-width: 308px) {
    .bottom-footer {
        bottom: 140px !important;
    }
}

@media (max-width: 233px){
    .bottom-footer {
        bottom: 165px !important;
    }
}

.togglePassword {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 10px;
}

.togglePassword2 {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 10px;
}

.togglePassword3 {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 10px;
}

.font-himissyou {
    font-family: 'Gill Sans Nova','Gill Sans','Arial' !important;
}

.viola-scuro {
    color: #582952;
}

.viola {
    color: #884182;
}

.viola-chiaro {
    color: #CC99CC;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

footer {
    background-color: #582952;
    font-weight: normal;
    line-height: initial;
    color: white !important;
    position: fixed;
    bottom: 0;
    width: 100%;
}

header {
    background-color: #582952;
    color: white !important;
    position: fixed;
    top: 0;
    z-index: 99;
    width: 100%;
}

body {
    margin: 0 0 0px !important;
    background-color: white !important;
    color: black;
}

.content {
    padding-top: 90px;
    padding-bottom: 120px;
}

.div-viola {
    background-color: #884182;
    color: white !important;
}
/*Applicare il media per telefono e poi per desktop*/

.container-logo {
    width: 85px;
}

.logo-mobile {
    height: auto;
    max-width: 100%;
}

.navbar-labels {
    width: 100%;
    text-align: center;
    font-size: 20px;
}

.header-footer-link {
    color: white;
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
}

a:hover {
    color: #CC99CC;
}

.img-container {
    position: relative;
    text-align: center;
    font-size: 19px;
}

.layout-img {
    max-width: 100%;
    max-height: 50%;
}

.obiettivi-img {
    float: left;
    border: 1px dotted black;
    margin: 8px 15px 5px 0px;
    width: 120px;
}


.text-home {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-home {
    background-color: #582952;
    border-radius: 0px;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
}


.form-label {
    color: #884182 !important;
    /*font-weight: bold !important;*/
}

.btn-primary {
    border-color: white;
    color: #CC99CC !important;
    background-color: #582952;
    border-radius: 100px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center
}

    .btn-primary:hover {
        border-color: white !important;
        color: #CC99CC !important;
        background-color: #582952 !important;
    }

    .btn-primary:disabled {
        border-color: #582952;
        color: #CC99CC !important;
        background-color: white !important;
    }

.btn-editProfilo {
    border-color: #582952;
    color: #CC99CC !important;
    background-color: white;
    border-radius: 100px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center
}

    .btn-editProfilo:hover {
        border-color: #582952 !important;
        color: #CC99CC !important;
        background-color: white !important;
    }

    .btn-editProfilo:disabled {
        border-color: white !important;
        color: #CC99CC !important;
        background-color: #582952;
    }

.input-group .btn {
    z-index: 0;
}

.card-profilo {
    border-style: solid;
    border-width: 30px;
    border-image: url(../images/border3.png);
    border-image-slice: 90;
    border-image-repeat: stretch;
    border-image-width: 40px;
    margin-bottom: 20px;
}

    .card-profilo p, hr {
        color: #884182
    }

.info-card {
    text-align: center;
    vertical-align: middle;
    transform: translate(-39px, 10px);
}

.profile-info {
    background-color: #884182;
    color: white;
    text-align: center;
}

.container-profile-pic {
    background-image: url(../images/LOGO_HIMISSYOU_NEG_senza_scritta.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.mask2 {
    -webkit-mask-image: radial-gradient(circle, black 69%, rgba(0, 0, 0, 0) 39%);
}

.nav-pills .nav-link {
    background-color: #884182;
    color: white;
}

    .nav-pills .nav-link.active,
    .nav-pills .show > .nav-link {
        color: #fff;
        background-color: white;
        color: #884182;
    }

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

/*tr:nth-child(even) {
    background-color: #dddddd;
}*/

.tab-content {
    border-color: #582952 !important;
}

.nav-link {
    border-color: #582952 !important;
    color: #CC99CC;
}

    .nav-link.active {
        color: #582952;
    }

.loader {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    opacity: 0.7;
    background-color: #fff;
    z-index: 999;
}

.loading-image {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    position: relative;
    top: 30%;
    left: 40%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.input-group > .select2-container .select2-selection--single {
    display: flex;
    height: 100%;
    align-items: center;
}

.fullwidth {
    width: 100% !important;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    opacity: unset !important;
    font-size: unset !important;
    z-index: 0 !important;
    /*border-bottom: 1px dotted black;  If you want dots under the hoverable text */
}

    /* Tooltip text */
    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: #555;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        /* Position the tooltip text */
        position: absolute;
        /*z-index: 1;*/
        bottom: 125%;
        left: 50%;
        margin-left: -60px;
        /* Fade in tooltip */
        opacity: unset !important;
        transition: opacity 0.3s;
    }

        /* Tooltip arrow */
        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    /* Show the tooltip text when you mouse over the tooltip container */
    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

    /*.card{
        min-height:530px;
        justify-content: space-around;
    }*/

    #manifesto {
        padding:1rem;
        margin-top:1rem;
        border: 1px solid grey;
        border-radius:10px;
    }

.card-hmy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 18rem;
    min-height: 530px;
    border: 1px solid #D2D2D2;
    padding: .5rem;
    border-radius: 5px;
}

.card-body-hmy {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

#btnManifesto:hover {
    background-color: white;
    border-color: #198754;
    color:black;
}

/*[INIZIO CSS] STICKY BAR PER BOTTONE IN HOME (SCOPRI COME RICHIEDERE IL SERVIZIO)*/



/*[FINE CSS] STICKY BAR PER BOTTONE IN HOME (SCOPRI COME RICHIEDERE IL SERVIZIO)*/