/* Body */

body {
    font-size: 1rem;
    background-color: #ffffff;
}

/* Table */

td {
    font-size: 1.1rem;
}

/* Sidebar */

#wrapper {
    overflow-x: hidden;
}

#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    transition: margin 0.25s ease-out;
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
}

#sidebar-wrapper .list-group {
    width: 15rem;
}

#page-content-wrapper {
    min-width: 100vw;
}

body.sb-sidenav-toggled #wrapper #sidebar-wrapper {
    margin-left: 0;
}

.sidebar-item:hover {
    text-decoration: none;
    background-color: #00000026;
}



/* Buttons */
button {
    font-size: 1rem !important;
}

.btn-client {
    width: 90%;
    padding: 1rem 3rem;
}

.btn:focus {
    box-shadow: none !important;
}


/* Images */

.img-txt-container {
    position: relative;
    display: inline-block;

    width: auto;
    height: auto;
    transition: all 0.2s linear;
}

.img-hover {
    display: block;
}

.img-txt {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.2s linear;
}

.img-txt:hover {
    opacity: 1;
}


.img-txt-bubble {
    position: relative;
    box-sizing: border-box;
    height: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.473);
    overflow: hidden;
    font-size: 17px;
    text-align: center;
    word-wrap: break-word;
    padding: -1.4rem;
    cursor: pointer;
}

.img-txt .img-txt-title {
    font-size: 18px;
    display: block;
    color: #ffffff;
    font-weight: bold;
    margin-top: 40%;
}

.bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-image: url("/images/bglogo.png");
    height: 100%;
}


.logo {
    max-width: 30rem;
    text-align: center;
    justify-self: center;
    margin: 0 auto;
}

.logo img {
    width: 100%;
    margin-bottom: 3rem;
}

/* pagination */

ul.pagination li a {
    color: #303030 !important;
    background-color: #e9e9e9;
    border: 1px solid #c0c0c0;
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: 8px;
    line-height: 1.25;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.6s;
}

ul.pagination li a:hover {
    text-decoration: none;
    color: #1d1d1d !important;
    background-color: #b6b6b6;
    border-color: #b6b6b6;
}

/* Navbar */

.navbar-toggler {
    border: none !important;
    font-size: 1.5rem !important;
}

/* Heading */

.main-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 500;
}

/* Cards */

.special-card {
    background-color: #ffffff !important;
    margin-top: 40% !important;
    color: #046EB4 !important;
}

/* ----------------------------- */

.client-selector {
    text-align: center;
}


.map-container {
    position: relative;
}

.panel-map-container {
    position: relative;
    margin-top: 16%;
    width: 100% !important;
}

.map {
    width: 90%;
    height: 100%;
    min-height: 400px;
    max-height: 700px;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.marks-map {
    width: 90%;
    height: 100%;
    min-height: 400px;
    max-height: 700px;
    position: absolute;
    top: 75%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}


.panel-map {
    width: 98%;
    height: 100%;
    min-height: 400px;
    max-height: 700px;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.marker {
    background-color: #a8d1ff;
    background-size: cover;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
}

.mapboxgl-popup {
    max-width: 400px;
}

.mapboxgl-popup-content {
    padding: 20px;
}


#reader__dashboard_section_csr button {
    background-color: #2b2b2b;
    color: white;
    border-radius: 12px;
    border: none;
    padding: 10px;
}

#reader__dashboard_section_swaplink {
    display: none !important;
}



.input-dark input {
    background-color: #2b2b2b;
    border: none;
    color: white;
}

::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #fbfbfb;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #a3a3a3;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #5a5a5a;
}


/* File Uploader */


.img-container {
    max-width: 960px;
    margin: 30px auto;
    padding: 20px;
}

.asset-img-container {
    max-width: 80%;
}

.avatar-upload {
    position: relative;
    max-width: 205px;
    margin: 50px auto;
}

.avatar-upload .avatar-edit {
    position: absolute;
    right: 35%;
    z-index: 1;
    top: 90%;
}

.avatar-upload .avatar-edit input {
    display: none;
}

.avatar-upload .avatar-edit input+label {
    display: inline-block;
    width: 74px;
    height: 34px;
    margin-bottom: 0;
    border-radius: 10%;
    background: #272727;
    border: 1px solid transparent;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
}

.avatar-upload .avatar-edit input+label:hover {
    background: #9b9b9b;
    border-color: #d6d6d6;
}

.avatar-upload .avatar-edit input+label:after {
    content: "Buscar";
    color: #ffffff;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}

.avatar-upload .avatar-preview {
    width: 192px;
    height: 192px;
    position: relative;
    border-radius: 100%;
    border: 6px solid #F8F8F8;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

.avatar-upload .avatar-preview>div {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


/* Avatar Logo*/

.profile-icon {
    align-content: center;
}

.avatar-xsm {
    vertical-align: middle;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.avatar-sm {
    vertical-align: middle;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -15px
}

.avatar-profile {
    vertical-align: middle;
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.avatar-md {
    vertical-align: middle;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 2rem;
}

.avatar-sm:hover {
    background-color: #333333;
    opacity: 0.75;
}

.account-img {
    width: 15rem;
    margin: 1rem 3rem;
    height: 5rem;
    ;
}

.account-img img {
    max-width: 100%;
    max-height: 100%;
}

#general-chart {
    max-width: 650px;
}

.incident-img {
    width: 32rem !important;
    justify-content: center !important;
    margin: 0 auto;
    padding: 3rem 0;
}

.incident-img img {
    width: 100%;
}


/* Checkpoints in panel */
.check-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 2rem 10rem;
}

.round {
    width: 100px;
    height: 100px;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 7px solid #ffffff;
    box-shadow: 0px 5px 5px 0px #8d8d8d;
    font-size: 10px;
    padding: 5px 15px;
}

.check {
    color: white;
}

.not-check {
    background-color: #dddddd;
    color: #000000;
}


/* Calendario de operaciones */

.parent-drop{
    display: flex;
    flex-direction: column;
    padding: 0;
}
.drop-zone{
    font-size: 14px;
    border: 1px solid #ffffff;
    padding-bottom: 30px;

}
.item{
    cursor: grab;
}
.drop-names{
    border: 1px solid #b6b6b6;
}
.add-zone{
  background-color: #ebebeb;  
  height: 100%;
}
.hoursMap{
    background-color: #ffffff;
    border: 1px solid;
    border-color: #e8e8e8;
    /* display: flex;
    flex-direction: row;
    flex-wrap: wrap; */
    width: 60%;
    margin: 0 auto;
}

.hourItem{
    display: flex;
    flex-direction: row;
    margin-top: 5px;
}
.hourColor{
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.regular{
    background-color: #A2D0B8;
    
}
.absence{
    background-color: #FAF4B9;
}
.free{
    background-color: #89D1F1;
}
.permission{
    background-color: #D0C9E1;
}
.incapacity{
    background-color: #F6B29F;
}
.ccss{
    background-color: #FAD4C6;
}
.holyday{
    background-color: #BFE4F4;
}
.rest{
    background-color: #D1E0B6;
}
.vacation{
    background-color: #AEA2C9;
}
.extra{
    background-color: #FCE6CF;
}

#trash {
    padding: 20px;
    border: 1px solid #ccc;
    background: #eee;
    margin-top: 10px;
    text-align: center;
}

#external-events {
    width: 100%;
    padding: 0 10px;
    border: 1px solid #e2e2e2;
    background: #eee;
    margin-top: 80px;
    overflow-y: scroll;
    padding-bottom: 20px;
}

#external-events .fc-event {
    cursor: move;
    margin: 3px 0;
}

#calendar-container {
    z-index: 1;
}

#calendar {
    max-width: 1100px;
    margin: 20px auto;
}

.fc-event {
    font-size: 17px !important;
}

/* Selector de archivos */


.file-upload .file-upload-select {
    display: block;
    color: #dbdbdb;
    cursor: pointer;
    text-align: left;
    background: #313131;
    overflow: hidden;
    position: relative;
    border-radius: 6px;
}

.file-upload .file-upload-select .file-select-button {
    background: #3d3d3d;
    padding: 10px;
    display: inline-block;
}

.file-upload .file-upload-select .file-select-name {
    display: inline-block;
    padding: 10px;
}

.file-upload .file-upload-select:hover .file-select-button {
    background: #757575;
    color: #ffffff;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.file-upload .file-upload-select input[type="file"] {
    display: none;
}

/* Tabla de efectivo */

.scroll-md{
    overflow:scroll;
    height:300px;
}

.scroll-lg{
    overflow:scroll;
    height:600px;
}
.scroll-sidebar{
    overflow:scroll;
    height:780px;
}



/* STYCKY TABLE */

.sticky {
    position: sticky;
    z-index: 1;
    /* asegura que la columna fija esté encima del resto */
}

td.sticky,
th.sticky {
    background-color: #ffffff;
}

tr.sticky-hover:hover{
    background-color: #ffffff !important;
}

th.sticky:nth-child(1),
td.sticky:nth-child(1) {
    width: 100px;
    left: 0;
}

th.sticky:nth-child(2),
td.sticky:nth-child(2) {
    width: 100px;
    left: 7rem;
}

th.sticky:nth-child(3),
td.sticky:nth-child(3) {
    width: 100px;
    left: 14rem;
}

th.sticky:nth-child(4),
td.sticky:nth-child(4) {
    width: 100px;
    left: 22rem;
}

th.sticky:nth-child(5),
td.sticky:nth-child(5) {
    width: 100px;
    left: 30.1rem;
}

/* MEDIA */
@media only screen and (max-width: 1855px) {
    .panel-map-container {
        margin-top: 19%;
    }
}

@media only screen and (max-width: 1545px) {
    .panel-map-container {
        margin-top: 20%;
    }
}

@media only screen and (max-width: 1485px) {
    .panel-map-container {
        margin-top: 23%;
    }
}

@media only screen and (max-width: 1295px) {
    .panel-map-container {
        margin-top: 25%;
    }
}

@media only screen and (max-width: 1260px) {
    .panel-map-container {
        margin-top: 28%;
    }
}

@media only screen and (max-width: 995px) {
    .incident-img {
        width: 70% !important;
    }

    .map-container {
        margin-top: 30%;
        width: 100% !important;
    }

    .panel-map-container {
        margin-top: 40%;
        width: 100% !important;
    }

    .mapboxgl-map {
        width: 100% !important;
    }

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

    .special-card {
        margin-top: 60% !important;
    }

    .check-container {
        margin: 2rem 4rem;
    }


}

@media only screen and (max-width: 740px) {
    .panel-map-container {
        margin-top: 45%;
    }

    .check-container {
        margin: 2rem 2rem;
    }

    .round {
        width: 75px;
        height: 75px;
        border-radius: 45%;
        box-shadow: 0px 5px 5px 0px #8d8d8d;
    }
}

@media only screen and (max-width: 668px) {
    .map-container {
        margin-top: 50%;
    }

    .panel-map-container {
        margin-top: 55%;
    }

    .check-container {
        margin: 2rem 1rem;
    }
}

@media only screen and (max-width: 445px) {
    .special-card {
        margin-top: 70%;
    }

    .check-container {
        margin: 2rem 0.5rem;
    }
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    body.sb-sidenav-toggled #wrapper #sidebar-wrapper {
        margin-left: -15rem;
    }
}
