/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: "Open Sans", sans-serif;
    color: #444444;
}

a {
    color: #e03a3c;
    text-decoration: none;
}

    a:hover {
        color: #e76668;
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
}

.user-close {
    padding: 0.6em;
    border-radius: 5px;
    margin: 0.6em 0;
    cursor: pointer;
}

    .user-close::after {
        content: 'X';
        float: right;
        font-weight: 300;
        font-family: Arial, sans-serif;
        margin-right: 0.5em;
        margin-left: 1em;
        /*cursor: pointer;*/
    }

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #e03a3c;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

    .back-to-top i {
        font-size: 28px;
        color: #fff;
        line-height: 0;
    }

    .back-to-top:hover {
        background: #e65d5f;
        color: #fff;
    }

    .back-to-top.active {
        visibility: visible;
        opacity: 1;
    }

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background: #fff;
    transition: all 0.5s;
    z-index: 997;
    padding: 20px 0;
}

    #header.header-scrolled {
        padding: 12px 0;
        box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    }

    #header .logo {
        font-size: 30px;
        margin: 0;
        padding: 0;
        font-weight: 600;
        font-family: "Poppins", sans-serif;
    }

        #header .logo a {
            color: #111111;
        }

            #header .logo a span {
                color: #e03a3c;
            }

        #header .logo img {
            max-height: 40px;
        }

/*--------------------------------------------------------------
# Get Startet Button
--------------------------------------------------------------*/
.get-started-btn {
    margin-left: 30px;
    background: #e03a3c;
    color: #fff;
    border-radius: 4px;
    padding: 8px 25px;
    white-space: nowrap;
    transition: 0.3s;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

    .get-started-btn:hover {
        background: #111111;
        color: #fff;
    }

@media (max-width: 992px) {
    .get-started-btn {
        margin: 0 15px 0 0;
        padding: 6px 18px;
    }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
    padding: 0;
}

    .navbar ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navbar li {
        position: relative;
    }

    .navbar a,
    .navbar a:focus {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0 10px 30px;
        font-family: "Raleway", sans-serif;
        font-size: 15px;
        font-weight: 600;
        color: #111111;
        white-space: nowrap;
        transition: 0.3s;
    }

        .navbar a i,
        .navbar a:focus i {
            font-size: 12px;
            line-height: 0;
            margin-left: 5px;
        }

        .navbar a:hover,
        .navbar .active,
        .navbar .active:focus,
        .navbar li:hover > a {
            color: #e03a3c;
        }

    .navbar .dropdown ul {
        display: block;
        position: absolute;
        left: 30px;
        top: calc(100% + 30px);
        margin: 0;
        padding: 10px 0;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        background: #fff;
        box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
        transition: 0.3s;
    }

        .navbar .dropdown ul li {
            min-width: 200px;
        }

        .navbar .dropdown ul a {
            padding: 10px 20px;
            font-size: 14px;
        }

            .navbar .dropdown ul a i {
                font-size: 12px;
            }

            .navbar .dropdown ul a:hover,
            .navbar .dropdown ul .active:hover,
            .navbar .dropdown ul li:hover > a {
                color: #e03a3c;
            }

    .navbar .dropdown:hover > ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navbar .dropdown .dropdown ul {
        top: 0;
        left: calc(100% - 30px);
        visibility: hidden;
    }

    .navbar .dropdown .dropdown:hover > ul {
        opacity: 1;
        top: 0;
        left: 100%;
        visibility: visible;
    }

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
    color: #111111;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

    .mobile-nav-toggle.bi-x {
        color: #fff;
    }

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    transition: 0.3s;
    z-index: 999;
}

    .navbar-mobile .mobile-nav-toggle {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .navbar-mobile ul {
        display: block;
        position: absolute;
        top: 55px;
        right: 15px;
        bottom: 15px;
        left: 15px;
        padding: 10px 0;
        background-color: #fff;
        overflow-y: auto;
        transition: 0.3s;
    }

    .navbar-mobile a,
    .navbar-mobile a:focus {
        padding: 10px 20px;
        font-size: 15px;
        color: #111111;
    }

        .navbar-mobile a:hover,
        .navbar-mobile .active,
        .navbar-mobile li:hover > a {
            color: #e03a3c;
        }

    .navbar-mobile .getstarted,
    .navbar-mobile .getstarted:focus {
        margin: 15px;
    }

    .navbar-mobile .dropdown ul {
        position: static;
        display: none;
        margin: 10px 20px;
        padding: 10px 0;
        z-index: 99;
        opacity: 1;
        visibility: visible;
        background: #fff;
        box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    }

        .navbar-mobile .dropdown ul li {
            min-width: 200px;
        }

        .navbar-mobile .dropdown ul a {
            padding: 10px 20px;
        }

            .navbar-mobile .dropdown ul a i {
                font-size: 12px;
            }

            .navbar-mobile .dropdown ul a:hover,
            .navbar-mobile .dropdown ul .active:hover,
            .navbar-mobile .dropdown ul li:hover > a {
                color: #e03a3c;
            }

    .navbar-mobile .dropdown > .dropdown-active {
        display: block;
    }


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
    padding: 60px 0;
    overflow: hidden;
    position: relative;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
    position: relative;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: bold;
        text-transform: uppercase;
        margin-bottom: 20px;
        padding-bottom: 20px;
        position: relative;
    }

        .section-title h2::after {
            content: "";
            position: absolute;
            display: block;
            width: 50px;
            height: 3px;
            background: #e03a3c;
            bottom: 0;
            left: calc(50% - 25px);
        }

    .section-title p {
        margin-bottom: 0;
    }

.section-bg {
    padding: 120px 0;
    color: #fff;
}

    .section-bg:before {
        content: "";
        background: #1b1b1b;
        position: absolute;
        bottom: 60px;
        top: 60px;
        left: 0;
        right: 0;
        transform: skewY(-3deg);
    }

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
    padding: 15px 0;
    background: #2b2b2b;
    min-height: 40px;
    margin-top: 82px;
    color: #fff;
}

    .breadcrumbs h2 {
        font-size: 28px;
        font-weight: 500;
    }

    .breadcrumbs ol {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        padding: 0 0 10px 0;
        margin: 0;
        font-size: 14px;
    }

        .breadcrumbs ol a {
            color: #aaaaaa;
        }

            .breadcrumbs ol a:hover {
                color: #fff;
                transition: 0.3s;
            }

        .breadcrumbs ol li + li {
            padding-left: 10px;
        }

            .breadcrumbs ol li + li::before {
                display: inline-block;
                padding-right: 10px;
                color: #e03a3c;
                content: "/";
            }

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

    .clients .swiper-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background-color: #fff;
        opacity: 1;
        border: 1px solid #e03a3c;
    }

    .clients .swiper-pagination .swiper-pagination-bullet-active {
        background-color: #e03a3c;
    }

.clients .swiper-slide img {
    opacity: 0.5;
    transition: 0.3s;
    filter: grayscale(100);
}

    .clients .swiper-slide img:hover {
        opacity: 1;
        filter: none;
    }

/*--------------------------------------------------------------
# Table
--------------------------------------------------------------*/

.row-table-header {
    border: 1px solid #CCC;
    background: #DDD;
    font-weight: 600;
}

.row-table-detail {
    min-height: 55px;
    border-left: 1px solid #CCC;
    border-right: 1px solid #CCC;
}

    .row-table-detail:nth-child(even) {
        background: #EEE;
    }

    .row-table-detail:nth-child(odd) {
        background: #FFF
    }

    .row-table-detail:last-of-type {
        border-bottom: 1px solid #CCC;
    }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    color: #fff;
    font-size: 14px;
    background: #111111;
}

    #footer .footer-top {
        padding: 10px 0 10px 0;
        background: #1b1b1b;
    }

        #footer .footer-top h4 {
            font-size: 16px;
            font-weight: bold;
            position: relative;
            padding-bottom: 12px;
        }

            #footer .footer-top h4::after {
                content: "";
                position: absolute;
                display: block;
                width: 20px;
                height: 2px;
                background: #e03a3c;
                bottom: 0;
                left: 0;
            }

        #footer .footer-top .footer-links {
            margin-bottom: 30px;
        }

            #footer .footer-top .footer-links ul {
                list-style: none;
                padding: 0;
                margin: 0;
            }

                #footer .footer-top .footer-links ul i {
                    padding-right: 2px;
                    color: white;
                    font-size: 18px;
                    line-height: 1;
                }

                #footer .footer-top .footer-links ul li {
                    padding: 10px 0;
                    display: flex;
                    align-items: center;
                }

                    #footer .footer-top .footer-links ul li:first-child {
                        padding-top: 0;
                    }

                #footer .footer-top .footer-links ul a {
                    color: #aaaaaa;
                    transition: 0.3s;
                    display: inline-block;
                    line-height: 1;
                }

                    #footer .footer-top .footer-links ul a:hover {
                        text-decoration: none;
                        color: #fff;
                    }

    #footer .footer-newsletter {
        font-size: 15px;
    }

        #footer .footer-newsletter h4 {
            font-size: 16px;
            font-weight: bold;
            position: relative;
            padding-bottom: 12px;
        }

        #footer .footer-newsletter form {
            margin-top: 30px;
            background: #fff;
            padding: 5px 10px;
            position: relative;
            border-radius: 4px;
            text-align: left;
        }

            #footer .footer-newsletter form input[type=email] {
                border: 0;
                padding: 4px 8px;
                width: calc(100% - 100px);
            }

            #footer .footer-newsletter form input[type=submit] {
                position: absolute;
                top: 0;
                right: -1px;
                bottom: 0;
                border: 0;
                background: none;
                font-size: 16px;
                padding: 0 20px;
                background: #e03a3c;
                color: #fff;
                transition: 0.3s;
                border-radius: 0 4px 4px 0;
                box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
            }

                #footer .footer-newsletter form input[type=submit]:hover {
                    background: #e35052;
                }

    #footer .credits {
        padding-top: 5px;
        font-size: 13px;
    }

    #footer .social-links a {
        font-size: 18px;
        display: inline-block;
        background: #2b2b2b;
        color: #fff;
        line-height: 1;
        padding: 8px 0;
        margin-right: 4px;
        border-radius: 4px;
        text-align: center;
        width: 36px;
        height: 36px;
        transition: 0.3s;
    }

        #footer .social-links a:hover {
            background: #e03a3c;
            color: #fff;
            text-decoration: none;
        }

.validation-summary-errors ul {
    list-style: none;
    padding: 5px;
    list-style-type: none;
    border: 1px solid #ee9193;
    background-color: #efd8d8;
    border-radius: 5px;
}

.validation-summary-errors li {
    color: #e03a3c;
}
/* Make the fixed position pop-up messages stand out, since they could be on top of text */
.divMessage, .divError {
    box-shadow: 3px 3px 20px rgba(0,0,0,0.4);
}

#deliveries strong {
    width: 8em;
}

#my_deliveries strong {
    width: 9em;
}

/* Deal with Deliver / Undeliver buttons on My Deliveries at different screen sizes */

.deliver-button, .undeliver-button {
    right: 10px;
    z-index: 10000;
}

#my_deliveries {
  /*  margin-right: 70px;*/
    /*background: red;*/
}

    #my_deliveries .row {
        margin-right: 0;
        margin-left: 0;
    }

    #my_deliveries input[type=checkbox] {
        margin-top: 6px;
   /*     margin-left: -20px;*/
        width: 13px;
        height: 13px;
    }

@media screen and (min-width: 769px) and (max-width: 1200px) {
    .deliver-button, .undeliver-button {
        right: -90px;
    }

    #my_deliveries {
        /*background: orange;*/
        margin-right: 110px;
    }
}

@media screen and (max-width: 768px) {
    .deliver-button, .undeliver-button {
        right: -47px;
    }

    #my_deliveries {
        /*background: yellow;*/
        margin-right: -49px;
    }

        #my_deliveries .row {
            margin-right: 0;
            margin-left: -16px;
        }

        #my_deliveries .deliver-button,
        #my_deliveries .undeliver-button {
            right: 5px;
        }

        #my_deliveries input[type=checkbox],
        #deliveries input[type=checkbox] {
    /*        margin-left: -24px;*/
            width: 20px;
            height: 20px;
        }

        #my_deliveries a.route-priority-button {
            width: 20px !important;
            height: 20px !important;
        }

            #my_deliveries a.route-priority-button > span {
                line-height: 18px;
            }
}

/* Ajax Loader css */
.ajax-loader {
    /*display: inline-block;
    width: 160px;
    text-align: center;
    padding: 0.5em 0;
    position: fixed;
    top: 2.8em;
    left: 50%;
    margin-left: -80px;
    font-size: 1.2em;
    z-index: 2000;*/
    position: absolute;
    background: #000;
    opacity: .3;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2000;
}

.loader {
    display: inline-block;
    width: 160px;
    text-align: center;
    padding: 0.5em 0;
    position: fixed;
    top: 2.8em;
    left: 50%;
    top: 50%;
    margin-left: -40px;
    margin-top: -40px;
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
}