﻿/* BASE DESIGN */

/*
    --- COLORS PALETTE ---

    Purple light: #7A46D5
    Purple hard-dark: #6a29dc
    Purple dark: #561F99
    
    light-gray: #cccccc
    dark-gray: #323135
    purple-gray: #5F5B64


    Blue: #1565DA
    Blue-dark: #08263E
    Blue-hard-dark: #0858CD
    Blue-dark-1: #155FA1

    background-light-blue: #EEF4FA

*/


/* --- COLORS PALETTE --- */

:root {
    --light-font: #CCCCCC;
    --primary-color: #0f67ac;
    --secondary-color: #034d86;
}



html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /*margin-bottom: 60px;*/
    background-color: #EEF2F7;
    background-image: conic-gradient();
    /*background-image: linear-gradient(180deg, #323135 0%, #EEF4FA 12%, #EEF4FA 99%);*/
    padding-bottom: 0px;
    /*background-color: #E0E4EC;*/
    overflow-x: hidden;
}

footer {
    /*border-top: solid 1px gray;*/
    width: 65vw !important;
}

#footerContainer {
    max-width: 100px;
    font-size: 0.9em !important;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 8px;
}

*::-webkit-scrollbar-corner {
    background-color: transparent;
}

*::-webkit-scrollbar-thumb {
    background-image: linear-gradient(180deg, #2080a4 10%, var(--primary-color) 50%, #2080a4 90%);
    /*box-shadow: inset 2px 2px 5px 0 rgba(#fff, 0.5);*/
    background-color: #1E1E1E;
    border-radius: 100px;
}




/* GRID */

.mvc-grid {
    border-radius: 6px;
}

/*tr:hover {
    background-color: #ccccccca !important;
}*/




/* ------------------------------------------------------ */

#tablaPrendasSucias thead {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 2;
}



/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.barStatic {
    background-color: #323135;
    border-radius: 50px;
    border-top: 1px solid #EEF2F7;
    border-bottom: 1px solid #EEF2F7;
    border-right: 3px solid #EEF2F7;
    border-left: 3px solid #EEF2F7;
    margin-top: 1.5vh;
    margin-left: auto;
    margin-right: auto;
}

.RFIDCORE {
    color: var(--light-font) !important;
    font-size: 20px;
}




/* --- SIDE BAR --- */
#sidebar
a,
a:hover,
a:focus {
    color: var(--light-font);
    text-decoration: none;
    transition: all 0.2s;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    text-decoration: none;
    transition: all 0.3s;
}

#sidebar {
    min-width: 210px;
    max-width: 250px;
    /*background: #323135;*/
    background: transparent;
    color: var(--light-font);
    transition: all 0.3s;
    /*border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    height: 500px;
    margin-top: auto;
    margin-bottom: 300px;*/
}

.disabled-sidebar {
    margin-left: -250px !important;
}


#sidebar ul.components {
    padding: 20px 0;
    padding-top: 0px;
}

#sidebar ul p {
    color: var(--light-font);
    padding: 10px;
}

#sidebar ul li a {
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 8px;
    padding-right: 2px;
    margin-top: 1vh;
    font-size: 1.1em;
    display: block;
    border-top: solid black 1px;
    border-bottom: solid black 1px;
    border-left: solid var(--primary-color) 8px;
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
    border-bottom-right-radius: 50px;
    border-top-right-radius: 50px;
    /*border-radius: 50px;*/
    font-weight: 500;
    background-color: #323135;
    max-width: 230px;
}

a.dropdown-toggle::after {
    left: 180px !important;
}

#sidebar ul li a:hover {
    /*border-bottom-left-radius: 15px;
        border-top-left-radius: 15px;*/
    border-radius: 50px;
    border-left: solid #EEF4FA 10px;
    border-top: solid #EEF4FA 1px;
    border-bottom: solid #EEF4FA 1px;
    background-image: linear-gradient(90deg, #EEF4FA 35%, transparent 99%);
    color: #150000;
    font-weight: 600;
    transition: all 0.3s;
}

#sidebar ul li.active > a,
a[aria-expanded="true"] {
    border-left: solid #EEF4FA 7px !important;
    border-top: solid #DDDDDD 1px !important;
    border-bottom: solid #DDDDDD 1px !important;
    border-bottom-left-radius: 15px !important;
    border-top-left-radius: 15px !important;
    color: #150000 !important;
    background-image: linear-gradient(90deg, #EEF4FA 40%, transparent 99%);
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    margin-left: 30px !important;
}

#sidebarContainer {
    display: flex;
    flex-direction: column !important;
    align-content: space-between !important;
}

#sidebar .sidebar-header {
    padding: 10px;
    /*background: #323135;*/
    text-align: center;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 54px;
    margin-bottom: 15px;
}

#sHeader {
    /*border-top: solid 1px gray;
    border-bottom: solid 1px gray;*/
    position: fixed;
    margin-left: 15px !important;
}

#sHeader_spacing {
    margin-bottom: 110px !important;
}




/* TOP OPTIONS */
#topOptions {
    max-height: 73vh !important;
    overflow: auto;
    position: fixed;
    max-width: 250px !important;
    min-width: 0;
    width: 100vw;
}

    #topOptions::-webkit-scrollbar {
        width: 7px;
    }



/* BOTTOM OPTIONS */

#bottomOptions {
    /*margin-top: auto !important;*/
    max-width: 250px !important;
    min-width: 0;
    width: 100vw;
    position: fixed;
    bottom: 0;
    color: black;
    /*background-color: #323135;*/
}




/* --- CONTENT --- */

#sidebarCollapse {
    background-color: transparent;
    border-radius: 50%;
    width: 2.8rem;
    height: 2.8rem;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 8px;
}

.navbar {
    padding: 0px !important;
}

.container-fluid {
    /*padding-left: 0px !important;*/
}

#content {
    /*width: auto;*/
    width: 100vw;
    padding: 0px !important;
    padding-top: 7vh;
    min-height: 100vh;
    transition: all 0.3s;
}

#mainContent {
    /*border: dashed 1px yellowgreen;*/
    padding: 10px;
    padding-top: 100px;
    /*margin-left: 5vw;*/
    /*max-width: 1200px;*/
}

.ExportButton {
    margin-top: 5px;
    margin-bottom: 20px;
}

#CreateButton {
    margin-top: 5px;
    margin-bottom: 20px;
}

.btn-custom {
    border: 2px solid var(--primary-color) !important;
    border-radius: 6px;
    color: var(--light-font) !important;
    background-color: #323135 !important;
}

    .btn-custom:hover {
        transition: all 0.2s;
        background-color: #202020 !important;
        color: #6bffff !important;
        border: 2px solid !important;
        border-color: #2080a4 !important;
        box-shadow: 0 0 8px 1px #9c6ffc41, /* inner*/
        0 0 6px 1px var(--primary-color), /* middle*/
        0 0 8px 1px #9c6ffc41; /* outer*/
    }

    .btn-custom:active {
        transition: all 0.3s;
        color: #2080a4 !important;
        border-color: #00cec6 !important;
        background-color: #1313135a !important; /* add here any color */
        /*box-shadow: 0 0 12px 1px #7A46D5,*/ /* inner*/
        /*0 0 8px 1px #1aff003d,*/ /* middle*/
        /*0 0 12px 1px #1aff003d;*/ /* outer*/
    }

.btn-primary {
    border-radius: 50px;
    color: #fff !important;
    background-color: var(--primary-color);
    border-color: var(--secondary-color);
}

    .btn-primary:hover {
        color: #fff;
        background-color: var(--secondary-color);
        border-color: var(--secondary-color) !important;
    }

    .btn-primary:focus, .btn-primary.focus {
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
    }

    .btn-primary.disabled, .btn-primary:disabled {
        color: #fff;
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }

    .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
    .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }

        .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
        .show > .btn-primary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem var(--secondary-color);
        }

.btn-success {
    border-radius: 20px;
    padding: 9px;
}

.btn-danger {
    border-radius: 20px;
    padding: 9px;
}


/* LOGIN MODAL */

.btn-user {
    border-radius: 50% !important;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 8px;
    width: 2.8rem;
    height: 2.8rem;
}

.fa-user-o {
    font-weight: 900 !important;
}

.modal-dialog {
    /*position: fixed;*/
    margin: 3.5rem auto !important;
    /*right: 0;*/
    /*background-color: red;*/
}

.modal-content {
    background-color: #323135;
    color: var(--light-font);
}

.modal-header {
    border-bottom: 1px solid #6c6c6c !important;
}

.modal-footer {
    border-top: 1px solid #6c6c6c !important;
}

.close {
    color: #DDDDDD;
}

    .close:hover {
        color: #2080a4 !important;
    }

.hidden {
    display: none;
}

#dashboard {
    margin-top: 20px;
    padding: 0;
    box-shadow: 0 0 3px 1px #3a3a3a, /* inner*/
    0 0 8px 2px #3a3a3a, /* middle*/
    0 0 20px 8px #000000; /* outer*/
    border-radius: 10px;
}

.sync-div {
    border: solid 2px gray;
    border-radius: 8px;
    padding: 16px;
}




/* ----------------------------------------------------------------------------------------- */




#RFID_logo {
    fill: white;
}

    #RFID_logo:hover {
        animation: shake 0.5s;
        animation-iteration-count: infinite;
    }




/*animation*/
@keyframes shake {
    0% {
        transform: translate(0.2px, 0.2px) rotate(0deg);
    }

    10% {
        transform: translate(-0.2px, -0.4px) rotate(-1deg);
    }

    20% {
        transform: translate(-0.6px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(0.6px, 0.4px) rotate(0deg);
    }

    40% {
        transform: translate(0.2px, -0.2px) rotate(1deg);
    }

    50% {
        transform: translate(-0.2px, 0.4px) rotate(-1deg);
    }

    60% {
        transform: translate(-0.6px, 0.2px) rotate(0deg);
    }

    70% {
        transform: translate(0.6px, 0.2px) rotate(-1deg);
    }

    80% {
        transform: translate(-0.2px, -0.2px) rotate(1deg);
    }

    90% {
        transform: translate(0.2px, 0.4px) rotate(0deg);
    }

    100% {
        transform: translate(0.2px, -0.4px) rotate(-1deg);
    }
}











/* -------------------------------------------------------------------------------- */












/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 400px;
}

.element-space {
    margin-right: 20px;
}

.top-control-space {
    margin-top: 10px;
}

.form-group input {
    border: 1px solid #127acc41;
    border-radius: 10px;
    filter: drop-shadow(3px 3px 4px #0000007c);
    transition: 0.2s;
}

    .form-group input:hover {
        border: 1px solid #2080a4;
        filter: drop-shadow(1px 1px 2px #323135);
        border-color: #587993;
    }

    .form-group input:focus {
        border-color: #2080a4;
        box-shadow: 0 0 8px 1px #9c6ffc41, /* inner*/
        0 0 6px 1px #2080a4, /* middle*/
        0 0 8px 1px #9c6ffc41; /* outer*/
    }



.form-control {
    filter: drop-shadow(3px 3px 4px #0000007c);
    transition: 0.2s;
}

    .form-control:focus {
        filter: drop-shadow(1px 1px 2px #323135);
        border-color: #587993;
    }

.form-control-sm {
    filter: drop-shadow(3px 3px 4px #0000007c);
    transition: 0.2s;
    min-width: 82px;
    max-width: 110px;
}

    .form-control-sm:focus {
        filter: drop-shadow(1px 1px 2px #323135);
        border-color: #587993;
    }




/* -------------------------------------------------------------------------------- */


.inventoryInfoCard {
    background-color: #2080a42b !important;
    padding: 0.3rem;
    border-radius: 8px;
    border: 2px outset;
    border-color: #a4a4a4;
    /*border-color: red;*/
}

    .inventoryInfoCard:hover {
        background-color: #2080a45c !important;
    }

