html, body {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

body {
    position: relative;
    min-height: 100vh;
    overflow-y: auto;
}

.custom-control-label {
    cursor: pointer;
}

a:hover {
    color: #0056b3;
    text-decoration: none;
}
/*Datepicker CSS Start*/
#datepicker > span:hover {
    cursor: pointer;
}

.input-group-addon, .input-group-btn, .input-group .form-control {
    display: table-cell;
}

.input-group-addon, .input-group-btn { /*width: 1%;*/
    white-space: nowrap;
    vertical-align: middle;
}

.input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-left-color: rgb(204, 204, 204);
    border-left-style: solid;
    border-left-width: 1px;
    border-radius: 4px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

    .input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group > .btn, .input-group-btn:last-child > .dropdown-toggle, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .input-group-addon:last-child {
        border-left: 0;
    }

    .input-group-addon i.fa-calendar {
        position: relative;
        top: 5px;
    }

/*Datepicker Customise CSS*/
.datepicker.dropdown-menu {
    min-width: 275px;
}

.table-condensed {
    width: 100%;
}

.datepicker.dropdown-menu th, .datepicker.dropdown-menu td {
    padding: 7px 5px;
}

.datepicker table tr td.today, .datepicker table tr td.today:hover, .datepicker table tr td.today.disabled, .datepicker table tr td.today.disabled:hover {
    background-color: #006dcc;
    background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
    background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
    background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
    background-image: -o-linear-gradient(top, #0088cc, #0044cc);
    background-image: linear-gradient(top, #0088cc, #0044cc);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
    border-color: #0044cc #0044cc #002a80;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    position: relative;
}

.datepicker table tbody tr > td.today:before {
    content: '' !important;
    display: inline-block !important;
    border: solid transparent !important;
    border-width: 0 0 7px 7px !important;
    border-bottom-color: #fff !important;
    border-top-color: rgba(0,0,0,0.2) !important;
    position: absolute !important;
    bottom: 4px !important;
    right: 4px !important;
}

.datepicker table tr td.today:hover:hover {
    color: #fff;
}
/*Datepicker CSS End*/

/*Clockpicker CSS Start*/
.popover.bottom {
    margin-top: 10px;
}

.popover > .arrow, .popover > .arrow::after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-bottom-color: transparent;
    border-style: solid;
}

    .popover > .arrow::after {
        border-width: 10px;
        border-top-width: 10px;
        content: "";
    }

.popover.bottom > .arrow::after {
    content: " ";
    top: 1px;
    margin-left: -10px;
    border-top-width: 0;
    border-bottom-color: #fff;
}

.clockpicker-popover .popover-title {
    border-radius: 5px 5px 0 0;
}

.popover > .arrow {
    border-width: 11px;
}

.popover.bottom > .arrow {
    left: 50%;
    margin-left: -11px;
    border-top-width: 0;
    border-bottom-color: #999;
    border-bottom-color: rgba(0,0,0,.25);
    top: -11px;
}

.clockpicker-align-left.popover > .arrow {
    left: 25px !important;
}

.input-group-addon i.fa-clock-o {
    position: relative;
    top: 5px;
}
/*Clockpicker CSS End*/

/*Horizontal Tabs CSS*/
#HTabs .nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    color: #222;
    font-size: 18px;
}

#HTabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #007bff !important;
    background-color: transparent;
    border-color: transparent transparent #f3f3f3;
    border-bottom: 4px solid !important;
    font-size: 18px;
}

#HTabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    border-bottom: 4px solid #007bff !important;
}

/*Vertical Tabs CSS*/
#VTabs .nav.nav-tabs {
    float: left;
    display: block;
    border-bottom: 0;
    width: 20%;
}

#VTabs .nav-tabs .nav-link.active {
    color: #fff !important;
    background-color: #007bff !important;
    border-color: transparent !important;
    font-size: 1rem !important;
    display: block;
    border: 0 !important;
    border-radius: 5px 0 0 5px !important;
    position: relative;
}

#VTabs .nav-tabs .nav-link {
    border: 0 !important;
    border-top-left-radius: 0rem !important;
    border-top-right-radius: 0rem !important;
    color: #000;
    font-size: 1rem;
}

    #VTabs .nav-tabs .nav-link:hover {
        background: #ddd;
        color: #000;
        border-radius: 5px 0 0 5px !important;
    }

#VTabs .tab-content > .active {
    display: block;
    background: #fff;
    min-height: 161px;
    border: 1px solid #ddd;
    border-radius: 0 5px 5px 0;
    padding: 10px;
    text-align: justify;
}

#VTabs .nav-tabs .nav-item {
    margin-bottom: 0px;
}

#VTabs .tab-content {
    float: left;
    width: 80%;
}

#VTabs img.VTabArrow {
    position: absolute;
    top: 10px;
    right: -9px;
    display: none;
}

#VTabs .nav-tabs .nav-link.active img.VTabArrow {
    display: block;
}

/*Accordian CSS*/
.md-accordion .card .fa-angle-down {
    float: right;
}

.md-accordion .card .card-header a:not(.collapsed) .rotate-icon {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.md-accordion .card .card-header h5 {
    font-size: 18px;
    font-weight: 400;
}

/*Combobox CSS*/
.combobox-container .dropdown-toggle::after {
    position: relative;
    top: 5px;
}

.combobox-container .dropdown-menu {
    min-width: 100%;
}


/***** New CSS - Sudip *****/
/* Global scrollbar and viewport styles */
html, body {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: #3db0ad #1b2e55;
}

    body::-webkit-scrollbar {
        width: 8px;
    }

    body::-webkit-scrollbar-track {
        background: #1b2e55;
        border-radius: 4px;
    }

    body::-webkit-scrollbar-thumb {
        background: #3db0ad;
        border-radius: 4px;
    }

        body::-webkit-scrollbar-thumb:hover {
            background: #2a8f8c;
        }

header {
    background: #13294b;
    position: fixed;
    z-index: 9;
    width: 100%;
}

.siteLogo {
    padding: 10px 0;
    width: 290px;
    position: fixed;
    left: 50%;
    margin-left: -145px;
}

    .siteLogo img {
        width: 90%;
    }

.siteMenu {
    float: right;
}

.dropMenu {
    position: absolute;
    top: 85%;
    left: -20px;
    z-index: 1000;
    display: none;
    min-width: 225px;
    padding: 0 0 .5rem 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
}

    .dropMenu a {
        display: block;
        width: 100%;
        padding: .25rem 1.5rem !important;
        clear: both;
        font-weight: 400;
        color: #212529 !important;
        text-align: inherit;
        white-space: nowrap;
        background-color: transparent;
        border: 0 !important;
        border-radius: .25rem;
    }

        .dropMenu a:hover {
            border: 0 !important;
        }

        .dropMenu a:focus, .dropMenu a:hover {
            color: #16181b;
            text-decoration: none;
            background-color: #f8f9fa;
        }

        .dropMenu a.active, .dropMenu a:active {
            color: #fff !important;
            text-decoration: none;
            background-color: #007bff;
        }

.burgMenu {
    position: relative;
    float: left;
    padding: 26px 25px;
}

    .burgMenu i {
        font-size: 20px;
        color: #fff;
    }

#burgMenuDrop {
    min-width: 180px;
    top: 64%;
    right: 25px;
    left: auto;
}

.divider {
    height: 1px;
    margin: 0;
    overflow: hidden;
    background-color: #e5e5e5;
}

.push {
    height: 76px;
}

#bg {
    position: fixed;
    top: 0;
    left: 0;
    /* Preserve aspect ratio */
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}

.innerDiv, .innerDiv2 {
    height: auto;
    min-height: 100%;
    background: url("../images/cameramatics_logo2.png") no-repeat left bottom;
/*    border-bottom: 5px solid #3db0ad;*/
    position: relative;
}

.divCenter {
    min-height: 298px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -112px;
    margin-left: -430px;
}

.innerTwoBox {
    width: 335px;
    background: #13294b;
    box-shadow: 0 0 20px #0f1723;
    border-left: 5px solid #3db0ad;
    padding: 30px 0;
    text-align: center;
}

.boxLft {
    float: right;
    margin-right: 65px;
}

.boxRht {
    float: left;
    margin-left: 65px;
}

.innerTwoBox h3 {
    padding: 30px 0 0 0;
    margin: 0;
    font-size: 19px;
    color: #fff;
}

/*Login Page CSS*/
.innerDiv {
    text-align: center;
}

.loginDiv {
    position: relative;
    left: auto;
    top: auto;
    margin: 20px auto;
    text-align: center;
    padding: 20px;
    min-height: calc(100vh - 40px);
}

.loginBox {
    width: 600px;
    margin: 0 auto;
    background: #13294b;
    box-shadow: 0 0 20px #0f1723;
    border-left: 5px solid #3db0ad;
    padding: 20px 70px;
    color: #fff;
    text-align: left !important;
}



label.fieldLable {
    position: relative;
}

    label.fieldLable img.user {
        width: 29%;
        position: absolute;
        top: 3px;
        left: 79px;
    }

    label.fieldLable img.pass {
        width: 29%;
        position: absolute;
        top: 2px;
        left: 72px;
    }

.btn-blue {
    color: #fff;
    background-color: #071426;
    border-color: #071426;
    min-width: 100px;
}

    .btn-blue:hover {
        color: #fff;
        background-color: #3db0ad;
        border-color: #3db0ad;
    }

.btn.login {
    float: left;
}

.btn.register {
    float: right;
}

p.forgot {
    padding: 20px 0 0 0;
    margin: 0;
    font-size: 16px;
}

    p.forgot a {
        color: #3db0ad;
    }

.box-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

    .box-wrap.top {
        margin-top: 40px;
    }

.innerTwoBox {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 23px 45px;
    position: relative;
    flex-wrap: wrap;
}

    .innerTwoBox.add-alert {
        margin-bottom: 70px;
    }

.tacho-alert {
    background: #13294b;
    padding: 26px 20px;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 1px;
    position: absolute;
    left: 50%;
    top: 50%;
    box-shadow: 0px 5px 6px #2d333a85;
    color: #fff;
    transform: translate(-50%,-50%);
    z-index: 9;
    min-width: 240px;
    border-radius: 8px;
    cursor: pointer;
    display: none;
}

.tacho-inactive:hover {
    cursor: pointer;
}

.in-active.tacho-inactive {
    cursor: not-allowed;
}

.tacho-inactive a:hover .tacho-alert, .tacho-inactive:hover .tacho-alert {
    display: block;
}

.tacho-alert strong {
    color: #fff;
}

.tacho-inactive {
    background: #888b8d;
    border-left: 5px solid #626262;
}

    .tacho-inactive a h3 {
        color: #626262;
    }

    .tacho-inactive a img {
        -webkit-filter: invert(100%);
        filter: invert(62%);
    }

.innerTwoBox img {
    max-width: 180px;
}

.innerTwoBox h3 {
    padding: 30px 0 0 0;
    margin: 0;
    font-size: 19px;
    color: #fff;
    font-weight: 300;
    letter-spacing: 1px;
    width: 100%;
}

/* Evolving panel scroll behavior */
.evolving-panel {
    /* No scrolling applied */
}

/* Ensure the login page can scroll when content exceeds viewport */
body {
    overflow-y: auto;
    height: auto;
}

/* Login elements - no custom scrollbar styling */


/*---for screen shrink--*/
@media screen and (max-height: 720px) {
    .box-wrap {
        flex-wrap: inherit;
    }

        .box-wrap.top {
            margin-top: 0px;
        }

    .innerTwoBox {
        margin: 0 5px 10px;
        padding: 15px;
        max-width: 150px;
        min-height: 130px;
    }

        .innerTwoBox img {
            max-width: 76px;
        }

        .innerTwoBox h3 {
            font-size: 14px;
            padding: 10px 0px 0px 0px;
        }

    .tacho-alert {
        padding: 15px 5px;
        font-size: 12px;
        line-height: 15px;
        min-width: 124px;
    }

    .box-float-center {
        height: auto;
        padding: 0px;
    }

    .wraphight {
        display: flex;
        height: 80vh;
        align-items: center;
    }
}
