/**** Layout globals ******/
/* overwrites */
.card-header {
    padding: 0.2rem 1.25rem;
}

hr.shadow-1 {
    height: 12px;
    border: 0;
    box-shadow: inset 0 12px 12px -12px rgba(0, 0, 0, 0.5);
}
.form-control-t {
    display: block;
    width: 85%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
/* Container holding the image and the text */
.bg-elray {
    background-color: #5f5f5f;
}

.bg-elray-rainbow {
    background-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
    max-height: 5px;
    padding-bottom: 0 !important;
}

.bg-menu-text {
    color: #fff !important;
    padding: 2px 5px;
}

.bg-menu-text:hover {
    color: #e5f3ad !important;
}

.bg-menu-text-active {
    color: #e5f3ad !important;
    background-color: #383838;
    padding: 2px 5px;
}

.logo-container {
    position: relative;
    text-align: center;
    color: white;
}

/* Centered text */
.logo-container .centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* header block */
.header-box{
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

/* footer block */
.footer-background {
    background: #abb1b8;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.footer-box{
    height: 90%;
    width: 90%;
    padding: 10px;
    font-size: 18px;
    background: #abb1b8;
    margin-bottom: 15px;
    margin-left: 5%;
    margin-right: 5%;
}

/* header part */
.bannerImg {
    height: 64px;
}

/* header part */
.bannerImgMobile {
    height: 32px;
}

.bannerText {
    font-size: 48px;
    color: #fcc313;
    white-space: nowrap;
}

.thumbnail {
    position: relative;
}

.icon-text-top-left {
    position: absolute;
    top: -10px;
    left: 50%;
    width: 24px;
    height: 24px;
    font-weight: bold;
    text-align: center;
    border-radius: 12px;
    background-color: #00feff;
}

.navMenu {
    background: var(--nav-bg-color);
}

.navMenu nav ul {
    padding: 5px 5%;
    margin: 0;
    text-align: left;
    color: white;
}
.navMenu nav ul li {
    display: inline;
    list-style-type: none;
    border-left: 1px solid white;
    padding: 0 .5em 0 .5em;
}
.navMenu nav ul li a {
    color: white;
    padding:0.1em 1em;
    border-radius:0.2em;
    text-decoration: none;
}

.navMenu nav ul li a:hover,
.navMenu nav ul li a:focus {
    background-color: var(--navmenu_title_hover);
    opacity:0.8;
}

.navMenu nav ul li:hover:after{
    color: var(--navmenu_title_hover);
}

.navLoginInfo{
    background: var(--nav-bg-color);
    color: lightskyblue;
    alignment: right;
}

.imagesthumps{
    background: #9a9a9a;
    border: 5px solid #ececec;
}

.ClmnNumberCtr {
    width: 150px;
    text-align: center;
}

.ClmnNumberRt {
    width: 130px;
    text-align: right;
}

.ClmnNumberLt {
    width: 130px;
    text-align: left;
}

.clmnButtons {
    min-width: 170px;
    max-height: 20px;
    text-align: center;
}

.clmnButtons a {
    padding: 0.1rem 0.1em !important;
    height: 28px !important;
}

.webgrid-table {
    font-family: "Arial", serif;
    font-size: 1.0em;
    width: 100%;
    display: table;
    border-collapse: separate;
    border: solid 1px #333333;
}

.webgrid-table td, th {
    border: 1px solid #333333;
    padding: 2px 5px 2px;
}

.webgrid-table>tbody>tr:nth-of-type(odd){
    background-color: white;
}

.webgrid-table>tbody>tr:nth-of-type(even){
    background-color: lightgrey;
}

.webgrid-header, .webgrid-header a {
    background-color: #333333;
    color: #FFFFFF;
    padding-bottom: 4px;
    padding-top: 5px;
    text-align: left;
    text-decoration: none;
}

.admin_element {
    float: left;
    width: 150px;
    height: 150px;
    margin: 2%;
    -webkit-box-shadow: 2px 2px 4px 0 rgb(0 0 0 / 75%);
    -moz-box-shadow: 2px 2px 4px 0 rgba(0,0,0,0.75);
    box-shadow: 2px 2px 4px 0 rgb(0 0 0 / 75%);
    position: relative;
    text-align: center;
}

.admin_element .title {
    width: 100%;
    height: 74px;
    line-height: 74px;
    text-align: center;
    background-color: rgba(105,105,105 ,0.6);
    color: white;
    position: absolute;
    bottom: 0;
    text-shadow: -1px 0 darkgrey, 0 1px darkgrey, 1px 0 darkgrey, 0 -1px darkgrey;
}

.admin_element img {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    top: 50%;
    position: relative;
    transform: translateY(-50%);
}

.panel-heading {
    padding: 5px 15px;
}

.panel-footer {
    padding: 1px 15px;
    color: #A0A0A0;
}

.profile-img {
    width: 96px;
    height: 96px;
    margin: 0 auto 10px;
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

/* Scroll frame */
div.scroll {
    background-color: lightgrey;
    width: 100%;
    height: 300px;
    overflow: auto;
    text-align:justify;
    font-size: 10pt;
}

div.scroll ul{
    list-style: square;
    margin-left:20px;
    padding:4px;
}

div.scroll p{
    padding:4px;
}
 /* Table */
.dataList{
    padding: 0;
}

.dataList table{
    width: 100%;
    border-collapse: collapse;
}

.dataList th,.dataList td{
    text-align: left;
    font-weight: unset;
    line-height: 1.4;
}
.dataList th{
    color: #fff;
    background-color: rgba(136,136,136 ,1);
}
.dataList td{
    padding-top: 5px;
    padding-bottom: 5px;
}

.dataList .list_title{
    background-color: rgba(105,105,105 ,0.6);
    font-weight: bold !important;
    white-space: nowrap;
}

.recordfield textarea{
    resize: none;
    overflow: hidden;
    min-height: 50px;
    max-height: 200px;
}

.ui-autocomplete.ui-front {
    max-height: 400px;
    overflow-y: auto;   /* prevent horizontal scrollbar */
    overflow-x: hidden; /* add padding to account for vertical scrollbar */
    z-index:1000 !important;
}

/* Tooltip container */
.tooltipdiv {
    position: relative;
    display: inline-block;
}

.tooltipdiv img{
    width: 22px;
    height: 22px;
}

/* Tooltip text */
.tooltipdiv .tooltiptext {
    visibility: hidden;
    width: 240px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -220px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltipdiv:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Accordian Menu */
* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.colors {
    width: 260px;
    float: left;
    margin: 20px auto;
}

.colors a {
    width: 43.3px;
    height: 30px;
    float: left;
}

.colors .default {
    background: #414956;
}

.colors .blue {
    background: #4A89DC;
}

.colors .green {
    background: #03A678;
}

.colors .red {
    background: #ED5565;
}

.colors .white {
    background: #fff;
}

.colors .black {
    background: #292929;
}

.form-switch.form-switch-lg {
    margin-bottom: 1.5rem; /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-lg .form-check-input {
    height: 2rem;
    width: calc(3rem + 0.75rem);
    border-radius: 4rem;
}

.form-switch .form-check-input {
    height: 24px;
    width: 48px;
}
.switch-danger.form-switch .form-check-input:focus {
    border-color: rgba(0, 0, 0, 0.25);
    outline: 0;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(0,0,0,0.25)'/></svg>");
}
.switch-danger.form-switch .form-check-input:checked {
    background-color: #f64545;
    border-color: #f64545;
    border: none;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255,255,255,1.0)'/></svg>");
}

.jquery-accordion-menu, .jquery-accordion-menu * {
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    outline: 0
}

.jquery-accordion-menu {
    min-width: 260px;
    float: left;
    position: relative;
    box-shadow: 0 20px 50px #333
}

.jquery-accordion-menu .jquery-accordion-menu-footer, .jquery-accordion-menu .jquery-accordion-menu-header {
    width: 100%;
    height: 50px;
    padding-left: 22px;
    float: left;
    line-height: 50px;
    font-weight: 600;
    color: #f0f0f0;
    background: #414956
}

.jquery-accordion-menu ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.jquery-accordion-menu ul li {
    width: 100%;
    display: block;
    float: left;
    position: relative
}

.jquery-accordion-menu ul li a {
    width: 100%;
    padding: 14px 22px;
    float: left;
    text-decoration: none;
    color: #f0f0f0;
    font-size: 13px;
    background: #414956;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    -o-transition: color .2s linear, background .2s linear;
    -moz-transition: color .2s linear, background .2s linear;
    -webkit-transition: color .2s linear, background .2s linear;
    transition: color .2s linear, background .2s linear
}

.jquery-accordion-menu > ul > li.active > a, .jquery-accordion-menu > ul > li:hover > a {
    color: #fff;
    background: #3b424d
}

.jquery-accordion-menu > ul > li > a {
    border-bottom: solid 1px #3b424d
}

.jquery-accordion-menu ul li a i {
    width: 34px;
    float: left;
    line-height: 18px;
    font-size: 16px;
    text-align: left
}

.jquery-accordion-menu .submenu-indicator {
    float: right;
    right: 22px;
    position: absolute;
    line-height: 19px;
    font-size: 20px;
    -o-transition: transform .3s linear;
    -moz-transition: transform .3s linear;
    -webkit-transition: transform .3s linear;
    -ms-transition: transform .3s linear
}

.jquery-accordion-menu ul ul.submenu .submenu-indicator {
    line-height: 16px
}

.jquery-accordion-menu .submenu-indicator-minus > .submenu-indicator {
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}

.jquery-accordion-menu ul ul.submenu, .jquery-accordion-menu ul ul.submenu li ul.submenu {
    width: 100%;
    display: none;
    position: static
}

.jquery-accordion-menu ul ul.submenu li {
    clear: both;
    width: 100%
}

.jquery-accordion-menu ul ul.submenu li a {
    width: 100%;
    float: left;
    font-size: 11px;
    background: #383838;
    border-top: none;
    position: relative;
    border-left: solid 6px transparent;
    -o-transition: border .2s linear;
    -moz-transition: border .2s linear;
    -webkit-transition: border .2s linear;
    transition: border .2s linear
}

.jquery-accordion-menu ul ul.submenu li:hover > a {
    border-left-color: #414956
}

.jquery-accordion-menu ul ul.submenu > li > a {
    padding-left: 30px
}

.jquery-accordion-menu ul ul.submenu > li > ul.submenu > li > a {
    padding-left: 45px
}

.jquery-accordion-menu ul ul.submenu > li > ul.submenu > li > ul.submenu > li > a {
    padding-left: 60px
}

.jquery-accordion-menu ul li .jquery-accordion-menu-label, .jquery-accordion-menu ul ul.submenu li .jquery-accordion-menu-label {
    min-width: 20px;
    padding: 1px 2px 1px 1px;
    position: absolute;
    right: 18px;
    top: 14px;
    font-size: 11px;
    font-weight: 800;
    color: #555;
    text-align: center;
    line-height: 18px;
    background: #f0f0f0;
    border-radius: 100%
}

.jquery-accordion-menu ul ul.submenu li .jquery-accordion-menu-label {
    top: 12px
}

.ink {
    display: block;
    position: absolute;
    background: rgba(255, 255, 255, .3);
    border-radius: 100%;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0)
}

.animate-ink {
    -webkit-animation: ripple .5s linear;
    -moz-animation: ripple .5s linear;
    -ms-animation: ripple .5s linear;
    -o-animation: ripple .5s linear;
    animation: ripple .5s linear
}

@-webkit-keyframes ripple {
    100% {
        opacity: 0;
        -webkit-transform: scale(2.5)
    }
}

@-moz-keyframes ripple {
    100% {
        opacity: 0;
        -moz-transform: scale(2.5)
    }
}

@-o-keyframes ripple {
    100% {
        opacity: 0;
        -o-transform: scale(2.5)
    }
}

@keyframes ripple {
    100% {
        opacity: 0;
        transform: scale(2.5)
    }
}

.dropZoneHover {
    background: gray;
    box-shadow: inset 1px 1px 15px gray;
}

.delTimeRecord {cursor: pointer;}

/* for modals */
.modal-dialog {
    position: fixed;
    bottom: 10%;
    left: 0%;
    right: 0%;
    transform: translate(-50%, -50%);
}

/* for prelaoder */
#preloader {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:150px;
    height:150px;
    background:lightgrey;
    border:3px solid #3c3c3c;
    border-radius:50%;
    text-align:center;
    line-height:150px;
    font-family:sans-serif;
    font-size:20px;
    color:#fff000;
    letter-spacing:4px;
    text-transform:uppercase;
    text-shadow:0 0 10px #fff000;
    box-shadow:0 0 20px rgba(0,0,0,.5);
}
#preloader:before
{
    content:'';
    position:absolute;
    top:-3px;
    left:-3px;
    width:100%;
    height:100%;
    border:3px solid transparent;
    border-top:3px solid #fff000;
    border-right:3px solid #fff000;
    border-radius:50%;
    animation:animateC 2s linear infinite;
}

#loader {
    display:block;
    position:absolute;
    top:calc(50% - 2px);
    left:50%;
    width:50%;
    height:4px;
    background:transparent;
    transform-origin:left;
    animation:animate 2s linear infinite;
}
#loader:before {
    content:'';
    position:absolute;
    width:16px;
    height:16px;
    border-radius:50%;
    background:#fff000;
    top:-6px;
    right:-8px;
    box-shadow:0 0 20px #fff000;
}
@keyframes animateC
{
    0%
    {
        transform:rotate(0deg);
    }
    100%
    {
        transform:rotate(360deg);
    }
}
@keyframes animate
{
    0%
    {
        transform:rotate(45deg);
    }
    100%
    {
        transform:rotate(405deg);
    }
}
