﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@media (min-width: 1080px) {
    #Shortcut a {
        width: 10%;
    }
}

@media (max-width: 642px) {
    #Shortcut a {
        width: 15%;
    }
}

@media (max-width: 452px) {
    #Shortcut a {
        width: 22%;
        font-size: 12px;
        margin: 1px;
        font-weight: bold;       
    }
}
.custom-headerL {
    position: sticky;
    top: 0;
    z-index: 3;
    background-color: #333;
    padding:2px;
}
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}
/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

/*Modal*/
.modal-dialog {
    margin-top: 5%;
}

.modal-header, #myModalHeader {
    background-color: #ffa500;
    padding: 15px 0 15px 0;
}

#myModalLabel {
    margin-left: 160px;
    font-weight: bold;
}

#myModalFooter {
    background-color: #ffa500;
}
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.container-fluid {
    padding: 0px !important;
}

input.form-control {
    font-size: 14px !important;
    height: 28px !important;
}

.tableFixed {
    height: 200px;
    overflow: auto;
    width: 100%
}
.tableFixedH {
    height: 320px;
    overflow: auto;
    width: 100%
}
#TableH, #theadH {
    background-color: #ffa500;
    position: sticky;
    top: 0px;
}
#TableH, #tBody2 {
    background-color: white;
}

table {
    width: 100% !important;
}

input:focus {
    border-color: #000 !important;
}


/*--------Toggle Button---------*/
ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tg-list {
    text-align: center;
    display: flex;
    align-items: center;
}

h2 {
    color: #777;
}

h4 {
    color: #999;
}

.tgl {
    display: none;
}

    .tgl, .tgl:after, .tgl:before, .tgl *, .tgl *:after, .tgl *:before, .tgl + .tgl-btn {
        box-sizing: border-box;
    }

        .tgl::selection, .tgl:after::selection, .tgl:before::selection, .tgl *::selection, .tgl *:after::selection, .tgl *:before::selection, .tgl + .tgl-btn::selection {
            background: none;
        }

        .tgl + .tgl-btn {
            outline: 0;
            display: block;
            width: 5em;
            height: 2em;
            position: relative;
            cursor: pointer;
            user-select: none;
        }

            .tgl + .tgl-btn:after, .tgl + .tgl-btn:before {
                position: relative;
                display: block;
                content: "";
                width: 50%;
                height: 100%;
            }

            .tgl + .tgl-btn:after {
                left: 0;
            }

            .tgl + .tgl-btn:before {
                display: none;
            }

        .tgl:checked + .tgl-btn:after {
            left: 50%;
        }

.tgl-skewed + .tgl-btn {
    overflow: hidden;
    transform: skew(-10deg);
    backface-visibility: hidden;
    transition: all 0.2s ease;
    font-family: sans-serif;
    background: #5a6268;
}

    .tgl-skewed + .tgl-btn:after, .tgl-skewed + .tgl-btn:before {
        transform: skew(10deg);
        display: inline-block;
        transition: all 0.2s ease;
        width: 100%;
        text-align: center;
        position: absolute;
        line-height: 2em;
        font-weight: bold;
        color: #fff;
        text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
    }

    .tgl-skewed + .tgl-btn:after {
        left: 100%;
        content: attr(data-tg-on);
    }

    .tgl-skewed + .tgl-btn:before {
        left: 0;
        content: attr(data-tg-off);
    }

    .tgl-skewed + .tgl-btn:active {
        background: #888;
    }

        .tgl-skewed + .tgl-btn:active:before {
            left: -10%;
        }

.tgl-skewed:checked + .tgl-btn {
    background: #fe8b10;
}

    .tgl-skewed:checked + .tgl-btn:before {
        left: -100%;
    }

    .tgl-skewed:checked + .tgl-btn:after {
        left: 0;
    }

    .tgl-skewed:checked + .tgl-btn:active:after {
        left: 10%;
    }


/*--------Toggle Button---------*/


/* alert box jquery confirm css*/
.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content {
    overflow: hidden !important;
}


/*Orange button btn-create class*/
.btn-add {
    color: #fff !important;
    background-color: #5a6268 !important;
    border-color: #5a6268 !important;
}

    .btn-add:hover {
        color: #fff !important;
        background-color: #fe8b10 !important;
        border-color: #fe8b10 !important;
    }

.btn-add-inverse {
    color: #fff !important;
    background-color: #fe8b10 !important;
    border-color: #fe8b10 !important;
}

    .btn-add-inverse:hover {
        color: #fff !important;
        background-color: #5a6268 !important;
        border-color: #5a6268 !important;
    }

/*Form control focus */
.form-control:focus {
    border-color: #fe8b10 !important;
    box-shadow: 0 0 15px #fe8b10 !important;
}

.login100-form-bgbtn {
    background: -webkit-linear-gradient(right, #f7741d, #404040, #f7741d, #404040) !important;
    border: 1px solid white !important;
}

.custom-header {
    background-color: #333;
    color:white;
}

/*-----Urdu Font------*/
@font-face{
    src: url(../fonts/urdu.ttf);
    font-family: 'noto urdu';
    font-size: 25px;
}

.urdu{
    font-family: 'noto urdu';
}
/*----Urdu Font------*/

/*----Loader------*/
.loader{
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: white;
}

.lds-dual-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    width: 80px;
    height: 80px;
}

    .lds-dual-ring:after {
        content: " ";
        display: block;
        width: 64px;
        height: 64px;
        margin: 8px;
        border-radius: 50%;
        border: 6px solid #333;
        border-color: #333 transparent #333 transparent;
        animation: lds-dual-ring 1.2s linear infinite;
    }

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*----Loader------*/
.select2-result-repository{
    overflow:hidden;
}
/*-------Logout Button----------*/
#btnlogout {
    border: 1px solid #e36e1f;
}

#btnlogout:hover {
    background-color: #e36e1f;
}
/*-- Upload Buuton --*/
.holder {
    height: 250px;
    width: 100%;
    border: 3px solid #fcd554;
    margin-top: 10px;
    box-shadow: 2px 2px 5px 2px;   
}

#imgPreview {
    max-width: 100%;
    max-height: 200px;
    min-width: 100%;
    min-height: 200px;
}
/*----Product Search Modal------*/
#prmodal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    /*padding-top: 40px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100vh; /* Full height */
    /*overflow: hidden; /*Enable scroll if needed */
    background-color: rgba(0,0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content */
#modalcontent {
    position: relative;
    background-color: white;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 100%;
    height: 100%;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}
/*--close button--*/
#CMbtn {
    background-color: white;
    color: black;
    border-color: #fc5b11
}

    #CMbtn:hover {
        background-color: #fc5b11;
        color: white;
    }

#modalheader {
    padding: 2px 450px;
    background-color: #333;
}

#modaltitle {
    color: white;
}

#modalbody {
    padding: 30px 40px;
    height: 100%;
    width: 100%;
}

.modal-body {
    padding: 20px 30px;
    height: 100%;
    width: 100%;
    overflow: auto;
}

#MTable #theadpr {
    position: sticky;
    top: 0px;
}

#MTable th {
    background-color: #5a6268;
    color: #fff;
}

#mtable {
    height: 80%;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}

#modalfooter {
    padding: 10px 40px;
    background-color: white;
    color: white;
}
/*-----Modal UP Down Key-----*/
.highlight_row {
    background-color: #fc5b11;
    opacity: 1;
}

.hidden {
    display: none;
}