.race-logo{
	max-width: 100%;

}

*{
	font-family: helvetica;
}

.markdown-content img {
  display: block;
  max-width: 100%;
  height: auto;
}

#stage_results th:first-child,
#complete_results th:first-child{
    line-height: 2.8em;
}

@keyframes new-result {
    0% {
        box-shadow: inset 0 0 0 9999px yellow;
    }
    100% {
        box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
    }
}

.result.new,
.result.new th,
.result.new td{
    animation: new-result 2s ease-in 1;
}


.form-error{
	display: none;
}

.racer{
	font-size: 2vw;  line-height: 1.2;
}
.time{
	font-size: 4vw;
	text-align: center;
	line-height: 1.2;
	font-weight: bold;
}
.next-time{
	font-size: 2vw; 
	line-height: 1.2;
}
.stats{
	font-size: 2vw;
	line-height: 1;
}

.animate-background{
	-webkit-transition: background-color 220ms ease-out;
    -ms-transition: background-color 220ms ease-out;
    transition: background-color 220ms ease-out;
}



.profile-image{
	height: 100px;
	width: 100px;
	border-radius: 5px;


}

.racer-details{
	width: calc(100% - 100px);
    float: right;
    padding: 0 0 0 20px;

}

.cover-photo{
	background-size: cover;


}

.notification .btn{
	padding: 9px;
}

.nav select{
	margin: 15px;
	background-color: #3566A8;
    width: calc(100% - 30px);
	color:white;
}

.nav select:hover,
.nav select:focus{
    background: #3566A8;
    color:white;
}






body, html{
    padding: 0;
    margin: 0;
    background-color: #3A72BD;
    height: 100%;
    font-family: 'Open Sans', sans-serif;

    line-height: 1.42857143; /* morrelo */
    font-size: 14px; /* morrelo */
}

a.btn:hover,
a.badge:hover,
.pagination a:hover,
a.dropdown-item:hover{
    text-decoration: none;
}


.fa {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    background: #10ff00ad;
    width: 15px;
    height: 15px;
}

.grayscale {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

.bbimg-responsive {
    max-width: 100%;
    height: auto;
}

.stat-item{
    background: #f3f3f3;
}

.stat-item-me{
    border:1px solid #3a72bd;
}

.word-break{
    word-wrap: break-word;
    word-break: break-all;
}

.progressbar-low, .progressbar-high
{
    position: absolute;
}

.progress{
    position: relative;
}

.progressbar-low {
    left: 10px;
    line-height: 30px;
    font-size: 14px;
}

.progress-bar
{
    position: relative;
    overflow: hidden;
}

.progressbar-high{
    z-index: 5;
    left: 10px;
    white-space: nowrap;
}

#log-overview-header{
    line-height: 2.4;
    border-bottom: 1px solid #f3f3f3;
    padding: 15px;
    color: #232425;
    font-size: 13px;

}

.table-scroll table{
    max-width: 100%
}

table.table{
    margin-bottom:0
}

#user-job-details-table th{
    padding-left: 15px;

}


.lang-select{
    padding:0 5px;
    height: 50px;
    line-height: 50px;
    text-decoration: none;
    color: #337ab7;
    border-radius: 5px;
    margin:3px 0;
}
.lang-select:hover, .lang-select-active{
    background: #d9edf7;
    cursor: pointer;
    transition: background-color 0.2s ease-out;

}

.employee-stats img {
    height:25px;

}

.ajax-error{
    display:none;
}

.profile-status{
    font-size: 16px;
    padding:12px 15px;
    border-style: solid none;
    border-width: 1px;
    margin-top: 35px;
}

.stat_icon-wotr{
    color: #337ab7;
}

.status-primary{
    border-color: #337ab7;
    background: #337ab7;
    color:white;
}

.status-success{
    color:#3c763d;
    background: #dff0d8;
    border-color: #3c763d;

}

.status-danger{
    color:#a94442;
    background: #f2dede;
    border-color: #a94442;
}

.status-default{
    color:#808080;
    background: #E5E5E5;
    border-color: #808080;
}

.status-info{
    color:#337ab7;
    background: #F0F8FF;
    border-color: #337ab7;
}


.profile-info-item{
    border-bottom: 1px solid #edf3f9;
    padding: 9px 15px;
}


.profile-info .profile-info-item {
    border-bottom: 0;
    border-top: 1px solid #edf3f9;
}


.history-item{
    padding:15px;
    font-size: 15px;
}

.history-item .heading{
    font-size: 18px;
}

.no-letter-spacing{
    letter-spacing: 0;
}

.text-underline{
    text-decoration: underline;
}
.big-bold-text{
    font-size: 30px;
    font-weight: bolder;
}


.comment-body {
    padding-left: 15px;
    margin-top: 13px;
}
.comment-body .input-area {
    resize: vertical;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}

.comment-body .input-group-btn .input-btn {
    margin-left: 15px;
}

#next-posts {
    margin-bottom: 20px;
}

.clr {
    clear: both;
}

.start-number{
    height: 30px;
    width: 30px;
    line-height: 30px;
    font-size: 16px;
    padding: 0;
}

.opacity-low{
    opacity: .2;
}

tr:has(.user_id_time_assign:checked) {
    background-color: rgba(0,0,0,.075);
}

tr:has(.check-present:checked) {
    background-color: #d1ebd1;
}


.btn-bordered {
    --bs-btn-bg: #f5f5f5;
    --bs-btn-disabled-bg: #f5f5f5;
    --bs-btn-active-bg: #3A72BD;

    --bs-btn-active-color:#fff;

    border: 1px solid #2e6da4;
    color: #2e6da4;
}

.btn-bordered:hover {
    color: #fff;
    background-color: #3A72BD;
    border-color: #2e6da4;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    pointer-events: auto;
}

@media (max-width: 320px) {
    .hidden-xxs {
        display: none !important;
    }


}

.alert-margin {
    margin: 10px;
}

/* SIDEBAR */
.sidebar{
    width: 240px;
    color: white;
    float: left;
    z-index: 1020;
    height: 100%;
    flex-shrink: 0;
    position: fixed;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    background: #3A72BD;
}


.sidebar > .nav {
    left: 0;
    right: 0;
    overflow: auto;
    top: 60px;
    justify-content: start;
}

.sidebar ul li a{
    color: white;
    font-size: 14px;
}

div .logo {
    height: 60px;
}

.logo a{
    color: white;
    display: block;
    padding: 10px 15px;
    overflow: auto;
}
.logo img{
    float: left;
    height: 40px;
}
.logo h1{
    font-size: 20px;
    padding: 7.5px 15px;
    float: left;
    margin: 0;
}

body > section {
    display: flex;
    min-height: 100%;
    max-width: 100%;
}

.main{
    background-color: #FFFFFF;
    flex-grow: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-left:  240px;
    max-width:  calc(100% - 240px);
}

.navigation-title{
    font-size: 11px;
    margin: 0;
    padding: 9px 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6); /* color: rgba(255, 255, 255, 0.5); */
    border-top: 1px solid rgba(255,255,255,0.15); /* border-top: 1px solid rgba(255,255,255,0.05); */
    border-bottom: 1px solid rgba(255,255,255,0.15); /* border-bottom: 1px solid rgba(255,255,255,0.05); */
}

#sidebar .nav li a {
    color: #fff;
    padding: 13px 20px; /*padding: 15px 20px;*/
}

#sidebar .nav .active a{
    background-color: #3b66a3; /* #3566A8 #286090 */
}
.nav li ul{
    list-style-type: none;
}
.nav li ul li a{
    display: block;
    padding: 10px 20px;
}

.nav li ul li a:hover{
    text-decoration: none;
}

.nav .fas, .nav .far {
    margin-right: 10px;
    width: 16px;
}

#sidebar .nav li a:active
{
    background-color: #3b66a3; /* #3566A8 #286090 */
    text-decoration: none;
}

#sidebar .nav li a:hover, #sidebar .nav li a:focus
{
    background-color: #396aab; /* #3566A8 */
    text-decoration: none;
}

#settings .card{
    margin-bottom: 3px;
    border-radius: 0;
}


#collapseMap, #collapseSettings, #collapseStats {
    padding-left: 20px;
}

.pointer:hover{
    cursor: pointer;
}

/* TOP BAR */

.logo-center{
    display: none;
}


.header .toggle-btn{
    float: left;
    padding: 6px 0px;
}

.header .toggle-btn i{
    display: none;
    padding: 23px;
}

.header a{
    color: #384246;
}

.header .dropdown>a{
    padding: 10px;
}

.header .dropdown a:hover{
    background-color: #F3F3F3;
    cursor: pointer;
}

.header .dropdown .new{
    background-color: #d9edf7;
    cursor: pointer;
}

.header .dropdown .new:hover{
    background-color: #c4e3f3;
    cursor: pointer;
}

.avatar{
    margin-right: 10px;
    height: 40px;
    width: 40px;
    background-position: 50%;
    background-size: cover;
    float: left;
}

.avatar-small{
    margin-right: 8px;
    height: 25px;
    width: 25px;
}

.avatar-big{
    margin-right: 8px;
    height: 140px;
    width: 140px;
}

td .avatar{
    float:none;
    margin:auto;

}

.comment-time{
    color:#a7a7a7;
}

.notification{
    float: right;
}

.notification a{
    display: block;
    overflow: auto;
}

.notification .dropdown-menu{
    right: 4px;
    top: 57px;
    left: inherit;

}

.notification-icon{
    color:#777;
}

.lbl{
    margin-top: 8px;
    float: left;
}


/* PAGE HEAD */

.page-head{
    padding: 17px 20px; /* padding: 20px; */
    /*min-height: 80px; /* min-height: 85px; */
    background-color: #e8e8e8;
}

.page-head h3{
    line-height: 45px;
    margin:0;
    flex-grow: 999 !important;
}

/* COMPONENTS STYLE */
.wrapper {
    padding: 20px;
    background: #f3f3f3;
    flex-grow: 1;
    overflow: visible;
}

.wrapper > .container {
    --bs-gutter-x: 0;
}

.card {
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.12);
}


.result{
    margin-right: 8px;
}



.profile-info .card-footer {
    background-color: #f9f9f9;
    border-top: none;
}

.fb-user-details h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 300;
}

.fb-user-details p{
    margin-bottom: 0;
}

.nav-pills .fa{
    width: auto;
    margin: 5px;
}

.nav-pills li a{
    color: #adadad;
    padding: 10px 10px;
}

.nav-pills li a:hover{
    background-color: #eee;
}

.profile-info textarea {
    min-height: 46px;
}

textarea.form-control  {
    max-width: 100%;
    min-width: 100%;
    min-height: 34px;
}

.fb-comments li {

    list-style-type: none;
}
.fb-border {
    border-top: 1px solid #ebeef5;
}
.fb-user-status {
    padding: 10px 0;
    line-height: 20px;
    word-break: break-word;
}



.title {
    border-bottom: 1px solid #efefef;
    margin-bottom: 20px;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}
.title h1 {
    font-size: 20px;
    margin: 0;
    font-weight: 300;
    color: #474748;
}
.widget {
    margin-bottom: 30px;
}

.card-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 15px;
    text-transform: uppercase;
    color: #232425;
    letter-spacing: 0.5px;
}



/* CHAT */
.chat {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fb-comments{
    background: #f5f9fb;
    padding-left: 0;
    margin-bottom: 0;
}

.fb-comments li{
    margin-right: 0;
    border-top: 1px dotted #999;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #999;
}

.chat li.left .chat-body {
    margin-left: 50px;
}

.chat li.right .chat-body {
    margin-right: 60px;
}

.chat li .chat-body p {
    margin: 0;
}
.chat-card .card-body {
    height: 60vh;
    overflow-y: scroll;
    position: relative;
}


/* PREMIUM */
.payment-logos {
    padding: 0 3px;
    margin-bottom: 4px;
}

.pricing-table {
    background: #fff;
    text-align: center;
    padding: 0 0 25px 0;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.pricing-head h3 {
    padding: 20px 0;
    background: #3A72BD;
    color: #fff;
    font-size: 20px;
    font-weight: 100;
    margin-top: -40px;
}


.pricing-head h2 {
    padding: 30px 0;
    background: #3A72BD;
    color: #fff;
    font-size: 45px;
    font-weight: 100;
}

.pricing-head h1 {
    font-size: 18px;
    padding-top: 15px;
}

.pricing-head span.note {
    display: inline;
    font-size: 25px;
    line-height: 0.8em;
    position: relative;
    top: -18px;
}

.pricing-head span.note-sms {
    display: inline;
    font-size: 11px;
    line-height: 0.8em;
    position: relative;
    top: -6px;
}

.pricing-table ul li {
    border-bottom: 1px dotted #CCCCCC;
    margin: 0 2em;
    padding: 1em 0;
    text-align: center;
    font-weight: 300;
}

/* INVOICE */

.invoice-list {
    list-style-type: none;
}

.invoice-total {
    padding: 5px;
    border: 2px solid #ccc;
    width:fit-content;
}

/* FOOTER */
.main > footer
{

    background-color: #e8e8e8;
    width: 100%;
    padding: 15px;
    text-align: center;

}

a:hover{
    text-decoration: underline;
}


.like_count_text {
    position: relative;
    display: inline-block;
}


.user-card {
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    float: left;
    box-shadow: 0 1px 2px rgba(0,0,0,.1);
    margin-bottom: 15px;
}

.nick-card {
    margin-top: 6px;
    margin-bottom: 6px;
    font-size: 1.5rem;
}




#translation-list{
    float: left;
    margin-bottom: 15px;

}
#translation-body{
    float: left;
    padding-left: 15px;
}



#translation-list ul li a {
    font-size: 17px;
    display: block;
    padding: 5px 0 5px 5px;
    background: #fbfbfb;
    margin-bottom: 8px;
    border: 1px solid #dedede;
    border-radius: 4px;
    text-align: center;
}

#translation-list ul li{
    word-wrap: break-word;

}

#translation-list ul li a:hover,
#translation-list ul li a:focus,
#translation-list ul li a:active{
    text-decoration: none;
    background: #f1f1f1;
}

#translation-list ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    margin-right: 10px;
}

#translation-list-content{
    max-height: calc(100vh - 400px);
    min-height: 250px;
    overflow-y: auto;
}



/* STICKY FOOTER */
.main {
    min-height: 100%;
}

.input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:first-child>.btn-group:not(:first-child)>.btn, .input-group-btn:first-child>.btn:not(:first-child), .input-group-btn:last-child>.btn, .input-group-btn:last-child>.btn-group>.btn, .input-group-btn:last-child>.dropdown-toggle{
    border-radius: 3px;
}


.country-select{
    width: auto;
}

label{
    font-weight: inherit;
}


.convoys-list {
    margin-bottom: 0;
}
.convoys-list .list-group-item:first-child {
    border-radius: 0;
}
.convoys-list .list-group-item {
    padding: 5px 5px 5px 5px;
    border: 0;
    border-top: 1px solid #ddd;
}
.convoys-list .alert {
    margin: 10px;
}
.convoys-list .loadmore {
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 2px solid #ddd;
}

.convoy-pic {
    float: left;
    text-transform: uppercase;

    height: 60px;
    width: 60px;
    border-radius: 4px;

    color: white;

    padding: 15px 5px 5px 15px;
}

/* RESPONSIVE */

@media screen and (max-width: 1000px)
{
    .main{
        background-color: #3A72BD;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .header .dropdown>a:hover{
        background-color: #3b66a3; /* #3566A8 */
        cursor: pointer;
    }

    .wrapper{
        padding: 10px;
        overflow: hidden;
    }

    #sidebar .nav {
        max-height: calc(100vh - 64px);
        overflow: auto;
        position: relative;
        top: 0;
    }

    .page-head{
        margin-top: 60px;
    }
    .main > .header{
        position: fixed;
        width: 100%;
        z-index: 10000;
        background-color: #3A72BD;
    }
    .logo-center{
        display: inline-block;
    }
    .header{
        text-align: center;
    }

    .logo-center a{
        display: block;
        padding-top: 10px;
    }
    .logo-center img{
        float:left;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    .logo-center h1{
        font-size: 24px;
        vertical-align: middle;
        padding-left: 15px;
        float: left;
        margin: 0;
        padding-top: 10px;
    }
    .sidebar{
        position: fixed;
        background-color: #3A72BD;
        z-index: 1060;
        top: 60px;
        height: calc(100vh - 60px) !important;
        min-height: 0;
        overflow: auto;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    .sidebar .nav >li:first-child h3{
        border-top: none;
    }

    .sidebar .logo{
        display: none;
    }
    .sidebar-hidden{
        left: -240px;
    }

    .header .toggle-btn i{
        display: inline-block;
        cursor: pointer;
    }
    .header a{
        color: white;
    }
    .header .dropdown:hover{
        background-color: #3b66a3; /* #3566A8 */
    }
    .lbl{
        display: none;
    }

    .notification-icon{

        color:#FFF;

    }

}

@media screen and (max-width: 400px)
{
    .logo-center h1{
        display: none;
    }

    .table-striped.custom-table.table-hover .btn{
        width: auto;
        margin-left: 0!important
    }
}


@media screen and (max-width: 320px)
{
    table.table-striped.custom-table.table-hover .btn{
        width: 100%!important;
        margin-left: 0!important
    }
}

@media screen and (max-width: 600px)
{
    .btn-group img{
        margin-left: 5px;
        margin-bottom: 5px
    }
    .btn-group, .btn-group form, .btn-group form select
    {
        width: 100%;
        position: relative;
    }

    .card-header.head-border .btn-group a
    {
        /*width: 50%;*/
        position: relative;
    }

    .card-header {
        gap:5px;
    }

    .btn-group a {
        float: left;
    }
    .enter-stats{
        display: block!important;
    }
    .country-select{
        width: 100%;
    }
    .table-striped.custom-table.table-hover .btn{
        width: auto;
        margin-bottom: 5px;
        float:left;
        margin-left: 5px;
    }

    .btn-group-tight .btn
    {
        width: initial;
        margin-left: 0 !important;
    }



}

@media screen and (max-width: 767px)
{
    .text-center-sm{
        text-align: center;
    }

    .logbook-overview-info{
        margin: 10px 0;
    }
}

@media screen and (max-width: 1199px)
{
    section.employee-stats div {
        border-right: none !important;
    }
}

.menu-list a .fas.fa-angle-right:before
{
    content: "\f107";
    margin-right: 0;
}

.chat-card p{
    word-wrap: break-word;
}

.menu-list a:not(.collapsed) .fas.fa-angle-right:before
{
    margin-right: 0;
    content: "\f106";
}

.menu-list a .fas.fa-angle-right{
    margin-top: 2px;
    margin-right: 0;
}


.menu-list a:not(.collapsed) .fas.fa-angle-right{
    margin-top: 2px;
    margin-right: 0;
}

.widget-convoys{
    background-color: #f5f5f5;
    border: 1px solid #dadada;
    border-radius: 4px;
    padding: 10px;
}

.convoy-username {
    margin-top: 7px;
    font-size: 20px;
}

.convoy-user {
    overflow: auto;
    margin-bottom: 15px;
}

.convoys-list{
    list-style-type: none;
    padding: 0;
}



.convoys-list li a{
    display: block;
    border-bottom: 1px solid #cecece;
    overflow: auto;
    font-size: 16px;
    text-decoration: none;
}

.convoys-list li a:hover{
    background-color: #f3f3f3;
}



.convoy-date{
    float: left;
    padding: 5px;
    text-transform: uppercase;
}

.convoy-date-blue{
    height: 60px;
    width: 60px;
    padding: 5px;
    color: white;
    background-color: #3a72bd;
    border-radius: 4px;
    text-align: center;
}

.convoy-info{
    padding: 15px;
    text-align: center;
}

.convoy-date-day{
    font-size: 20px;
}


.progress{
    height: 30px;
}
.progress-bar{
    line-height: 30px;
    font-size: 14px;
    text-align: left;
}

td > .progress{
    margin-bottom: 0;
}

#button-login-topbar{
    margin: 10px;
}

.modal{
    padding-top: 70px;
}

.cmt-details{
    margin-left: 50px;

}
.chat .delete-post, .cmt-details .delete-post{
    background: transparent;
    border: none;
    color: #d9534f;
    font-size: 16px;
    line-height: 16px;
    margin-top: -4px;
    padding: 0;
    outline:0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.chat .delete-post:hover,
.chat .delete-post:active,
.chat .delete-post:focus,

.cmt-details .delete-post:hover,
.cmt-details .delete-post:active,
.cmt-details .delete-post:focus {
    border: none;
    color: #bb4e4b;
    outline:0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.wrapper .input-group-addon
{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

body .comment-form
{
    display:table;
}

body .comment-form{
    width: 100%
}

body .comment-form .row{
    display: table-row;
}


body .comment-form .row .avatar{
    margin-left: 0!important
}



.card-header.noborder{
    border: none!important
}
/*timeline profil END*/

/*minimapa profil START*/
.mappreview {
    display: block;
    height: 256px;
    width: calc( 100% + 20px );
    position: relative;
    overflow: hidden;
    background: #335671;
}
.mappreview img {
    position: absolute;
}
.mappreview .horizontal-line,
.mappreview .vertical-line {
    position: absolute;
    background: rgba(127, 255, 255, 0.33333333);
    background: white;
}
.mappreview .horizontal-line {
    top: 50%;
    height: 1px;
    left: 0;
    right: 0;
}
.mappreview .vertical-line {
    left: 0;
    width: 1px;
    top: 0;
    bottom: 0;
}
/*minimapa profil END*/
#topic-page .card-heading.clearfix {
    display: flex;
    flex-wrap: wrap;
}

#topic-page .card-heading .float-right {
    flex: 1 1 auto;
    text-align: right;
}

.col-forum-left{
    float: left;
    width: 210px;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-forum-right{
    float: left;
    width: calc(100% - 220px);
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 6px;
    max-width: 100%;
}

#topic-page .avatar{
    margin: 0 auto;
    float: none;
}
.forum-avatar{
    overflow: auto;
    text-align: center;
    padding-top: 10px;
}

#topic-page .alert-warning{
    padding: 0 15px;
}

@media(max-width: 600px){
    .col-forum-right, .col-forum-left {
        flex: 1 0 auto;
        width: auto;
        padding-right: 15px;
        padding-left: 15px;
    }

    .row.forum-post-wrap > .forum.clearfix{
        display: flex;
        flex-wrap: wrap;
        padding-top: 5px
    }

    .forum-row .col-forum-left, .forum-row .col-forum-right {
        width:auto;
        float: none;
        flex-basis: 100%;
        padding-top: 5px;
        padding-right: 22px;
        padding-left: 22px;
    }

    #topic-page .avatar{
        float: left;
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
        margin-right: 10px;
    }
    .forum-avatar{
        text-align: left;
    }
}

.wrapper.profile{
    padding-bottom: 0
}


.table td{
    vertical-align: middle!important;
}
body header.convoy{
    border-bottom: none;
    text-transform: none;
    padding-left: 5px;
    padding-top:10px;
    padding-bottom: 5px;
}
body .card-body article:nth-of-type(1) .forum{
    border-top: none
}

.forum-post-wrap .forum
{
    border-top: 2px solid #cecdcd;
    display: flex;
    flex-wrap: wrap;
}

body #topic-page .forum-post-wrap.alert-warning{
    padding:0;
    border:0;
}

#topic-page .card-body{
    padding-top: 0;
}

#topic-page article .row{
    word-wrap: break-word;
}

.row.forum-post-wrap .forum.clearfix {
    display: flex;
    flex-wrap: wrap;
}

.row.forum-post-wrap .forum.clearfix .col-forum-left{
    flex: 0 1 auto;
}

.row.forum-post-wrap .forum.clearfix .col-forum-right{
    flex: 1 1 auto;
}

.timeline {
    position: relative;
    margin-top: 4px;
    margin-bottom: 20px;
}

.timeline .line {
    position: absolute;
    width: 3px; /* width: 2px; */
    display: block;
    background-color: #d6d6d6; /* #c2c2c2; */
    top: -10px;
    margin-left: 30px!important;
    /*padding-left: 2px;*/
    /*border-left: 1px solid #DDDDDD;*/
    bottom: 20px !important;

}

.timeline .line::after {
    content: '';
    position: absolute;
    left: -4px;
    bottom:0;
    width: 11px; /* 10px; */
    height: 11px; /* 10px; */
    display: block;
    border-radius: 50%;
    background-color: #d6d6d6; /* #c2c2c2; */
}

.timeline .card {
    position: relative;
    margin: 10px 0 21px 70px;
    clear: both;
}

.timeline .card::before {
    position: absolute;
    display: block;
    top: 8px;
    left: -24px;
    content: '';
    width: 0;
    height: 0;
    border: inherit;
    border-width: 12px;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
}

.timeline .card .card-header.icon * { font-size: 20px; vertical-align: middle; line-height: 40px; }
.timeline .card .card-header.icon {
    position: absolute;
    left: -59px;
    display: block;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    text-align: center;
    float: left;
}

.timeline .card-outline {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.timeline .card-outline .card-body {
    padding: 10px 0;
}

.timeline .card-outline .card-header:not(.icon),
.timeline .card-outline .card-footer {
    display: none;
}

.timeline-body{
    padding-left: 32px;
}

#timeline .bg-warning{
    border-color:#edaa16;
}

#timeline .bg-danger{
    border-color:#e74c3c;
}

#timeline .bg-success{
    border-color: #5cb85c;
}

#timeline .card-header.bg-primary{
    background: #337ab7;
    border-color: rgba(0, 0, 0, 0.1);
    color:white;
}

#timeline .card-header.bg-success{
    background: #5cb85c;
    border-color: rgba(0, 0, 0, 0.1);
    color:white;
}
#timeline .card-header.bg-warning{
    background:#edaa16;
    border-color: rgba(0, 0, 0, 0.1);
    color:white;
}

#timeline .card-header.bg-danger{
    background:#e74c3c;
    border-color: rgba(0, 0, 0, 0.1);
    color:white;
}

#timeline .card-header time, #timeline .card-body{
    font-size: 13px
}

#timeline .card-footer{
    font-size: 12px
}

#timeline .card-header.clearfix, #timeline .card-body{
    padding: 10px
}

#timeline .card-footer{
    padding: 5px 10px
}

#topic-page .card-header .float-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#timeline .card-header h2.card-title
{
    width: auto;
    display: inline-block;
    padding-right: 10px;
    font-size: 13px;
    margin-bottom: 0;
}



section.clearfix{
    position: relative;
}


#timeline .timeline-company td{
    border-top: none;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 14px;
    padding-left: 5px;
    padding-right: 5px;
}

#timeline td .avatar{
    height: 32px;
    width: 32px;
}

#timeline td:nth-of-type(1)
{
    width: 46px
}



.forum{
    border-bottom: 1px solid #cecdcd;
    padding: 10px 0;
}

.forum .local-time{
    font-weight: bold;
    font-size: 12px;
}

.forum-edit-button{
    text-decoration: none;
}
.forum-row{
    padding: 10px 0;;
    margin: 0;
}

.col-forum-left span{
    color: #999999;
}

/*nahradit forum-flag*/
.flag-small {
    height: 18px;
    border: 1px solid grey;
    border-radius: 4px;
}

.forum-flag{
    height:14px;
    border-radius: 1px;
    border:solid 1px #999999;
}

.right-divider {
    border-right: 1px solid #eee;
}


#topic-page #new {
    border-top: 2px solid #cecdcd;
    padding: 15px;
}

#alert-topic-locked{
    margin-left: 15px;
    margin-right: 15px;
}

.forum-save-button{
    display: block;
    margin-bottom: 10px;
}


body .float-right.employee-request-btns{
    position: relative;
    width: auto;
    top: -2px;
}

body #formposition .popover
{
    max-width: none
}

body #formposition .popover .wrap
{
    white-space: nowrap;
}

body #formposition .popover
{
    padding: 0;
}

body #formposition .popover .arrow::after
{
    border-bottom-color: #f7f7f7
}

body #formposition .popover .popover-title{
    font-weight: bolder
}

body #formposition .popover .wrap .btn-danger
{
    margin-right: 5px
}

.company-link {
    text-indent: 25px;
    margin-top: -20px;
    top: 0;
    position: relative;
    width: 100%;
    display: block;
    word-break: break-word;
}

.btn-group-company{
    position: relative;
    top: -6px;
}

tr.info td {
    color: #31708f;
}

.table>tfoot>tr {
    border-top: 2px solid #DDDDDD;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #e8e8e8;
}
::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9a9a9a;
}

.notification .fa-layers.fa-fw .fa-layers-counter{
    background:#ee1d1d;
    display: block;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    text-align: center;
    position: absolute;
    top: 8px;
    right: 2px;
    color:white;
    line-height: 20px;
}


.notification > div > a{
    overflow: visible;
    position: relative;
}

.header .notification.nopad .dropdown > a{
    padding:0;
}

.dropdown-menu::before {
    border-bottom: 9px solid rgba(0, 0, 0, 0.2);
    border-left: 9px solid rgba(0, 0, 0, 0);
    border-right: 9px solid rgba(0, 0, 0, 0);
    content: "";
    display: inline-block;
    left: 86px;
    position: absolute;
    top: -8px;
}

.dropdown-menu::after {
    border-bottom: 8px solid #FFFFFF;
    border-left: 9px solid rgba(0, 0, 0, 0);
    border-right: 9px solid rgba(0, 0, 0, 0);
    content: "";
    display: inline-block;
    left: 86px;
    position: absolute;
    top: -7px;
}

.dropdown-menu.right:before,
.dropdown-menu.navbar-right:before {
    right: 20px; left: auto;
}

.dropdown-menu.right:after,
.dropdown-menu.navbar-right:after {
    right: 20px; left: auto;
}

.dropdown-menu.left:before,
.dropdown-menu.navbar-left:before {
    left: 20px; right: auto;
}

.dropdown-menu.left:after,
.dropdown-menu.navbar-left:after {
    left: 20px; right: auto;
}


body .notification .dropdown .see_all{
    margin-bottom: -6px;
    text-align: center;
}

body .notification .dropdown .see_all a{
    padding: 4px;
}

.notification .dropdown-menu li{
    max-width: 100%;
    overflow: hidden;
}

.notification.nopad .dropdown-menu {
    padding-top: 0;
    width: 450px
}

.notification.nopad .dropdown-menu{
    padding-bottom: 6px
}

.notification.nopad .dropdown-menu li:last-child{
    border-radius: 0 0 3px 3px;
}

.notification .content{
    float: left;
    width: calc(100% - 50px);
}

.dropdown-menu li > a{
    overflow: hidden;
    padding: 8px 12px;
    float: left
}

.dropdown_notification.notification-wrap.company{
    border-bottom: 1px solid #AAA
}

.dropdown_notification.notification-wrap{
    border-bottom: 1px solid #DEDEDE
}




@media (max-width: 768px) {
    body .notification .dropdown .see_all a
    {
        padding: 10px;
    }

    body .notification .dropdown .notification__title strong,
    body .notification .dropdown .notification__title a.btn__mark-read
    {
        padding: 12px;
    }
    body .notification .dropdown .notification__title a{
        padding-right: 6px
    }

    body .notification .dropdown .notification__title strong{
        padding-left: 6px
    }

    .notification.nopad .dropdown-menu {
        width: 400px
    }
    .notification.profile ul.dropdown-menu::before,
    .notification.profile ul.dropdown-menu::after{
        right: 20px!important;
    }

    ul.dropdown-menu::before,
    ul.dropdown-menu::after{
        right: 6px!important;
        left: auto
    }


}

@media (max-width: 550px) {
    .notification.nopad .dropdown-menu {
        width: 350px
    }
}

@media (max-width: 450px) {
    .logo-center h1,
    .dropdown-menu::after,
    .dropdown-menu::before {
        display: none;
    }

    .dropdown-open {
        overflow: hidden;
    }

    body .dropdown-dimmer {
        display:block;
        position: fixed;
        top: 0;
        left: -50vh;
        right: 0;
        bottom: -50vh;
        z-index: 9999;
        background: rgba(0,0,0,.75);
    }

    .filter .dropdown-menu::after,
    .filter .dropdown-menu::before {
        display: inline-block;
        left: 11px;
        right: auto;
    }

    body .dropdown.filter .dropdown-menu {
        min-width: 200px;
        max-width: 90vw;
    }
    .notification.nopad .dropdown-menu{
        width: 100%;
        right: 0;
        position: fixed;
        left: 0;
    }

}
.header{
    height: 60px
}
@media screen and (max-width: 1000px)
{
    ul.dropdown-menu.user::before, ul.dropdown-menu.user::after{
        right: 25px;
        left: auto;
    }
}

.notification__title{
    border-bottom: 1px solid #AAA;
    box-shadow: 0 1px 2px rgba(0,0,0,.07);
}

.settings__title{
    padding-left: 10px
}

.align_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.align__item--top {
    align-self: flex-start;
}

.align__item--bottom {
    align-self: flex-end;
}


.align_wrapper .text-muted{
    margin: 0;
}

#settings .card-header{
    transition: .25s border ease-in-out;
}

#settings .card-header.collapsed{
    transition: .25s border ease-in-out;
    border-bottom: 1px solid transparent;
}

.card-header.flex{
    cursor: pointer;
}

.new-post{
    background: #f9f9f9
}
.new-post .card-header{
    padding: 8px;
}

.new-post .card-body{
    padding: 0
}
.new-post .card-body textarea{
    border-radius: 0;
    border-left: 0 none;
    border-right: 0 none;
    border-top: 0 none;
    border-bottom: 1px solid #CCC;
    font-size: 1.2em;
}

.new-post .nav-link {
    float: left;
}

.nav.nav-pills a i{
    margin: 0
}

.image-preview{
    width: 144px;
    height: 144px;
    overflow: hidden;
    float: left;
    margin:5px;
}

.image-preview img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#preview_gallery{
    width: 100%
}

body .dropdown-menu .notification__title > a.btn__mark-read,
body .dropdown-menu .notification__title > strong {
    padding: 6px;
    clear: none;
}

body .notification .dropdown .notification__title a{
    padding-right: 6px;
}

body .notification .dropdown .notification__title strong{
    padding-left: 6px;
}

#settings .card .card-header .btn.btn-sm.float-right {
    background: none;
}

#settings .card-body{
    padding: 0;
}

.card-body__padding-hack {
    margin: 15px;
}

.profile-info-item.main-info{
    position: relative;
    z-index: 2;
    border-top: none;
    padding-bottom: 11px;
    background: none;
    color: #222;
    font-weight: 400;
}

.profile-info-item__progress{
    position: absolute;
    height: 2px;
    left: 0;
    bottom: 0;
    z-index: -1
}
.profile-info-item__progress_max{
    position: absolute;
    height: 2px;
    left: 0;
    bottom: 0;
    z-index: -2;
    right: 0;
    background: #ddd
}

.profile-info-item.main-info .icon{
    float:left;
    width: 30px;
}

.profile-info-item.main-info .value{
    float:left;
    width: calc(100% - 30px);
    border-left: 1px solid #DDDDDD;
    padding-left: 12px;
    box-sizing: border-box;
}

#new-post__dimmer{
    transition: all 500ms ease-in-out;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -5;
    background: rgba(0,0,0,.6);
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    opacity: 0
}
.card.profile-info.new-post
{
    position: relative;
    overflow: hidden;
}
#new-post__dimmer h3{
    color: white
}
#new-post__dimmer.dim{
    opacity: 1;
    z-index: 5;
    text-align: center;
}

#new-post__dimmer .vertical-align {
    width: 100%
}

#new-post__progressbar
{
    width: 100%;
    height: 3rem;
    line-height: 2.5rem;
    font-size: 2rem;
    color: white;
    z-index: 2;
    position: relative;
}

#new-post__progressbar_progress
{
    background: rgb(7, 217, 0);
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    z-index: -1;
    transition: width .75s linear;
}

.vertical-align{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}



.b-violet{
    background: rgba(169, 121, 209, .75);
}

.c-violet{
    color: rgba(169, 121, 209, .75);
}

.b-blue{
    background: rgba(25, 123, 255, .75);
}

.c-blue{
    color: rgba(25, 123, 255, .75);
}

.b-green{
    background: rgba(83, 209, 146, .75);
}

.c-green{
    color: rgba(83, 209, 146, .75);
}

.b-yellow{
    background: rgba(255, 167, 0, 0.75);
}

.c-yellow{
    color: rgba(255, 167, 0, 0.75);
}

.b-red{
    background: rgba(255, 108, 96, .75);
}

.c-red{
    color: rgba(255, 108, 96, .75);
}

.b-blue-alt{
    background: rgba(87, 200, 242, 0.75);
}

.c-blue-alt{
    color: rgba(87, 200, 242, 0.75);
}

.card-header h2.text-center {
    margin: 0 !important;
    font-size: 1.6em !important;
}

.convoy__card .card-header{
    display: flex;
    flex-wrap: wrap;
}

.convoy__flex{
    flex: 1 0 300px;
    display: flex;
    max-width: 100%;
}

.convoy__calendar_wrap{
    flex-grow: 1;
    line-height: 26px;
}

.convoy__title{
    line-height: 30px;
    padding-right: 16px;
    padding-left: 16px
}


.dropdown-menu li a{
    width: 100%;
}

body .main > .wrapper > .col-lg-12 > .row > .card > .car-header,
body .main > .wrapper > .col-lg-12 > .row > .card > header{
    padding-top: 0!important;
}

body .main > .wrapper > .col-lg-12 > .row > .card > .car-header > div:not(.clearfix),
body .main > .wrapper > .col-lg-12 > .row > .card > header > div:not(.clearfix){
    margin-top: 15px!important;
}

body .main > .wrapper > .col-lg-12 > .row > .card > .card-header > div.float-left,
body .main > .wrapper > .col-lg-12 > .row > .card > header > div.float-left{
    padding: 0 4px;
}

@media (min-width: 720px){
    .text-center.hidden-xs.local-fuzzytime ~ td,
    .text-center.hidden-xs.local-time ~ td,
    .text-center.hidden-xs.no-fuzzytime ~ td {
        white-space: nowrap;
    }
}

@media (max-width: 720px){
    .text-center.hidden-xs.local-fuzzytime ~ td > .btn,
    .text-center.hidden-xs.local-time ~ td > .btn,
    .text-center.hidden-xs.no-fuzzytime ~ td > .btn{
        margin-top: 8px!important
    }
}

.notification__title .btn__mark-read{
    width: auto!important
}

body .notification-list{
    padding:0;
    margin:0;
}

body .notification .dropdown a{
    color:#333;
}

.open .dropdown-menu.navbar-right {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 60px)
}

.notification__title.clearfix,
.see_all{
    flex-shrink: 0;
}

.notification-list__wrapper{
    flex-shrink: 1;
    overflow: auto;
}


.card.notification-card .card-header,
.card.notification-card .card-body{
    padding: 8px 16px;
}

.card.notification-card .card-footer{
    background: none;
    display: flex;
    padding: 0;
}

.card.notification-card .card-footer a{
    flex-grow: 1;
    text-align: center;
    padding: 8px 16px
}

.card.notification-card .card-footer a:nth-child(2){
    border-left: 1px solid #f3f3f3;
}

.card.notification-card.unread {
    background: #d9edf7;
}

.card.notification-card.unread .card-footer a:nth-child(2){
    border-left-color: white;
}

.card.notification-card.unread .card-footer{
    border-top-color: white;
}

.card.notification-card.unread .card-header{
    border-bottom-color: white;
}

.stat-item .avatar img {
    object-fit: contain;
    border: 1px solid grey;
    max-width: 100%;
    max-height: 100%;
}
.stat-item .avatar{
    border: none!important;
    float: none;
    margin: 0 auto;
    height: 150px;
    width: 270px;
    max-width:100%;
}

.card.notification-card .card-header,
.dropdown_notification .notification_title {
    display: flex;
    flex-direction: row;
}

.card.notification-card .float-left,
.dropdown_notification span {
    flex-shrink: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.card.notification-card .float-right,
.dropdown_notification time  {
    flex-shrink: 0;
    white-space: nowrap;
}



.forum-form-wrap{
    background: #e6e8eb;
    border-radius: 5px 5px 0 0;
}

.forum-edit-controls .btn{
    background: #e6e8eb;
    margin-bottom: 4px
}

.forum-edit-controls{
    padding:4px 4px 0 4px;
    justify-content: left;
    display: flex;
    flex-wrap: wrap;
}

.forum-edit-controls .btn:hover{
    background: #b7b7b7
}

.card .float-left,
.card .float-left select {
    max-width: 100%;
}


.company-stats.card.stat-item {
    display: flex;
    flex-direction: row;
}

.card-header.user-status{
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 7px;
}

.card-header .heading-left{
    flex: 0 0 auto;
    padding-bottom: 8px;
}

.card-header .heading-right{
    flex: 1 0 auto;
    padding-bottom: 8px;
}

.page-head .popover-title {
    line-height: 1;
}

/*CHECKBOX*/
.tb-checkbox{
    position: absolute!important;
    z-index: -1;
    opacity: 0;
}
.tb-checkbox__label {
    position: relative;
    display: inline-block;
    padding: 0 0 0 2em;
    height: 1.5em;
    line-height: 1.5;
    cursor: pointer;
}
.tb-checkbox__label::before,
.tb-checkbox__label::after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 1.5em;
    height: 1.5em;
}
.tb-checkbox__label::before {
    content: " ";
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 20%;
}
/* Checkbox */
.tb-checkbox + label::after {
    content: "\f00c";
    color: #111;
    line-height: 1.5;
    text-align: center;
    font-family: "Font Awesome 5 Pro";
    font-weight: 700;
}

/* :checked */
.tb-checkbox:checked + .tb-checkbox__label::before{
    background: #fff;
    border-color: #ccc;
}
.tb-checkbox + .tb-checkbox__label::after{
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}
.tb-checkbox:checked + .tb-checkbox__label::after{
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}
/* Transition */
.tb-checkbox__label::before,
.tb-checkbox__label::after {
    -webkit-transition: .25s all ease;
    -o-transition: .25s all ease;
    transition: .25s all ease;
}

.tb-checkbox:disabled + .tb-checkbox__label::before{
    background: #ececec;
    border-color: #ccc;
}

.tb-checkbox:disabled + .tb-checkbox__label::after{
    color: #777;
}

.wrapper .card.no-border{
    border:none;
}

.dropdown.filter .dropdown-menu{
    min-width: 300px;
    max-width: 500px
}

.dropdown.filter .apply{
    border: none;
}

.dropdown.filter .apply button, .dropdown.filter .apply a{
    display: block;
    color: white;
    text-decoration: none;
    width: 100%;
    margin: auto;
}

.dropdown.filter .notification__title{
    box-shadow: none
}

.filter_item input,
.filter_item select{
    width: auto;
    min-width: 100%
}

.filter_item {
    padding: 8px 16px 8px 16px;
}

.filter_item label {
    font-size: 12px;
}

.dropdown.filter .dropdown-toggle{
    display: block;
    padding: 5px
}

.dropdown.filter .dropdown-toggle .fas.fa-filter.notification-icon{
    width: 20px;
    display: inline-block;
    height: 20px;
    line-height: 20px;
}

.filter .dropdown-menu{
    padding: 0;
    text-transform: none;
    position:absolute!important;
    letter-spacing: initial
}

.filter .dropdown-menu .apply{
    padding: 14px 16px;
    border-top: 1px solid #DEDEDE;
    margin-top: 4px
}

.filter .dropdown-menu .notification__title{
    padding: 4px 8px;
    border-color: #DEDEDE
}


.flex-overflow{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.flex-overflow div.auto{
    flex: 1 0 auto
}

.flex-overflow div.left{
    flex: 1 0 auto
}

.filter .dropdown-menu.left:before,
.filter .dropdown-menu.left:after{
    left: 11px;
    right: auto;
}

.filter .notification-icon{
    color: #333!important;
}

#deliveries .table-responsive{
    border: none
}

input.form-control[type="date"] {
    line-height: 1.5;
}

.dropdown-dimmer {
    display:none;
}

/* User Icons */
.icon_premium {
    color: #F0B84F;
}

.icon_ban {
    color: red;
}

.icon_admin {
    color: #D9534F;
}

.icon_tester {
    color: #337AB7; /*3A72BD*/
}

.icon_moderator {
    color: #337AB7;
}

.icon_translator {
    color: #337AB7;
}

#chat-body {
    height: calc(100vh - 215px);
    background: #e8e8e8
}

#chat-content, #chat-users{
    height: 100%;
    display: flex;
    flex-direction: column;
}

#chat-messages {
    flex-shrink: 1;
    flex-grow: 1;
    overflow: hidden auto;
    max-width: 100%;
}

#chat-users, #chat-content{
    padding:0!important;
}

#chat-content-heading, #chat-users-heading{
    height: 61px;
    line-height: 32px;
}

#chat-users{
    border-right: 2px solid #AAA;
    height: 100%;
}



.player_btn {
    width: 40px;
    height: 40px;

    border: 1px solid rgba(0,0,0,0);
    border-radius: 5px;

    color: white;
    background: #3A72BD;
}

.player_btn:hover {
    color: white;
    background: #3b66a3; /* #3566A8 */
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    margin-top: -22px;
    padding-left: 2px;
    padding-right: 2px;
    z-index: 400;
    position: relative;
    background: transparent;
}

input[type=range]::-moz-range-track {
    z-index: 1003;
    width: 100%;
    height: 20px;
    cursor: pointer;
    background:rgba(255,255,255,0.7);
    border-radius: 5px;
}

input[type=range]::-webkit-slider-runnable-track{
    z-index: 1003;
    width: 100%;
    height: 20px;
    cursor: pointer;
    background:rgba(255,255,255,0.7);
    border-radius: 5px;
}

input[type=range]::-moz-range-thumb{
    z-index: 1004;
    height: 20px;
    width: 20px;
    border-radius: 5px;
    cursor: pointer;
    -webkit-appearance: none;
    border: 1px solid #3566A8;
    background: rgba(58,114,189,0.5);
}
input[type=range]::-webkit-slider-thumb {
    z-index: 1004;
    height: 20px;
    width: 20px;
    border-radius: 5px;
    cursor: pointer;
    -webkit-appearance: none;
    border: 1px solid #3566A8;
    background: rgba(58,114,189,0.5);
}

input[type=range]::-moz-range-thumb:hover{
    background: #3A72BD;

}
input[type=range]::-webkit-slider-thumb:hover {
    background: #3A72BD;
}


#map {
    /*
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    */
    width: 100%;
    height: 100%;
}

#maxSpeed {
    display: none;
    position: absolute;
    top: 50px;
    left: 30px;
    z-index: 401;
    width: 90px;
    height: 90px;
}

.leaflet-control {
    display: block;
}

.leaflet-control-zoom-in {
    width: 20px;
    height: 20px;
    background: white;
    border: 1px solid black;
    border-radius: 5px;
}
.leaflet-control-zoom-out {
    width: 20px;
    height: 20px;
    background: white;
    border: 1px solid black;
    border-radius: 5px;
}

a.leaflet-disabled {
    background: red;
}

.tdInfo {
    font-size: 30px;
}

.row.translate-max-row {
    min-height: calc(100vh - 290px);
}

.translate-max-row > div,
.translate-max-row > .col-lg-9 > .card {
    height: 100%;
}



.table-limit-height{
    max-height: 390px;
    overflow-y: auto;
    position: relative;
}

.table-scroll thead.sticky th {
    position: sticky;
    border-bottom: none;
    box-shadow: inset 0 -1px #ddd;
    top: 0;
    background: white;
}


.profile-info-item .left {
    line-height: 25px;
}

.text-defaultcase {
    text-transform: none;
}

a span.text-primary {
    color: var(--bs-link-hover-color)!important;
}

.pulsing-bg {
    animation-name: pulsing-bg-color;
    animation-duration: 1.5s;
    animation-iteration-count: 3;
}

@keyframes pulsing-bg-color {
    0%, 100% {
        background-color: rgba(0,0,0,0);
    }
    50% {
        background-color: #3a72bdbd;
    }
}

/*BS4*/
a{
    color: #337ab7;
    text-decoration: none;
    text-transform: none;
    letter-spacing: initial;
}

#sidebar ul.nav li a{
    display: block;
}

#sidebar ul.nav li{
    flex-basis: 100%
}

/* THIS COULD BE REMOVED IF CLASSES CHANGED */


.notification.nopad .dropdown-toggle::after{
    display: none;
}

body .clearfix::after{
    color: transparent;
}


a#messages_menu,
a#notifications_menu{
    padding: 6px 10px 2px;
}

a#dropdownMenu1{
    padding:8px 10px!important;
}

.dropdown-menu.right::before, .dropdown-menu.navbar-right::before,
.dropdown-menu.right::after, .dropdown-menu.navbar-right::after {
    right: 8px!important;
    left: auto;
}


.h1, h1 {
    font-size: 2.0rem;
}

.h2, h2 {
    font-size: 1.75rem;
}

.h3, h3 {
    font-size: 1.5rem;
}

.h4, h4 {
    font-size: 1.25rem;
}

.h5, h5 {
    font-size: 1.0rem;
}

.h6, h6 {
    font-size: 0.9rem;
    font-weight: bold;
}

/*SUPPORT STYLES*/
.support-message {
    max-width: 70%;
    margin: 10px 8px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    flex-direction: column;
}

.support-message-content {
    background: #F1F1F1;
    border-radius: 8px;
    padding: 8px 12px;
}

.support-message.sent_to {
    float: left;
    clear: both;
}

.support-message.sent_from {
    float: right;
    clear: both;
    align-items: end;
}

.support-message.sent_from .support-message-content {
    background: #6ba1ea;
    color: white;
}

.support-message-time.local-fuzzytime {
    bottom: -26px;
    color: #8c8c8c;
    height: 24px;
    white-space: nowrap;
}

.sent_from .support-message-time.local-fuzzytime.moment {
    text-align: right;
}


@media (max-width: 720px) {
    body .support-message {
        max-width: 100%
    }
}


.support-message-form {
    display: flex;
}

.support-message-content {
    min-width: 0 !important
}

.support-message-form .buttons {
    display: flex;
}



.support-message-form .buttons .btn-light {
    margin: 0 8px;
}

a[type=button] {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}



.dropdown.filter .dropdown-toggle span{
    display: inline-block;
}

body .text-warning{
    color:  #f0ad4e !important;
}

.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.card-header.has-buttons {
    line-height: 28px;
}

body .btn-secondary {
    border-color: #DDD;
}

body .btn-secondary.disabled, body .btn-secondary:disabled {
    border-color: #DDD;
}

table thead tr:first-child td,
table thead tr:first-child th{
    border-top: none;
}

#profile-history-tabs li a,
#support-dropup li a {
    padding: 12px;
    border-top: none;
    border-radius: 0;
    margin: 0;
    flex: 1 1 auto;
}

#profile-history-tabs,
#support-dropup {
    display: flex;
}

#profile-history-tabs li a,
#support-dropup li a {
    color: #333;
    font-weight: 600;
    opacity: 0.6;
    background: white;
    border-bottom: 2px solid transparent;
}

#profile-history-tabs li a.active,
#support-dropup li a.active {
    background: #f3f3f3;
    opacity: 1;
    border-bottom: 2px solid #3a72bd;
}

#profile-history-tabs li,
#support-dropup li {
    border-top: none;
    display: flex;
    flex: 1 0 50%;
}


.sent_to .support-message-time.local-fuzzytime.moment {
    min-width: 100%;
    left: 0;
}

.sent_from .support-message-time.local-fuzzytime.moment {
    min-width: 100%;
    right: 0;
}

.support-message-form .dropdown-menu {
    width: 550px;
    max-width: 100vw;
    box-sizing: border-box;
}


.support-chat-card {
    max-height: calc(100vh - 300px);
    margin-bottom: 0 !important;
}

.support-chat-card .card-body {
    overflow: auto;
}

.dropup .dropdown-menu.show::before {
    bottom: -9px;
    z-index: 5;
    border-top: 9px solid rgba(0, 0, 0, 0.2);
    border-left: 9px solid rgba(0, 0, 0, 0);
    border-right: 9px solid rgba(0, 0, 0, 0);
    border-bottom: none;
    top: auto;
}

.dropup .dropdown-menu.show::after {
    border-top: 8px solid #FFFFFF;
    border-left: 9px solid rgba(0, 0, 0, 0);
    border-right: 9px solid rgba(0, 0, 0, 0);
    border-bottom: none;
    bottom: -8px;
    z-index: 5;
    border-bottom: none;
    top: auto;
}

.support-message-form .dropdown-menu {
    padding-top: 0 !important;
}

#dispatcher-create .modal-dialog,
#monthselectmodal .modal-dialog {
    max-width: 600px;
}

#dispatcher-create .row > div {
    display: flex;
}

#dispatcher-create .row > div > .form-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.notification a {
    text-decoration: none;
}


.badge.badge-md {
    font-size: 14px;
    padding:  8px 12px;
}

.badge.badge-sm {
    font-size: 13px;
    padding:  6px 8px;
}

.badge.badge-xs {
    font-size: 12px;
    padding:  4px 6px;
}

#topic-page .pagination {
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination {
    letter-spacing: 0;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-top: 4px solid\9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

a.list-group-item,
a.list-group-item:hover{
    text-decoration: none;
}

.manager-buttons .btn.btn-danger {
    margin-right: 5px;
}

.vertical-align-flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-group.btn-group-tight .dropdown-menu::before,
.btn-group.btn-group-tight .dropdown-menu::after{
    left: 68px;
}

#search-position{
    width: auto;
}



@media (max-width:  600px){
    #search-form #search-text {
        width: 100%;
        margin-bottom: 8px;
    }
}

@media (max-width:  576px){
    #search-form #search-text {
        width: 100%;
        margin-bottom: 8px;
    }
}

html {
    scrollbar-color: #777 #f3f3f3;
}

#sidebar {
    scrollbar-color: #739dcd #2b5d9f;
}



body .table td, body .table th{
    padding:  8px;
}

body .table thead th {
    border-bottom-width: 2px;
}

.like_count_info {
    border: 1px solid #999;
    border-left: none;
    padding-left: 8px;
    padding-right: 8px;
    color: #000;
    cursor: pointer;
}

.like_count_info:hover {
    color: #000;
    border: 1px solid #999;
    border-left: none;
}

.page-head h3 .dropdown-menu a {
    line-height: 2;
}

.stat-item h3 {
    margin-top: 8px;
}

#modal-dlcs .modal-content .tab-content{
    padding-top: 8px;
}


.days {
    text-align: center;
    color: #AAA;
}
.day-old {
    background: #EDEDED !important;
}
.day-future {
    background: #C5E9F3 !important;
}
.day-active a {
    color: #fff;
    background: #337ab7;
}

.day {
    text-align: center;
}
.day a {
    display: block;
    margin:-8px;
    padding: 8px;
    cursor: pointer;
}
.day a:hover {
    text-decoration: none;
    color: #fff;
    background: #3566A8;
}
.day-me a {
    box-shadow: inset 0 -5px 0 #5CB85C;
}

.header-tbl {
    color: #fff;
    background: #337ab7;
}
.header-tbl a {
    color: #fff;
    display: block;
    margin:-8px;
    padding: 8px;
}
.header-tbl:hover {
    cursor: pointer;
    background: #3566A8;
}
.header-tbl a:hover{
    text-decoration: none;

}

.calendar thead>tr>td {
    border: 0;
}

.carousel-caption {
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 45px;
    width: 50%;
}

.carousel-caption > p{
    border-radius: 0.25rem;
    background-color: #3a72bddb;
    color: #fff;
    padding: 5px;
}

.carousel-control-next{
    background: linear-gradient(90deg, rgba(0,0,0,0) 5%, rgb(58 114 189) 100%);;
    max-width: 60px;
    opacity: .7;
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

.carousel-control-prev{
    background: linear-gradient(90deg, rgb(58 114 189) 0%, rgba(0,0,0,0) 95%);
    max-width: 60px;
    opacity: .7;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.carousel-control-next:hover,
.carousel-control-prev:hover,
.carousel-control-next:focus,
.carousel-control-prev:focus{
    opacity: 0.8;
}

.carousel-control-prev-icon{
    position: absolute;
    left: 12px;
}

.carousel-control-prev-icon{
    position: absolute;
    left: 12px;
}

.carousel-control-next-icon{
    position: absolute;
    right: 12px;
}

.carousel-indicators li {
    background-color: #3A72BD;
    height: 5px;
}

.carousel-item img {
    -webkit-filter: blur(0.6px); /* Safari 6.0 - 9.0 */
    filter: blur(0.6px);
}


.convoys-list .list-group-item{
    transition: all 250ms ease-in-out;
}

.convoys-list .list-group-item:hover{
    background: #f9f9f9;
}

.support-dropup-content {
    max-height: 80vh;
    overflow: hidden;
}

.support-dropup-content .tab-pane{
    max-height: calc(80vh - 47px);
    overflow: auto;
}

.no-caret::before,
.no-caret::after{
    display: none!important;
}

.modal-subheader {
    padding: 3px;
    border-bottom: 1px solid #e5e5e5;
}
.modal-subheader label {
    margin-top: 4px;
    margin-bottom: 4px;
}

.modal-subheader h4 {
    margin-top: 4px;
    margin-bottom: 4px;
}

#modal-dlcs .modal-dialog.modal-lg {
    max-width: 600px
}

.fb-time-action .like_count_text {
    display: flex!important;
    width: auto!important
}

.fb-time-action .btn.like,
.fb-time-action .btn.like_count_info {
    -ms-flex: 1 1 auto!important;
    flex: 1 1 auto!important;
    margin-left: 0!important;
}

#sidebar ::-webkit-scrollbar-track {
    background: #2b5d9f;
}

#sidebar ::-webkit-scrollbar-thumb {
    background: #739dcd;
}

#sidebar ::-webkit-scrollbar-thumb:hover {
    background: #284c7c;
}

.disabled, [disabled]{
    cursor: not-allowed;
}

.card-top-button-wrap{
    height: 0;
    z-index: 1
}

.card-top-button-wrap a{
    float: right;
}

.forum-sep {
    flex-basis: 100%;
}

.border-secondary{
    border-color: #ACACAC!important;
}

.timeline {
    margin-right: 10px;
}
.timeline-item {
    position: relative;
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 20px;
    padding-top: 10px;
}

.item-prohibition {
    border: 5px solid #bd2e22;
    background: white;
    color: black;
    padding-top: 5px;
}

#dlcs-ets .modal-subheader.clearfix{
    display: flex;
    flex-wrap: wrap;
}

.dropdown-item.change-content{
    text-transform: initial;
    letter-spacing: initial;
}


.bg-yellow {
    background-color: #ffc107 !important;
}

body a.disabled {
    pointer-events: initial!important;
}

/* Makes link non-clickable: */
body a.disabled:active {
    pointer-events: none!important;
}


.page-head .badge-md{
    height: 33px;
    line-height: 16px;
}

.page-head .vertical-align-flex {
    flex-grow: 1;
    flex-shrink: 1;
}

.page-head .vertical-align-flex > div {
    text-align: right;
}

.fa-filter-active::after {
    content: '';
    position: absolute;
    font-size: 5px;
    background: #333333;
    height: 10px;
    width: 10px;
    border-radius: 5px;
    line-height: 9px;
    text-align: center;
    font-family: 'Font Awesome 5 Pro';
    top: -1px;
    right: -1px;
    padding-left: 1px;
    border: 1px solid #ffffff;
    color: white;
    box-sizing: border-box;
}

.fa-filter-active{
    position: relative;
}

.row.product{
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
}


#products .row.product::before {
    background: #dfdfdf;
    position: absolute;
    left: 15px;
    right: 15px;
    display: block;
    content: '';
    height: 1px;
    top: 0;
}

#products .row.product:first-child{
    padding-top: 0;
}

#products .row.product:first-child::before{
    display: none;
}

.notification.profile > div > a .lbl {
    margin-top: 0;
}

.notification.profile > div > a {
    line-height: 40px;
}
.notification.profile > div > a .avatar {
    margin-top: 2px;
    margin-bottom: -2px;
}

#search-text {
    min-width: 250px;
}

#img_from,
#img_to
{
    max-width: 100%;
    object-fit: contain;
}

thead.sticky th {
    z-index: 1;
}


.employee-stats .fa-globe {
    font-size: 25px;
    line-height: 25px;
}

.fa-lg.pointer {
    line-height: 1;
}

.paid .card-body{
    border-left: 6px solid #28a745;
}


.color-gold{
    color:#EFC849;
}

.color-silver{
    color:#C2C3C8;
}

.color-bronze{
    color:#E46C38;
}

#navbar-rules {
    position: sticky;
}

.settings-divider {
    border-bottom: 1px solid #ccc;
    padding-top: 20px;
    margin-bottom: 20px;
}

.accordion, .accordion-button {
    --bs-accordion-active-bg: #f7f7f7;
    --bs-accordion-active-color: #232425;
    --bs-accordion-border-color: #eee;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-btn-bg: #f7f7f7;
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath 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'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath 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'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed):focus {
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}


#fullscreen-view {
    overflow-y: auto;
}

#stop-times {
    max-height: 80vh;
    overflow-y: auto;

}

.country-flag {
    border: 1px solid #ccc;
    border-radius: 3px;
    height: 20px;
}