﻿/*--------------------------------Global--------------------------------*/

* {
    margin: 0;
    padding: 0;
    box-sizing:border-box;
}

a, p, span, input[type=text], input[type=password], textarea, button, input[type=submit], select,
h1, h2, h3, td, th, li, label, b, td {
    font-family: 'Fira Sans', sans-serif;
    font-size:15px;
    font-weight:400;
}

b {
    font-weight:500;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

:root {
    --primary-color: #4696e7; 
    --secondary-color: #3782cf; 
}

/*--------------------------------Common--------------------------------*/

.clsBoxCenter {
    margin: 0 auto;
}

.clsCenterV {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.clsCenterH {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.clsCenterVH {
    position: absolute;
    left: 50%;
    top:50%;
    transform: translate(-50%, -50%);
}

.clsCenterTxt {
    text-align:center;
}

.clsTxtBox {
    border: 1px solid #eee;
    padding: 10px 12px;
    border-radius: 3px;
    outline: none;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    transition: ease-in 0.2s;
}

    .clsTxtBox:focus {
        border: 1px solid lightgrey;
    }

    .clsTxtBox:disabled {
        background-color: #f6f6f6;
    }

    input[type=text].aspNetDisabled, input[type=password].aspNetDisabled, select.aspNetDisabled {
        background-color:#f6f6f6;
    }

.clsBtn {
    display:inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    text-align: center;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    transition:0.2s ease-out;
}

    .clsBtn:hover, .clsBtn:active {
        background-color: var(--secondary-color);
        transition:0.2s ease-in;
    }

.clsSecondary {
    background-color: whitesmoke;
    color: black;
}

    .clsSecondary:hover, .clsSecondary:active {
        background-color: #dfdfdf;
    }

.clsCheckbox label {
    margin-left:3px;
}

.clsLoading {
    display:none;
    position:fixed;
    top:0;left:0;
    width:100%;height:100%;
    background-image:url('/images/loading.gif');
    background-repeat:no-repeat;
    background-position:center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9;
    background-size: 55px;
}

.clsShadow1 {
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.1);
}

/*--------------------------------Login--------------------------------*/

.clsLogin {
    width:350px;
    padding:20px;
    background-color:#ffffff;
}

    .clsLogin p:first-child {
        font-size: 18px;
        margin-bottom: 25px;
        padding-top: 10px;
    }

    .clsLogin input {
        width:100%;
    }

    .clsLogin input[type=text], .clsLogin input[type=password]{
        margin-bottom:10px;
        background-repeat: no-repeat;
        background-size: 18px;
        background-position: 10px center;
        padding-left: 35px;
    }

    .clsLogin span {
        color: DarkRed;
        margin-top: 10px;
        display: block;
    }

/*--------------------------------Site.Master--------------------------------*/

.clsForm {
    width:800px;
    margin:50px auto 0 auto;
    background-color:white;
}

    .clsForm > h2 {
        padding: 20px;
        background-repeat: no-repeat;
        background-position: right 20px center;
        background-size: 28px;
        font-size: 18px;
    }

        .clsForm > h2 a {
            display: inline-block;
            width: 20px;
            height: 20px;
            background-image: url(/Images/back-arrow.png);
            background-repeat: no-repeat;
            background-position: left 2px;
            background-size: 100% 100%;
            margin-right: 10px;
        }

    .clsForm > div {
         padding:20px;
         border-top:1px solid #eee;
    }

    .clsForm .clsRow {
        display:flex;
    }

    .clsForm .clsSplitSec {
        margin-top:40px;
    }

    .clsForm .clsRow:not(:last-child) {
        margin-bottom:10px;
    }

        .clsForm .clsRow .clsCol {
           flex:1;
        }

            .clsForm .clsRow .clsCol .clsCol-Name, .clsForm .clsRow .clsCol .clsCol-Value {
                display:inline-table;
                vertical-align:top;
            } 

            .clsForm .clsRow .clsCol .clsCol-Name {
                text-align:right;
                padding-right:5px;
                width:125px;
            }

            .clsForm .clsRow .clsCol p.clsCol-Name {
                padding: 10px 10px 10px 15px;
            }

                .clsForm .clsRow .clsCol .clsCol-Name span {
                    color:darkred;
                }

            .clsForm .clsRow .clsCol .clsCol-Value {
                width: 250px;
            }

            .clsForm .clsRow .clsCol div.clsCol-Value {
                padding: 10px 0px;
            }

            .clsForm .clsRowFull .clsCol .clsCol-Value {
                width: 630px;
            }

.clsGrd-Box {
    width:90%;
    margin:50px auto 0 auto;
    background-color:white;
}

    .clsGrd-Box .clsHead {
        position:relative;
        padding: 25px 20px;
        z-index:1;
    }

        .clsGrd-Box .clsHead h2 {
            background-repeat: no-repeat;
            background-position: 0 center;
            background-size: auto 100%;
            font-size: 18px;
            padding-left: 35px;
        }

        .clsGrd-Box .clsHead .clsHead-Controls {
            position:absolute;
            right:20px;
            top:50%;
            transform:translateY(-50%);
        }

    .clsGrd {
        width:100%;
    }

        .clsGrd, .clsGrd th, .clsGrd tr, .clsGrd td {
            border:none;
        }

            .clsGrd th {
                background-color: whitesmoke;
                border-right:1px solid #e7e7e7;
                padding: 10px 5px;
                font-weight: 500;
            }

                .clsGrd th:last-child {
                    border-right:none;
                }

            .clsGrd tr:nth-child(odd) {
                background-color:rgba(249, 249, 249, 0.44);
            }

            .clsGrd.clsFooter > tbody > tr:last-child {
                background-color: whitesmoke;
            }

            .clsGrd tr:hover {
                background-color: #f3faff;
            }

            .clsGrd td {
                padding: 10px;
                border-top:2px solid whitesmoke;
                border-right:1px solid whitesmoke;
            }

                .clsGrd td:last-child {
                    border-right:none;
                }

                .clsGrd td a {
                    text-decoration:none;
                    color: #367fa9;
                }

                .clsGrd td a:hover {
                    color:black;
                }

                .clsLnkExpand {
                    text-decoration:none;
                    display: inline-block;
                    border: 1px solid;
                    border-radius: 50%;
                    width: 20px;
                    height: 20px;
                    font-size: 18px;
                    line-height: 19px;
                }

                .clsDetailRow {
                    background: white !important;
                }

                .clsDetailRow:hover{
                    background: unset !important;
                }

                .clsDetail h3 {
                    padding: 3px 0;
                    color: #367fa9;
                }

                .clsDetail p {
                    padding: 3px 0;
                    margin-bottom: 10px;
                }

                .clsDetail table {
                    border: 1px solid #eee;
                }

            .clsGrdPager:hover {
                background-color:white !important;
            }

                .clsGrdPager tr:hover {
                    background-color:white !important;
                }

            .clsGrdPager table td {
                border: none;
                padding: 2px;
            }

                .clsGrdPager table td span, .clsGrdPager table td a {
                    display: inline-block;
                    width: 20px;
                    height: 24px;
                    text-align: center;
                    padding: 2px;
                }

                .clsGrdPager table td span {
                    background-color: #4c9ae6;
                    border: 1px solid #3782cf;
                    border-radius: 3px;
                    color: white;
                }

                .clsGrdPager table td a {
                    border: 1px dashed lightgrey;
                    border-radius: 3px;
                }

.clsErrMsg{
    padding:30px;
    margin-top:50px;
    background-color:white
}

    .clsErrMsg h1 {
        padding-left: 78px;
        background-image: url(/images/error.png);
        background-repeat: no-repeat;
        background-position: left 4px;
        line-height: 32px;
        font-weight: 300;
        margin-bottom: 20px;
        font-size: 25px;
        background-size: 60px;
        color: #e04f5f;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }

    .clsErrMsg p {
        font-size: 15px;
        color: #616161;
    }

    .clsErrMsg a {
        display:block;
        font-size: 15px;
        color: #0a55a6;
        margin-top:30px;
        text-align:center;
    }

#dvToasts{
    position: fixed;
    z-index: 999;
    top: 70px;
    right: 0px;
}

    .clsToast {
        opacity: 0.9;
        display: block;
        position: relative;
        overflow: hidden;
        margin-top: 10px;
        margin-right: 10px;
        padding: 20px;
        width: 300px;
        border-radius: 3px;
        color: white;
        right: -400px;
    }

    .clsToast p{
        font-weight:500;
    }

    .clsNormal {
        background: var(--primary-color);
    }

    .clsSuccess {
        background: #47cf97;
    }

    .clsError {
        background: #cd4040;
    }

.clsPermissionMsg {
    padding: 30px;
    text-align: center;
    background-image: url(/images/warning.png);
    background-repeat: no-repeat;
    background-position: center 30px;
    background-size: 45px;
    padding-top: 90px;
    line-height: 20px;
    width: 400px;
}

/*--------------------------------Site Master--------------------------------*/

body {
    background-color: #f6f6f6;
}

header {
    position:fixed;
    left:0;right:0;top:0;
    background-color: var(--primary-color); 
    background: linear-gradient(to right, rgb(73, 155, 234) 0%, rgb(82, 153, 221) 100%);
    height:60px;
    overflow: hidden;
    z-index: 2;
}

    header .clsLeft {
        left: 20px;
    }

        header .clsLeft .clsBrand {
            margin-top: 5px;
        }

            header .clsLeft .clsBrand a {
                color:white;
            }

            header .clsLeft .clsBrand a:first-child {
                margin-right:10px;
                font-size:22px;
            }

            header .clsLeft .clsBrand a:last-child {
                 font-family: 'Galada', cursive;
                 font-size:25px;
            }

    header .clsMid {

    }

        header .clsMid .clsSearch input[type=text] {
            background-color: var(--secondary-color);
            border: none;
            color: white;
            padding: 10px 20px;
            width: 550px;
            border-radius: 80px;
            background-image: url(/images/search.png);
            background-repeat: no-repeat;
            background-size: 16px;
            background-position: 15px center;
            padding-left: 38px;
            outline:none;
        }

            header .clsMid .clsSearch input[type=text]::-webkit-input-placeholder { /* Chrome/Opera/Safari */
                color: white;
            }
            header .clsMid .clsSearch input[type=text]::-moz-placeholder { /* Firefox 19+ */
                color: white;
            }
            header .clsMid .clsSearch input[type=text]:-ms-input-placeholder { /* IE 10+ */
                color: white;
            }
            header .clsMid .clsSearch input[type=text]:-moz-placeholder { /* Firefox 18- */
                color: white;
            }

        header .clsMid .clsSearch a {
            color:white;
            background-repeat: no-repeat;
            background-size: 17px;
        }

        header .clsMid .clsSearch a:first-child {
            margin-right:30px;
            background-image: url(/images/up.png);
            padding-left: 20px;
            background-position: left 0px;
        }

            header .clsMid .clsSearch a:first-child:hover {
                animation: slideUp 1s linear infinite;
            }

        header .clsMid .clsSearch a:last-child {
            margin-left:30px;
            background-image: url(/images/down.png);
            padding-right: 20px;
            background-position: right 0px;
        }

            header .clsMid .clsSearch a:last-child:hover {
                animation: slideDown 1s linear infinite;
            }

        @keyframes slideUp {
          0% {
            background-position: left 10px;
          }
          100% {
            background-position: left -20px;
          }
        }

        @keyframes slideDown {
          0% {
            background-position: right -20px;
          }
          100% {
            background-position: right 10px;
          }
        }

    header .clsRight {
        position:absolute;
        right: 0;
    }

        header .clsRight .clsUserName {
            display:inline-table;
            vertical-align:top;
            padding:13px 10px 0 0px;
        }

         header .clsRight .clsUserName span, header .clsRight .clsUserName a {
            display:block;
            color:white;
            text-align:right;
         }

            header .clsRight .clsUserName span {
                 font-size:15px;
            }

            header .clsRight .clsUserName a {
                font-size: 13px;
                background-image: url(/images/logout.png);
                background-repeat: no-repeat;
                background-size: 12px;
                background-position: center right;
                padding-right: 18px;
                margin-top: 3px;
            }

        header .clsRight .clsUserImg {
            display:inline-block;
            height:60px;
            width:60px;
        }

nav {
    position:fixed;
    left:0;
    top:60px;
    bottom:0;
    width:230px;
    background-color:white;
    transition: left ease-out 0.3s;
    z-index:2;
    overflow-y:auto;
}

nav.clsMenuClosed {
    left:-230px !important;
}

nav p {
    padding: 15px 15px 5px 15px;
    color: #959595;
    font-size: 14px;
}

nav ul {
    margin-bottom:20px;
}

    nav ul:first-child {
        margin-top:20px;
    }

    nav ul li {

    }

        nav ul li a {
            border-left: 3px solid white;
            display:block;
            color:black;
            padding:5px 38px;
            background-repeat:no-repeat;
            background-position:15px center;
            background-size:16px;
        }

             nav ul li a:hover {
                background-color: #f6f6f6;
                border-left: 3px solid #4b9ae7;
             }

        nav ul li a.clsSel {
            background-color: #f6f6f6;
            border-left: 3px solid #4b9ae7;
            padding: 15px 38px;
            font-weight: 500;
        }

.clsPage{
    transition: margin ease-out 0.3s;
    padding:50px 0;
}

.clsPageWithMenu {
    margin-left:230px;
}

/*--------------------------------Dashboard--------------------------------*/

.clsDashboard {
    padding:30px;
}

    .clsCard {
        display:inline-table;
        vertical-align:top;
        background-color:white;
        padding:30px;
        width:250px;
        margin:0 10px 15px 0;
    }

        .clsCard:not(.clsUserLogs) h2 {
            font-weight: 300;
            color: #7f7f7f;
            font-size:16px;
        }

            .clsCard:not(.clsUserLogs)  h2 span {
                font-weight: 300;
                font-size: 45px;
                background: -webkit-linear-gradient(#599ee2, #486899);
                 -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
            }

            .clsCard:not(.clsUserLogs)  h2 span.green {
                background: -webkit-linear-gradient(#4b9ae7, #1f9e40);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
            }

            .clsCard:not(.clsUserLogs)  h2 span.red {
                background: -webkit-linear-gradient(#ff6262, #631e74);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
            }

        .clsCard:not(.clsUserLogs)  > p {
            margin-top:5px;
            color: #8b8b8b;
            height:36px;
        }

        .clsCard:not(.clsUserLogs)  ul {
            margin-top: 15px;
            border-top: 1px solid #eee;
            padding-top: 15px;
            min-height:144px;
        }

            .clsCard:not(.clsUserLogs)  ul li {
                margin-bottom:10px;
            }

                .clsCard:not(.clsUserLogs)  ul li img {
                    width:32px;
                    display:inline-block;
                    border-radius:50%;
                }

                .clsCard:not(.clsUserLogs)  ul li p {
                    margin-left:5px;
                    display:inline-table;
                    vertical-align:top;
                    color: #373737;
                }

                    .clsCard:not(.clsUserLogs)  ul li p span {
                        display:block;
                        color: #7f7f7f;
                    }

        .clsCard > a {
            margin-top: 15px;
            border-top: 1px solid #eee;
            padding-top: 15px;
            display:block;
            text-align:center;
            color:var(--primary-color);
        }

         .clsCard > a:hover {
              color:var(--secondary-color);
         }

    .clsUserLogs {
        width:515px;
        height:363px;
    }

        .clsUserLogs > p {
            color: #8b8b8b;
        }

        .clsUserLogs > ul {
            margin-top: 15px;
            border-top: 1px solid #eee;
            padding-top: 15px;
            min-height: 221px;
            max-height: 221px;
            overflow-y: hidden;
            position:relative;
        }

        .clsUserLogs > ul:after {
          content:'';
          width:100%;
          height:100%;    
          position:absolute;
          left:0;
          bottom:0;
          background:linear-gradient(transparent 170px, white);
        }

        .clsUserLogs > ul li {
            display:flex;
        }

        .clsUserLogs > ul li:not(:last-child) {
            margin-bottom:5px;
        }

            .clsUserLogs > ul li span:first-child {
                background-repeat: no-repeat;
                background-position: 3px center;
                background-size: 16px;
                color: #7f7f7f;
                background-color:whitesmoke;
                padding: 3px 3px 3px 22px;
                margin-right:5px;
                width:88px;
                display: inline-table;
            }

            .clsUserLogs > ul li span:last-child {
                flex:1;
                color: #373737;
            }

/*--------------------------------Add Modify Stock--------------------------------*/

.clsCustomField {
    margin-left: 130px;
    border: 1px dashed #eee;
    padding: 20px;
}

    .clsCustomField > h2 {
    }

        .clsCustomField > h2 a {
            color:var(--primary-color);
        }

        .clsCustomField > h2 a:hover {
            color:var(--secondary-color);
        }

    .clsCustomField .clsFieldSet {
    }

        .clsCustomField .clsField {
            margin-top:10px;
            display:flex;
        }

            .clsCustomField .clsField input[type=text]:first-child {
                width:200px;
                margin-right:5px;
            }

            .clsCustomField .clsField input[type=text]:nth-child(2) {
                width:350px;
            }

             .clsCustomField .clsField a {
                background-image: url(/Images/lost.png);
                background-repeat: no-repeat;
                background-size: 100% 100%;
                display: inline-table;
                vertical-align: top;
                width: 20px;
                height: 20px;
                margin-top: 10px;
                margin-left: 5px;
                opacity: 0.7;
                outline:none;
                transition: ease-in 0.2s;
             }

                .clsCustomField .clsField a:hover, .clsCustomField .clsField a:focus {
                    opacity: 1;
                }

/*--------------------------------Outwards--------------------------------*/

.clsOutwards #txtSearch {
    background-repeat: no-repeat;
    background-size: 16px;
    padding-left: 32px;
    background-image: url(/images/search_grey.png);
    background-position: 10px center;
}

.clsOutwards #txtSearch.Normal {
    
}

.clsOutwards #txtSearch.Loading {
    background-image: url(/images/search_grey.png), url(/Plugin/JqueryUI/images/ui-anim_basic_16x16.gif);
    background-position: 10px center, right 10px center;
}

.clsOutwards .clsStocks {
    display:none;
    margin-left: 130px;
    background-color: #f6f6f6;
    padding: 15px;
    max-height:228px;
    overflow-y:auto;
}

    .clsOutwards .clsStock {
        padding: 15px;
        border-left: 3px solid var(--primary-color);
        background-color: white;
        display:flex;
    }

    .clsOutwards .clsStock:not(:last-child) {
        margin-bottom:10px;
    }

        .clsOutwards .clsStock div:first-child {
            flex:1;
        }

            .clsOutwards .clsStock h2 {
                font-weight:500;
                margin: 5px 0;
            }

                .clsOutwards .clsStock h2 span {
                    margin-left: 5px;
                    color: #a0a0a0;
                    font-size: 14px;
                }

            .clsOutwards .clsStock p {
                color: #626262;
                margin-bottom: 7px;
                font-size: 14px;
            }

            .clsOutwards .clsStock table tr td {
                font-size:14px;
            }

            .clsOutwards .clsStock table tr td:first-child {
                padding: 3px 5px 3px 3px;
                background-color: whitesmoke;
            }

            .clsOutwards .clsStock table tr td:last-child {
                padding: 3px;
            }

    .clsForm .clsOutwards .clsRow .clsCol div.clsCol-Value.clsStockAdded {
        background-color: #f6f6f6;
        padding:15px;
        display: inline-block;
        max-height:228px;
        overflow-y:auto;
    }

        .clsOutwards .clsStockAdded .clsStock a {
            background-color: #f17070;
        }

/*--------------------------------Inwards--------------------------------*/

.clsInwards #dvStockAssigned {
    min-height:80px;
    padding:15px;
    background-color: #f6f6f6;
    display: inline-block;
    max-height: 430px;
    overflow-y: auto;
}

    .clsInwards .clsStock {
        background-color: white;
    }

    .clsInwards .clsStock:not(:last-child) {
        margin-bottom:15px;
    }

        .clsInwards .clsStock h2 {
            background-color: #727272;
            background: linear-gradient(to right, rgb(88, 88, 88) 0%, rgb(112, 112, 112) 100%);
            padding: 20px;
            color: white;
            font-size: 18px;
        }

            .clsInwards .clsStock h2 span {
                font-size: 15px;
            }

        .clsInwards .clsStock > div {
            padding:20px;
        }

            .clsInwards .clsStock > div p {
                margin-bottom:10px;
            }

            .clsInwards .clsStock > div p:first-child {
            }

            .clsInwards .clsStock > div p:nth-child(2) {
                background: #ffffdb;
                padding: 15px;
                border-radius: 4px;
            }

            .clsInwards .clsStock table tr td {
                font-size:14px;
            }

            .clsInwards .clsStock table tr td:first-child {
                padding: 3px 5px 3px 3px;
                background-color: whitesmoke;
            }

            .clsInwards .clsStock table tr td:last-child {
                padding: 3px;
            }

        .clsInwards .clsStock > div:last-child {
            border-top:1px solid #eee;
            display:flex;
        }

        .clsInwards .clsStock > div:last-child input[type=text] {
            margin-right:5px;
        }

        .clsInwards .clsStock > div:last-child input[type=text]:nth-child(2) {
            flex:1;
        }