@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");


/*@font-face {
    font-family: "hkgrotesk";
    src: url("../fonts/hkgrotesk-light.eot");
    src: local("hkgrotesk light"), url("../fonts/hkgrotesk-light.woff") format("woff");
    font-weight: 300;
}

@font-face {
    font-family: "hkgrotesk";
    src: url("../fonts/hkgrotesk-regular.eot");
    src: local("hkgrotesk regular"), url("../fonts/hkgrotesk-regular.woff") format("woff");
    font-weight: 400;
}

@font-face {
    font-family: "hkgrotesk";
    src: url("../fonts/hkgrotesk-medium.eot");
    src: local("hkgrotesk medium"), url("../fonts/hkgrotesk-medium.woff") format("woff");
    font-weight: 500;
}

@font-face {
    font-family: "hkgrotesk";
    src: url("../fonts/hkgrotesk-semibold.eot");
    src: local("hkgrotesk semibold"), url("../fonts/hkgrotesk-semibold.woff") format("woff");
    font-weight: 600;
}

@font-face {
    font-family: "hkgrotesk";
    src: url("../fonts/hkgrotesk-bold.eot");
    src: local("hkgrotesk bold"), url("../fonts/hkgrotesk-bold.woff") format("woff");
    font-weight: 700;
}*/

.text-primary {
    color: #344D60 !important;
}

.btn-primary {
    background-color: #344D60 !important;
}

body {
    font-family: Poppins,sans-serif;
    font-size: .8rem;
    background-color: #F3F3F9;
}

.input-group .input-group-text:first-child {
    font-size: .8rem;
    width: 170px;
    overflow: hidden;
}

input {
    font-size: .8rem !important;
}

select {
    font-size: .8rem !important;
}

textarea {
    font-size: .8rem !important;
}

button {
    font-size: .8rem !important;
}

a {
    font-size: .8rem !important;
}

td {
    font-size: .8rem !important;
}

th {
    vertical-align: middle;
}

.form-check .form-check-input {
    border: solid 1px #03172d;
}

.section-title {
    background-color: #02172E;
    color: #f6f6f6;
    padding: 8px;
    margin-bottom: 0px;
}

.section-content {
    border-bottom: solid 2px #02172E;
    padding: 15px;
    padding-bottom: 30px;
    background-color: #eff6ff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}


.livello-barca {
    background-color: white;
    border: solid 2px #02172E;
    padding: 15px;
    padding-bottom: 30px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-top: 20px;
    min-height: 90px;
}

    .livello-barca .d-flex {
        background-color: white;
    }

    .livello-barca img {
        width:200px;
        border:solid 5px white;
        border-right:solid 0px transparent;
    }

.componenti-barca-wrapper {
    height: 750px;
    overflow-y: auto;
    border: solid 2px #02172E;
    background-color: #f6f6f6;
    padding: 5px;
    padding: 20px;
    margin-top:19px;
}

.categoria-barca-wrapper ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .categoria-barca-wrapper ul li {
        margin-top: 10px;
        background-color: white;
        padding: 5px;
        border: solid 1px #e3e3e3;
    }

.dropzone.livello-dropzone {
    min-height: 50px;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: start;
    justify-content:start;
    width: 100%;
    gap:4px;
    padding:5px;
    min-height:120px;
    border-left:solid 1px black;
}

    .dropzone.livello-dropzone li {
        background-color: white;
        border: solid 1px #e3e3e3;
        padding: 5px;
    }

.placeholder-livello-barca {
    width: 100%;
    line-height: 80px;
    border-radius: 10px;
    background-color:transparent!important;
    border:none!important;
    text-align:center;
    font-weight:bold;
    margin-top:10px;
}

.accessori-wrapper {
    padding:10px;
}

.categoria-accessorio {
    padding: 5px;
    background-color: #02172E;
    color: white;
    font-size: .9rem;
    margin-top: 10px;
}

.sottocategoria-accessorio {
    font-weight: bold;
    padding: 5px;
    border-bottom: solid 2px #02172E;
    font-size: .9rem;
    
}

.accessorio {
    margin-left: 20px;
    padding: 2px;
    font-size:.9rem;
}

    /*.accessorio:last-child {
        margin-bottom:50px;
    }*/

.btn-delete-componente {
    text-decoration: none;
    padding:0;
    margin:0;
}

.btn-edit-componente {
    text-decoration: none;
    padding: 0;
    margin: 0;
    padding-left:16px;
}

.input-group span {
    font-weight: bold;
    font-size: .8rem !important;
}

.dropdown-item {
    font-size: .8rem !important;
}

.table-with-sticky-header {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #ccc;
}

    .table-with-sticky-header table {
        width: 100%;
        border-collapse: collapse;
    }

    .table-with-sticky-header th, .table-with-sticky-header td {
        padding: 10px;
        text-align: left;
        border: 1px solid #ddd;
    }

    .table-with-sticky-header thead th {
        position: sticky; /* Posizione fissa */
        top: 0; /* Allineato alla parte superiore */
        background-color: #f4f4f4; /* Sfondo per evidenziare */
        z-index: 1; /* Assicurarsi che l'header sia sopra le righe */
    }


.btn-profilo {
    margin-right: 2px;
}

    .btn-profilo > button {
        border: none;
        background-color: transparent;
        border: solid 1px transparent;
        padding-right: 20px;
        padding-left: 20px;
        padding-top: 8px;
        padding-bottom: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 200px;
    }

        .btn-profilo > button > img {
            margin-right: 10px;
            height: 80px !important;
            /*border: solid 1px #e3e3e3;*/
            /*width:300px!important;*/
        }

    .btn-profilo .dropdown-menu {
        border-radius: 0px !important;
        border-top: none;
        width: 100%;
    }

        .btn-profilo .dropdown-menu .dropdown-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: .9rem !important;
        }

            .btn-profilo .dropdown-menu .dropdown-item:hover {
                background-color: #e3e3e3;
            }

button.nav-link {
    border-radius: 0 !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    border-top: solid 1px transparent;
    border-right: solid 1px transparent;
    border-left: solid 1px transparent;
    border-bottom: solid 1px #F3F3F9;
    color: #495057 !important;
    font-weight: bold;
}

    button.nav-link.active {
        border-top-left-radius: 10px !important;
        border-top-right-radius: 10px !important;
        border-bottom: none;
        border-top: solid 1px #F3F3F9;
        border-right: solid 1px #F3F3F9;
        border-left: solid 1px #F3F3F9;
        background-color: #F3F3F9 !important;
        color: #495057 !important;
    }

    button.nav-link:hover {
        border-top: solid 1px #F3F3F9;
        border-right: solid 1px #F3F3F9;
        border-left: solid 1px #F3F3F9;
        color: #495057 !important;
    }

.breadcrumb-item a {
    text-decoration: none;
    color: #495057;
}

.breadcrumb-item.active {
    font-weight: bold;
}

.card-title {
    border-bottom: solid 1px #F3F3F9 !important;
    padding: 10px;
}

.card-body {
    padding: 10px;
}

td {
    vertical-align: middle;
}

    td .dropdown a {
        text-decoration: none;
        color: black;
        font-size: .9rem;
    }

.content {
    padding-top: 1.1rem;
}

.thumb-list {
    width: 100%;
    border-radius: 50%;
    border: solid 1px #e3e3e3;
    width: 90px;
    height: 90px;
}

.form-control.invalid {
    border: solid 1px var(--bs-danger);
}

.form-select.invalid {
    border: solid 1px var(--bs-danger);
}

.validation-errors {
    width: 300px;
    position: fixed;
    top: 40%;
    left: 50%;
    margin-left: -150px;
    background-color: white;
    border: solid 1px var(--bs-danger);
    z-index: 5;
    padding: 10px;
    list-style: none;
    color: var(--bs-danger);
}

.offcanvas {
    background-color: #02172e;
    opacity: .97;
}

.offcanvas-title {
    color: white;
}

.offcanvas-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .offcanvas-body ul li {
        margin-bottom: .5rem;
    }

        .offcanvas-body ul li button {
            width: 100%;
            text-align: left;
            background-color: #383787;
            color: white;
            border: solid 1px white;
        }

            .offcanvas-body ul li button:hover {
                background-color: #383787;
                border-color: white;
                transform: translateX(10px);
            }

.btn-close {
    color: white !important;
    opacity: 1;
}


.input-group .ss-main {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}


/* IMAGES UPLOADER */
.images-upload-wrapper {
    cursor: pointer !important;
    position: relative;
    margin-top: 16px;
}

    .images-upload-wrapper div {
        width: 100%;
        font-weight: bold;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border: dashed 2px black;
    }

        .images-upload-wrapper div i {
            margin-right: 10px;
        }

        .images-upload-wrapper div b {
            text-decoration: underline;
        }


.images-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    cursor: pointer;
}

/* IMAGES EDITOR */
.image-editor-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f6f6f6;
    padding: 20px;
    border: solid 10px #e3e3e3;
}

    .image-editor-wrapper.hidden {
        display: none;
    }

.image-editor-toolbar {
    text-align: center;
}

    .image-editor-toolbar .btn-close {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .image-editor-toolbar span {
        position: absolute;
        top: 15px;
        left: 20px;
        font-weight: bold;
        font-size: 1.5rem;
    }

.image-editor {
    margin-bottom: 20px;
}

.btn-image-editor {
    width: 120px;
}

    .btn-image-editor:first-child {
        border-top-left-radius: 8px !important;
    }


.btn-switch-trash:first-child {
    border-top-left-radius: 10px !important;
}

.btn-switch-trash.active {
    background-color: #F8F9FA;
    border-top: solid 1px #e3e3e3;
    border-left: solid 1px #e3e3e3;
    border-right: solid 1px #e3e3e3;
    border-bottom: solid 1px transparent;
    font-weight: bold;
}

.btn-switch-trash {
    width: 150px !important;
    background-color: #f6f6f6;
    border-top: solid 1px #e3e3e3;
    border-left: solid 1px #e3e3e3;
    border-right: solid 1px #e3e3e3;
    border-bottom: solid 1px #e3e3e3;
    margin-bottom: -1px;
}

    .btn-switch-trash:hover {
        background-color: #f6f6f6;
    }

.progress {
    /*font-size:.7rem;*/
    width: 100%;
}
/**/
/* EDITOR ALLEGATI */
.attachments-editor {
    padding: 20px;
    background-color: #f6f6f6;
    border: solid 1px #e3e3e3;
    margin-top: 10px;
}

/* EDITOR VIDEO */
.video-editor {
    padding: 20px;
    background-color: #f6f6f6;
    border: solid 1px #e3e3e3;
    margin-top: 10px;
}

.video-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: .5rem;
}

.video-wrapper {
    border: solid 1px #e3e3e3;
    background-color: white;
}

    .video-wrapper > .video-title {
        padding: 5px;
        font-weight: bold;
    }

        .video-wrapper > .video-title > .btn-close {
            float: right;
        }

    /*.video-wrapper > .video-body > iframe {
        width: 100%;
    }*/

    .video-wrapper > .video-footer {
        display: flex;
        justify-content: end;
        gap: .2rem;
        margin-top: 5px;
        margin-bottom: 5px;
        margin-right: 5px;
    }

/* ELENCO IMMAGINI */
.images-editor {
    padding: 20px;
    background-color: #f6f6f6;
    border: solid 1px #e3e3e3;
}

.images-sorter {
    padding: 20px;
    background-color: #f6f6f6;
    border: solid 1px #e3e3e3;
}

.sorter-commit {
    position: relative;
}

.images-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: .5rem;
}

.image-wrapper {
    border: solid 1px #e3e3e3;
    background-color: white;
}

    .image-wrapper > .image-title {
        padding: 5px;
        font-weight: bold;
    }

        .image-wrapper > .image-title > .btn-close {
            float: right;
        }

    .image-wrapper > .image-body {
        position: relative;
    }

        .image-wrapper > .image-body > img {
            width: 100%;
        }

        .image-wrapper > .image-body > .image-overlay {
            display: none;
            align-items: center;
            justify-content: center;
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            background-color: #f6f6f6;
            opacity: .5;
            cursor: pointer;
        }

        .image-wrapper > .image-body:hover > .image-overlay {
            display: flex;
        }

/* ELENCO ALLEGATI */
.files-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .files-list li {
        border: solid 1px #e3e3e3;
        background-color: white;
        padding: 10px;
        vertical-align: middle !important;
    }

        .files-list li a {
            text-decoration: none;
            color: #495057;
            font-weight: bold;
        }

    .files-list .btn {
        float: right;
    }


/* MANAGER OF PROFILE IMAGE */

.image-profile-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

    .image-profile-wrapper button {
        margin-top: 10px;
    }

.image-profile-manager img {
    width: 100%;
}

.profile-image {
    width: 200px;
}


/* PAGER */
.pager-header {
    border: solid 1px #e3e3e3;
    background-color: #F8F9FA;
    padding: 8px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}

.pager-footer {
    border: solid 1px #e3e3e3;
    background-color: #F8F9FA;
    padding: 8px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}


/* PLEASE WAIT */
.please-wait-background {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background-color: #f6f6f6;
    opacity: .6;
    display: none;
}

.please-wait-wrapper {
    position: fixed;
    top: 250px;
    left: calc(50% - 150px);
    color: black;
    width: 300px;
    height: 130px;
    background-color: white;
    border: solid 2px #AF8F58;
    z-index: 2001;
    display: none;
}

    .please-wait-wrapper span {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        text-align: center;
        font-weight: bold;
    }

.please-wait {
    position: absolute;
    top: calc(50% - 32px);
    right: calc(50% - 32px);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    perspective: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .please-wait .inner {
        position: absolute;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }

        .please-wait .inner.one {
            left: 0%;
            top: 0%;
            animation: rotate-one 1s linear infinite;
            border-bottom: 3px solid #02172e;
            /*border-bottom: 3px solid green;*/
        }

.inner.two {
    right: 0%;
    top: 0%;
    animation: rotate-two 1s linear infinite;
    border-right: 3px solid #344D60;
    /*border-right: 3px solid white;*/
}

.inner.three {
    right: 0%;
    bottom: 0%;
    animation: rotate-three 1s linear infinite;
    border-top: 3px solid #536395;
    /*border-top: 3px solid #EFEFFA;*/
}

/* LOGIN */
.login-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("images/bg-slider-login.jpg");
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form-container {
    background-color: white;
    width: 1100px;
    opacity: .9;
}

.login-form {
    padding: 40px;
    color: #354961;
}

.login-logo {
    width: 200px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.login-form-container .carousel-item {
    background-image: url('/images/bg-slider-login-2.jpg');
    background-size: cover;
    height: 600px;
}

.login-form-container .carousel-caption {
    top: 48%;
    font-style: italic;
    font-size: 1rem;
    z-index: 5;
}

.login-form-container .bg-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
    opacity: .7;
    background-color: #000;
    z-index: 3;
}

.login-form-container .logo-mind {
    position: absolute;
    top: 50px;
    left: 50%;
    margin-left: -180px;
    width: 360px;
    z-index: 4;
}

.login-form-container .carousel-indicators {
    z-index: 5;
}

.login-form-container .carousel-control-prev {
    z-index: 5;
}

.login-form-container .carousel-control-next {
    z-index: 5;
}

@keyframes rotate-one {
    0% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
    }
}

@keyframes rotate-two {
    0% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
    }
}

@keyframes rotate-three {
    0% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
    }
}


.atomus-commander-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    margin-right: 2rem;
    border-left: 1px solid #d6d5d5;
    padding-left: 2rem;
    cursor: pointer;
}

    .atomus-commander-wrapper h3 {
        font-size: .8rem;
        text-align: center;
        color: #374E61;
    }

    .atomus-commander-wrapper img {
        height: 2rem;
        animation: pulse 2.5s infinite ease-in-out;
    }

.atomus-chat-wrapper {
    display: flex;
    flex-direction: column;
}

.atomus-chat {
    display: flex;
    flex-direction: column;
    max-height: 400px;
    overflow-y: auto;
    background-color: #202830;
    padding: 10px;
}


.atomus-chat-wm {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    /*  border: solid 1px white;
    border-radius: 10px;*/
}

    .atomus-chat-wm h3 {
        font-size: 1rem;
    }

.atomus-chat-am {
    color: white;
    background-color: white;
    color: black;
    align-self: start;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

    .atomus-chat-am b {
        display: block;
    }

.atomus-chat-um {
    color: white;
    background-color: white;
    color: black;
    align-self: end;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

    .atomus-chat-um b {
        display: block;
    }

.atomus-request {
    display: flex;
    border: 2px solid #242424;
    border-radius: 8px;
    overflow: hidden;
    margin-top: .5rem;
    width: 100%;
}

    .atomus-request input {
        flex: 1;
        border: none;
        padding: 10px;
        outline: none;
        font-size: 16px;
    }

    .atomus-request button {
        background: #454545;
        color: white;
        border: none;
        padding: 10px 15px;
        cursor: pointer;
        font-size: 16px;
    }


.nav-item .accordion-item {
    background-color: transparent;
    padding: 0;
    margin: 0;
    border: none;
}

    .nav-item .accordion-item .accordion-header {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        padding: 0;
        margin: 0;
    }

    .nav-item .accordion-item > .accordion-header .accordion-button {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        background-color: transparent;
        color: white;
        border: none;
        padding: 0;
        padding-left: 15px;
        padding-right: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: .8rem !important;
        box-shadow: none !important;
    }

        .nav-item .accordion-item > .accordion-header .accordion-button:after {
            background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
            background-size: 14px 14px;
        }

        .nav-item .accordion-item > .accordion-header .accordion-button i {
            font-size: 1.1rem !important;
        }

    .nav-item .accordion-item .accordion-body {
        padding: 0;
        margin: 0;
    }

        .nav-item .accordion-item .accordion-body .nav-item {
            padding-bottom: 0;
            padding-top: 0;
            padding-left: 25px
        }

.nav-settings {
    color: wheat !important;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}
