@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');

:root {
    --main-color: #3c3c3c; /*brown;*/
}

*:not(.fal):not(.far):not(.fa-solid):not(.fa-regular):not(.fa-light):not(.fa-duotone):not(.fa-thin){
    font-family: 'Raleway', sans-serif !important;
}

html, body{
    min-height: 100vh !important;
    height: fit-content;
}

nav, footer{
    background-color: var(--main-color);
    color: white; 
}

.nav-tabs .nav-link{
    padding: 17px 16px 10px;
}

nav a{
    color: #ddd !important;
    text-decoration: underline;
}

footer{
    min-height: 80px; 
    padding: 10px 0;
}

#navbar_companyLogo{
    max-width: 200px;
    /* background: #9a9a9a; */
    width: fit-content;
    padding: 8px 16px;
    border-radius: 10px;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.btn-primary, .progress-bar-notfull{
    background-color: cornflowerblue;
    border-color: cornflowerblue;
}

.btn-success, .progress-bar-full{
    background-color: #2daa70;
    border-color: #2daa70;
}

.btn-block{
    width: 100%;
}

.container-max-800px{
    max-width: 800px; 
    margin: 0 auto;
}

.container-max-1200px{
    max-width: 1200px; 
    margin: 0 auto;
}

.progress{
    margin: 0px 4px;
}

.deadline{
    font-size:.8em; 
    text-align:right; 
    padding: .5em 4px .5em 0
}

.slideContainer{
    border-radius: 10px;
    margin-bottom: 16px;
    background-color: white;
}

.slideContainer img{
    border-radius: 10px 10px 0 0;
}

.controlli{
    padding: .7em 1em;
    overflow: auto;
    border-top: 1px solid grey;
}

.controlliNumeroSlide{
    float: left;
    padding-top: 3px;
}

.controlli>button{
    float: right;
}

#imageLogin{
    background-image: url('/assets/img/index.jpg');
    background-position: center;
    background-size: cover;
}


/* BANNER TOP PAGE */
.bannerTopPage{
    background-position: center;
    background-size: cover;
}

.bannerTopPage h1{
    margin: 2em auto;
    background: #ffffff9c;
    width: fit-content;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 2.2em;
    font-weight: bold;
}

#bannerAdminHome{
    background-image: url('/assets/img/bannerHome.jpg');
}

/* END BANNER TOP PAGE */


#containerSlides{
    max-width: 1000px;
    margin: 0 auto;
}

@media screen and (min-width: 1600px) {
    #containerSlides{
        max-width: 1200px;
    }
}

.questionContainer{
    border-radius: 10px;
    margin-bottom: 16px;
    background-color: white;
    padding: 1em;
}

#containerQuestions{
    max-width: 700px;
    margin: 0 auto;
}

.questionNumber{
    margin: 1.5em 0 0 0;
    text-align: right;
}

.body-grey{
    background-color: grey;
}


/************************************** CSS LOADER **************************************/
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--bs-primary);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

/************************************** CSS LOADER - FINE **************************************/

.card-header{
    background: transparent;
}

.dataTables_wrapper{
    margin-bottom: 15px;
    overflow-x: auto; /*SCROLL della sola tabella*/
}

textarea{
    min-height: 90px !important;
}

h1{
    margin-top: 15px;
}
h1>.btn{
    float: right;
    margin: 8px;
}
h4{
    margin: 10px 0;
}

.form-floating>label{
    left: auto;
}