﻿/*
    last modify 05/06/2023 
    test 10:43 Italy
    
*/

:root {
    --FS-generic-link: #CF152D;
    --bs-dark-rgb: 103,91,64;
    --bs-link-color: #CF152D;
    --bs-link-hover-color: #f52929;
    --bk-timeline-icon: #675B40;
    --bs-secondary-text: #675B40;
    --bs-primary-border: #CF152D;
    --bs-secondary-border: #675B40;
}

.btn-primary {
    --bs-btn-bg: #CF152D !important;
    --bs-btn-border-color: #CF152D !important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #CF152D !important;
    --bs-btn-hover-border-color: #CF152D !important;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #CF152D !important;
    --bs-btn-active-border-color: #CF152D !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #CF152D !important;
    --bs-btn-disabled-border-color: #CF152D !important;
}

.btn-secondary {
    --bs-btn-bg: #675B40 !important;
    --bs-btn-border-color: #675B40 !important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #675B40 !important;
    --bs-btn-hover-border-color: #675B40 !important;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #675B40 !important;
    --bs-btn-active-border-color: #675B40 !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #675B40 !important;
    --bs-btn-disabled-border-color: #675B40 !important;
}

.text-primary {
    color: var(--bs-secondary-text) !important;
}

.border-primary {
    border-color: var(--bs-primary-border) !important;
}

.pagination {
    --bs-pagination-color: var(--bs-link-color);
    --bs-pagination-bg: #fff;
    --bs-pagination-hover-color: #fff;
    --bs-pagination-hover-bg: #CF152D;
    --bs-pagination-hover-border-color: #CF152D;
    --bs-pagination-focus-color: var(--bs-link-hover-color);
    --bs-pagination-focus-bg: #CF152D;
    --bs-pagination-active-bg: #CF152D;
    --bs-pagination-active-border-color: #CF152D;
    --bs-pagination-disabled-color: #CF152D;
    --bs-pagination-disabled-bg: #fff;
    --bs-pagination-disabled-border-color: #e89ea8;
    --bs-pagination-padding-x: 0.5rem;
    --bs-pagination-padding-y: 0.25rem;
}

body {
    font-size: .800rem;
    overflow-x: hidden;
}

.feather {
    width: 16px;
    height: 16px;
}

#dashboardhome {
    width: 800px;
}
/*
 * Sidebar
 */
.sidebar {
    position: fixed;
    top: 0;
    /* rtl:raw:
  right: 0;
  */
    bottom: 0;
    /* rtl:remove */
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 48px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}

.sidebar-sticky {
    height: calc(100vh - 48px);
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #727272;
    }

    .sidebar .nav-link.active {
        color: #2470dc;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
}

/*
 * Navbar
 */

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

    .form-control-dark:focus {
        border-color: transparent;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
    }

.icongrid {
    width: 16px;
    cursor: pointer;
    opacity: 0.5;
}

#datausers_wrapper, #datacarriages_wrapper, #dataItinerary_wrapper {
    max-width: 1200px;
}

#dataStops_wrapper {
    max-width: 800px;
}

#dataMediaStop_wrapper {
    max-width: 600px;
}

#datausers a, #datacarriages a, #dataItinerary a, #dataStops a {
    color: var(--FS-generic-link);
    text-decoration: none;
}

#datausers td,
#dataItinerary td,
#datacarriages td,
#dataStops td {
    vertical-align: middle;
}

#userform {
    max-width: 700px;
}

.field-validation-error {
    color: rgb(255 0 0);
}

button.close {
    border: 1px solid #cecece;
    border-radius: 3px;
    margin-right: 10px;
}

.w10px {
    width: 10px !important;
}

.w40px {
    width: 40px !important;
}

.w65px {
    width: 65px !important;
}

.w100px {
    width: 100px !important;
}

.w150px {
    width: 150px !important;
}

.w250px {
    width: 250px !important;
}


.spinner-border-wait {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: -.125em;
    border: .15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: .75s linear infinite spinner-border;
    animation: .75s linear infinite spinner-border;
    margin-left: 1em;
    color: #675b40 !Important;
    padding: 0px !Important;
}

h6 {
    font-weight: 400;
}


#mydropzone {
    width: 100%;
    border: 2px dashed #cecece;
}

a.dz-remove {
    text-decoration: none;
}

.dropzone .dz-preview .dz-remove:hover {
    text-decoration: none !important;
    opacity: 0.5;
}


.dropzone {
    border-width: 2px;
    color: #ccc;
    border: 1px dashed rgba(0,0,0,0.3) !important;
    border-color: #ccc;
    line-height: 35px;
    text-align: center;
    min-height: 150px;
    background: white;
    padding: 20px 20px;
    width: 800px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.dz-error-mark, .dz-success-mark {
    margin-top: -65px !important;
}

.dz-remove {
    margin-top: -25px !important;
}

.imgEdit, .videocontrol {
    max-width: 250px;
}

#tblEditMedia {
    width: 800px;
}

    #tblEditMedia > tbody > tr > td:nth-child(1) {
        width: 250px;
        border: 0px;
    }

    #tblEditMedia > tbody > tr > td:nth-child(2) {
        width: 550px;
        border: 0px;
    }

.imagegridsearch {
    width: 150px
}

.imgSelect {
    border: 1px solid #CF152D;
    cursor: pointer;
}

    .imgSelect:hover {
        border: 1px solid #3ce92f;
    }

.imgDisabledLink {
    opacity: 0.5;
}

#dashboardhome a {
    text-decoration: none;
}


.timeline {
    position: relative;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 0.5rem;
    margin: 0 auto 1rem auto;
    overflow: hidden;
}

    .timeline:after {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: -2px;
        border-right: 2px dashed #4b546f;
        height: 100%;
        display: block;
    }

.timeline-row {
    padding-left: 50%;
    position: relative;
    margin-bottom: 30px;
}

    .timeline-row .timeline-time {
        position: absolute;
        right: 50%;
        top: 15px;
        text-align: right;
        margin-right: 20px;
        color: #666666;
        font-size: 1.5rem;
    }

        .timeline-row .timeline-time small {
            display: block;
            font-size: 0.8rem;
        }

    .timeline-row .timeline-content {
        position: relative;
        padding: 10px 20px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border: 1px solid var(--bs-link-color);
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

        .timeline-row .timeline-content:after {
            content: "";
            position: absolute;
            top: 20px;
            height: 16px;
            width: 16px;
            background: var(--bs-link-color);
            border: 2px solid var(--bs-link-color);
        }

        .timeline-row .timeline-content:before {
            content: "";
            position: absolute;
            top: 18px;
            right: -50px;
            width: 20px;
            height: 20px;
            -webkit-border-radius: 100px;
            -moz-border-radius: 100px;
            border-radius: 100px;
            z-index: 10;
            background: var(--bk-timeline-icon);
            border: 2px solid var(--bk-timeline-icon);
        }

        .timeline-row .timeline-content h4 {
            margin: 0 0 20px 0;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            line-height: 150%;
        }

        .timeline-row .timeline-content p {
            margin-bottom: 30px;
            line-height: 150%;
        }

        .timeline-row .timeline-content i {
            font-size: 1.2rem;
            line-height: 100%;
            padding: 15px;
            -webkit-border-radius: 100px;
            -moz-border-radius: 100px;
            border-radius: 100px;
            background: var(--bk-timeline-icon);
            margin-bottom: 10px;
            display: inline-block;
        }

        .timeline-row .timeline-content .thumbs {
            margin-bottom: 20px;
            display: flex;
            width: 600px;
            overflow-x: auto;
            padding-bottom: 20px;
        }

            .timeline-row .timeline-content .thumbs::-webkit-scrollbar {
                height: 8px;
            }

            .timeline-row .timeline-content .thumbs::-webkit-scrollbar-track {
                border: 1px solid var(--bk-timeline-icon);
            }

            .timeline-row .timeline-content .thumbs::-webkit-scrollbar-thumb {
                background-color: var(--bk-timeline-icon); /* color of the scroll thumb */
            }



            .timeline-row .timeline-content .thumbs img,
            .timeline-row .timeline-content .thumbs video {
                margin: 5px;
                max-width: 120px;
            }

            .timeline-row .timeline-content .thumbs div {
                border: 1px solid #cecece;
                margin-right: 5px;
                padding: 2px;
            }

        .timeline-row .timeline-content .badge {
            color: #ffffff;
            background: linear-gradient(120deg, #00b5fd 0%, #0047b1 100%);
        }

    .timeline-row:nth-child(even) .timeline-content {
        margin-left: 40px;
        text-align: left;
    }

    .timeline-row:nth-child(odd) .timeline-content {
        text-align: left;
    }

    .timeline-row:nth-child(even) .timeline-content:after {
        left: -8px;
        right: initial;
        border-bottom: 0;
        border-left: 0;
        transform: rotate(-135deg);
    }

    .timeline-row:nth-child(even) .timeline-content:before {
        left: -52px;
        right: initial;
    }

    .timeline-row:nth-child(odd) {
        padding-left: 0;
        padding-right: 50%;
    }

        .timeline-row:nth-child(odd) .timeline-time {
            right: auto;
            left: 50%;
            text-align: left;
            margin-right: 0;
            margin-left: 20px;
        }

        .timeline-row:nth-child(odd) .timeline-content {
            margin-right: 40px;
        }

            .timeline-row:nth-child(odd) .timeline-content:after {
                right: -8px;
                border-left: 0;
                border-bottom: 0;
                transform: rotate(45deg);
            }

@media (max-width: 992px) {
    .timeline {
        padding: 15px;
    }

        .timeline:after {
            border: 0;
        }

        .timeline .timeline-row:nth-child(odd) {
            padding: 0;
        }

            .timeline .timeline-row:nth-child(odd) .timeline-time {
                position: relative;
                top: 0;
                left: 0;
                margin: 0 0 10px 0;
            }

            .timeline .timeline-row:nth-child(odd) .timeline-content {
                margin: 0;
            }

                .timeline .timeline-row:nth-child(odd) .timeline-content:before {
                    display: none;
                }

                .timeline .timeline-row:nth-child(odd) .timeline-content:after {
                    display: none;
                }

        .timeline .timeline-row:nth-child(even) {
            padding: 0;
        }

            .timeline .timeline-row:nth-child(even) .timeline-time {
                position: relative;
                top: 0;
                left: 0;
                margin: 0 0 10px 0;
                text-align: left;
            }

            .timeline .timeline-row:nth-child(even) .timeline-content {
                margin: 0;
            }

                .timeline .timeline-row:nth-child(even) .timeline-content:before {
                    display: none;
                }

                .timeline .timeline-row:nth-child(even) .timeline-content:after {
                    display: none;
                }
}



.imagegrid {
    max-width: 155px;
}


.logoFsLogin {
    width: 80px;
}

.spinner-border-login {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: -.125em;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: .75s linear infinite spinner-border;
    animation: .75s linear infinite spinner-border;
    margin-left: 2em;
    margin-top: 0.5em;
    color: var(--bs-link-color) !Important;
    padding: 0px !important;
}


/* ------------------------------------------------------------------------------- */



.galleryFront {
    display: flex;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    grid-gap: 1rem;
    align-items: center;
    border: 1px solid var(--bs-secondary-border);
    padding: 0.5rem;
}

    .galleryFront img {
        width: 100%;
        object-fit: cover;
    }

.linkHome {
    text-decoration: none;
}

    .linkHome:hover {
        color: var(--font-generic-color);
    }

.disabled {
    opacity: 0.2;
    cursor:not-allowed;
}
