/* ==========================================================================
   Exactlly's custom style for All
   ========================================================================== */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800&display=swap');
/*bootstrap-icons*/
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");
/*bootstrap-icons*/
html, body {
    /*height: 100%;*/
}
    html.login {
        height:100%
    }

body {
    padding: 0;
    background: linear-gradient(142deg, rgba(235,27,47,1) 0%, rgba(212,65,143,1) 100%);
    font-family: 'Open Sans', sans-serif;
    height: 100%;
    width: 100%;
    margin: 0;
    font-size: 14px;
    position:relative;

}
    .main-area {
    background:url(../../images/arrow_1.png) no-repeat top left;
    background-size: 23%;
    }
    .section-body {
    background:url(../../images/arrow_2.png) no-repeat bottom right;
    background-size: 23%;
    }
/*custom scrollbar*/
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
	border-radius:5px;
    position: absolute;
}

::-webkit-scrollbar-track {
}

::-webkit-scrollbar-thumb {
    background: #dadada;
    border-radius: 10px;
}
/*custom scrollbar*/
.main-area {
    /*display: flex;
    flex-direction: column;
    height: 100%;*/
	
}
.section-body {
    flex: 1;
    overflow-y: auto;
    padding: .5rem 0;
    position:relative;
}


/*------------------------------------
	Preloader
------------------------------------*/
.preloader {
  background-color: rgb(255 255 255 / 69%);
  background-image: url("../../images/loader.svg");
  background-position: center center;
  background-repeat: no-repeat;
  height: 100%;
  left: 0px;
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 99999;
}

h3.title_txt{
    font-size: 20px;
    font-weight: 600;
    color: #0089ff;
    position: relative;
    margin-bottom: 14px;
    margin-top: 5px;
    margin-left: 2rem;
    padding-bottom: 6px;
    padding-top: 6px;
    padding-right: 20px;
    display: inline-block;
    /*color: #000;*/
    
}

h3.title_txt:before {
    position: absolute;
    left: 0;
    bottom: -5px;
    /* width: 120px; */
    height: 1px;
    background: rgba(0,0,0,0.1);
    content: '';
    width: 100%;
}
h3.title_txt:after {
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 20px;
    height: 4px;
    background: #0089ff;
    content: '';
}
.form-label > span {
            color: #ff0b0b;
        }

.mainarea {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 6px;
	background-color: #fff;
}

.mainlogoarea {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 10px;
}

.mainlogoarea img.main_logo {
    max-width: 300px;
    margin: 0 auto;
    display: table;
}
.profile_image {
    width:150px;
    height:150px;
    background-position:center center !important;
    background-size:cover !important;
    text-align: center;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.foot_area {
    padding-top: 10px;
    border-top: 1px solid #e5e5e5;
    margin-top: 15px;
}
.grn_check, .red_check{
    max-width: 20px;
}

.form_checkbox_new {
     
     margin-top: 5px;
     width: 70px;
     height: 20px;
     accent-color: #0089ff;
   /*  font-size:14px; 
     border: 3px solid red;    */
}

/*for search bar in approval*/
.fg--search {
  background: white;
  position: relative;
  width: 300px;
}
.fg--search input {
  width: 100%;
  padding: 5px 5px 5px 5px;
  display: block;
  margin-bottom:10px;
}

.fg--search button {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-block;
  font-size: 20px;
  position: absolute;
  top: 0;
  right: 0;
  padding: 2px 8px;
  z-index: 2;
}
/*.search_bar {
    padding-top:5px;
    padding-right:5px;
    
}
.search_block {
    padding:5px;
    width:20px;
}*/
.btn .bi{
    font-size: 20px;
    line-height: 0;
    font-weight: bold;
    padding: 0;
    margin: 0;
    outline: none;
}
/*Bootstrap custom*/

.form-select-sm, .form-control-sm {
    font-size:14px;
}
.table {
    background-color:#fff;
    margin-bottom:0;
}



.search_with_dropdown span.input-group-text {
    cursor:pointer;
    padding: 0.375rem 0.4rem;
}


/*Bootstrap custom*/

/*Auto complete*/
.typeahead {
 position:relative;
}
.typeahead .dropdown-menu{
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
}
.typeahead .dropdown-menu {
    width: 100%;
}
.typeahead .dropdown-menu li{
    padding: 4px;
}
.typeahead .dropdown-menu li a{
    color: #333;
    text-decoration: none;
}
.typeahead .dropdown-menu li.active>a, .typeahead .dropdown-menu li.active>a:focus, .typeahead .dropdown-menu li.active>a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #81bff5;
    outline: 0;
    display: block;
    padding: 5px 3px;
    border-radius: 2px;
}
/*Auto complete*/
/*Fixed table*/
.fix_col_area {
    position:relative;
    max-height: 400px;
    overflow: auto;   
    
}
table.fix_col_head {
    white-space: nowrap;
        
}
table.fix_col_head td,
table.fix_col_head th {
    /*border: 1px solid black;
    padding: 0.5rem 1rem;*/
}
table.fix_col_head thead th {
    position: sticky;
    top: 0;
    z-index: 99;
    padding: 0.5rem 1rem;
}
table.fix_col_head td {
    background: #fff;
    padding: 4px 5px;
}

    
/*Fixed table*/
/*login start*/

body.login_body {
    padding: 0;
    background-color: #eceff3;
    font-family: 'Open Sans', sans-serif;
    height: 100%;
    width: 100%;
    margin: 0;
    font-size: 14px;
    background:url(../../images/login_bg.jpg) no-repeat center center;
    background-size:cover;
}
.main_login_area {
    height: 100%;
}

.login_form {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login_area {
    width: 400px;
    padding: 2%;
    /*background-color: rgb(255 255 255 / 35%);*/
    border: 1px solid #d97892;
    position: absolute;
    top: 50% !important;
    margin-top: -128px;
    border-radius: 20px;
}

    .login_area .panel {
        text-align: center;
        margin: 0 auto;
        position: absolute;
    top: -145px;
    left: 50%;
    margin-left: -80px;
    }

        .login_area .panel img {
            max-width: 160px;
        }

        .login_area .panel h2 {
            font-size: 20px;
            font-weight: 600;
            margin-top: 14px;
            margin-bottom: 14px;
            position: relative;
            padding-bottom: 15px;
            color:#fff;
        }

            .login_area .panel h2:before {
                position: absolute;
                left: 50%;
                margin-left: -60px;
                bottom: 0px;
                width: 120px;
                height: 1px;
                background: rgb(255 255 255 / 28%);
                content: '';
            }

            /*.login_area .panel h2:after {
                position: absolute;
                left: 50%;
                bottom: -2px;
                width: 20px;
                height: 4px;
                background: #00a2ff;
                content: '';
                margin-left: -10px;
            }*/

.forgot_login {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login_sec .form-control {
    border-radius: 0;
}

.forgot_login .login_btn {
    padding: .2rem 1.5rem;
    background-color: #fff;
    color: #3f3f3f;
    border-radius: 0;
    border-color: #3f3f3f;
    transition: all .5s;
}

    .forgot_login .login_btn:hover, .forgot_login .login_btn:focus {
        border-color: #007bff;
        color: #007bff;
    }

.copy_right {
    padding: 0;
    position: absolute;
    bottom: -60px;
    text-align: center;
    width: 100%;
    left: 0;
}
/*for button*/
.date_block{
    padding:10px;
}
.style_header_date {
    
   padding:2px;
    font-size: 15px;
    
  
}
.btnsub {
  background-color: #095aa5;
  border: none;
  color: white;
  padding: 5px;
  padding-left:12px;
  padding-right:12px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  margin:  2px;
  cursor: pointer;
  
}

.ctrl_area, .ctrl_area form.login_form {
height:100% !important;
}

.login_area .form-control {
    background-color: rgb(255 255 255 / 52%) !important;
    color: #000 !important;
}
#btnSave.btn-primary:disabled, #inputPassword.form-control[readonly] {
cursor:not-allowed !important;
}
#basic-addon2, #btnSave {
    cursor:pointer !important;
}
#btnSave {
margin-left:0 !important;
width: 100%;
    border-radius: 50px;
}

.login_area .btn-primary {
    color: #a90041;
    background-color: #ffffff;
    border-color: #fda9c9;
    font-weight:600;
}
.login_area .form-control::placeholder {
  color: #373737;
}

.login_area .form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
 color: #373737;
}

.login_area .form-control::-ms-input-placeholder { /* Microsoft Edge */
 color: #373737;
}


/*login end*/


.profile_area .prof_img {
    /* background-color: #fff; */
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    width: 35px;
    height: 35px;
    background: url(../../images/default.png) center center;
    background-size: cover;
}

.profile_area .prof_img .profile_img {
    max-width: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.profile_area {
    display: flex;
    justify-content: flex-end;
    align-items: end;
}

.dropdown-menu.prof_dtl_sec.show {
    right: 0;
    left: auto;
    min-width:350px;
    padding:0;
}

.prof_img.prof_img_big {
    width: 80px;
    height: 80px;
    margin: 15px auto 0;
    background: url(../../images/default.png) center center;
    background-size: cover;
}

.prof_footer_area {
    display: flex;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #ececec;
}
.prof_footer_area > div{
    flex:1;
    text-align:center;
}
.prof_footer_area > div.change_password a.cng_pass, .prof_footer_area > div.log_out a.log_link {
    color: #989898;
    font-size: 13px;
}
.prof_footer_area > div.change_password a.cng_pass:hover, .prof_footer_area > div.log_out a.log_link:hover {
    color: #007bff;
    text-decoration:none;
}

.profile_body h3 {
    font-size: 12px;
    text-align:center;
}

.profile_body {
    padding: 15px;
}

/* menu */


body.offcanvas-active{
	overflow:hidden;
}

.offcanvas-header{ display:none; }

.screen-darken{
	height: 100%;
	width:0%;
	z-index: 30;
	position: fixed;
	top: 0;
	right: 0;
	opacity:0;
	visibility:hidden;
	background-color: rgba(34, 34, 34, 0.6);
	transition:opacity .2s linear, visibility 0.2s, width 2s ease-in;
}

.screen-darken.active{
	z-index:10; 
	transition:opacity .3s ease, width 0s;
    opacity:1;
    width:100%;
    visibility:visible;
}


/*####################### styling for date #####################*/


/*##############################################################*/




/* menu */

.bg-primary {
    background-color: #095aa5!important;
}
.section-header li.nav-item.active .nav-link {
    color: #fff;
    background-color: #387ab7;
}

.navbar-nav.Home .nav-item.Home, .navbar-nav.TokenGeneation .nav-item.TokenGeneation, .navbar-nav.DefectiveMaterialRecp .nav-item.DefectiveMaterialRecp, .navbar-nav.TTDetail .nav-item.TTDetail, .navbar-nav.MaterialDispatch .nav-item.MaterialDispatch, .navbar-nav.AdvanceMaterialMapping .nav-item.AdvanceMaterialMapping{
    color: #fff;
    background-color: #387ab7;
}
.section-header {
    /*-webkit-box-shadow: 0px 3px 7px -1px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 3px 7px -1px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 3px 7px -1px rgba(0, 0, 0, 0.25);
    margin-bottom: 10px;*/
}
.section-header .navbar{
    padding-top: 0;
    padding-bottom: 0;

}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,.65);
}
.dropdown-item{
    font-size: 14px;
}
a.navbar-brand.main_logo_area {
    max-width: 160px;
}
a.navbar-brand.main_logo_area img.main_logo {
    max-width: 100%;
}
.section-header .navbar.navbar-expand-lg.navbar-light.bg-light.top_nav_bar {
    margin: 0;
    padding: 0;
}

.footer_copy_area{
    background-color: #f8f9fa;
    color: #333;
    text-align: center;
    padding: 10px 2rem 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    line-height: 20px;
    border-top: 1px solid #dfdfdf;
}
.footer_copy_area p{
    margin-bottom: 0;
    
}
#navbar_main .offcanvas-header .btn-close{
color: #fff !important;
opacity: 1;
}


/* Body Content */

section.section-content{
    border: 1px solid rgba(0,0,0,.125);
    background-color: #f8f9fa;
    border-radius: 4px;
    margin: 0 0 1rem 0;
    padding: .5rem;
}

h3.table_area_head {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

/*Profile*/



/*Profile*/
















/* Body Content */


/* ================================== */

  

.grid-wrapper > div {
  width: 100%;
  
  border: 1px solid rgba(0, 220, 255, 0.07);
  padding: 15px;
  border-radius: 5px;
  display: grid;
  grid-gap: 20px;
  grid-template-rows: auto;
  grid-template-columns: auto;
  place-items: flex-start;
}

/* Main Component Styles */

label.switch {
  --switch-size: 40px;
  --thumb-gap: 4px;
  --thumb-size: calc(var(--switch-size) * 0.55 - var(--thumb-gap));
  --thumb-active-offset: calc(var(--switch-size) / 2);
  --track-radius: calc(var(--switch-size) / 1.6666);
  --thumb-color: #fff;
  --track-color: rgba(0, 0, 0, 0.07);
  --accent-color: #2f57d4;
  --transition: 200ms ease;
}
label.switch .track {
  width: var(--switch-size);
  height: calc(var(--switch-size) / 1.6666);
  background: var(--track-color);
  border-radius: var(--track-radius);
  border-radius: calc(var(--track-radius) / 2);
  display: flex;
  align-items: center;
  box-shadow: inset 0px 0px 4px -2px rgba(0, 0, 0, 0.129);
  transition: 250ms ease;
}
label.switch .thumb {
  display: inline-block;
  background: var(--thumb-color);
  width: var(--thumb-size);
  height: var(--thumb-size);
  border-radius: 50%;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.17);
  transform: translateX(var(--thumb-gap));
  transition: transform 250ms ease-in-out;
}
label.switch input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
label.switch input[type=checkbox]:checked + .track {
  background: var(--accent-color);
}
label.switch input[type=checkbox]:checked + .track .thumb {
  transform: translateX(var(--thumb-active-offset));
}
label.switch input[type=checkbox]:focus + .track {
  box-shadow: inset 0px 0px 4px 1px rgba(0, 0, 0, 0.09);
}
label.switch.has-inidicator .thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
label.switch.has-inidicator .thumb:before {
  content: "";
  position: absolute;
  width: 2px;
  height: 6px;
  background: #d71830;
}
label.switch.has-inidicator input[type=checkbox]:checked + .track .thumb:before {
  background: var(--accent-color);
}
label.switch.has-label {
  display: grid;
  grid-template-areas: "col-1 col-2 col-3";
  grid-gap: 10px;
  align-items: center;
}
label.switch.has-label .off {
  color: rgba(0, 0, 0, 1);
  grid-area: col-1;
  transition: var(--transition);
}
label.switch.has-label .on {
  color: rgba(0, 0, 0, 0.3);
  grid-area: col-3;
  transition: var(--transition);
}
label.switch.has-label .track {
  grid-area: col-2;
}
label.switch.has-label input[type=checkbox]:checked ~ .on {
  color: rgba(0, 0, 0, 1);
}
label.switch.has-label input[type=checkbox]:checked ~ .off {
  color: rgba(0, 0, 0, 0.3);
}




















/* ============ mobile view ============ */
@media all and (max-width: 991px) {
	.section-body {
        padding: 0;
    }
	.offcanvas-header{ display:block; }

	.mobile-offcanvas{
		visibility: hidden;
		transform:translateX(-100%);
	    border-radius:0; 
		display:block;
	    position: fixed;
	    top: 0; left:0;
	    height: 100%;
	    z-index: 1200;
	    width:80%;
	    overflow-y: scroll;
	    overflow-x: hidden;
	    transition: visibility .3s ease-in-out, transform .3s ease-in-out;
	}

	.mobile-offcanvas.show{
		visibility: visible;
    	transform: translateX(0);
	}
	.mobile-offcanvas .container, .mobile-offcanvas .container-fluid{
		display: block;
	}

    .mobile-offcanvas .dropdown-menu {
        
        background-color: rgba(255, 255, 255, 0);
        
        border: none;
        padding: 0;
    }

    .mobile-offcanvas .dropdown-item {
        display: block;
        width: 100%;
        padding: 0.25rem 0 .25rem .25rem;
        clear: both;
        font-weight: 400;
        color: rgba(255,255,255,.55);
        text-align: inherit;
        text-decoration: none;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
        font-size: 14px;
    }
    
    
    .navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
        background-color: rgba(255,255,255,.20);
        padding-left: 5px;
    }
    .navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
        color: #fff;
        background-color: rgba(255,255,255,.15);
        padding-left: 5px;
    }
    h3.title_txt{
        margin-left: 0;
        
    }
    .footer_copy_area {
        text-align: center;
        padding: 10px;
        justify-content: center;
    }
    .footer_copy_area p{
        font-size: 12px;
    }

}	
/* ============ mobile view .end// ============ */


/*---------------------Responsive area-------------------*/
@media (max-width:1366px) {
    
}
@media (max-width:1024px) {
   
}


@media (max-width:768px) {


    
}

@media (max-width:768px) {

    .login_area {
        width: 90%;
        margin: 0 4%;
        padding: 8%;
    }
	.mainlogoarea img.main_logo {
    max-width: 150px;
	}
.mainlogoarea {
margin-top: 10px;
}
    
}
