* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --my-nav-active-bg: #eff1f3;
    --my-primary: #416ccd;
    --my-primary-light: #7090d9;
    --my-text-primary: #3d4964;
    --my-bg-secondary: #f1f5fd;
    --my-bg-secondary-hover: #f8fafe;
    --my-text-right: #707070;
    --my-tab-inactive: #D6D6D6;
}

.color-primary {
    color: #416ccd;
}

textarea:focus,
input:focus {
    outline: none;
}

body {
    background-color: #1a1a1c;
    color: var(--my-text-primary) !important;
}

/* DASHBOARD */
.db-card {
    display: flex;
    flex-direction: row;
    background-color: #fff;
    height: 21rem;
    border-radius: 0.45rem;
    box-shadow: 0 3px 6px #00000029;
}

.db-card .left {
    background-color: #fff;
    width: 50%;
    height: 100%;
    border-top-left-radius: 0.45rem;
    border-bottom-left-radius: 0.45rem;
    padding: 1.2rem 1.55rem 1.2rem 1.55rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}


.db-card .right {
    background-color: var(--my-bg-secondary);
    color: var(--my-text-right);
    width: 50%;
    height: 100%;
    border-top-right-radius: 0.45rem;
    border-bottom-right-radius: 0.45rem;
    padding: 1.2rem 1.55rem 1.2rem 1.55rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.db-card .left .title {
    font-size: 1.25rem;
    line-height: 1.25rem;
    font-weight: 600;

    align-self: flex-start;
}

.db-card .right .title {
    font-size: 1rem;
    line-height: 1rem;
    align-self: flex-start;
}

.db-card .left .icon,
.db-card .right .icon {
    width: 6.25rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.db-card .left .icon.tall,
.db-card .right .icon.tall {
    width: auto;
    height: 5rem;
}

.db-card .left .data,
.db-card .right .data {
    font-size: 1.875rem;
    line-height: 1.875rem;
    color: var(--my-primary);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(-50% + 4.4rem));
}

.db-card .right ul.list {
    color: var(--my-text-primary);
    list-style: none;
    user-select: none;
    overflow-y: auto;
    width: 100%;
}

.db-card .right ul.list li {
    font-size: 0.875rem;
    line-height: 0.875rem;
    margin: auto;
    border-bottom: 2px solid white;
    padding: 0.75rem 0;
    cursor: pointer;
    display: flex;
}

.db-card .right ul.list li a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    margin-top: 0.25rem;
}

.db-card .right ul.list li img {
    max-width: 2rem;
    max-height: 2rem;
    margin-right: 0.25rem;
}

.db-card .right ul.list li div.img {
    height: 2rem;
    width: 2rem;
    margin-right: 0.25rem;
    border-radius: 50%;
    background: #ebeaea;
    padding: 1px;
    display: flex;
}

.db-card .right ul.list li div.img img {
    max-width: calc(2rem - 2px);
    max-height: calc(2rem - 2px);
    margin: auto;
}

.db-card .right ul.list li:last-child {
    border: none;
}

.db-card .right ul.list li:hover {
    background-color: var(--my-bg-secondary-hover);
}

.db-card .right.tab {
    background-color: white;
    color: var(--my-text-right);
    width: 50%;
    height: 100%;
    border-top-right-radius: 0.45rem;
    border-bottom-right-radius: 0.45rem;
    padding: 0;
}

.db-card .right.tab .title {
    background-color: white;
    padding: 1.2rem 0 0.625rem 1.55rem;
}

.db-card .right.tab .tab-headers {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.db-card .right.tab .tab-headers span {
    background-color: white;
    color: var(--my-tab-inactive);
    width: 100%;
    text-align: center;
    border-top-left-radius: 0.45rem;
    border-top-right-radius: 0.45rem;
    font-size: 0.875rem;
    line-height: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 0;
    cursor: pointer;
}


.db-card .right.tab .tab-headers span.active {
    background-color: var(--my-bg-secondary);
    color: var(--my-primary);
}

.db-card .right.tab .tab-content {
    width: 100%;
    height: calc(100% - 1.875rem - 2.825rem);
    padding: 0 1rem;
    background-color: var(--my-bg-secondary);
}

.db-card .right.tab .tab-content .tab-body {
    height: calc(100% - 2rem);
}

.db-card .right.tab .tab-content .tab-body ul.list {
    overflow-y: auto;
    height: 100%;
}

.db-card .right.tab .tab-content .tab-body ul.list li {

}

.db-card .right.tab .tab-content .tab-body ul.list li a {
    display: flex;
    flex-direction: column;
}

.db-card .right.tab .tab-content .tab-body ul.list li a span.header {
    margin-bottom: 0.5rem;
}

.db-card .right.tab .tab-content .tab-body ul.list li a div.item {
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
}

.db-card .right.tab .tab-content ul.list li a div.item .tab-icon {
    height: 1rem;
    margin-right: 0.5rem;
}

.db-card .right .time_type {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    padding: 0 1rem;
    width: 100%;
    color: var(--my-text-right) !important;
}

.db-card .right .time_type .time_row {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.db-card .right .time_type .time_row .time_title {
    font-weight: bold;
    font-size: 0.875rem;
    line-height: 0.875rem;
}

.db-card .right .time_type .time_row .time_data {
    font-size: 1.25rem;
    line-height: 1.25rem;
}

/* END DASHBOARD */

.swal2-popup .swal2-close:focus {
    box-shadow: none !important;
}

hr {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

hr.dark {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.img-mini {
    height: 60px;
    width: auto;
}

.pointer {
    cursor: pointer !important;
}

/************* SELECT2 MODIFIER **********/
.select2-container--default .select2-selection--single {
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 1.75rem 0.375rem 0.75rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + 0.75rem + 2px);
}

/************* END SELECT2 MODIFIER **********/

.bg-gradient-primary-login {
    background-color: #f2f3f5;
    background-image: url(../gfx/faceux_bkg.jpg);
    background-position: center center;
    background-size: cover;
}

.bg-gradient-primary-login .card-body {
    border-radius: 100%;
    background-color: #ededed;
}

.bg-gradient-primary {
    background-color: #e4e6e8;
    background-image: url();
}

.login-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.login-logo img {
    width: 3rem;
}

.login-logo>div {
    font-size: 2.5rem;
    font-weight: bold;
    padding: 10px 15px;
    color: #000;
}

.bg-login-image {
    min-height: 350px;
}

.grey-text {
    color: #858796 !important;
}

.blue-text {
    color: #34bed3 !important;
}

.red-text {
    color: #d34a34 !important;
}

.green-text {
    color: #34d399 !important;
}

.btn-primary {
    background-color: #f5555d;
    border-color: #f5555d;
    color: #fff;
    transition: opacity 0.5s ease-out;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    background-color: #f5555d;
    border-color: #f5555d;
    opacity: 0.8;
    box-shadow: none;
}

/* .sidebar-logo img{
	width: 3rem;
} */

.sidebar-logo img {
    width: 100%;
}

.sidebar-logo>div {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 15px;
    color: #000;
}

.sidebar.toggled .sidebar-brand .sidebar-logo {
    flex-direction: column;
}

.sidebar.toggled .sidebar-brand .sidebar-logo>div {
    font-size: 0.8rem;
    padding: 2px;
}

.sidebar-dark #sidebarToggle::after {
    color: #fff;
}

.customer-name {
    font-size: 11px;
    text-align: center;
    padding-bottom: 1rem;
    color: #858696;
}

.copyright-login {
    position: absolute;
    width: 100%;
    bottom: 10px;
    text-align: center;
    font-size: 0.8rem;
    color: #fff;
}

table.table-custom thead th,
table.table-custom tbody td {
    border-bottom: 1px solid #e3e6f0;
    vertical-align: middle;
}

.page-item .page-link,
.page-item.disabled .page-link {
    background-color: #717384;
    border-color: #6b6d7d;
}

.page-item .page-link {
    color: #fff;
}

.page-item.disabled .page-link {
    color: rgba(255, 255, 255, .3);
}

.page-item.active .page-link {
    color: #fff;
    background-color: #4e4f5b;
    border-color: #6b6d7d;
}

td.actions {
    text-align: center;
}

td.actions a {
    margin: 0 2px;
}

td.action-2 {
    width: 100px;
}

td.action-3 {
    width: 150px;
}

td.order {
    width: 50px;
    text-align: center;
}

td.date {
    width: 150px;
}

.sidebar .sidebar-brand {
    height: auto;
    padding: 1rem;
}

/*
.sidebar .sidebar-brand img{
	width: 90%;

}*/



.list-group-item,
.list-group-flush>.list-group-item:last-child {
    border-bottom: 1px solid #fff;
    background-color: transparent;
}

/* #userDropdown{
	display: block;
	color: #fff;
	text-align: center;
} */
/* #userDropdown img{
	width: 100px;
	height: auto;
	margin:0 auto;
}
#userDropdown > div{
	display: block;

} */

/* div#content:not(.maps){
	padding-top: 24px;
}

div#content.maps, div#content.maps .container-fluid{
	padding: 0;
} */

div#content.no-padding .container-fluid {
    padding: 0;
}

.hide {
    display: none !important;
}

.hide-form {
    visibility: hidden;
    position: absolute;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.has-success .form-control {
    border-bottom: 2px solid #168b3f;
}

.has-danger .form-control {
    border-bottom: 2px solid #dc1d34;
}

.form-group .text-help {
    color: #dc1d34;
}

#wrapper #content-wrapper {
    background-color: #f2f3f4;
}

/*
.card{
	background-color: #2a2b2e;
	border:none;
}
 */
.nav-tabs.custom {
    position: relative;
    z-index: 1;
    border: none;
}

.nav-tabs.custom .nav-item {
    position: relative;
}

.sidebar-dark .sidebar-heading {
    color: #666;
}

.sidebar-dark .nav-item .nav-link,
.sidebar-dark .nav-item .nav-link i,
.sidebar .sidebar-card p {
    color: #666;
}

.sidebar-dark .nav-item .nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.sidebar-dark .nav-item .nav-link,
.sidebar.toggled .nav-item .nav-link {
    padding: 0.55rem 0.7rem;
    margin: 0.2rem 0.3rem;
    width: 5.9rem;
}

.sidebar-dark .nav-item .nav-link:hover:not(.active),
.sidebar-dark .nav-item .nav-link:hover:not(.active) i,
.sidebar-dark .nav-item .nav-link:focus,
.sidebar-dark .nav-item .nav-link:focus i {
    color: #666;
    background-color: var(--my-nav-active-bg);
}

.nav-item .nav-link.active {
    background-color: var(--my-nav-active-bg) !important;
    color: var(--my-primary) !important;
}

.sidebar-dark .nav-item .nav-link.active::after {
    content: "";
    width: 0;
    border-right: 4px solid var(--my-primary);
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
}

.sidebar-dark hr.sidebar-divider {
    border-color: #d6d9dc;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item.active,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item.active {
    color: #3a3b45;
    font-weight: normal;
    background-color: #eaecf4;
}


.nav-tabs.custom .nav-link:not(.add-language) {
    border-radius: 10px;
    min-width: 100px;
    background-color: #3c4043;
    color: #7b7e89;
    text-align: center;
    border: none;
    margin-right: 10px;
}

.nav-tabs.custom .nav-link.active {
    color: #3c4043;
    background-color: #FFF;
}

.nav-tabs.custom .nav-link.add-language {
    border-radius: 30px;
    min-width: 0;
    padding: 7px 12px;
    margin-top: 1px;
    margin-bottom: 1px;
    margin-left: 10px;
    cursor: pointer;
}

.nav-tabs.custom .delete-language {
    color: #FFF;
    border-radius: 100%;
    text-align: center;
    width: 18px;
    height: 18px;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(0, -50%);
    font-size: 12px;
    background-color: #dc3545;
}

.topbar {
    height: 3.375rem;
    border-bottom: 1px solid #e4e6e8;
}

.topbar .nav-item .nav-link {
    height: 3.375rem;
}

.wrap-delete-file {
    display: flex;
    align-items: center;
}

.delete-file,
.delete-file:hover {
    color: #FFF;
    border-radius: 100%;
    text-align: center;
    width: 25px;
    height: 24px;
    margin-left: 10px;
    font-size: 16px;
    line-height: 24px;
    background-color: #dc3545;
    display: inline-block;
}

.dropzone {
    border: 0.0625rem solid #c6ccd6;
    border-radius: 0.5rem;
    background-color: #f9f9fb;
    display: block;
    margin: 40px;
}

.dropzone .dropzone-container {
    padding: 2rem 0;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #8c96a8;
    z-index: 20;
}

.dropzone .dropzone-container .dropzone-title {
    padding-top: 1.5rem;
}

.dropzone .dropzone-container .browse {
    text-decoration: underline;
    color: #007bff;
}

.dropzone .file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
}

.file-icon {
    /* Need position to allow stacking of pseudo-elements */
    position: relative;
    width: 4rem;
    height: 5.25rem;
    /* Padding for demo purposes */
    padding: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 2rem;
    color: #007bff;
    /* Second sheet of paper */
}

.file-icon,
.file-icon:before,
.file-icon:after {
    background-color: #ffffff;
    border-radius: 0.25rem;
    border: 0.125rem solid #b8bec9;
}

.file-icon:before,
.file-icon:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0.125rem solid #ccd0d8;
}

.file-icon:before {
    left: -0.625rem;
    top: 0.5rem;
    z-index: -1;
}

.file-icon:after {
    top: -0.25rem;
    right: -0.25rem;
    left: auto;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    border-width: 0.625rem;
    border-style: solid;
    border-color: #f9f9fb #f9f9fb #b8bec9 #b8bec9;
}

a[href^="http://maps.google.com/maps"] {
    display: none !important
}

a[href^="https://maps.google.com/maps"] {
    display: none !important
}

.gmnoprint a,
.gmnoprint span,
.gm-style-cc {
    display: none;
}

.gm-style-iw {
    color: #565656;
    font-weight: bold;
    font-family: "Barlow", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* The sidebar menu */
.sidebar-right {
    height: 100%;
    /* 100% Full-height */
    width: 0;
    /* 0 width - change this with JavaScript */
    position: absolute;
    /* Stay in place */
    z-index: 1;
    /* Stay on top */
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    /* Black*/
    overflow-x: hidden;
    /* Disable horizontal scroll */
    padding-top: 60px;
    /* Place content 60px from the top */
    transition: 0.5s;
    /* 0.5 second transition effect to slide in the sidebar */
}

.sidebar-right.active {
    width: 50%;
    /* 0 width - change this with JavaScript */
    padding: 10px 30px;
    /* Place content 60px from the top */
    box-shadow: -3px 0px 2px 1px #f6f6f6;
    border-left: #f6f6f6;
}

/* The sidebar links */
.sidebar-right a {
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidebar-right a:hover {
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidebar-right .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 64px;
    margin-left: 50px;
}

/* The button used to open the sidebar */
.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    border: none;
}

.openbtn:hover {
    background-color: #444;
}

.gm-customcontrol {
    padding: 10px;
    width: 60px;
}

.gm-customcontrol-top {
    padding: 10px;
    height: 60px;
    width: 600px;
}

.gm-customcontrol a {
    height: 40px;
    min-width: 40px;
    padding: 0 5px;
    font-size: 21px;
    border-radius: 3px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
}

.gm-customcontrol-right a {
    display: block;
    margin-bottom: 5px;
}

.gm-customcontrol-top a {
    display: inline-block;
    margin-right: 5px;
}

.gm-customcontrol-top a i {
    color: #ea4335;
}

.gm-customcontrol a.gm-custom-info,
.gm-customcontrol-top a.gm-custom-info {
    color: #565656;
    background-color: #ffffff;
}

.gm-customcontrol a.gm-custom-info:hover,
.gm-customcontrol-top a.gm-custom-info:hover {
    color: #000;
    background-color: #ebebeb;
    text-decoration: none;
}

.gm-customcontrol a.gm-custom-delete,
.gm-customcontrol-top a.gm-custom-delete,
.gm-customcontrol a.gm-custom-delete:hover,
.gm-customcontrol-top a.gm-custom-delete:hover {
    color: #fff;
    background-color: #e02d1b;
    border: 1px solid #e02d1b;
}

.gm-customcontrol a.gm-custom-delete i,
.gm-customcontrol a.gm-custom-delete:hover i {
    color: #fff;
}

.pac-input {
    background-color: #fff;
    border: 1px solid black;
    border-radius: 5px;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 300;
    height: 42px;
    line-height: 42px;
    padding: 0 11px 0 13px;
    margin-top: 10px;
    margin-left: 10px;
    text-overflow: ellipsis;
    width: 240px;
}

/* #heading_guide{
	position: absolute;
	bottom: 15%;
	left: 0.75rem;
	right: 0.75rem;
	border-bottom: 3px solid rgba(247,240,106, 0.3);
} */

.list-content {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 250px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s linear;
    z-index: 9999;
    background-color: #2a2b2e;
    padding: 10px;
}

.list-content .lds-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.list-content.active {
    visibility: visible;
    opacity: 1;
}

.list-content #list-areas-close {
    color: #fff;
    padding: 0.2rem 0.4rem;
    font-size: 1rem;
    position: absolute;
    left: 0;
    top: 5px;
    transform: translateX(-99%);
    background-color: #2a2b2e;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.list-trigger-shape {
    text-overflow: ellipsis;
    overflow: hidden;
}

.list-trigger-shape i {
    margin-right: 5px;
}

.list-trigger-shape i.green {
    color: #1cc88a;
}

.list-trigger-shape i.red {
    color: #c92818;
}

.height-language {
    height: 300px;
    overflow: auto;
}

.card-map {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
    margin: 20px;
    position: fixed;
    top: 10px;
    right: 10px;
    margin-bottom: 50px;
    transition: all .2s ease-in-out;
    width: 300px;
    border-radius: 8px;
    overflow: hidden;
    z-index: 3;
    border: none;
    background-color: #303235;
    color: #fff;
}

.card-map:hover {
    /*box-shadow: 0 5px 22px 0 rgba(0,0,0,.25);*/
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    margin-bottom: 54px;
}

.card-map.hide {
    display: none;
}

.card-map.show-list {
    right: 275px;
}

.card-map .card-close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 18px;
    line-height: 36px;
    height: 36px;
    width: 36px;
    text-align: center;
    border-radius: 100%;
    color: #fff;
    background-color: #303235;
}

.card-map .image {
    height: 168px;
    overflow: hidden;
    transition: all .2s ease-in-out;
    background-color: #303235;
}

.card-map .text {
    padding: 20px;
    height: 230px;
    overflow: hidden;
}

.card-map .text #card-content {
    margin-bottom: 0px;
}

.card-map .fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    position: absolute;
    margin-top: -20px;
    right: 20px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, .3);
    color: #fff;
    font-size: 24px;
    line-height: 56px;
    text-align: center;
    transform: translateY(-50%);
    -webkit-transition: -webkit-transform .2s ease-in-out;
    transition: transform .2s ease-in-out;
}

.card-map .fab.red {
    background-color: #e02d1b;
}

.card-map .fab:hover {
    cursor: pointer;
}

.card-map .fab.red:hover {
    background: #c92818;
}

.card-map .action {
    padding: 20px;
    display: flex;
    justify-content: center;
}

.card-map .action a {
    margin-right: 5px;
    padding: 5px;
    display: flex;
    font-size: 0.8rem;
    background-color: #303235;
    align-items: center;
}

.card-map .action a i {
    width: 24px;
    padding-right: 4px;
    font-size: 20px;
}

#card-loading {

    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#form-content {
    position: fixed;
    z-index: 4;
    width: 55%;
    min-height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    background-color: #1a1a1c;
    padding: 0 20px 0 20px;
    height: 85vh;
    overflow: auto;
}

.h3 {
    margin-bottom: 15px !important;
}

.h3 .form-cancel,
.h3 .form-save {
    margin-left: 5px;
}

.h3 .form-delete {
    background-color: #be2617;
    border-color: #be2617;
    margin-left: 20px;
}


#form-content .h3 {
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
    top: 0;
    background-color: #1a1a1c;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 0;
    z-index: 999;
}

#form-content-nofixed {
    border-radius: 8px;
    background-color: #1a1a1c;
    min-height: 250px;
    position: relative;
}

#form-content-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#form-content-info h1 .btn.float-md-right {
    margin-left: 10px;
}

.daterangepicker {
    color: #000;
}

/******** GRAFANA ************/

iframe body.app-grafana {
    background: transparent !important;
}

.map-dashboard {
    height: 450px;
    width: 100%;
    position: relative;
    margin-bottom: 50px;
}

.noinfo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.width-100 {
    width: 100%;
}

.loading-data {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 99999;
    color: #fff;
    font-size: 3rem;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.myChart {
    width: 100%;
}

.wave {
    display: inline-block;
    border: 5px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    border-style: solid;
    margin: 4px;
}

.waveStrength-0 .wv4.wave,
.waveStrength-0 .wv3.wave,
.waveStrength-0 .wv2.wave,
.waveStrength-0 .wv1.wave {
    border-top-color: #eee;
}

.waveStrength-3 .wv4.wave,
.waveStrength-2 .wv4.wave,
.waveStrength-2 .wv3.wave,
.waveStrength-1 .wv4.wave,
.waveStrength-1 .wv3.wave,
.waveStrength-1 .wv2.wave {
    border-top-color: #eee;
}

.progress {
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.25);
    overflow: hidden;
    min-width: 300px;
}

.progress-inner {
    height: 16px;
    border-radius: 2px;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
}

.progress-moved .progress-inner {
    background-color: #6ab8f7;
}

.progress-moved .progress-inner.infinite {
    width: 100% !important;
    animation: indeterminateAnimation 1s infinite linear;
    transform-origin: 0% 50%;
}

@keyframes indeterminateAnimation {
    0% {
        transform: translateX(0) scaleX(0);
    }

    40% {
        transform: translateX(0) scaleX(0.4);
    }

    100% {
        transform: translateX(100%) scaleX(0.5);
    }
}

#allpanel {
    display: flex;
    flex-direction: row;
    width: 100%;
}

#allpanel a,
#allpanel a:hover {
    color: var(--my-primary);
    text-decoration: none;
}

.table-display a,
.table-display a:hover {
    color: #fff !important;
}

#lpanel {
    position: relative;
    width: 20rem;
    height: calc(100vh - (3.375rem + 60px));
    background-color: #f0f0f0;
    border-right: 1px solid #ddd;
    margin: 0;
    padding: 10px;
    flex-shrink: 0;
    overflow-y: auto;
}

#matches {
    width: 20rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    border-right: 1px solid #ddd;
    padding: 10px;
}

/* SECOND DROPDOWN */

#flterTypeStyle {
    width: 20rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    border-right: 1px solid #ddd;
    padding: 10px;
}

.select2-results__option__filterTypeStyle {
    padding: 6px;
    user-select: none;
    -webkit-user-select: none;
    border: 1px solid gray;
    width: 100%;
    list-style-type: none;
    background: white;
}

#results ul#select2-match_select-results {display: none;}


/* THIRD DROPDOWN */

#flterTeamStyle {
    width: 20rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    border-right: 1px solid #ddd;
    padding: 10px;
}

.select2-results__option__filterTeamStyle {
    padding: 6px;
    user-select: none;
    -webkit-user-select: none;
    border: 1px solid gray;
    width: 100%;
    list-style-type: none;
    background: white;
}

#resultsTeams ul#select2-match_select-results {display: none;}

/* end filter styles */


#matches .add-match,
#cpanel .save_stat_name {
    display: inherit;
    color: var(--my-primary);
    border: 1px solid var(--my-primary);
}

#matches .add-match:hover,
#cpanel .save_stat_name:hover {
    background-color: var(--my-primary);
    color: #fff;
}

#cpanel {
    height: calc(100vh - 3.375rem);
    background-color: #f5f5f5;
    padding: 15px;
    flex-shrink: 0;
    width: calc(100% - 35rem);
    position: relative;
}

#cpanel.no-rpanel {
    width: calc(100% - (20rem - 1px));
    overflow-y: auto;
}

#cpanel .team_period_select,
#cpanel .player_period_select {
    /* display: grid; */
    margin-left: 20px;
    /* margin-bottom: 1rem; */
}

#cpanel .stat_name_div {
    padding-bottom: 1rem;
}

#cpanel .team_period_select label,
#cpanel .player_period_select label {
    font-weight: bold;
}

#cpanel .team_period_select select#team_period,
#cpanel .player_period_select select#player_period {
    min-width: 200px !important;
}

#rpanel {
    height: calc(100vh - 3.375rem);
    width: 15rem;
    background-color: #f0f0f0;
    margin: 0;
    padding: 5px;
    flex-shrink: 0;
}

#player-syncro {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#pitch_options {
    float: left;
    width: 300px;
    height: 100%;
    margin: 0;
    padding: 0;
    color: #333 !important;
}

#pitch-view {
    margin: 0;
    padding: 0 20px;
    display: inline-block;
    width: calc(100% - 7rem);
    height: calc(100% - 20rem);
    vertical-align: top;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#pitch-view img {
    width: auto;
    height: 100%;
}

#pitch-view.horizontal {
    width: 100%;
    height: 100%;
}

#pitch-view.horizontal img {
    width: 100%;
    height: auto;
}


.stats_buttons_div {
    padding-left: 20px;
}

.stats_buttons_div label {
    font-weight: bold;
}

.stats_buttons {
    align-items: end;
    display: flex;
}

.stats_buttons .active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff !important;
}

.stats_buttons .heatmap_btn,
.stats_buttons .grid_btn {
    color: var(--my-primary) !important;
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    padding: 10px;
}

#svgGrid {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#svgMap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 20px;
}

#pitch-view #map2dheatmap,
#pitch-view-tmp #map2dheatmap-tmp,
#pitch-view #map2dgrid {
    position: absolute;
}

#pitch-view #map2dheatmap #map2dheatmap-content,
#pitch-view-tmp #map2dheatmap-tmp #map2dheatmap-content-tmp,
#pitch-view #map2dgrid #map2dgrid-content {
    height: 100%;
    width: 100%;
}

#pitch-view #map {
    width: 100%;
    height: 100%;
}

.replay-controls {
    user-select: none;
    position: absolute;
    bottom: 18.5rem;
    width: calc(100% - 30px);
}

.replaybar {
    user-select: none;
    position: absolute;
    bottom: 17rem;
    border-radius: 0.25rem 0.25rem 0 0;
    background-color: #ccc;
    height: 0.5rem;
    width: calc(100% - 30px);
    z-index: 99;
}

.replaybar .replaybar-inner {
    position: absolute;
    bottom: 0rem;
    border-radius: 0.25rem 0.25rem 0 0;
    background-color: #6ab8f7;
    height: 0.5rem;
    width: 0;
}

.replaybar .control {
    user-select: none;
    position: absolute;
    bottom: -0.25rem;
    border-radius: 50%;
    border: 2px solid #0860a7;
    background-color: #b4dbfb;
    height: 1rem;
    width: 1rem;
    left: -0.5rem;
}

.replay-periods {
    width: calc(100% - 30px);
    user-select: none;
    position: absolute;
    bottom: 14.5rem;
    height: 2.5rem;
}

.replay-periods .period {
    user-select: none;
    position: absolute;
    bottom: 0;
    height: 2.5rem;
    background-color: #b4dbfb;
    cursor: pointer;
    border-radius: 0 0 0.25rem 0.25rem;
}

.replay-periods .period span {
    color: #1690f2;
    font-weight: bold;
    position: absolute;
    bottom: 0.25rem;
    left: 0.5rem;
}

#chartData {
    height: 14rem;
    position: absolute;
    bottom: 0;
    width: calc(100% - 30px);
}

/* The switch - the box around the slider */
.switch {
    margin-left: 16px;
    position: relative;
    display: inline-block;
    width: 30px;
    height: 18px;
    margin-top: 8px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 1px;
    bottom: 1px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--my-primary);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--my-primary);
}

input:checked+.slider:before {
    -webkit-transform: translateX(12px);
    -ms-transform: translateX(12px);
    transform: translateX(12px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 18px;
}

.slider.round:before {
    border-radius: 50%;
}

#rpanelt tr {
    height: 20px;
    line-height: 20px;
    font-size: 14px;
}

#rpanelt td {
    vertical-align: middle;
}

hr {
    border-color: #000 transparent #474747 transparent;
    border-size: 1px;
    border-style: solid;
    height: 0;
}

#rpanel .title {
    color: #666;
    font-weight: 600;
    padding-left: 16px;
    text-align: left;
}

#lpanel .team-name {
    font-weight: 600;
    color: var(--my-primary);
    margin-bottom: 10px;
    margin-top: 15px;
}

.regularbox {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 5px;
    text-align: center;
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.regularbox>div.data {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 5px;
}

.regularbox>div.data>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
}

.regularbox>div.data>div.action {
    display: flex;
    flex-direction: column;
    margin: 5px;
    justify-content: center;
    align-items: center;
    width: 10%;
}

.regularbox>div.data>div.action .dropdown-list {
    padding: 0;
    border: none;
    overflow: hidden;
}

.regularbox>div.data>div.action .dropdown-menu {
    border-radius: 0;
    -webkit-border-top-left-radius: 0.35rem;
    -webkit-border-top-right-radius: 0.35rem;
    -moz-border-radius-topleft: 0.35rem;
    -moz-border-radius-topright: 0.35rem;
    border-top-left-radius: 0.35rem;
    border-top-right-radius: 0.35rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.6) !important;
}

.regularbox>div.data>div.action .dropdown-list .dropdown-header {
    background-color: var(--my-primary);
    border: 1px solid var(--my-primary);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: #fff;
}

.regularbox>div.data>div.action .dropdown-list .dropdown-item {

    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    line-height: 1.3rem;
    font-size: 0.85rem;
}

.regularbox>div.data>div.action .dropdown-list .dropdown-item span.material-icons {
    font-size: 1.2rem;
}

.regularbox>div.filter-time {

    display: flex;
    flex-direction: row;

}

.regularbox>div.filter-time input {

    width: 100%;
    margin: 5px;
    text-align: center;
    cursor: pointer;

}

/* .regularbox > div.action a, .regularbox > div.action a:hover{
	cursor: pointer;
	height: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
	text-decoration: none;

}
.regularbox > div.action a span.material-icons{
	font-size: 2rem;
} */
.regularbox>div>div span {
    width: 100%;
    text-align: center;
}

/* .regularbox .material-icons {
    width: 40px;
    flex-shrink: 0;
    text-align: center;
} */

.regularbox .icon {
    height: 2rem;
    flex-shrink: 0;
    text-align: center;
}



.regularbox #match-duration {
    width: 60px;
    flex-shrink: 0;
}

.statbox-content {
    width: calc(6rem);
    position: absolute;
    right: 5px;
    top: 5px;
    /* display: inline-block; */
}

.statbox-content .stats_name {
    font-size: 0.8rem;
    line-height: 1.2rem;
    display: block;
    color: var(--my-primary);
}

.statbox-content .stats_position span {
    font-size: 0.8rem;
    line-height: 1.2rem;
    vertical-align: middle;
    color: #aaa;
}

.statbox-content .stats_position svg {
    height: 1.2rem;
    vertical-align: middle;
    color: #aaa;
}

.statbox-content .stats_pic {
    width: 36px;
    height: 36px;
    border-radius: 24px
}

.statbox-content .stats_data {
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: #666;
    display: block;
}

.statbox-content .stats_units {
    font-size: 0.8rem;
    line-height: 1.2rem;
    color: #aaa;
    display: block;
}

.statbox-content .statbox {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 5px;
    text-align: center;
    padding: 5px;
    margin-bottom: 5px;
}

.statbox-mini {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(0, 0fr);
}

.statbox-mini .item {
    position: relative;
    border: 1px solid #ddd;
    background-color: white;
    color: var(--my-primary);
    border-radius: 5px;
    text-align: center;
    padding: 20px;
    line-height: 16px;
    margin-bottom: 5px;
    margin-right: 5px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.statbox-mini .item:nth-child(3n):visible {
    margin-right: 0;
}

.statbox-mini .item .stats_name {
    margin-top: 2px;
    font-size: 0.7rem;
    display: block;
    line-height: 0.75rem;
    height: 1.5rem;
}

.statbox-mini .item .stats_position span {
    font-size: 0.7rem;
    line-height: 0.7rem;
    vertical-align: middle;
    color: #aaa;
}

.statbox-mini .item .stats_position svg {
    height: 0.7rem;
    vertical-align: middle;
    color: #aaa;
}

.statbox-mini .item.selected_player {
    background-color: #6ab8f7;
    color: #fff;
}

.statbox-mini .item.selected_player .stats_position span, .statbox-mini .item.selected_player .stats_position svg {
    color: #fff;
}

.stats_dorsal {
    position: absolute;
    text-align=center;
    right: 2px;
    top: 2px;
    width: 20px;
    height: 20px;
    background-color: black;
    color: white;
    border-radius: 100%;
    line-height: 20px;
    font-size: 10px;
    font-weight: bold;
}

.stats_dorsal.has_data {
    background-color: #6af7a9;
    color: #000;
}

.stats_mini_pic {
    width: auto;
    height: 45px;
    border-radius: 24px;
    min-width: 45px;
}

.statbox-content-horizontal {
    /* display: flex;
	flex-direction: row;
	justify-content: center; */
    /* display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 10px;
	grid-auto-rows: minmax(100px, auto); */
    padding: 5px 20px;
}


.statbox-content-horizontal .stats_data {
    font-size: 1.5rem;
    line-height: 3rem;
    color: #666;
    display: block;
}

.statbox-content-horizontal .stats_units {
    font-size: 1rem;
    line-height: 1.5rem;
    color: #aaa;
    display: block;
}

.statbox-content-horizontal .statbox {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* aspect-ratio: 1 / 1; */
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
    line-height: 26px;
    margin-bottom: 10px;
}

.statbox-content-horizontal .statbox .material-icons,
.statbox-content-horizontal .statbox .material-symbols-outlined {
    font-size: 3em;
    color: var(--my-primary);
    opacity: 0.5;
}

.statbox-content-horizontal #data-user.statbox {
    font-size: 1.5rem;
    line-height: 1.5rem;
}

.statbox-content-horizontal #data-user.statbox img {
    margin-top: 0.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    border-radius: 100%;
    width: auto;
}

.statbox-content-horizontal #data-user.statbox .stats_name {
    font-size: 1.3rem;
    line-height: 2.4rem;
    color: #666;
}

.statbox-content-horizontal #data-user.statbox .stats_position {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.statbox-content-horizontal #data-user.statbox .stats_position span {
    padding: 5px 3px;
    font-size: 1rem;
    line-height: 1.5rem;
}

.statbox-content-horizontal #data-user.statbox .stats_position svg {
    padding: 5px 3px;
    height: 1.5rem;
}

.statbox-content-horizontal #data-user.statbox .stats_dorsal {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 15px;
    top: 5px;
    right: 5px;
}

.stats-metric-container {
    margin: 10px 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    overflow: hidden;
    padding: 5px 20px;
    background-color: #fff;
}

.stats-metric-container.data {
    height: calc(100% - 20px);
}

/*
.stats-metric-table {
	border-radius: 5px;
	border: 1px solid #ddd;
	overflow: hidden;
	background-color: #fff;
	padding: 10px 20px;
	margin: 10px;
	max-width: calc(50% - 20px);
} */

.stats-metric-container span.title,
.stats-metric-table span.title {
    font-size: 18px;
    color: var(--my-primary);
    display: block;
    text-align: center;
    padding: 10px;
    font-weight: 500;
}

/* .stats-metric-container table.cell-border td, .stats-metric-container table.cell-border th {
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.15) !important;
	border-right: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.stats-metric-container table.cell-border td:first-child, .stats-metric-container table.cell-border th:first-child {
	border-left: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.stats-metric-container table.cell-border tr:last-child td {
	border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
} */

.team-img {
    max-width: 150px;
    width: 100%;
}

[hilite] {
    color: var(--my-primary);
}

.game_players {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(0, 0fr);
}

.game_players .item-player {
    position: relative;
    border: 1px solid #ddd;
    background-color: white;
    color: var(--my-primary);
    border-radius: 5px;
    text-align: center;
    padding: 5px;
    line-height: 16px;
    margin-bottom: 5px;
    margin-right: 5px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    overflow: hidden;
}

.game_players .item-player:nth-child(8n) {
    /* margin-right: 0; */
}

.game_players .item-player .stats_pic {
    width: auto;
    min-width: 50%;
    height: 50%;
    border-radius: 50%;
}

.game_players .item-player .stats_name {
    font-size: 0.7rem;
    display: block;
    line-height: 1rem;
    height: 25%;
}

.game_players .item-player .stats_position span {
    font-size: 0.7rem;
    line-height: 0.7rem;
    vertical-align: middle;
    color: #aaa;
}

.game_players .item-player .stats_position svg {
    height: 0.7rem;
    vertical-align: middle;
    color: #aaa;
}

.game_players .item-player.active {
    background-color: #6ab8f7;
    color: #fff;
}

.game_players .item-player.active .stats_position span, .game_players .item-player.active .stats_position svg{
    color: #fff;
}

.game_players .item-player .custom-select {
    padding: 0 0.3rem;
    height: 25%;
    font-size: 75%;
    line-height: 75%;
}

#cpanel.upload_periods {
    height: auto !important;
}

#cpanel.upload_periods .loader-container .loader {
    position: fixed;
    top: 40%;
    left: 60%;
}

.loader-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background-color: rgba(37, 44, 60, .5);
    z-index: 1;
    height: 100%;
}

.loader,
.loader:before,
.loader:after {
    background: #ffffff;
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    width: 1em;
    height: 4em;
}

.loader {
    color: #ffffff;
    text-indent: -9999em;
    margin: 88px auto;
    position: relative;
    font-size: 11px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.loader:before,
.loader:after {
    position: absolute;
    top: 0;
    content: '';
}

.loader:before {
    left: -1.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.loader:after {
    left: 1.5em;
}

@-webkit-keyframes load1 {

    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

@keyframes load1 {

    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

.stats-loader {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.stats-loader span {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/*
 * Player Icons for 2D
*/

.blueplayer {
    position: absolute;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 16px;
    background-color: white;
    border: 3px solid #003f8c;
    color: #003f8c;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    margin-left: -12px;
    margin-top: -12px;
    cursor: pointer;
    z-index: 9998;
}

.redplayer {
    position: absolute;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 16px;
    background-color: white;
    border: 3px solid #da2b2b;
    color: #da2b2b;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    margin-left: -12px;
    margin-top: -12px;
    cursor: pointer;
    z-index: 9998;
}

.blueplayer.selected_player,
.redplayer.selected_player {
    border: 3px solid #ffca1a !important;
    color: #ffca1a !important;
    z-index: 9999;
}

.container_button_action {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.container_button_action a {
    width: 100%;
    cursor: pointer;
}

.container_button_action a span.material-icons {
    font-size: 35px;
    vertical-align: middle;
}

.add-input {
    color: var(--my-primary);
    text-align: center;
    text-decoration: none;
    margin-left: 0.5rem;
}

.add-input:hover {
    cursor: pointer;
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu>li:hover>.dropdown-submenu {
    display: block;
}

.firmware {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.firmware img {
    width: 25%;
    height: auto;
    z-index: 1;
}

.firmware .cogs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

ul.config_type {
    list-style: none;
}

ul.config_type li {
    padding: 6px 12px;
    border-radius: 3px;
    background-color: #fff;
    color: #0d0d0d;
    user-select: none;
    cursor: pointer;
}

ul.config_type li:hover {
    background-color: #eee;
}

ul.config_type li.active {
    color: var(--my-primary);
    font-weight: bold;
}

.ui-slider-tick-mark {
    display: inline-block;
    width: 2px;
    background: black;
    height: 16px;
    position: absolute;
    top: -7px;
}

.ui-slider-tick-mark-dec {
    display: inline-block;
    width: 2px;
    background: black;
    height: 26px;
    position: absolute;
    top: -13px;
}

.ui-slider-tick-value {
    display: inline-block;
    height: 16px;
    position: absolute;
    color: black;
    top: 9px;
}

.ui-slider-handle {
    width: 1rem !important;
    height: 1rem !important;
    border-radius: 50% !important;
    background: white !important;
    border: solid var(--my-primary) 2px !important;
    top: -8px !important;
    margin-left: -7px !important;
}

.ui-slider-range {
    top: -2px !important;
    height: 4px !important;
    background: var(--my-primary) !important;
}

.ui-slider-horizontal {
    height: 1px !important;
    border-radius: 0px !important;
    background: black !important;
}

ul.radioList {
    list-style: none;
    user-select: none;
}

ul.radioList li {
    display: inline;
}

ul.radioList li label {
    display: inline-block;
    background-color: rgba(255, 255, 255, .9);
    border: 2px solid rgba(139, 139, 139, .3);
    color: #818181;
    border-radius: 0.75rem;
    white-space: nowrap;
    user-select: none;
    padding: 0.25rem 0.8rem;
    cursor: pointer;
}

ul.radioList li input[type="radio"]:checked+label {
    /* border: 2px solid #1bdbf8; */
    background-color: var(--my-primary);
    color: #fff;
}

ul.radioList li input[type="radio"] {
    display: absolute;
    position: absolute;
    opacity: 0;
}

ul.radioList li input[type="radio"]:hover:not([disabled])+label {
    border: 2px solid rgba(69, 69, 69, .3);
    color: #565656;
}

ul.radioList li input[type="radio"]:checked:hover:not([disabled])+label {
    color: #fff;
}

.config_tabs .title {
    color: var(--my-primary);
    font-size: 1.1rem;
}

.config_tabs .title .unit {
    display: inline;
}

.load_template {
    background-color: #eaecf4;
    border: 1px solid #aaa;
}

.load_template:hover {
    background-color: #9ba5ca;
    color: white;
}

#team-setup .select2 {
    width: 25% !important;
}

#matches .select2-container--default,
#matches .select2-selection--single {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.config_tabs .card.warning {
    background-color: #fcf4cd;
    border-color: #f3d024;
    color: #b58b0b;
}

.config_tabs .card.warning .card-title {
    color: red;
}

.config_tabs .card.info {
    background-color: #d1e8ff;
    border-color: var(--my-primary);
    color: var(--my-primary);
}

th.dt-head-center,
td.dt-center {
    text-align: center;
}

th.dt-body-right,
td.dt-body-right {
    text-align: right;
}

td.above-avg {
    color: #3EC70B;
}

td.below-avg {
    color: #e74a3b;
}

.add_period,
.save_periods,
.stats_history {
    background-color: var(--my-primary);
    color: white !important;
    padding: 8px 16px;
    border-radius: 4px;
}

.download_player_report {
    background-color: var(--my-primary);
    color: white !important;
    padding: 8px 16px;
    border-radius: 4px;
    margin-left: 20px;
    margin-bottom: 0.5rem;
}

.stats_history {
    margin-right: 20px;
    margin-bottom: 1rem;
}

.add_period:hover,
.save_periods:hover,
.stats_history:hover {
    background-color: var(--my-primary-light);
}

.add_subperiod {
    color: var(--my-primary) !important;
}

.timeline-div {
    background-color: white;
    border-radius: 5px;
    margin-top: 1rem;
    padding: 0.25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
}

.timeline-div .draggable {
    cursor: pointer;
}

.timeline-div input[type=text] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 150px;
    display: block;
    text-align: center;
    font-weight: bold;
    border: 0px;
    border-bottom: 1px solid #bbb;
}

.download_player_report_csv {
    background-color: #217346;
    color: #fff !important;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px; /* icon size */
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: background 0.2s;
}

.download-player-icon {
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.download_player_report_csv:hover {
    background-color: #25a366;
}