/* 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. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.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%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    /*position: absolute;*/
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    font-size: 12px;
}

    .footer.border-top {
        border-top: 1px solid #425161 !important;
    }

body {
    color: #5D5F63;
    /*background: #293949;*/
    font-family: 'Open Sans', sans-serif;
    padding: 0;
    margin: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

header nav,
header nav form button.btn {
    font-size: 13px;
}

    header nav form button.btn {
        background: #293949;
        color: #fff !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

.sidebar-toggle {
    margin-left: -240px;
}

.side_menu_toggler {
    background: rgba(0,0,0,0.1);
    color: #fff;
    font-size: 10px;
    width: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 100;
    ;
    cursor: pointer
}

    .side_menu_toggler i {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        z-index: 100;
    }

    .side_menu_toggler.rotated {
        width: 20px;
    }

        .side_menu_toggler.rotated i {
            -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
        }

    .side_menu_toggler:hover {
        width: 20px
    }

/*    #leftside-navigation.hidden{
        margin-left:-100%;
    }*/

.sidebar.hidden {
    margin-left: -220px;
}

.main_content {
    float: left;
    padding: 20px;
    width: calc(100% - 240px);
    height: calc(100vh - 67px);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    overflow-y: auto
}

    .main_content.reveal {
        width: calc(100% - 20px);
    }


.sidebar {
    width: 240px;
    /*height: 100%;*/
    background: #293949;
    /*position: absolute;*/
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 100;
    display: flex;
    height: calc(100vh - 67px);
    float: left;
}

    .sidebar #leftside-navigation {
        width: 230px;
        overflow-y: auto;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

        .sidebar #leftside-navigation ul,
        .sidebar #leftside-navigation ul ul {
            margin: -2px 0 0;
            /*padding: 10px 0;*/
            padding: 0px 0;
        }

            .sidebar #leftside-navigation ul li {
                list-style-type: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            }

                .sidebar #leftside-navigation ul li.active > a {
                    color: #1abc9c;
                }

                .sidebar #leftside-navigation ul li.active ul {
                    display: block;
                }

                .sidebar #leftside-navigation ul li a {
                    color: #aeb2b7;
                    text-decoration: none;
                    display: block;
                    padding: 18px 0 18px 18px;
                    font-size: 12px;
                    outline: 0;
                    -webkit-transition: all 200ms ease-in;
                    -moz-transition: all 200ms ease-in;
                    -o-transition: all 200ms ease-in;
                    -ms-transition: all 200ms ease-in;
                    transition: all 200ms ease-in;
                }

                    .sidebar #leftside-navigation ul li a:hover {
                        color: #9cbb41;
                    }

                    .sidebar #leftside-navigation ul li a span {
                        display: inline-block;
                    }

                    .sidebar #leftside-navigation ul li a i {
                        width: 20px;
                    }

                        .sidebar #leftside-navigation ul li a i .fa-angle-left,
                        .sidebar #leftside-navigation ul li a i .fa-angle-right {
                            padding-top: 3px;
                        }

            .sidebar #leftside-navigation ul ul {
                display: none;
            }

                .sidebar #leftside-navigation ul ul li {
                    background: #23313f;
                    margin-bottom: 0;
                    margin-left: 0;
                    margin-right: 0;
                    border-bottom: none;
                }

                    .sidebar #leftside-navigation ul ul li a {
                        font-size: 12px;
                        padding-top: 13px;
                        padding-bottom: 13px;
                        color: #aeb2b7;
                    }

.login_img_container {
    width: 100%;
    height: 500px;
    background-image: url(../img/login_bg_img.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center
}

    .login_img_container h1 {
        font-size: 18px;
        color: #fff;
        font-weight: 400;
        letter-spacing: 4px;
    }

    .login_img_container .login_container {
        padding: 25px;
        width: 100%;
        max-width: 310px;
        text-align: left;
    }

        .login_img_container .login_container label {
            color: #fff;
        }

        .login_img_container .login_container input {
            background: #fff;
            border: 0px;
            border-radius: 100px;
            padding: 25px 20px;
        }

        .login_img_container .login_container button {
            border: 0px;
            border-radius: 100px;
            padding: 14px 20px;
            width: 100%;
            background: #9cbb41;
        }

            .login_img_container .login_container button:not(:disabled):not(.disabled):active {
                background: #86a138;
                border-color: #86a138;
            }

.main_content {
    font-size: 14px;
    line-height: 26px;
}

    .main_content h1 {
        font-size: 22px;
        font-weight: 700;
        letter-spacing: -0.2px;
        color: #9cbb41;
    }

    .main_content h2 {
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -0.2px;
    }

    .main_content h4 {
        font-size: 16px;
        font-weight: 700;
        letter-spacing: -0.2px;
    }

    .main_content h6 {
        font-size: 14px;
        font-weight: 700;
        letter-spacing: -0.2px;
    }

@media (max-width: 991px) {
    .sidebar {
        position: fixed;
        top: 0px;
        left: 0px;
        height: 100vh;
        float: none;
        padding-top: 67px;
        z-index: 1;
        -webkit-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.35);
        -moz-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.35);
        box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.35);
    }

    .main_content {
        padding-right: 10px;
        height: auto;
    }


        .main_content,
        .main_content.reveal {
            width: calc(100% - 10px);
        }

    .sidebar.hidden {
        transform: translateX(-100%);
        margin-left: 0;
        -webkit-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0);
        -moz-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0);
        box-shadow: 0px 0px 17px 0px rgba(0,0,0,0);
    }

    .side_menu_toggler {
        height: 60px;
        width: 20px;
        -webkit-transform: translateX(19px);
        transform: translateX(19px);
        background: #203040;
    }

    header {
        position: relative;
        z-index: 2;
    }
}


@media (max-width: 575px) {
    header nav form button.btn {
        padding-left: 30px;
        padding-right: 30px;
        margin-top: 10px;
    }
}

.dx-datagrid-focus-overlay:after,
.dx-pager .dx-page-sizes .dx-selection,
.dx-pager .dx-pages .dx-selection {
    background-color: #9cbb41 !important;
}

.dx-datagrid .dx-link {
    color: #9cbb41 !important;
}

.dx-datagrid.dx-datagrid-borders > .dx-datagrid-header-panel,
.dx-toolbar {
    background-color: #f3f8f8 !important;
}


.sidebar #leftside-navigation ul li a.active,
.sidebar #leftside-navigation ul li.active > a {
    color: #9cbb41;
}





/* ******** EXTRA CSS*/

.dx-dropdownlist-popup-wrapper .dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item-content {
    padding-left: 7px;
    padding-right: 7px;
}

.custom-item {
    position: relative;
    min-height: 30px;
}

.dx-dropdowneditor-input-wrapper .custom-item > img {
    padding-left: 8px;
}

.custom-item .product-name {
    display: inline-block;
    padding-left: 50px;
    text-indent: 0;
    line-height: 30px;
    font-size: 15px;
    width: 100%;
}

.custom-item > img {
    left: 1px;
    position: absolute;
    top: 50%;
    margin-top: -15px;
}

.dx-theme-material #custom-templates .dx-texteditor-buttons-container {
    display: none;
}

.current-value {
    padding: 10px 0;
}

    .current-value > span {
        font-weight: bold;
    }

.dx-theme-material .dx-selectbox-container .product-name {
    padding-left: 58px;
}

#tools {
    max-width: 600px;
    background: #f3f3f4;
    padding: 5px 10px;
    margin: 15px 0;
}
